dab7fd919d2c9d8d752b3b4808f0aaf8acb989ea
[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.0.1.
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.0.1'
594 PACKAGE_STRING='dleyna-server 0.0.1'
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_SESSION_DIR
649 DBUS_LIBS
650 DBUS_CFLAGS
651 DLEYNA_CORE_LIBS
652 DLEYNA_CORE_CFLAGS
653 LIBOBJS
654 SOUP_LIBS
655 SOUP_CFLAGS
656 GUPNPDLNA_LIBS
657 GUPNPDLNA_CFLAGS
658 GUPNPAV_LIBS
659 GUPNPAV_CFLAGS
660 GUPNP_LIBS
661 GUPNP_CFLAGS
662 GSSDP_LIBS
663 GSSDP_CFLAGS
664 GIO_LIBS
665 GIO_CFLAGS
666 GLIB_LIBS
667 GLIB_CFLAGS
668 PKG_CONFIG_LIBDIR
669 PKG_CONFIG_PATH
670 PKG_CONFIG
671 CPP
672 OTOOL64
673 OTOOL
674 LIPO
675 NMEDIT
676 DSYMUTIL
677 MANIFEST_TOOL
678 RANLIB
679 ac_ct_AR
680 AR
681 DLLTOOL
682 OBJDUMP
683 LN_S
684 NM
685 ac_ct_DUMPBIN
686 DUMPBIN
687 LD
688 FGREP
689 EGREP
690 GREP
691 SED
692 host_os
693 host_vendor
694 host_cpu
695 host
696 build_os
697 build_vendor
698 build_cpu
699 build
700 LIBTOOL
701 am__fastdepCC_FALSE
702 am__fastdepCC_TRUE
703 CCDEPMODE
704 am__nodep
705 AMDEPBACKSLASH
706 AMDEP_FALSE
707 AMDEP_TRUE
708 am__quote
709 am__include
710 DEPDIR
711 OBJEXT
712 EXEEXT
713 ac_ct_CC
714 CPPFLAGS
715 LDFLAGS
716 CFLAGS
717 CC
718 AM_BACKSLASH
719 AM_DEFAULT_VERBOSITY
720 AM_DEFAULT_V
721 AM_V
722 MAINT
723 MAINTAINER_MODE_FALSE
724 MAINTAINER_MODE_TRUE
725 am__untar
726 am__tar
727 AMTAR
728 am__leading_dot
729 SET_MAKE
730 AWK
731 mkdir_p
732 MKDIR_P
733 INSTALL_STRIP_PROGRAM
734 STRIP
735 install_sh
736 MAKEINFO
737 AUTOHEADER
738 AUTOMAKE
739 AUTOCONF
740 ACLOCAL
741 VERSION
742 PACKAGE
743 CYGPATH_W
744 am__isrc
745 INSTALL_DATA
746 INSTALL_SCRIPT
747 INSTALL_PROGRAM
748 target_alias
749 host_alias
750 build_alias
751 LIBS
752 ECHO_T
753 ECHO_N
754 ECHO_C
755 DEFS
756 mandir
757 localedir
758 libdir
759 psdir
760 pdfdir
761 dvidir
762 htmldir
763 infodir
764 docdir
765 oldincludedir
766 includedir
767 localstatedir
768 sharedstatedir
769 sysconfdir
770 datadir
771 datarootdir
772 libexecdir
773 sbindir
774 bindir
775 program_transform_name
776 prefix
777 exec_prefix
778 PACKAGE_URL
779 PACKAGE_BUGREPORT
780 PACKAGE_STRING
781 PACKAGE_VERSION
782 PACKAGE_TARNAME
783 PACKAGE_NAME
784 PATH_SEPARATOR
785 SHELL'
786 ac_subst_files=''
787 ac_user_opts='
788 enable_option_checking
789 enable_maintainer_mode
790 enable_silent_rules
791 enable_dependency_tracking
792 enable_static
793 enable_shared
794 with_pic
795 enable_fast_install
796 with_gnu_ld
797 with_sysroot
798 enable_libtool_lock
799 enable_master_build
800 enable_debug
801 enable_werror
802 enable_optimization
803 enable_never_quit
804 with_connector_name
805 with_log_level
806 with_log_type
807 with_ua_prefix
808 enable_lib_only
809 '
810       ac_precious_vars='build_alias
811 host_alias
812 target_alias
813 CC
814 CFLAGS
815 LDFLAGS
816 LIBS
817 CPPFLAGS
818 CPP
819 PKG_CONFIG
820 PKG_CONFIG_PATH
821 PKG_CONFIG_LIBDIR
822 GLIB_CFLAGS
823 GLIB_LIBS
824 GIO_CFLAGS
825 GIO_LIBS
826 GSSDP_CFLAGS
827 GSSDP_LIBS
828 GUPNP_CFLAGS
829 GUPNP_LIBS
830 GUPNPAV_CFLAGS
831 GUPNPAV_LIBS
832 GUPNPDLNA_CFLAGS
833 GUPNPDLNA_LIBS
834 SOUP_CFLAGS
835 SOUP_LIBS
836 DLEYNA_CORE_CFLAGS
837 DLEYNA_CORE_LIBS
838 DBUS_CFLAGS
839 DBUS_LIBS'
840
841
842 # Initialize some variables set by options.
843 ac_init_help=
844 ac_init_version=false
845 ac_unrecognized_opts=
846 ac_unrecognized_sep=
847 # The variables have the same names as the options, with
848 # dashes changed to underlines.
849 cache_file=/dev/null
850 exec_prefix=NONE
851 no_create=
852 no_recursion=
853 prefix=NONE
854 program_prefix=NONE
855 program_suffix=NONE
856 program_transform_name=s,x,x,
857 silent=
858 site=
859 srcdir=
860 verbose=
861 x_includes=NONE
862 x_libraries=NONE
863
864 # Installation directory options.
865 # These are left unexpanded so users can "make install exec_prefix=/foo"
866 # and all the variables that are supposed to be based on exec_prefix
867 # by default will actually change.
868 # Use braces instead of parens because sh, perl, etc. also accept them.
869 # (The list follows the same order as the GNU Coding Standards.)
870 bindir='${exec_prefix}/bin'
871 sbindir='${exec_prefix}/sbin'
872 libexecdir='${exec_prefix}/libexec'
873 datarootdir='${prefix}/share'
874 datadir='${datarootdir}'
875 sysconfdir='${prefix}/etc'
876 sharedstatedir='${prefix}/com'
877 localstatedir='${prefix}/var'
878 includedir='${prefix}/include'
879 oldincludedir='/usr/include'
880 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
881 infodir='${datarootdir}/info'
882 htmldir='${docdir}'
883 dvidir='${docdir}'
884 pdfdir='${docdir}'
885 psdir='${docdir}'
886 libdir='${exec_prefix}/lib'
887 localedir='${datarootdir}/locale'
888 mandir='${datarootdir}/man'
889
890 ac_prev=
891 ac_dashdash=
892 for ac_option
893 do
894   # If the previous option needs an argument, assign it.
895   if test -n "$ac_prev"; then
896     eval $ac_prev=\$ac_option
897     ac_prev=
898     continue
899   fi
900
901   case $ac_option in
902   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
903   *=)   ac_optarg= ;;
904   *)    ac_optarg=yes ;;
905   esac
906
907   # Accept the important Cygnus configure options, so we can diagnose typos.
908
909   case $ac_dashdash$ac_option in
910   --)
911     ac_dashdash=yes ;;
912
913   -bindir | --bindir | --bindi | --bind | --bin | --bi)
914     ac_prev=bindir ;;
915   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
916     bindir=$ac_optarg ;;
917
918   -build | --build | --buil | --bui | --bu)
919     ac_prev=build_alias ;;
920   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
921     build_alias=$ac_optarg ;;
922
923   -cache-file | --cache-file | --cache-fil | --cache-fi \
924   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
925     ac_prev=cache_file ;;
926   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
927   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
928     cache_file=$ac_optarg ;;
929
930   --config-cache | -C)
931     cache_file=config.cache ;;
932
933   -datadir | --datadir | --datadi | --datad)
934     ac_prev=datadir ;;
935   -datadir=* | --datadir=* | --datadi=* | --datad=*)
936     datadir=$ac_optarg ;;
937
938   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
939   | --dataroo | --dataro | --datar)
940     ac_prev=datarootdir ;;
941   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
942   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
943     datarootdir=$ac_optarg ;;
944
945   -disable-* | --disable-*)
946     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
947     # Reject names that are not valid shell variable names.
948     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
949       as_fn_error $? "invalid feature name: $ac_useropt"
950     ac_useropt_orig=$ac_useropt
951     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
952     case $ac_user_opts in
953       *"
954 "enable_$ac_useropt"
955 "*) ;;
956       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
957          ac_unrecognized_sep=', ';;
958     esac
959     eval enable_$ac_useropt=no ;;
960
961   -docdir | --docdir | --docdi | --doc | --do)
962     ac_prev=docdir ;;
963   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
964     docdir=$ac_optarg ;;
965
966   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
967     ac_prev=dvidir ;;
968   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
969     dvidir=$ac_optarg ;;
970
971   -enable-* | --enable-*)
972     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
973     # Reject names that are not valid shell variable names.
974     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
975       as_fn_error $? "invalid feature name: $ac_useropt"
976     ac_useropt_orig=$ac_useropt
977     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
978     case $ac_user_opts in
979       *"
980 "enable_$ac_useropt"
981 "*) ;;
982       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
983          ac_unrecognized_sep=', ';;
984     esac
985     eval enable_$ac_useropt=\$ac_optarg ;;
986
987   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
988   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
989   | --exec | --exe | --ex)
990     ac_prev=exec_prefix ;;
991   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
992   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
993   | --exec=* | --exe=* | --ex=*)
994     exec_prefix=$ac_optarg ;;
995
996   -gas | --gas | --ga | --g)
997     # Obsolete; use --with-gas.
998     with_gas=yes ;;
999
1000   -help | --help | --hel | --he | -h)
1001     ac_init_help=long ;;
1002   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1003     ac_init_help=recursive ;;
1004   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1005     ac_init_help=short ;;
1006
1007   -host | --host | --hos | --ho)
1008     ac_prev=host_alias ;;
1009   -host=* | --host=* | --hos=* | --ho=*)
1010     host_alias=$ac_optarg ;;
1011
1012   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1013     ac_prev=htmldir ;;
1014   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1015   | --ht=*)
1016     htmldir=$ac_optarg ;;
1017
1018   -includedir | --includedir | --includedi | --included | --include \
1019   | --includ | --inclu | --incl | --inc)
1020     ac_prev=includedir ;;
1021   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1022   | --includ=* | --inclu=* | --incl=* | --inc=*)
1023     includedir=$ac_optarg ;;
1024
1025   -infodir | --infodir | --infodi | --infod | --info | --inf)
1026     ac_prev=infodir ;;
1027   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1028     infodir=$ac_optarg ;;
1029
1030   -libdir | --libdir | --libdi | --libd)
1031     ac_prev=libdir ;;
1032   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1033     libdir=$ac_optarg ;;
1034
1035   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1036   | --libexe | --libex | --libe)
1037     ac_prev=libexecdir ;;
1038   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1039   | --libexe=* | --libex=* | --libe=*)
1040     libexecdir=$ac_optarg ;;
1041
1042   -localedir | --localedir | --localedi | --localed | --locale)
1043     ac_prev=localedir ;;
1044   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1045     localedir=$ac_optarg ;;
1046
1047   -localstatedir | --localstatedir | --localstatedi | --localstated \
1048   | --localstate | --localstat | --localsta | --localst | --locals)
1049     ac_prev=localstatedir ;;
1050   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1051   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1052     localstatedir=$ac_optarg ;;
1053
1054   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1055     ac_prev=mandir ;;
1056   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1057     mandir=$ac_optarg ;;
1058
1059   -nfp | --nfp | --nf)
1060     # Obsolete; use --without-fp.
1061     with_fp=no ;;
1062
1063   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1064   | --no-cr | --no-c | -n)
1065     no_create=yes ;;
1066
1067   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1068   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1069     no_recursion=yes ;;
1070
1071   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1072   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1073   | --oldin | --oldi | --old | --ol | --o)
1074     ac_prev=oldincludedir ;;
1075   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1076   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1077   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1078     oldincludedir=$ac_optarg ;;
1079
1080   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1081     ac_prev=prefix ;;
1082   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1083     prefix=$ac_optarg ;;
1084
1085   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1086   | --program-pre | --program-pr | --program-p)
1087     ac_prev=program_prefix ;;
1088   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1089   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1090     program_prefix=$ac_optarg ;;
1091
1092   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1093   | --program-suf | --program-su | --program-s)
1094     ac_prev=program_suffix ;;
1095   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1096   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1097     program_suffix=$ac_optarg ;;
1098
1099   -program-transform-name | --program-transform-name \
1100   | --program-transform-nam | --program-transform-na \
1101   | --program-transform-n | --program-transform- \
1102   | --program-transform | --program-transfor \
1103   | --program-transfo | --program-transf \
1104   | --program-trans | --program-tran \
1105   | --progr-tra | --program-tr | --program-t)
1106     ac_prev=program_transform_name ;;
1107   -program-transform-name=* | --program-transform-name=* \
1108   | --program-transform-nam=* | --program-transform-na=* \
1109   | --program-transform-n=* | --program-transform-=* \
1110   | --program-transform=* | --program-transfor=* \
1111   | --program-transfo=* | --program-transf=* \
1112   | --program-trans=* | --program-tran=* \
1113   | --progr-tra=* | --program-tr=* | --program-t=*)
1114     program_transform_name=$ac_optarg ;;
1115
1116   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1117     ac_prev=pdfdir ;;
1118   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1119     pdfdir=$ac_optarg ;;
1120
1121   -psdir | --psdir | --psdi | --psd | --ps)
1122     ac_prev=psdir ;;
1123   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1124     psdir=$ac_optarg ;;
1125
1126   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1127   | -silent | --silent | --silen | --sile | --sil)
1128     silent=yes ;;
1129
1130   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1131     ac_prev=sbindir ;;
1132   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1133   | --sbi=* | --sb=*)
1134     sbindir=$ac_optarg ;;
1135
1136   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1137   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1138   | --sharedst | --shareds | --shared | --share | --shar \
1139   | --sha | --sh)
1140     ac_prev=sharedstatedir ;;
1141   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1142   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1143   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1144   | --sha=* | --sh=*)
1145     sharedstatedir=$ac_optarg ;;
1146
1147   -site | --site | --sit)
1148     ac_prev=site ;;
1149   -site=* | --site=* | --sit=*)
1150     site=$ac_optarg ;;
1151
1152   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1153     ac_prev=srcdir ;;
1154   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1155     srcdir=$ac_optarg ;;
1156
1157   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1158   | --syscon | --sysco | --sysc | --sys | --sy)
1159     ac_prev=sysconfdir ;;
1160   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1161   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1162     sysconfdir=$ac_optarg ;;
1163
1164   -target | --target | --targe | --targ | --tar | --ta | --t)
1165     ac_prev=target_alias ;;
1166   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1167     target_alias=$ac_optarg ;;
1168
1169   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1170     verbose=yes ;;
1171
1172   -version | --version | --versio | --versi | --vers | -V)
1173     ac_init_version=: ;;
1174
1175   -with-* | --with-*)
1176     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1177     # Reject names that are not valid shell variable names.
1178     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1179       as_fn_error $? "invalid package name: $ac_useropt"
1180     ac_useropt_orig=$ac_useropt
1181     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1182     case $ac_user_opts in
1183       *"
1184 "with_$ac_useropt"
1185 "*) ;;
1186       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1187          ac_unrecognized_sep=', ';;
1188     esac
1189     eval with_$ac_useropt=\$ac_optarg ;;
1190
1191   -without-* | --without-*)
1192     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1193     # Reject names that are not valid shell variable names.
1194     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1195       as_fn_error $? "invalid package name: $ac_useropt"
1196     ac_useropt_orig=$ac_useropt
1197     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1198     case $ac_user_opts in
1199       *"
1200 "with_$ac_useropt"
1201 "*) ;;
1202       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1203          ac_unrecognized_sep=', ';;
1204     esac
1205     eval with_$ac_useropt=no ;;
1206
1207   --x)
1208     # Obsolete; use --with-x.
1209     with_x=yes ;;
1210
1211   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1212   | --x-incl | --x-inc | --x-in | --x-i)
1213     ac_prev=x_includes ;;
1214   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1215   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1216     x_includes=$ac_optarg ;;
1217
1218   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1219   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1220     ac_prev=x_libraries ;;
1221   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1222   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1223     x_libraries=$ac_optarg ;;
1224
1225   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1226 Try \`$0 --help' for more information"
1227     ;;
1228
1229   *=*)
1230     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1231     # Reject names that are not valid shell variable names.
1232     case $ac_envvar in #(
1233       '' | [0-9]* | *[!_$as_cr_alnum]* )
1234       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1235     esac
1236     eval $ac_envvar=\$ac_optarg
1237     export $ac_envvar ;;
1238
1239   *)
1240     # FIXME: should be removed in autoconf 3.0.
1241     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1242     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1243       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1244     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1245     ;;
1246
1247   esac
1248 done
1249
1250 if test -n "$ac_prev"; then
1251   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1252   as_fn_error $? "missing argument to $ac_option"
1253 fi
1254
1255 if test -n "$ac_unrecognized_opts"; then
1256   case $enable_option_checking in
1257     no) ;;
1258     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1259     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1260   esac
1261 fi
1262
1263 # Check all directory arguments for consistency.
1264 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1265                 datadir sysconfdir sharedstatedir localstatedir includedir \
1266                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1267                 libdir localedir mandir
1268 do
1269   eval ac_val=\$$ac_var
1270   # Remove trailing slashes.
1271   case $ac_val in
1272     */ )
1273       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1274       eval $ac_var=\$ac_val;;
1275   esac
1276   # Be sure to have absolute directory names.
1277   case $ac_val in
1278     [\\/$]* | ?:[\\/]* )  continue;;
1279     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1280   esac
1281   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1282 done
1283
1284 # There might be people who depend on the old broken behavior: `$host'
1285 # used to hold the argument of --host etc.
1286 # FIXME: To remove some day.
1287 build=$build_alias
1288 host=$host_alias
1289 target=$target_alias
1290
1291 # FIXME: To remove some day.
1292 if test "x$host_alias" != x; then
1293   if test "x$build_alias" = x; then
1294     cross_compiling=maybe
1295   elif test "x$build_alias" != "x$host_alias"; then
1296     cross_compiling=yes
1297   fi
1298 fi
1299
1300 ac_tool_prefix=
1301 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1302
1303 test "$silent" = yes && exec 6>/dev/null
1304
1305
1306 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1307 ac_ls_di=`ls -di .` &&
1308 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1309   as_fn_error $? "working directory cannot be determined"
1310 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1311   as_fn_error $? "pwd does not report name of working directory"
1312
1313
1314 # Find the source files, if location was not specified.
1315 if test -z "$srcdir"; then
1316   ac_srcdir_defaulted=yes
1317   # Try the directory containing this script, then the parent directory.
1318   ac_confdir=`$as_dirname -- "$as_myself" ||
1319 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1320          X"$as_myself" : 'X\(//\)[^/]' \| \
1321          X"$as_myself" : 'X\(//\)$' \| \
1322          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1323 $as_echo X"$as_myself" |
1324     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1325             s//\1/
1326             q
1327           }
1328           /^X\(\/\/\)[^/].*/{
1329             s//\1/
1330             q
1331           }
1332           /^X\(\/\/\)$/{
1333             s//\1/
1334             q
1335           }
1336           /^X\(\/\).*/{
1337             s//\1/
1338             q
1339           }
1340           s/.*/./; q'`
1341   srcdir=$ac_confdir
1342   if test ! -r "$srcdir/$ac_unique_file"; then
1343     srcdir=..
1344   fi
1345 else
1346   ac_srcdir_defaulted=no
1347 fi
1348 if test ! -r "$srcdir/$ac_unique_file"; then
1349   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1350   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1351 fi
1352 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1353 ac_abs_confdir=`(
1354         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1355         pwd)`
1356 # When building in place, set srcdir=.
1357 if test "$ac_abs_confdir" = "$ac_pwd"; then
1358   srcdir=.
1359 fi
1360 # Remove unnecessary trailing slashes from srcdir.
1361 # Double slashes in file names in object file debugging info
1362 # mess up M-x gdb in Emacs.
1363 case $srcdir in
1364 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1365 esac
1366 for ac_var in $ac_precious_vars; do
1367   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1368   eval ac_env_${ac_var}_value=\$${ac_var}
1369   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1370   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1371 done
1372
1373 #
1374 # Report the --help message.
1375 #
1376 if test "$ac_init_help" = "long"; then
1377   # Omit some internal or obsolete options to make the list less imposing.
1378   # This message is too long to be a string in the A/UX 3.1 sh.
1379   cat <<_ACEOF
1380 \`configure' configures dleyna-server 0.0.1 to adapt to many kinds of systems.
1381
1382 Usage: $0 [OPTION]... [VAR=VALUE]...
1383
1384 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1385 VAR=VALUE.  See below for descriptions of some of the useful variables.
1386
1387 Defaults for the options are specified in brackets.
1388
1389 Configuration:
1390   -h, --help              display this help and exit
1391       --help=short        display options specific to this package
1392       --help=recursive    display the short help of all the included packages
1393   -V, --version           display version information and exit
1394   -q, --quiet, --silent   do not print \`checking ...' messages
1395       --cache-file=FILE   cache test results in FILE [disabled]
1396   -C, --config-cache      alias for \`--cache-file=config.cache'
1397   -n, --no-create         do not create output files
1398       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1399
1400 Installation directories:
1401   --prefix=PREFIX         install architecture-independent files in PREFIX
1402                           [$ac_default_prefix]
1403   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1404                           [PREFIX]
1405
1406 By default, \`make install' will install all the files in
1407 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1408 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1409 for instance \`--prefix=\$HOME'.
1410
1411 For better control, use the options below.
1412
1413 Fine tuning of the installation directories:
1414   --bindir=DIR            user executables [EPREFIX/bin]
1415   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1416   --libexecdir=DIR        program executables [EPREFIX/libexec]
1417   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1418   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1419   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1420   --libdir=DIR            object code libraries [EPREFIX/lib]
1421   --includedir=DIR        C header files [PREFIX/include]
1422   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1423   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1424   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1425   --infodir=DIR           info documentation [DATAROOTDIR/info]
1426   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1427   --mandir=DIR            man documentation [DATAROOTDIR/man]
1428   --docdir=DIR            documentation root [DATAROOTDIR/doc/dleyna-server]
1429   --htmldir=DIR           html documentation [DOCDIR]
1430   --dvidir=DIR            dvi documentation [DOCDIR]
1431   --pdfdir=DIR            pdf documentation [DOCDIR]
1432   --psdir=DIR             ps documentation [DOCDIR]
1433 _ACEOF
1434
1435   cat <<\_ACEOF
1436
1437 Program names:
1438   --program-prefix=PREFIX            prepend PREFIX to installed program names
1439   --program-suffix=SUFFIX            append SUFFIX to installed program names
1440   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1441
1442 System types:
1443   --build=BUILD     configure for building on BUILD [guessed]
1444   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1445 _ACEOF
1446 fi
1447
1448 if test -n "$ac_init_help"; then
1449   case $ac_init_help in
1450      short | recursive ) echo "Configuration of dleyna-server 0.0.1:";;
1451    esac
1452   cat <<\_ACEOF
1453
1454 Optional Features:
1455   --disable-option-checking  ignore unrecognized --enable/--with options
1456   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1457   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1458   --enable-maintainer-mode  enable make rules and dependencies not useful
1459                           (and sometimes confusing) to the casual installer
1460   --enable-silent-rules          less verbose build output (undo: `make V=1')
1461   --disable-silent-rules         verbose build output (undo: `make V=0')
1462   --disable-dependency-tracking  speeds up one-time build
1463   --enable-dependency-tracking   do not reject slow dependency extractors
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
1491 Some influential environment variables:
1492   CC          C compiler command
1493   CFLAGS      C compiler flags
1494   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1495               nonstandard directory <lib dir>
1496   LIBS        libraries to pass to the linker, e.g. -l<library>
1497   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1498               you have headers in a nonstandard directory <include dir>
1499   CPP         C preprocessor
1500   PKG_CONFIG  path to pkg-config utility
1501   PKG_CONFIG_PATH
1502               directories to add to pkg-config's search path
1503   PKG_CONFIG_LIBDIR
1504               path overriding pkg-config's built-in search path
1505   GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1506   GLIB_LIBS   linker flags for GLIB, overriding pkg-config
1507   GIO_CFLAGS  C compiler flags for GIO, overriding pkg-config
1508   GIO_LIBS    linker flags for GIO, overriding pkg-config
1509   GSSDP_CFLAGS
1510               C compiler flags for GSSDP, overriding pkg-config
1511   GSSDP_LIBS  linker flags for GSSDP, overriding pkg-config
1512   GUPNP_CFLAGS
1513               C compiler flags for GUPNP, overriding pkg-config
1514   GUPNP_LIBS  linker flags for GUPNP, overriding pkg-config
1515   GUPNPAV_CFLAGS
1516               C compiler flags for GUPNPAV, overriding pkg-config
1517   GUPNPAV_LIBS
1518               linker flags for GUPNPAV, overriding pkg-config
1519   GUPNPDLNA_CFLAGS
1520               C compiler flags for GUPNPDLNA, overriding pkg-config
1521   GUPNPDLNA_LIBS
1522               linker flags for GUPNPDLNA, overriding pkg-config
1523   SOUP_CFLAGS C compiler flags for SOUP, overriding pkg-config
1524   SOUP_LIBS   linker flags for SOUP, overriding pkg-config
1525   DLEYNA_CORE_CFLAGS
1526               C compiler flags for DLEYNA_CORE, overriding pkg-config
1527   DLEYNA_CORE_LIBS
1528               linker flags for DLEYNA_CORE, overriding pkg-config
1529   DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
1530   DBUS_LIBS   linker flags for DBUS, overriding pkg-config
1531
1532 Use these variables to override the choices made by `configure' or to help
1533 it to find libraries and programs with nonstandard names/locations.
1534
1535 Report bugs to <https://github.com/01org/dleyna-server/issues/new>.
1536 dleyna-server home page: <https://01.org/dleyna/>.
1537 _ACEOF
1538 ac_status=$?
1539 fi
1540
1541 if test "$ac_init_help" = "recursive"; then
1542   # If there are subdirs, report their specific --help.
1543   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1544     test -d "$ac_dir" ||
1545       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1546       continue
1547     ac_builddir=.
1548
1549 case "$ac_dir" in
1550 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1551 *)
1552   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1553   # A ".." for each directory in $ac_dir_suffix.
1554   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1555   case $ac_top_builddir_sub in
1556   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1557   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1558   esac ;;
1559 esac
1560 ac_abs_top_builddir=$ac_pwd
1561 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1562 # for backward compatibility:
1563 ac_top_builddir=$ac_top_build_prefix
1564
1565 case $srcdir in
1566   .)  # We are building in place.
1567     ac_srcdir=.
1568     ac_top_srcdir=$ac_top_builddir_sub
1569     ac_abs_top_srcdir=$ac_pwd ;;
1570   [\\/]* | ?:[\\/]* )  # Absolute name.
1571     ac_srcdir=$srcdir$ac_dir_suffix;
1572     ac_top_srcdir=$srcdir
1573     ac_abs_top_srcdir=$srcdir ;;
1574   *) # Relative name.
1575     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1576     ac_top_srcdir=$ac_top_build_prefix$srcdir
1577     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1578 esac
1579 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1580
1581     cd "$ac_dir" || { ac_status=$?; continue; }
1582     # Check for guested configure.
1583     if test -f "$ac_srcdir/configure.gnu"; then
1584       echo &&
1585       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1586     elif test -f "$ac_srcdir/configure"; then
1587       echo &&
1588       $SHELL "$ac_srcdir/configure" --help=recursive
1589     else
1590       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1591     fi || ac_status=$?
1592     cd "$ac_pwd" || { ac_status=$?; break; }
1593   done
1594 fi
1595
1596 test -n "$ac_init_help" && exit $ac_status
1597 if $ac_init_version; then
1598   cat <<\_ACEOF
1599 dleyna-server configure 0.0.1
1600 generated by GNU Autoconf 2.69
1601
1602 Copyright (C) 2012 Free Software Foundation, Inc.
1603 This configure script is free software; the Free Software Foundation
1604 gives unlimited permission to copy, distribute and modify it.
1605 _ACEOF
1606   exit
1607 fi
1608
1609 ## ------------------------ ##
1610 ## Autoconf initialization. ##
1611 ## ------------------------ ##
1612
1613 # ac_fn_c_try_compile LINENO
1614 # --------------------------
1615 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1616 ac_fn_c_try_compile ()
1617 {
1618   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1619   rm -f conftest.$ac_objext
1620   if { { ac_try="$ac_compile"
1621 case "(($ac_try" in
1622   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1623   *) ac_try_echo=$ac_try;;
1624 esac
1625 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1626 $as_echo "$ac_try_echo"; } >&5
1627   (eval "$ac_compile") 2>conftest.err
1628   ac_status=$?
1629   if test -s conftest.err; then
1630     grep -v '^ *+' conftest.err >conftest.er1
1631     cat conftest.er1 >&5
1632     mv -f conftest.er1 conftest.err
1633   fi
1634   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1635   test $ac_status = 0; } && {
1636          test -z "$ac_c_werror_flag" ||
1637          test ! -s conftest.err
1638        } && test -s conftest.$ac_objext; then :
1639   ac_retval=0
1640 else
1641   $as_echo "$as_me: failed program was:" >&5
1642 sed 's/^/| /' conftest.$ac_ext >&5
1643
1644         ac_retval=1
1645 fi
1646   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1647   as_fn_set_status $ac_retval
1648
1649 } # ac_fn_c_try_compile
1650
1651 # ac_fn_c_try_link LINENO
1652 # -----------------------
1653 # Try to link conftest.$ac_ext, and return whether this succeeded.
1654 ac_fn_c_try_link ()
1655 {
1656   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1657   rm -f conftest.$ac_objext conftest$ac_exeext
1658   if { { ac_try="$ac_link"
1659 case "(($ac_try" in
1660   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1661   *) ac_try_echo=$ac_try;;
1662 esac
1663 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1664 $as_echo "$ac_try_echo"; } >&5
1665   (eval "$ac_link") 2>conftest.err
1666   ac_status=$?
1667   if test -s conftest.err; then
1668     grep -v '^ *+' conftest.err >conftest.er1
1669     cat conftest.er1 >&5
1670     mv -f conftest.er1 conftest.err
1671   fi
1672   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1673   test $ac_status = 0; } && {
1674          test -z "$ac_c_werror_flag" ||
1675          test ! -s conftest.err
1676        } && test -s conftest$ac_exeext && {
1677          test "$cross_compiling" = yes ||
1678          test -x conftest$ac_exeext
1679        }; then :
1680   ac_retval=0
1681 else
1682   $as_echo "$as_me: failed program was:" >&5
1683 sed 's/^/| /' conftest.$ac_ext >&5
1684
1685         ac_retval=1
1686 fi
1687   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1688   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1689   # interfere with the next link command; also delete a directory that is
1690   # left behind by Apple's compiler.  We do this before executing the actions.
1691   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1692   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1693   as_fn_set_status $ac_retval
1694
1695 } # ac_fn_c_try_link
1696
1697 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1698 # -------------------------------------------------------
1699 # Tests whether HEADER exists and can be compiled using the include files in
1700 # INCLUDES, setting the cache variable VAR accordingly.
1701 ac_fn_c_check_header_compile ()
1702 {
1703   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1704   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1705 $as_echo_n "checking for $2... " >&6; }
1706 if eval \${$3+:} false; then :
1707   $as_echo_n "(cached) " >&6
1708 else
1709   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1710 /* end confdefs.h.  */
1711 $4
1712 #include <$2>
1713 _ACEOF
1714 if ac_fn_c_try_compile "$LINENO"; then :
1715   eval "$3=yes"
1716 else
1717   eval "$3=no"
1718 fi
1719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1720 fi
1721 eval ac_res=\$$3
1722                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1723 $as_echo "$ac_res" >&6; }
1724   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1725
1726 } # ac_fn_c_check_header_compile
1727
1728 # ac_fn_c_try_cpp LINENO
1729 # ----------------------
1730 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1731 ac_fn_c_try_cpp ()
1732 {
1733   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1734   if { { ac_try="$ac_cpp conftest.$ac_ext"
1735 case "(($ac_try" in
1736   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1737   *) ac_try_echo=$ac_try;;
1738 esac
1739 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1740 $as_echo "$ac_try_echo"; } >&5
1741   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1742   ac_status=$?
1743   if test -s conftest.err; then
1744     grep -v '^ *+' conftest.err >conftest.er1
1745     cat conftest.er1 >&5
1746     mv -f conftest.er1 conftest.err
1747   fi
1748   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1749   test $ac_status = 0; } > conftest.i && {
1750          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1751          test ! -s conftest.err
1752        }; then :
1753   ac_retval=0
1754 else
1755   $as_echo "$as_me: failed program was:" >&5
1756 sed 's/^/| /' conftest.$ac_ext >&5
1757
1758     ac_retval=1
1759 fi
1760   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1761   as_fn_set_status $ac_retval
1762
1763 } # ac_fn_c_try_cpp
1764
1765 # ac_fn_c_try_run LINENO
1766 # ----------------------
1767 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1768 # that executables *can* be run.
1769 ac_fn_c_try_run ()
1770 {
1771   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1772   if { { ac_try="$ac_link"
1773 case "(($ac_try" in
1774   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1775   *) ac_try_echo=$ac_try;;
1776 esac
1777 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1778 $as_echo "$ac_try_echo"; } >&5
1779   (eval "$ac_link") 2>&5
1780   ac_status=$?
1781   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1782   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1783   { { case "(($ac_try" in
1784   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1785   *) ac_try_echo=$ac_try;;
1786 esac
1787 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1788 $as_echo "$ac_try_echo"; } >&5
1789   (eval "$ac_try") 2>&5
1790   ac_status=$?
1791   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1792   test $ac_status = 0; }; }; then :
1793   ac_retval=0
1794 else
1795   $as_echo "$as_me: program exited with status $ac_status" >&5
1796        $as_echo "$as_me: failed program was:" >&5
1797 sed 's/^/| /' conftest.$ac_ext >&5
1798
1799        ac_retval=$ac_status
1800 fi
1801   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1802   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1803   as_fn_set_status $ac_retval
1804
1805 } # ac_fn_c_try_run
1806
1807 # ac_fn_c_check_func LINENO FUNC VAR
1808 # ----------------------------------
1809 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1810 ac_fn_c_check_func ()
1811 {
1812   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1813   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1814 $as_echo_n "checking for $2... " >&6; }
1815 if eval \${$3+:} false; then :
1816   $as_echo_n "(cached) " >&6
1817 else
1818   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1819 /* end confdefs.h.  */
1820 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1821    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1822 #define $2 innocuous_$2
1823
1824 /* System header to define __stub macros and hopefully few prototypes,
1825     which can conflict with char $2 (); below.
1826     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1827     <limits.h> exists even on freestanding compilers.  */
1828
1829 #ifdef __STDC__
1830 # include <limits.h>
1831 #else
1832 # include <assert.h>
1833 #endif
1834
1835 #undef $2
1836
1837 /* Override any GCC internal prototype to avoid an error.
1838    Use char because int might match the return type of a GCC
1839    builtin and then its argument prototype would still apply.  */
1840 #ifdef __cplusplus
1841 extern "C"
1842 #endif
1843 char $2 ();
1844 /* The GNU C library defines this for functions which it implements
1845     to always fail with ENOSYS.  Some functions are actually named
1846     something starting with __ and the normal name is an alias.  */
1847 #if defined __stub_$2 || defined __stub___$2
1848 choke me
1849 #endif
1850
1851 int
1852 main ()
1853 {
1854 return $2 ();
1855   ;
1856   return 0;
1857 }
1858 _ACEOF
1859 if ac_fn_c_try_link "$LINENO"; then :
1860   eval "$3=yes"
1861 else
1862   eval "$3=no"
1863 fi
1864 rm -f core conftest.err conftest.$ac_objext \
1865     conftest$ac_exeext conftest.$ac_ext
1866 fi
1867 eval ac_res=\$$3
1868                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1869 $as_echo "$ac_res" >&6; }
1870   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1871
1872 } # ac_fn_c_check_func
1873
1874 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1875 # -------------------------------------------------------
1876 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1877 # the include files in INCLUDES and setting the cache variable VAR
1878 # accordingly.
1879 ac_fn_c_check_header_mongrel ()
1880 {
1881   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1882   if eval \${$3+:} false; then :
1883   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1884 $as_echo_n "checking for $2... " >&6; }
1885 if eval \${$3+:} false; then :
1886   $as_echo_n "(cached) " >&6
1887 fi
1888 eval ac_res=\$$3
1889                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1890 $as_echo "$ac_res" >&6; }
1891 else
1892   # Is the header compilable?
1893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1894 $as_echo_n "checking $2 usability... " >&6; }
1895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1896 /* end confdefs.h.  */
1897 $4
1898 #include <$2>
1899 _ACEOF
1900 if ac_fn_c_try_compile "$LINENO"; then :
1901   ac_header_compiler=yes
1902 else
1903   ac_header_compiler=no
1904 fi
1905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1907 $as_echo "$ac_header_compiler" >&6; }
1908
1909 # Is the header present?
1910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1911 $as_echo_n "checking $2 presence... " >&6; }
1912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1913 /* end confdefs.h.  */
1914 #include <$2>
1915 _ACEOF
1916 if ac_fn_c_try_cpp "$LINENO"; then :
1917   ac_header_preproc=yes
1918 else
1919   ac_header_preproc=no
1920 fi
1921 rm -f conftest.err conftest.i conftest.$ac_ext
1922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1923 $as_echo "$ac_header_preproc" >&6; }
1924
1925 # So?  What about this header?
1926 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1927   yes:no: )
1928     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1929 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1930     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1931 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1932     ;;
1933   no:yes:* )
1934     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1935 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1936     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1937 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1938     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1939 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1940     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1941 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1942     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1943 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1944 ( $as_echo "## ---------------------------------------------------------------- ##
1945 ## Report this to https://github.com/01org/dleyna-server/issues/new ##
1946 ## ---------------------------------------------------------------- ##"
1947      ) | sed "s/^/$as_me: WARNING:     /" >&2
1948     ;;
1949 esac
1950   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1951 $as_echo_n "checking for $2... " >&6; }
1952 if eval \${$3+:} false; then :
1953   $as_echo_n "(cached) " >&6
1954 else
1955   eval "$3=\$ac_header_compiler"
1956 fi
1957 eval ac_res=\$$3
1958                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1959 $as_echo "$ac_res" >&6; }
1960 fi
1961   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1962
1963 } # ac_fn_c_check_header_mongrel
1964
1965 # ac_fn_c_find_uintX_t LINENO BITS VAR
1966 # ------------------------------------
1967 # Finds an unsigned integer type with width BITS, setting cache variable VAR
1968 # accordingly.
1969 ac_fn_c_find_uintX_t ()
1970 {
1971   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1972   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
1973 $as_echo_n "checking for uint$2_t... " >&6; }
1974 if eval \${$3+:} false; then :
1975   $as_echo_n "(cached) " >&6
1976 else
1977   eval "$3=no"
1978      # Order is important - never check a type that is potentially smaller
1979      # than half of the expected target width.
1980      for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
1981          'unsigned long long int' 'unsigned short int' 'unsigned char'; do
1982        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1983 /* end confdefs.h.  */
1984 $ac_includes_default
1985 int
1986 main ()
1987 {
1988 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
1989 test_array [0] = 0;
1990 return test_array [0];
1991
1992   ;
1993   return 0;
1994 }
1995 _ACEOF
1996 if ac_fn_c_try_compile "$LINENO"; then :
1997   case $ac_type in #(
1998   uint$2_t) :
1999     eval "$3=yes" ;; #(
2000   *) :
2001     eval "$3=\$ac_type" ;;
2002 esac
2003 fi
2004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2005        if eval test \"x\$"$3"\" = x"no"; then :
2006
2007 else
2008   break
2009 fi
2010      done
2011 fi
2012 eval ac_res=\$$3
2013                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2014 $as_echo "$ac_res" >&6; }
2015   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2016
2017 } # ac_fn_c_find_uintX_t
2018
2019 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2020 # -------------------------------------------
2021 # Tests whether TYPE exists after having included INCLUDES, setting cache
2022 # variable VAR accordingly.
2023 ac_fn_c_check_type ()
2024 {
2025   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2026   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2027 $as_echo_n "checking for $2... " >&6; }
2028 if eval \${$3+:} false; then :
2029   $as_echo_n "(cached) " >&6
2030 else
2031   eval "$3=no"
2032   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2033 /* end confdefs.h.  */
2034 $4
2035 int
2036 main ()
2037 {
2038 if (sizeof ($2))
2039          return 0;
2040   ;
2041   return 0;
2042 }
2043 _ACEOF
2044 if ac_fn_c_try_compile "$LINENO"; then :
2045   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2046 /* end confdefs.h.  */
2047 $4
2048 int
2049 main ()
2050 {
2051 if (sizeof (($2)))
2052             return 0;
2053   ;
2054   return 0;
2055 }
2056 _ACEOF
2057 if ac_fn_c_try_compile "$LINENO"; then :
2058
2059 else
2060   eval "$3=yes"
2061 fi
2062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2063 fi
2064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2065 fi
2066 eval ac_res=\$$3
2067                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2068 $as_echo "$ac_res" >&6; }
2069   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2070
2071 } # ac_fn_c_check_type
2072 cat >config.log <<_ACEOF
2073 This file contains any messages produced by compilers while
2074 running configure, to aid debugging if configure makes a mistake.
2075
2076 It was created by dleyna-server $as_me 0.0.1, which was
2077 generated by GNU Autoconf 2.69.  Invocation command line was
2078
2079   $ $0 $@
2080
2081 _ACEOF
2082 exec 5>>config.log
2083 {
2084 cat <<_ASUNAME
2085 ## --------- ##
2086 ## Platform. ##
2087 ## --------- ##
2088
2089 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2090 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2091 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2092 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2093 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2094
2095 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2096 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2097
2098 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2099 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2100 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2101 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2102 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2103 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2104 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2105
2106 _ASUNAME
2107
2108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2109 for as_dir in $PATH
2110 do
2111   IFS=$as_save_IFS
2112   test -z "$as_dir" && as_dir=.
2113     $as_echo "PATH: $as_dir"
2114   done
2115 IFS=$as_save_IFS
2116
2117 } >&5
2118
2119 cat >&5 <<_ACEOF
2120
2121
2122 ## ----------- ##
2123 ## Core tests. ##
2124 ## ----------- ##
2125
2126 _ACEOF
2127
2128
2129 # Keep a trace of the command line.
2130 # Strip out --no-create and --no-recursion so they do not pile up.
2131 # Strip out --silent because we don't want to record it for future runs.
2132 # Also quote any args containing shell meta-characters.
2133 # Make two passes to allow for proper duplicate-argument suppression.
2134 ac_configure_args=
2135 ac_configure_args0=
2136 ac_configure_args1=
2137 ac_must_keep_next=false
2138 for ac_pass in 1 2
2139 do
2140   for ac_arg
2141   do
2142     case $ac_arg in
2143     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2144     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2145     | -silent | --silent | --silen | --sile | --sil)
2146       continue ;;
2147     *\'*)
2148       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2149     esac
2150     case $ac_pass in
2151     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2152     2)
2153       as_fn_append ac_configure_args1 " '$ac_arg'"
2154       if test $ac_must_keep_next = true; then
2155         ac_must_keep_next=false # Got value, back to normal.
2156       else
2157         case $ac_arg in
2158           *=* | --config-cache | -C | -disable-* | --disable-* \
2159           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2160           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2161           | -with-* | --with-* | -without-* | --without-* | --x)
2162             case "$ac_configure_args0 " in
2163               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2164             esac
2165             ;;
2166           -* ) ac_must_keep_next=true ;;
2167         esac
2168       fi
2169       as_fn_append ac_configure_args " '$ac_arg'"
2170       ;;
2171     esac
2172   done
2173 done
2174 { ac_configure_args0=; unset ac_configure_args0;}
2175 { ac_configure_args1=; unset ac_configure_args1;}
2176
2177 # When interrupted or exit'd, cleanup temporary files, and complete
2178 # config.log.  We remove comments because anyway the quotes in there
2179 # would cause problems or look ugly.
2180 # WARNING: Use '\'' to represent an apostrophe within the trap.
2181 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2182 trap 'exit_status=$?
2183   # Save into config.log some information that might help in debugging.
2184   {
2185     echo
2186
2187     $as_echo "## ---------------- ##
2188 ## Cache variables. ##
2189 ## ---------------- ##"
2190     echo
2191     # The following way of writing the cache mishandles newlines in values,
2192 (
2193   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2194     eval ac_val=\$$ac_var
2195     case $ac_val in #(
2196     *${as_nl}*)
2197       case $ac_var in #(
2198       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2199 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2200       esac
2201       case $ac_var in #(
2202       _ | IFS | as_nl) ;; #(
2203       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2204       *) { eval $ac_var=; unset $ac_var;} ;;
2205       esac ;;
2206     esac
2207   done
2208   (set) 2>&1 |
2209     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2210     *${as_nl}ac_space=\ *)
2211       sed -n \
2212         "s/'\''/'\''\\\\'\'''\''/g;
2213           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2214       ;; #(
2215     *)
2216       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2217       ;;
2218     esac |
2219     sort
2220 )
2221     echo
2222
2223     $as_echo "## ----------------- ##
2224 ## Output variables. ##
2225 ## ----------------- ##"
2226     echo
2227     for ac_var in $ac_subst_vars
2228     do
2229       eval ac_val=\$$ac_var
2230       case $ac_val in
2231       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2232       esac
2233       $as_echo "$ac_var='\''$ac_val'\''"
2234     done | sort
2235     echo
2236
2237     if test -n "$ac_subst_files"; then
2238       $as_echo "## ------------------- ##
2239 ## File substitutions. ##
2240 ## ------------------- ##"
2241       echo
2242       for ac_var in $ac_subst_files
2243       do
2244         eval ac_val=\$$ac_var
2245         case $ac_val in
2246         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2247         esac
2248         $as_echo "$ac_var='\''$ac_val'\''"
2249       done | sort
2250       echo
2251     fi
2252
2253     if test -s confdefs.h; then
2254       $as_echo "## ----------- ##
2255 ## confdefs.h. ##
2256 ## ----------- ##"
2257       echo
2258       cat confdefs.h
2259       echo
2260     fi
2261     test "$ac_signal" != 0 &&
2262       $as_echo "$as_me: caught signal $ac_signal"
2263     $as_echo "$as_me: exit $exit_status"
2264   } >&5
2265   rm -f core *.core core.conftest.* &&
2266     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2267     exit $exit_status
2268 ' 0
2269 for ac_signal in 1 2 13 15; do
2270   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2271 done
2272 ac_signal=0
2273
2274 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2275 rm -f -r conftest* confdefs.h
2276
2277 $as_echo "/* confdefs.h */" > confdefs.h
2278
2279 # Predefined preprocessor variables.
2280
2281 cat >>confdefs.h <<_ACEOF
2282 #define PACKAGE_NAME "$PACKAGE_NAME"
2283 _ACEOF
2284
2285 cat >>confdefs.h <<_ACEOF
2286 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2287 _ACEOF
2288
2289 cat >>confdefs.h <<_ACEOF
2290 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2291 _ACEOF
2292
2293 cat >>confdefs.h <<_ACEOF
2294 #define PACKAGE_STRING "$PACKAGE_STRING"
2295 _ACEOF
2296
2297 cat >>confdefs.h <<_ACEOF
2298 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2299 _ACEOF
2300
2301 cat >>confdefs.h <<_ACEOF
2302 #define PACKAGE_URL "$PACKAGE_URL"
2303 _ACEOF
2304
2305
2306 # Let the site file select an alternate cache file if it wants to.
2307 # Prefer an explicitly selected file to automatically selected ones.
2308 ac_site_file1=NONE
2309 ac_site_file2=NONE
2310 if test -n "$CONFIG_SITE"; then
2311   # We do not want a PATH search for config.site.
2312   case $CONFIG_SITE in #((
2313     -*)  ac_site_file1=./$CONFIG_SITE;;
2314     */*) ac_site_file1=$CONFIG_SITE;;
2315     *)   ac_site_file1=./$CONFIG_SITE;;
2316   esac
2317 elif test "x$prefix" != xNONE; then
2318   ac_site_file1=$prefix/share/config.site
2319   ac_site_file2=$prefix/etc/config.site
2320 else
2321   ac_site_file1=$ac_default_prefix/share/config.site
2322   ac_site_file2=$ac_default_prefix/etc/config.site
2323 fi
2324 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2325 do
2326   test "x$ac_site_file" = xNONE && continue
2327   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2328     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2329 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2330     sed 's/^/| /' "$ac_site_file" >&5
2331     . "$ac_site_file" \
2332       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2333 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2334 as_fn_error $? "failed to load site script $ac_site_file
2335 See \`config.log' for more details" "$LINENO" 5; }
2336   fi
2337 done
2338
2339 if test -r "$cache_file"; then
2340   # Some versions of bash will fail to source /dev/null (special files
2341   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2342   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2343     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2344 $as_echo "$as_me: loading cache $cache_file" >&6;}
2345     case $cache_file in
2346       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2347       *)                      . "./$cache_file";;
2348     esac
2349   fi
2350 else
2351   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2352 $as_echo "$as_me: creating cache $cache_file" >&6;}
2353   >$cache_file
2354 fi
2355
2356 # Check that the precious variables saved in the cache have kept the same
2357 # value.
2358 ac_cache_corrupted=false
2359 for ac_var in $ac_precious_vars; do
2360   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2361   eval ac_new_set=\$ac_env_${ac_var}_set
2362   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2363   eval ac_new_val=\$ac_env_${ac_var}_value
2364   case $ac_old_set,$ac_new_set in
2365     set,)
2366       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2367 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2368       ac_cache_corrupted=: ;;
2369     ,set)
2370       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2371 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2372       ac_cache_corrupted=: ;;
2373     ,);;
2374     *)
2375       if test "x$ac_old_val" != "x$ac_new_val"; then
2376         # differences in whitespace do not lead to failure.
2377         ac_old_val_w=`echo x $ac_old_val`
2378         ac_new_val_w=`echo x $ac_new_val`
2379         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2380           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2381 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2382           ac_cache_corrupted=:
2383         else
2384           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2385 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2386           eval $ac_var=\$ac_old_val
2387         fi
2388         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2389 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2390         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2391 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2392       fi;;
2393   esac
2394   # Pass precious variables to config.status.
2395   if test "$ac_new_set" = set; then
2396     case $ac_new_val in
2397     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2398     *) ac_arg=$ac_var=$ac_new_val ;;
2399     esac
2400     case " $ac_configure_args " in
2401       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2402       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2403     esac
2404   fi
2405 done
2406 if $ac_cache_corrupted; then
2407   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2408 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2409   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2410 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2411   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2412 fi
2413 ## -------------------- ##
2414 ## Main body of script. ##
2415 ## -------------------- ##
2416
2417 ac_ext=c
2418 ac_cpp='$CPP $CPPFLAGS'
2419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2422
2423
2424
2425 ac_config_headers="$ac_config_headers config.h"
2426
2427 ac_aux_dir=
2428 for ac_dir in build-aux "$srcdir"/build-aux; do
2429   if test -f "$ac_dir/install-sh"; then
2430     ac_aux_dir=$ac_dir
2431     ac_install_sh="$ac_aux_dir/install-sh -c"
2432     break
2433   elif test -f "$ac_dir/install.sh"; then
2434     ac_aux_dir=$ac_dir
2435     ac_install_sh="$ac_aux_dir/install.sh -c"
2436     break
2437   elif test -f "$ac_dir/shtool"; then
2438     ac_aux_dir=$ac_dir
2439     ac_install_sh="$ac_aux_dir/shtool install -c"
2440     break
2441   fi
2442 done
2443 if test -z "$ac_aux_dir"; then
2444   as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2445 fi
2446
2447 # These three variables are undocumented and unsupported,
2448 # and are intended to be withdrawn in a future Autoconf release.
2449 # They can cause serious problems if a builder's source tree is in a directory
2450 # whose full name contains unusual characters.
2451 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2452 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2453 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2454
2455
2456
2457
2458
2459
2460
2461 am__api_version='1.11'
2462
2463 # Find a good install program.  We prefer a C program (faster),
2464 # so one script is as good as another.  But avoid the broken or
2465 # incompatible versions:
2466 # SysV /etc/install, /usr/sbin/install
2467 # SunOS /usr/etc/install
2468 # IRIX /sbin/install
2469 # AIX /bin/install
2470 # AmigaOS /C/install, which installs bootblocks on floppy discs
2471 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2472 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2473 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2474 # OS/2's system install, which has a completely different semantic
2475 # ./install, which can be erroneously created by make from ./install.sh.
2476 # Reject install programs that cannot install multiple files.
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2478 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2479 if test -z "$INSTALL"; then
2480 if ${ac_cv_path_install+:} false; then :
2481   $as_echo_n "(cached) " >&6
2482 else
2483   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2484 for as_dir in $PATH
2485 do
2486   IFS=$as_save_IFS
2487   test -z "$as_dir" && as_dir=.
2488     # Account for people who put trailing slashes in PATH elements.
2489 case $as_dir/ in #((
2490   ./ | .// | /[cC]/* | \
2491   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2492   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2493   /usr/ucb/* ) ;;
2494   *)
2495     # OSF1 and SCO ODT 3.0 have their own names for install.
2496     # Don't use installbsd from OSF since it installs stuff as root
2497     # by default.
2498     for ac_prog in ginstall scoinst install; do
2499       for ac_exec_ext in '' $ac_executable_extensions; do
2500         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2501           if test $ac_prog = install &&
2502             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2503             # AIX install.  It has an incompatible calling convention.
2504             :
2505           elif test $ac_prog = install &&
2506             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2507             # program-specific install script used by HP pwplus--don't use.
2508             :
2509           else
2510             rm -rf conftest.one conftest.two conftest.dir
2511             echo one > conftest.one
2512             echo two > conftest.two
2513             mkdir conftest.dir
2514             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2515               test -s conftest.one && test -s conftest.two &&
2516               test -s conftest.dir/conftest.one &&
2517               test -s conftest.dir/conftest.two
2518             then
2519               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2520               break 3
2521             fi
2522           fi
2523         fi
2524       done
2525     done
2526     ;;
2527 esac
2528
2529   done
2530 IFS=$as_save_IFS
2531
2532 rm -rf conftest.one conftest.two conftest.dir
2533
2534 fi
2535   if test "${ac_cv_path_install+set}" = set; then
2536     INSTALL=$ac_cv_path_install
2537   else
2538     # As a last resort, use the slow shell script.  Don't cache a
2539     # value for INSTALL within a source directory, because that will
2540     # break other packages using the cache if that directory is
2541     # removed, or if the value is a relative name.
2542     INSTALL=$ac_install_sh
2543   fi
2544 fi
2545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2546 $as_echo "$INSTALL" >&6; }
2547
2548 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2549 # It thinks the first close brace ends the variable substitution.
2550 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2551
2552 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2553
2554 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2555
2556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2557 $as_echo_n "checking whether build environment is sane... " >&6; }
2558 # Just in case
2559 sleep 1
2560 echo timestamp > conftest.file
2561 # Reject unsafe characters in $srcdir or the absolute working directory
2562 # name.  Accept space and tab only in the latter.
2563 am_lf='
2564 '
2565 case `pwd` in
2566   *[\\\"\#\$\&\'\`$am_lf]*)
2567     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2568 esac
2569 case $srcdir in
2570   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2571     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2572 esac
2573
2574 # Do `set' in a subshell so we don't clobber the current shell's
2575 # arguments.  Must try -L first in case configure is actually a
2576 # symlink; some systems play weird games with the mod time of symlinks
2577 # (eg FreeBSD returns the mod time of the symlink's containing
2578 # directory).
2579 if (
2580    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2581    if test "$*" = "X"; then
2582       # -L didn't work.
2583       set X `ls -t "$srcdir/configure" conftest.file`
2584    fi
2585    rm -f conftest.file
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
2597    test "$2" = conftest.file
2598    )
2599 then
2600    # Ok.
2601    :
2602 else
2603    as_fn_error $? "newly created file is older than distributed files!
2604 Check your system clock" "$LINENO" 5
2605 fi
2606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2607 $as_echo "yes" >&6; }
2608 test "$program_prefix" != NONE &&
2609   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2610 # Use a double $ so make ignores it.
2611 test "$program_suffix" != NONE &&
2612   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2613 # Double any \ or $.
2614 # By default was `s,x,x', remove it if useless.
2615 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2616 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2617
2618 # expand $ac_aux_dir to an absolute path
2619 am_aux_dir=`cd $ac_aux_dir && pwd`
2620
2621 if test x"${MISSING+set}" != xset; then
2622   case $am_aux_dir in
2623   *\ * | *\     *)
2624     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2625   *)
2626     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2627   esac
2628 fi
2629 # Use eval to expand $SHELL
2630 if eval "$MISSING --run true"; then
2631   am_missing_run="$MISSING --run "
2632 else
2633   am_missing_run=
2634   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2635 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2636 fi
2637
2638 if test x"${install_sh}" != xset; then
2639   case $am_aux_dir in
2640   *\ * | *\     *)
2641     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2642   *)
2643     install_sh="\${SHELL} $am_aux_dir/install-sh"
2644   esac
2645 fi
2646
2647 # Installed binaries are usually stripped using `strip' when the user
2648 # run `make install-strip'.  However `strip' might not be the right
2649 # tool to use in cross-compilation environments, therefore Automake
2650 # will honor the `STRIP' environment variable to overrule this program.
2651 if test "$cross_compiling" != no; then
2652   if test -n "$ac_tool_prefix"; then
2653   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2654 set dummy ${ac_tool_prefix}strip; ac_word=$2
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2656 $as_echo_n "checking for $ac_word... " >&6; }
2657 if ${ac_cv_prog_STRIP+:} false; then :
2658   $as_echo_n "(cached) " >&6
2659 else
2660   if test -n "$STRIP"; then
2661   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2662 else
2663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2664 for as_dir in $PATH
2665 do
2666   IFS=$as_save_IFS
2667   test -z "$as_dir" && as_dir=.
2668     for ac_exec_ext in '' $ac_executable_extensions; do
2669   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2670     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2671     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2672     break 2
2673   fi
2674 done
2675   done
2676 IFS=$as_save_IFS
2677
2678 fi
2679 fi
2680 STRIP=$ac_cv_prog_STRIP
2681 if test -n "$STRIP"; then
2682   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2683 $as_echo "$STRIP" >&6; }
2684 else
2685   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2686 $as_echo "no" >&6; }
2687 fi
2688
2689
2690 fi
2691 if test -z "$ac_cv_prog_STRIP"; then
2692   ac_ct_STRIP=$STRIP
2693   # Extract the first word of "strip", so it can be a program name with args.
2694 set dummy strip; ac_word=$2
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2696 $as_echo_n "checking for $ac_word... " >&6; }
2697 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2698   $as_echo_n "(cached) " >&6
2699 else
2700   if test -n "$ac_ct_STRIP"; then
2701   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2702 else
2703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2704 for as_dir in $PATH
2705 do
2706   IFS=$as_save_IFS
2707   test -z "$as_dir" && as_dir=.
2708     for ac_exec_ext in '' $ac_executable_extensions; do
2709   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2710     ac_cv_prog_ac_ct_STRIP="strip"
2711     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2712     break 2
2713   fi
2714 done
2715   done
2716 IFS=$as_save_IFS
2717
2718 fi
2719 fi
2720 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2721 if test -n "$ac_ct_STRIP"; then
2722   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2723 $as_echo "$ac_ct_STRIP" >&6; }
2724 else
2725   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2726 $as_echo "no" >&6; }
2727 fi
2728
2729   if test "x$ac_ct_STRIP" = x; then
2730     STRIP=":"
2731   else
2732     case $cross_compiling:$ac_tool_warned in
2733 yes:)
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2735 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2736 ac_tool_warned=yes ;;
2737 esac
2738     STRIP=$ac_ct_STRIP
2739   fi
2740 else
2741   STRIP="$ac_cv_prog_STRIP"
2742 fi
2743
2744 fi
2745 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2746
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2748 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2749 if test -z "$MKDIR_P"; then
2750   if ${ac_cv_path_mkdir+:} false; then :
2751   $as_echo_n "(cached) " >&6
2752 else
2753   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2754 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2755 do
2756   IFS=$as_save_IFS
2757   test -z "$as_dir" && as_dir=.
2758     for ac_prog in mkdir gmkdir; do
2759          for ac_exec_ext in '' $ac_executable_extensions; do
2760            as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2761            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2762              'mkdir (GNU coreutils) '* | \
2763              'mkdir (coreutils) '* | \
2764              'mkdir (fileutils) '4.1*)
2765                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2766                break 3;;
2767            esac
2768          done
2769        done
2770   done
2771 IFS=$as_save_IFS
2772
2773 fi
2774
2775   test -d ./--version && rmdir ./--version
2776   if test "${ac_cv_path_mkdir+set}" = set; then
2777     MKDIR_P="$ac_cv_path_mkdir -p"
2778   else
2779     # As a last resort, use the slow shell script.  Don't cache a
2780     # value for MKDIR_P within a source directory, because that will
2781     # break other packages using the cache if that directory is
2782     # removed, or if the value is a relative name.
2783     MKDIR_P="$ac_install_sh -d"
2784   fi
2785 fi
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2787 $as_echo "$MKDIR_P" >&6; }
2788
2789 mkdir_p="$MKDIR_P"
2790 case $mkdir_p in
2791   [\\/$]* | ?:[\\/]*) ;;
2792   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2793 esac
2794
2795 for ac_prog in gawk mawk nawk awk
2796 do
2797   # Extract the first word of "$ac_prog", so it can be a program name with args.
2798 set dummy $ac_prog; ac_word=$2
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2800 $as_echo_n "checking for $ac_word... " >&6; }
2801 if ${ac_cv_prog_AWK+:} false; then :
2802   $as_echo_n "(cached) " >&6
2803 else
2804   if test -n "$AWK"; then
2805   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2806 else
2807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2808 for as_dir in $PATH
2809 do
2810   IFS=$as_save_IFS
2811   test -z "$as_dir" && as_dir=.
2812     for ac_exec_ext in '' $ac_executable_extensions; do
2813   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2814     ac_cv_prog_AWK="$ac_prog"
2815     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2816     break 2
2817   fi
2818 done
2819   done
2820 IFS=$as_save_IFS
2821
2822 fi
2823 fi
2824 AWK=$ac_cv_prog_AWK
2825 if test -n "$AWK"; then
2826   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2827 $as_echo "$AWK" >&6; }
2828 else
2829   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2830 $as_echo "no" >&6; }
2831 fi
2832
2833
2834   test -n "$AWK" && break
2835 done
2836
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2838 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2839 set x ${MAKE-make}
2840 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2841 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2842   $as_echo_n "(cached) " >&6
2843 else
2844   cat >conftest.make <<\_ACEOF
2845 SHELL = /bin/sh
2846 all:
2847         @echo '@@@%%%=$(MAKE)=@@@%%%'
2848 _ACEOF
2849 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2850 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2851   *@@@%%%=?*=@@@%%%*)
2852     eval ac_cv_prog_make_${ac_make}_set=yes;;
2853   *)
2854     eval ac_cv_prog_make_${ac_make}_set=no;;
2855 esac
2856 rm -f conftest.make
2857 fi
2858 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2859   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2860 $as_echo "yes" >&6; }
2861   SET_MAKE=
2862 else
2863   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2864 $as_echo "no" >&6; }
2865   SET_MAKE="MAKE=${MAKE-make}"
2866 fi
2867
2868 rm -rf .tst 2>/dev/null
2869 mkdir .tst 2>/dev/null
2870 if test -d .tst; then
2871   am__leading_dot=.
2872 else
2873   am__leading_dot=_
2874 fi
2875 rmdir .tst 2>/dev/null
2876
2877 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2878   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2879   # is not polluted with repeated "-I."
2880   am__isrc=' -I$(srcdir)'
2881   # test to see if srcdir already configured
2882   if test -f $srcdir/config.status; then
2883     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2884   fi
2885 fi
2886
2887 # test whether we have cygpath
2888 if test -z "$CYGPATH_W"; then
2889   if (cygpath --version) >/dev/null 2>/dev/null; then
2890     CYGPATH_W='cygpath -w'
2891   else
2892     CYGPATH_W=echo
2893   fi
2894 fi
2895
2896
2897 # Define the identity of the package.
2898  PACKAGE='dleyna-server'
2899  VERSION='0.0.1'
2900
2901
2902 cat >>confdefs.h <<_ACEOF
2903 #define PACKAGE "$PACKAGE"
2904 _ACEOF
2905
2906
2907 cat >>confdefs.h <<_ACEOF
2908 #define VERSION "$VERSION"
2909 _ACEOF
2910
2911 # Some tools Automake needs.
2912
2913 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2914
2915
2916 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2917
2918
2919 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2920
2921
2922 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2923
2924
2925 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2926
2927 # We need awk for the "check" target.  The system "awk" is bad on
2928 # some platforms.
2929 # Always define AMTAR for backward compatibility.  Yes, it's still used
2930 # in the wild :-(  We should find a proper way to deprecate it ...
2931 AMTAR='$${TAR-tar}'
2932
2933 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2934
2935
2936
2937
2938
2939
2940
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2942 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2943     # Check whether --enable-maintainer-mode was given.
2944 if test "${enable_maintainer_mode+set}" = set; then :
2945   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2946 else
2947   USE_MAINTAINER_MODE=no
2948 fi
2949
2950   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2951 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2952    if test $USE_MAINTAINER_MODE = yes; then
2953   MAINTAINER_MODE_TRUE=
2954   MAINTAINER_MODE_FALSE='#'
2955 else
2956   MAINTAINER_MODE_TRUE='#'
2957   MAINTAINER_MODE_FALSE=
2958 fi
2959
2960   MAINT=$MAINTAINER_MODE_TRUE
2961
2962
2963 # Check whether --enable-silent-rules was given.
2964 if test "${enable_silent_rules+set}" = set; then :
2965   enableval=$enable_silent_rules;
2966 fi
2967
2968 case $enable_silent_rules in
2969 yes) AM_DEFAULT_VERBOSITY=0;;
2970 no)  AM_DEFAULT_VERBOSITY=1;;
2971 *)   AM_DEFAULT_VERBOSITY=0;;
2972 esac
2973 am_make=${MAKE-make}
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2975 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2976 if ${am_cv_make_support_nested_variables+:} false; then :
2977   $as_echo_n "(cached) " >&6
2978 else
2979   if $as_echo 'TRUE=$(BAR$(V))
2980 BAR0=false
2981 BAR1=true
2982 V=1
2983 am__doit:
2984         @$(TRUE)
2985 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2986   am_cv_make_support_nested_variables=yes
2987 else
2988   am_cv_make_support_nested_variables=no
2989 fi
2990 fi
2991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2992 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2993 if test $am_cv_make_support_nested_variables = yes; then
2994     AM_V='$(V)'
2995   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2996 else
2997   AM_V=$AM_DEFAULT_VERBOSITY
2998   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2999 fi
3000 AM_BACKSLASH='\'
3001
3002
3003
3004         if (test x"${CFLAGS}" = x""); then
3005                 CFLAGS="-Wall"
3006                 CFLAGS+=" -O2"
3007                 CFLAGS+=" -D_FORTIFY_SOURCE=2"
3008         fi
3009
3010         if (test x"$USE_MAINTAINER_MODE" = x"yes"); then
3011                 CFLAGS+=" -Wextra"
3012                 CFLAGS+=" -Wno-unused-parameter"
3013                 CFLAGS+=" -Wno-missing-field-initializers"
3014                 CFLAGS+=" -Wdeclaration-after-statement"
3015                 CFLAGS+=" -Wmissing-declarations"
3016                 CFLAGS+=" -Wredundant-decls"
3017                 CFLAGS+=" -Wcast-align"
3018
3019                 CFLAGS+=" -Wstrict-prototypes"
3020                 CFLAGS+=" -Wmissing-prototypes"
3021                 CFLAGS+=" -Wnested-externs"
3022                 CFLAGS+=" -Wshadow"
3023                 CFLAGS+=" -Wformat=2"
3024                 CFLAGS+=" -Winit-self"
3025
3026                 CFLAGS+=" -std=gnu99"
3027                 CFLAGS+=" -pedantic"
3028                 CFLAGS+=" -Wno-overlength-strings"
3029
3030                 CFLAGS+=" -DG_DISABLE_DEPRECATED"
3031                 CFLAGS+=" -DGLIB_DISABLE_DEPRECATION_WARNINGS"
3032         fi
3033
3034         CFLAGS+=" -Wno-format-extra-args"
3035
3036
3037 # Checks for languages.
3038 ac_ext=c
3039 ac_cpp='$CPP $CPPFLAGS'
3040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3043
3044
3045 # Checks for programs.
3046 ac_ext=c
3047 ac_cpp='$CPP $CPPFLAGS'
3048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3051 if test -n "$ac_tool_prefix"; then
3052   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3053 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3055 $as_echo_n "checking for $ac_word... " >&6; }
3056 if ${ac_cv_prog_CC+:} false; then :
3057   $as_echo_n "(cached) " >&6
3058 else
3059   if test -n "$CC"; then
3060   ac_cv_prog_CC="$CC" # Let the user override the test.
3061 else
3062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3063 for as_dir in $PATH
3064 do
3065   IFS=$as_save_IFS
3066   test -z "$as_dir" && as_dir=.
3067     for ac_exec_ext in '' $ac_executable_extensions; do
3068   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3069     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3070     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3071     break 2
3072   fi
3073 done
3074   done
3075 IFS=$as_save_IFS
3076
3077 fi
3078 fi
3079 CC=$ac_cv_prog_CC
3080 if test -n "$CC"; then
3081   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3082 $as_echo "$CC" >&6; }
3083 else
3084   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3085 $as_echo "no" >&6; }
3086 fi
3087
3088
3089 fi
3090 if test -z "$ac_cv_prog_CC"; then
3091   ac_ct_CC=$CC
3092   # Extract the first word of "gcc", so it can be a program name with args.
3093 set dummy gcc; ac_word=$2
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3095 $as_echo_n "checking for $ac_word... " >&6; }
3096 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3097   $as_echo_n "(cached) " >&6
3098 else
3099   if test -n "$ac_ct_CC"; then
3100   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3101 else
3102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3103 for as_dir in $PATH
3104 do
3105   IFS=$as_save_IFS
3106   test -z "$as_dir" && as_dir=.
3107     for ac_exec_ext in '' $ac_executable_extensions; do
3108   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3109     ac_cv_prog_ac_ct_CC="gcc"
3110     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3111     break 2
3112   fi
3113 done
3114   done
3115 IFS=$as_save_IFS
3116
3117 fi
3118 fi
3119 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3120 if test -n "$ac_ct_CC"; then
3121   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3122 $as_echo "$ac_ct_CC" >&6; }
3123 else
3124   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3125 $as_echo "no" >&6; }
3126 fi
3127
3128   if test "x$ac_ct_CC" = x; then
3129     CC=""
3130   else
3131     case $cross_compiling:$ac_tool_warned in
3132 yes:)
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3134 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3135 ac_tool_warned=yes ;;
3136 esac
3137     CC=$ac_ct_CC
3138   fi
3139 else
3140   CC="$ac_cv_prog_CC"
3141 fi
3142
3143 if test -z "$CC"; then
3144           if test -n "$ac_tool_prefix"; then
3145     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3146 set dummy ${ac_tool_prefix}cc; ac_word=$2
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3148 $as_echo_n "checking for $ac_word... " >&6; }
3149 if ${ac_cv_prog_CC+:} false; then :
3150   $as_echo_n "(cached) " >&6
3151 else
3152   if test -n "$CC"; then
3153   ac_cv_prog_CC="$CC" # Let the user override the test.
3154 else
3155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3156 for as_dir in $PATH
3157 do
3158   IFS=$as_save_IFS
3159   test -z "$as_dir" && as_dir=.
3160     for ac_exec_ext in '' $ac_executable_extensions; do
3161   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3162     ac_cv_prog_CC="${ac_tool_prefix}cc"
3163     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3164     break 2
3165   fi
3166 done
3167   done
3168 IFS=$as_save_IFS
3169
3170 fi
3171 fi
3172 CC=$ac_cv_prog_CC
3173 if test -n "$CC"; then
3174   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3175 $as_echo "$CC" >&6; }
3176 else
3177   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3178 $as_echo "no" >&6; }
3179 fi
3180
3181
3182   fi
3183 fi
3184 if test -z "$CC"; then
3185   # Extract the first word of "cc", so it can be a program name with args.
3186 set dummy cc; ac_word=$2
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3188 $as_echo_n "checking for $ac_word... " >&6; }
3189 if ${ac_cv_prog_CC+:} false; then :
3190   $as_echo_n "(cached) " >&6
3191 else
3192   if test -n "$CC"; then
3193   ac_cv_prog_CC="$CC" # Let the user override the test.
3194 else
3195   ac_prog_rejected=no
3196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3197 for as_dir in $PATH
3198 do
3199   IFS=$as_save_IFS
3200   test -z "$as_dir" && as_dir=.
3201     for ac_exec_ext in '' $ac_executable_extensions; do
3202   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3203     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3204        ac_prog_rejected=yes
3205        continue
3206      fi
3207     ac_cv_prog_CC="cc"
3208     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3209     break 2
3210   fi
3211 done
3212   done
3213 IFS=$as_save_IFS
3214
3215 if test $ac_prog_rejected = yes; then
3216   # We found a bogon in the path, so make sure we never use it.
3217   set dummy $ac_cv_prog_CC
3218   shift
3219   if test $# != 0; then
3220     # We chose a different compiler from the bogus one.
3221     # However, it has the same basename, so the bogon will be chosen
3222     # first if we set CC to just the basename; use the full file name.
3223     shift
3224     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3225   fi
3226 fi
3227 fi
3228 fi
3229 CC=$ac_cv_prog_CC
3230 if test -n "$CC"; then
3231   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3232 $as_echo "$CC" >&6; }
3233 else
3234   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3235 $as_echo "no" >&6; }
3236 fi
3237
3238
3239 fi
3240 if test -z "$CC"; then
3241   if test -n "$ac_tool_prefix"; then
3242   for ac_prog in cl.exe
3243   do
3244     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3245 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3247 $as_echo_n "checking for $ac_word... " >&6; }
3248 if ${ac_cv_prog_CC+:} false; then :
3249   $as_echo_n "(cached) " >&6
3250 else
3251   if test -n "$CC"; then
3252   ac_cv_prog_CC="$CC" # Let the user override the test.
3253 else
3254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3255 for as_dir in $PATH
3256 do
3257   IFS=$as_save_IFS
3258   test -z "$as_dir" && as_dir=.
3259     for ac_exec_ext in '' $ac_executable_extensions; do
3260   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3261     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3262     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3263     break 2
3264   fi
3265 done
3266   done
3267 IFS=$as_save_IFS
3268
3269 fi
3270 fi
3271 CC=$ac_cv_prog_CC
3272 if test -n "$CC"; then
3273   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3274 $as_echo "$CC" >&6; }
3275 else
3276   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3277 $as_echo "no" >&6; }
3278 fi
3279
3280
3281     test -n "$CC" && break
3282   done
3283 fi
3284 if test -z "$CC"; then
3285   ac_ct_CC=$CC
3286   for ac_prog in cl.exe
3287 do
3288   # Extract the first word of "$ac_prog", so it can be a program name with args.
3289 set dummy $ac_prog; ac_word=$2
3290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3291 $as_echo_n "checking for $ac_word... " >&6; }
3292 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3293   $as_echo_n "(cached) " >&6
3294 else
3295   if test -n "$ac_ct_CC"; then
3296   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3297 else
3298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3299 for as_dir in $PATH
3300 do
3301   IFS=$as_save_IFS
3302   test -z "$as_dir" && as_dir=.
3303     for ac_exec_ext in '' $ac_executable_extensions; do
3304   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3305     ac_cv_prog_ac_ct_CC="$ac_prog"
3306     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3307     break 2
3308   fi
3309 done
3310   done
3311 IFS=$as_save_IFS
3312
3313 fi
3314 fi
3315 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3316 if test -n "$ac_ct_CC"; then
3317   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3318 $as_echo "$ac_ct_CC" >&6; }
3319 else
3320   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3321 $as_echo "no" >&6; }
3322 fi
3323
3324
3325   test -n "$ac_ct_CC" && break
3326 done
3327
3328   if test "x$ac_ct_CC" = x; then
3329     CC=""
3330   else
3331     case $cross_compiling:$ac_tool_warned in
3332 yes:)
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3334 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3335 ac_tool_warned=yes ;;
3336 esac
3337     CC=$ac_ct_CC
3338   fi
3339 fi
3340
3341 fi
3342
3343
3344 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3345 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3346 as_fn_error $? "no acceptable C compiler found in \$PATH
3347 See \`config.log' for more details" "$LINENO" 5; }
3348
3349 # Provide some information about the compiler.
3350 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3351 set X $ac_compile
3352 ac_compiler=$2
3353 for ac_option in --version -v -V -qversion; do
3354   { { ac_try="$ac_compiler $ac_option >&5"
3355 case "(($ac_try" in
3356   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3357   *) ac_try_echo=$ac_try;;
3358 esac
3359 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3360 $as_echo "$ac_try_echo"; } >&5
3361   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3362   ac_status=$?
3363   if test -s conftest.err; then
3364     sed '10a\
3365 ... rest of stderr output deleted ...
3366          10q' conftest.err >conftest.er1
3367     cat conftest.er1 >&5
3368   fi
3369   rm -f conftest.er1 conftest.err
3370   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3371   test $ac_status = 0; }
3372 done
3373
3374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3375 /* end confdefs.h.  */
3376
3377 int
3378 main ()
3379 {
3380
3381   ;
3382   return 0;
3383 }
3384 _ACEOF
3385 ac_clean_files_save=$ac_clean_files
3386 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3387 # Try to create an executable without -o first, disregard a.out.
3388 # It will help us diagnose broken compilers, and finding out an intuition
3389 # of exeext.
3390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3391 $as_echo_n "checking whether the C compiler works... " >&6; }
3392 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3393
3394 # The possible output files:
3395 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3396
3397 ac_rmfiles=
3398 for ac_file in $ac_files
3399 do
3400   case $ac_file in
3401     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3402     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3403   esac
3404 done
3405 rm -f $ac_rmfiles
3406
3407 if { { ac_try="$ac_link_default"
3408 case "(($ac_try" in
3409   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3410   *) ac_try_echo=$ac_try;;
3411 esac
3412 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3413 $as_echo "$ac_try_echo"; } >&5
3414   (eval "$ac_link_default") 2>&5
3415   ac_status=$?
3416   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3417   test $ac_status = 0; }; then :
3418   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3419 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3420 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3421 # so that the user can short-circuit this test for compilers unknown to
3422 # Autoconf.
3423 for ac_file in $ac_files ''
3424 do
3425   test -f "$ac_file" || continue
3426   case $ac_file in
3427     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3428         ;;
3429     [ab].out )
3430         # We found the default executable, but exeext='' is most
3431         # certainly right.
3432         break;;
3433     *.* )
3434         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3435         then :; else
3436            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3437         fi
3438         # We set ac_cv_exeext here because the later test for it is not
3439         # safe: cross compilers may not add the suffix if given an `-o'
3440         # argument, so we may need to know it at that point already.
3441         # Even if this section looks crufty: it has the advantage of
3442         # actually working.
3443         break;;
3444     * )
3445         break;;
3446   esac
3447 done
3448 test "$ac_cv_exeext" = no && ac_cv_exeext=
3449
3450 else
3451   ac_file=''
3452 fi
3453 if test -z "$ac_file"; then :
3454   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3455 $as_echo "no" >&6; }
3456 $as_echo "$as_me: failed program was:" >&5
3457 sed 's/^/| /' conftest.$ac_ext >&5
3458
3459 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3460 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3461 as_fn_error 77 "C compiler cannot create executables
3462 See \`config.log' for more details" "$LINENO" 5; }
3463 else
3464   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3465 $as_echo "yes" >&6; }
3466 fi
3467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3468 $as_echo_n "checking for C compiler default output file name... " >&6; }
3469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3470 $as_echo "$ac_file" >&6; }
3471 ac_exeext=$ac_cv_exeext
3472
3473 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3474 ac_clean_files=$ac_clean_files_save
3475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3476 $as_echo_n "checking for suffix of executables... " >&6; }
3477 if { { ac_try="$ac_link"
3478 case "(($ac_try" in
3479   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3480   *) ac_try_echo=$ac_try;;
3481 esac
3482 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3483 $as_echo "$ac_try_echo"; } >&5
3484   (eval "$ac_link") 2>&5
3485   ac_status=$?
3486   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3487   test $ac_status = 0; }; then :
3488   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3489 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3490 # work properly (i.e., refer to `conftest.exe'), while it won't with
3491 # `rm'.
3492 for ac_file in conftest.exe conftest conftest.*; do
3493   test -f "$ac_file" || continue
3494   case $ac_file in
3495     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3496     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3497           break;;
3498     * ) break;;
3499   esac
3500 done
3501 else
3502   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3503 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3504 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3505 See \`config.log' for more details" "$LINENO" 5; }
3506 fi
3507 rm -f conftest conftest$ac_cv_exeext
3508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3509 $as_echo "$ac_cv_exeext" >&6; }
3510
3511 rm -f conftest.$ac_ext
3512 EXEEXT=$ac_cv_exeext
3513 ac_exeext=$EXEEXT
3514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3515 /* end confdefs.h.  */
3516 #include <stdio.h>
3517 int
3518 main ()
3519 {
3520 FILE *f = fopen ("conftest.out", "w");
3521  return ferror (f) || fclose (f) != 0;
3522
3523   ;
3524   return 0;
3525 }
3526 _ACEOF
3527 ac_clean_files="$ac_clean_files conftest.out"
3528 # Check that the compiler produces executables we can run.  If not, either
3529 # the compiler is broken, or we cross compile.
3530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3531 $as_echo_n "checking whether we are cross compiling... " >&6; }
3532 if test "$cross_compiling" != yes; then
3533   { { ac_try="$ac_link"
3534 case "(($ac_try" in
3535   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3536   *) ac_try_echo=$ac_try;;
3537 esac
3538 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3539 $as_echo "$ac_try_echo"; } >&5
3540   (eval "$ac_link") 2>&5
3541   ac_status=$?
3542   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3543   test $ac_status = 0; }
3544   if { ac_try='./conftest$ac_cv_exeext'
3545   { { case "(($ac_try" in
3546   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3547   *) ac_try_echo=$ac_try;;
3548 esac
3549 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3550 $as_echo "$ac_try_echo"; } >&5
3551   (eval "$ac_try") 2>&5
3552   ac_status=$?
3553   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3554   test $ac_status = 0; }; }; then
3555     cross_compiling=no
3556   else
3557     if test "$cross_compiling" = maybe; then
3558         cross_compiling=yes
3559     else
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 $? "cannot run C compiled programs.
3563 If you meant to cross compile, use \`--host'.
3564 See \`config.log' for more details" "$LINENO" 5; }
3565     fi
3566   fi
3567 fi
3568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3569 $as_echo "$cross_compiling" >&6; }
3570
3571 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3572 ac_clean_files=$ac_clean_files_save
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3574 $as_echo_n "checking for suffix of object files... " >&6; }
3575 if ${ac_cv_objext+:} false; then :
3576   $as_echo_n "(cached) " >&6
3577 else
3578   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3579 /* end confdefs.h.  */
3580
3581 int
3582 main ()
3583 {
3584
3585   ;
3586   return 0;
3587 }
3588 _ACEOF
3589 rm -f conftest.o conftest.obj
3590 if { { ac_try="$ac_compile"
3591 case "(($ac_try" in
3592   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3593   *) ac_try_echo=$ac_try;;
3594 esac
3595 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3596 $as_echo "$ac_try_echo"; } >&5
3597   (eval "$ac_compile") 2>&5
3598   ac_status=$?
3599   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3600   test $ac_status = 0; }; then :
3601   for ac_file in conftest.o conftest.obj conftest.*; do
3602   test -f "$ac_file" || continue;
3603   case $ac_file in
3604     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3605     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3606        break;;
3607   esac
3608 done
3609 else
3610   $as_echo "$as_me: failed program was:" >&5
3611 sed 's/^/| /' conftest.$ac_ext >&5
3612
3613 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3614 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3615 as_fn_error $? "cannot compute suffix of object files: cannot compile
3616 See \`config.log' for more details" "$LINENO" 5; }
3617 fi
3618 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3619 fi
3620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3621 $as_echo "$ac_cv_objext" >&6; }
3622 OBJEXT=$ac_cv_objext
3623 ac_objext=$OBJEXT
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3625 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3626 if ${ac_cv_c_compiler_gnu+:} false; then :
3627   $as_echo_n "(cached) " >&6
3628 else
3629   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3630 /* end confdefs.h.  */
3631
3632 int
3633 main ()
3634 {
3635 #ifndef __GNUC__
3636        choke me
3637 #endif
3638
3639   ;
3640   return 0;
3641 }
3642 _ACEOF
3643 if ac_fn_c_try_compile "$LINENO"; then :
3644   ac_compiler_gnu=yes
3645 else
3646   ac_compiler_gnu=no
3647 fi
3648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3649 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3650
3651 fi
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3653 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3654 if test $ac_compiler_gnu = yes; then
3655   GCC=yes
3656 else
3657   GCC=
3658 fi
3659 ac_test_CFLAGS=${CFLAGS+set}
3660 ac_save_CFLAGS=$CFLAGS
3661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3662 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3663 if ${ac_cv_prog_cc_g+:} false; then :
3664   $as_echo_n "(cached) " >&6
3665 else
3666   ac_save_c_werror_flag=$ac_c_werror_flag
3667    ac_c_werror_flag=yes
3668    ac_cv_prog_cc_g=no
3669    CFLAGS="-g"
3670    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3671 /* end confdefs.h.  */
3672
3673 int
3674 main ()
3675 {
3676
3677   ;
3678   return 0;
3679 }
3680 _ACEOF
3681 if ac_fn_c_try_compile "$LINENO"; then :
3682   ac_cv_prog_cc_g=yes
3683 else
3684   CFLAGS=""
3685       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3686 /* end confdefs.h.  */
3687
3688 int
3689 main ()
3690 {
3691
3692   ;
3693   return 0;
3694 }
3695 _ACEOF
3696 if ac_fn_c_try_compile "$LINENO"; then :
3697
3698 else
3699   ac_c_werror_flag=$ac_save_c_werror_flag
3700          CFLAGS="-g"
3701          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3702 /* end confdefs.h.  */
3703
3704 int
3705 main ()
3706 {
3707
3708   ;
3709   return 0;
3710 }
3711 _ACEOF
3712 if ac_fn_c_try_compile "$LINENO"; then :
3713   ac_cv_prog_cc_g=yes
3714 fi
3715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3716 fi
3717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3718 fi
3719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3720    ac_c_werror_flag=$ac_save_c_werror_flag
3721 fi
3722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3723 $as_echo "$ac_cv_prog_cc_g" >&6; }
3724 if test "$ac_test_CFLAGS" = set; then
3725   CFLAGS=$ac_save_CFLAGS
3726 elif test $ac_cv_prog_cc_g = yes; then
3727   if test "$GCC" = yes; then
3728     CFLAGS="-g -O2"
3729   else
3730     CFLAGS="-g"
3731   fi
3732 else
3733   if test "$GCC" = yes; then
3734     CFLAGS="-O2"
3735   else
3736     CFLAGS=
3737   fi
3738 fi
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3740 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3741 if ${ac_cv_prog_cc_c89+:} false; then :
3742   $as_echo_n "(cached) " >&6
3743 else
3744   ac_cv_prog_cc_c89=no
3745 ac_save_CC=$CC
3746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3747 /* end confdefs.h.  */
3748 #include <stdarg.h>
3749 #include <stdio.h>
3750 struct stat;
3751 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3752 struct buf { int x; };
3753 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3754 static char *e (p, i)
3755      char **p;
3756      int i;
3757 {
3758   return p[i];
3759 }
3760 static char *f (char * (*g) (char **, int), char **p, ...)
3761 {
3762   char *s;
3763   va_list v;
3764   va_start (v,p);
3765   s = g (p, va_arg (v,int));
3766   va_end (v);
3767   return s;
3768 }
3769
3770 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3771    function prototypes and stuff, but not '\xHH' hex character constants.
3772    These don't provoke an error unfortunately, instead are silently treated
3773    as 'x'.  The following induces an error, until -std is added to get
3774    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3775    array size at least.  It's necessary to write '\x00'==0 to get something
3776    that's true only with -std.  */
3777 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3778
3779 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3780    inside strings and character constants.  */
3781 #define FOO(x) 'x'
3782 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3783
3784 int test (int i, double x);
3785 struct s1 {int (*f) (int a);};
3786 struct s2 {int (*f) (double a);};
3787 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3788 int argc;
3789 char **argv;
3790 int
3791 main ()
3792 {
3793 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3794   ;
3795   return 0;
3796 }
3797 _ACEOF
3798 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3799         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3800 do
3801   CC="$ac_save_CC $ac_arg"
3802   if ac_fn_c_try_compile "$LINENO"; then :
3803   ac_cv_prog_cc_c89=$ac_arg
3804 fi
3805 rm -f core conftest.err conftest.$ac_objext
3806   test "x$ac_cv_prog_cc_c89" != "xno" && break
3807 done
3808 rm -f conftest.$ac_ext
3809 CC=$ac_save_CC
3810
3811 fi
3812 # AC_CACHE_VAL
3813 case "x$ac_cv_prog_cc_c89" in
3814   x)
3815     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3816 $as_echo "none needed" >&6; } ;;
3817   xno)
3818     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3819 $as_echo "unsupported" >&6; } ;;
3820   *)
3821     CC="$CC $ac_cv_prog_cc_c89"
3822     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3823 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3824 esac
3825 if test "x$ac_cv_prog_cc_c89" != xno; then :
3826
3827 fi
3828
3829 ac_ext=c
3830 ac_cpp='$CPP $CPPFLAGS'
3831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3834 DEPDIR="${am__leading_dot}deps"
3835
3836 ac_config_commands="$ac_config_commands depfiles"
3837
3838
3839 am_make=${MAKE-make}
3840 cat > confinc << 'END'
3841 am__doit:
3842         @echo this is the am__doit target
3843 .PHONY: am__doit
3844 END
3845 # If we don't find an include directive, just comment out the code.
3846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3847 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3848 am__include="#"
3849 am__quote=
3850 _am_result=none
3851 # First try GNU make style include.
3852 echo "include confinc" > confmf
3853 # Ignore all kinds of additional output from `make'.
3854 case `$am_make -s -f confmf 2> /dev/null` in #(
3855 *the\ am__doit\ target*)
3856   am__include=include
3857   am__quote=
3858   _am_result=GNU
3859   ;;
3860 esac
3861 # Now try BSD make style include.
3862 if test "$am__include" = "#"; then
3863    echo '.include "confinc"' > confmf
3864    case `$am_make -s -f confmf 2> /dev/null` in #(
3865    *the\ am__doit\ target*)
3866      am__include=.include
3867      am__quote="\""
3868      _am_result=BSD
3869      ;;
3870    esac
3871 fi
3872
3873
3874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3875 $as_echo "$_am_result" >&6; }
3876 rm -f confinc confmf
3877
3878 # Check whether --enable-dependency-tracking was given.
3879 if test "${enable_dependency_tracking+set}" = set; then :
3880   enableval=$enable_dependency_tracking;
3881 fi
3882
3883 if test "x$enable_dependency_tracking" != xno; then
3884   am_depcomp="$ac_aux_dir/depcomp"
3885   AMDEPBACKSLASH='\'
3886   am__nodep='_no'
3887 fi
3888  if test "x$enable_dependency_tracking" != xno; then
3889   AMDEP_TRUE=
3890   AMDEP_FALSE='#'
3891 else
3892   AMDEP_TRUE='#'
3893   AMDEP_FALSE=
3894 fi
3895
3896
3897
3898 depcc="$CC"   am_compiler_list=
3899
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3901 $as_echo_n "checking dependency style of $depcc... " >&6; }
3902 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3903   $as_echo_n "(cached) " >&6
3904 else
3905   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3906   # We make a subdir and do the tests there.  Otherwise we can end up
3907   # making bogus files that we don't know about and never remove.  For
3908   # instance it was reported that on HP-UX the gcc test will end up
3909   # making a dummy file named `D' -- because `-MD' means `put the output
3910   # in D'.
3911   rm -rf conftest.dir
3912   mkdir conftest.dir
3913   # Copy depcomp to subdir because otherwise we won't find it if we're
3914   # using a relative directory.
3915   cp "$am_depcomp" conftest.dir
3916   cd conftest.dir
3917   # We will build objects and dependencies in a subdirectory because
3918   # it helps to detect inapplicable dependency modes.  For instance
3919   # both Tru64's cc and ICC support -MD to output dependencies as a
3920   # side effect of compilation, but ICC will put the dependencies in
3921   # the current directory while Tru64 will put them in the object
3922   # directory.
3923   mkdir sub
3924
3925   am_cv_CC_dependencies_compiler_type=none
3926   if test "$am_compiler_list" = ""; then
3927      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3928   fi
3929   am__universal=false
3930   case " $depcc " in #(
3931      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3932      esac
3933
3934   for depmode in $am_compiler_list; do
3935     # Setup a source with many dependencies, because some compilers
3936     # like to wrap large dependency lists on column 80 (with \), and
3937     # we should not choose a depcomp mode which is confused by this.
3938     #
3939     # We need to recreate these files for each test, as the compiler may
3940     # overwrite some of them when testing with obscure command lines.
3941     # This happens at least with the AIX C compiler.
3942     : > sub/conftest.c
3943     for i in 1 2 3 4 5 6; do
3944       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3945       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3946       # Solaris 8's {/usr,}/bin/sh.
3947       touch sub/conftst$i.h
3948     done
3949     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3950
3951     # We check with `-c' and `-o' for the sake of the "dashmstdout"
3952     # mode.  It turns out that the SunPro C++ compiler does not properly
3953     # handle `-M -o', and we need to detect this.  Also, some Intel
3954     # versions had trouble with output in subdirs
3955     am__obj=sub/conftest.${OBJEXT-o}
3956     am__minus_obj="-o $am__obj"
3957     case $depmode in
3958     gcc)
3959       # This depmode causes a compiler race in universal mode.
3960       test "$am__universal" = false || continue
3961       ;;
3962     nosideeffect)
3963       # after this tag, mechanisms are not by side-effect, so they'll
3964       # only be used when explicitly requested
3965       if test "x$enable_dependency_tracking" = xyes; then
3966         continue
3967       else
3968         break
3969       fi
3970       ;;
3971     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3972       # This compiler won't grok `-c -o', but also, the minuso test has
3973       # not run yet.  These depmodes are late enough in the game, and
3974       # so weak that their functioning should not be impacted.
3975       am__obj=conftest.${OBJEXT-o}
3976       am__minus_obj=
3977       ;;
3978     none) break ;;
3979     esac
3980     if depmode=$depmode \
3981        source=sub/conftest.c object=$am__obj \
3982        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3983        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3984          >/dev/null 2>conftest.err &&
3985        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3986        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3987        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3988        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3989       # icc doesn't choke on unknown options, it will just issue warnings
3990       # or remarks (even with -Werror).  So we grep stderr for any message
3991       # that says an option was ignored or not supported.
3992       # When given -MP, icc 7.0 and 7.1 complain thusly:
3993       #   icc: Command line warning: ignoring option '-M'; no argument required
3994       # The diagnosis changed in icc 8.0:
3995       #   icc: Command line remark: option '-MP' not supported
3996       if (grep 'ignoring option' conftest.err ||
3997           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3998         am_cv_CC_dependencies_compiler_type=$depmode
3999         break
4000       fi
4001     fi
4002   done
4003
4004   cd ..
4005   rm -rf conftest.dir
4006 else
4007   am_cv_CC_dependencies_compiler_type=none
4008 fi
4009
4010 fi
4011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4012 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4013 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4014
4015  if
4016   test "x$enable_dependency_tracking" != xno \
4017   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4018   am__fastdepCC_TRUE=
4019   am__fastdepCC_FALSE='#'
4020 else
4021   am__fastdepCC_TRUE='#'
4022   am__fastdepCC_FALSE=
4023 fi
4024
4025
4026 if test "x$CC" != xcc; then
4027   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
4028 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
4029 else
4030   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
4031 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
4032 fi
4033 set dummy $CC; ac_cc=`$as_echo "$2" |
4034                       sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4035 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
4036   $as_echo_n "(cached) " >&6
4037 else
4038   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4039 /* end confdefs.h.  */
4040
4041 int
4042 main ()
4043 {
4044
4045   ;
4046   return 0;
4047 }
4048 _ACEOF
4049 # Make sure it works both with $CC and with simple cc.
4050 # We do the test twice because some compilers refuse to overwrite an
4051 # existing .o file with -o, though they will create one.
4052 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4053 rm -f conftest2.*
4054 if { { case "(($ac_try" in
4055   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4056   *) ac_try_echo=$ac_try;;
4057 esac
4058 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4059 $as_echo "$ac_try_echo"; } >&5
4060   (eval "$ac_try") 2>&5
4061   ac_status=$?
4062   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4063   test $ac_status = 0; } &&
4064    test -f conftest2.$ac_objext && { { case "(($ac_try" in
4065   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4066   *) ac_try_echo=$ac_try;;
4067 esac
4068 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4069 $as_echo "$ac_try_echo"; } >&5
4070   (eval "$ac_try") 2>&5
4071   ac_status=$?
4072   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4073   test $ac_status = 0; };
4074 then
4075   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
4076   if test "x$CC" != xcc; then
4077     # Test first that cc exists at all.
4078     if { ac_try='cc -c conftest.$ac_ext >&5'
4079   { { case "(($ac_try" in
4080   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4081   *) ac_try_echo=$ac_try;;
4082 esac
4083 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4084 $as_echo "$ac_try_echo"; } >&5
4085   (eval "$ac_try") 2>&5
4086   ac_status=$?
4087   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4088   test $ac_status = 0; }; }; then
4089       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4090       rm -f conftest2.*
4091       if { { case "(($ac_try" in
4092   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4093   *) ac_try_echo=$ac_try;;
4094 esac
4095 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4096 $as_echo "$ac_try_echo"; } >&5
4097   (eval "$ac_try") 2>&5
4098   ac_status=$?
4099   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4100   test $ac_status = 0; } &&
4101          test -f conftest2.$ac_objext && { { case "(($ac_try" in
4102   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4103   *) ac_try_echo=$ac_try;;
4104 esac
4105 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4106 $as_echo "$ac_try_echo"; } >&5
4107   (eval "$ac_try") 2>&5
4108   ac_status=$?
4109   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4110   test $ac_status = 0; };
4111       then
4112         # cc works too.
4113         :
4114       else
4115         # cc exists but doesn't like -o.
4116         eval ac_cv_prog_cc_${ac_cc}_c_o=no
4117       fi
4118     fi
4119   fi
4120 else
4121   eval ac_cv_prog_cc_${ac_cc}_c_o=no
4122 fi
4123 rm -f core conftest*
4124
4125 fi
4126 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4127   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4128 $as_echo "yes" >&6; }
4129 else
4130   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4131 $as_echo "no" >&6; }
4132
4133 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4134
4135 fi
4136
4137 # FIXME: we rely on the cache variable name because
4138 # there is no other way.
4139 set dummy $CC
4140 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4141 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
4142 if test "$am_t" != yes; then
4143    # Losing compiler, so override with the script.
4144    # FIXME: It is wrong to rewrite CC.
4145    # But if we don't then we get into trouble of one sort or another.
4146    # A longer-term fix would be to have automake use am__CC in this case,
4147    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4148    CC="$am_aux_dir/compile $CC"
4149 fi
4150
4151
4152
4153
4154 # Initialize libtool
4155 # Disable generation of static libraries
4156
4157 case `pwd` in
4158   *\ * | *\     *)
4159     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4160 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4161 esac
4162
4163
4164
4165 macro_version='2.4.2'
4166 macro_revision='1.3337'
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180 ltmain="$ac_aux_dir/ltmain.sh"
4181
4182 # Make sure we can run config.sub.
4183 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4184   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4185
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4187 $as_echo_n "checking build system type... " >&6; }
4188 if ${ac_cv_build+:} false; then :
4189   $as_echo_n "(cached) " >&6
4190 else
4191   ac_build_alias=$build_alias
4192 test "x$ac_build_alias" = x &&
4193   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4194 test "x$ac_build_alias" = x &&
4195   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4196 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4197   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4198
4199 fi
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4201 $as_echo "$ac_cv_build" >&6; }
4202 case $ac_cv_build in
4203 *-*-*) ;;
4204 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4205 esac
4206 build=$ac_cv_build
4207 ac_save_IFS=$IFS; IFS='-'
4208 set x $ac_cv_build
4209 shift
4210 build_cpu=$1
4211 build_vendor=$2
4212 shift; shift
4213 # Remember, the first character of IFS is used to create $*,
4214 # except with old shells:
4215 build_os=$*
4216 IFS=$ac_save_IFS
4217 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4218
4219
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4221 $as_echo_n "checking host system type... " >&6; }
4222 if ${ac_cv_host+:} false; then :
4223   $as_echo_n "(cached) " >&6
4224 else
4225   if test "x$host_alias" = x; then
4226   ac_cv_host=$ac_cv_build
4227 else
4228   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4229     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4230 fi
4231
4232 fi
4233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4234 $as_echo "$ac_cv_host" >&6; }
4235 case $ac_cv_host in
4236 *-*-*) ;;
4237 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4238 esac
4239 host=$ac_cv_host
4240 ac_save_IFS=$IFS; IFS='-'
4241 set x $ac_cv_host
4242 shift
4243 host_cpu=$1
4244 host_vendor=$2
4245 shift; shift
4246 # Remember, the first character of IFS is used to create $*,
4247 # except with old shells:
4248 host_os=$*
4249 IFS=$ac_save_IFS
4250 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4251
4252
4253 # Backslashify metacharacters that are still active within
4254 # double-quoted strings.
4255 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4256
4257 # Same as above, but do not quote variable references.
4258 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4259
4260 # Sed substitution to delay expansion of an escaped shell variable in a
4261 # double_quote_subst'ed string.
4262 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4263
4264 # Sed substitution to delay expansion of an escaped single quote.
4265 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4266
4267 # Sed substitution to avoid accidental globbing in evaled expressions
4268 no_glob_subst='s/\*/\\\*/g'
4269
4270 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4271 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4272 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4273
4274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4275 $as_echo_n "checking how to print strings... " >&6; }
4276 # Test print first, because it will be a builtin if present.
4277 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4278    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4279   ECHO='print -r --'
4280 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4281   ECHO='printf %s\n'
4282 else
4283   # Use this function as a fallback that always works.
4284   func_fallback_echo ()
4285   {
4286     eval 'cat <<_LTECHO_EOF
4287 $1
4288 _LTECHO_EOF'
4289   }
4290   ECHO='func_fallback_echo'
4291 fi
4292
4293 # func_echo_all arg...
4294 # Invoke $ECHO with all args, space-separated.
4295 func_echo_all ()
4296 {
4297     $ECHO ""
4298 }
4299
4300 case "$ECHO" in
4301   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4302 $as_echo "printf" >&6; } ;;
4303   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4304 $as_echo "print -r" >&6; } ;;
4305   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4306 $as_echo "cat" >&6; } ;;
4307 esac
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4323 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4324 if ${ac_cv_path_SED+:} false; then :
4325   $as_echo_n "(cached) " >&6
4326 else
4327             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4328      for ac_i in 1 2 3 4 5 6 7; do
4329        ac_script="$ac_script$as_nl$ac_script"
4330      done
4331      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4332      { ac_script=; unset ac_script;}
4333      if test -z "$SED"; then
4334   ac_path_SED_found=false
4335   # Loop through the user's path and test for each of PROGNAME-LIST
4336   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4337 for as_dir in $PATH
4338 do
4339   IFS=$as_save_IFS
4340   test -z "$as_dir" && as_dir=.
4341     for ac_prog in sed gsed; do
4342     for ac_exec_ext in '' $ac_executable_extensions; do
4343       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4344       as_fn_executable_p "$ac_path_SED" || continue
4345 # Check for GNU ac_path_SED and select it if it is found.
4346   # Check for GNU $ac_path_SED
4347 case `"$ac_path_SED" --version 2>&1` in
4348 *GNU*)
4349   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4350 *)
4351   ac_count=0
4352   $as_echo_n 0123456789 >"conftest.in"
4353   while :
4354   do
4355     cat "conftest.in" "conftest.in" >"conftest.tmp"
4356     mv "conftest.tmp" "conftest.in"
4357     cp "conftest.in" "conftest.nl"
4358     $as_echo '' >> "conftest.nl"
4359     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4360     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4361     as_fn_arith $ac_count + 1 && ac_count=$as_val
4362     if test $ac_count -gt ${ac_path_SED_max-0}; then
4363       # Best one so far, save it but keep looking for a better one
4364       ac_cv_path_SED="$ac_path_SED"
4365       ac_path_SED_max=$ac_count
4366     fi
4367     # 10*(2^10) chars as input seems more than enough
4368     test $ac_count -gt 10 && break
4369   done
4370   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4371 esac
4372
4373       $ac_path_SED_found && break 3
4374     done
4375   done
4376   done
4377 IFS=$as_save_IFS
4378   if test -z "$ac_cv_path_SED"; then
4379     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4380   fi
4381 else
4382   ac_cv_path_SED=$SED
4383 fi
4384
4385 fi
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4387 $as_echo "$ac_cv_path_SED" >&6; }
4388  SED="$ac_cv_path_SED"
4389   rm -f conftest.sed
4390
4391 test -z "$SED" && SED=sed
4392 Xsed="$SED -e 1s/^X//"
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4405 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4406 if ${ac_cv_path_GREP+:} false; then :
4407   $as_echo_n "(cached) " >&6
4408 else
4409   if test -z "$GREP"; then
4410   ac_path_GREP_found=false
4411   # Loop through the user's path and test for each of PROGNAME-LIST
4412   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4413 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4414 do
4415   IFS=$as_save_IFS
4416   test -z "$as_dir" && as_dir=.
4417     for ac_prog in grep ggrep; do
4418     for ac_exec_ext in '' $ac_executable_extensions; do
4419       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4420       as_fn_executable_p "$ac_path_GREP" || continue
4421 # Check for GNU ac_path_GREP and select it if it is found.
4422   # Check for GNU $ac_path_GREP
4423 case `"$ac_path_GREP" --version 2>&1` in
4424 *GNU*)
4425   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4426 *)
4427   ac_count=0
4428   $as_echo_n 0123456789 >"conftest.in"
4429   while :
4430   do
4431     cat "conftest.in" "conftest.in" >"conftest.tmp"
4432     mv "conftest.tmp" "conftest.in"
4433     cp "conftest.in" "conftest.nl"
4434     $as_echo 'GREP' >> "conftest.nl"
4435     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4436     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4437     as_fn_arith $ac_count + 1 && ac_count=$as_val
4438     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4439       # Best one so far, save it but keep looking for a better one
4440       ac_cv_path_GREP="$ac_path_GREP"
4441       ac_path_GREP_max=$ac_count
4442     fi
4443     # 10*(2^10) chars as input seems more than enough
4444     test $ac_count -gt 10 && break
4445   done
4446   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4447 esac
4448
4449       $ac_path_GREP_found && break 3
4450     done
4451   done
4452   done
4453 IFS=$as_save_IFS
4454   if test -z "$ac_cv_path_GREP"; then
4455     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4456   fi
4457 else
4458   ac_cv_path_GREP=$GREP
4459 fi
4460
4461 fi
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4463 $as_echo "$ac_cv_path_GREP" >&6; }
4464  GREP="$ac_cv_path_GREP"
4465
4466
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4468 $as_echo_n "checking for egrep... " >&6; }
4469 if ${ac_cv_path_EGREP+:} false; then :
4470   $as_echo_n "(cached) " >&6
4471 else
4472   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4473    then ac_cv_path_EGREP="$GREP -E"
4474    else
4475      if test -z "$EGREP"; then
4476   ac_path_EGREP_found=false
4477   # Loop through the user's path and test for each of PROGNAME-LIST
4478   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4479 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4480 do
4481   IFS=$as_save_IFS
4482   test -z "$as_dir" && as_dir=.
4483     for ac_prog in egrep; do
4484     for ac_exec_ext in '' $ac_executable_extensions; do
4485       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4486       as_fn_executable_p "$ac_path_EGREP" || continue
4487 # Check for GNU ac_path_EGREP and select it if it is found.
4488   # Check for GNU $ac_path_EGREP
4489 case `"$ac_path_EGREP" --version 2>&1` in
4490 *GNU*)
4491   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4492 *)
4493   ac_count=0
4494   $as_echo_n 0123456789 >"conftest.in"
4495   while :
4496   do
4497     cat "conftest.in" "conftest.in" >"conftest.tmp"
4498     mv "conftest.tmp" "conftest.in"
4499     cp "conftest.in" "conftest.nl"
4500     $as_echo 'EGREP' >> "conftest.nl"
4501     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4502     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4503     as_fn_arith $ac_count + 1 && ac_count=$as_val
4504     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4505       # Best one so far, save it but keep looking for a better one
4506       ac_cv_path_EGREP="$ac_path_EGREP"
4507       ac_path_EGREP_max=$ac_count
4508     fi
4509     # 10*(2^10) chars as input seems more than enough
4510     test $ac_count -gt 10 && break
4511   done
4512   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4513 esac
4514
4515       $ac_path_EGREP_found && break 3
4516     done
4517   done
4518   done
4519 IFS=$as_save_IFS
4520   if test -z "$ac_cv_path_EGREP"; then
4521     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4522   fi
4523 else
4524   ac_cv_path_EGREP=$EGREP
4525 fi
4526
4527    fi
4528 fi
4529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4530 $as_echo "$ac_cv_path_EGREP" >&6; }
4531  EGREP="$ac_cv_path_EGREP"
4532
4533
4534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4535 $as_echo_n "checking for fgrep... " >&6; }
4536 if ${ac_cv_path_FGREP+:} false; then :
4537   $as_echo_n "(cached) " >&6
4538 else
4539   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4540    then ac_cv_path_FGREP="$GREP -F"
4541    else
4542      if test -z "$FGREP"; then
4543   ac_path_FGREP_found=false
4544   # Loop through the user's path and test for each of PROGNAME-LIST
4545   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4546 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4547 do
4548   IFS=$as_save_IFS
4549   test -z "$as_dir" && as_dir=.
4550     for ac_prog in fgrep; do
4551     for ac_exec_ext in '' $ac_executable_extensions; do
4552       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4553       as_fn_executable_p "$ac_path_FGREP" || continue
4554 # Check for GNU ac_path_FGREP and select it if it is found.
4555   # Check for GNU $ac_path_FGREP
4556 case `"$ac_path_FGREP" --version 2>&1` in
4557 *GNU*)
4558   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4559 *)
4560   ac_count=0
4561   $as_echo_n 0123456789 >"conftest.in"
4562   while :
4563   do
4564     cat "conftest.in" "conftest.in" >"conftest.tmp"
4565     mv "conftest.tmp" "conftest.in"
4566     cp "conftest.in" "conftest.nl"
4567     $as_echo 'FGREP' >> "conftest.nl"
4568     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4569     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4570     as_fn_arith $ac_count + 1 && ac_count=$as_val
4571     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4572       # Best one so far, save it but keep looking for a better one
4573       ac_cv_path_FGREP="$ac_path_FGREP"
4574       ac_path_FGREP_max=$ac_count
4575     fi
4576     # 10*(2^10) chars as input seems more than enough
4577     test $ac_count -gt 10 && break
4578   done
4579   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4580 esac
4581
4582       $ac_path_FGREP_found && break 3
4583     done
4584   done
4585   done
4586 IFS=$as_save_IFS
4587   if test -z "$ac_cv_path_FGREP"; then
4588     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4589   fi
4590 else
4591   ac_cv_path_FGREP=$FGREP
4592 fi
4593
4594    fi
4595 fi
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4597 $as_echo "$ac_cv_path_FGREP" >&6; }
4598  FGREP="$ac_cv_path_FGREP"
4599
4600
4601 test -z "$GREP" && GREP=grep
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621 # Check whether --with-gnu-ld was given.
4622 if test "${with_gnu_ld+set}" = set; then :
4623   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4624 else
4625   with_gnu_ld=no
4626 fi
4627
4628 ac_prog=ld
4629 if test "$GCC" = yes; then
4630   # Check if gcc -print-prog-name=ld gives a path.
4631   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4632 $as_echo_n "checking for ld used by $CC... " >&6; }
4633   case $host in
4634   *-*-mingw*)
4635     # gcc leaves a trailing carriage return which upsets mingw
4636     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4637   *)
4638     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4639   esac
4640   case $ac_prog in
4641     # Accept absolute paths.
4642     [\\/]* | ?:[\\/]*)
4643       re_direlt='/[^/][^/]*/\.\./'
4644       # Canonicalize the pathname of ld
4645       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4646       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4647         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4648       done
4649       test -z "$LD" && LD="$ac_prog"
4650       ;;
4651   "")
4652     # If it fails, then pretend we aren't using GCC.
4653     ac_prog=ld
4654     ;;
4655   *)
4656     # If it is relative, then search for the first ld in PATH.
4657     with_gnu_ld=unknown
4658     ;;
4659   esac
4660 elif test "$with_gnu_ld" = yes; then
4661   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4662 $as_echo_n "checking for GNU ld... " >&6; }
4663 else
4664   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4665 $as_echo_n "checking for non-GNU ld... " >&6; }
4666 fi
4667 if ${lt_cv_path_LD+:} false; then :
4668   $as_echo_n "(cached) " >&6
4669 else
4670   if test -z "$LD"; then
4671   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4672   for ac_dir in $PATH; do
4673     IFS="$lt_save_ifs"
4674     test -z "$ac_dir" && ac_dir=.
4675     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4676       lt_cv_path_LD="$ac_dir/$ac_prog"
4677       # Check to see if the program is GNU ld.  I'd rather use --version,
4678       # but apparently some variants of GNU ld only accept -v.
4679       # Break only if it was the GNU/non-GNU ld that we prefer.
4680       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4681       *GNU* | *'with BFD'*)
4682         test "$with_gnu_ld" != no && break
4683         ;;
4684       *)
4685         test "$with_gnu_ld" != yes && break
4686         ;;
4687       esac
4688     fi
4689   done
4690   IFS="$lt_save_ifs"
4691 else
4692   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4693 fi
4694 fi
4695
4696 LD="$lt_cv_path_LD"
4697 if test -n "$LD"; then
4698   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4699 $as_echo "$LD" >&6; }
4700 else
4701   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4702 $as_echo "no" >&6; }
4703 fi
4704 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4706 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4707 if ${lt_cv_prog_gnu_ld+:} false; then :
4708   $as_echo_n "(cached) " >&6
4709 else
4710   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4711 case `$LD -v 2>&1 </dev/null` in
4712 *GNU* | *'with BFD'*)
4713   lt_cv_prog_gnu_ld=yes
4714   ;;
4715 *)
4716   lt_cv_prog_gnu_ld=no
4717   ;;
4718 esac
4719 fi
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4721 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4722 with_gnu_ld=$lt_cv_prog_gnu_ld
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4733 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4734 if ${lt_cv_path_NM+:} false; then :
4735   $as_echo_n "(cached) " >&6
4736 else
4737   if test -n "$NM"; then
4738   # Let the user override the test.
4739   lt_cv_path_NM="$NM"
4740 else
4741   lt_nm_to_check="${ac_tool_prefix}nm"
4742   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4743     lt_nm_to_check="$lt_nm_to_check nm"
4744   fi
4745   for lt_tmp_nm in $lt_nm_to_check; do
4746     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4747     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4748       IFS="$lt_save_ifs"
4749       test -z "$ac_dir" && ac_dir=.
4750       tmp_nm="$ac_dir/$lt_tmp_nm"
4751       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4752         # Check to see if the nm accepts a BSD-compat flag.
4753         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4754         #   nm: unknown option "B" ignored
4755         # Tru64's nm complains that /dev/null is an invalid object file
4756         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4757         */dev/null* | *'Invalid file or object type'*)
4758           lt_cv_path_NM="$tmp_nm -B"
4759           break
4760           ;;
4761         *)
4762           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4763           */dev/null*)
4764             lt_cv_path_NM="$tmp_nm -p"
4765             break
4766             ;;
4767           *)
4768             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4769             continue # so that we can try to find one that supports BSD flags
4770             ;;
4771           esac
4772           ;;
4773         esac
4774       fi
4775     done
4776     IFS="$lt_save_ifs"
4777   done
4778   : ${lt_cv_path_NM=no}
4779 fi
4780 fi
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4782 $as_echo "$lt_cv_path_NM" >&6; }
4783 if test "$lt_cv_path_NM" != "no"; then
4784   NM="$lt_cv_path_NM"
4785 else
4786   # Didn't find any BSD compatible name lister, look for dumpbin.
4787   if test -n "$DUMPBIN"; then :
4788     # Let the user override the test.
4789   else
4790     if test -n "$ac_tool_prefix"; then
4791   for ac_prog in dumpbin "link -dump"
4792   do
4793     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4794 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4796 $as_echo_n "checking for $ac_word... " >&6; }
4797 if ${ac_cv_prog_DUMPBIN+:} false; then :
4798   $as_echo_n "(cached) " >&6
4799 else
4800   if test -n "$DUMPBIN"; then
4801   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4802 else
4803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4804 for as_dir in $PATH
4805 do
4806   IFS=$as_save_IFS
4807   test -z "$as_dir" && as_dir=.
4808     for ac_exec_ext in '' $ac_executable_extensions; do
4809   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4810     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4811     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4812     break 2
4813   fi
4814 done
4815   done
4816 IFS=$as_save_IFS
4817
4818 fi
4819 fi
4820 DUMPBIN=$ac_cv_prog_DUMPBIN
4821 if test -n "$DUMPBIN"; then
4822   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4823 $as_echo "$DUMPBIN" >&6; }
4824 else
4825   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4826 $as_echo "no" >&6; }
4827 fi
4828
4829
4830     test -n "$DUMPBIN" && break
4831   done
4832 fi
4833 if test -z "$DUMPBIN"; then
4834   ac_ct_DUMPBIN=$DUMPBIN
4835   for ac_prog in dumpbin "link -dump"
4836 do
4837   # Extract the first word of "$ac_prog", so it can be a program name with args.
4838 set dummy $ac_prog; ac_word=$2
4839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4840 $as_echo_n "checking for $ac_word... " >&6; }
4841 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4842   $as_echo_n "(cached) " >&6
4843 else
4844   if test -n "$ac_ct_DUMPBIN"; then
4845   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4846 else
4847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4848 for as_dir in $PATH
4849 do
4850   IFS=$as_save_IFS
4851   test -z "$as_dir" && as_dir=.
4852     for ac_exec_ext in '' $ac_executable_extensions; do
4853   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4854     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4855     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4856     break 2
4857   fi
4858 done
4859   done
4860 IFS=$as_save_IFS
4861
4862 fi
4863 fi
4864 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4865 if test -n "$ac_ct_DUMPBIN"; then
4866   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4867 $as_echo "$ac_ct_DUMPBIN" >&6; }
4868 else
4869   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4870 $as_echo "no" >&6; }
4871 fi
4872
4873
4874   test -n "$ac_ct_DUMPBIN" && break
4875 done
4876
4877   if test "x$ac_ct_DUMPBIN" = x; then
4878     DUMPBIN=":"
4879   else
4880     case $cross_compiling:$ac_tool_warned in
4881 yes:)
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4883 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4884 ac_tool_warned=yes ;;
4885 esac
4886     DUMPBIN=$ac_ct_DUMPBIN
4887   fi
4888 fi
4889
4890     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4891     *COFF*)
4892       DUMPBIN="$DUMPBIN -symbols"
4893       ;;
4894     *)
4895       DUMPBIN=:
4896       ;;
4897     esac
4898   fi
4899
4900   if test "$DUMPBIN" != ":"; then
4901     NM="$DUMPBIN"
4902   fi
4903 fi
4904 test -z "$NM" && NM=nm
4905
4906
4907
4908
4909
4910
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4912 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4913 if ${lt_cv_nm_interface+:} false; then :
4914   $as_echo_n "(cached) " >&6
4915 else
4916   lt_cv_nm_interface="BSD nm"
4917   echo "int some_variable = 0;" > conftest.$ac_ext
4918   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4919   (eval "$ac_compile" 2>conftest.err)
4920   cat conftest.err >&5
4921   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4922   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4923   cat conftest.err >&5
4924   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4925   cat conftest.out >&5
4926   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4927     lt_cv_nm_interface="MS dumpbin"
4928   fi
4929   rm -f conftest*
4930 fi
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4932 $as_echo "$lt_cv_nm_interface" >&6; }
4933
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4935 $as_echo_n "checking whether ln -s works... " >&6; }
4936 LN_S=$as_ln_s
4937 if test "$LN_S" = "ln -s"; then
4938   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4939 $as_echo "yes" >&6; }
4940 else
4941   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4942 $as_echo "no, using $LN_S" >&6; }
4943 fi
4944
4945 # find the maximum length of command line arguments
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4947 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4948 if ${lt_cv_sys_max_cmd_len+:} false; then :
4949   $as_echo_n "(cached) " >&6
4950 else
4951     i=0
4952   teststring="ABCD"
4953
4954   case $build_os in
4955   msdosdjgpp*)
4956     # On DJGPP, this test can blow up pretty badly due to problems in libc
4957     # (any single argument exceeding 2000 bytes causes a buffer overrun
4958     # during glob expansion).  Even if it were fixed, the result of this
4959     # check would be larger than it should be.
4960     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4961     ;;
4962
4963   gnu*)
4964     # Under GNU Hurd, this test is not required because there is
4965     # no limit to the length of command line arguments.
4966     # Libtool will interpret -1 as no limit whatsoever
4967     lt_cv_sys_max_cmd_len=-1;
4968     ;;
4969
4970   cygwin* | mingw* | cegcc*)
4971     # On Win9x/ME, this test blows up -- it succeeds, but takes
4972     # about 5 minutes as the teststring grows exponentially.
4973     # Worse, since 9x/ME are not pre-emptively multitasking,
4974     # you end up with a "frozen" computer, even though with patience
4975     # the test eventually succeeds (with a max line length of 256k).
4976     # Instead, let's just punt: use the minimum linelength reported by
4977     # all of the supported platforms: 8192 (on NT/2K/XP).
4978     lt_cv_sys_max_cmd_len=8192;
4979     ;;
4980
4981   mint*)
4982     # On MiNT this can take a long time and run out of memory.
4983     lt_cv_sys_max_cmd_len=8192;
4984     ;;
4985
4986   amigaos*)
4987     # On AmigaOS with pdksh, this test takes hours, literally.
4988     # So we just punt and use a minimum line length of 8192.
4989     lt_cv_sys_max_cmd_len=8192;
4990     ;;
4991
4992   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4993     # This has been around since 386BSD, at least.  Likely further.
4994     if test -x /sbin/sysctl; then
4995       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4996     elif test -x /usr/sbin/sysctl; then
4997       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4998     else
4999       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5000     fi
5001     # And add a safety zone
5002     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5003     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5004     ;;
5005
5006   interix*)
5007     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5008     lt_cv_sys_max_cmd_len=196608
5009     ;;
5010
5011   os2*)
5012     # The test takes a long time on OS/2.
5013     lt_cv_sys_max_cmd_len=8192
5014     ;;
5015
5016   osf*)
5017     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5018     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5019     # nice to cause kernel panics so lets avoid the loop below.
5020     # First set a reasonable default.
5021     lt_cv_sys_max_cmd_len=16384
5022     #
5023     if test -x /sbin/sysconfig; then
5024       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5025         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5026       esac
5027     fi
5028     ;;
5029   sco3.2v5*)
5030     lt_cv_sys_max_cmd_len=102400
5031     ;;
5032   sysv5* | sco5v6* | sysv4.2uw2*)
5033     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5034     if test -n "$kargmax"; then
5035       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5036     else
5037       lt_cv_sys_max_cmd_len=32768
5038     fi
5039     ;;
5040   *)
5041     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5042     if test -n "$lt_cv_sys_max_cmd_len"; then
5043       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5044       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5045     else
5046       # Make teststring a little bigger before we do anything with it.
5047       # a 1K string should be a reasonable start.
5048       for i in 1 2 3 4 5 6 7 8 ; do
5049         teststring=$teststring$teststring
5050       done
5051       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5052       # If test is not a shell built-in, we'll probably end up computing a
5053       # maximum length that is only half of the actual maximum length, but
5054       # we can't tell.
5055       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5056                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5057               test $i != 17 # 1/2 MB should be enough
5058       do
5059         i=`expr $i + 1`
5060         teststring=$teststring$teststring
5061       done
5062       # Only check the string length outside the loop.
5063       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5064       teststring=
5065       # Add a significant safety factor because C++ compilers can tack on
5066       # massive amounts of additional arguments before passing them to the
5067       # linker.  It appears as though 1/2 is a usable value.
5068       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5069     fi
5070     ;;
5071   esac
5072
5073 fi
5074
5075 if test -n $lt_cv_sys_max_cmd_len ; then
5076   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5077 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5078 else
5079   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5080 $as_echo "none" >&6; }
5081 fi
5082 max_cmd_len=$lt_cv_sys_max_cmd_len
5083
5084
5085
5086
5087
5088
5089 : ${CP="cp -f"}
5090 : ${MV="mv -f"}
5091 : ${RM="rm -f"}
5092
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5094 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5095 # Try some XSI features
5096 xsi_shell=no
5097 ( _lt_dummy="a/b/c"
5098   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5099       = c,a/b,b/c, \
5100     && eval 'test $(( 1 + 1 )) -eq 2 \
5101     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5102   && xsi_shell=yes
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5104 $as_echo "$xsi_shell" >&6; }
5105
5106
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5108 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5109 lt_shell_append=no
5110 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5111     >/dev/null 2>&1 \
5112   && lt_shell_append=yes
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5114 $as_echo "$lt_shell_append" >&6; }
5115
5116
5117 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5118   lt_unset=unset
5119 else
5120   lt_unset=false
5121 fi
5122
5123
5124
5125
5126
5127 # test EBCDIC or ASCII
5128 case `echo X|tr X '\101'` in
5129  A) # ASCII based system
5130     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5131   lt_SP2NL='tr \040 \012'
5132   lt_NL2SP='tr \015\012 \040\040'
5133   ;;
5134  *) # EBCDIC based system
5135   lt_SP2NL='tr \100 \n'
5136   lt_NL2SP='tr \r\n \100\100'
5137   ;;
5138 esac
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5149 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5150 if ${lt_cv_to_host_file_cmd+:} false; then :
5151   $as_echo_n "(cached) " >&6
5152 else
5153   case $host in
5154   *-*-mingw* )
5155     case $build in
5156       *-*-mingw* ) # actually msys
5157         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5158         ;;
5159       *-*-cygwin* )
5160         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5161         ;;
5162       * ) # otherwise, assume *nix
5163         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5164         ;;
5165     esac
5166     ;;
5167   *-*-cygwin* )
5168     case $build in
5169       *-*-mingw* ) # actually msys
5170         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5171         ;;
5172       *-*-cygwin* )
5173         lt_cv_to_host_file_cmd=func_convert_file_noop
5174         ;;
5175       * ) # otherwise, assume *nix
5176         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5177         ;;
5178     esac
5179     ;;
5180   * ) # unhandled hosts (and "normal" native builds)
5181     lt_cv_to_host_file_cmd=func_convert_file_noop
5182     ;;
5183 esac
5184
5185 fi
5186
5187 to_host_file_cmd=$lt_cv_to_host_file_cmd
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5189 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5190
5191
5192
5193
5194
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5196 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5197 if ${lt_cv_to_tool_file_cmd+:} false; then :
5198   $as_echo_n "(cached) " >&6
5199 else
5200   #assume ordinary cross tools, or native build.
5201 lt_cv_to_tool_file_cmd=func_convert_file_noop
5202 case $host in
5203   *-*-mingw* )
5204     case $build in
5205       *-*-mingw* ) # actually msys
5206         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5207         ;;
5208     esac
5209     ;;
5210 esac
5211
5212 fi
5213
5214 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5216 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5217
5218
5219
5220
5221
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5223 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5224 if ${lt_cv_ld_reload_flag+:} false; then :
5225   $as_echo_n "(cached) " >&6
5226 else
5227   lt_cv_ld_reload_flag='-r'
5228 fi
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5230 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5231 reload_flag=$lt_cv_ld_reload_flag
5232 case $reload_flag in
5233 "" | " "*) ;;
5234 *) reload_flag=" $reload_flag" ;;
5235 esac
5236 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5237 case $host_os in
5238   cygwin* | mingw* | pw32* | cegcc*)
5239     if test "$GCC" != yes; then
5240       reload_cmds=false
5241     fi
5242     ;;
5243   darwin*)
5244     if test "$GCC" = yes; then
5245       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5246     else
5247       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5248     fi
5249     ;;
5250 esac
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260 if test -n "$ac_tool_prefix"; then
5261   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5262 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5264 $as_echo_n "checking for $ac_word... " >&6; }
5265 if ${ac_cv_prog_OBJDUMP+:} false; then :
5266   $as_echo_n "(cached) " >&6
5267 else
5268   if test -n "$OBJDUMP"; then
5269   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5270 else
5271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5272 for as_dir in $PATH
5273 do
5274   IFS=$as_save_IFS
5275   test -z "$as_dir" && as_dir=.
5276     for ac_exec_ext in '' $ac_executable_extensions; do
5277   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5278     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5279     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5280     break 2
5281   fi
5282 done
5283   done
5284 IFS=$as_save_IFS
5285
5286 fi
5287 fi
5288 OBJDUMP=$ac_cv_prog_OBJDUMP
5289 if test -n "$OBJDUMP"; then
5290   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5291 $as_echo "$OBJDUMP" >&6; }
5292 else
5293   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5294 $as_echo "no" >&6; }
5295 fi
5296
5297
5298 fi
5299 if test -z "$ac_cv_prog_OBJDUMP"; then
5300   ac_ct_OBJDUMP=$OBJDUMP
5301   # Extract the first word of "objdump", so it can be a program name with args.
5302 set dummy objdump; ac_word=$2
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5304 $as_echo_n "checking for $ac_word... " >&6; }
5305 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5306   $as_echo_n "(cached) " >&6
5307 else
5308   if test -n "$ac_ct_OBJDUMP"; then
5309   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5310 else
5311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5312 for as_dir in $PATH
5313 do
5314   IFS=$as_save_IFS
5315   test -z "$as_dir" && as_dir=.
5316     for ac_exec_ext in '' $ac_executable_extensions; do
5317   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5318     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5319     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5320     break 2
5321   fi
5322 done
5323   done
5324 IFS=$as_save_IFS
5325
5326 fi
5327 fi
5328 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5329 if test -n "$ac_ct_OBJDUMP"; then
5330   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5331 $as_echo "$ac_ct_OBJDUMP" >&6; }
5332 else
5333   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5334 $as_echo "no" >&6; }
5335 fi
5336
5337   if test "x$ac_ct_OBJDUMP" = x; then
5338     OBJDUMP="false"
5339   else
5340     case $cross_compiling:$ac_tool_warned in
5341 yes:)
5342 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5343 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5344 ac_tool_warned=yes ;;
5345 esac
5346     OBJDUMP=$ac_ct_OBJDUMP
5347   fi
5348 else
5349   OBJDUMP="$ac_cv_prog_OBJDUMP"
5350 fi
5351
5352 test -z "$OBJDUMP" && OBJDUMP=objdump
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5363 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5364 if ${lt_cv_deplibs_check_method+:} false; then :
5365   $as_echo_n "(cached) " >&6
5366 else
5367   lt_cv_file_magic_cmd='$MAGIC_CMD'
5368 lt_cv_file_magic_test_file=
5369 lt_cv_deplibs_check_method='unknown'
5370 # Need to set the preceding variable on all platforms that support
5371 # interlibrary dependencies.
5372 # 'none' -- dependencies not supported.
5373 # `unknown' -- same as none, but documents that we really don't know.
5374 # 'pass_all' -- all dependencies passed with no checks.
5375 # 'test_compile' -- check by making test program.
5376 # 'file_magic [[regex]]' -- check by looking for files in library path
5377 # which responds to the $file_magic_cmd with a given extended regex.
5378 # If you have `file' or equivalent on your system and you're not sure
5379 # whether `pass_all' will *always* work, you probably want this one.
5380
5381 case $host_os in
5382 aix[4-9]*)
5383   lt_cv_deplibs_check_method=pass_all
5384   ;;
5385
5386 beos*)
5387   lt_cv_deplibs_check_method=pass_all
5388   ;;
5389
5390 bsdi[45]*)
5391   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5392   lt_cv_file_magic_cmd='/usr/bin/file -L'
5393   lt_cv_file_magic_test_file=/shlib/libc.so
5394   ;;
5395
5396 cygwin*)
5397   # func_win32_libid is a shell function defined in ltmain.sh
5398   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5399   lt_cv_file_magic_cmd='func_win32_libid'
5400   ;;
5401
5402 mingw* | pw32*)
5403   # Base MSYS/MinGW do not provide the 'file' command needed by
5404   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5405   # unless we find 'file', for example because we are cross-compiling.
5406   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5407   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5408     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5409     lt_cv_file_magic_cmd='func_win32_libid'
5410   else
5411     # Keep this pattern in sync with the one in func_win32_libid.
5412     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5413     lt_cv_file_magic_cmd='$OBJDUMP -f'
5414   fi
5415   ;;
5416
5417 cegcc*)
5418   # use the weaker test based on 'objdump'. See mingw*.
5419   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5420   lt_cv_file_magic_cmd='$OBJDUMP -f'
5421   ;;
5422
5423 darwin* | rhapsody*)
5424   lt_cv_deplibs_check_method=pass_all
5425   ;;
5426
5427 freebsd* | dragonfly*)
5428   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5429     case $host_cpu in
5430     i*86 )
5431       # Not sure whether the presence of OpenBSD here was a mistake.
5432       # Let's accept both of them until this is cleared up.
5433       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5434       lt_cv_file_magic_cmd=/usr/bin/file
5435       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5436       ;;
5437     esac
5438   else
5439     lt_cv_deplibs_check_method=pass_all
5440   fi
5441   ;;
5442
5443 gnu*)
5444   lt_cv_deplibs_check_method=pass_all
5445   ;;
5446
5447 haiku*)
5448   lt_cv_deplibs_check_method=pass_all
5449   ;;
5450
5451 hpux10.20* | hpux11*)
5452   lt_cv_file_magic_cmd=/usr/bin/file
5453   case $host_cpu in
5454   ia64*)
5455     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5456     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5457     ;;
5458   hppa*64*)
5459     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]'
5460     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5461     ;;
5462   *)
5463     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5464     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5465     ;;
5466   esac
5467   ;;
5468
5469 interix[3-9]*)
5470   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5471   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5472   ;;
5473
5474 irix5* | irix6* | nonstopux*)
5475   case $LD in
5476   *-32|*"-32 ") libmagic=32-bit;;
5477   *-n32|*"-n32 ") libmagic=N32;;
5478   *-64|*"-64 ") libmagic=64-bit;;
5479   *) libmagic=never-match;;
5480   esac
5481   lt_cv_deplibs_check_method=pass_all
5482   ;;
5483
5484 # This must be glibc/ELF.
5485 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5486   lt_cv_deplibs_check_method=pass_all
5487   ;;
5488
5489 netbsd* | netbsdelf*-gnu)
5490   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5491     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5492   else
5493     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5494   fi
5495   ;;
5496
5497 newos6*)
5498   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5499   lt_cv_file_magic_cmd=/usr/bin/file
5500   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5501   ;;
5502
5503 *nto* | *qnx*)
5504   lt_cv_deplibs_check_method=pass_all
5505   ;;
5506
5507 openbsd*)
5508   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5509     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5510   else
5511     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5512   fi
5513   ;;
5514
5515 osf3* | osf4* | osf5*)
5516   lt_cv_deplibs_check_method=pass_all
5517   ;;
5518
5519 rdos*)
5520   lt_cv_deplibs_check_method=pass_all
5521   ;;
5522
5523 solaris*)
5524   lt_cv_deplibs_check_method=pass_all
5525   ;;
5526
5527 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5528   lt_cv_deplibs_check_method=pass_all
5529   ;;
5530
5531 sysv4 | sysv4.3*)
5532   case $host_vendor in
5533   motorola)
5534     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]'
5535     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5536     ;;
5537   ncr)
5538     lt_cv_deplibs_check_method=pass_all
5539     ;;
5540   sequent)
5541     lt_cv_file_magic_cmd='/bin/file'
5542     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5543     ;;
5544   sni)
5545     lt_cv_file_magic_cmd='/bin/file'
5546     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5547     lt_cv_file_magic_test_file=/lib/libc.so
5548     ;;
5549   siemens)
5550     lt_cv_deplibs_check_method=pass_all
5551     ;;
5552   pc)
5553     lt_cv_deplibs_check_method=pass_all
5554     ;;
5555   esac
5556   ;;
5557
5558 tpf*)
5559   lt_cv_deplibs_check_method=pass_all
5560   ;;
5561 esac
5562
5563 fi
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5565 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5566
5567 file_magic_glob=
5568 want_nocaseglob=no
5569 if test "$build" = "$host"; then
5570   case $host_os in
5571   mingw* | pw32*)
5572     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5573       want_nocaseglob=yes
5574     else
5575       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5576     fi
5577     ;;
5578   esac
5579 fi
5580
5581 file_magic_cmd=$lt_cv_file_magic_cmd
5582 deplibs_check_method=$lt_cv_deplibs_check_method
5583 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606 if test -n "$ac_tool_prefix"; then
5607   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5608 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5610 $as_echo_n "checking for $ac_word... " >&6; }
5611 if ${ac_cv_prog_DLLTOOL+:} false; then :
5612   $as_echo_n "(cached) " >&6
5613 else
5614   if test -n "$DLLTOOL"; then
5615   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5616 else
5617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5618 for as_dir in $PATH
5619 do
5620   IFS=$as_save_IFS
5621   test -z "$as_dir" && as_dir=.
5622     for ac_exec_ext in '' $ac_executable_extensions; do
5623   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5624     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5625     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5626     break 2
5627   fi
5628 done
5629   done
5630 IFS=$as_save_IFS
5631
5632 fi
5633 fi
5634 DLLTOOL=$ac_cv_prog_DLLTOOL
5635 if test -n "$DLLTOOL"; then
5636   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5637 $as_echo "$DLLTOOL" >&6; }
5638 else
5639   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5640 $as_echo "no" >&6; }
5641 fi
5642
5643
5644 fi
5645 if test -z "$ac_cv_prog_DLLTOOL"; then
5646   ac_ct_DLLTOOL=$DLLTOOL
5647   # Extract the first word of "dlltool", so it can be a program name with args.
5648 set dummy dlltool; ac_word=$2
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5650 $as_echo_n "checking for $ac_word... " >&6; }
5651 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5652   $as_echo_n "(cached) " >&6
5653 else
5654   if test -n "$ac_ct_DLLTOOL"; then
5655   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5656 else
5657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5658 for as_dir in $PATH
5659 do
5660   IFS=$as_save_IFS
5661   test -z "$as_dir" && as_dir=.
5662     for ac_exec_ext in '' $ac_executable_extensions; do
5663   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5664     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5665     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5666     break 2
5667   fi
5668 done
5669   done
5670 IFS=$as_save_IFS
5671
5672 fi
5673 fi
5674 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5675 if test -n "$ac_ct_DLLTOOL"; then
5676   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5677 $as_echo "$ac_ct_DLLTOOL" >&6; }
5678 else
5679   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5680 $as_echo "no" >&6; }
5681 fi
5682
5683   if test "x$ac_ct_DLLTOOL" = x; then
5684     DLLTOOL="false"
5685   else
5686     case $cross_compiling:$ac_tool_warned in
5687 yes:)
5688 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5689 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5690 ac_tool_warned=yes ;;
5691 esac
5692     DLLTOOL=$ac_ct_DLLTOOL
5693   fi
5694 else
5695   DLLTOOL="$ac_cv_prog_DLLTOOL"
5696 fi
5697
5698 test -z "$DLLTOOL" && DLLTOOL=dlltool
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5710 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5711 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5712   $as_echo_n "(cached) " >&6
5713 else
5714   lt_cv_sharedlib_from_linklib_cmd='unknown'
5715
5716 case $host_os in
5717 cygwin* | mingw* | pw32* | cegcc*)
5718   # two different shell functions defined in ltmain.sh
5719   # decide which to use based on capabilities of $DLLTOOL
5720   case `$DLLTOOL --help 2>&1` in
5721   *--identify-strict*)
5722     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5723     ;;
5724   *)
5725     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5726     ;;
5727   esac
5728   ;;
5729 *)
5730   # fallback: assume linklib IS sharedlib
5731   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5732   ;;
5733 esac
5734
5735 fi
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5737 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5738 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5739 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5740
5741
5742
5743
5744
5745
5746
5747
5748 if test -n "$ac_tool_prefix"; then
5749   for ac_prog in ar
5750   do
5751     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5752 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5754 $as_echo_n "checking for $ac_word... " >&6; }
5755 if ${ac_cv_prog_AR+:} false; then :
5756   $as_echo_n "(cached) " >&6
5757 else
5758   if test -n "$AR"; then
5759   ac_cv_prog_AR="$AR" # Let the user override the test.
5760 else
5761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5762 for as_dir in $PATH
5763 do
5764   IFS=$as_save_IFS
5765   test -z "$as_dir" && as_dir=.
5766     for ac_exec_ext in '' $ac_executable_extensions; do
5767   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5768     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5769     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5770     break 2
5771   fi
5772 done
5773   done
5774 IFS=$as_save_IFS
5775
5776 fi
5777 fi
5778 AR=$ac_cv_prog_AR
5779 if test -n "$AR"; then
5780   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5781 $as_echo "$AR" >&6; }
5782 else
5783   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5784 $as_echo "no" >&6; }
5785 fi
5786
5787
5788     test -n "$AR" && break
5789   done
5790 fi
5791 if test -z "$AR"; then
5792   ac_ct_AR=$AR
5793   for ac_prog in ar
5794 do
5795   # Extract the first word of "$ac_prog", so it can be a program name with args.
5796 set dummy $ac_prog; ac_word=$2
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5798 $as_echo_n "checking for $ac_word... " >&6; }
5799 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5800   $as_echo_n "(cached) " >&6
5801 else
5802   if test -n "$ac_ct_AR"; then
5803   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5804 else
5805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5806 for as_dir in $PATH
5807 do
5808   IFS=$as_save_IFS
5809   test -z "$as_dir" && as_dir=.
5810     for ac_exec_ext in '' $ac_executable_extensions; do
5811   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5812     ac_cv_prog_ac_ct_AR="$ac_prog"
5813     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5814     break 2
5815   fi
5816 done
5817   done
5818 IFS=$as_save_IFS
5819
5820 fi
5821 fi
5822 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5823 if test -n "$ac_ct_AR"; then
5824   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5825 $as_echo "$ac_ct_AR" >&6; }
5826 else
5827   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5828 $as_echo "no" >&6; }
5829 fi
5830
5831
5832   test -n "$ac_ct_AR" && break
5833 done
5834
5835   if test "x$ac_ct_AR" = x; then
5836     AR="false"
5837   else
5838     case $cross_compiling:$ac_tool_warned in
5839 yes:)
5840 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5841 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5842 ac_tool_warned=yes ;;
5843 esac
5844     AR=$ac_ct_AR
5845   fi
5846 fi
5847
5848 : ${AR=ar}
5849 : ${AR_FLAGS=cru}
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5862 $as_echo_n "checking for archiver @FILE support... " >&6; }
5863 if ${lt_cv_ar_at_file+:} false; then :
5864   $as_echo_n "(cached) " >&6
5865 else
5866   lt_cv_ar_at_file=no
5867    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5868 /* end confdefs.h.  */
5869
5870 int
5871 main ()
5872 {
5873
5874   ;
5875   return 0;
5876 }
5877 _ACEOF
5878 if ac_fn_c_try_compile "$LINENO"; then :
5879   echo conftest.$ac_objext > conftest.lst
5880       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5881       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5882   (eval $lt_ar_try) 2>&5
5883   ac_status=$?
5884   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5885   test $ac_status = 0; }
5886       if test "$ac_status" -eq 0; then
5887         # Ensure the archiver fails upon bogus file names.
5888         rm -f conftest.$ac_objext libconftest.a
5889         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5890   (eval $lt_ar_try) 2>&5
5891   ac_status=$?
5892   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5893   test $ac_status = 0; }
5894         if test "$ac_status" -ne 0; then
5895           lt_cv_ar_at_file=@
5896         fi
5897       fi
5898       rm -f conftest.* libconftest.a
5899
5900 fi
5901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5902
5903 fi
5904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5905 $as_echo "$lt_cv_ar_at_file" >&6; }
5906
5907 if test "x$lt_cv_ar_at_file" = xno; then
5908   archiver_list_spec=
5909 else
5910   archiver_list_spec=$lt_cv_ar_at_file
5911 fi
5912
5913
5914
5915
5916
5917
5918
5919 if test -n "$ac_tool_prefix"; then
5920   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5921 set dummy ${ac_tool_prefix}strip; ac_word=$2
5922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5923 $as_echo_n "checking for $ac_word... " >&6; }
5924 if ${ac_cv_prog_STRIP+:} false; then :
5925   $as_echo_n "(cached) " >&6
5926 else
5927   if test -n "$STRIP"; then
5928   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5929 else
5930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5931 for as_dir in $PATH
5932 do
5933   IFS=$as_save_IFS
5934   test -z "$as_dir" && as_dir=.
5935     for ac_exec_ext in '' $ac_executable_extensions; do
5936   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5937     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5938     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5939     break 2
5940   fi
5941 done
5942   done
5943 IFS=$as_save_IFS
5944
5945 fi
5946 fi
5947 STRIP=$ac_cv_prog_STRIP
5948 if test -n "$STRIP"; then
5949   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5950 $as_echo "$STRIP" >&6; }
5951 else
5952   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5953 $as_echo "no" >&6; }
5954 fi
5955
5956
5957 fi
5958 if test -z "$ac_cv_prog_STRIP"; then
5959   ac_ct_STRIP=$STRIP
5960   # Extract the first word of "strip", so it can be a program name with args.
5961 set dummy strip; ac_word=$2
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5963 $as_echo_n "checking for $ac_word... " >&6; }
5964 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5965   $as_echo_n "(cached) " >&6
5966 else
5967   if test -n "$ac_ct_STRIP"; then
5968   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5969 else
5970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5971 for as_dir in $PATH
5972 do
5973   IFS=$as_save_IFS
5974   test -z "$as_dir" && as_dir=.
5975     for ac_exec_ext in '' $ac_executable_extensions; do
5976   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5977     ac_cv_prog_ac_ct_STRIP="strip"
5978     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5979     break 2
5980   fi
5981 done
5982   done
5983 IFS=$as_save_IFS
5984
5985 fi
5986 fi
5987 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5988 if test -n "$ac_ct_STRIP"; then
5989   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5990 $as_echo "$ac_ct_STRIP" >&6; }
5991 else
5992   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5993 $as_echo "no" >&6; }
5994 fi
5995
5996   if test "x$ac_ct_STRIP" = x; then
5997     STRIP=":"
5998   else
5999     case $cross_compiling:$ac_tool_warned in
6000 yes:)
6001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6002 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6003 ac_tool_warned=yes ;;
6004 esac
6005     STRIP=$ac_ct_STRIP
6006   fi
6007 else
6008   STRIP="$ac_cv_prog_STRIP"
6009 fi
6010
6011 test -z "$STRIP" && STRIP=:
6012
6013
6014
6015
6016
6017
6018 if test -n "$ac_tool_prefix"; then
6019   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6020 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6022 $as_echo_n "checking for $ac_word... " >&6; }
6023 if ${ac_cv_prog_RANLIB+:} false; then :
6024   $as_echo_n "(cached) " >&6
6025 else
6026   if test -n "$RANLIB"; then
6027   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6028 else
6029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6030 for as_dir in $PATH
6031 do
6032   IFS=$as_save_IFS
6033   test -z "$as_dir" && as_dir=.
6034     for ac_exec_ext in '' $ac_executable_extensions; do
6035   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6036     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6037     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6038     break 2
6039   fi
6040 done
6041   done
6042 IFS=$as_save_IFS
6043
6044 fi
6045 fi
6046 RANLIB=$ac_cv_prog_RANLIB
6047 if test -n "$RANLIB"; then
6048   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6049 $as_echo "$RANLIB" >&6; }
6050 else
6051   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6052 $as_echo "no" >&6; }
6053 fi
6054
6055
6056 fi
6057 if test -z "$ac_cv_prog_RANLIB"; then
6058   ac_ct_RANLIB=$RANLIB
6059   # Extract the first word of "ranlib", so it can be a program name with args.
6060 set dummy ranlib; ac_word=$2
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6062 $as_echo_n "checking for $ac_word... " >&6; }
6063 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6064   $as_echo_n "(cached) " >&6
6065 else
6066   if test -n "$ac_ct_RANLIB"; then
6067   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6068 else
6069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6070 for as_dir in $PATH
6071 do
6072   IFS=$as_save_IFS
6073   test -z "$as_dir" && as_dir=.
6074     for ac_exec_ext in '' $ac_executable_extensions; do
6075   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6076     ac_cv_prog_ac_ct_RANLIB="ranlib"
6077     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6078     break 2
6079   fi
6080 done
6081   done
6082 IFS=$as_save_IFS
6083
6084 fi
6085 fi
6086 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6087 if test -n "$ac_ct_RANLIB"; then
6088   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6089 $as_echo "$ac_ct_RANLIB" >&6; }
6090 else
6091   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6092 $as_echo "no" >&6; }
6093 fi
6094
6095   if test "x$ac_ct_RANLIB" = x; then
6096     RANLIB=":"
6097   else
6098     case $cross_compiling:$ac_tool_warned in
6099 yes:)
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6101 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6102 ac_tool_warned=yes ;;
6103 esac
6104     RANLIB=$ac_ct_RANLIB
6105   fi
6106 else
6107   RANLIB="$ac_cv_prog_RANLIB"
6108 fi
6109
6110 test -z "$RANLIB" && RANLIB=:
6111
6112
6113
6114
6115
6116
6117 # Determine commands to create old-style static archives.
6118 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6119 old_postinstall_cmds='chmod 644 $oldlib'
6120 old_postuninstall_cmds=
6121
6122 if test -n "$RANLIB"; then
6123   case $host_os in
6124   openbsd*)
6125     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6126     ;;
6127   *)
6128     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6129     ;;
6130   esac
6131   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6132 fi
6133
6134 case $host_os in
6135   darwin*)
6136     lock_old_archive_extraction=yes ;;
6137   *)
6138     lock_old_archive_extraction=no ;;
6139 esac
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179 # If no C compiler was specified, use CC.
6180 LTCC=${LTCC-"$CC"}
6181
6182 # If no C compiler flags were specified, use CFLAGS.
6183 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6184
6185 # Allow CC to be a program name with arguments.
6186 compiler=$CC
6187
6188
6189 # Check for command to grab the raw symbol name followed by C symbol from nm.
6190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6191 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6192 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6193   $as_echo_n "(cached) " >&6
6194 else
6195
6196 # These are sane defaults that work on at least a few old systems.
6197 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6198
6199 # Character class describing NM global symbol codes.
6200 symcode='[BCDEGRST]'
6201
6202 # Regexp to match symbols that can be accessed directly from C.
6203 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6204
6205 # Define system-specific variables.
6206 case $host_os in
6207 aix*)
6208   symcode='[BCDT]'
6209   ;;
6210 cygwin* | mingw* | pw32* | cegcc*)
6211   symcode='[ABCDGISTW]'
6212   ;;
6213 hpux*)
6214   if test "$host_cpu" = ia64; then
6215     symcode='[ABCDEGRST]'
6216   fi
6217   ;;
6218 irix* | nonstopux*)
6219   symcode='[BCDEGRST]'
6220   ;;
6221 osf*)
6222   symcode='[BCDEGQRST]'
6223   ;;
6224 solaris*)
6225   symcode='[BDRT]'
6226   ;;
6227 sco3.2v5*)
6228   symcode='[DT]'
6229   ;;
6230 sysv4.2uw2*)
6231   symcode='[DT]'
6232   ;;
6233 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6234   symcode='[ABDT]'
6235   ;;
6236 sysv4)
6237   symcode='[DFNSTU]'
6238   ;;
6239 esac
6240
6241 # If we're using GNU nm, then use its standard symbol codes.
6242 case `$NM -V 2>&1` in
6243 *GNU* | *'with BFD'*)
6244   symcode='[ABCDGIRSTW]' ;;
6245 esac
6246
6247 # Transform an extracted symbol line into a proper C declaration.
6248 # Some systems (esp. on ia64) link data and code symbols differently,
6249 # so use this general approach.
6250 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6251
6252 # Transform an extracted symbol line into symbol name and symbol address
6253 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6254 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'"
6255
6256 # Handle CRLF in mingw tool chain
6257 opt_cr=
6258 case $build_os in
6259 mingw*)
6260   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6261   ;;
6262 esac
6263
6264 # Try without a prefix underscore, then with it.
6265 for ac_symprfx in "" "_"; do
6266
6267   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6268   symxfrm="\\1 $ac_symprfx\\2 \\2"
6269
6270   # Write the raw and C identifiers.
6271   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6272     # Fake it for dumpbin and say T for any non-static function
6273     # and D for any global variable.
6274     # Also find C++ and __fastcall symbols from MSVC++,
6275     # which start with @ or ?.
6276     lt_cv_sys_global_symbol_pipe="$AWK '"\
6277 "     {last_section=section; section=\$ 3};"\
6278 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6279 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6280 "     \$ 0!~/External *\|/{next};"\
6281 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6282 "     {if(hide[section]) next};"\
6283 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6284 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6285 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6286 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6287 "     ' prfx=^$ac_symprfx"
6288   else
6289     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6290   fi
6291   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6292
6293   # Check to see that the pipe works correctly.
6294   pipe_works=no
6295
6296   rm -f conftest*
6297   cat > conftest.$ac_ext <<_LT_EOF
6298 #ifdef __cplusplus
6299 extern "C" {
6300 #endif
6301 char nm_test_var;
6302 void nm_test_func(void);
6303 void nm_test_func(void){}
6304 #ifdef __cplusplus
6305 }
6306 #endif
6307 int main(){nm_test_var='a';nm_test_func();return(0);}
6308 _LT_EOF
6309
6310   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6311   (eval $ac_compile) 2>&5
6312   ac_status=$?
6313   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6314   test $ac_status = 0; }; then
6315     # Now try to grab the symbols.
6316     nlist=conftest.nm
6317     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6318   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6319   ac_status=$?
6320   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6321   test $ac_status = 0; } && test -s "$nlist"; then
6322       # Try sorting and uniquifying the output.
6323       if sort "$nlist" | uniq > "$nlist"T; then
6324         mv -f "$nlist"T "$nlist"
6325       else
6326         rm -f "$nlist"T
6327       fi
6328
6329       # Make sure that we snagged all the symbols we need.
6330       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6331         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6332           cat <<_LT_EOF > conftest.$ac_ext
6333 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6334 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6335 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6336    relocations are performed -- see ld's documentation on pseudo-relocs.  */
6337 # define LT_DLSYM_CONST
6338 #elif defined(__osf__)
6339 /* This system does not cope well with relocations in const data.  */
6340 # define LT_DLSYM_CONST
6341 #else
6342 # define LT_DLSYM_CONST const
6343 #endif
6344
6345 #ifdef __cplusplus
6346 extern "C" {
6347 #endif
6348
6349 _LT_EOF
6350           # Now generate the symbol file.
6351           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6352
6353           cat <<_LT_EOF >> conftest.$ac_ext
6354
6355 /* The mapping between symbol names and symbols.  */
6356 LT_DLSYM_CONST struct {
6357   const char *name;
6358   void       *address;
6359 }
6360 lt__PROGRAM__LTX_preloaded_symbols[] =
6361 {
6362   { "@PROGRAM@", (void *) 0 },
6363 _LT_EOF
6364           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6365           cat <<\_LT_EOF >> conftest.$ac_ext
6366   {0, (void *) 0}
6367 };
6368
6369 /* This works around a problem in FreeBSD linker */
6370 #ifdef FREEBSD_WORKAROUND
6371 static const void *lt_preloaded_setup() {
6372   return lt__PROGRAM__LTX_preloaded_symbols;
6373 }
6374 #endif
6375
6376 #ifdef __cplusplus
6377 }
6378 #endif
6379 _LT_EOF
6380           # Now try linking the two files.
6381           mv conftest.$ac_objext conftstm.$ac_objext
6382           lt_globsym_save_LIBS=$LIBS
6383           lt_globsym_save_CFLAGS=$CFLAGS
6384           LIBS="conftstm.$ac_objext"
6385           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6386           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6387   (eval $ac_link) 2>&5
6388   ac_status=$?
6389   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6390   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6391             pipe_works=yes
6392           fi
6393           LIBS=$lt_globsym_save_LIBS
6394           CFLAGS=$lt_globsym_save_CFLAGS
6395         else
6396           echo "cannot find nm_test_func in $nlist" >&5
6397         fi
6398       else
6399         echo "cannot find nm_test_var in $nlist" >&5
6400       fi
6401     else
6402       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6403     fi
6404   else
6405     echo "$progname: failed program was:" >&5
6406     cat conftest.$ac_ext >&5
6407   fi
6408   rm -rf conftest* conftst*
6409
6410   # Do not use the global_symbol_pipe unless it works.
6411   if test "$pipe_works" = yes; then
6412     break
6413   else
6414     lt_cv_sys_global_symbol_pipe=
6415   fi
6416 done
6417
6418 fi
6419
6420 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6421   lt_cv_sys_global_symbol_to_cdecl=
6422 fi
6423 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6424   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6425 $as_echo "failed" >&6; }
6426 else
6427   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6428 $as_echo "ok" >&6; }
6429 fi
6430
6431 # Response file support.
6432 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6433   nm_file_list_spec='@'
6434 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6435   nm_file_list_spec='@'
6436 fi
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6465 $as_echo_n "checking for sysroot... " >&6; }
6466
6467 # Check whether --with-sysroot was given.
6468 if test "${with_sysroot+set}" = set; then :
6469   withval=$with_sysroot;
6470 else
6471   with_sysroot=no
6472 fi
6473
6474
6475 lt_sysroot=
6476 case ${with_sysroot} in #(
6477  yes)
6478    if test "$GCC" = yes; then
6479      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6480    fi
6481    ;; #(
6482  /*)
6483    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6484    ;; #(
6485  no|'')
6486    ;; #(
6487  *)
6488    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6489 $as_echo "${with_sysroot}" >&6; }
6490    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6491    ;;
6492 esac
6493
6494  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6495 $as_echo "${lt_sysroot:-no}" >&6; }
6496
6497
6498
6499
6500
6501 # Check whether --enable-libtool-lock was given.
6502 if test "${enable_libtool_lock+set}" = set; then :
6503   enableval=$enable_libtool_lock;
6504 fi
6505
6506 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6507
6508 # Some flags need to be propagated to the compiler or linker for good
6509 # libtool support.
6510 case $host in
6511 ia64-*-hpux*)
6512   # Find out which ABI we are using.
6513   echo 'int i;' > conftest.$ac_ext
6514   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6515   (eval $ac_compile) 2>&5
6516   ac_status=$?
6517   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6518   test $ac_status = 0; }; then
6519     case `/usr/bin/file conftest.$ac_objext` in
6520       *ELF-32*)
6521         HPUX_IA64_MODE="32"
6522         ;;
6523       *ELF-64*)
6524         HPUX_IA64_MODE="64"
6525         ;;
6526     esac
6527   fi
6528   rm -rf conftest*
6529   ;;
6530 *-*-irix6*)
6531   # Find out which ABI we are using.
6532   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6533   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6534   (eval $ac_compile) 2>&5
6535   ac_status=$?
6536   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6537   test $ac_status = 0; }; then
6538     if test "$lt_cv_prog_gnu_ld" = yes; then
6539       case `/usr/bin/file conftest.$ac_objext` in
6540         *32-bit*)
6541           LD="${LD-ld} -melf32bsmip"
6542           ;;
6543         *N32*)
6544           LD="${LD-ld} -melf32bmipn32"
6545           ;;
6546         *64-bit*)
6547           LD="${LD-ld} -melf64bmip"
6548         ;;
6549       esac
6550     else
6551       case `/usr/bin/file conftest.$ac_objext` in
6552         *32-bit*)
6553           LD="${LD-ld} -32"
6554           ;;
6555         *N32*)
6556           LD="${LD-ld} -n32"
6557           ;;
6558         *64-bit*)
6559           LD="${LD-ld} -64"
6560           ;;
6561       esac
6562     fi
6563   fi
6564   rm -rf conftest*
6565   ;;
6566
6567 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6568 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6569   # Find out which ABI we are using.
6570   echo 'int i;' > conftest.$ac_ext
6571   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6572   (eval $ac_compile) 2>&5
6573   ac_status=$?
6574   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6575   test $ac_status = 0; }; then
6576     case `/usr/bin/file conftest.o` in
6577       *32-bit*)
6578         case $host in
6579           x86_64-*kfreebsd*-gnu)
6580             LD="${LD-ld} -m elf_i386_fbsd"
6581             ;;
6582           x86_64-*linux*)
6583             LD="${LD-ld} -m elf_i386"
6584             ;;
6585           ppc64-*linux*|powerpc64-*linux*)
6586             LD="${LD-ld} -m elf32ppclinux"
6587             ;;
6588           s390x-*linux*)
6589             LD="${LD-ld} -m elf_s390"
6590             ;;
6591           sparc64-*linux*)
6592             LD="${LD-ld} -m elf32_sparc"
6593             ;;
6594         esac
6595         ;;
6596       *64-bit*)
6597         case $host in
6598           x86_64-*kfreebsd*-gnu)
6599             LD="${LD-ld} -m elf_x86_64_fbsd"
6600             ;;
6601           x86_64-*linux*)
6602             LD="${LD-ld} -m elf_x86_64"
6603             ;;
6604           ppc*-*linux*|powerpc*-*linux*)
6605             LD="${LD-ld} -m elf64ppc"
6606             ;;
6607           s390*-*linux*|s390*-*tpf*)
6608             LD="${LD-ld} -m elf64_s390"
6609             ;;
6610           sparc*-*linux*)
6611             LD="${LD-ld} -m elf64_sparc"
6612             ;;
6613         esac
6614         ;;
6615     esac
6616   fi
6617   rm -rf conftest*
6618   ;;
6619
6620 *-*-sco3.2v5*)
6621   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6622   SAVE_CFLAGS="$CFLAGS"
6623   CFLAGS="$CFLAGS -belf"
6624   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6625 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6626 if ${lt_cv_cc_needs_belf+:} false; then :
6627   $as_echo_n "(cached) " >&6
6628 else
6629   ac_ext=c
6630 ac_cpp='$CPP $CPPFLAGS'
6631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6634
6635      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6636 /* end confdefs.h.  */
6637
6638 int
6639 main ()
6640 {
6641
6642   ;
6643   return 0;
6644 }
6645 _ACEOF
6646 if ac_fn_c_try_link "$LINENO"; then :
6647   lt_cv_cc_needs_belf=yes
6648 else
6649   lt_cv_cc_needs_belf=no
6650 fi
6651 rm -f core conftest.err conftest.$ac_objext \
6652     conftest$ac_exeext conftest.$ac_ext
6653      ac_ext=c
6654 ac_cpp='$CPP $CPPFLAGS'
6655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6658
6659 fi
6660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6661 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6662   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6663     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6664     CFLAGS="$SAVE_CFLAGS"
6665   fi
6666   ;;
6667 *-*solaris*)
6668   # Find out which ABI we are using.
6669   echo 'int i;' > conftest.$ac_ext
6670   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6671   (eval $ac_compile) 2>&5
6672   ac_status=$?
6673   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6674   test $ac_status = 0; }; then
6675     case `/usr/bin/file conftest.o` in
6676     *64-bit*)
6677       case $lt_cv_prog_gnu_ld in
6678       yes*)
6679         case $host in
6680         i?86-*-solaris*)
6681           LD="${LD-ld} -m elf_x86_64"
6682           ;;
6683         sparc*-*-solaris*)
6684           LD="${LD-ld} -m elf64_sparc"
6685           ;;
6686         esac
6687         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6688         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6689           LD="${LD-ld}_sol2"
6690         fi
6691         ;;
6692       *)
6693         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6694           LD="${LD-ld} -64"
6695         fi
6696         ;;
6697       esac
6698       ;;
6699     esac
6700   fi
6701   rm -rf conftest*
6702   ;;
6703 esac
6704
6705 need_locks="$enable_libtool_lock"
6706
6707 if test -n "$ac_tool_prefix"; then
6708   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6709 set dummy ${ac_tool_prefix}mt; ac_word=$2
6710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6711 $as_echo_n "checking for $ac_word... " >&6; }
6712 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6713   $as_echo_n "(cached) " >&6
6714 else
6715   if test -n "$MANIFEST_TOOL"; then
6716   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6717 else
6718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6719 for as_dir in $PATH
6720 do
6721   IFS=$as_save_IFS
6722   test -z "$as_dir" && as_dir=.
6723     for ac_exec_ext in '' $ac_executable_extensions; do
6724   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6725     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6726     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6727     break 2
6728   fi
6729 done
6730   done
6731 IFS=$as_save_IFS
6732
6733 fi
6734 fi
6735 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6736 if test -n "$MANIFEST_TOOL"; then
6737   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6738 $as_echo "$MANIFEST_TOOL" >&6; }
6739 else
6740   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6741 $as_echo "no" >&6; }
6742 fi
6743
6744
6745 fi
6746 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6747   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6748   # Extract the first word of "mt", so it can be a program name with args.
6749 set dummy mt; ac_word=$2
6750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6751 $as_echo_n "checking for $ac_word... " >&6; }
6752 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6753   $as_echo_n "(cached) " >&6
6754 else
6755   if test -n "$ac_ct_MANIFEST_TOOL"; then
6756   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6757 else
6758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6759 for as_dir in $PATH
6760 do
6761   IFS=$as_save_IFS
6762   test -z "$as_dir" && as_dir=.
6763     for ac_exec_ext in '' $ac_executable_extensions; do
6764   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6765     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6766     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6767     break 2
6768   fi
6769 done
6770   done
6771 IFS=$as_save_IFS
6772
6773 fi
6774 fi
6775 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6776 if test -n "$ac_ct_MANIFEST_TOOL"; then
6777   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6778 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6779 else
6780   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6781 $as_echo "no" >&6; }
6782 fi
6783
6784   if test "x$ac_ct_MANIFEST_TOOL" = x; then
6785     MANIFEST_TOOL=":"
6786   else
6787     case $cross_compiling:$ac_tool_warned in
6788 yes:)
6789 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6790 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6791 ac_tool_warned=yes ;;
6792 esac
6793     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6794   fi
6795 else
6796   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6797 fi
6798
6799 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6801 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6802 if ${lt_cv_path_mainfest_tool+:} false; then :
6803   $as_echo_n "(cached) " >&6
6804 else
6805   lt_cv_path_mainfest_tool=no
6806   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6807   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6808   cat conftest.err >&5
6809   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6810     lt_cv_path_mainfest_tool=yes
6811   fi
6812   rm -f conftest*
6813 fi
6814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6815 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6816 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6817   MANIFEST_TOOL=:
6818 fi
6819
6820
6821
6822
6823
6824
6825   case $host_os in
6826     rhapsody* | darwin*)
6827     if test -n "$ac_tool_prefix"; then
6828   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6829 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6831 $as_echo_n "checking for $ac_word... " >&6; }
6832 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6833   $as_echo_n "(cached) " >&6
6834 else
6835   if test -n "$DSYMUTIL"; then
6836   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6837 else
6838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6839 for as_dir in $PATH
6840 do
6841   IFS=$as_save_IFS
6842   test -z "$as_dir" && as_dir=.
6843     for ac_exec_ext in '' $ac_executable_extensions; do
6844   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6845     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6846     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6847     break 2
6848   fi
6849 done
6850   done
6851 IFS=$as_save_IFS
6852
6853 fi
6854 fi
6855 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6856 if test -n "$DSYMUTIL"; then
6857   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6858 $as_echo "$DSYMUTIL" >&6; }
6859 else
6860   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6861 $as_echo "no" >&6; }
6862 fi
6863
6864
6865 fi
6866 if test -z "$ac_cv_prog_DSYMUTIL"; then
6867   ac_ct_DSYMUTIL=$DSYMUTIL
6868   # Extract the first word of "dsymutil", so it can be a program name with args.
6869 set dummy dsymutil; ac_word=$2
6870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6871 $as_echo_n "checking for $ac_word... " >&6; }
6872 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6873   $as_echo_n "(cached) " >&6
6874 else
6875   if test -n "$ac_ct_DSYMUTIL"; then
6876   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6877 else
6878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6879 for as_dir in $PATH
6880 do
6881   IFS=$as_save_IFS
6882   test -z "$as_dir" && as_dir=.
6883     for ac_exec_ext in '' $ac_executable_extensions; do
6884   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6885     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6886     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6887     break 2
6888   fi
6889 done
6890   done
6891 IFS=$as_save_IFS
6892
6893 fi
6894 fi
6895 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6896 if test -n "$ac_ct_DSYMUTIL"; then
6897   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6898 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6899 else
6900   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6901 $as_echo "no" >&6; }
6902 fi
6903
6904   if test "x$ac_ct_DSYMUTIL" = x; then
6905     DSYMUTIL=":"
6906   else
6907     case $cross_compiling:$ac_tool_warned in
6908 yes:)
6909 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6910 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6911 ac_tool_warned=yes ;;
6912 esac
6913     DSYMUTIL=$ac_ct_DSYMUTIL
6914   fi
6915 else
6916   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6917 fi
6918
6919     if test -n "$ac_tool_prefix"; then
6920   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6921 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6923 $as_echo_n "checking for $ac_word... " >&6; }
6924 if ${ac_cv_prog_NMEDIT+:} false; then :
6925   $as_echo_n "(cached) " >&6
6926 else
6927   if test -n "$NMEDIT"; then
6928   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6929 else
6930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6931 for as_dir in $PATH
6932 do
6933   IFS=$as_save_IFS
6934   test -z "$as_dir" && as_dir=.
6935     for ac_exec_ext in '' $ac_executable_extensions; do
6936   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6937     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6938     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6939     break 2
6940   fi
6941 done
6942   done
6943 IFS=$as_save_IFS
6944
6945 fi
6946 fi
6947 NMEDIT=$ac_cv_prog_NMEDIT
6948 if test -n "$NMEDIT"; then
6949   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6950 $as_echo "$NMEDIT" >&6; }
6951 else
6952   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6953 $as_echo "no" >&6; }
6954 fi
6955
6956
6957 fi
6958 if test -z "$ac_cv_prog_NMEDIT"; then
6959   ac_ct_NMEDIT=$NMEDIT
6960   # Extract the first word of "nmedit", so it can be a program name with args.
6961 set dummy nmedit; ac_word=$2
6962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6963 $as_echo_n "checking for $ac_word... " >&6; }
6964 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6965   $as_echo_n "(cached) " >&6
6966 else
6967   if test -n "$ac_ct_NMEDIT"; then
6968   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6969 else
6970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6971 for as_dir in $PATH
6972 do
6973   IFS=$as_save_IFS
6974   test -z "$as_dir" && as_dir=.
6975     for ac_exec_ext in '' $ac_executable_extensions; do
6976   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6977     ac_cv_prog_ac_ct_NMEDIT="nmedit"
6978     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6979     break 2
6980   fi
6981 done
6982   done
6983 IFS=$as_save_IFS
6984
6985 fi
6986 fi
6987 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6988 if test -n "$ac_ct_NMEDIT"; then
6989   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6990 $as_echo "$ac_ct_NMEDIT" >&6; }
6991 else
6992   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6993 $as_echo "no" >&6; }
6994 fi
6995
6996   if test "x$ac_ct_NMEDIT" = x; then
6997     NMEDIT=":"
6998   else
6999     case $cross_compiling:$ac_tool_warned in
7000 yes:)
7001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7002 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7003 ac_tool_warned=yes ;;
7004 esac
7005     NMEDIT=$ac_ct_NMEDIT
7006   fi
7007 else
7008   NMEDIT="$ac_cv_prog_NMEDIT"
7009 fi
7010
7011     if test -n "$ac_tool_prefix"; then
7012   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7013 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7015 $as_echo_n "checking for $ac_word... " >&6; }
7016 if ${ac_cv_prog_LIPO+:} false; then :
7017   $as_echo_n "(cached) " >&6
7018 else
7019   if test -n "$LIPO"; then
7020   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7021 else
7022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7023 for as_dir in $PATH
7024 do
7025   IFS=$as_save_IFS
7026   test -z "$as_dir" && as_dir=.
7027     for ac_exec_ext in '' $ac_executable_extensions; do
7028   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7029     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7030     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7031     break 2
7032   fi
7033 done
7034   done
7035 IFS=$as_save_IFS
7036
7037 fi
7038 fi
7039 LIPO=$ac_cv_prog_LIPO
7040 if test -n "$LIPO"; then
7041   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7042 $as_echo "$LIPO" >&6; }
7043 else
7044   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7045 $as_echo "no" >&6; }
7046 fi
7047
7048
7049 fi
7050 if test -z "$ac_cv_prog_LIPO"; then
7051   ac_ct_LIPO=$LIPO
7052   # Extract the first word of "lipo", so it can be a program name with args.
7053 set dummy lipo; ac_word=$2
7054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7055 $as_echo_n "checking for $ac_word... " >&6; }
7056 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7057   $as_echo_n "(cached) " >&6
7058 else
7059   if test -n "$ac_ct_LIPO"; then
7060   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7061 else
7062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7063 for as_dir in $PATH
7064 do
7065   IFS=$as_save_IFS
7066   test -z "$as_dir" && as_dir=.
7067     for ac_exec_ext in '' $ac_executable_extensions; do
7068   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7069     ac_cv_prog_ac_ct_LIPO="lipo"
7070     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7071     break 2
7072   fi
7073 done
7074   done
7075 IFS=$as_save_IFS
7076
7077 fi
7078 fi
7079 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7080 if test -n "$ac_ct_LIPO"; then
7081   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7082 $as_echo "$ac_ct_LIPO" >&6; }
7083 else
7084   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7085 $as_echo "no" >&6; }
7086 fi
7087
7088   if test "x$ac_ct_LIPO" = x; then
7089     LIPO=":"
7090   else
7091     case $cross_compiling:$ac_tool_warned in
7092 yes:)
7093 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7094 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7095 ac_tool_warned=yes ;;
7096 esac
7097     LIPO=$ac_ct_LIPO
7098   fi
7099 else
7100   LIPO="$ac_cv_prog_LIPO"
7101 fi
7102
7103     if test -n "$ac_tool_prefix"; then
7104   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7105 set dummy ${ac_tool_prefix}otool; ac_word=$2
7106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7107 $as_echo_n "checking for $ac_word... " >&6; }
7108 if ${ac_cv_prog_OTOOL+:} false; then :
7109   $as_echo_n "(cached) " >&6
7110 else
7111   if test -n "$OTOOL"; then
7112   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7113 else
7114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7115 for as_dir in $PATH
7116 do
7117   IFS=$as_save_IFS
7118   test -z "$as_dir" && as_dir=.
7119     for ac_exec_ext in '' $ac_executable_extensions; do
7120   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7121     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7122     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7123     break 2
7124   fi
7125 done
7126   done
7127 IFS=$as_save_IFS
7128
7129 fi
7130 fi
7131 OTOOL=$ac_cv_prog_OTOOL
7132 if test -n "$OTOOL"; then
7133   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7134 $as_echo "$OTOOL" >&6; }
7135 else
7136   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7137 $as_echo "no" >&6; }
7138 fi
7139
7140
7141 fi
7142 if test -z "$ac_cv_prog_OTOOL"; then
7143   ac_ct_OTOOL=$OTOOL
7144   # Extract the first word of "otool", so it can be a program name with args.
7145 set dummy otool; ac_word=$2
7146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7147 $as_echo_n "checking for $ac_word... " >&6; }
7148 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7149   $as_echo_n "(cached) " >&6
7150 else
7151   if test -n "$ac_ct_OTOOL"; then
7152   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7153 else
7154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7155 for as_dir in $PATH
7156 do
7157   IFS=$as_save_IFS
7158   test -z "$as_dir" && as_dir=.
7159     for ac_exec_ext in '' $ac_executable_extensions; do
7160   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7161     ac_cv_prog_ac_ct_OTOOL="otool"
7162     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7163     break 2
7164   fi
7165 done
7166   done
7167 IFS=$as_save_IFS
7168
7169 fi
7170 fi
7171 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7172 if test -n "$ac_ct_OTOOL"; then
7173   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7174 $as_echo "$ac_ct_OTOOL" >&6; }
7175 else
7176   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7177 $as_echo "no" >&6; }
7178 fi
7179
7180   if test "x$ac_ct_OTOOL" = x; then
7181     OTOOL=":"
7182   else
7183     case $cross_compiling:$ac_tool_warned in
7184 yes:)
7185 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7186 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7187 ac_tool_warned=yes ;;
7188 esac
7189     OTOOL=$ac_ct_OTOOL
7190   fi
7191 else
7192   OTOOL="$ac_cv_prog_OTOOL"
7193 fi
7194
7195     if test -n "$ac_tool_prefix"; then
7196   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7197 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7199 $as_echo_n "checking for $ac_word... " >&6; }
7200 if ${ac_cv_prog_OTOOL64+:} false; then :
7201   $as_echo_n "(cached) " >&6
7202 else
7203   if test -n "$OTOOL64"; then
7204   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7205 else
7206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7207 for as_dir in $PATH
7208 do
7209   IFS=$as_save_IFS
7210   test -z "$as_dir" && as_dir=.
7211     for ac_exec_ext in '' $ac_executable_extensions; do
7212   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7213     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7214     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7215     break 2
7216   fi
7217 done
7218   done
7219 IFS=$as_save_IFS
7220
7221 fi
7222 fi
7223 OTOOL64=$ac_cv_prog_OTOOL64
7224 if test -n "$OTOOL64"; then
7225   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7226 $as_echo "$OTOOL64" >&6; }
7227 else
7228   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7229 $as_echo "no" >&6; }
7230 fi
7231
7232
7233 fi
7234 if test -z "$ac_cv_prog_OTOOL64"; then
7235   ac_ct_OTOOL64=$OTOOL64
7236   # Extract the first word of "otool64", so it can be a program name with args.
7237 set dummy otool64; ac_word=$2
7238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7239 $as_echo_n "checking for $ac_word... " >&6; }
7240 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7241   $as_echo_n "(cached) " >&6
7242 else
7243   if test -n "$ac_ct_OTOOL64"; then
7244   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7245 else
7246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7247 for as_dir in $PATH
7248 do
7249   IFS=$as_save_IFS
7250   test -z "$as_dir" && as_dir=.
7251     for ac_exec_ext in '' $ac_executable_extensions; do
7252   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7253     ac_cv_prog_ac_ct_OTOOL64="otool64"
7254     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7255     break 2
7256   fi
7257 done
7258   done
7259 IFS=$as_save_IFS
7260
7261 fi
7262 fi
7263 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7264 if test -n "$ac_ct_OTOOL64"; then
7265   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7266 $as_echo "$ac_ct_OTOOL64" >&6; }
7267 else
7268   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7269 $as_echo "no" >&6; }
7270 fi
7271
7272   if test "x$ac_ct_OTOOL64" = x; then
7273     OTOOL64=":"
7274   else
7275     case $cross_compiling:$ac_tool_warned in
7276 yes:)
7277 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7278 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7279 ac_tool_warned=yes ;;
7280 esac
7281     OTOOL64=$ac_ct_OTOOL64
7282   fi
7283 else
7284   OTOOL64="$ac_cv_prog_OTOOL64"
7285 fi
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7314 $as_echo_n "checking for -single_module linker flag... " >&6; }
7315 if ${lt_cv_apple_cc_single_mod+:} false; then :
7316   $as_echo_n "(cached) " >&6
7317 else
7318   lt_cv_apple_cc_single_mod=no
7319       if test -z "${LT_MULTI_MODULE}"; then
7320         # By default we will add the -single_module flag. You can override
7321         # by either setting the environment variable LT_MULTI_MODULE
7322         # non-empty at configure time, or by adding -multi_module to the
7323         # link flags.
7324         rm -rf libconftest.dylib*
7325         echo "int foo(void){return 1;}" > conftest.c
7326         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7327 -dynamiclib -Wl,-single_module conftest.c" >&5
7328         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7329           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7330         _lt_result=$?
7331         # If there is a non-empty error log, and "single_module"
7332         # appears in it, assume the flag caused a linker warning
7333         if test -s conftest.err && $GREP single_module conftest.err; then
7334           cat conftest.err >&5
7335         # Otherwise, if the output was created with a 0 exit code from
7336         # the compiler, it worked.
7337         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7338           lt_cv_apple_cc_single_mod=yes
7339         else
7340           cat conftest.err >&5
7341         fi
7342         rm -rf libconftest.dylib*
7343         rm -f conftest.*
7344       fi
7345 fi
7346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7347 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7348
7349     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7350 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7351 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7352   $as_echo_n "(cached) " >&6
7353 else
7354   lt_cv_ld_exported_symbols_list=no
7355       save_LDFLAGS=$LDFLAGS
7356       echo "_main" > conftest.sym
7357       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7358       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7359 /* end confdefs.h.  */
7360
7361 int
7362 main ()
7363 {
7364
7365   ;
7366   return 0;
7367 }
7368 _ACEOF
7369 if ac_fn_c_try_link "$LINENO"; then :
7370   lt_cv_ld_exported_symbols_list=yes
7371 else
7372   lt_cv_ld_exported_symbols_list=no
7373 fi
7374 rm -f core conftest.err conftest.$ac_objext \
7375     conftest$ac_exeext conftest.$ac_ext
7376         LDFLAGS="$save_LDFLAGS"
7377
7378 fi
7379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7380 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7381
7382     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7383 $as_echo_n "checking for -force_load linker flag... " >&6; }
7384 if ${lt_cv_ld_force_load+:} false; then :
7385   $as_echo_n "(cached) " >&6
7386 else
7387   lt_cv_ld_force_load=no
7388       cat > conftest.c << _LT_EOF
7389 int forced_loaded() { return 2;}
7390 _LT_EOF
7391       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7392       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7393       echo "$AR cru libconftest.a conftest.o" >&5
7394       $AR cru libconftest.a conftest.o 2>&5
7395       echo "$RANLIB libconftest.a" >&5
7396       $RANLIB libconftest.a 2>&5
7397       cat > conftest.c << _LT_EOF
7398 int main() { return 0;}
7399 _LT_EOF
7400       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7401       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7402       _lt_result=$?
7403       if test -s conftest.err && $GREP force_load conftest.err; then
7404         cat conftest.err >&5
7405       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7406         lt_cv_ld_force_load=yes
7407       else
7408         cat conftest.err >&5
7409       fi
7410         rm -f conftest.err libconftest.a conftest conftest.c
7411         rm -rf conftest.dSYM
7412
7413 fi
7414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7415 $as_echo "$lt_cv_ld_force_load" >&6; }
7416     case $host_os in
7417     rhapsody* | darwin1.[012])
7418       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7419     darwin1.*)
7420       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7421     darwin*) # darwin 5.x on
7422       # if running on 10.5 or later, the deployment target defaults
7423       # to the OS version, if on x86, and 10.4, the deployment
7424       # target defaults to 10.4. Don't you love it?
7425       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7426         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7427           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7428         10.[012]*)
7429           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7430         10.*)
7431           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7432       esac
7433     ;;
7434   esac
7435     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7436       _lt_dar_single_mod='$single_module'
7437     fi
7438     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7439       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7440     else
7441       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7442     fi
7443     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7444       _lt_dsymutil='~$DSYMUTIL $lib || :'
7445     else
7446       _lt_dsymutil=
7447     fi
7448     ;;
7449   esac
7450
7451 ac_ext=c
7452 ac_cpp='$CPP $CPPFLAGS'
7453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7457 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7458 # On Suns, sometimes $CPP names a directory.
7459 if test -n "$CPP" && test -d "$CPP"; then
7460   CPP=
7461 fi
7462 if test -z "$CPP"; then
7463   if ${ac_cv_prog_CPP+:} false; then :
7464   $as_echo_n "(cached) " >&6
7465 else
7466       # Double quotes because CPP needs to be expanded
7467     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7468     do
7469       ac_preproc_ok=false
7470 for ac_c_preproc_warn_flag in '' yes
7471 do
7472   # Use a header file that comes with gcc, so configuring glibc
7473   # with a fresh cross-compiler works.
7474   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7475   # <limits.h> exists even on freestanding compilers.
7476   # On the NeXT, cc -E runs the code through the compiler's parser,
7477   # not just through cpp. "Syntax error" is here to catch this case.
7478   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7479 /* end confdefs.h.  */
7480 #ifdef __STDC__
7481 # include <limits.h>
7482 #else
7483 # include <assert.h>
7484 #endif
7485                      Syntax error
7486 _ACEOF
7487 if ac_fn_c_try_cpp "$LINENO"; then :
7488
7489 else
7490   # Broken: fails on valid input.
7491 continue
7492 fi
7493 rm -f conftest.err conftest.i conftest.$ac_ext
7494
7495   # OK, works on sane cases.  Now check whether nonexistent headers
7496   # can be detected and how.
7497   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7498 /* end confdefs.h.  */
7499 #include <ac_nonexistent.h>
7500 _ACEOF
7501 if ac_fn_c_try_cpp "$LINENO"; then :
7502   # Broken: success on invalid input.
7503 continue
7504 else
7505   # Passes both tests.
7506 ac_preproc_ok=:
7507 break
7508 fi
7509 rm -f conftest.err conftest.i conftest.$ac_ext
7510
7511 done
7512 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7513 rm -f conftest.i conftest.err conftest.$ac_ext
7514 if $ac_preproc_ok; then :
7515   break
7516 fi
7517
7518     done
7519     ac_cv_prog_CPP=$CPP
7520
7521 fi
7522   CPP=$ac_cv_prog_CPP
7523 else
7524   ac_cv_prog_CPP=$CPP
7525 fi
7526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7527 $as_echo "$CPP" >&6; }
7528 ac_preproc_ok=false
7529 for ac_c_preproc_warn_flag in '' yes
7530 do
7531   # Use a header file that comes with gcc, so configuring glibc
7532   # with a fresh cross-compiler works.
7533   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7534   # <limits.h> exists even on freestanding compilers.
7535   # On the NeXT, cc -E runs the code through the compiler's parser,
7536   # not just through cpp. "Syntax error" is here to catch this case.
7537   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7538 /* end confdefs.h.  */
7539 #ifdef __STDC__
7540 # include <limits.h>
7541 #else
7542 # include <assert.h>
7543 #endif
7544                      Syntax error
7545 _ACEOF
7546 if ac_fn_c_try_cpp "$LINENO"; then :
7547
7548 else
7549   # Broken: fails on valid input.
7550 continue
7551 fi
7552 rm -f conftest.err conftest.i conftest.$ac_ext
7553
7554   # OK, works on sane cases.  Now check whether nonexistent headers
7555   # can be detected and how.
7556   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7557 /* end confdefs.h.  */
7558 #include <ac_nonexistent.h>
7559 _ACEOF
7560 if ac_fn_c_try_cpp "$LINENO"; then :
7561   # Broken: success on invalid input.
7562 continue
7563 else
7564   # Passes both tests.
7565 ac_preproc_ok=:
7566 break
7567 fi
7568 rm -f conftest.err conftest.i conftest.$ac_ext
7569
7570 done
7571 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7572 rm -f conftest.i conftest.err conftest.$ac_ext
7573 if $ac_preproc_ok; then :
7574
7575 else
7576   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7577 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7578 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7579 See \`config.log' for more details" "$LINENO" 5; }
7580 fi
7581
7582 ac_ext=c
7583 ac_cpp='$CPP $CPPFLAGS'
7584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7587
7588
7589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7590 $as_echo_n "checking for ANSI C header files... " >&6; }
7591 if ${ac_cv_header_stdc+:} false; then :
7592   $as_echo_n "(cached) " >&6
7593 else
7594   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7595 /* end confdefs.h.  */
7596 #include <stdlib.h>
7597 #include <stdarg.h>
7598 #include <string.h>
7599 #include <float.h>
7600
7601 int
7602 main ()
7603 {
7604
7605   ;
7606   return 0;
7607 }
7608 _ACEOF
7609 if ac_fn_c_try_compile "$LINENO"; then :
7610   ac_cv_header_stdc=yes
7611 else
7612   ac_cv_header_stdc=no
7613 fi
7614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7615
7616 if test $ac_cv_header_stdc = yes; then
7617   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7618   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7619 /* end confdefs.h.  */
7620 #include <string.h>
7621
7622 _ACEOF
7623 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7624   $EGREP "memchr" >/dev/null 2>&1; then :
7625
7626 else
7627   ac_cv_header_stdc=no
7628 fi
7629 rm -f conftest*
7630
7631 fi
7632
7633 if test $ac_cv_header_stdc = yes; then
7634   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7635   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7636 /* end confdefs.h.  */
7637 #include <stdlib.h>
7638
7639 _ACEOF
7640 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7641   $EGREP "free" >/dev/null 2>&1; then :
7642
7643 else
7644   ac_cv_header_stdc=no
7645 fi
7646 rm -f conftest*
7647
7648 fi
7649
7650 if test $ac_cv_header_stdc = yes; then
7651   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7652   if test "$cross_compiling" = yes; then :
7653   :
7654 else
7655   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7656 /* end confdefs.h.  */
7657 #include <ctype.h>
7658 #include <stdlib.h>
7659 #if ((' ' & 0x0FF) == 0x020)
7660 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7661 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7662 #else
7663 # define ISLOWER(c) \
7664                    (('a' <= (c) && (c) <= 'i') \
7665                      || ('j' <= (c) && (c) <= 'r') \
7666                      || ('s' <= (c) && (c) <= 'z'))
7667 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7668 #endif
7669
7670 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7671 int
7672 main ()
7673 {
7674   int i;
7675   for (i = 0; i < 256; i++)
7676     if (XOR (islower (i), ISLOWER (i))
7677         || toupper (i) != TOUPPER (i))
7678       return 2;
7679   return 0;
7680 }
7681 _ACEOF
7682 if ac_fn_c_try_run "$LINENO"; then :
7683
7684 else
7685   ac_cv_header_stdc=no
7686 fi
7687 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7688   conftest.$ac_objext conftest.beam conftest.$ac_ext
7689 fi
7690
7691 fi
7692 fi
7693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7694 $as_echo "$ac_cv_header_stdc" >&6; }
7695 if test $ac_cv_header_stdc = yes; then
7696
7697 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7698
7699 fi
7700
7701 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7702 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7703                   inttypes.h stdint.h unistd.h
7704 do :
7705   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7706 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7707 "
7708 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7709   cat >>confdefs.h <<_ACEOF
7710 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7711 _ACEOF
7712
7713 fi
7714
7715 done
7716
7717
7718 for ac_header in dlfcn.h
7719 do :
7720   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7721 "
7722 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7723   cat >>confdefs.h <<_ACEOF
7724 #define HAVE_DLFCN_H 1
7725 _ACEOF
7726
7727 fi
7728
7729 done
7730
7731
7732
7733
7734
7735 # Set options
7736 enable_dlopen=yes
7737 # Check whether --enable-static was given.
7738 if test "${enable_static+set}" = set; then :
7739   enableval=$enable_static; p=${PACKAGE-default}
7740     case $enableval in
7741     yes) enable_static=yes ;;
7742     no) enable_static=no ;;
7743     *)
7744      enable_static=no
7745       # Look at the argument we got.  We use all the common list separators.
7746       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7747       for pkg in $enableval; do
7748         IFS="$lt_save_ifs"
7749         if test "X$pkg" = "X$p"; then
7750           enable_static=yes
7751         fi
7752       done
7753       IFS="$lt_save_ifs"
7754       ;;
7755     esac
7756 else
7757   enable_static=no
7758 fi
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770   enable_win32_dll=no
7771
7772
7773             # Check whether --enable-shared was given.
7774 if test "${enable_shared+set}" = set; then :
7775   enableval=$enable_shared; p=${PACKAGE-default}
7776     case $enableval in
7777     yes) enable_shared=yes ;;
7778     no) enable_shared=no ;;
7779     *)
7780       enable_shared=no
7781       # Look at the argument we got.  We use all the common list separators.
7782       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7783       for pkg in $enableval; do
7784         IFS="$lt_save_ifs"
7785         if test "X$pkg" = "X$p"; then
7786           enable_shared=yes
7787         fi
7788       done
7789       IFS="$lt_save_ifs"
7790       ;;
7791     esac
7792 else
7793   enable_shared=yes
7794 fi
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806 # Check whether --with-pic was given.
7807 if test "${with_pic+set}" = set; then :
7808   withval=$with_pic; lt_p=${PACKAGE-default}
7809     case $withval in
7810     yes|no) pic_mode=$withval ;;
7811     *)
7812       pic_mode=default
7813       # Look at the argument we got.  We use all the common list separators.
7814       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7815       for lt_pkg in $withval; do
7816         IFS="$lt_save_ifs"
7817         if test "X$lt_pkg" = "X$lt_p"; then
7818           pic_mode=yes
7819         fi
7820       done
7821       IFS="$lt_save_ifs"
7822       ;;
7823     esac
7824 else
7825   pic_mode=default
7826 fi
7827
7828
7829 test -z "$pic_mode" && pic_mode=default
7830
7831
7832
7833
7834
7835
7836
7837   # Check whether --enable-fast-install was given.
7838 if test "${enable_fast_install+set}" = set; then :
7839   enableval=$enable_fast_install; p=${PACKAGE-default}
7840     case $enableval in
7841     yes) enable_fast_install=yes ;;
7842     no) enable_fast_install=no ;;
7843     *)
7844       enable_fast_install=no
7845       # Look at the argument we got.  We use all the common list separators.
7846       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7847       for pkg in $enableval; do
7848         IFS="$lt_save_ifs"
7849         if test "X$pkg" = "X$p"; then
7850           enable_fast_install=yes
7851         fi
7852       done
7853       IFS="$lt_save_ifs"
7854       ;;
7855     esac
7856 else
7857   enable_fast_install=yes
7858 fi
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870 # This can be used to rebuild libtool when needed
7871 LIBTOOL_DEPS="$ltmain"
7872
7873 # Always use our own libtool.
7874 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905 test -z "$LN_S" && LN_S="ln -s"
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920 if test -n "${ZSH_VERSION+set}" ; then
7921    setopt NO_GLOB_SUBST
7922 fi
7923
7924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7925 $as_echo_n "checking for objdir... " >&6; }
7926 if ${lt_cv_objdir+:} false; then :
7927   $as_echo_n "(cached) " >&6
7928 else
7929   rm -f .libs 2>/dev/null
7930 mkdir .libs 2>/dev/null
7931 if test -d .libs; then
7932   lt_cv_objdir=.libs
7933 else
7934   # MS-DOS does not allow filenames that begin with a dot.
7935   lt_cv_objdir=_libs
7936 fi
7937 rmdir .libs 2>/dev/null
7938 fi
7939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7940 $as_echo "$lt_cv_objdir" >&6; }
7941 objdir=$lt_cv_objdir
7942
7943
7944
7945
7946
7947 cat >>confdefs.h <<_ACEOF
7948 #define LT_OBJDIR "$lt_cv_objdir/"
7949 _ACEOF
7950
7951
7952
7953
7954 case $host_os in
7955 aix3*)
7956   # AIX sometimes has problems with the GCC collect2 program.  For some
7957   # reason, if we set the COLLECT_NAMES environment variable, the problems
7958   # vanish in a puff of smoke.
7959   if test "X${COLLECT_NAMES+set}" != Xset; then
7960     COLLECT_NAMES=
7961     export COLLECT_NAMES
7962   fi
7963   ;;
7964 esac
7965
7966 # Global variables:
7967 ofile=libtool
7968 can_build_shared=yes
7969
7970 # All known linkers require a `.a' archive for static linking (except MSVC,
7971 # which needs '.lib').
7972 libext=a
7973
7974 with_gnu_ld="$lt_cv_prog_gnu_ld"
7975
7976 old_CC="$CC"
7977 old_CFLAGS="$CFLAGS"
7978
7979 # Set sane defaults for various variables
7980 test -z "$CC" && CC=cc
7981 test -z "$LTCC" && LTCC=$CC
7982 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7983 test -z "$LD" && LD=ld
7984 test -z "$ac_objext" && ac_objext=o
7985
7986 for cc_temp in $compiler""; do
7987   case $cc_temp in
7988     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7989     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7990     \-*) ;;
7991     *) break;;
7992   esac
7993 done
7994 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7995
7996
7997 # Only perform the check for file, if the check method requires it
7998 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7999 case $deplibs_check_method in
8000 file_magic*)
8001   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8002     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8003 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8004 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8005   $as_echo_n "(cached) " >&6
8006 else
8007   case $MAGIC_CMD in
8008 [\\/*] |  ?:[\\/]*)
8009   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8010   ;;
8011 *)
8012   lt_save_MAGIC_CMD="$MAGIC_CMD"
8013   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8014   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8015   for ac_dir in $ac_dummy; do
8016     IFS="$lt_save_ifs"
8017     test -z "$ac_dir" && ac_dir=.
8018     if test -f $ac_dir/${ac_tool_prefix}file; then
8019       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8020       if test -n "$file_magic_test_file"; then
8021         case $deplibs_check_method in
8022         "file_magic "*)
8023           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8024           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8025           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8026             $EGREP "$file_magic_regex" > /dev/null; then
8027             :
8028           else
8029             cat <<_LT_EOF 1>&2
8030
8031 *** Warning: the command libtool uses to detect shared libraries,
8032 *** $file_magic_cmd, produces output that libtool cannot recognize.
8033 *** The result is that libtool may fail to recognize shared libraries
8034 *** as such.  This will affect the creation of libtool libraries that
8035 *** depend on shared libraries, but programs linked with such libtool
8036 *** libraries will work regardless of this problem.  Nevertheless, you
8037 *** may want to report the problem to your system manager and/or to
8038 *** bug-libtool@gnu.org
8039
8040 _LT_EOF
8041           fi ;;
8042         esac
8043       fi
8044       break
8045     fi
8046   done
8047   IFS="$lt_save_ifs"
8048   MAGIC_CMD="$lt_save_MAGIC_CMD"
8049   ;;
8050 esac
8051 fi
8052
8053 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8054 if test -n "$MAGIC_CMD"; then
8055   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8056 $as_echo "$MAGIC_CMD" >&6; }
8057 else
8058   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8059 $as_echo "no" >&6; }
8060 fi
8061
8062
8063
8064
8065
8066 if test -z "$lt_cv_path_MAGIC_CMD"; then
8067   if test -n "$ac_tool_prefix"; then
8068     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8069 $as_echo_n "checking for file... " >&6; }
8070 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8071   $as_echo_n "(cached) " >&6
8072 else
8073   case $MAGIC_CMD in
8074 [\\/*] |  ?:[\\/]*)
8075   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8076   ;;
8077 *)
8078   lt_save_MAGIC_CMD="$MAGIC_CMD"
8079   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8080   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8081   for ac_dir in $ac_dummy; do
8082     IFS="$lt_save_ifs"
8083     test -z "$ac_dir" && ac_dir=.
8084     if test -f $ac_dir/file; then
8085       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8086       if test -n "$file_magic_test_file"; then
8087         case $deplibs_check_method in
8088         "file_magic "*)
8089           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8090           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8091           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8092             $EGREP "$file_magic_regex" > /dev/null; then
8093             :
8094           else
8095             cat <<_LT_EOF 1>&2
8096
8097 *** Warning: the command libtool uses to detect shared libraries,
8098 *** $file_magic_cmd, produces output that libtool cannot recognize.
8099 *** The result is that libtool may fail to recognize shared libraries
8100 *** as such.  This will affect the creation of libtool libraries that
8101 *** depend on shared libraries, but programs linked with such libtool
8102 *** libraries will work regardless of this problem.  Nevertheless, you
8103 *** may want to report the problem to your system manager and/or to
8104 *** bug-libtool@gnu.org
8105
8106 _LT_EOF
8107           fi ;;
8108         esac
8109       fi
8110       break
8111     fi
8112   done
8113   IFS="$lt_save_ifs"
8114   MAGIC_CMD="$lt_save_MAGIC_CMD"
8115   ;;
8116 esac
8117 fi
8118
8119 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8120 if test -n "$MAGIC_CMD"; then
8121   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8122 $as_echo "$MAGIC_CMD" >&6; }
8123 else
8124   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8125 $as_echo "no" >&6; }
8126 fi
8127
8128
8129   else
8130     MAGIC_CMD=:
8131   fi
8132 fi
8133
8134   fi
8135   ;;
8136 esac
8137
8138 # Use C for the default configuration in the libtool script
8139
8140 lt_save_CC="$CC"
8141 ac_ext=c
8142 ac_cpp='$CPP $CPPFLAGS'
8143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8146
8147
8148 # Source file extension for C test sources.
8149 ac_ext=c
8150
8151 # Object file extension for compiled C test sources.
8152 objext=o
8153 objext=$objext
8154
8155 # Code to be used in simple compile tests
8156 lt_simple_compile_test_code="int some_variable = 0;"
8157
8158 # Code to be used in simple link tests
8159 lt_simple_link_test_code='int main(){return(0);}'
8160
8161
8162
8163
8164
8165
8166
8167 # If no C compiler was specified, use CC.
8168 LTCC=${LTCC-"$CC"}
8169
8170 # If no C compiler flags were specified, use CFLAGS.
8171 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8172
8173 # Allow CC to be a program name with arguments.
8174 compiler=$CC
8175
8176 # Save the default compiler, since it gets overwritten when the other
8177 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8178 compiler_DEFAULT=$CC
8179
8180 # save warnings/boilerplate of simple test code
8181 ac_outfile=conftest.$ac_objext
8182 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8183 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8184 _lt_compiler_boilerplate=`cat conftest.err`
8185 $RM conftest*
8186
8187 ac_outfile=conftest.$ac_objext
8188 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8189 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8190 _lt_linker_boilerplate=`cat conftest.err`
8191 $RM -r conftest*
8192
8193
8194 ## CAVEAT EMPTOR:
8195 ## There is no encapsulation within the following macros, do not change
8196 ## the running order or otherwise move them around unless you know exactly
8197 ## what you are doing...
8198 if test -n "$compiler"; then
8199
8200 lt_prog_compiler_no_builtin_flag=
8201
8202 if test "$GCC" = yes; then
8203   case $cc_basename in
8204   nvcc*)
8205     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8206   *)
8207     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8208   esac
8209
8210   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8211 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8212 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8213   $as_echo_n "(cached) " >&6
8214 else
8215   lt_cv_prog_compiler_rtti_exceptions=no
8216    ac_outfile=conftest.$ac_objext
8217    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8218    lt_compiler_flag="-fno-rtti -fno-exceptions"
8219    # Insert the option either (1) after the last *FLAGS variable, or
8220    # (2) before a word containing "conftest.", or (3) at the end.
8221    # Note that $ac_compile itself does not contain backslashes and begins
8222    # with a dollar sign (not a hyphen), so the echo should work correctly.
8223    # The option is referenced via a variable to avoid confusing sed.
8224    lt_compile=`echo "$ac_compile" | $SED \
8225    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8226    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8227    -e 's:$: $lt_compiler_flag:'`
8228    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8229    (eval "$lt_compile" 2>conftest.err)
8230    ac_status=$?
8231    cat conftest.err >&5
8232    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8233    if (exit $ac_status) && test -s "$ac_outfile"; then
8234      # The compiler can only warn and ignore the option if not recognized
8235      # So say no if there are warnings other than the usual output.
8236      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8237      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8238      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8239        lt_cv_prog_compiler_rtti_exceptions=yes
8240      fi
8241    fi
8242    $RM conftest*
8243
8244 fi
8245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8246 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8247
8248 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8249     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8250 else
8251     :
8252 fi
8253
8254 fi
8255
8256
8257
8258
8259
8260
8261   lt_prog_compiler_wl=
8262 lt_prog_compiler_pic=
8263 lt_prog_compiler_static=
8264
8265
8266   if test "$GCC" = yes; then
8267     lt_prog_compiler_wl='-Wl,'
8268     lt_prog_compiler_static='-static'
8269
8270     case $host_os in
8271       aix*)
8272       # All AIX code is PIC.
8273       if test "$host_cpu" = ia64; then
8274         # AIX 5 now supports IA64 processor
8275         lt_prog_compiler_static='-Bstatic'
8276       fi
8277       ;;
8278
8279     amigaos*)
8280       case $host_cpu in
8281       powerpc)
8282             # see comment about AmigaOS4 .so support
8283             lt_prog_compiler_pic='-fPIC'
8284         ;;
8285       m68k)
8286             # FIXME: we need at least 68020 code to build shared libraries, but
8287             # adding the `-m68020' flag to GCC prevents building anything better,
8288             # like `-m68040'.
8289             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8290         ;;
8291       esac
8292       ;;
8293
8294     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8295       # PIC is the default for these OSes.
8296       ;;
8297
8298     mingw* | cygwin* | pw32* | os2* | cegcc*)
8299       # This hack is so that the source file can tell whether it is being
8300       # built for inclusion in a dll (and should export symbols for example).
8301       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8302       # (--disable-auto-import) libraries
8303       lt_prog_compiler_pic='-DDLL_EXPORT'
8304       ;;
8305
8306     darwin* | rhapsody*)
8307       # PIC is the default on this platform
8308       # Common symbols not allowed in MH_DYLIB files
8309       lt_prog_compiler_pic='-fno-common'
8310       ;;
8311
8312     haiku*)
8313       # PIC is the default for Haiku.
8314       # The "-static" flag exists, but is broken.
8315       lt_prog_compiler_static=
8316       ;;
8317
8318     hpux*)
8319       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8320       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8321       # sets the default TLS model and affects inlining.
8322       case $host_cpu in
8323       hppa*64*)
8324         # +Z the default
8325         ;;
8326       *)
8327         lt_prog_compiler_pic='-fPIC'
8328         ;;
8329       esac
8330       ;;
8331
8332     interix[3-9]*)
8333       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8334       # Instead, we relocate shared libraries at runtime.
8335       ;;
8336
8337     msdosdjgpp*)
8338       # Just because we use GCC doesn't mean we suddenly get shared libraries
8339       # on systems that don't support them.
8340       lt_prog_compiler_can_build_shared=no
8341       enable_shared=no
8342       ;;
8343
8344     *nto* | *qnx*)
8345       # QNX uses GNU C++, but need to define -shared option too, otherwise
8346       # it will coredump.
8347       lt_prog_compiler_pic='-fPIC -shared'
8348       ;;
8349
8350     sysv4*MP*)
8351       if test -d /usr/nec; then
8352         lt_prog_compiler_pic=-Kconform_pic
8353       fi
8354       ;;
8355
8356     *)
8357       lt_prog_compiler_pic='-fPIC'
8358       ;;
8359     esac
8360
8361     case $cc_basename in
8362     nvcc*) # Cuda Compiler Driver 2.2
8363       lt_prog_compiler_wl='-Xlinker '
8364       if test -n "$lt_prog_compiler_pic"; then
8365         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8366       fi
8367       ;;
8368     esac
8369   else
8370     # PORTME Check for flag to pass linker flags through the system compiler.
8371     case $host_os in
8372     aix*)
8373       lt_prog_compiler_wl='-Wl,'
8374       if test "$host_cpu" = ia64; then
8375         # AIX 5 now supports IA64 processor
8376         lt_prog_compiler_static='-Bstatic'
8377       else
8378         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8379       fi
8380       ;;
8381
8382     mingw* | cygwin* | pw32* | os2* | cegcc*)
8383       # This hack is so that the source file can tell whether it is being
8384       # built for inclusion in a dll (and should export symbols for example).
8385       lt_prog_compiler_pic='-DDLL_EXPORT'
8386       ;;
8387
8388     hpux9* | hpux10* | hpux11*)
8389       lt_prog_compiler_wl='-Wl,'
8390       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8391       # not for PA HP-UX.
8392       case $host_cpu in
8393       hppa*64*|ia64*)
8394         # +Z the default
8395         ;;
8396       *)
8397         lt_prog_compiler_pic='+Z'
8398         ;;
8399       esac
8400       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8401       lt_prog_compiler_static='${wl}-a ${wl}archive'
8402       ;;
8403
8404     irix5* | irix6* | nonstopux*)
8405       lt_prog_compiler_wl='-Wl,'
8406       # PIC (with -KPIC) is the default.
8407       lt_prog_compiler_static='-non_shared'
8408       ;;
8409
8410     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8411       case $cc_basename in
8412       # old Intel for x86_64 which still supported -KPIC.
8413       ecc*)
8414         lt_prog_compiler_wl='-Wl,'
8415         lt_prog_compiler_pic='-KPIC'
8416         lt_prog_compiler_static='-static'
8417         ;;
8418       # icc used to be incompatible with GCC.
8419       # ICC 10 doesn't accept -KPIC any more.
8420       icc* | ifort*)
8421         lt_prog_compiler_wl='-Wl,'
8422         lt_prog_compiler_pic='-fPIC'
8423         lt_prog_compiler_static='-static'
8424         ;;
8425       # Lahey Fortran 8.1.
8426       lf95*)
8427         lt_prog_compiler_wl='-Wl,'
8428         lt_prog_compiler_pic='--shared'
8429         lt_prog_compiler_static='--static'
8430         ;;
8431       nagfor*)
8432         # NAG Fortran compiler
8433         lt_prog_compiler_wl='-Wl,-Wl,,'
8434         lt_prog_compiler_pic='-PIC'
8435         lt_prog_compiler_static='-Bstatic'
8436         ;;
8437       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8438         # Portland Group compilers (*not* the Pentium gcc compiler,
8439         # which looks to be a dead project)
8440         lt_prog_compiler_wl='-Wl,'
8441         lt_prog_compiler_pic='-fpic'
8442         lt_prog_compiler_static='-Bstatic'
8443         ;;
8444       ccc*)
8445         lt_prog_compiler_wl='-Wl,'
8446         # All Alpha code is PIC.
8447         lt_prog_compiler_static='-non_shared'
8448         ;;
8449       xl* | bgxl* | bgf* | mpixl*)
8450         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8451         lt_prog_compiler_wl='-Wl,'
8452         lt_prog_compiler_pic='-qpic'
8453         lt_prog_compiler_static='-qstaticlink'
8454         ;;
8455       *)
8456         case `$CC -V 2>&1 | sed 5q` in
8457         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8458           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8459           lt_prog_compiler_pic='-KPIC'
8460           lt_prog_compiler_static='-Bstatic'
8461           lt_prog_compiler_wl=''
8462           ;;
8463         *Sun\ F* | *Sun*Fortran*)
8464           lt_prog_compiler_pic='-KPIC'
8465           lt_prog_compiler_static='-Bstatic'
8466           lt_prog_compiler_wl='-Qoption ld '
8467           ;;
8468         *Sun\ C*)
8469           # Sun C 5.9
8470           lt_prog_compiler_pic='-KPIC'
8471           lt_prog_compiler_static='-Bstatic'
8472           lt_prog_compiler_wl='-Wl,'
8473           ;;
8474         *Intel*\ [CF]*Compiler*)
8475           lt_prog_compiler_wl='-Wl,'
8476           lt_prog_compiler_pic='-fPIC'
8477           lt_prog_compiler_static='-static'
8478           ;;
8479         *Portland\ Group*)
8480           lt_prog_compiler_wl='-Wl,'
8481           lt_prog_compiler_pic='-fpic'
8482           lt_prog_compiler_static='-Bstatic'
8483           ;;
8484         esac
8485         ;;
8486       esac
8487       ;;
8488
8489     newsos6)
8490       lt_prog_compiler_pic='-KPIC'
8491       lt_prog_compiler_static='-Bstatic'
8492       ;;
8493
8494     *nto* | *qnx*)
8495       # QNX uses GNU C++, but need to define -shared option too, otherwise
8496       # it will coredump.
8497       lt_prog_compiler_pic='-fPIC -shared'
8498       ;;
8499
8500     osf3* | osf4* | osf5*)
8501       lt_prog_compiler_wl='-Wl,'
8502       # All OSF/1 code is PIC.
8503       lt_prog_compiler_static='-non_shared'
8504       ;;
8505
8506     rdos*)
8507       lt_prog_compiler_static='-non_shared'
8508       ;;
8509
8510     solaris*)
8511       lt_prog_compiler_pic='-KPIC'
8512       lt_prog_compiler_static='-Bstatic'
8513       case $cc_basename in
8514       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8515         lt_prog_compiler_wl='-Qoption ld ';;
8516       *)
8517         lt_prog_compiler_wl='-Wl,';;
8518       esac
8519       ;;
8520
8521     sunos4*)
8522       lt_prog_compiler_wl='-Qoption ld '
8523       lt_prog_compiler_pic='-PIC'
8524       lt_prog_compiler_static='-Bstatic'
8525       ;;
8526
8527     sysv4 | sysv4.2uw2* | sysv4.3*)
8528       lt_prog_compiler_wl='-Wl,'
8529       lt_prog_compiler_pic='-KPIC'
8530       lt_prog_compiler_static='-Bstatic'
8531       ;;
8532
8533     sysv4*MP*)
8534       if test -d /usr/nec ;then
8535         lt_prog_compiler_pic='-Kconform_pic'
8536         lt_prog_compiler_static='-Bstatic'
8537       fi
8538       ;;
8539
8540     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8541       lt_prog_compiler_wl='-Wl,'
8542       lt_prog_compiler_pic='-KPIC'
8543       lt_prog_compiler_static='-Bstatic'
8544       ;;
8545
8546     unicos*)
8547       lt_prog_compiler_wl='-Wl,'
8548       lt_prog_compiler_can_build_shared=no
8549       ;;
8550
8551     uts4*)
8552       lt_prog_compiler_pic='-pic'
8553       lt_prog_compiler_static='-Bstatic'
8554       ;;
8555
8556     *)
8557       lt_prog_compiler_can_build_shared=no
8558       ;;
8559     esac
8560   fi
8561
8562 case $host_os in
8563   # For platforms which do not support PIC, -DPIC is meaningless:
8564   *djgpp*)
8565     lt_prog_compiler_pic=
8566     ;;
8567   *)
8568     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8569     ;;
8570 esac
8571
8572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8573 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8574 if ${lt_cv_prog_compiler_pic+:} false; then :
8575   $as_echo_n "(cached) " >&6
8576 else
8577   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8578 fi
8579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8580 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8581 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8582
8583 #
8584 # Check to make sure the PIC flag actually works.
8585 #
8586 if test -n "$lt_prog_compiler_pic"; then
8587   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8588 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8589 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8590   $as_echo_n "(cached) " >&6
8591 else
8592   lt_cv_prog_compiler_pic_works=no
8593    ac_outfile=conftest.$ac_objext
8594    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8595    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8596    # Insert the option either (1) after the last *FLAGS variable, or
8597    # (2) before a word containing "conftest.", or (3) at the end.
8598    # Note that $ac_compile itself does not contain backslashes and begins
8599    # with a dollar sign (not a hyphen), so the echo should work correctly.
8600    # The option is referenced via a variable to avoid confusing sed.
8601    lt_compile=`echo "$ac_compile" | $SED \
8602    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8603    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8604    -e 's:$: $lt_compiler_flag:'`
8605    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8606    (eval "$lt_compile" 2>conftest.err)
8607    ac_status=$?
8608    cat conftest.err >&5
8609    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8610    if (exit $ac_status) && test -s "$ac_outfile"; then
8611      # The compiler can only warn and ignore the option if not recognized
8612      # So say no if there are warnings other than the usual output.
8613      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8614      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8615      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8616        lt_cv_prog_compiler_pic_works=yes
8617      fi
8618    fi
8619    $RM conftest*
8620
8621 fi
8622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8623 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8624
8625 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8626     case $lt_prog_compiler_pic in
8627      "" | " "*) ;;
8628      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8629      esac
8630 else
8631     lt_prog_compiler_pic=
8632      lt_prog_compiler_can_build_shared=no
8633 fi
8634
8635 fi
8636
8637
8638
8639
8640
8641
8642
8643
8644
8645
8646
8647 #
8648 # Check to make sure the static flag actually works.
8649 #
8650 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8652 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8653 if ${lt_cv_prog_compiler_static_works+:} false; then :
8654   $as_echo_n "(cached) " >&6
8655 else
8656   lt_cv_prog_compiler_static_works=no
8657    save_LDFLAGS="$LDFLAGS"
8658    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8659    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8660    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8661      # The linker can only warn and ignore the option if not recognized
8662      # So say no if there are warnings
8663      if test -s conftest.err; then
8664        # Append any errors to the config.log.
8665        cat conftest.err 1>&5
8666        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8667        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8668        if diff conftest.exp conftest.er2 >/dev/null; then
8669          lt_cv_prog_compiler_static_works=yes
8670        fi
8671      else
8672        lt_cv_prog_compiler_static_works=yes
8673      fi
8674    fi
8675    $RM -r conftest*
8676    LDFLAGS="$save_LDFLAGS"
8677
8678 fi
8679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8680 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8681
8682 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8683     :
8684 else
8685     lt_prog_compiler_static=
8686 fi
8687
8688
8689
8690
8691
8692
8693
8694   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8695 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8696 if ${lt_cv_prog_compiler_c_o+:} false; then :
8697   $as_echo_n "(cached) " >&6
8698 else
8699   lt_cv_prog_compiler_c_o=no
8700    $RM -r conftest 2>/dev/null
8701    mkdir conftest
8702    cd conftest
8703    mkdir out
8704    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8705
8706    lt_compiler_flag="-o out/conftest2.$ac_objext"
8707    # Insert the option either (1) after the last *FLAGS variable, or
8708    # (2) before a word containing "conftest.", or (3) at the end.
8709    # Note that $ac_compile itself does not contain backslashes and begins
8710    # with a dollar sign (not a hyphen), so the echo should work correctly.
8711    lt_compile=`echo "$ac_compile" | $SED \
8712    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8713    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8714    -e 's:$: $lt_compiler_flag:'`
8715    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8716    (eval "$lt_compile" 2>out/conftest.err)
8717    ac_status=$?
8718    cat out/conftest.err >&5
8719    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8720    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8721    then
8722      # The compiler can only warn and ignore the option if not recognized
8723      # So say no if there are warnings
8724      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8725      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8726      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8727        lt_cv_prog_compiler_c_o=yes
8728      fi
8729    fi
8730    chmod u+w . 2>&5
8731    $RM conftest*
8732    # SGI C++ compiler will create directory out/ii_files/ for
8733    # template instantiation
8734    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8735    $RM out/* && rmdir out
8736    cd ..
8737    $RM -r conftest
8738    $RM conftest*
8739
8740 fi
8741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8742 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8743
8744
8745
8746
8747
8748
8749   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8750 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8751 if ${lt_cv_prog_compiler_c_o+:} false; then :
8752   $as_echo_n "(cached) " >&6
8753 else
8754   lt_cv_prog_compiler_c_o=no
8755    $RM -r conftest 2>/dev/null
8756    mkdir conftest
8757    cd conftest
8758    mkdir out
8759    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8760
8761    lt_compiler_flag="-o out/conftest2.$ac_objext"
8762    # Insert the option either (1) after the last *FLAGS variable, or
8763    # (2) before a word containing "conftest.", or (3) at the end.
8764    # Note that $ac_compile itself does not contain backslashes and begins
8765    # with a dollar sign (not a hyphen), so the echo should work correctly.
8766    lt_compile=`echo "$ac_compile" | $SED \
8767    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8768    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8769    -e 's:$: $lt_compiler_flag:'`
8770    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8771    (eval "$lt_compile" 2>out/conftest.err)
8772    ac_status=$?
8773    cat out/conftest.err >&5
8774    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8775    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8776    then
8777      # The compiler can only warn and ignore the option if not recognized
8778      # So say no if there are warnings
8779      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8780      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8781      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8782        lt_cv_prog_compiler_c_o=yes
8783      fi
8784    fi
8785    chmod u+w . 2>&5
8786    $RM conftest*
8787    # SGI C++ compiler will create directory out/ii_files/ for
8788    # template instantiation
8789    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8790    $RM out/* && rmdir out
8791    cd ..
8792    $RM -r conftest
8793    $RM conftest*
8794
8795 fi
8796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8797 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8798
8799
8800
8801
8802 hard_links="nottested"
8803 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8804   # do not overwrite the value of need_locks provided by the user
8805   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8806 $as_echo_n "checking if we can lock with hard links... " >&6; }
8807   hard_links=yes
8808   $RM conftest*
8809   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8810   touch conftest.a
8811   ln conftest.a conftest.b 2>&5 || hard_links=no
8812   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8813   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8814 $as_echo "$hard_links" >&6; }
8815   if test "$hard_links" = no; then
8816     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8817 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8818     need_locks=warn
8819   fi
8820 else
8821   need_locks=no
8822 fi
8823
8824
8825
8826
8827
8828
8829   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8830 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8831
8832   runpath_var=
8833   allow_undefined_flag=
8834   always_export_symbols=no
8835   archive_cmds=
8836   archive_expsym_cmds=
8837   compiler_needs_object=no
8838   enable_shared_with_static_runtimes=no
8839   export_dynamic_flag_spec=
8840   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8841   hardcode_automatic=no
8842   hardcode_direct=no
8843   hardcode_direct_absolute=no
8844   hardcode_libdir_flag_spec=
8845   hardcode_libdir_separator=
8846   hardcode_minus_L=no
8847   hardcode_shlibpath_var=unsupported
8848   inherit_rpath=no
8849   link_all_deplibs=unknown
8850   module_cmds=
8851   module_expsym_cmds=
8852   old_archive_from_new_cmds=
8853   old_archive_from_expsyms_cmds=
8854   thread_safe_flag_spec=
8855   whole_archive_flag_spec=
8856   # include_expsyms should be a list of space-separated symbols to be *always*
8857   # included in the symbol list
8858   include_expsyms=
8859   # exclude_expsyms can be an extended regexp of symbols to exclude
8860   # it will be wrapped by ` (' and `)$', so one must not match beginning or
8861   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8862   # as well as any symbol that contains `d'.
8863   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8864   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8865   # platforms (ab)use it in PIC code, but their linkers get confused if
8866   # the symbol is explicitly referenced.  Since portable code cannot
8867   # rely on this symbol name, it's probably fine to never include it in
8868   # preloaded symbol tables.
8869   # Exclude shared library initialization/finalization symbols.
8870   extract_expsyms_cmds=
8871
8872   case $host_os in
8873   cygwin* | mingw* | pw32* | cegcc*)
8874     # FIXME: the MSVC++ port hasn't been tested in a loooong time
8875     # When not using gcc, we currently assume that we are using
8876     # Microsoft Visual C++.
8877     if test "$GCC" != yes; then
8878       with_gnu_ld=no
8879     fi
8880     ;;
8881   interix*)
8882     # we just hope/assume this is gcc and not c89 (= MSVC++)
8883     with_gnu_ld=yes
8884     ;;
8885   openbsd*)
8886     with_gnu_ld=no
8887     ;;
8888   linux* | k*bsd*-gnu | gnu*)
8889     link_all_deplibs=no
8890     ;;
8891   esac
8892
8893   ld_shlibs=yes
8894
8895   # On some targets, GNU ld is compatible enough with the native linker
8896   # that we're better off using the native interface for both.
8897   lt_use_gnu_ld_interface=no
8898   if test "$with_gnu_ld" = yes; then
8899     case $host_os in
8900       aix*)
8901         # The AIX port of GNU ld has always aspired to compatibility
8902         # with the native linker.  However, as the warning in the GNU ld
8903         # block says, versions before 2.19.5* couldn't really create working
8904         # shared libraries, regardless of the interface used.
8905         case `$LD -v 2>&1` in
8906           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8907           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8908           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8909           *)
8910             lt_use_gnu_ld_interface=yes
8911             ;;
8912         esac
8913         ;;
8914       *)
8915         lt_use_gnu_ld_interface=yes
8916         ;;
8917     esac
8918   fi
8919
8920   if test "$lt_use_gnu_ld_interface" = yes; then
8921     # If archive_cmds runs LD, not CC, wlarc should be empty
8922     wlarc='${wl}'
8923
8924     # Set some defaults for GNU ld with shared library support. These
8925     # are reset later if shared libraries are not supported. Putting them
8926     # here allows them to be overridden if necessary.
8927     runpath_var=LD_RUN_PATH
8928     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8929     export_dynamic_flag_spec='${wl}--export-dynamic'
8930     # ancient GNU ld didn't support --whole-archive et. al.
8931     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8932       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8933     else
8934       whole_archive_flag_spec=
8935     fi
8936     supports_anon_versioning=no
8937     case `$LD -v 2>&1` in
8938       *GNU\ gold*) supports_anon_versioning=yes ;;
8939       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8940       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8941       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8942       *\ 2.11.*) ;; # other 2.11 versions
8943       *) supports_anon_versioning=yes ;;
8944     esac
8945
8946     # See if GNU ld supports shared libraries.
8947     case $host_os in
8948     aix[3-9]*)
8949       # On AIX/PPC, the GNU linker is very broken
8950       if test "$host_cpu" != ia64; then
8951         ld_shlibs=no
8952         cat <<_LT_EOF 1>&2
8953
8954 *** Warning: the GNU linker, at least up to release 2.19, is reported
8955 *** to be unable to reliably create shared libraries on AIX.
8956 *** Therefore, libtool is disabling shared libraries support.  If you
8957 *** really care for shared libraries, you may want to install binutils
8958 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8959 *** You will then need to restart the configuration process.
8960
8961 _LT_EOF
8962       fi
8963       ;;
8964
8965     amigaos*)
8966       case $host_cpu in
8967       powerpc)
8968             # see comment about AmigaOS4 .so support
8969             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8970             archive_expsym_cmds=''
8971         ;;
8972       m68k)
8973             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)'
8974             hardcode_libdir_flag_spec='-L$libdir'
8975             hardcode_minus_L=yes
8976         ;;
8977       esac
8978       ;;
8979
8980     beos*)
8981       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8982         allow_undefined_flag=unsupported
8983         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8984         # support --undefined.  This deserves some investigation.  FIXME
8985         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8986       else
8987         ld_shlibs=no
8988       fi
8989       ;;
8990
8991     cygwin* | mingw* | pw32* | cegcc*)
8992       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8993       # as there is no search path for DLLs.
8994       hardcode_libdir_flag_spec='-L$libdir'
8995       export_dynamic_flag_spec='${wl}--export-all-symbols'
8996       allow_undefined_flag=unsupported
8997       always_export_symbols=no
8998       enable_shared_with_static_runtimes=yes
8999       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'
9000       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9001
9002       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9003         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9004         # If the export-symbols file already is a .def file (1st line
9005         # is EXPORTS), use it as is; otherwise, prepend...
9006         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9007           cp $export_symbols $output_objdir/$soname.def;
9008         else
9009           echo EXPORTS > $output_objdir/$soname.def;
9010           cat $export_symbols >> $output_objdir/$soname.def;
9011         fi~
9012         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9013       else
9014         ld_shlibs=no
9015       fi
9016       ;;
9017
9018     haiku*)
9019       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9020       link_all_deplibs=yes
9021       ;;
9022
9023     interix[3-9]*)
9024       hardcode_direct=no
9025       hardcode_shlibpath_var=no
9026       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9027       export_dynamic_flag_spec='${wl}-E'
9028       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9029       # Instead, shared libraries are loaded at an image base (0x10000000 by
9030       # default) and relocated if they conflict, which is a slow very memory
9031       # consuming and fragmenting process.  To avoid this, we pick a random,
9032       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9033       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9034       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9035       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'
9036       ;;
9037
9038     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9039       tmp_diet=no
9040       if test "$host_os" = linux-dietlibc; then
9041         case $cc_basename in
9042           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9043         esac
9044       fi
9045       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9046          && test "$tmp_diet" = no
9047       then
9048         tmp_addflag=' $pic_flag'
9049         tmp_sharedflag='-shared'
9050         case $cc_basename,$host_cpu in
9051         pgcc*)                          # Portland Group C compiler
9052           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'
9053           tmp_addflag=' $pic_flag'
9054           ;;
9055         pgf77* | pgf90* | pgf95* | pgfortran*)
9056                                         # Portland Group f77 and f90 compilers
9057           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'
9058           tmp_addflag=' $pic_flag -Mnomain' ;;
9059         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9060           tmp_addflag=' -i_dynamic' ;;
9061         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9062           tmp_addflag=' -i_dynamic -nofor_main' ;;
9063         ifc* | ifort*)                  # Intel Fortran compiler
9064           tmp_addflag=' -nofor_main' ;;
9065         lf95*)                          # Lahey Fortran 8.1
9066           whole_archive_flag_spec=
9067           tmp_sharedflag='--shared' ;;
9068         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9069           tmp_sharedflag='-qmkshrobj'
9070           tmp_addflag= ;;
9071         nvcc*)  # Cuda Compiler Driver 2.2
9072           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'
9073           compiler_needs_object=yes
9074           ;;
9075         esac
9076         case `$CC -V 2>&1 | sed 5q` in
9077         *Sun\ C*)                       # Sun C 5.9
9078           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'
9079           compiler_needs_object=yes
9080           tmp_sharedflag='-G' ;;
9081         *Sun\ F*)                       # Sun Fortran 8.3
9082           tmp_sharedflag='-G' ;;
9083         esac
9084         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9085
9086         if test "x$supports_anon_versioning" = xyes; then
9087           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9088             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9089             echo "local: *; };" >> $output_objdir/$libname.ver~
9090             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9091         fi
9092
9093         case $cc_basename in
9094         xlf* | bgf* | bgxlf* | mpixlf*)
9095           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9096           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9097           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9098           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9099           if test "x$supports_anon_versioning" = xyes; then
9100             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9101               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9102               echo "local: *; };" >> $output_objdir/$libname.ver~
9103               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9104           fi
9105           ;;
9106         esac
9107       else
9108         ld_shlibs=no
9109       fi
9110       ;;
9111
9112     netbsd* | netbsdelf*-gnu)
9113       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9114         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9115         wlarc=
9116       else
9117         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9118         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9119       fi
9120       ;;
9121
9122     solaris*)
9123       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9124         ld_shlibs=no
9125         cat <<_LT_EOF 1>&2
9126
9127 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9128 *** create shared libraries on Solaris systems.  Therefore, libtool
9129 *** is disabling shared libraries support.  We urge you to upgrade GNU
9130 *** binutils to release 2.9.1 or newer.  Another option is to modify
9131 *** your PATH or compiler configuration so that the native linker is
9132 *** used, and then restart.
9133
9134 _LT_EOF
9135       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9136         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9137         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9138       else
9139         ld_shlibs=no
9140       fi
9141       ;;
9142
9143     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9144       case `$LD -v 2>&1` in
9145         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9146         ld_shlibs=no
9147         cat <<_LT_EOF 1>&2
9148
9149 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9150 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9151 *** is disabling shared libraries support.  We urge you to upgrade GNU
9152 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9153 *** your PATH or compiler configuration so that the native linker is
9154 *** used, and then restart.
9155
9156 _LT_EOF
9157         ;;
9158         *)
9159           # For security reasons, it is highly recommended that you always
9160           # use absolute paths for naming shared libraries, and exclude the
9161           # DT_RUNPATH tag from executables and libraries.  But doing so
9162           # requires that you compile everything twice, which is a pain.
9163           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9164             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9165             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9166             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9167           else
9168             ld_shlibs=no
9169           fi
9170         ;;
9171       esac
9172       ;;
9173
9174     sunos4*)
9175       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9176       wlarc=
9177       hardcode_direct=yes
9178       hardcode_shlibpath_var=no
9179       ;;
9180
9181     *)
9182       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9183         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9184         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9185       else
9186         ld_shlibs=no
9187       fi
9188       ;;
9189     esac
9190
9191     if test "$ld_shlibs" = no; then
9192       runpath_var=
9193       hardcode_libdir_flag_spec=
9194       export_dynamic_flag_spec=
9195       whole_archive_flag_spec=
9196     fi
9197   else
9198     # PORTME fill in a description of your system's linker (not GNU ld)
9199     case $host_os in
9200     aix3*)
9201       allow_undefined_flag=unsupported
9202       always_export_symbols=yes
9203       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'
9204       # Note: this linker hardcodes the directories in LIBPATH if there
9205       # are no directories specified by -L.
9206       hardcode_minus_L=yes
9207       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9208         # Neither direct hardcoding nor static linking is supported with a
9209         # broken collect2.
9210         hardcode_direct=unsupported
9211       fi
9212       ;;
9213
9214     aix[4-9]*)
9215       if test "$host_cpu" = ia64; then
9216         # On IA64, the linker does run time linking by default, so we don't
9217         # have to do anything special.
9218         aix_use_runtimelinking=no
9219         exp_sym_flag='-Bexport'
9220         no_entry_flag=""
9221       else
9222         # If we're using GNU nm, then we don't want the "-C" option.
9223         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9224         # Also, AIX nm treats weak defined symbols like other global
9225         # defined symbols, whereas GNU nm marks them as "W".
9226         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9227           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'
9228         else
9229           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'
9230         fi
9231         aix_use_runtimelinking=no
9232
9233         # Test if we are trying to use run time linking or normal
9234         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9235         # need to do runtime linking.
9236         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9237           for ld_flag in $LDFLAGS; do
9238           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9239             aix_use_runtimelinking=yes
9240             break
9241           fi
9242           done
9243           ;;
9244         esac
9245
9246         exp_sym_flag='-bexport'
9247         no_entry_flag='-bnoentry'
9248       fi
9249
9250       # When large executables or shared objects are built, AIX ld can
9251       # have problems creating the table of contents.  If linking a library
9252       # or program results in "error TOC overflow" add -mminimal-toc to
9253       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9254       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9255
9256       archive_cmds=''
9257       hardcode_direct=yes
9258       hardcode_direct_absolute=yes
9259       hardcode_libdir_separator=':'
9260       link_all_deplibs=yes
9261       file_list_spec='${wl}-f,'
9262
9263       if test "$GCC" = yes; then
9264         case $host_os in aix4.[012]|aix4.[012].*)
9265         # We only want to do this on AIX 4.2 and lower, the check
9266         # below for broken collect2 doesn't work under 4.3+
9267           collect2name=`${CC} -print-prog-name=collect2`
9268           if test -f "$collect2name" &&
9269            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9270           then
9271           # We have reworked collect2
9272           :
9273           else
9274           # We have old collect2
9275           hardcode_direct=unsupported
9276           # It fails to find uninstalled libraries when the uninstalled
9277           # path is not listed in the libpath.  Setting hardcode_minus_L
9278           # to unsupported forces relinking
9279           hardcode_minus_L=yes
9280           hardcode_libdir_flag_spec='-L$libdir'
9281           hardcode_libdir_separator=
9282           fi
9283           ;;
9284         esac
9285         shared_flag='-shared'
9286         if test "$aix_use_runtimelinking" = yes; then
9287           shared_flag="$shared_flag "'${wl}-G'
9288         fi
9289         link_all_deplibs=no
9290       else
9291         # not using gcc
9292         if test "$host_cpu" = ia64; then
9293         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9294         # chokes on -Wl,-G. The following line is correct:
9295           shared_flag='-G'
9296         else
9297           if test "$aix_use_runtimelinking" = yes; then
9298             shared_flag='${wl}-G'
9299           else
9300             shared_flag='${wl}-bM:SRE'
9301           fi
9302         fi
9303       fi
9304
9305       export_dynamic_flag_spec='${wl}-bexpall'
9306       # It seems that -bexpall does not export symbols beginning with
9307       # underscore (_), so it is better to generate a list of symbols to export.
9308       always_export_symbols=yes
9309       if test "$aix_use_runtimelinking" = yes; then
9310         # Warning - without using the other runtime loading flags (-brtl),
9311         # -berok will link without error, but may produce a broken library.
9312         allow_undefined_flag='-berok'
9313         # Determine the default libpath from the value encoded in an
9314         # empty executable.
9315         if test "${lt_cv_aix_libpath+set}" = set; then
9316   aix_libpath=$lt_cv_aix_libpath
9317 else
9318   if ${lt_cv_aix_libpath_+:} false; then :
9319   $as_echo_n "(cached) " >&6
9320 else
9321   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9322 /* end confdefs.h.  */
9323
9324 int
9325 main ()
9326 {
9327
9328   ;
9329   return 0;
9330 }
9331 _ACEOF
9332 if ac_fn_c_try_link "$LINENO"; then :
9333
9334   lt_aix_libpath_sed='
9335       /Import File Strings/,/^$/ {
9336           /^0/ {
9337               s/^0  *\([^ ]*\) *$/\1/
9338               p
9339           }
9340       }'
9341   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9342   # Check for a 64-bit object if we didn't find anything.
9343   if test -z "$lt_cv_aix_libpath_"; then
9344     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9345   fi
9346 fi
9347 rm -f core conftest.err conftest.$ac_objext \
9348     conftest$ac_exeext conftest.$ac_ext
9349   if test -z "$lt_cv_aix_libpath_"; then
9350     lt_cv_aix_libpath_="/usr/lib:/lib"
9351   fi
9352
9353 fi
9354
9355   aix_libpath=$lt_cv_aix_libpath_
9356 fi
9357
9358         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9359         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"
9360       else
9361         if test "$host_cpu" = ia64; then
9362           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9363           allow_undefined_flag="-z nodefs"
9364           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"
9365         else
9366          # Determine the default libpath from the value encoded in an
9367          # empty executable.
9368          if test "${lt_cv_aix_libpath+set}" = set; then
9369   aix_libpath=$lt_cv_aix_libpath
9370 else
9371   if ${lt_cv_aix_libpath_+:} false; then :
9372   $as_echo_n "(cached) " >&6
9373 else
9374   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9375 /* end confdefs.h.  */
9376
9377 int
9378 main ()
9379 {
9380
9381   ;
9382   return 0;
9383 }
9384 _ACEOF
9385 if ac_fn_c_try_link "$LINENO"; then :
9386
9387   lt_aix_libpath_sed='
9388       /Import File Strings/,/^$/ {
9389           /^0/ {
9390               s/^0  *\([^ ]*\) *$/\1/
9391               p
9392           }
9393       }'
9394   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9395   # Check for a 64-bit object if we didn't find anything.
9396   if test -z "$lt_cv_aix_libpath_"; then
9397     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9398   fi
9399 fi
9400 rm -f core conftest.err conftest.$ac_objext \
9401     conftest$ac_exeext conftest.$ac_ext
9402   if test -z "$lt_cv_aix_libpath_"; then
9403     lt_cv_aix_libpath_="/usr/lib:/lib"
9404   fi
9405
9406 fi
9407
9408   aix_libpath=$lt_cv_aix_libpath_
9409 fi
9410
9411          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9412           # Warning - without using the other run time loading flags,
9413           # -berok will link without error, but may produce a broken library.
9414           no_undefined_flag=' ${wl}-bernotok'
9415           allow_undefined_flag=' ${wl}-berok'
9416           if test "$with_gnu_ld" = yes; then
9417             # We only use this code for GNU lds that support --whole-archive.
9418             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9419           else
9420             # Exported symbols can be pulled into shared objects from archives
9421             whole_archive_flag_spec='$convenience'
9422           fi
9423           archive_cmds_need_lc=yes
9424           # This is similar to how AIX traditionally builds its shared libraries.
9425           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'
9426         fi
9427       fi
9428       ;;
9429
9430     amigaos*)
9431       case $host_cpu in
9432       powerpc)
9433             # see comment about AmigaOS4 .so support
9434             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9435             archive_expsym_cmds=''
9436         ;;
9437       m68k)
9438             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)'
9439             hardcode_libdir_flag_spec='-L$libdir'
9440             hardcode_minus_L=yes
9441         ;;
9442       esac
9443       ;;
9444
9445     bsdi[45]*)
9446       export_dynamic_flag_spec=-rdynamic
9447       ;;
9448
9449     cygwin* | mingw* | pw32* | cegcc*)
9450       # When not using gcc, we currently assume that we are using
9451       # Microsoft Visual C++.
9452       # hardcode_libdir_flag_spec is actually meaningless, as there is
9453       # no search path for DLLs.
9454       case $cc_basename in
9455       cl*)
9456         # Native MSVC
9457         hardcode_libdir_flag_spec=' '
9458         allow_undefined_flag=unsupported
9459         always_export_symbols=yes
9460         file_list_spec='@'
9461         # Tell ltmain to make .lib files, not .a files.
9462         libext=lib
9463         # Tell ltmain to make .dll files, not .so files.
9464         shrext_cmds=".dll"
9465         # FIXME: Setting linknames here is a bad hack.
9466         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9467         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9468             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9469           else
9470             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9471           fi~
9472           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9473           linknames='
9474         # The linker will not automatically build a static lib if we build a DLL.
9475         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9476         enable_shared_with_static_runtimes=yes
9477         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9478         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9479         # Don't use ranlib
9480         old_postinstall_cmds='chmod 644 $oldlib'
9481         postlink_cmds='lt_outputfile="@OUTPUT@"~
9482           lt_tool_outputfile="@TOOL_OUTPUT@"~
9483           case $lt_outputfile in
9484             *.exe|*.EXE) ;;
9485             *)
9486               lt_outputfile="$lt_outputfile.exe"
9487               lt_tool_outputfile="$lt_tool_outputfile.exe"
9488               ;;
9489           esac~
9490           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9491             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9492             $RM "$lt_outputfile.manifest";
9493           fi'
9494         ;;
9495       *)
9496         # Assume MSVC wrapper
9497         hardcode_libdir_flag_spec=' '
9498         allow_undefined_flag=unsupported
9499         # Tell ltmain to make .lib files, not .a files.
9500         libext=lib
9501         # Tell ltmain to make .dll files, not .so files.
9502         shrext_cmds=".dll"
9503         # FIXME: Setting linknames here is a bad hack.
9504         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9505         # The linker will automatically build a .lib file if we build a DLL.
9506         old_archive_from_new_cmds='true'
9507         # FIXME: Should let the user specify the lib program.
9508         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9509         enable_shared_with_static_runtimes=yes
9510         ;;
9511       esac
9512       ;;
9513
9514     darwin* | rhapsody*)
9515
9516
9517   archive_cmds_need_lc=no
9518   hardcode_direct=no
9519   hardcode_automatic=yes
9520   hardcode_shlibpath_var=unsupported
9521   if test "$lt_cv_ld_force_load" = "yes"; then
9522     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\"`'
9523
9524   else
9525     whole_archive_flag_spec=''
9526   fi
9527   link_all_deplibs=yes
9528   allow_undefined_flag="$_lt_dar_allow_undefined"
9529   case $cc_basename in
9530      ifort*) _lt_dar_can_shared=yes ;;
9531      *) _lt_dar_can_shared=$GCC ;;
9532   esac
9533   if test "$_lt_dar_can_shared" = "yes"; then
9534     output_verbose_link_cmd=func_echo_all
9535     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9536     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9537     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}"
9538     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}"
9539
9540   else
9541   ld_shlibs=no
9542   fi
9543
9544       ;;
9545
9546     dgux*)
9547       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9548       hardcode_libdir_flag_spec='-L$libdir'
9549       hardcode_shlibpath_var=no
9550       ;;
9551
9552     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9553     # support.  Future versions do this automatically, but an explicit c++rt0.o
9554     # does not break anything, and helps significantly (at the cost of a little
9555     # extra space).
9556     freebsd2.2*)
9557       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9558       hardcode_libdir_flag_spec='-R$libdir'
9559       hardcode_direct=yes
9560       hardcode_shlibpath_var=no
9561       ;;
9562
9563     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9564     freebsd2.*)
9565       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9566       hardcode_direct=yes
9567       hardcode_minus_L=yes
9568       hardcode_shlibpath_var=no
9569       ;;
9570
9571     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9572     freebsd* | dragonfly*)
9573       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9574       hardcode_libdir_flag_spec='-R$libdir'
9575       hardcode_direct=yes
9576       hardcode_shlibpath_var=no
9577       ;;
9578
9579     hpux9*)
9580       if test "$GCC" = yes; then
9581         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'
9582       else
9583         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'
9584       fi
9585       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9586       hardcode_libdir_separator=:
9587       hardcode_direct=yes
9588
9589       # hardcode_minus_L: Not really in the search PATH,
9590       # but as the default location of the library.
9591       hardcode_minus_L=yes
9592       export_dynamic_flag_spec='${wl}-E'
9593       ;;
9594
9595     hpux10*)
9596       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9597         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9598       else
9599         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9600       fi
9601       if test "$with_gnu_ld" = no; then
9602         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9603         hardcode_libdir_separator=:
9604         hardcode_direct=yes
9605         hardcode_direct_absolute=yes
9606         export_dynamic_flag_spec='${wl}-E'
9607         # hardcode_minus_L: Not really in the search PATH,
9608         # but as the default location of the library.
9609         hardcode_minus_L=yes
9610       fi
9611       ;;
9612
9613     hpux11*)
9614       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9615         case $host_cpu in
9616         hppa*64*)
9617           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9618           ;;
9619         ia64*)
9620           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9621           ;;
9622         *)
9623           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9624           ;;
9625         esac
9626       else
9627         case $host_cpu in
9628         hppa*64*)
9629           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9630           ;;
9631         ia64*)
9632           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9633           ;;
9634         *)
9635
9636           # Older versions of the 11.00 compiler do not understand -b yet
9637           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9638           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9639 $as_echo_n "checking if $CC understands -b... " >&6; }
9640 if ${lt_cv_prog_compiler__b+:} false; then :
9641   $as_echo_n "(cached) " >&6
9642 else
9643   lt_cv_prog_compiler__b=no
9644    save_LDFLAGS="$LDFLAGS"
9645    LDFLAGS="$LDFLAGS -b"
9646    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9647    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9648      # The linker can only warn and ignore the option if not recognized
9649      # So say no if there are warnings
9650      if test -s conftest.err; then
9651        # Append any errors to the config.log.
9652        cat conftest.err 1>&5
9653        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9654        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9655        if diff conftest.exp conftest.er2 >/dev/null; then
9656          lt_cv_prog_compiler__b=yes
9657        fi
9658      else
9659        lt_cv_prog_compiler__b=yes
9660      fi
9661    fi
9662    $RM -r conftest*
9663    LDFLAGS="$save_LDFLAGS"
9664
9665 fi
9666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9667 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9668
9669 if test x"$lt_cv_prog_compiler__b" = xyes; then
9670     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9671 else
9672     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9673 fi
9674
9675           ;;
9676         esac
9677       fi
9678       if test "$with_gnu_ld" = no; then
9679         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9680         hardcode_libdir_separator=:
9681
9682         case $host_cpu in
9683         hppa*64*|ia64*)
9684           hardcode_direct=no
9685           hardcode_shlibpath_var=no
9686           ;;
9687         *)
9688           hardcode_direct=yes
9689           hardcode_direct_absolute=yes
9690           export_dynamic_flag_spec='${wl}-E'
9691
9692           # hardcode_minus_L: Not really in the search PATH,
9693           # but as the default location of the library.
9694           hardcode_minus_L=yes
9695           ;;
9696         esac
9697       fi
9698       ;;
9699
9700     irix5* | irix6* | nonstopux*)
9701       if test "$GCC" = yes; then
9702         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'
9703         # Try to use the -exported_symbol ld option, if it does not
9704         # work, assume that -exports_file does not work either and
9705         # implicitly export all symbols.
9706         # This should be the same for all languages, so no per-tag cache variable.
9707         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9708 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9709 if ${lt_cv_irix_exported_symbol+:} false; then :
9710   $as_echo_n "(cached) " >&6
9711 else
9712   save_LDFLAGS="$LDFLAGS"
9713            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9714            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9715 /* end confdefs.h.  */
9716 int foo (void) { return 0; }
9717 _ACEOF
9718 if ac_fn_c_try_link "$LINENO"; then :
9719   lt_cv_irix_exported_symbol=yes
9720 else
9721   lt_cv_irix_exported_symbol=no
9722 fi
9723 rm -f core conftest.err conftest.$ac_objext \
9724     conftest$ac_exeext conftest.$ac_ext
9725            LDFLAGS="$save_LDFLAGS"
9726 fi
9727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9728 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9729         if test "$lt_cv_irix_exported_symbol" = yes; then
9730           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'
9731         fi
9732       else
9733         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'
9734         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'
9735       fi
9736       archive_cmds_need_lc='no'
9737       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9738       hardcode_libdir_separator=:
9739       inherit_rpath=yes
9740       link_all_deplibs=yes
9741       ;;
9742
9743     netbsd* | netbsdelf*-gnu)
9744       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9745         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9746       else
9747         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9748       fi
9749       hardcode_libdir_flag_spec='-R$libdir'
9750       hardcode_direct=yes
9751       hardcode_shlibpath_var=no
9752       ;;
9753
9754     newsos6)
9755       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9756       hardcode_direct=yes
9757       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9758       hardcode_libdir_separator=:
9759       hardcode_shlibpath_var=no
9760       ;;
9761
9762     *nto* | *qnx*)
9763       ;;
9764
9765     openbsd*)
9766       if test -f /usr/libexec/ld.so; then
9767         hardcode_direct=yes
9768         hardcode_shlibpath_var=no
9769         hardcode_direct_absolute=yes
9770         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9771           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9772           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9773           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9774           export_dynamic_flag_spec='${wl}-E'
9775         else
9776           case $host_os in
9777            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9778              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9779              hardcode_libdir_flag_spec='-R$libdir'
9780              ;;
9781            *)
9782              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9783              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9784              ;;
9785           esac
9786         fi
9787       else
9788         ld_shlibs=no
9789       fi
9790       ;;
9791
9792     os2*)
9793       hardcode_libdir_flag_spec='-L$libdir'
9794       hardcode_minus_L=yes
9795       allow_undefined_flag=unsupported
9796       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'
9797       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9798       ;;
9799
9800     osf3*)
9801       if test "$GCC" = yes; then
9802         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9803         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'
9804       else
9805         allow_undefined_flag=' -expect_unresolved \*'
9806         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'
9807       fi
9808       archive_cmds_need_lc='no'
9809       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9810       hardcode_libdir_separator=:
9811       ;;
9812
9813     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9814       if test "$GCC" = yes; then
9815         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9816         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'
9817         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9818       else
9819         allow_undefined_flag=' -expect_unresolved \*'
9820         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'
9821         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~
9822         $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'
9823
9824         # Both c and cxx compiler support -rpath directly
9825         hardcode_libdir_flag_spec='-rpath $libdir'
9826       fi
9827       archive_cmds_need_lc='no'
9828       hardcode_libdir_separator=:
9829       ;;
9830
9831     solaris*)
9832       no_undefined_flag=' -z defs'
9833       if test "$GCC" = yes; then
9834         wlarc='${wl}'
9835         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9836         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9837           $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'
9838       else
9839         case `$CC -V 2>&1` in
9840         *"Compilers 5.0"*)
9841           wlarc=''
9842           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9843           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9844           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9845           ;;
9846         *)
9847           wlarc='${wl}'
9848           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9849           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9850           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9851           ;;
9852         esac
9853       fi
9854       hardcode_libdir_flag_spec='-R$libdir'
9855       hardcode_shlibpath_var=no
9856       case $host_os in
9857       solaris2.[0-5] | solaris2.[0-5].*) ;;
9858       *)
9859         # The compiler driver will combine and reorder linker options,
9860         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9861         # but is careful enough not to reorder.
9862         # Supported since Solaris 2.6 (maybe 2.5.1?)
9863         if test "$GCC" = yes; then
9864           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9865         else
9866           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9867         fi
9868         ;;
9869       esac
9870       link_all_deplibs=yes
9871       ;;
9872
9873     sunos4*)
9874       if test "x$host_vendor" = xsequent; then
9875         # Use $CC to link under sequent, because it throws in some extra .o
9876         # files that make .init and .fini sections work.
9877         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9878       else
9879         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9880       fi
9881       hardcode_libdir_flag_spec='-L$libdir'
9882       hardcode_direct=yes
9883       hardcode_minus_L=yes
9884       hardcode_shlibpath_var=no
9885       ;;
9886
9887     sysv4)
9888       case $host_vendor in
9889         sni)
9890           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9891           hardcode_direct=yes # is this really true???
9892         ;;
9893         siemens)
9894           ## LD is ld it makes a PLAMLIB
9895           ## CC just makes a GrossModule.
9896           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9897           reload_cmds='$CC -r -o $output$reload_objs'
9898           hardcode_direct=no
9899         ;;
9900         motorola)
9901           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9902           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9903         ;;
9904       esac
9905       runpath_var='LD_RUN_PATH'
9906       hardcode_shlibpath_var=no
9907       ;;
9908
9909     sysv4.3*)
9910       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9911       hardcode_shlibpath_var=no
9912       export_dynamic_flag_spec='-Bexport'
9913       ;;
9914
9915     sysv4*MP*)
9916       if test -d /usr/nec; then
9917         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9918         hardcode_shlibpath_var=no
9919         runpath_var=LD_RUN_PATH
9920         hardcode_runpath_var=yes
9921         ld_shlibs=yes
9922       fi
9923       ;;
9924
9925     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9926       no_undefined_flag='${wl}-z,text'
9927       archive_cmds_need_lc=no
9928       hardcode_shlibpath_var=no
9929       runpath_var='LD_RUN_PATH'
9930
9931       if test "$GCC" = yes; then
9932         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9933         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9934       else
9935         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9936         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9937       fi
9938       ;;
9939
9940     sysv5* | sco3.2v5* | sco5v6*)
9941       # Note: We can NOT use -z defs as we might desire, because we do not
9942       # link with -lc, and that would cause any symbols used from libc to
9943       # always be unresolved, which means just about no library would
9944       # ever link correctly.  If we're not using GNU ld we use -z text
9945       # though, which does catch some bad symbols but isn't as heavy-handed
9946       # as -z defs.
9947       no_undefined_flag='${wl}-z,text'
9948       allow_undefined_flag='${wl}-z,nodefs'
9949       archive_cmds_need_lc=no
9950       hardcode_shlibpath_var=no
9951       hardcode_libdir_flag_spec='${wl}-R,$libdir'
9952       hardcode_libdir_separator=':'
9953       link_all_deplibs=yes
9954       export_dynamic_flag_spec='${wl}-Bexport'
9955       runpath_var='LD_RUN_PATH'
9956
9957       if test "$GCC" = yes; then
9958         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9959         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9960       else
9961         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9962         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9963       fi
9964       ;;
9965
9966     uts4*)
9967       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9968       hardcode_libdir_flag_spec='-L$libdir'
9969       hardcode_shlibpath_var=no
9970       ;;
9971
9972     *)
9973       ld_shlibs=no
9974       ;;
9975     esac
9976
9977     if test x$host_vendor = xsni; then
9978       case $host in
9979       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9980         export_dynamic_flag_spec='${wl}-Blargedynsym'
9981         ;;
9982       esac
9983     fi
9984   fi
9985
9986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9987 $as_echo "$ld_shlibs" >&6; }
9988 test "$ld_shlibs" = no && can_build_shared=no
9989
9990 with_gnu_ld=$with_gnu_ld
9991
9992
9993
9994
9995
9996
9997
9998
9999
10000
10001
10002
10003
10004
10005
10006 #
10007 # Do we need to explicitly link libc?
10008 #
10009 case "x$archive_cmds_need_lc" in
10010 x|xyes)
10011   # Assume -lc should be added
10012   archive_cmds_need_lc=yes
10013
10014   if test "$enable_shared" = yes && test "$GCC" = yes; then
10015     case $archive_cmds in
10016     *'~'*)
10017       # FIXME: we may have to deal with multi-command sequences.
10018       ;;
10019     '$CC '*)
10020       # Test whether the compiler implicitly links with -lc since on some
10021       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10022       # to ld, don't add -lc before -lgcc.
10023       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10024 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10025 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10026   $as_echo_n "(cached) " >&6
10027 else
10028   $RM conftest*
10029         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10030
10031         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10032   (eval $ac_compile) 2>&5
10033   ac_status=$?
10034   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10035   test $ac_status = 0; } 2>conftest.err; then
10036           soname=conftest
10037           lib=conftest
10038           libobjs=conftest.$ac_objext
10039           deplibs=
10040           wl=$lt_prog_compiler_wl
10041           pic_flag=$lt_prog_compiler_pic
10042           compiler_flags=-v
10043           linker_flags=-v
10044           verstring=
10045           output_objdir=.
10046           libname=conftest
10047           lt_save_allow_undefined_flag=$allow_undefined_flag
10048           allow_undefined_flag=
10049           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10050   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10051   ac_status=$?
10052   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10053   test $ac_status = 0; }
10054           then
10055             lt_cv_archive_cmds_need_lc=no
10056           else
10057             lt_cv_archive_cmds_need_lc=yes
10058           fi
10059           allow_undefined_flag=$lt_save_allow_undefined_flag
10060         else
10061           cat conftest.err 1>&5
10062         fi
10063         $RM conftest*
10064
10065 fi
10066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10067 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10068       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10069       ;;
10070     esac
10071   fi
10072   ;;
10073 esac
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
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   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10227 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10228
10229 if test "$GCC" = yes; then
10230   case $host_os in
10231     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10232     *) lt_awk_arg="/^libraries:/" ;;
10233   esac
10234   case $host_os in
10235     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10236     *) lt_sed_strip_eq="s,=/,/,g" ;;
10237   esac
10238   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10239   case $lt_search_path_spec in
10240   *\;*)
10241     # if the path contains ";" then we assume it to be the separator
10242     # otherwise default to the standard path separator (i.e. ":") - it is
10243     # assumed that no part of a normal pathname contains ";" but that should
10244     # okay in the real world where ";" in dirpaths is itself problematic.
10245     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10246     ;;
10247   *)
10248     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10249     ;;
10250   esac
10251   # Ok, now we have the path, separated by spaces, we can step through it
10252   # and add multilib dir if necessary.
10253   lt_tmp_lt_search_path_spec=
10254   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10255   for lt_sys_path in $lt_search_path_spec; do
10256     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10257       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10258     else
10259       test -d "$lt_sys_path" && \
10260         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10261     fi
10262   done
10263   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10264 BEGIN {RS=" "; FS="/|\n";} {
10265   lt_foo="";
10266   lt_count=0;
10267   for (lt_i = NF; lt_i > 0; lt_i--) {
10268     if ($lt_i != "" && $lt_i != ".") {
10269       if ($lt_i == "..") {
10270         lt_count++;
10271       } else {
10272         if (lt_count == 0) {
10273           lt_foo="/" $lt_i lt_foo;
10274         } else {
10275           lt_count--;
10276         }
10277       }
10278     }
10279   }
10280   if (lt_foo != "") { lt_freq[lt_foo]++; }
10281   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10282 }'`
10283   # AWK program above erroneously prepends '/' to C:/dos/paths
10284   # for these hosts.
10285   case $host_os in
10286     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10287       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10288   esac
10289   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10290 else
10291   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10292 fi
10293 library_names_spec=
10294 libname_spec='lib$name'
10295 soname_spec=
10296 shrext_cmds=".so"
10297 postinstall_cmds=
10298 postuninstall_cmds=
10299 finish_cmds=
10300 finish_eval=
10301 shlibpath_var=
10302 shlibpath_overrides_runpath=unknown
10303 version_type=none
10304 dynamic_linker="$host_os ld.so"
10305 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10306 need_lib_prefix=unknown
10307 hardcode_into_libs=no
10308
10309 # when you set need_version to no, make sure it does not cause -set_version
10310 # flags to be left without arguments
10311 need_version=unknown
10312
10313 case $host_os in
10314 aix3*)
10315   version_type=linux # correct to gnu/linux during the next big refactor
10316   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10317   shlibpath_var=LIBPATH
10318
10319   # AIX 3 has no versioning support, so we append a major version to the name.
10320   soname_spec='${libname}${release}${shared_ext}$major'
10321   ;;
10322
10323 aix[4-9]*)
10324   version_type=linux # correct to gnu/linux during the next big refactor
10325   need_lib_prefix=no
10326   need_version=no
10327   hardcode_into_libs=yes
10328   if test "$host_cpu" = ia64; then
10329     # AIX 5 supports IA64
10330     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10331     shlibpath_var=LD_LIBRARY_PATH
10332   else
10333     # With GCC up to 2.95.x, collect2 would create an import file
10334     # for dependence libraries.  The import file would start with
10335     # the line `#! .'.  This would cause the generated library to
10336     # depend on `.', always an invalid library.  This was fixed in
10337     # development snapshots of GCC prior to 3.0.
10338     case $host_os in
10339       aix4 | aix4.[01] | aix4.[01].*)
10340       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10341            echo ' yes '
10342            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10343         :
10344       else
10345         can_build_shared=no
10346       fi
10347       ;;
10348     esac
10349     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10350     # soname into executable. Probably we can add versioning support to
10351     # collect2, so additional links can be useful in future.
10352     if test "$aix_use_runtimelinking" = yes; then
10353       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10354       # instead of lib<name>.a to let people know that these are not
10355       # typical AIX shared libraries.
10356       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10357     else
10358       # We preserve .a as extension for shared libraries through AIX4.2
10359       # and later when we are not doing run time linking.
10360       library_names_spec='${libname}${release}.a $libname.a'
10361       soname_spec='${libname}${release}${shared_ext}$major'
10362     fi
10363     shlibpath_var=LIBPATH
10364   fi
10365   ;;
10366
10367 amigaos*)
10368   case $host_cpu in
10369   powerpc)
10370     # Since July 2007 AmigaOS4 officially supports .so libraries.
10371     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10372     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10373     ;;
10374   m68k)
10375     library_names_spec='$libname.ixlibrary $libname.a'
10376     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10377     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'
10378     ;;
10379   esac
10380   ;;
10381
10382 beos*)
10383   library_names_spec='${libname}${shared_ext}'
10384   dynamic_linker="$host_os ld.so"
10385   shlibpath_var=LIBRARY_PATH
10386   ;;
10387
10388 bsdi[45]*)
10389   version_type=linux # correct to gnu/linux during the next big refactor
10390   need_version=no
10391   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10392   soname_spec='${libname}${release}${shared_ext}$major'
10393   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10394   shlibpath_var=LD_LIBRARY_PATH
10395   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10396   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10397   # the default ld.so.conf also contains /usr/contrib/lib and
10398   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10399   # libtool to hard-code these into programs
10400   ;;
10401
10402 cygwin* | mingw* | pw32* | cegcc*)
10403   version_type=windows
10404   shrext_cmds=".dll"
10405   need_version=no
10406   need_lib_prefix=no
10407
10408   case $GCC,$cc_basename in
10409   yes,*)
10410     # gcc
10411     library_names_spec='$libname.dll.a'
10412     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10413     postinstall_cmds='base_file=`basename \${file}`~
10414       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10415       dldir=$destdir/`dirname \$dlpath`~
10416       test -d \$dldir || mkdir -p \$dldir~
10417       $install_prog $dir/$dlname \$dldir/$dlname~
10418       chmod a+x \$dldir/$dlname~
10419       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10420         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10421       fi'
10422     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10423       dlpath=$dir/\$dldll~
10424        $RM \$dlpath'
10425     shlibpath_overrides_runpath=yes
10426
10427     case $host_os in
10428     cygwin*)
10429       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10430       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10431
10432       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10433       ;;
10434     mingw* | cegcc*)
10435       # MinGW DLLs use traditional 'lib' prefix
10436       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10437       ;;
10438     pw32*)
10439       # pw32 DLLs use 'pw' prefix rather than 'lib'
10440       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10441       ;;
10442     esac
10443     dynamic_linker='Win32 ld.exe'
10444     ;;
10445
10446   *,cl*)
10447     # Native MSVC
10448     libname_spec='$name'
10449     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10450     library_names_spec='${libname}.dll.lib'
10451
10452     case $build_os in
10453     mingw*)
10454       sys_lib_search_path_spec=
10455       lt_save_ifs=$IFS
10456       IFS=';'
10457       for lt_path in $LIB
10458       do
10459         IFS=$lt_save_ifs
10460         # Let DOS variable expansion print the short 8.3 style file name.
10461         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10462         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10463       done
10464       IFS=$lt_save_ifs
10465       # Convert to MSYS style.
10466       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10467       ;;
10468     cygwin*)
10469       # Convert to unix form, then to dos form, then back to unix form
10470       # but this time dos style (no spaces!) so that the unix form looks
10471       # like /cygdrive/c/PROGRA~1:/cygdr...
10472       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10473       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10474       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10475       ;;
10476     *)
10477       sys_lib_search_path_spec="$LIB"
10478       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10479         # It is most probably a Windows format PATH.
10480         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10481       else
10482         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10483       fi
10484       # FIXME: find the short name or the path components, as spaces are
10485       # common. (e.g. "Program Files" -> "PROGRA~1")
10486       ;;
10487     esac
10488
10489     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10490     postinstall_cmds='base_file=`basename \${file}`~
10491       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10492       dldir=$destdir/`dirname \$dlpath`~
10493       test -d \$dldir || mkdir -p \$dldir~
10494       $install_prog $dir/$dlname \$dldir/$dlname'
10495     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10496       dlpath=$dir/\$dldll~
10497        $RM \$dlpath'
10498     shlibpath_overrides_runpath=yes
10499     dynamic_linker='Win32 link.exe'
10500     ;;
10501
10502   *)
10503     # Assume MSVC wrapper
10504     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10505     dynamic_linker='Win32 ld.exe'
10506     ;;
10507   esac
10508   # FIXME: first we should search . and the directory the executable is in
10509   shlibpath_var=PATH
10510   ;;
10511
10512 darwin* | rhapsody*)
10513   dynamic_linker="$host_os dyld"
10514   version_type=darwin
10515   need_lib_prefix=no
10516   need_version=no
10517   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10518   soname_spec='${libname}${release}${major}$shared_ext'
10519   shlibpath_overrides_runpath=yes
10520   shlibpath_var=DYLD_LIBRARY_PATH
10521   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10522
10523   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10524   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10525   ;;
10526
10527 dgux*)
10528   version_type=linux # correct to gnu/linux during the next big refactor
10529   need_lib_prefix=no
10530   need_version=no
10531   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10532   soname_spec='${libname}${release}${shared_ext}$major'
10533   shlibpath_var=LD_LIBRARY_PATH
10534   ;;
10535
10536 freebsd* | dragonfly*)
10537   # DragonFly does not have aout.  When/if they implement a new
10538   # versioning mechanism, adjust this.
10539   if test -x /usr/bin/objformat; then
10540     objformat=`/usr/bin/objformat`
10541   else
10542     case $host_os in
10543     freebsd[23].*) objformat=aout ;;
10544     *) objformat=elf ;;
10545     esac
10546   fi
10547   version_type=freebsd-$objformat
10548   case $version_type in
10549     freebsd-elf*)
10550       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10551       need_version=no
10552       need_lib_prefix=no
10553       ;;
10554     freebsd-*)
10555       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10556       need_version=yes
10557       ;;
10558   esac
10559   shlibpath_var=LD_LIBRARY_PATH
10560   case $host_os in
10561   freebsd2.*)
10562     shlibpath_overrides_runpath=yes
10563     ;;
10564   freebsd3.[01]* | freebsdelf3.[01]*)
10565     shlibpath_overrides_runpath=yes
10566     hardcode_into_libs=yes
10567     ;;
10568   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10569   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10570     shlibpath_overrides_runpath=no
10571     hardcode_into_libs=yes
10572     ;;
10573   *) # from 4.6 on, and DragonFly
10574     shlibpath_overrides_runpath=yes
10575     hardcode_into_libs=yes
10576     ;;
10577   esac
10578   ;;
10579
10580 gnu*)
10581   version_type=linux # correct to gnu/linux during the next big refactor
10582   need_lib_prefix=no
10583   need_version=no
10584   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10585   soname_spec='${libname}${release}${shared_ext}$major'
10586   shlibpath_var=LD_LIBRARY_PATH
10587   shlibpath_overrides_runpath=no
10588   hardcode_into_libs=yes
10589   ;;
10590
10591 haiku*)
10592   version_type=linux # correct to gnu/linux during the next big refactor
10593   need_lib_prefix=no
10594   need_version=no
10595   dynamic_linker="$host_os runtime_loader"
10596   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10597   soname_spec='${libname}${release}${shared_ext}$major'
10598   shlibpath_var=LIBRARY_PATH
10599   shlibpath_overrides_runpath=yes
10600   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10601   hardcode_into_libs=yes
10602   ;;
10603
10604 hpux9* | hpux10* | hpux11*)
10605   # Give a soname corresponding to the major version so that dld.sl refuses to
10606   # link against other versions.
10607   version_type=sunos
10608   need_lib_prefix=no
10609   need_version=no
10610   case $host_cpu in
10611   ia64*)
10612     shrext_cmds='.so'
10613     hardcode_into_libs=yes
10614     dynamic_linker="$host_os dld.so"
10615     shlibpath_var=LD_LIBRARY_PATH
10616     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10617     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10618     soname_spec='${libname}${release}${shared_ext}$major'
10619     if test "X$HPUX_IA64_MODE" = X32; then
10620       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10621     else
10622       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10623     fi
10624     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10625     ;;
10626   hppa*64*)
10627     shrext_cmds='.sl'
10628     hardcode_into_libs=yes
10629     dynamic_linker="$host_os dld.sl"
10630     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10631     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10632     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10633     soname_spec='${libname}${release}${shared_ext}$major'
10634     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10635     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10636     ;;
10637   *)
10638     shrext_cmds='.sl'
10639     dynamic_linker="$host_os dld.sl"
10640     shlibpath_var=SHLIB_PATH
10641     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10642     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10643     soname_spec='${libname}${release}${shared_ext}$major'
10644     ;;
10645   esac
10646   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10647   postinstall_cmds='chmod 555 $lib'
10648   # or fails outright, so override atomically:
10649   install_override_mode=555
10650   ;;
10651
10652 interix[3-9]*)
10653   version_type=linux # correct to gnu/linux during the next big refactor
10654   need_lib_prefix=no
10655   need_version=no
10656   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10657   soname_spec='${libname}${release}${shared_ext}$major'
10658   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10659   shlibpath_var=LD_LIBRARY_PATH
10660   shlibpath_overrides_runpath=no
10661   hardcode_into_libs=yes
10662   ;;
10663
10664 irix5* | irix6* | nonstopux*)
10665   case $host_os in
10666     nonstopux*) version_type=nonstopux ;;
10667     *)
10668         if test "$lt_cv_prog_gnu_ld" = yes; then
10669                 version_type=linux # correct to gnu/linux during the next big refactor
10670         else
10671                 version_type=irix
10672         fi ;;
10673   esac
10674   need_lib_prefix=no
10675   need_version=no
10676   soname_spec='${libname}${release}${shared_ext}$major'
10677   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10678   case $host_os in
10679   irix5* | nonstopux*)
10680     libsuff= shlibsuff=
10681     ;;
10682   *)
10683     case $LD in # libtool.m4 will add one of these switches to LD
10684     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10685       libsuff= shlibsuff= libmagic=32-bit;;
10686     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10687       libsuff=32 shlibsuff=N32 libmagic=N32;;
10688     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10689       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10690     *) libsuff= shlibsuff= libmagic=never-match;;
10691     esac
10692     ;;
10693   esac
10694   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10695   shlibpath_overrides_runpath=no
10696   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10697   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10698   hardcode_into_libs=yes
10699   ;;
10700
10701 # No shared lib support for Linux oldld, aout, or coff.
10702 linux*oldld* | linux*aout* | linux*coff*)
10703   dynamic_linker=no
10704   ;;
10705
10706 # This must be glibc/ELF.
10707 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10708   version_type=linux # correct to gnu/linux during the next big refactor
10709   need_lib_prefix=no
10710   need_version=no
10711   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10712   soname_spec='${libname}${release}${shared_ext}$major'
10713   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10714   shlibpath_var=LD_LIBRARY_PATH
10715   shlibpath_overrides_runpath=no
10716
10717   # Some binutils ld are patched to set DT_RUNPATH
10718   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10719   $as_echo_n "(cached) " >&6
10720 else
10721   lt_cv_shlibpath_overrides_runpath=no
10722     save_LDFLAGS=$LDFLAGS
10723     save_libdir=$libdir
10724     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10725          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10726     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10727 /* end confdefs.h.  */
10728
10729 int
10730 main ()
10731 {
10732
10733   ;
10734   return 0;
10735 }
10736 _ACEOF
10737 if ac_fn_c_try_link "$LINENO"; then :
10738   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10739   lt_cv_shlibpath_overrides_runpath=yes
10740 fi
10741 fi
10742 rm -f core conftest.err conftest.$ac_objext \
10743     conftest$ac_exeext conftest.$ac_ext
10744     LDFLAGS=$save_LDFLAGS
10745     libdir=$save_libdir
10746
10747 fi
10748
10749   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10750
10751   # This implies no fast_install, which is unacceptable.
10752   # Some rework will be needed to allow for fast_install
10753   # before this can be enabled.
10754   hardcode_into_libs=yes
10755
10756   # Append ld.so.conf contents to the search path
10757   if test -f /etc/ld.so.conf; then
10758     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' ' '`
10759     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10760   fi
10761
10762   # We used to test for /lib/ld.so.1 and disable shared libraries on
10763   # powerpc, because MkLinux only supported shared libraries with the
10764   # GNU dynamic linker.  Since this was broken with cross compilers,
10765   # most powerpc-linux boxes support dynamic linking these days and
10766   # people can always --disable-shared, the test was removed, and we
10767   # assume the GNU/Linux dynamic linker is in use.
10768   dynamic_linker='GNU/Linux ld.so'
10769   ;;
10770
10771 netbsdelf*-gnu)
10772   version_type=linux
10773   need_lib_prefix=no
10774   need_version=no
10775   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10776   soname_spec='${libname}${release}${shared_ext}$major'
10777   shlibpath_var=LD_LIBRARY_PATH
10778   shlibpath_overrides_runpath=no
10779   hardcode_into_libs=yes
10780   dynamic_linker='NetBSD ld.elf_so'
10781   ;;
10782
10783 netbsd*)
10784   version_type=sunos
10785   need_lib_prefix=no
10786   need_version=no
10787   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10788     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10789     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10790     dynamic_linker='NetBSD (a.out) ld.so'
10791   else
10792     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10793     soname_spec='${libname}${release}${shared_ext}$major'
10794     dynamic_linker='NetBSD ld.elf_so'
10795   fi
10796   shlibpath_var=LD_LIBRARY_PATH
10797   shlibpath_overrides_runpath=yes
10798   hardcode_into_libs=yes
10799   ;;
10800
10801 newsos6)
10802   version_type=linux # correct to gnu/linux during the next big refactor
10803   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10804   shlibpath_var=LD_LIBRARY_PATH
10805   shlibpath_overrides_runpath=yes
10806   ;;
10807
10808 *nto* | *qnx*)
10809   version_type=qnx
10810   need_lib_prefix=no
10811   need_version=no
10812   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10813   soname_spec='${libname}${release}${shared_ext}$major'
10814   shlibpath_var=LD_LIBRARY_PATH
10815   shlibpath_overrides_runpath=no
10816   hardcode_into_libs=yes
10817   dynamic_linker='ldqnx.so'
10818   ;;
10819
10820 openbsd*)
10821   version_type=sunos
10822   sys_lib_dlsearch_path_spec="/usr/lib"
10823   need_lib_prefix=no
10824   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10825   case $host_os in
10826     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10827     *)                          need_version=no  ;;
10828   esac
10829   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10830   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10831   shlibpath_var=LD_LIBRARY_PATH
10832   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10833     case $host_os in
10834       openbsd2.[89] | openbsd2.[89].*)
10835         shlibpath_overrides_runpath=no
10836         ;;
10837       *)
10838         shlibpath_overrides_runpath=yes
10839         ;;
10840       esac
10841   else
10842     shlibpath_overrides_runpath=yes
10843   fi
10844   ;;
10845
10846 os2*)
10847   libname_spec='$name'
10848   shrext_cmds=".dll"
10849   need_lib_prefix=no
10850   library_names_spec='$libname${shared_ext} $libname.a'
10851   dynamic_linker='OS/2 ld.exe'
10852   shlibpath_var=LIBPATH
10853   ;;
10854
10855 osf3* | osf4* | osf5*)
10856   version_type=osf
10857   need_lib_prefix=no
10858   need_version=no
10859   soname_spec='${libname}${release}${shared_ext}$major'
10860   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10861   shlibpath_var=LD_LIBRARY_PATH
10862   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10863   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10864   ;;
10865
10866 rdos*)
10867   dynamic_linker=no
10868   ;;
10869
10870 solaris*)
10871   version_type=linux # correct to gnu/linux during the next big refactor
10872   need_lib_prefix=no
10873   need_version=no
10874   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10875   soname_spec='${libname}${release}${shared_ext}$major'
10876   shlibpath_var=LD_LIBRARY_PATH
10877   shlibpath_overrides_runpath=yes
10878   hardcode_into_libs=yes
10879   # ldd complains unless libraries are executable
10880   postinstall_cmds='chmod +x $lib'
10881   ;;
10882
10883 sunos4*)
10884   version_type=sunos
10885   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10886   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10887   shlibpath_var=LD_LIBRARY_PATH
10888   shlibpath_overrides_runpath=yes
10889   if test "$with_gnu_ld" = yes; then
10890     need_lib_prefix=no
10891   fi
10892   need_version=yes
10893   ;;
10894
10895 sysv4 | sysv4.3*)
10896   version_type=linux # correct to gnu/linux during the next big refactor
10897   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10898   soname_spec='${libname}${release}${shared_ext}$major'
10899   shlibpath_var=LD_LIBRARY_PATH
10900   case $host_vendor in
10901     sni)
10902       shlibpath_overrides_runpath=no
10903       need_lib_prefix=no
10904       runpath_var=LD_RUN_PATH
10905       ;;
10906     siemens)
10907       need_lib_prefix=no
10908       ;;
10909     motorola)
10910       need_lib_prefix=no
10911       need_version=no
10912       shlibpath_overrides_runpath=no
10913       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10914       ;;
10915   esac
10916   ;;
10917
10918 sysv4*MP*)
10919   if test -d /usr/nec ;then
10920     version_type=linux # correct to gnu/linux during the next big refactor
10921     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10922     soname_spec='$libname${shared_ext}.$major'
10923     shlibpath_var=LD_LIBRARY_PATH
10924   fi
10925   ;;
10926
10927 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10928   version_type=freebsd-elf
10929   need_lib_prefix=no
10930   need_version=no
10931   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10932   soname_spec='${libname}${release}${shared_ext}$major'
10933   shlibpath_var=LD_LIBRARY_PATH
10934   shlibpath_overrides_runpath=yes
10935   hardcode_into_libs=yes
10936   if test "$with_gnu_ld" = yes; then
10937     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10938   else
10939     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10940     case $host_os in
10941       sco3.2v5*)
10942         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10943         ;;
10944     esac
10945   fi
10946   sys_lib_dlsearch_path_spec='/usr/lib'
10947   ;;
10948
10949 tpf*)
10950   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10951   version_type=linux # correct to gnu/linux during the next big refactor
10952   need_lib_prefix=no
10953   need_version=no
10954   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10955   shlibpath_var=LD_LIBRARY_PATH
10956   shlibpath_overrides_runpath=no
10957   hardcode_into_libs=yes
10958   ;;
10959
10960 uts4*)
10961   version_type=linux # correct to gnu/linux during the next big refactor
10962   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10963   soname_spec='${libname}${release}${shared_ext}$major'
10964   shlibpath_var=LD_LIBRARY_PATH
10965   ;;
10966
10967 *)
10968   dynamic_linker=no
10969   ;;
10970 esac
10971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10972 $as_echo "$dynamic_linker" >&6; }
10973 test "$dynamic_linker" = no && can_build_shared=no
10974
10975 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10976 if test "$GCC" = yes; then
10977   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10978 fi
10979
10980 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10981   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10982 fi
10983 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10984   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10985 fi
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
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   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11079 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11080 hardcode_action=
11081 if test -n "$hardcode_libdir_flag_spec" ||
11082    test -n "$runpath_var" ||
11083    test "X$hardcode_automatic" = "Xyes" ; then
11084
11085   # We can hardcode non-existent directories.
11086   if test "$hardcode_direct" != no &&
11087      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11088      # have to relink, otherwise we might link with an installed library
11089      # when we should be linking with a yet-to-be-installed one
11090      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11091      test "$hardcode_minus_L" != no; then
11092     # Linking always hardcodes the temporary library directory.
11093     hardcode_action=relink
11094   else
11095     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11096     hardcode_action=immediate
11097   fi
11098 else
11099   # We cannot hardcode anything, or else we can only hardcode existing
11100   # directories.
11101   hardcode_action=unsupported
11102 fi
11103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11104 $as_echo "$hardcode_action" >&6; }
11105
11106 if test "$hardcode_action" = relink ||
11107    test "$inherit_rpath" = yes; then
11108   # Fast installation is not supported
11109   enable_fast_install=no
11110 elif test "$shlibpath_overrides_runpath" = yes ||
11111      test "$enable_shared" = no; then
11112   # Fast installation is not necessary
11113   enable_fast_install=needless
11114 fi
11115
11116
11117
11118
11119
11120
11121   if test "x$enable_dlopen" != xyes; then
11122   enable_dlopen=unknown
11123   enable_dlopen_self=unknown
11124   enable_dlopen_self_static=unknown
11125 else
11126   lt_cv_dlopen=no
11127   lt_cv_dlopen_libs=
11128
11129   case $host_os in
11130   beos*)
11131     lt_cv_dlopen="load_add_on"
11132     lt_cv_dlopen_libs=
11133     lt_cv_dlopen_self=yes
11134     ;;
11135
11136   mingw* | pw32* | cegcc*)
11137     lt_cv_dlopen="LoadLibrary"
11138     lt_cv_dlopen_libs=
11139     ;;
11140
11141   cygwin*)
11142     lt_cv_dlopen="dlopen"
11143     lt_cv_dlopen_libs=
11144     ;;
11145
11146   darwin*)
11147   # if libdl is installed we need to link against it
11148     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11149 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11150 if ${ac_cv_lib_dl_dlopen+:} false; then :
11151   $as_echo_n "(cached) " >&6
11152 else
11153   ac_check_lib_save_LIBS=$LIBS
11154 LIBS="-ldl  $LIBS"
11155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11156 /* end confdefs.h.  */
11157
11158 /* Override any GCC internal prototype to avoid an error.
11159    Use char because int might match the return type of a GCC
11160    builtin and then its argument prototype would still apply.  */
11161 #ifdef __cplusplus
11162 extern "C"
11163 #endif
11164 char dlopen ();
11165 int
11166 main ()
11167 {
11168 return dlopen ();
11169   ;
11170   return 0;
11171 }
11172 _ACEOF
11173 if ac_fn_c_try_link "$LINENO"; then :
11174   ac_cv_lib_dl_dlopen=yes
11175 else
11176   ac_cv_lib_dl_dlopen=no
11177 fi
11178 rm -f core conftest.err conftest.$ac_objext \
11179     conftest$ac_exeext conftest.$ac_ext
11180 LIBS=$ac_check_lib_save_LIBS
11181 fi
11182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11183 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11184 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11185   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11186 else
11187
11188     lt_cv_dlopen="dyld"
11189     lt_cv_dlopen_libs=
11190     lt_cv_dlopen_self=yes
11191
11192 fi
11193
11194     ;;
11195
11196   *)
11197     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11198 if test "x$ac_cv_func_shl_load" = xyes; then :
11199   lt_cv_dlopen="shl_load"
11200 else
11201   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11202 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11203 if ${ac_cv_lib_dld_shl_load+:} false; then :
11204   $as_echo_n "(cached) " >&6
11205 else
11206   ac_check_lib_save_LIBS=$LIBS
11207 LIBS="-ldld  $LIBS"
11208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11209 /* end confdefs.h.  */
11210
11211 /* Override any GCC internal prototype to avoid an error.
11212    Use char because int might match the return type of a GCC
11213    builtin and then its argument prototype would still apply.  */
11214 #ifdef __cplusplus
11215 extern "C"
11216 #endif
11217 char shl_load ();
11218 int
11219 main ()
11220 {
11221 return shl_load ();
11222   ;
11223   return 0;
11224 }
11225 _ACEOF
11226 if ac_fn_c_try_link "$LINENO"; then :
11227   ac_cv_lib_dld_shl_load=yes
11228 else
11229   ac_cv_lib_dld_shl_load=no
11230 fi
11231 rm -f core conftest.err conftest.$ac_objext \
11232     conftest$ac_exeext conftest.$ac_ext
11233 LIBS=$ac_check_lib_save_LIBS
11234 fi
11235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11236 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11237 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11238   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11239 else
11240   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11241 if test "x$ac_cv_func_dlopen" = xyes; then :
11242   lt_cv_dlopen="dlopen"
11243 else
11244   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11245 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11246 if ${ac_cv_lib_dl_dlopen+:} false; then :
11247   $as_echo_n "(cached) " >&6
11248 else
11249   ac_check_lib_save_LIBS=$LIBS
11250 LIBS="-ldl  $LIBS"
11251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11252 /* end confdefs.h.  */
11253
11254 /* Override any GCC internal prototype to avoid an error.
11255    Use char because int might match the return type of a GCC
11256    builtin and then its argument prototype would still apply.  */
11257 #ifdef __cplusplus
11258 extern "C"
11259 #endif
11260 char dlopen ();
11261 int
11262 main ()
11263 {
11264 return dlopen ();
11265   ;
11266   return 0;
11267 }
11268 _ACEOF
11269 if ac_fn_c_try_link "$LINENO"; then :
11270   ac_cv_lib_dl_dlopen=yes
11271 else
11272   ac_cv_lib_dl_dlopen=no
11273 fi
11274 rm -f core conftest.err conftest.$ac_objext \
11275     conftest$ac_exeext conftest.$ac_ext
11276 LIBS=$ac_check_lib_save_LIBS
11277 fi
11278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11279 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11280 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11281   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11282 else
11283   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11284 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11285 if ${ac_cv_lib_svld_dlopen+:} false; then :
11286   $as_echo_n "(cached) " >&6
11287 else
11288   ac_check_lib_save_LIBS=$LIBS
11289 LIBS="-lsvld  $LIBS"
11290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11291 /* end confdefs.h.  */
11292
11293 /* Override any GCC internal prototype to avoid an error.
11294    Use char because int might match the return type of a GCC
11295    builtin and then its argument prototype would still apply.  */
11296 #ifdef __cplusplus
11297 extern "C"
11298 #endif
11299 char dlopen ();
11300 int
11301 main ()
11302 {
11303 return dlopen ();
11304   ;
11305   return 0;
11306 }
11307 _ACEOF
11308 if ac_fn_c_try_link "$LINENO"; then :
11309   ac_cv_lib_svld_dlopen=yes
11310 else
11311   ac_cv_lib_svld_dlopen=no
11312 fi
11313 rm -f core conftest.err conftest.$ac_objext \
11314     conftest$ac_exeext conftest.$ac_ext
11315 LIBS=$ac_check_lib_save_LIBS
11316 fi
11317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11318 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11319 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11320   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11321 else
11322   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11323 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11324 if ${ac_cv_lib_dld_dld_link+:} false; then :
11325   $as_echo_n "(cached) " >&6
11326 else
11327   ac_check_lib_save_LIBS=$LIBS
11328 LIBS="-ldld  $LIBS"
11329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11330 /* end confdefs.h.  */
11331
11332 /* Override any GCC internal prototype to avoid an error.
11333    Use char because int might match the return type of a GCC
11334    builtin and then its argument prototype would still apply.  */
11335 #ifdef __cplusplus
11336 extern "C"
11337 #endif
11338 char dld_link ();
11339 int
11340 main ()
11341 {
11342 return dld_link ();
11343   ;
11344   return 0;
11345 }
11346 _ACEOF
11347 if ac_fn_c_try_link "$LINENO"; then :
11348   ac_cv_lib_dld_dld_link=yes
11349 else
11350   ac_cv_lib_dld_dld_link=no
11351 fi
11352 rm -f core conftest.err conftest.$ac_objext \
11353     conftest$ac_exeext conftest.$ac_ext
11354 LIBS=$ac_check_lib_save_LIBS
11355 fi
11356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11357 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11358 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11359   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11360 fi
11361
11362
11363 fi
11364
11365
11366 fi
11367
11368
11369 fi
11370
11371
11372 fi
11373
11374
11375 fi
11376
11377     ;;
11378   esac
11379
11380   if test "x$lt_cv_dlopen" != xno; then
11381     enable_dlopen=yes
11382   else
11383     enable_dlopen=no
11384   fi
11385
11386   case $lt_cv_dlopen in
11387   dlopen)
11388     save_CPPFLAGS="$CPPFLAGS"
11389     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11390
11391     save_LDFLAGS="$LDFLAGS"
11392     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11393
11394     save_LIBS="$LIBS"
11395     LIBS="$lt_cv_dlopen_libs $LIBS"
11396
11397     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11398 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11399 if ${lt_cv_dlopen_self+:} false; then :
11400   $as_echo_n "(cached) " >&6
11401 else
11402           if test "$cross_compiling" = yes; then :
11403   lt_cv_dlopen_self=cross
11404 else
11405   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11406   lt_status=$lt_dlunknown
11407   cat > conftest.$ac_ext <<_LT_EOF
11408 #line $LINENO "configure"
11409 #include "confdefs.h"
11410
11411 #if HAVE_DLFCN_H
11412 #include <dlfcn.h>
11413 #endif
11414
11415 #include <stdio.h>
11416
11417 #ifdef RTLD_GLOBAL
11418 #  define LT_DLGLOBAL           RTLD_GLOBAL
11419 #else
11420 #  ifdef DL_GLOBAL
11421 #    define LT_DLGLOBAL         DL_GLOBAL
11422 #  else
11423 #    define LT_DLGLOBAL         0
11424 #  endif
11425 #endif
11426
11427 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11428    find out it does not work in some platform. */
11429 #ifndef LT_DLLAZY_OR_NOW
11430 #  ifdef RTLD_LAZY
11431 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11432 #  else
11433 #    ifdef DL_LAZY
11434 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11435 #    else
11436 #      ifdef RTLD_NOW
11437 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11438 #      else
11439 #        ifdef DL_NOW
11440 #          define LT_DLLAZY_OR_NOW      DL_NOW
11441 #        else
11442 #          define LT_DLLAZY_OR_NOW      0
11443 #        endif
11444 #      endif
11445 #    endif
11446 #  endif
11447 #endif
11448
11449 /* When -fvisbility=hidden is used, assume the code has been annotated
11450    correspondingly for the symbols needed.  */
11451 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11452 int fnord () __attribute__((visibility("default")));
11453 #endif
11454
11455 int fnord () { return 42; }
11456 int main ()
11457 {
11458   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11459   int status = $lt_dlunknown;
11460
11461   if (self)
11462     {
11463       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11464       else
11465         {
11466           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11467           else puts (dlerror ());
11468         }
11469       /* dlclose (self); */
11470     }
11471   else
11472     puts (dlerror ());
11473
11474   return status;
11475 }
11476 _LT_EOF
11477   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11478   (eval $ac_link) 2>&5
11479   ac_status=$?
11480   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11481   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11482     (./conftest; exit; ) >&5 2>/dev/null
11483     lt_status=$?
11484     case x$lt_status in
11485       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11486       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11487       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11488     esac
11489   else :
11490     # compilation failed
11491     lt_cv_dlopen_self=no
11492   fi
11493 fi
11494 rm -fr conftest*
11495
11496
11497 fi
11498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11499 $as_echo "$lt_cv_dlopen_self" >&6; }
11500
11501     if test "x$lt_cv_dlopen_self" = xyes; then
11502       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11503       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11504 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11505 if ${lt_cv_dlopen_self_static+:} false; then :
11506   $as_echo_n "(cached) " >&6
11507 else
11508           if test "$cross_compiling" = yes; then :
11509   lt_cv_dlopen_self_static=cross
11510 else
11511   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11512   lt_status=$lt_dlunknown
11513   cat > conftest.$ac_ext <<_LT_EOF
11514 #line $LINENO "configure"
11515 #include "confdefs.h"
11516
11517 #if HAVE_DLFCN_H
11518 #include <dlfcn.h>
11519 #endif
11520
11521 #include <stdio.h>
11522
11523 #ifdef RTLD_GLOBAL
11524 #  define LT_DLGLOBAL           RTLD_GLOBAL
11525 #else
11526 #  ifdef DL_GLOBAL
11527 #    define LT_DLGLOBAL         DL_GLOBAL
11528 #  else
11529 #    define LT_DLGLOBAL         0
11530 #  endif
11531 #endif
11532
11533 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11534    find out it does not work in some platform. */
11535 #ifndef LT_DLLAZY_OR_NOW
11536 #  ifdef RTLD_LAZY
11537 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11538 #  else
11539 #    ifdef DL_LAZY
11540 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11541 #    else
11542 #      ifdef RTLD_NOW
11543 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11544 #      else
11545 #        ifdef DL_NOW
11546 #          define LT_DLLAZY_OR_NOW      DL_NOW
11547 #        else
11548 #          define LT_DLLAZY_OR_NOW      0
11549 #        endif
11550 #      endif
11551 #    endif
11552 #  endif
11553 #endif
11554
11555 /* When -fvisbility=hidden is used, assume the code has been annotated
11556    correspondingly for the symbols needed.  */
11557 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11558 int fnord () __attribute__((visibility("default")));
11559 #endif
11560
11561 int fnord () { return 42; }
11562 int main ()
11563 {
11564   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11565   int status = $lt_dlunknown;
11566
11567   if (self)
11568     {
11569       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11570       else
11571         {
11572           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11573           else puts (dlerror ());
11574         }
11575       /* dlclose (self); */
11576     }
11577   else
11578     puts (dlerror ());
11579
11580   return status;
11581 }
11582 _LT_EOF
11583   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11584   (eval $ac_link) 2>&5
11585   ac_status=$?
11586   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11587   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11588     (./conftest; exit; ) >&5 2>/dev/null
11589     lt_status=$?
11590     case x$lt_status in
11591       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11592       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11593       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11594     esac
11595   else :
11596     # compilation failed
11597     lt_cv_dlopen_self_static=no
11598   fi
11599 fi
11600 rm -fr conftest*
11601
11602
11603 fi
11604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11605 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11606     fi
11607
11608     CPPFLAGS="$save_CPPFLAGS"
11609     LDFLAGS="$save_LDFLAGS"
11610     LIBS="$save_LIBS"
11611     ;;
11612   esac
11613
11614   case $lt_cv_dlopen_self in
11615   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11616   *) enable_dlopen_self=unknown ;;
11617   esac
11618
11619   case $lt_cv_dlopen_self_static in
11620   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11621   *) enable_dlopen_self_static=unknown ;;
11622   esac
11623 fi
11624
11625
11626
11627
11628
11629
11630
11631
11632
11633
11634
11635
11636
11637
11638
11639
11640
11641 striplib=
11642 old_striplib=
11643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11644 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11645 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11646   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11647   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11648   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11649 $as_echo "yes" >&6; }
11650 else
11651 # FIXME - insert some real tests, host_os isn't really good enough
11652   case $host_os in
11653   darwin*)
11654     if test -n "$STRIP" ; then
11655       striplib="$STRIP -x"
11656       old_striplib="$STRIP -S"
11657       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11658 $as_echo "yes" >&6; }
11659     else
11660       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11661 $as_echo "no" >&6; }
11662     fi
11663     ;;
11664   *)
11665     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11666 $as_echo "no" >&6; }
11667     ;;
11668   esac
11669 fi
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682   # Report which library types will actually be built
11683   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11684 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11685   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11686 $as_echo "$can_build_shared" >&6; }
11687
11688   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11689 $as_echo_n "checking whether to build shared libraries... " >&6; }
11690   test "$can_build_shared" = "no" && enable_shared=no
11691
11692   # On AIX, shared libraries and static libraries use the same namespace, and
11693   # are all built from PIC.
11694   case $host_os in
11695   aix3*)
11696     test "$enable_shared" = yes && enable_static=no
11697     if test -n "$RANLIB"; then
11698       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11699       postinstall_cmds='$RANLIB $lib'
11700     fi
11701     ;;
11702
11703   aix[4-9]*)
11704     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11705       test "$enable_shared" = yes && enable_static=no
11706     fi
11707     ;;
11708   esac
11709   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11710 $as_echo "$enable_shared" >&6; }
11711
11712   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11713 $as_echo_n "checking whether to build static libraries... " >&6; }
11714   # Make sure either enable_shared or enable_static is yes.
11715   test "$enable_shared" = yes || enable_static=yes
11716   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11717 $as_echo "$enable_static" >&6; }
11718
11719
11720
11721
11722 fi
11723 ac_ext=c
11724 ac_cpp='$CPP $CPPFLAGS'
11725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11728
11729 CC="$lt_save_CC"
11730
11731
11732
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745         ac_config_commands="$ac_config_commands libtool"
11746
11747
11748
11749
11750 # Only expand once:
11751
11752
11753
11754
11755 # Checks for libraries.
11756
11757
11758
11759
11760
11761
11762
11763 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11764         if test -n "$ac_tool_prefix"; then
11765   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11766 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11768 $as_echo_n "checking for $ac_word... " >&6; }
11769 if ${ac_cv_path_PKG_CONFIG+:} false; then :
11770   $as_echo_n "(cached) " >&6
11771 else
11772   case $PKG_CONFIG in
11773   [\\/]* | ?:[\\/]*)
11774   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11775   ;;
11776   *)
11777   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11778 for as_dir in $PATH
11779 do
11780   IFS=$as_save_IFS
11781   test -z "$as_dir" && as_dir=.
11782     for ac_exec_ext in '' $ac_executable_extensions; do
11783   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11784     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11785     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11786     break 2
11787   fi
11788 done
11789   done
11790 IFS=$as_save_IFS
11791
11792   ;;
11793 esac
11794 fi
11795 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11796 if test -n "$PKG_CONFIG"; then
11797   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11798 $as_echo "$PKG_CONFIG" >&6; }
11799 else
11800   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11801 $as_echo "no" >&6; }
11802 fi
11803
11804
11805 fi
11806 if test -z "$ac_cv_path_PKG_CONFIG"; then
11807   ac_pt_PKG_CONFIG=$PKG_CONFIG
11808   # Extract the first word of "pkg-config", so it can be a program name with args.
11809 set dummy pkg-config; ac_word=$2
11810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11811 $as_echo_n "checking for $ac_word... " >&6; }
11812 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
11813   $as_echo_n "(cached) " >&6
11814 else
11815   case $ac_pt_PKG_CONFIG in
11816   [\\/]* | ?:[\\/]*)
11817   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11818   ;;
11819   *)
11820   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11821 for as_dir in $PATH
11822 do
11823   IFS=$as_save_IFS
11824   test -z "$as_dir" && as_dir=.
11825     for ac_exec_ext in '' $ac_executable_extensions; do
11826   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11827     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11828     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11829     break 2
11830   fi
11831 done
11832   done
11833 IFS=$as_save_IFS
11834
11835   ;;
11836 esac
11837 fi
11838 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11839 if test -n "$ac_pt_PKG_CONFIG"; then
11840   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11841 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
11842 else
11843   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11844 $as_echo "no" >&6; }
11845 fi
11846
11847   if test "x$ac_pt_PKG_CONFIG" = x; then
11848     PKG_CONFIG=""
11849   else
11850     case $cross_compiling:$ac_tool_warned in
11851 yes:)
11852 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11853 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11854 ac_tool_warned=yes ;;
11855 esac
11856     PKG_CONFIG=$ac_pt_PKG_CONFIG
11857   fi
11858 else
11859   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11860 fi
11861
11862 fi
11863 if test -n "$PKG_CONFIG"; then
11864         _pkg_min_version=0.16
11865         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11866 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11867         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11868                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11869 $as_echo "yes" >&6; }
11870         else
11871                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11872 $as_echo "no" >&6; }
11873                 PKG_CONFIG=""
11874         fi
11875 fi
11876
11877 pkg_failed=no
11878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
11879 $as_echo_n "checking for GLIB... " >&6; }
11880
11881 if test -n "$GLIB_CFLAGS"; then
11882     pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
11883  elif test -n "$PKG_CONFIG"; then
11884     if test -n "$PKG_CONFIG" && \
11885     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.28\""; } >&5
11886   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.28") 2>&5
11887   ac_status=$?
11888   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11889   test $ac_status = 0; }; then
11890   pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.28" 2>/dev/null`
11891                       test "x$?" != "x0" && pkg_failed=yes
11892 else
11893   pkg_failed=yes
11894 fi
11895  else
11896     pkg_failed=untried
11897 fi
11898 if test -n "$GLIB_LIBS"; then
11899     pkg_cv_GLIB_LIBS="$GLIB_LIBS"
11900  elif test -n "$PKG_CONFIG"; then
11901     if test -n "$PKG_CONFIG" && \
11902     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.28\""; } >&5
11903   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.28") 2>&5
11904   ac_status=$?
11905   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11906   test $ac_status = 0; }; then
11907   pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.28" 2>/dev/null`
11908                       test "x$?" != "x0" && pkg_failed=yes
11909 else
11910   pkg_failed=yes
11911 fi
11912  else
11913     pkg_failed=untried
11914 fi
11915
11916
11917
11918 if test $pkg_failed = yes; then
11919         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11920 $as_echo "no" >&6; }
11921
11922 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11923         _pkg_short_errors_supported=yes
11924 else
11925         _pkg_short_errors_supported=no
11926 fi
11927         if test $_pkg_short_errors_supported = yes; then
11928                 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.28" 2>&1`
11929         else
11930                 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.28" 2>&1`
11931         fi
11932         # Put the nasty error message in config.log where it belongs
11933         echo "$GLIB_PKG_ERRORS" >&5
11934
11935         as_fn_error $? "Package requirements (glib-2.0 >= 2.28) were not met:
11936
11937 $GLIB_PKG_ERRORS
11938
11939 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11940 installed software in a non-standard prefix.
11941
11942 Alternatively, you may set the environment variables GLIB_CFLAGS
11943 and GLIB_LIBS to avoid the need to call pkg-config.
11944 See the pkg-config man page for more details." "$LINENO" 5
11945 elif test $pkg_failed = untried; then
11946         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11947 $as_echo "no" >&6; }
11948         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11949 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11950 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
11951 is in your PATH or set the PKG_CONFIG environment variable to the full
11952 path to pkg-config.
11953
11954 Alternatively, you may set the environment variables GLIB_CFLAGS
11955 and GLIB_LIBS to avoid the need to call pkg-config.
11956 See the pkg-config man page for more details.
11957
11958 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11959 See \`config.log' for more details" "$LINENO" 5; }
11960 else
11961         GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
11962         GLIB_LIBS=$pkg_cv_GLIB_LIBS
11963         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11964 $as_echo "yes" >&6; }
11965
11966 fi
11967
11968 pkg_failed=no
11969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO" >&5
11970 $as_echo_n "checking for GIO... " >&6; }
11971
11972 if test -n "$GIO_CFLAGS"; then
11973     pkg_cv_GIO_CFLAGS="$GIO_CFLAGS"
11974  elif test -n "$PKG_CONFIG"; then
11975     if test -n "$PKG_CONFIG" && \
11976     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.28\""; } >&5
11977   ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.28") 2>&5
11978   ac_status=$?
11979   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11980   test $ac_status = 0; }; then
11981   pkg_cv_GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= 2.28" 2>/dev/null`
11982                       test "x$?" != "x0" && pkg_failed=yes
11983 else
11984   pkg_failed=yes
11985 fi
11986  else
11987     pkg_failed=untried
11988 fi
11989 if test -n "$GIO_LIBS"; then
11990     pkg_cv_GIO_LIBS="$GIO_LIBS"
11991  elif test -n "$PKG_CONFIG"; then
11992     if test -n "$PKG_CONFIG" && \
11993     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.28\""; } >&5
11994   ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.28") 2>&5
11995   ac_status=$?
11996   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11997   test $ac_status = 0; }; then
11998   pkg_cv_GIO_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= 2.28" 2>/dev/null`
11999                       test "x$?" != "x0" && pkg_failed=yes
12000 else
12001   pkg_failed=yes
12002 fi
12003  else
12004     pkg_failed=untried
12005 fi
12006
12007
12008
12009 if test $pkg_failed = yes; then
12010         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12011 $as_echo "no" >&6; }
12012
12013 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12014         _pkg_short_errors_supported=yes
12015 else
12016         _pkg_short_errors_supported=no
12017 fi
12018         if test $_pkg_short_errors_supported = yes; then
12019                 GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0 >= 2.28" 2>&1`
12020         else
12021                 GIO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0 >= 2.28" 2>&1`
12022         fi
12023         # Put the nasty error message in config.log where it belongs
12024         echo "$GIO_PKG_ERRORS" >&5
12025
12026         as_fn_error $? "Package requirements (gio-2.0 >= 2.28) were not met:
12027
12028 $GIO_PKG_ERRORS
12029
12030 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12031 installed software in a non-standard prefix.
12032
12033 Alternatively, you may set the environment variables GIO_CFLAGS
12034 and GIO_LIBS to avoid the need to call pkg-config.
12035 See the pkg-config man page for more details." "$LINENO" 5
12036 elif test $pkg_failed = untried; then
12037         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12038 $as_echo "no" >&6; }
12039         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12040 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12041 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12042 is in your PATH or set the PKG_CONFIG environment variable to the full
12043 path to pkg-config.
12044
12045 Alternatively, you may set the environment variables GIO_CFLAGS
12046 and GIO_LIBS to avoid the need to call pkg-config.
12047 See the pkg-config man page for more details.
12048
12049 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12050 See \`config.log' for more details" "$LINENO" 5; }
12051 else
12052         GIO_CFLAGS=$pkg_cv_GIO_CFLAGS
12053         GIO_LIBS=$pkg_cv_GIO_LIBS
12054         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12055 $as_echo "yes" >&6; }
12056
12057 fi
12058
12059 pkg_failed=no
12060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSSDP" >&5
12061 $as_echo_n "checking for GSSDP... " >&6; }
12062
12063 if test -n "$GSSDP_CFLAGS"; then
12064     pkg_cv_GSSDP_CFLAGS="$GSSDP_CFLAGS"
12065  elif test -n "$PKG_CONFIG"; then
12066     if test -n "$PKG_CONFIG" && \
12067     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gssdp-1.0 >= 0.13.2\""; } >&5
12068   ($PKG_CONFIG --exists --print-errors "gssdp-1.0 >= 0.13.2") 2>&5
12069   ac_status=$?
12070   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12071   test $ac_status = 0; }; then
12072   pkg_cv_GSSDP_CFLAGS=`$PKG_CONFIG --cflags "gssdp-1.0 >= 0.13.2" 2>/dev/null`
12073                       test "x$?" != "x0" && pkg_failed=yes
12074 else
12075   pkg_failed=yes
12076 fi
12077  else
12078     pkg_failed=untried
12079 fi
12080 if test -n "$GSSDP_LIBS"; then
12081     pkg_cv_GSSDP_LIBS="$GSSDP_LIBS"
12082  elif test -n "$PKG_CONFIG"; then
12083     if test -n "$PKG_CONFIG" && \
12084     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gssdp-1.0 >= 0.13.2\""; } >&5
12085   ($PKG_CONFIG --exists --print-errors "gssdp-1.0 >= 0.13.2") 2>&5
12086   ac_status=$?
12087   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12088   test $ac_status = 0; }; then
12089   pkg_cv_GSSDP_LIBS=`$PKG_CONFIG --libs "gssdp-1.0 >= 0.13.2" 2>/dev/null`
12090                       test "x$?" != "x0" && pkg_failed=yes
12091 else
12092   pkg_failed=yes
12093 fi
12094  else
12095     pkg_failed=untried
12096 fi
12097
12098
12099
12100 if test $pkg_failed = yes; then
12101         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12102 $as_echo "no" >&6; }
12103
12104 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12105         _pkg_short_errors_supported=yes
12106 else
12107         _pkg_short_errors_supported=no
12108 fi
12109         if test $_pkg_short_errors_supported = yes; then
12110                 GSSDP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gssdp-1.0 >= 0.13.2" 2>&1`
12111         else
12112                 GSSDP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gssdp-1.0 >= 0.13.2" 2>&1`
12113         fi
12114         # Put the nasty error message in config.log where it belongs
12115         echo "$GSSDP_PKG_ERRORS" >&5
12116
12117         as_fn_error $? "Package requirements (gssdp-1.0 >= 0.13.2) were not met:
12118
12119 $GSSDP_PKG_ERRORS
12120
12121 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12122 installed software in a non-standard prefix.
12123
12124 Alternatively, you may set the environment variables GSSDP_CFLAGS
12125 and GSSDP_LIBS to avoid the need to call pkg-config.
12126 See the pkg-config man page for more details." "$LINENO" 5
12127 elif test $pkg_failed = untried; then
12128         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12129 $as_echo "no" >&6; }
12130         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12131 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12132 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12133 is in your PATH or set the PKG_CONFIG environment variable to the full
12134 path to pkg-config.
12135
12136 Alternatively, you may set the environment variables GSSDP_CFLAGS
12137 and GSSDP_LIBS to avoid the need to call pkg-config.
12138 See the pkg-config man page for more details.
12139
12140 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12141 See \`config.log' for more details" "$LINENO" 5; }
12142 else
12143         GSSDP_CFLAGS=$pkg_cv_GSSDP_CFLAGS
12144         GSSDP_LIBS=$pkg_cv_GSSDP_LIBS
12145         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12146 $as_echo "yes" >&6; }
12147
12148 fi
12149
12150 pkg_failed=no
12151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GUPNP" >&5
12152 $as_echo_n "checking for GUPNP... " >&6; }
12153
12154 if test -n "$GUPNP_CFLAGS"; then
12155     pkg_cv_GUPNP_CFLAGS="$GUPNP_CFLAGS"
12156  elif test -n "$PKG_CONFIG"; then
12157     if test -n "$PKG_CONFIG" && \
12158     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gupnp-1.0 >= 0.19.1\""; } >&5
12159   ($PKG_CONFIG --exists --print-errors "gupnp-1.0 >= 0.19.1") 2>&5
12160   ac_status=$?
12161   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12162   test $ac_status = 0; }; then
12163   pkg_cv_GUPNP_CFLAGS=`$PKG_CONFIG --cflags "gupnp-1.0 >= 0.19.1" 2>/dev/null`
12164                       test "x$?" != "x0" && pkg_failed=yes
12165 else
12166   pkg_failed=yes
12167 fi
12168  else
12169     pkg_failed=untried
12170 fi
12171 if test -n "$GUPNP_LIBS"; then
12172     pkg_cv_GUPNP_LIBS="$GUPNP_LIBS"
12173  elif test -n "$PKG_CONFIG"; then
12174     if test -n "$PKG_CONFIG" && \
12175     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gupnp-1.0 >= 0.19.1\""; } >&5
12176   ($PKG_CONFIG --exists --print-errors "gupnp-1.0 >= 0.19.1") 2>&5
12177   ac_status=$?
12178   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12179   test $ac_status = 0; }; then
12180   pkg_cv_GUPNP_LIBS=`$PKG_CONFIG --libs "gupnp-1.0 >= 0.19.1" 2>/dev/null`
12181                       test "x$?" != "x0" && pkg_failed=yes
12182 else
12183   pkg_failed=yes
12184 fi
12185  else
12186     pkg_failed=untried
12187 fi
12188
12189
12190
12191 if test $pkg_failed = yes; then
12192         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12193 $as_echo "no" >&6; }
12194
12195 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12196         _pkg_short_errors_supported=yes
12197 else
12198         _pkg_short_errors_supported=no
12199 fi
12200         if test $_pkg_short_errors_supported = yes; then
12201                 GUPNP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gupnp-1.0 >= 0.19.1" 2>&1`
12202         else
12203                 GUPNP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gupnp-1.0 >= 0.19.1" 2>&1`
12204         fi
12205         # Put the nasty error message in config.log where it belongs
12206         echo "$GUPNP_PKG_ERRORS" >&5
12207
12208         as_fn_error $? "Package requirements (gupnp-1.0 >= 0.19.1) were not met:
12209
12210 $GUPNP_PKG_ERRORS
12211
12212 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12213 installed software in a non-standard prefix.
12214
12215 Alternatively, you may set the environment variables GUPNP_CFLAGS
12216 and GUPNP_LIBS to avoid the need to call pkg-config.
12217 See the pkg-config man page for more details." "$LINENO" 5
12218 elif test $pkg_failed = untried; then
12219         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12220 $as_echo "no" >&6; }
12221         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12222 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12223 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12224 is in your PATH or set the PKG_CONFIG environment variable to the full
12225 path to pkg-config.
12226
12227 Alternatively, you may set the environment variables GUPNP_CFLAGS
12228 and GUPNP_LIBS to avoid the need to call pkg-config.
12229 See the pkg-config man page for more details.
12230
12231 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12232 See \`config.log' for more details" "$LINENO" 5; }
12233 else
12234         GUPNP_CFLAGS=$pkg_cv_GUPNP_CFLAGS
12235         GUPNP_LIBS=$pkg_cv_GUPNP_LIBS
12236         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12237 $as_echo "yes" >&6; }
12238
12239 fi
12240
12241 pkg_failed=no
12242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GUPNPAV" >&5
12243 $as_echo_n "checking for GUPNPAV... " >&6; }
12244
12245 if test -n "$GUPNPAV_CFLAGS"; then
12246     pkg_cv_GUPNPAV_CFLAGS="$GUPNPAV_CFLAGS"
12247  elif test -n "$PKG_CONFIG"; then
12248     if test -n "$PKG_CONFIG" && \
12249     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gupnp-av-1.0 >= 0.11.5\""; } >&5
12250   ($PKG_CONFIG --exists --print-errors "gupnp-av-1.0 >= 0.11.5") 2>&5
12251   ac_status=$?
12252   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12253   test $ac_status = 0; }; then
12254   pkg_cv_GUPNPAV_CFLAGS=`$PKG_CONFIG --cflags "gupnp-av-1.0 >= 0.11.5" 2>/dev/null`
12255                       test "x$?" != "x0" && pkg_failed=yes
12256 else
12257   pkg_failed=yes
12258 fi
12259  else
12260     pkg_failed=untried
12261 fi
12262 if test -n "$GUPNPAV_LIBS"; then
12263     pkg_cv_GUPNPAV_LIBS="$GUPNPAV_LIBS"
12264  elif test -n "$PKG_CONFIG"; then
12265     if test -n "$PKG_CONFIG" && \
12266     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gupnp-av-1.0 >= 0.11.5\""; } >&5
12267   ($PKG_CONFIG --exists --print-errors "gupnp-av-1.0 >= 0.11.5") 2>&5
12268   ac_status=$?
12269   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12270   test $ac_status = 0; }; then
12271   pkg_cv_GUPNPAV_LIBS=`$PKG_CONFIG --libs "gupnp-av-1.0 >= 0.11.5" 2>/dev/null`
12272                       test "x$?" != "x0" && pkg_failed=yes
12273 else
12274   pkg_failed=yes
12275 fi
12276  else
12277     pkg_failed=untried
12278 fi
12279
12280
12281
12282 if test $pkg_failed = yes; then
12283         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12284 $as_echo "no" >&6; }
12285
12286 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12287         _pkg_short_errors_supported=yes
12288 else
12289         _pkg_short_errors_supported=no
12290 fi
12291         if test $_pkg_short_errors_supported = yes; then
12292                 GUPNPAV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gupnp-av-1.0 >= 0.11.5" 2>&1`
12293         else
12294                 GUPNPAV_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gupnp-av-1.0 >= 0.11.5" 2>&1`
12295         fi
12296         # Put the nasty error message in config.log where it belongs
12297         echo "$GUPNPAV_PKG_ERRORS" >&5
12298
12299         as_fn_error $? "Package requirements (gupnp-av-1.0 >= 0.11.5) were not met:
12300
12301 $GUPNPAV_PKG_ERRORS
12302
12303 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12304 installed software in a non-standard prefix.
12305
12306 Alternatively, you may set the environment variables GUPNPAV_CFLAGS
12307 and GUPNPAV_LIBS to avoid the need to call pkg-config.
12308 See the pkg-config man page for more details." "$LINENO" 5
12309 elif test $pkg_failed = untried; then
12310         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12311 $as_echo "no" >&6; }
12312         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12313 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12314 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12315 is in your PATH or set the PKG_CONFIG environment variable to the full
12316 path to pkg-config.
12317
12318 Alternatively, you may set the environment variables GUPNPAV_CFLAGS
12319 and GUPNPAV_LIBS to avoid the need to call pkg-config.
12320 See the pkg-config man page for more details.
12321
12322 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12323 See \`config.log' for more details" "$LINENO" 5; }
12324 else
12325         GUPNPAV_CFLAGS=$pkg_cv_GUPNPAV_CFLAGS
12326         GUPNPAV_LIBS=$pkg_cv_GUPNPAV_LIBS
12327         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12328 $as_echo "yes" >&6; }
12329
12330 fi
12331
12332 pkg_failed=no
12333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GUPNPDLNA" >&5
12334 $as_echo_n "checking for GUPNPDLNA... " >&6; }
12335
12336 if test -n "$GUPNPDLNA_CFLAGS"; then
12337     pkg_cv_GUPNPDLNA_CFLAGS="$GUPNPDLNA_CFLAGS"
12338  elif test -n "$PKG_CONFIG"; then
12339     if test -n "$PKG_CONFIG" && \
12340     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gupnp-dlna-2.0 >= 0.9.4\""; } >&5
12341   ($PKG_CONFIG --exists --print-errors "gupnp-dlna-2.0 >= 0.9.4") 2>&5
12342   ac_status=$?
12343   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12344   test $ac_status = 0; }; then
12345   pkg_cv_GUPNPDLNA_CFLAGS=`$PKG_CONFIG --cflags "gupnp-dlna-2.0 >= 0.9.4" 2>/dev/null`
12346                       test "x$?" != "x0" && pkg_failed=yes
12347 else
12348   pkg_failed=yes
12349 fi
12350  else
12351     pkg_failed=untried
12352 fi
12353 if test -n "$GUPNPDLNA_LIBS"; then
12354     pkg_cv_GUPNPDLNA_LIBS="$GUPNPDLNA_LIBS"
12355  elif test -n "$PKG_CONFIG"; then
12356     if test -n "$PKG_CONFIG" && \
12357     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gupnp-dlna-2.0 >= 0.9.4\""; } >&5
12358   ($PKG_CONFIG --exists --print-errors "gupnp-dlna-2.0 >= 0.9.4") 2>&5
12359   ac_status=$?
12360   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12361   test $ac_status = 0; }; then
12362   pkg_cv_GUPNPDLNA_LIBS=`$PKG_CONFIG --libs "gupnp-dlna-2.0 >= 0.9.4" 2>/dev/null`
12363                       test "x$?" != "x0" && pkg_failed=yes
12364 else
12365   pkg_failed=yes
12366 fi
12367  else
12368     pkg_failed=untried
12369 fi
12370
12371
12372
12373 if test $pkg_failed = yes; then
12374         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12375 $as_echo "no" >&6; }
12376
12377 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12378         _pkg_short_errors_supported=yes
12379 else
12380         _pkg_short_errors_supported=no
12381 fi
12382         if test $_pkg_short_errors_supported = yes; then
12383                 GUPNPDLNA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gupnp-dlna-2.0 >= 0.9.4" 2>&1`
12384         else
12385                 GUPNPDLNA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gupnp-dlna-2.0 >= 0.9.4" 2>&1`
12386         fi
12387         # Put the nasty error message in config.log where it belongs
12388         echo "$GUPNPDLNA_PKG_ERRORS" >&5
12389
12390         as_fn_error $? "Package requirements (gupnp-dlna-2.0 >= 0.9.4) were not met:
12391
12392 $GUPNPDLNA_PKG_ERRORS
12393
12394 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12395 installed software in a non-standard prefix.
12396
12397 Alternatively, you may set the environment variables GUPNPDLNA_CFLAGS
12398 and GUPNPDLNA_LIBS to avoid the need to call pkg-config.
12399 See the pkg-config man page for more details." "$LINENO" 5
12400 elif test $pkg_failed = untried; then
12401         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12402 $as_echo "no" >&6; }
12403         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12404 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12405 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12406 is in your PATH or set the PKG_CONFIG environment variable to the full
12407 path to pkg-config.
12408
12409 Alternatively, you may set the environment variables GUPNPDLNA_CFLAGS
12410 and GUPNPDLNA_LIBS to avoid the need to call pkg-config.
12411 See the pkg-config man page for more details.
12412
12413 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12414 See \`config.log' for more details" "$LINENO" 5; }
12415 else
12416         GUPNPDLNA_CFLAGS=$pkg_cv_GUPNPDLNA_CFLAGS
12417         GUPNPDLNA_LIBS=$pkg_cv_GUPNPDLNA_LIBS
12418         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12419 $as_echo "yes" >&6; }
12420
12421 fi
12422
12423 pkg_failed=no
12424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUP" >&5
12425 $as_echo_n "checking for SOUP... " >&6; }
12426
12427 if test -n "$SOUP_CFLAGS"; then
12428     pkg_cv_SOUP_CFLAGS="$SOUP_CFLAGS"
12429  elif test -n "$PKG_CONFIG"; then
12430     if test -n "$PKG_CONFIG" && \
12431     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4 >= 2.28.2\""; } >&5
12432   ($PKG_CONFIG --exists --print-errors "libsoup-2.4 >= 2.28.2") 2>&5
12433   ac_status=$?
12434   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12435   test $ac_status = 0; }; then
12436   pkg_cv_SOUP_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.4 >= 2.28.2" 2>/dev/null`
12437                       test "x$?" != "x0" && pkg_failed=yes
12438 else
12439   pkg_failed=yes
12440 fi
12441  else
12442     pkg_failed=untried
12443 fi
12444 if test -n "$SOUP_LIBS"; then
12445     pkg_cv_SOUP_LIBS="$SOUP_LIBS"
12446  elif test -n "$PKG_CONFIG"; then
12447     if test -n "$PKG_CONFIG" && \
12448     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4 >= 2.28.2\""; } >&5
12449   ($PKG_CONFIG --exists --print-errors "libsoup-2.4 >= 2.28.2") 2>&5
12450   ac_status=$?
12451   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12452   test $ac_status = 0; }; then
12453   pkg_cv_SOUP_LIBS=`$PKG_CONFIG --libs "libsoup-2.4 >= 2.28.2" 2>/dev/null`
12454                       test "x$?" != "x0" && pkg_failed=yes
12455 else
12456   pkg_failed=yes
12457 fi
12458  else
12459     pkg_failed=untried
12460 fi
12461
12462
12463
12464 if test $pkg_failed = yes; then
12465         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12466 $as_echo "no" >&6; }
12467
12468 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12469         _pkg_short_errors_supported=yes
12470 else
12471         _pkg_short_errors_supported=no
12472 fi
12473         if test $_pkg_short_errors_supported = yes; then
12474                 SOUP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsoup-2.4 >= 2.28.2" 2>&1`
12475         else
12476                 SOUP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsoup-2.4 >= 2.28.2" 2>&1`
12477         fi
12478         # Put the nasty error message in config.log where it belongs
12479         echo "$SOUP_PKG_ERRORS" >&5
12480
12481         as_fn_error $? "Package requirements (libsoup-2.4 >= 2.28.2) were not met:
12482
12483 $SOUP_PKG_ERRORS
12484
12485 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12486 installed software in a non-standard prefix.
12487
12488 Alternatively, you may set the environment variables SOUP_CFLAGS
12489 and SOUP_LIBS to avoid the need to call pkg-config.
12490 See the pkg-config man page for more details." "$LINENO" 5
12491 elif test $pkg_failed = untried; then
12492         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12493 $as_echo "no" >&6; }
12494         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12495 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12496 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12497 is in your PATH or set the PKG_CONFIG environment variable to the full
12498 path to pkg-config.
12499
12500 Alternatively, you may set the environment variables SOUP_CFLAGS
12501 and SOUP_LIBS to avoid the need to call pkg-config.
12502 See the pkg-config man page for more details.
12503
12504 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12505 See \`config.log' for more details" "$LINENO" 5; }
12506 else
12507         SOUP_CFLAGS=$pkg_cv_SOUP_CFLAGS
12508         SOUP_LIBS=$pkg_cv_SOUP_LIBS
12509         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12510 $as_echo "yes" >&6; }
12511
12512 fi
12513
12514 # Checks for header files.
12515 for ac_header in stdlib.h string.h syslog.h
12516 do :
12517   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12518 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12519 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12520   cat >>confdefs.h <<_ACEOF
12521 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12522 _ACEOF
12523
12524 fi
12525
12526 done
12527
12528
12529 # Checks for typedefs, structures, and compiler characteristics.
12530 ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
12531 case $ac_cv_c_uint8_t in #(
12532   no|yes) ;; #(
12533   *)
12534
12535 $as_echo "#define _UINT8_T 1" >>confdefs.h
12536
12537
12538 cat >>confdefs.h <<_ACEOF
12539 #define uint8_t $ac_cv_c_uint8_t
12540 _ACEOF
12541 ;;
12542   esac
12543
12544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
12545 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
12546 if ${ac_cv_header_stdbool_h+:} false; then :
12547   $as_echo_n "(cached) " >&6
12548 else
12549   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12550 /* end confdefs.h.  */
12551
12552              #include <stdbool.h>
12553              #ifndef bool
12554               "error: bool is not defined"
12555              #endif
12556              #ifndef false
12557               "error: false is not defined"
12558              #endif
12559              #if false
12560               "error: false is not 0"
12561              #endif
12562              #ifndef true
12563               "error: true is not defined"
12564              #endif
12565              #if true != 1
12566               "error: true is not 1"
12567              #endif
12568              #ifndef __bool_true_false_are_defined
12569               "error: __bool_true_false_are_defined is not defined"
12570              #endif
12571
12572              struct s { _Bool s: 1; _Bool t; } s;
12573
12574              char a[true == 1 ? 1 : -1];
12575              char b[false == 0 ? 1 : -1];
12576              char c[__bool_true_false_are_defined == 1 ? 1 : -1];
12577              char d[(bool) 0.5 == true ? 1 : -1];
12578              /* See body of main program for 'e'.  */
12579              char f[(_Bool) 0.0 == false ? 1 : -1];
12580              char g[true];
12581              char h[sizeof (_Bool)];
12582              char i[sizeof s.t];
12583              enum { j = false, k = true, l = false * true, m = true * 256 };
12584              /* The following fails for
12585                 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
12586              _Bool n[m];
12587              char o[sizeof n == m * sizeof n[0] ? 1 : -1];
12588              char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
12589              /* Catch a bug in an HP-UX C compiler.  See
12590                 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
12591                 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
12592               */
12593              _Bool q = true;
12594              _Bool *pq = &q;
12595
12596 int
12597 main ()
12598 {
12599
12600              bool e = &s;
12601              *pq |= q;
12602              *pq |= ! q;
12603              /* Refer to every declared value, to avoid compiler optimizations.  */
12604              return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
12605                      + !m + !n + !o + !p + !q + !pq);
12606
12607   ;
12608   return 0;
12609 }
12610 _ACEOF
12611 if ac_fn_c_try_compile "$LINENO"; then :
12612   ac_cv_header_stdbool_h=yes
12613 else
12614   ac_cv_header_stdbool_h=no
12615 fi
12616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12617 fi
12618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
12619 $as_echo "$ac_cv_header_stdbool_h" >&6; }
12620    ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
12621 if test "x$ac_cv_type__Bool" = xyes; then :
12622
12623 cat >>confdefs.h <<_ACEOF
12624 #define HAVE__BOOL 1
12625 _ACEOF
12626
12627
12628 fi
12629
12630
12631 if test $ac_cv_header_stdbool_h = yes; then
12632
12633 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
12634
12635 fi
12636
12637 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
12638 if test "x$ac_cv_type_size_t" = xyes; then :
12639
12640 else
12641
12642 cat >>confdefs.h <<_ACEOF
12643 #define size_t unsigned int
12644 _ACEOF
12645
12646 fi
12647
12648
12649 # Checks for library functions.
12650 for ac_header in stdlib.h
12651 do :
12652   ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
12653 if test "x$ac_cv_header_stdlib_h" = xyes; then :
12654   cat >>confdefs.h <<_ACEOF
12655 #define HAVE_STDLIB_H 1
12656 _ACEOF
12657
12658 fi
12659
12660 done
12661
12662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
12663 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
12664 if ${ac_cv_func_malloc_0_nonnull+:} false; then :
12665   $as_echo_n "(cached) " >&6
12666 else
12667   if test "$cross_compiling" = yes; then :
12668   ac_cv_func_malloc_0_nonnull=no
12669 else
12670   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12671 /* end confdefs.h.  */
12672 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
12673 # include <stdlib.h>
12674 #else
12675 char *malloc ();
12676 #endif
12677
12678 int
12679 main ()
12680 {
12681 return ! malloc (0);
12682   ;
12683   return 0;
12684 }
12685 _ACEOF
12686 if ac_fn_c_try_run "$LINENO"; then :
12687   ac_cv_func_malloc_0_nonnull=yes
12688 else
12689   ac_cv_func_malloc_0_nonnull=no
12690 fi
12691 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12692   conftest.$ac_objext conftest.beam conftest.$ac_ext
12693 fi
12694
12695 fi
12696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
12697 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
12698 if test $ac_cv_func_malloc_0_nonnull = yes; then :
12699
12700 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
12701
12702 else
12703   $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
12704
12705    case " $LIBOBJS " in
12706   *" malloc.$ac_objext "* ) ;;
12707   *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
12708  ;;
12709 esac
12710
12711
12712 $as_echo "#define malloc rpl_malloc" >>confdefs.h
12713
12714 fi
12715
12716
12717 for ac_header in stdlib.h
12718 do :
12719   ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
12720 if test "x$ac_cv_header_stdlib_h" = xyes; then :
12721   cat >>confdefs.h <<_ACEOF
12722 #define HAVE_STDLIB_H 1
12723 _ACEOF
12724
12725 fi
12726
12727 done
12728
12729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
12730 $as_echo_n "checking for GNU libc compatible realloc... " >&6; }
12731 if ${ac_cv_func_realloc_0_nonnull+:} false; then :
12732   $as_echo_n "(cached) " >&6
12733 else
12734   if test "$cross_compiling" = yes; then :
12735   ac_cv_func_realloc_0_nonnull=no
12736 else
12737   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12738 /* end confdefs.h.  */
12739 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
12740 # include <stdlib.h>
12741 #else
12742 char *realloc ();
12743 #endif
12744
12745 int
12746 main ()
12747 {
12748 return ! realloc (0, 0);
12749   ;
12750   return 0;
12751 }
12752 _ACEOF
12753 if ac_fn_c_try_run "$LINENO"; then :
12754   ac_cv_func_realloc_0_nonnull=yes
12755 else
12756   ac_cv_func_realloc_0_nonnull=no
12757 fi
12758 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12759   conftest.$ac_objext conftest.beam conftest.$ac_ext
12760 fi
12761
12762 fi
12763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
12764 $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
12765 if test $ac_cv_func_realloc_0_nonnull = yes; then :
12766
12767 $as_echo "#define HAVE_REALLOC 1" >>confdefs.h
12768
12769 else
12770   $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
12771
12772    case " $LIBOBJS " in
12773   *" realloc.$ac_objext "* ) ;;
12774   *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
12775  ;;
12776 esac
12777
12778
12779 $as_echo "#define realloc rpl_realloc" >>confdefs.h
12780
12781 fi
12782
12783
12784 for ac_func in memset strchr strrchr strstr
12785 do :
12786   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12787 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12788 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12789   cat >>confdefs.h <<_ACEOF
12790 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12791 _ACEOF
12792
12793 fi
12794 done
12795
12796
12797 # Define Log Level values
12798 LOG_LEVEL_0=0x00
12799 LOG_LEVEL_1=0x01
12800 LOG_LEVEL_2=0x02
12801 LOG_LEVEL_3=0x04
12802 LOG_LEVEL_4=0x08
12803 LOG_LEVEL_5=0x10
12804 LOG_LEVEL_6=0x20
12805 LOG_LEVEL_7=0x13
12806 LOG_LEVEL_8=0x3F
12807
12808
12809 cat >>confdefs.h <<_ACEOF
12810 #define DLEYNA_LOG_LEVEL_DISABLED ${LOG_LEVEL_0}
12811 _ACEOF
12812
12813
12814 cat >>confdefs.h <<_ACEOF
12815 #define DLEYNA_LOG_LEVEL_ERROR ${LOG_LEVEL_1}
12816 _ACEOF
12817
12818
12819 cat >>confdefs.h <<_ACEOF
12820 #define DLEYNA_LOG_LEVEL_CRITICAL ${LOG_LEVEL_2}
12821 _ACEOF
12822
12823
12824 cat >>confdefs.h <<_ACEOF
12825 #define DLEYNA_LOG_LEVEL_WARNING ${LOG_LEVEL_3}
12826 _ACEOF
12827
12828
12829 cat >>confdefs.h <<_ACEOF
12830 #define DLEYNA_LOG_LEVEL_MESSAGE ${LOG_LEVEL_4}
12831 _ACEOF
12832
12833
12834 cat >>confdefs.h <<_ACEOF
12835 #define DLEYNA_LOG_LEVEL_INFO ${LOG_LEVEL_5}
12836 _ACEOF
12837
12838
12839 cat >>confdefs.h <<_ACEOF
12840 #define DLEYNA_LOG_LEVEL_DEBUG ${LOG_LEVEL_6}
12841 _ACEOF
12842
12843
12844 cat >>confdefs.h <<_ACEOF
12845 #define DLEYNA_LOG_LEVEL_DEFAULT ${LOG_LEVEL_7}
12846 _ACEOF
12847
12848
12849 cat >>confdefs.h <<_ACEOF
12850 #define DLEYNA_LOG_LEVEL_ALL ${LOG_LEVEL_8}
12851 _ACEOF
12852
12853
12854 # Check whether --enable-master-build was given.
12855 if test "${enable_master_build+set}" = set; then :
12856   enableval=$enable_master_build;
12857 else
12858   master_build=no
12859 fi
12860
12861
12862 if test "x$master_build" = "xno"; then :
12863
12864 pkg_failed=no
12865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DLEYNA_CORE" >&5
12866 $as_echo_n "checking for DLEYNA_CORE... " >&6; }
12867
12868 if test -n "$DLEYNA_CORE_CFLAGS"; then
12869     pkg_cv_DLEYNA_CORE_CFLAGS="$DLEYNA_CORE_CFLAGS"
12870  elif test -n "$PKG_CONFIG"; then
12871     if test -n "$PKG_CONFIG" && \
12872     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dleyna-core-1.0 >= 0.0.1\""; } >&5
12873   ($PKG_CONFIG --exists --print-errors "dleyna-core-1.0 >= 0.0.1") 2>&5
12874   ac_status=$?
12875   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12876   test $ac_status = 0; }; then
12877   pkg_cv_DLEYNA_CORE_CFLAGS=`$PKG_CONFIG --cflags "dleyna-core-1.0 >= 0.0.1" 2>/dev/null`
12878                       test "x$?" != "x0" && pkg_failed=yes
12879 else
12880   pkg_failed=yes
12881 fi
12882  else
12883     pkg_failed=untried
12884 fi
12885 if test -n "$DLEYNA_CORE_LIBS"; then
12886     pkg_cv_DLEYNA_CORE_LIBS="$DLEYNA_CORE_LIBS"
12887  elif test -n "$PKG_CONFIG"; then
12888     if test -n "$PKG_CONFIG" && \
12889     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dleyna-core-1.0 >= 0.0.1\""; } >&5
12890   ($PKG_CONFIG --exists --print-errors "dleyna-core-1.0 >= 0.0.1") 2>&5
12891   ac_status=$?
12892   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12893   test $ac_status = 0; }; then
12894   pkg_cv_DLEYNA_CORE_LIBS=`$PKG_CONFIG --libs "dleyna-core-1.0 >= 0.0.1" 2>/dev/null`
12895                       test "x$?" != "x0" && pkg_failed=yes
12896 else
12897   pkg_failed=yes
12898 fi
12899  else
12900     pkg_failed=untried
12901 fi
12902
12903
12904
12905 if test $pkg_failed = yes; then
12906         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12907 $as_echo "no" >&6; }
12908
12909 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12910         _pkg_short_errors_supported=yes
12911 else
12912         _pkg_short_errors_supported=no
12913 fi
12914         if test $_pkg_short_errors_supported = yes; then
12915                 DLEYNA_CORE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dleyna-core-1.0 >= 0.0.1" 2>&1`
12916         else
12917                 DLEYNA_CORE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dleyna-core-1.0 >= 0.0.1" 2>&1`
12918         fi
12919         # Put the nasty error message in config.log where it belongs
12920         echo "$DLEYNA_CORE_PKG_ERRORS" >&5
12921
12922         as_fn_error $? "Package requirements (dleyna-core-1.0 >= 0.0.1) were not met:
12923
12924 $DLEYNA_CORE_PKG_ERRORS
12925
12926 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12927 installed software in a non-standard prefix.
12928
12929 Alternatively, you may set the environment variables DLEYNA_CORE_CFLAGS
12930 and DLEYNA_CORE_LIBS to avoid the need to call pkg-config.
12931 See the pkg-config man page for more details." "$LINENO" 5
12932 elif test $pkg_failed = untried; then
12933         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12934 $as_echo "no" >&6; }
12935         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12936 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12937 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12938 is in your PATH or set the PKG_CONFIG environment variable to the full
12939 path to pkg-config.
12940
12941 Alternatively, you may set the environment variables DLEYNA_CORE_CFLAGS
12942 and DLEYNA_CORE_LIBS to avoid the need to call pkg-config.
12943 See the pkg-config man page for more details.
12944
12945 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12946 See \`config.log' for more details" "$LINENO" 5; }
12947 else
12948         DLEYNA_CORE_CFLAGS=$pkg_cv_DLEYNA_CORE_CFLAGS
12949         DLEYNA_CORE_LIBS=$pkg_cv_DLEYNA_CORE_LIBS
12950         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12951 $as_echo "yes" >&6; }
12952
12953 fi
12954 else
12955   this_abs_top_srcdir=`cd "$srcdir" && pwd`;
12956        DLEYNA_CORE_CFLAGS="-I$this_abs_top_srcdir/../dleyna-core";
12957        DLEYNA_CORE_LIBS="-L$this_abs_top_srcdir/../dleyna-core/.libs -ldleyna-core-1.0"
12958
12959 fi
12960
12961 # Check whether --enable-debug was given.
12962 if test "${enable_debug+set}" = set; then :
12963   enableval=$enable_debug;
12964 else
12965   enable_debug=no
12966 fi
12967
12968
12969 case "${enable_debug}" in #(
12970   yes) :
12971     CFLAGS="$CFLAGS -g";
12972
12973 cat >>confdefs.h <<_ACEOF
12974 #define DLEYNA_DEBUG_ENABLED 1
12975 _ACEOF
12976
12977                 ;; #(
12978   no) :
12979      ;; #(
12980   *) :
12981     as_fn_error $? "bad value ${enable_debug} for --enable-debug" "$LINENO" 5 ;;
12982 esac
12983
12984
12985 # Check whether --enable-werror was given.
12986 if test "${enable_werror+set}" = set; then :
12987   enableval=$enable_werror;
12988 else
12989   enable_werror=no
12990 fi
12991
12992
12993 case "${enable_werror}" in #(
12994   yes) :
12995     CFLAGS="$CFLAGS -Werror" ;; #(
12996   no) :
12997      ;; #(
12998   *) :
12999     as_fn_error $? "bad value ${enable_werror} for --enable-werror" "$LINENO" 5 ;;
13000 esac
13001
13002
13003 # Check whether --enable-optimization was given.
13004 if test "${enable_optimization+set}" = set; then :
13005   enableval=$enable_optimization;
13006 else
13007   enable_optimization=yes
13008 fi
13009
13010
13011 case "${enable_optimization}" in #(
13012   yes) :
13013     disable_optimization=no ;; #(
13014   no) :
13015     CFLAGS="$CFLAGS -O0"; disable_optimization=yes ;; #(
13016   *) :
13017     as_fn_error $? "bad value ${enable_optimization} for --enable-werror" "$LINENO" 5 ;;
13018 esac
13019
13020
13021 # Check whether --enable-never-quit was given.
13022 if test "${enable_never_quit+set}" = set; then :
13023   enableval=$enable_never_quit;
13024 else
13025   enable_never_quit=no
13026 fi
13027
13028
13029 case "${enable_never_quit}" in #(
13030   yes) :
13031     never_quit=true ;; #(
13032   no) :
13033     never_quit=false ;; #(
13034   *) :
13035     as_fn_error $? "bad value ${enable_never_quit} for --enable-never-quit" "$LINENO" 5 ;;
13036 esac
13037
13038
13039
13040 # Check whether --with-connector-name was given.
13041 if test "${with_connector_name+set}" = set; then :
13042   withval=$with_connector_name;
13043 else
13044   with_connector_name=dbus
13045 fi
13046
13047
13048
13049
13050 # Check whether --with-log-level was given.
13051 if test "${with_log_level+set}" = set; then :
13052   withval=$with_log_level;
13053 else
13054   with_log_level=7
13055 fi
13056
13057
13058
13059         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-log-level=${with_log_level}" >&5
13060 $as_echo_n "checking for --with-log-level=${with_log_level}... " >&6; }
13061
13062         old_IFS=${IFS}
13063         IFS=","
13064
13065         log_ok=yes
13066         log_single=no
13067         log_level_count=0
13068         LOG_LEVEL=0
13069         log_array=(0 0 0 0 0 0 0 0 0)
13070
13071         for log_level in ${with_log_level}
13072         do
13073                 IFS=${old_IFS}
13074
13075         case $log_level in #(
13076   [1-6]) :
13077     if test ${log_array[${log_level}]} -ne 0; then :
13078
13079                                         as_fn_error 1 "\"$log_level should be set once\"" "$LINENO" 5
13080
13081 elif test "x${log_single}" = xyes; then :
13082
13083                                         as_fn_error 1 "\"Unique value element already set\"" "$LINENO" 5
13084
13085 fi
13086                          ;; #(
13087   0|7|8) :
13088     if test ${log_level_count} -ne 0; then :
13089
13090                                         as_fn_error 1 "\"$log_level should be a unique value element\"" "$LINENO" 5
13091
13092 fi
13093                           log_single=yes
13094                          ;; #(
13095   *) :
13096     as_fn_error 1 "\"$log_level is not a valid value\"" "$LINENO" 5
13097          ;;
13098 esac
13099
13100         log_name=LOG_LEVEL_${log_level}
13101         eval log_value=\$${log_name}
13102         let "LOG_LEVEL |= ${log_value}"
13103
13104
13105                 IFS=","
13106
13107                 let log_level_count++
13108                 let log_array[${log_level}]++
13109         done
13110
13111         IFS=${old_IFS}
13112
13113
13114 cat >>confdefs.h <<_ACEOF
13115 #define DLEYNA_LOG_LEVEL ${LOG_LEVEL}
13116 _ACEOF
13117
13118
13119         { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
13120 $as_echo "ok" >&6; }
13121
13122
13123
13124
13125
13126 # Check whether --with-log-type was given.
13127 if test "${with_log_type+set}" = set; then :
13128   withval=$with_log_type;
13129 else
13130   with_log_type=0
13131 fi
13132
13133
13134
13135         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-log-type=${with_log_type}" >&5
13136 $as_echo_n "checking for --with-log-type=${with_log_type}... " >&6; }
13137
13138         case ${with_log_type} in #(
13139   0|1) :
13140      ;; #(
13141   *) :
13142     as_fn_error 1 "\"${with_log_type} is not a valid value\"" "$LINENO" 5
13143          ;;
13144 esac
13145
13146         { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
13147 $as_echo "ok" >&6; }
13148
13149
13150
13151
13152
13153 # Check whether --with-ua-prefix was given.
13154 if test "${with_ua_prefix+set}" = set; then :
13155   withval=$with_ua_prefix; with_ua_prefix = "$withval";
13156 cat >>confdefs.h <<_ACEOF
13157 #define UA_PREFIX "$with_ua_prefix"
13158 _ACEOF
13159
13160 fi
13161
13162
13163
13164
13165 # Check whether --enable-lib-only was given.
13166 if test "${enable_lib_only+set}" = set; then :
13167   enableval=$enable_lib_only;
13168 else
13169   enable_lib_only=no
13170 fi
13171
13172
13173 if test "x$enable_lib_only" = "xno"; then :
13174
13175 pkg_failed=no
13176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5
13177 $as_echo_n "checking for DBUS... " >&6; }
13178
13179 if test -n "$DBUS_CFLAGS"; then
13180     pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
13181  elif test -n "$PKG_CONFIG"; then
13182     if test -n "$PKG_CONFIG" && \
13183     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1\""; } >&5
13184   ($PKG_CONFIG --exists --print-errors "dbus-1") 2>&5
13185   ac_status=$?
13186   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13187   test $ac_status = 0; }; then
13188   pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1" 2>/dev/null`
13189                       test "x$?" != "x0" && pkg_failed=yes
13190 else
13191   pkg_failed=yes
13192 fi
13193  else
13194     pkg_failed=untried
13195 fi
13196 if test -n "$DBUS_LIBS"; then
13197     pkg_cv_DBUS_LIBS="$DBUS_LIBS"
13198  elif test -n "$PKG_CONFIG"; then
13199     if test -n "$PKG_CONFIG" && \
13200     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1\""; } >&5
13201   ($PKG_CONFIG --exists --print-errors "dbus-1") 2>&5
13202   ac_status=$?
13203   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13204   test $ac_status = 0; }; then
13205   pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1" 2>/dev/null`
13206                       test "x$?" != "x0" && pkg_failed=yes
13207 else
13208   pkg_failed=yes
13209 fi
13210  else
13211     pkg_failed=untried
13212 fi
13213
13214
13215
13216 if test $pkg_failed = yes; then
13217         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13218 $as_echo "no" >&6; }
13219
13220 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13221         _pkg_short_errors_supported=yes
13222 else
13223         _pkg_short_errors_supported=no
13224 fi
13225         if test $_pkg_short_errors_supported = yes; then
13226                 DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dbus-1" 2>&1`
13227         else
13228                 DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dbus-1" 2>&1`
13229         fi
13230         # Put the nasty error message in config.log where it belongs
13231         echo "$DBUS_PKG_ERRORS" >&5
13232
13233         enable_lib_only=yes
13234 elif test $pkg_failed = untried; then
13235         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13236 $as_echo "no" >&6; }
13237         enable_lib_only=yes
13238 else
13239         DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
13240         DBUS_LIBS=$pkg_cv_DBUS_LIBS
13241         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13242 $as_echo "yes" >&6; }
13243         DBUS_SESSION_DIR=`$PKG_CONFIG --variable=session_bus_services_dir dbus-1`;
13244
13245
13246 fi
13247
13248 fi
13249
13250  if test "x$enable_lib_only" = "xno"; then
13251   BUILD_SERVER_TRUE=
13252   BUILD_SERVER_FALSE='#'
13253 else
13254   BUILD_SERVER_TRUE='#'
13255   BUILD_SERVER_FALSE=
13256 fi
13257
13258
13259
13260 $as_echo "#define DLEYNA_SERVER_OBJECT \"/com/intel/dLeynaServer\"" >>confdefs.h
13261
13262
13263 $as_echo "#define DLEYNA_SERVER_PATH \"/com/intel/dLeynaServer/server\"" >>confdefs.h
13264
13265
13266 DLEYNA_SERVER_NAME=com.intel.dleyna-server
13267
13268
13269 $as_echo "#define DLEYNA_SERVER_NAME \"com.intel.dleyna-server\"" >>confdefs.h
13270
13271
13272 DLEYNA_SERVER_INTERFACE_MANAGER=com.intel.dLeynaServer.Manager
13273
13274
13275 $as_echo "#define DLEYNA_SERVER_INTERFACE_MANAGER \"com.intel.dLeynaServer.Manager\"" >>confdefs.h
13276
13277
13278 DLEYNA_SERVER_INTERFACE_MEDIA_DEVICE=com.intel.dLeynaServer.MediaDevice
13279
13280
13281 $as_echo "#define DLEYNA_SERVER_INTERFACE_MEDIA_DEVICE \"com.intel.dLeynaServer.MediaDevice\"" >>confdefs.h
13282
13283
13284
13285
13286
13287
13288
13289 ac_config_files="$ac_config_files Makefile libdleyna/server/Makefile libdleyna/server/dleyna-server-1.0.pc libdleyna/server/dleyna-server-service.conf server/com.intel.dleyna-server.service server/dleyna-server-service-1.0.pc server/Makefile test/dbus/Makefile"
13290
13291
13292 cat >confcache <<\_ACEOF
13293 # This file is a shell script that caches the results of configure
13294 # tests run on this system so they can be shared between configure
13295 # scripts and configure runs, see configure's option --config-cache.
13296 # It is not useful on other systems.  If it contains results you don't
13297 # want to keep, you may remove or edit it.
13298 #
13299 # config.status only pays attention to the cache file if you give it
13300 # the --recheck option to rerun configure.
13301 #
13302 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13303 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13304 # following values.
13305
13306 _ACEOF
13307
13308 # The following way of writing the cache mishandles newlines in values,
13309 # but we know of no workaround that is simple, portable, and efficient.
13310 # So, we kill variables containing newlines.
13311 # Ultrix sh set writes to stderr and can't be redirected directly,
13312 # and sets the high bit in the cache file unless we assign to the vars.
13313 (
13314   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13315     eval ac_val=\$$ac_var
13316     case $ac_val in #(
13317     *${as_nl}*)
13318       case $ac_var in #(
13319       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13320 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13321       esac
13322       case $ac_var in #(
13323       _ | IFS | as_nl) ;; #(
13324       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13325       *) { eval $ac_var=; unset $ac_var;} ;;
13326       esac ;;
13327     esac
13328   done
13329
13330   (set) 2>&1 |
13331     case $as_nl`(ac_space=' '; set) 2>&1` in #(
13332     *${as_nl}ac_space=\ *)
13333       # `set' does not quote correctly, so add quotes: double-quote
13334       # substitution turns \\\\ into \\, and sed turns \\ into \.
13335       sed -n \
13336         "s/'/'\\\\''/g;
13337           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13338       ;; #(
13339     *)
13340       # `set' quotes correctly as required by POSIX, so do not add quotes.
13341       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13342       ;;
13343     esac |
13344     sort
13345 ) |
13346   sed '
13347      /^ac_cv_env_/b end
13348      t clear
13349      :clear
13350      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13351      t end
13352      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13353      :end' >>confcache
13354 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13355   if test -w "$cache_file"; then
13356     if test "x$cache_file" != "x/dev/null"; then
13357       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13358 $as_echo "$as_me: updating cache $cache_file" >&6;}
13359       if test ! -f "$cache_file" || test -h "$cache_file"; then
13360         cat confcache >"$cache_file"
13361       else
13362         case $cache_file in #(
13363         */* | ?:*)
13364           mv -f confcache "$cache_file"$$ &&
13365           mv -f "$cache_file"$$ "$cache_file" ;; #(
13366         *)
13367           mv -f confcache "$cache_file" ;;
13368         esac
13369       fi
13370     fi
13371   else
13372     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13373 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13374   fi
13375 fi
13376 rm -f confcache
13377
13378 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13379 # Let make expand exec_prefix.
13380 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13381
13382 DEFS=-DHAVE_CONFIG_H
13383
13384 ac_libobjs=
13385 ac_ltlibobjs=
13386 U=
13387 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13388   # 1. Remove the extension, and $U if already installed.
13389   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13390   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13391   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
13392   #    will be set to the directory where LIBOBJS objects are built.
13393   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13394   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13395 done
13396 LIBOBJS=$ac_libobjs
13397
13398 LTLIBOBJS=$ac_ltlibobjs
13399
13400
13401  if test -n "$EXEEXT"; then
13402   am__EXEEXT_TRUE=
13403   am__EXEEXT_FALSE='#'
13404 else
13405   am__EXEEXT_TRUE='#'
13406   am__EXEEXT_FALSE=
13407 fi
13408
13409 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13410   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
13411 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13412 fi
13413 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13414   as_fn_error $? "conditional \"AMDEP\" was never defined.
13415 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13416 fi
13417 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13418   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13419 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13420 fi
13421 if test -z "${BUILD_SERVER_TRUE}" && test -z "${BUILD_SERVER_FALSE}"; then
13422   as_fn_error $? "conditional \"BUILD_SERVER\" was never defined.
13423 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13424 fi
13425
13426 : "${CONFIG_STATUS=./config.status}"
13427 ac_write_fail=0
13428 ac_clean_files_save=$ac_clean_files
13429 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13430 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13431 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13432 as_write_fail=0
13433 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13434 #! $SHELL
13435 # Generated by $as_me.
13436 # Run this file to recreate the current configuration.
13437 # Compiler output produced by configure, useful for debugging
13438 # configure, is in config.log if it exists.
13439
13440 debug=false
13441 ac_cs_recheck=false
13442 ac_cs_silent=false
13443
13444 SHELL=\${CONFIG_SHELL-$SHELL}
13445 export SHELL
13446 _ASEOF
13447 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13448 ## -------------------- ##
13449 ## M4sh Initialization. ##
13450 ## -------------------- ##
13451
13452 # Be more Bourne compatible
13453 DUALCASE=1; export DUALCASE # for MKS sh
13454 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13455   emulate sh
13456   NULLCMD=:
13457   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13458   # is contrary to our usage.  Disable this feature.
13459   alias -g '${1+"$@"}'='"$@"'
13460   setopt NO_GLOB_SUBST
13461 else
13462   case `(set -o) 2>/dev/null` in #(
13463   *posix*) :
13464     set -o posix ;; #(
13465   *) :
13466      ;;
13467 esac
13468 fi
13469
13470
13471 as_nl='
13472 '
13473 export as_nl
13474 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13475 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13476 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13477 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13478 # Prefer a ksh shell builtin over an external printf program on Solaris,
13479 # but without wasting forks for bash or zsh.
13480 if test -z "$BASH_VERSION$ZSH_VERSION" \
13481     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13482   as_echo='print -r --'
13483   as_echo_n='print -rn --'
13484 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13485   as_echo='printf %s\n'
13486   as_echo_n='printf %s'
13487 else
13488   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13489     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13490     as_echo_n='/usr/ucb/echo -n'
13491   else
13492     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13493     as_echo_n_body='eval
13494       arg=$1;
13495       case $arg in #(
13496       *"$as_nl"*)
13497         expr "X$arg" : "X\\(.*\\)$as_nl";
13498         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13499       esac;
13500       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13501     '
13502     export as_echo_n_body
13503     as_echo_n='sh -c $as_echo_n_body as_echo'
13504   fi
13505   export as_echo_body
13506   as_echo='sh -c $as_echo_body as_echo'
13507 fi
13508
13509 # The user is always right.
13510 if test "${PATH_SEPARATOR+set}" != set; then
13511   PATH_SEPARATOR=:
13512   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13513     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13514       PATH_SEPARATOR=';'
13515   }
13516 fi
13517
13518
13519 # IFS
13520 # We need space, tab and new line, in precisely that order.  Quoting is
13521 # there to prevent editors from complaining about space-tab.
13522 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13523 # splitting by setting IFS to empty value.)
13524 IFS=" ""        $as_nl"
13525
13526 # Find who we are.  Look in the path if we contain no directory separator.
13527 as_myself=
13528 case $0 in #((
13529   *[\\/]* ) as_myself=$0 ;;
13530   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13531 for as_dir in $PATH
13532 do
13533   IFS=$as_save_IFS
13534   test -z "$as_dir" && as_dir=.
13535     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13536   done
13537 IFS=$as_save_IFS
13538
13539      ;;
13540 esac
13541 # We did not find ourselves, most probably we were run as `sh COMMAND'
13542 # in which case we are not to be found in the path.
13543 if test "x$as_myself" = x; then
13544   as_myself=$0
13545 fi
13546 if test ! -f "$as_myself"; then
13547   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13548   exit 1
13549 fi
13550
13551 # Unset variables that we do not need and which cause bugs (e.g. in
13552 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
13553 # suppresses any "Segmentation fault" message there.  '((' could
13554 # trigger a bug in pdksh 5.2.14.
13555 for as_var in BASH_ENV ENV MAIL MAILPATH
13556 do eval test x\${$as_var+set} = xset \
13557   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13558 done
13559 PS1='$ '
13560 PS2='> '
13561 PS4='+ '
13562
13563 # NLS nuisances.
13564 LC_ALL=C
13565 export LC_ALL
13566 LANGUAGE=C
13567 export LANGUAGE
13568
13569 # CDPATH.
13570 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13571
13572
13573 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13574 # ----------------------------------------
13575 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13576 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13577 # script with STATUS, using 1 if that was 0.
13578 as_fn_error ()
13579 {
13580   as_status=$1; test $as_status -eq 0 && as_status=1
13581   if test "$4"; then
13582     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13583     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13584   fi
13585   $as_echo "$as_me: error: $2" >&2
13586   as_fn_exit $as_status
13587 } # as_fn_error
13588
13589
13590 # as_fn_set_status STATUS
13591 # -----------------------
13592 # Set $? to STATUS, without forking.
13593 as_fn_set_status ()
13594 {
13595   return $1
13596 } # as_fn_set_status
13597
13598 # as_fn_exit STATUS
13599 # -----------------
13600 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13601 as_fn_exit ()
13602 {
13603   set +e
13604   as_fn_set_status $1
13605   exit $1
13606 } # as_fn_exit
13607
13608 # as_fn_unset VAR
13609 # ---------------
13610 # Portably unset VAR.
13611 as_fn_unset ()
13612 {
13613   { eval $1=; unset $1;}
13614 }
13615 as_unset=as_fn_unset
13616 # as_fn_append VAR VALUE
13617 # ----------------------
13618 # Append the text in VALUE to the end of the definition contained in VAR. Take
13619 # advantage of any shell optimizations that allow amortized linear growth over
13620 # repeated appends, instead of the typical quadratic growth present in naive
13621 # implementations.
13622 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13623   eval 'as_fn_append ()
13624   {
13625     eval $1+=\$2
13626   }'
13627 else
13628   as_fn_append ()
13629   {
13630     eval $1=\$$1\$2
13631   }
13632 fi # as_fn_append
13633
13634 # as_fn_arith ARG...
13635 # ------------------
13636 # Perform arithmetic evaluation on the ARGs, and store the result in the
13637 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13638 # must be portable across $(()) and expr.
13639 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13640   eval 'as_fn_arith ()
13641   {
13642     as_val=$(( $* ))
13643   }'
13644 else
13645   as_fn_arith ()
13646   {
13647     as_val=`expr "$@" || test $? -eq 1`
13648   }
13649 fi # as_fn_arith
13650
13651
13652 if expr a : '\(a\)' >/dev/null 2>&1 &&
13653    test "X`expr 00001 : '.*\(...\)'`" = X001; then
13654   as_expr=expr
13655 else
13656   as_expr=false
13657 fi
13658
13659 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13660   as_basename=basename
13661 else
13662   as_basename=false
13663 fi
13664
13665 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13666   as_dirname=dirname
13667 else
13668   as_dirname=false
13669 fi
13670
13671 as_me=`$as_basename -- "$0" ||
13672 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13673          X"$0" : 'X\(//\)$' \| \
13674          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13675 $as_echo X/"$0" |
13676     sed '/^.*\/\([^/][^/]*\)\/*$/{
13677             s//\1/
13678             q
13679           }
13680           /^X\/\(\/\/\)$/{
13681             s//\1/
13682             q
13683           }
13684           /^X\/\(\/\).*/{
13685             s//\1/
13686             q
13687           }
13688           s/.*/./; q'`
13689
13690 # Avoid depending upon Character Ranges.
13691 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13692 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13693 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13694 as_cr_digits='0123456789'
13695 as_cr_alnum=$as_cr_Letters$as_cr_digits
13696
13697 ECHO_C= ECHO_N= ECHO_T=
13698 case `echo -n x` in #(((((
13699 -n*)
13700   case `echo 'xy\c'` in
13701   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
13702   xy)  ECHO_C='\c';;
13703   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
13704        ECHO_T=' ';;
13705   esac;;
13706 *)
13707   ECHO_N='-n';;
13708 esac
13709
13710 rm -f conf$$ conf$$.exe conf$$.file
13711 if test -d conf$$.dir; then
13712   rm -f conf$$.dir/conf$$.file
13713 else
13714   rm -f conf$$.dir
13715   mkdir conf$$.dir 2>/dev/null
13716 fi
13717 if (echo >conf$$.file) 2>/dev/null; then
13718   if ln -s conf$$.file conf$$ 2>/dev/null; then
13719     as_ln_s='ln -s'
13720     # ... but there are two gotchas:
13721     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13722     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13723     # In both cases, we have to default to `cp -pR'.
13724     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13725       as_ln_s='cp -pR'
13726   elif ln conf$$.file conf$$ 2>/dev/null; then
13727     as_ln_s=ln
13728   else
13729     as_ln_s='cp -pR'
13730   fi
13731 else
13732   as_ln_s='cp -pR'
13733 fi
13734 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13735 rmdir conf$$.dir 2>/dev/null
13736
13737
13738 # as_fn_mkdir_p
13739 # -------------
13740 # Create "$as_dir" as a directory, including parents if necessary.
13741 as_fn_mkdir_p ()
13742 {
13743
13744   case $as_dir in #(
13745   -*) as_dir=./$as_dir;;
13746   esac
13747   test -d "$as_dir" || eval $as_mkdir_p || {
13748     as_dirs=
13749     while :; do
13750       case $as_dir in #(
13751       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13752       *) as_qdir=$as_dir;;
13753       esac
13754       as_dirs="'$as_qdir' $as_dirs"
13755       as_dir=`$as_dirname -- "$as_dir" ||
13756 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13757          X"$as_dir" : 'X\(//\)[^/]' \| \
13758          X"$as_dir" : 'X\(//\)$' \| \
13759          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13760 $as_echo X"$as_dir" |
13761     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13762             s//\1/
13763             q
13764           }
13765           /^X\(\/\/\)[^/].*/{
13766             s//\1/
13767             q
13768           }
13769           /^X\(\/\/\)$/{
13770             s//\1/
13771             q
13772           }
13773           /^X\(\/\).*/{
13774             s//\1/
13775             q
13776           }
13777           s/.*/./; q'`
13778       test -d "$as_dir" && break
13779     done
13780     test -z "$as_dirs" || eval "mkdir $as_dirs"
13781   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13782
13783
13784 } # as_fn_mkdir_p
13785 if mkdir -p . 2>/dev/null; then
13786   as_mkdir_p='mkdir -p "$as_dir"'
13787 else
13788   test -d ./-p && rmdir ./-p
13789   as_mkdir_p=false
13790 fi
13791
13792
13793 # as_fn_executable_p FILE
13794 # -----------------------
13795 # Test if FILE is an executable regular file.
13796 as_fn_executable_p ()
13797 {
13798   test -f "$1" && test -x "$1"
13799 } # as_fn_executable_p
13800 as_test_x='test -x'
13801 as_executable_p=as_fn_executable_p
13802
13803 # Sed expression to map a string onto a valid CPP name.
13804 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13805
13806 # Sed expression to map a string onto a valid variable name.
13807 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13808
13809
13810 exec 6>&1
13811 ## ----------------------------------- ##
13812 ## Main body of $CONFIG_STATUS script. ##
13813 ## ----------------------------------- ##
13814 _ASEOF
13815 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13816
13817 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13818 # Save the log message, to keep $0 and so on meaningful, and to
13819 # report actual input values of CONFIG_FILES etc. instead of their
13820 # values after options handling.
13821 ac_log="
13822 This file was extended by dleyna-server $as_me 0.0.1, which was
13823 generated by GNU Autoconf 2.69.  Invocation command line was
13824
13825   CONFIG_FILES    = $CONFIG_FILES
13826   CONFIG_HEADERS  = $CONFIG_HEADERS
13827   CONFIG_LINKS    = $CONFIG_LINKS
13828   CONFIG_COMMANDS = $CONFIG_COMMANDS
13829   $ $0 $@
13830
13831 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13832 "
13833
13834 _ACEOF
13835
13836 case $ac_config_files in *"
13837 "*) set x $ac_config_files; shift; ac_config_files=$*;;
13838 esac
13839
13840 case $ac_config_headers in *"
13841 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13842 esac
13843
13844
13845 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13846 # Files that config.status was made for.
13847 config_files="$ac_config_files"
13848 config_headers="$ac_config_headers"
13849 config_commands="$ac_config_commands"
13850
13851 _ACEOF
13852
13853 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13854 ac_cs_usage="\
13855 \`$as_me' instantiates files and other configuration actions
13856 from templates according to the current configuration.  Unless the files
13857 and actions are specified as TAGs, all are instantiated by default.
13858
13859 Usage: $0 [OPTION]... [TAG]...
13860
13861   -h, --help       print this help, then exit
13862   -V, --version    print version number and configuration settings, then exit
13863       --config     print configuration, then exit
13864   -q, --quiet, --silent
13865                    do not print progress messages
13866   -d, --debug      don't remove temporary files
13867       --recheck    update $as_me by reconfiguring in the same conditions
13868       --file=FILE[:TEMPLATE]
13869                    instantiate the configuration file FILE
13870       --header=FILE[:TEMPLATE]
13871                    instantiate the configuration header FILE
13872
13873 Configuration files:
13874 $config_files
13875
13876 Configuration headers:
13877 $config_headers
13878
13879 Configuration commands:
13880 $config_commands
13881
13882 Report bugs to <https://github.com/01org/dleyna-server/issues/new>.
13883 dleyna-server home page: <https://01.org/dleyna/>."
13884
13885 _ACEOF
13886 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13887 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13888 ac_cs_version="\\
13889 dleyna-server config.status 0.0.1
13890 configured by $0, generated by GNU Autoconf 2.69,
13891   with options \\"\$ac_cs_config\\"
13892
13893 Copyright (C) 2012 Free Software Foundation, Inc.
13894 This config.status script is free software; the Free Software Foundation
13895 gives unlimited permission to copy, distribute and modify it."
13896
13897 ac_pwd='$ac_pwd'
13898 srcdir='$srcdir'
13899 INSTALL='$INSTALL'
13900 MKDIR_P='$MKDIR_P'
13901 AWK='$AWK'
13902 test -n "\$AWK" || AWK=awk
13903 _ACEOF
13904
13905 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13906 # The default lists apply if the user does not specify any file.
13907 ac_need_defaults=:
13908 while test $# != 0
13909 do
13910   case $1 in
13911   --*=?*)
13912     ac_option=`expr "X$1" : 'X\([^=]*\)='`
13913     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13914     ac_shift=:
13915     ;;
13916   --*=)
13917     ac_option=`expr "X$1" : 'X\([^=]*\)='`
13918     ac_optarg=
13919     ac_shift=:
13920     ;;
13921   *)
13922     ac_option=$1
13923     ac_optarg=$2
13924     ac_shift=shift
13925     ;;
13926   esac
13927
13928   case $ac_option in
13929   # Handling of the options.
13930   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13931     ac_cs_recheck=: ;;
13932   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13933     $as_echo "$ac_cs_version"; exit ;;
13934   --config | --confi | --conf | --con | --co | --c )
13935     $as_echo "$ac_cs_config"; exit ;;
13936   --debug | --debu | --deb | --de | --d | -d )
13937     debug=: ;;
13938   --file | --fil | --fi | --f )
13939     $ac_shift
13940     case $ac_optarg in
13941     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13942     '') as_fn_error $? "missing file argument" ;;
13943     esac
13944     as_fn_append CONFIG_FILES " '$ac_optarg'"
13945     ac_need_defaults=false;;
13946   --header | --heade | --head | --hea )
13947     $ac_shift
13948     case $ac_optarg in
13949     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13950     esac
13951     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13952     ac_need_defaults=false;;
13953   --he | --h)
13954     # Conflict between --help and --header
13955     as_fn_error $? "ambiguous option: \`$1'
13956 Try \`$0 --help' for more information.";;
13957   --help | --hel | -h )
13958     $as_echo "$ac_cs_usage"; exit ;;
13959   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13960   | -silent | --silent | --silen | --sile | --sil | --si | --s)
13961     ac_cs_silent=: ;;
13962
13963   # This is an error.
13964   -*) as_fn_error $? "unrecognized option: \`$1'
13965 Try \`$0 --help' for more information." ;;
13966
13967   *) as_fn_append ac_config_targets " $1"
13968      ac_need_defaults=false ;;
13969
13970   esac
13971   shift
13972 done
13973
13974 ac_configure_extra_args=
13975
13976 if $ac_cs_silent; then
13977   exec 6>/dev/null
13978   ac_configure_extra_args="$ac_configure_extra_args --silent"
13979 fi
13980
13981 _ACEOF
13982 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13983 if \$ac_cs_recheck; then
13984   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13985   shift
13986   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13987   CONFIG_SHELL='$SHELL'
13988   export CONFIG_SHELL
13989   exec "\$@"
13990 fi
13991
13992 _ACEOF
13993 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13994 exec 5>>config.log
13995 {
13996   echo
13997   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13998 ## Running $as_me. ##
13999 _ASBOX
14000   $as_echo "$ac_log"
14001 } >&5
14002
14003 _ACEOF
14004 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14005 #
14006 # INIT-COMMANDS
14007 #
14008 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14009
14010
14011 # The HP-UX ksh and POSIX shell print the target directory to stdout
14012 # if CDPATH is set.
14013 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14014
14015 sed_quote_subst='$sed_quote_subst'
14016 double_quote_subst='$double_quote_subst'
14017 delay_variable_subst='$delay_variable_subst'
14018 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14019 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14020 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14021 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14022 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14023 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14024 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14025 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14026 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
14027 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14028 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14029 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14030 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14031 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14032 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14033 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14034 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14035 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14036 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14037 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14038 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14039 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14040 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14041 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14042 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14043 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14044 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14045 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14046 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14047 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14048 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14049 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14050 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14051 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14052 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14053 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14054 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14055 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14056 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14057 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14058 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14059 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14060 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14061 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14062 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14063 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14064 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14065 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14066 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14067 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14068 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14069 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14070 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14071 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14072 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14073 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14074 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"`'
14075 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14076 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14077 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14078 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14079 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14080 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14081 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14082 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14083 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14084 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14085 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14086 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14087 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14088 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14089 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14090 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14091 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14092 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14093 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14094 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14095 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14096 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14097 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14098 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14099 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14100 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14101 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14102 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14103 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14104 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14105 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14106 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14107 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14108 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14109 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14110 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14111 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14112 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14113 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14114 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14115 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14116 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14117 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14118 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14119 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14120 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14121 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14122 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14123 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14124 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14125 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14126 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14127 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14128 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14129 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14130 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14131 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14132 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14133 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14134 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14135 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14136 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14137 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14138 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14139 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14140 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14141 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14142 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14143 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14144 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14145 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14146 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14147 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14148
14149 LTCC='$LTCC'
14150 LTCFLAGS='$LTCFLAGS'
14151 compiler='$compiler_DEFAULT'
14152
14153 # A function that is used when there is no print builtin or printf.
14154 func_fallback_echo ()
14155 {
14156   eval 'cat <<_LTECHO_EOF
14157 \$1
14158 _LTECHO_EOF'
14159 }
14160
14161 # Quote evaled strings.
14162 for var in SHELL \
14163 ECHO \
14164 PATH_SEPARATOR \
14165 SED \
14166 GREP \
14167 EGREP \
14168 FGREP \
14169 LD \
14170 NM \
14171 LN_S \
14172 lt_SP2NL \
14173 lt_NL2SP \
14174 reload_flag \
14175 OBJDUMP \
14176 deplibs_check_method \
14177 file_magic_cmd \
14178 file_magic_glob \
14179 want_nocaseglob \
14180 DLLTOOL \
14181 sharedlib_from_linklib_cmd \
14182 AR \
14183 AR_FLAGS \
14184 archiver_list_spec \
14185 STRIP \
14186 RANLIB \
14187 CC \
14188 CFLAGS \
14189 compiler \
14190 lt_cv_sys_global_symbol_pipe \
14191 lt_cv_sys_global_symbol_to_cdecl \
14192 lt_cv_sys_global_symbol_to_c_name_address \
14193 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14194 nm_file_list_spec \
14195 lt_prog_compiler_no_builtin_flag \
14196 lt_prog_compiler_pic \
14197 lt_prog_compiler_wl \
14198 lt_prog_compiler_static \
14199 lt_cv_prog_compiler_c_o \
14200 need_locks \
14201 MANIFEST_TOOL \
14202 DSYMUTIL \
14203 NMEDIT \
14204 LIPO \
14205 OTOOL \
14206 OTOOL64 \
14207 shrext_cmds \
14208 export_dynamic_flag_spec \
14209 whole_archive_flag_spec \
14210 compiler_needs_object \
14211 with_gnu_ld \
14212 allow_undefined_flag \
14213 no_undefined_flag \
14214 hardcode_libdir_flag_spec \
14215 hardcode_libdir_separator \
14216 exclude_expsyms \
14217 include_expsyms \
14218 file_list_spec \
14219 variables_saved_for_relink \
14220 libname_spec \
14221 library_names_spec \
14222 soname_spec \
14223 install_override_mode \
14224 finish_eval \
14225 old_striplib \
14226 striplib; do
14227     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14228     *[\\\\\\\`\\"\\\$]*)
14229       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14230       ;;
14231     *)
14232       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14233       ;;
14234     esac
14235 done
14236
14237 # Double-quote double-evaled strings.
14238 for var in reload_cmds \
14239 old_postinstall_cmds \
14240 old_postuninstall_cmds \
14241 old_archive_cmds \
14242 extract_expsyms_cmds \
14243 old_archive_from_new_cmds \
14244 old_archive_from_expsyms_cmds \
14245 archive_cmds \
14246 archive_expsym_cmds \
14247 module_cmds \
14248 module_expsym_cmds \
14249 export_symbols_cmds \
14250 prelink_cmds \
14251 postlink_cmds \
14252 postinstall_cmds \
14253 postuninstall_cmds \
14254 finish_cmds \
14255 sys_lib_search_path_spec \
14256 sys_lib_dlsearch_path_spec; do
14257     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14258     *[\\\\\\\`\\"\\\$]*)
14259       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14260       ;;
14261     *)
14262       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14263       ;;
14264     esac
14265 done
14266
14267 ac_aux_dir='$ac_aux_dir'
14268 xsi_shell='$xsi_shell'
14269 lt_shell_append='$lt_shell_append'
14270
14271 # See if we are running on zsh, and set the options which allow our
14272 # commands through without removal of \ escapes INIT.
14273 if test -n "\${ZSH_VERSION+set}" ; then
14274    setopt NO_GLOB_SUBST
14275 fi
14276
14277
14278     PACKAGE='$PACKAGE'
14279     VERSION='$VERSION'
14280     TIMESTAMP='$TIMESTAMP'
14281     RM='$RM'
14282     ofile='$ofile'
14283
14284
14285
14286
14287 _ACEOF
14288
14289 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14290
14291 # Handling of arguments.
14292 for ac_config_target in $ac_config_targets
14293 do
14294   case $ac_config_target in
14295     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
14296     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14297     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14298     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14299     "libdleyna/server/Makefile") CONFIG_FILES="$CONFIG_FILES libdleyna/server/Makefile" ;;
14300     "libdleyna/server/dleyna-server-1.0.pc") CONFIG_FILES="$CONFIG_FILES libdleyna/server/dleyna-server-1.0.pc" ;;
14301     "libdleyna/server/dleyna-server-service.conf") CONFIG_FILES="$CONFIG_FILES libdleyna/server/dleyna-server-service.conf" ;;
14302     "server/com.intel.dleyna-server.service") CONFIG_FILES="$CONFIG_FILES server/com.intel.dleyna-server.service" ;;
14303     "server/dleyna-server-service-1.0.pc") CONFIG_FILES="$CONFIG_FILES server/dleyna-server-service-1.0.pc" ;;
14304     "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
14305     "test/dbus/Makefile") CONFIG_FILES="$CONFIG_FILES test/dbus/Makefile" ;;
14306
14307   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14308   esac
14309 done
14310
14311
14312 # If the user did not use the arguments to specify the items to instantiate,
14313 # then the envvar interface is used.  Set only those that are not.
14314 # We use the long form for the default assignment because of an extremely
14315 # bizarre bug on SunOS 4.1.3.
14316 if $ac_need_defaults; then
14317   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14318   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14319   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14320 fi
14321
14322 # Have a temporary directory for convenience.  Make it in the build tree
14323 # simply because there is no reason against having it here, and in addition,
14324 # creating and moving files from /tmp can sometimes cause problems.
14325 # Hook for its removal unless debugging.
14326 # Note that there is a small window in which the directory will not be cleaned:
14327 # after its creation but before its name has been assigned to `$tmp'.
14328 $debug ||
14329 {
14330   tmp= ac_tmp=
14331   trap 'exit_status=$?
14332   : "${ac_tmp:=$tmp}"
14333   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14334 ' 0
14335   trap 'as_fn_exit 1' 1 2 13 15
14336 }
14337 # Create a (secure) tmp directory for tmp files.
14338
14339 {
14340   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14341   test -d "$tmp"
14342 }  ||
14343 {
14344   tmp=./conf$$-$RANDOM
14345   (umask 077 && mkdir "$tmp")
14346 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
14347 ac_tmp=$tmp
14348
14349 # Set up the scripts for CONFIG_FILES section.
14350 # No need to generate them if there are no CONFIG_FILES.
14351 # This happens for instance with `./config.status config.h'.
14352 if test -n "$CONFIG_FILES"; then
14353
14354
14355 ac_cr=`echo X | tr X '\015'`
14356 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14357 # But we know of no other shell where ac_cr would be empty at this
14358 # point, so we can use a bashism as a fallback.
14359 if test "x$ac_cr" = x; then
14360   eval ac_cr=\$\'\\r\'
14361 fi
14362 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14363 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14364   ac_cs_awk_cr='\\r'
14365 else
14366   ac_cs_awk_cr=$ac_cr
14367 fi
14368
14369 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14370 _ACEOF
14371
14372
14373 {
14374   echo "cat >conf$$subs.awk <<_ACEOF" &&
14375   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14376   echo "_ACEOF"
14377 } >conf$$subs.sh ||
14378   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14379 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14380 ac_delim='%!_!# '
14381 for ac_last_try in false false false false false :; do
14382   . ./conf$$subs.sh ||
14383     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14384
14385   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14386   if test $ac_delim_n = $ac_delim_num; then
14387     break
14388   elif $ac_last_try; then
14389     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14390   else
14391     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14392   fi
14393 done
14394 rm -f conf$$subs.sh
14395
14396 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14397 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
14398 _ACEOF
14399 sed -n '
14400 h
14401 s/^/S["/; s/!.*/"]=/
14402 p
14403 g
14404 s/^[^!]*!//
14405 :repl
14406 t repl
14407 s/'"$ac_delim"'$//
14408 t delim
14409 :nl
14410 h
14411 s/\(.\{148\}\)..*/\1/
14412 t more1
14413 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14414 p
14415 n
14416 b repl
14417 :more1
14418 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14419 p
14420 g
14421 s/.\{148\}//
14422 t nl
14423 :delim
14424 h
14425 s/\(.\{148\}\)..*/\1/
14426 t more2
14427 s/["\\]/\\&/g; s/^/"/; s/$/"/
14428 p
14429 b
14430 :more2
14431 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14432 p
14433 g
14434 s/.\{148\}//
14435 t delim
14436 ' <conf$$subs.awk | sed '
14437 /^[^""]/{
14438   N
14439   s/\n//
14440 }
14441 ' >>$CONFIG_STATUS || ac_write_fail=1
14442 rm -f conf$$subs.awk
14443 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14444 _ACAWK
14445 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
14446   for (key in S) S_is_set[key] = 1
14447   FS = "\a"
14448
14449 }
14450 {
14451   line = $ 0
14452   nfields = split(line, field, "@")
14453   substed = 0
14454   len = length(field[1])
14455   for (i = 2; i < nfields; i++) {
14456     key = field[i]
14457     keylen = length(key)
14458     if (S_is_set[key]) {
14459       value = S[key]
14460       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14461       len += length(value) + length(field[++i])
14462       substed = 1
14463     } else
14464       len += 1 + keylen
14465   }
14466
14467   print line
14468 }
14469
14470 _ACAWK
14471 _ACEOF
14472 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14473 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14474   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14475 else
14476   cat
14477 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
14478   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14479 _ACEOF
14480
14481 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14482 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14483 # trailing colons and then remove the whole line if VPATH becomes empty
14484 # (actually we leave an empty line to preserve line numbers).
14485 if test "x$srcdir" = x.; then
14486   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
14487 h
14488 s///
14489 s/^/:/
14490 s/[      ]*$/:/
14491 s/:\$(srcdir):/:/g
14492 s/:\${srcdir}:/:/g
14493 s/:@srcdir@:/:/g
14494 s/^:*//
14495 s/:*$//
14496 x
14497 s/\(=[   ]*\).*/\1/
14498 G
14499 s/\n//
14500 s/^[^=]*=[       ]*$//
14501 }'
14502 fi
14503
14504 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14505 fi # test -n "$CONFIG_FILES"
14506
14507 # Set up the scripts for CONFIG_HEADERS section.
14508 # No need to generate them if there are no CONFIG_HEADERS.
14509 # This happens for instance with `./config.status Makefile'.
14510 if test -n "$CONFIG_HEADERS"; then
14511 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
14512 BEGIN {
14513 _ACEOF
14514
14515 # Transform confdefs.h into an awk script `defines.awk', embedded as
14516 # here-document in config.status, that substitutes the proper values into
14517 # config.h.in to produce config.h.
14518
14519 # Create a delimiter string that does not exist in confdefs.h, to ease
14520 # handling of long lines.
14521 ac_delim='%!_!# '
14522 for ac_last_try in false false :; do
14523   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
14524   if test -z "$ac_tt"; then
14525     break
14526   elif $ac_last_try; then
14527     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14528   else
14529     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14530   fi
14531 done
14532
14533 # For the awk script, D is an array of macro values keyed by name,
14534 # likewise P contains macro parameters if any.  Preserve backslash
14535 # newline sequences.
14536
14537 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14538 sed -n '
14539 s/.\{148\}/&'"$ac_delim"'/g
14540 t rset
14541 :rset
14542 s/^[     ]*#[    ]*define[       ][      ]*/ /
14543 t def
14544 d
14545 :def
14546 s/\\$//
14547 t bsnl
14548 s/["\\]/\\&/g
14549 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
14550 D["\1"]=" \3"/p
14551 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
14552 d
14553 :bsnl
14554 s/["\\]/\\&/g
14555 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
14556 D["\1"]=" \3\\\\\\n"\\/p
14557 t cont
14558 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14559 t cont
14560 d
14561 :cont
14562 n
14563 s/.\{148\}/&'"$ac_delim"'/g
14564 t clear
14565 :clear
14566 s/\\$//
14567 t bsnlc
14568 s/["\\]/\\&/g; s/^/"/; s/$/"/p
14569 d
14570 :bsnlc
14571 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14572 b cont
14573 ' <confdefs.h | sed '
14574 s/'"$ac_delim"'/"\\\
14575 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14576
14577 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14578   for (key in D) D_is_set[key] = 1
14579   FS = "\a"
14580 }
14581 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14582   line = \$ 0
14583   split(line, arg, " ")
14584   if (arg[1] == "#") {
14585     defundef = arg[2]
14586     mac1 = arg[3]
14587   } else {
14588     defundef = substr(arg[1], 2)
14589     mac1 = arg[2]
14590   }
14591   split(mac1, mac2, "(") #)
14592   macro = mac2[1]
14593   prefix = substr(line, 1, index(line, defundef) - 1)
14594   if (D_is_set[macro]) {
14595     # Preserve the white space surrounding the "#".
14596     print prefix "define", macro P[macro] D[macro]
14597     next
14598   } else {
14599     # Replace #undef with comments.  This is necessary, for example,
14600     # in the case of _POSIX_SOURCE, which is predefined and required
14601     # on some systems where configure will not decide to define it.
14602     if (defundef == "undef") {
14603       print "/*", prefix defundef, macro, "*/"
14604       next
14605     }
14606   }
14607 }
14608 { print }
14609 _ACAWK
14610 _ACEOF
14611 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14612   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14613 fi # test -n "$CONFIG_HEADERS"
14614
14615
14616 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
14617 shift
14618 for ac_tag
14619 do
14620   case $ac_tag in
14621   :[FHLC]) ac_mode=$ac_tag; continue;;
14622   esac
14623   case $ac_mode$ac_tag in
14624   :[FHL]*:*);;
14625   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14626   :[FH]-) ac_tag=-:-;;
14627   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14628   esac
14629   ac_save_IFS=$IFS
14630   IFS=:
14631   set x $ac_tag
14632   IFS=$ac_save_IFS
14633   shift
14634   ac_file=$1
14635   shift
14636
14637   case $ac_mode in
14638   :L) ac_source=$1;;
14639   :[FH])
14640     ac_file_inputs=
14641     for ac_f
14642     do
14643       case $ac_f in
14644       -) ac_f="$ac_tmp/stdin";;
14645       *) # Look for the file first in the build tree, then in the source tree
14646          # (if the path is not absolute).  The absolute path cannot be DOS-style,
14647          # because $ac_f cannot contain `:'.
14648          test -f "$ac_f" ||
14649            case $ac_f in
14650            [\\/$]*) false;;
14651            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14652            esac ||
14653            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14654       esac
14655       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14656       as_fn_append ac_file_inputs " '$ac_f'"
14657     done
14658
14659     # Let's still pretend it is `configure' which instantiates (i.e., don't
14660     # use $as_me), people would be surprised to read:
14661     #    /* config.h.  Generated by config.status.  */
14662     configure_input='Generated from '`
14663           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14664         `' by configure.'
14665     if test x"$ac_file" != x-; then
14666       configure_input="$ac_file.  $configure_input"
14667       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14668 $as_echo "$as_me: creating $ac_file" >&6;}
14669     fi
14670     # Neutralize special characters interpreted by sed in replacement strings.
14671     case $configure_input in #(
14672     *\&* | *\|* | *\\* )
14673        ac_sed_conf_input=`$as_echo "$configure_input" |
14674        sed 's/[\\\\&|]/\\\\&/g'`;; #(
14675     *) ac_sed_conf_input=$configure_input;;
14676     esac
14677
14678     case $ac_tag in
14679     *:-:* | *:-) cat >"$ac_tmp/stdin" \
14680       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14681     esac
14682     ;;
14683   esac
14684
14685   ac_dir=`$as_dirname -- "$ac_file" ||
14686 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14687          X"$ac_file" : 'X\(//\)[^/]' \| \
14688          X"$ac_file" : 'X\(//\)$' \| \
14689          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14690 $as_echo X"$ac_file" |
14691     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14692             s//\1/
14693             q
14694           }
14695           /^X\(\/\/\)[^/].*/{
14696             s//\1/
14697             q
14698           }
14699           /^X\(\/\/\)$/{
14700             s//\1/
14701             q
14702           }
14703           /^X\(\/\).*/{
14704             s//\1/
14705             q
14706           }
14707           s/.*/./; q'`
14708   as_dir="$ac_dir"; as_fn_mkdir_p
14709   ac_builddir=.
14710
14711 case "$ac_dir" in
14712 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14713 *)
14714   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14715   # A ".." for each directory in $ac_dir_suffix.
14716   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14717   case $ac_top_builddir_sub in
14718   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14719   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14720   esac ;;
14721 esac
14722 ac_abs_top_builddir=$ac_pwd
14723 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14724 # for backward compatibility:
14725 ac_top_builddir=$ac_top_build_prefix
14726
14727 case $srcdir in
14728   .)  # We are building in place.
14729     ac_srcdir=.
14730     ac_top_srcdir=$ac_top_builddir_sub
14731     ac_abs_top_srcdir=$ac_pwd ;;
14732   [\\/]* | ?:[\\/]* )  # Absolute name.
14733     ac_srcdir=$srcdir$ac_dir_suffix;
14734     ac_top_srcdir=$srcdir
14735     ac_abs_top_srcdir=$srcdir ;;
14736   *) # Relative name.
14737     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14738     ac_top_srcdir=$ac_top_build_prefix$srcdir
14739     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14740 esac
14741 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14742
14743
14744   case $ac_mode in
14745   :F)
14746   #
14747   # CONFIG_FILE
14748   #
14749
14750   case $INSTALL in
14751   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14752   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14753   esac
14754   ac_MKDIR_P=$MKDIR_P
14755   case $MKDIR_P in
14756   [\\/$]* | ?:[\\/]* ) ;;
14757   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14758   esac
14759 _ACEOF
14760
14761 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14762 # If the template does not know about datarootdir, expand it.
14763 # FIXME: This hack should be removed a few years after 2.60.
14764 ac_datarootdir_hack=; ac_datarootdir_seen=
14765 ac_sed_dataroot='
14766 /datarootdir/ {
14767   p
14768   q
14769 }
14770 /@datadir@/p
14771 /@docdir@/p
14772 /@infodir@/p
14773 /@localedir@/p
14774 /@mandir@/p'
14775 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14776 *datarootdir*) ac_datarootdir_seen=yes;;
14777 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14778   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14779 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14780 _ACEOF
14781 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14782   ac_datarootdir_hack='
14783   s&@datadir@&$datadir&g
14784   s&@docdir@&$docdir&g
14785   s&@infodir@&$infodir&g
14786   s&@localedir@&$localedir&g
14787   s&@mandir@&$mandir&g
14788   s&\\\${datarootdir}&$datarootdir&g' ;;
14789 esac
14790 _ACEOF
14791
14792 # Neutralize VPATH when `$srcdir' = `.'.
14793 # Shell code in configure.ac might set extrasub.
14794 # FIXME: do we really want to maintain this feature?
14795 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14796 ac_sed_extra="$ac_vpsub
14797 $extrasub
14798 _ACEOF
14799 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14800 :t
14801 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14802 s|@configure_input@|$ac_sed_conf_input|;t t
14803 s&@top_builddir@&$ac_top_builddir_sub&;t t
14804 s&@top_build_prefix@&$ac_top_build_prefix&;t t
14805 s&@srcdir@&$ac_srcdir&;t t
14806 s&@abs_srcdir@&$ac_abs_srcdir&;t t
14807 s&@top_srcdir@&$ac_top_srcdir&;t t
14808 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14809 s&@builddir@&$ac_builddir&;t t
14810 s&@abs_builddir@&$ac_abs_builddir&;t t
14811 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14812 s&@INSTALL@&$ac_INSTALL&;t t
14813 s&@MKDIR_P@&$ac_MKDIR_P&;t t
14814 $ac_datarootdir_hack
14815 "
14816 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
14817   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14818
14819 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14820   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
14821   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
14822       "$ac_tmp/out"`; test -z "$ac_out"; } &&
14823   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14824 which seems to be undefined.  Please make sure it is defined" >&5
14825 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14826 which seems to be undefined.  Please make sure it is defined" >&2;}
14827
14828   rm -f "$ac_tmp/stdin"
14829   case $ac_file in
14830   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14831   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14832   esac \
14833   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14834  ;;
14835   :H)
14836   #
14837   # CONFIG_HEADER
14838   #
14839   if test x"$ac_file" != x-; then
14840     {
14841       $as_echo "/* $configure_input  */" \
14842       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14843     } >"$ac_tmp/config.h" \
14844       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14845     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14846       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14847 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14848     else
14849       rm -f "$ac_file"
14850       mv "$ac_tmp/config.h" "$ac_file" \
14851         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14852     fi
14853   else
14854     $as_echo "/* $configure_input  */" \
14855       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14856       || as_fn_error $? "could not create -" "$LINENO" 5
14857   fi
14858 # Compute "$ac_file"'s index in $config_headers.
14859 _am_arg="$ac_file"
14860 _am_stamp_count=1
14861 for _am_header in $config_headers :; do
14862   case $_am_header in
14863     $_am_arg | $_am_arg:* )
14864       break ;;
14865     * )
14866       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14867   esac
14868 done
14869 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14870 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14871          X"$_am_arg" : 'X\(//\)[^/]' \| \
14872          X"$_am_arg" : 'X\(//\)$' \| \
14873          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14874 $as_echo X"$_am_arg" |
14875     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14876             s//\1/
14877             q
14878           }
14879           /^X\(\/\/\)[^/].*/{
14880             s//\1/
14881             q
14882           }
14883           /^X\(\/\/\)$/{
14884             s//\1/
14885             q
14886           }
14887           /^X\(\/\).*/{
14888             s//\1/
14889             q
14890           }
14891           s/.*/./; q'`/stamp-h$_am_stamp_count
14892  ;;
14893
14894   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14895 $as_echo "$as_me: executing $ac_file commands" >&6;}
14896  ;;
14897   esac
14898
14899
14900   case $ac_file$ac_mode in
14901     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14902   # Autoconf 2.62 quotes --file arguments for eval, but not when files
14903   # are listed without --file.  Let's play safe and only enable the eval
14904   # if we detect the quoting.
14905   case $CONFIG_FILES in
14906   *\'*) eval set x "$CONFIG_FILES" ;;
14907   *)   set x $CONFIG_FILES ;;
14908   esac
14909   shift
14910   for mf
14911   do
14912     # Strip MF so we end up with the name of the file.
14913     mf=`echo "$mf" | sed -e 's/:.*$//'`
14914     # Check whether this is an Automake generated Makefile or not.
14915     # We used to match only the files named `Makefile.in', but
14916     # some people rename them; so instead we look at the file content.
14917     # Grep'ing the first line is not enough: some people post-process
14918     # each Makefile.in and add a new line on top of each file to say so.
14919     # Grep'ing the whole file is not good either: AIX grep has a line
14920     # limit of 2048, but all sed's we know have understand at least 4000.
14921     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14922       dirpart=`$as_dirname -- "$mf" ||
14923 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14924          X"$mf" : 'X\(//\)[^/]' \| \
14925          X"$mf" : 'X\(//\)$' \| \
14926          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14927 $as_echo X"$mf" |
14928     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14929             s//\1/
14930             q
14931           }
14932           /^X\(\/\/\)[^/].*/{
14933             s//\1/
14934             q
14935           }
14936           /^X\(\/\/\)$/{
14937             s//\1/
14938             q
14939           }
14940           /^X\(\/\).*/{
14941             s//\1/
14942             q
14943           }
14944           s/.*/./; q'`
14945     else
14946       continue
14947     fi
14948     # Extract the definition of DEPDIR, am__include, and am__quote
14949     # from the Makefile without running `make'.
14950     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14951     test -z "$DEPDIR" && continue
14952     am__include=`sed -n 's/^am__include = //p' < "$mf"`
14953     test -z "am__include" && continue
14954     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14955     # When using ansi2knr, U may be empty or an underscore; expand it
14956     U=`sed -n 's/^U = //p' < "$mf"`
14957     # Find all dependency output files, they are included files with
14958     # $(DEPDIR) in their names.  We invoke sed twice because it is the
14959     # simplest approach to changing $(DEPDIR) to its actual value in the
14960     # expansion.
14961     for file in `sed -n "
14962       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14963          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14964       # Make sure the directory exists.
14965       test -f "$dirpart/$file" && continue
14966       fdir=`$as_dirname -- "$file" ||
14967 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14968          X"$file" : 'X\(//\)[^/]' \| \
14969          X"$file" : 'X\(//\)$' \| \
14970          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14971 $as_echo X"$file" |
14972     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14973             s//\1/
14974             q
14975           }
14976           /^X\(\/\/\)[^/].*/{
14977             s//\1/
14978             q
14979           }
14980           /^X\(\/\/\)$/{
14981             s//\1/
14982             q
14983           }
14984           /^X\(\/\).*/{
14985             s//\1/
14986             q
14987           }
14988           s/.*/./; q'`
14989       as_dir=$dirpart/$fdir; as_fn_mkdir_p
14990       # echo "creating $dirpart/$file"
14991       echo '# dummy' > "$dirpart/$file"
14992     done
14993   done
14994 }
14995  ;;
14996     "libtool":C)
14997
14998     # See if we are running on zsh, and set the options which allow our
14999     # commands through without removal of \ escapes.
15000     if test -n "${ZSH_VERSION+set}" ; then
15001       setopt NO_GLOB_SUBST
15002     fi
15003
15004     cfgfile="${ofile}T"
15005     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15006     $RM "$cfgfile"
15007
15008     cat <<_LT_EOF >> "$cfgfile"
15009 #! $SHELL
15010
15011 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15012 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15013 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15014 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15015 #
15016 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15017 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
15018 #                 Foundation, Inc.
15019 #   Written by Gordon Matzigkeit, 1996
15020 #
15021 #   This file is part of GNU Libtool.
15022 #
15023 # GNU Libtool is free software; you can redistribute it and/or
15024 # modify it under the terms of the GNU General Public License as
15025 # published by the Free Software Foundation; either version 2 of
15026 # the License, or (at your option) any later version.
15027 #
15028 # As a special exception to the GNU General Public License,
15029 # if you distribute this file as part of a program or library that
15030 # is built using GNU Libtool, you may include this file under the
15031 # same distribution terms that you use for the rest of that program.
15032 #
15033 # GNU Libtool is distributed in the hope that it will be useful,
15034 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15035 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15036 # GNU General Public License for more details.
15037 #
15038 # You should have received a copy of the GNU General Public License
15039 # along with GNU Libtool; see the file COPYING.  If not, a copy
15040 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15041 # obtained by writing to the Free Software Foundation, Inc.,
15042 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15043
15044
15045 # The names of the tagged configurations supported by this script.
15046 available_tags=""
15047
15048 # ### BEGIN LIBTOOL CONFIG
15049
15050 # Which release of libtool.m4 was used?
15051 macro_version=$macro_version
15052 macro_revision=$macro_revision
15053
15054 # Whether or not to build static libraries.
15055 build_old_libs=$enable_static
15056
15057 # Whether or not to build shared libraries.
15058 build_libtool_libs=$enable_shared
15059
15060 # What type of objects to build.
15061 pic_mode=$pic_mode
15062
15063 # Whether or not to optimize for fast installation.
15064 fast_install=$enable_fast_install
15065
15066 # Shell to use when invoking shell scripts.
15067 SHELL=$lt_SHELL
15068
15069 # An echo program that protects backslashes.
15070 ECHO=$lt_ECHO
15071
15072 # The PATH separator for the build system.
15073 PATH_SEPARATOR=$lt_PATH_SEPARATOR
15074
15075 # The host system.
15076 host_alias=$host_alias
15077 host=$host
15078 host_os=$host_os
15079
15080 # The build system.
15081 build_alias=$build_alias
15082 build=$build
15083 build_os=$build_os
15084
15085 # A sed program that does not truncate output.
15086 SED=$lt_SED
15087
15088 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15089 Xsed="\$SED -e 1s/^X//"
15090
15091 # A grep program that handles long lines.
15092 GREP=$lt_GREP
15093
15094 # An ERE matcher.
15095 EGREP=$lt_EGREP
15096
15097 # A literal string matcher.
15098 FGREP=$lt_FGREP
15099
15100 # A BSD- or MS-compatible name lister.
15101 NM=$lt_NM
15102
15103 # Whether we need soft or hard links.
15104 LN_S=$lt_LN_S
15105
15106 # What is the maximum length of a command?
15107 max_cmd_len=$max_cmd_len
15108
15109 # Object file suffix (normally "o").
15110 objext=$ac_objext
15111
15112 # Executable file suffix (normally "").
15113 exeext=$exeext
15114
15115 # whether the shell understands "unset".
15116 lt_unset=$lt_unset
15117
15118 # turn spaces into newlines.
15119 SP2NL=$lt_lt_SP2NL
15120
15121 # turn newlines into spaces.
15122 NL2SP=$lt_lt_NL2SP
15123
15124 # convert \$build file names to \$host format.
15125 to_host_file_cmd=$lt_cv_to_host_file_cmd
15126
15127 # convert \$build files to toolchain format.
15128 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15129
15130 # An object symbol dumper.
15131 OBJDUMP=$lt_OBJDUMP
15132
15133 # Method to check whether dependent libraries are shared objects.
15134 deplibs_check_method=$lt_deplibs_check_method
15135
15136 # Command to use when deplibs_check_method = "file_magic".
15137 file_magic_cmd=$lt_file_magic_cmd
15138
15139 # How to find potential files when deplibs_check_method = "file_magic".
15140 file_magic_glob=$lt_file_magic_glob
15141
15142 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15143 want_nocaseglob=$lt_want_nocaseglob
15144
15145 # DLL creation program.
15146 DLLTOOL=$lt_DLLTOOL
15147
15148 # Command to associate shared and link libraries.
15149 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15150
15151 # The archiver.
15152 AR=$lt_AR
15153
15154 # Flags to create an archive.
15155 AR_FLAGS=$lt_AR_FLAGS
15156
15157 # How to feed a file listing to the archiver.
15158 archiver_list_spec=$lt_archiver_list_spec
15159
15160 # A symbol stripping program.
15161 STRIP=$lt_STRIP
15162
15163 # Commands used to install an old-style archive.
15164 RANLIB=$lt_RANLIB
15165 old_postinstall_cmds=$lt_old_postinstall_cmds
15166 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15167
15168 # Whether to use a lock for old archive extraction.
15169 lock_old_archive_extraction=$lock_old_archive_extraction
15170
15171 # A C compiler.
15172 LTCC=$lt_CC
15173
15174 # LTCC compiler flags.
15175 LTCFLAGS=$lt_CFLAGS
15176
15177 # Take the output of nm and produce a listing of raw symbols and C names.
15178 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15179
15180 # Transform the output of nm in a proper C declaration.
15181 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15182
15183 # Transform the output of nm in a C name address pair.
15184 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15185
15186 # Transform the output of nm in a C name address pair when lib prefix is needed.
15187 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15188
15189 # Specify filename containing input files for \$NM.
15190 nm_file_list_spec=$lt_nm_file_list_spec
15191
15192 # The root where to search for dependent libraries,and in which our libraries should be installed.
15193 lt_sysroot=$lt_sysroot
15194
15195 # The name of the directory that contains temporary libtool files.
15196 objdir=$objdir
15197
15198 # Used to examine libraries when file_magic_cmd begins with "file".
15199 MAGIC_CMD=$MAGIC_CMD
15200
15201 # Must we lock files when doing compilation?
15202 need_locks=$lt_need_locks
15203
15204 # Manifest tool.
15205 MANIFEST_TOOL=$lt_MANIFEST_TOOL
15206
15207 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15208 DSYMUTIL=$lt_DSYMUTIL
15209
15210 # Tool to change global to local symbols on Mac OS X.
15211 NMEDIT=$lt_NMEDIT
15212
15213 # Tool to manipulate fat objects and archives on Mac OS X.
15214 LIPO=$lt_LIPO
15215
15216 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15217 OTOOL=$lt_OTOOL
15218
15219 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15220 OTOOL64=$lt_OTOOL64
15221
15222 # Old archive suffix (normally "a").
15223 libext=$libext
15224
15225 # Shared library suffix (normally ".so").
15226 shrext_cmds=$lt_shrext_cmds
15227
15228 # The commands to extract the exported symbol list from a shared archive.
15229 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15230
15231 # Variables whose values should be saved in libtool wrapper scripts and
15232 # restored at link time.
15233 variables_saved_for_relink=$lt_variables_saved_for_relink
15234
15235 # Do we need the "lib" prefix for modules?
15236 need_lib_prefix=$need_lib_prefix
15237
15238 # Do we need a version for libraries?
15239 need_version=$need_version
15240
15241 # Library versioning type.
15242 version_type=$version_type
15243
15244 # Shared library runtime path variable.
15245 runpath_var=$runpath_var
15246
15247 # Shared library path variable.
15248 shlibpath_var=$shlibpath_var
15249
15250 # Is shlibpath searched before the hard-coded library search path?
15251 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15252
15253 # Format of library name prefix.
15254 libname_spec=$lt_libname_spec
15255
15256 # List of archive names.  First name is the real one, the rest are links.
15257 # The last name is the one that the linker finds with -lNAME
15258 library_names_spec=$lt_library_names_spec
15259
15260 # The coded name of the library, if different from the real name.
15261 soname_spec=$lt_soname_spec
15262
15263 # Permission mode override for installation of shared libraries.
15264 install_override_mode=$lt_install_override_mode
15265
15266 # Command to use after installation of a shared archive.
15267 postinstall_cmds=$lt_postinstall_cmds
15268
15269 # Command to use after uninstallation of a shared archive.
15270 postuninstall_cmds=$lt_postuninstall_cmds
15271
15272 # Commands used to finish a libtool library installation in a directory.
15273 finish_cmds=$lt_finish_cmds
15274
15275 # As "finish_cmds", except a single script fragment to be evaled but
15276 # not shown.
15277 finish_eval=$lt_finish_eval
15278
15279 # Whether we should hardcode library paths into libraries.
15280 hardcode_into_libs=$hardcode_into_libs
15281
15282 # Compile-time system search path for libraries.
15283 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15284
15285 # Run-time system search path for libraries.
15286 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15287
15288 # Whether dlopen is supported.
15289 dlopen_support=$enable_dlopen
15290
15291 # Whether dlopen of programs is supported.
15292 dlopen_self=$enable_dlopen_self
15293
15294 # Whether dlopen of statically linked programs is supported.
15295 dlopen_self_static=$enable_dlopen_self_static
15296
15297 # Commands to strip libraries.
15298 old_striplib=$lt_old_striplib
15299 striplib=$lt_striplib
15300
15301
15302 # The linker used to build libraries.
15303 LD=$lt_LD
15304
15305 # How to create reloadable object files.
15306 reload_flag=$lt_reload_flag
15307 reload_cmds=$lt_reload_cmds
15308
15309 # Commands used to build an old-style archive.
15310 old_archive_cmds=$lt_old_archive_cmds
15311
15312 # A language specific compiler.
15313 CC=$lt_compiler
15314
15315 # Is the compiler the GNU compiler?
15316 with_gcc=$GCC
15317
15318 # Compiler flag to turn off builtin functions.
15319 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15320
15321 # Additional compiler flags for building library objects.
15322 pic_flag=$lt_lt_prog_compiler_pic
15323
15324 # How to pass a linker flag through the compiler.
15325 wl=$lt_lt_prog_compiler_wl
15326
15327 # Compiler flag to prevent dynamic linking.
15328 link_static_flag=$lt_lt_prog_compiler_static
15329
15330 # Does compiler simultaneously support -c and -o options?
15331 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15332
15333 # Whether or not to add -lc for building shared libraries.
15334 build_libtool_need_lc=$archive_cmds_need_lc
15335
15336 # Whether or not to disallow shared libs when runtime libs are static.
15337 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15338
15339 # Compiler flag to allow reflexive dlopens.
15340 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15341
15342 # Compiler flag to generate shared objects directly from archives.
15343 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15344
15345 # Whether the compiler copes with passing no objects directly.
15346 compiler_needs_object=$lt_compiler_needs_object
15347
15348 # Create an old-style archive from a shared archive.
15349 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15350
15351 # Create a temporary old-style archive to link instead of a shared archive.
15352 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15353
15354 # Commands used to build a shared archive.
15355 archive_cmds=$lt_archive_cmds
15356 archive_expsym_cmds=$lt_archive_expsym_cmds
15357
15358 # Commands used to build a loadable module if different from building
15359 # a shared archive.
15360 module_cmds=$lt_module_cmds
15361 module_expsym_cmds=$lt_module_expsym_cmds
15362
15363 # Whether we are building with GNU ld or not.
15364 with_gnu_ld=$lt_with_gnu_ld
15365
15366 # Flag that allows shared libraries with undefined symbols to be built.
15367 allow_undefined_flag=$lt_allow_undefined_flag
15368
15369 # Flag that enforces no undefined symbols.
15370 no_undefined_flag=$lt_no_undefined_flag
15371
15372 # Flag to hardcode \$libdir into a binary during linking.
15373 # This must work even if \$libdir does not exist
15374 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15375
15376 # Whether we need a single "-rpath" flag with a separated argument.
15377 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15378
15379 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15380 # DIR into the resulting binary.
15381 hardcode_direct=$hardcode_direct
15382
15383 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15384 # DIR into the resulting binary and the resulting library dependency is
15385 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15386 # library is relocated.
15387 hardcode_direct_absolute=$hardcode_direct_absolute
15388
15389 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15390 # into the resulting binary.
15391 hardcode_minus_L=$hardcode_minus_L
15392
15393 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15394 # into the resulting binary.
15395 hardcode_shlibpath_var=$hardcode_shlibpath_var
15396
15397 # Set to "yes" if building a shared library automatically hardcodes DIR
15398 # into the library and all subsequent libraries and executables linked
15399 # against it.
15400 hardcode_automatic=$hardcode_automatic
15401
15402 # Set to yes if linker adds runtime paths of dependent libraries
15403 # to runtime path list.
15404 inherit_rpath=$inherit_rpath
15405
15406 # Whether libtool must link a program against all its dependency libraries.
15407 link_all_deplibs=$link_all_deplibs
15408
15409 # Set to "yes" if exported symbols are required.
15410 always_export_symbols=$always_export_symbols
15411
15412 # The commands to list exported symbols.
15413 export_symbols_cmds=$lt_export_symbols_cmds
15414
15415 # Symbols that should not be listed in the preloaded symbols.
15416 exclude_expsyms=$lt_exclude_expsyms
15417
15418 # Symbols that must always be exported.
15419 include_expsyms=$lt_include_expsyms
15420
15421 # Commands necessary for linking programs (against libraries) with templates.
15422 prelink_cmds=$lt_prelink_cmds
15423
15424 # Commands necessary for finishing linking programs.
15425 postlink_cmds=$lt_postlink_cmds
15426
15427 # Specify filename containing input files.
15428 file_list_spec=$lt_file_list_spec
15429
15430 # How to hardcode a shared library path into an executable.
15431 hardcode_action=$hardcode_action
15432
15433 # ### END LIBTOOL CONFIG
15434
15435 _LT_EOF
15436
15437   case $host_os in
15438   aix3*)
15439     cat <<\_LT_EOF >> "$cfgfile"
15440 # AIX sometimes has problems with the GCC collect2 program.  For some
15441 # reason, if we set the COLLECT_NAMES environment variable, the problems
15442 # vanish in a puff of smoke.
15443 if test "X${COLLECT_NAMES+set}" != Xset; then
15444   COLLECT_NAMES=
15445   export COLLECT_NAMES
15446 fi
15447 _LT_EOF
15448     ;;
15449   esac
15450
15451
15452 ltmain="$ac_aux_dir/ltmain.sh"
15453
15454
15455   # We use sed instead of cat because bash on DJGPP gets confused if
15456   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
15457   # text mode, it properly converts lines to CR/LF.  This bash problem
15458   # is reportedly fixed, but why not run on old versions too?
15459   sed '$q' "$ltmain" >> "$cfgfile" \
15460      || (rm -f "$cfgfile"; exit 1)
15461
15462   if test x"$xsi_shell" = xyes; then
15463   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
15464 func_dirname ()\
15465 {\
15466 \    case ${1} in\
15467 \      */*) func_dirname_result="${1%/*}${2}" ;;\
15468 \      *  ) func_dirname_result="${3}" ;;\
15469 \    esac\
15470 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
15471   && mv -f "$cfgfile.tmp" "$cfgfile" \
15472     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15473 test 0 -eq $? || _lt_function_replace_fail=:
15474
15475
15476   sed -e '/^func_basename ()$/,/^} # func_basename /c\
15477 func_basename ()\
15478 {\
15479 \    func_basename_result="${1##*/}"\
15480 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
15481   && mv -f "$cfgfile.tmp" "$cfgfile" \
15482     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15483 test 0 -eq $? || _lt_function_replace_fail=:
15484
15485
15486   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
15487 func_dirname_and_basename ()\
15488 {\
15489 \    case ${1} in\
15490 \      */*) func_dirname_result="${1%/*}${2}" ;;\
15491 \      *  ) func_dirname_result="${3}" ;;\
15492 \    esac\
15493 \    func_basename_result="${1##*/}"\
15494 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
15495   && mv -f "$cfgfile.tmp" "$cfgfile" \
15496     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15497 test 0 -eq $? || _lt_function_replace_fail=:
15498
15499
15500   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
15501 func_stripname ()\
15502 {\
15503 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
15504 \    # positional parameters, so assign one to ordinary parameter first.\
15505 \    func_stripname_result=${3}\
15506 \    func_stripname_result=${func_stripname_result#"${1}"}\
15507 \    func_stripname_result=${func_stripname_result%"${2}"}\
15508 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
15509   && mv -f "$cfgfile.tmp" "$cfgfile" \
15510     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15511 test 0 -eq $? || _lt_function_replace_fail=:
15512
15513
15514   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
15515 func_split_long_opt ()\
15516 {\
15517 \    func_split_long_opt_name=${1%%=*}\
15518 \    func_split_long_opt_arg=${1#*=}\
15519 } # Extended-shell func_split_long_opt 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_split_short_opt ()$/,/^} # func_split_short_opt /c\
15526 func_split_short_opt ()\
15527 {\
15528 \    func_split_short_opt_arg=${1#??}\
15529 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
15530 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
15531   && mv -f "$cfgfile.tmp" "$cfgfile" \
15532     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15533 test 0 -eq $? || _lt_function_replace_fail=:
15534
15535
15536   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
15537 func_lo2o ()\
15538 {\
15539 \    case ${1} in\
15540 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
15541 \      *)    func_lo2o_result=${1} ;;\
15542 \    esac\
15543 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
15544   && mv -f "$cfgfile.tmp" "$cfgfile" \
15545     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15546 test 0 -eq $? || _lt_function_replace_fail=:
15547
15548
15549   sed -e '/^func_xform ()$/,/^} # func_xform /c\
15550 func_xform ()\
15551 {\
15552     func_xform_result=${1%.*}.lo\
15553 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
15554   && mv -f "$cfgfile.tmp" "$cfgfile" \
15555     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15556 test 0 -eq $? || _lt_function_replace_fail=:
15557
15558
15559   sed -e '/^func_arith ()$/,/^} # func_arith /c\
15560 func_arith ()\
15561 {\
15562     func_arith_result=$(( $* ))\
15563 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
15564   && mv -f "$cfgfile.tmp" "$cfgfile" \
15565     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15566 test 0 -eq $? || _lt_function_replace_fail=:
15567
15568
15569   sed -e '/^func_len ()$/,/^} # func_len /c\
15570 func_len ()\
15571 {\
15572     func_len_result=${#1}\
15573 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
15574   && mv -f "$cfgfile.tmp" "$cfgfile" \
15575     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15576 test 0 -eq $? || _lt_function_replace_fail=:
15577
15578 fi
15579
15580 if test x"$lt_shell_append" = xyes; then
15581   sed -e '/^func_append ()$/,/^} # func_append /c\
15582 func_append ()\
15583 {\
15584     eval "${1}+=\\${2}"\
15585 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
15586   && mv -f "$cfgfile.tmp" "$cfgfile" \
15587     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15588 test 0 -eq $? || _lt_function_replace_fail=:
15589
15590
15591   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
15592 func_append_quoted ()\
15593 {\
15594 \    func_quote_for_eval "${2}"\
15595 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
15596 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
15597   && mv -f "$cfgfile.tmp" "$cfgfile" \
15598     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15599 test 0 -eq $? || _lt_function_replace_fail=:
15600
15601
15602   # Save a `func_append' function call where possible by direct use of '+='
15603   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
15604     && mv -f "$cfgfile.tmp" "$cfgfile" \
15605       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15606   test 0 -eq $? || _lt_function_replace_fail=:
15607 else
15608   # Save a `func_append' function call even when '+=' is not available
15609   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
15610     && mv -f "$cfgfile.tmp" "$cfgfile" \
15611       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15612   test 0 -eq $? || _lt_function_replace_fail=:
15613 fi
15614
15615 if test x"$_lt_function_replace_fail" = x":"; then
15616   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
15617 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
15618 fi
15619
15620
15621    mv -f "$cfgfile" "$ofile" ||
15622     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15623   chmod +x "$ofile"
15624
15625  ;;
15626
15627   esac
15628 done # for ac_tag
15629
15630
15631 as_fn_exit 0
15632 _ACEOF
15633 ac_clean_files=$ac_clean_files_save
15634
15635 test $ac_write_fail = 0 ||
15636   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15637
15638
15639 # configure is writing to config.log, and then calls config.status.
15640 # config.status does its own redirection, appending to config.log.
15641 # Unfortunately, on DOS this fails, as config.log is still kept open
15642 # by configure, so config.status won't be able to write to it; its
15643 # output is simply discarded.  So we exec the FD to /dev/null,
15644 # effectively closing config.log, so it can be properly (re)opened and
15645 # appended to by config.status.  When coming back to configure, we
15646 # need to make the FD available again.
15647 if test "$no_create" != yes; then
15648   ac_cs_success=:
15649   ac_config_status_args=
15650   test "$silent" = yes &&
15651     ac_config_status_args="$ac_config_status_args --quiet"
15652   exec 5>/dev/null
15653   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15654   exec 5>>config.log
15655   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15656   # would make configure fail if this is the last instruction.
15657   $ac_cs_success || as_fn_exit 1
15658 fi
15659 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15660   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15661 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15662 fi
15663
15664
15665 $as_echo "-------------------------------------------------
15666
15667 ${PACKAGE_NAME} Version ${PACKAGE_VERSION}
15668
15669 Prefix    : '${prefix}'
15670 Compiler  : '${CC}'
15671 CFLAGS    : '${CFLAGS}'
15672
15673 -Package features:
15674         - enable-werror       : ${enable_werror}
15675         - enable-debug        : ${enable_debug}
15676         - enable-never-quit   : ${enable_never_quit}
15677         - with_connector-name : ${with_connector_name}
15678         - disable-optimization: ${disable_optimization}
15679         - with-log-level      : ${with_log_level}
15680         - with-log-type       : ${with_log_type}
15681         - with-ua-prefix      : ${with_ua_prefix}
15682         - enable-lib-only     : ${enable_lib_only}
15683
15684 --------------------------------------------------"