Tizen 2.0 Release
[framework/multimedia/gst-plugins-good0.10.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for GStreamer Good Plug-ins 0.10.31.
4 #
5 # Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer>.
6 #
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10 # Foundation, Inc.
11 #
12 #
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
18
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22   emulate sh
23   NULLCMD=:
24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25   # is contrary to our usage.  Disable this feature.
26   alias -g '${1+"$@"}'='"$@"'
27   setopt NO_GLOB_SUBST
28 else
29   case `(set -o) 2>/dev/null` in #(
30   *posix*) :
31     set -o posix ;; #(
32   *) :
33      ;;
34 esac
35 fi
36
37
38 as_nl='
39 '
40 export as_nl
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49   as_echo='print -r --'
50   as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52   as_echo='printf %s\n'
53   as_echo_n='printf %s'
54 else
55   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57     as_echo_n='/usr/ucb/echo -n'
58   else
59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60     as_echo_n_body='eval
61       arg=$1;
62       case $arg in #(
63       *"$as_nl"*)
64         expr "X$arg" : "X\\(.*\\)$as_nl";
65         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66       esac;
67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68     '
69     export as_echo_n_body
70     as_echo_n='sh -c $as_echo_n_body as_echo'
71   fi
72   export as_echo_body
73   as_echo='sh -c $as_echo_body as_echo'
74 fi
75
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
78   PATH_SEPARATOR=:
79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81       PATH_SEPARATOR=';'
82   }
83 fi
84
85
86 # IFS
87 # We need space, tab and new line, in precisely that order.  Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
91 IFS=" ""        $as_nl"
92
93 # Find who we are.  Look in the path if we contain no directory separator.
94 as_myself=
95 case $0 in #((
96   *[\\/]* ) as_myself=$0 ;;
97   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 for as_dir in $PATH
99 do
100   IFS=$as_save_IFS
101   test -z "$as_dir" && as_dir=.
102     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103   done
104 IFS=$as_save_IFS
105
106      ;;
107 esac
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
111   as_myself=$0
112 fi
113 if test ! -f "$as_myself"; then
114   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115   exit 1
116 fi
117
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there.  '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125 done
126 PS1='$ '
127 PS2='> '
128 PS4='+ '
129
130 # NLS nuisances.
131 LC_ALL=C
132 export LC_ALL
133 LANGUAGE=C
134 export LANGUAGE
135
136 # CDPATH.
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
139 if test "x$CONFIG_SHELL" = x; then
140   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141   emulate sh
142   NULLCMD=:
143   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144   # is contrary to our usage.  Disable this feature.
145   alias -g '\${1+\"\$@\"}'='\"\$@\"'
146   setopt NO_GLOB_SUBST
147 else
148   case \`(set -o) 2>/dev/null\` in #(
149   *posix*) :
150     set -o posix ;; #(
151   *) :
152      ;;
153 esac
154 fi
155 "
156   as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
161
162 exitcode=0
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168
169 else
170   exitcode=1; echo positional parameters were not saved.
171 fi
172 test x\$exitcode = x0 || exit 1"
173   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177
178   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
179     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
180     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182     PATH=/empty FPATH=/empty; export PATH FPATH
183     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
184       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
185 test \$(( 1 + 1 )) = 2 || exit 1"
186   if (eval "$as_required") 2>/dev/null; then :
187   as_have_required=yes
188 else
189   as_have_required=no
190 fi
191   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
192
193 else
194   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
195 as_found=false
196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
197 do
198   IFS=$as_save_IFS
199   test -z "$as_dir" && as_dir=.
200   as_found=:
201   case $as_dir in #(
202          /*)
203            for as_base in sh bash ksh sh5; do
204              # Try only shells that exist, to save several forks.
205              as_shell=$as_dir/$as_base
206              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208   CONFIG_SHELL=$as_shell as_have_required=yes
209                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
210   break 2
211 fi
212 fi
213            done;;
214        esac
215   as_found=false
216 done
217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219   CONFIG_SHELL=$SHELL as_have_required=yes
220 fi; }
221 IFS=$as_save_IFS
222
223
224       if test "x$CONFIG_SHELL" != x; then :
225   # We cannot yet assume a decent shell, so we have to provide a
226         # neutralization value for shells without unset; and this also
227         # works around shells that cannot unset nonexistent variables.
228         # Preserve -v and -x to the replacement shell.
229         BASH_ENV=/dev/null
230         ENV=/dev/null
231         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
232         export CONFIG_SHELL
233         case $- in # ((((
234           *v*x* | *x*v* ) as_opts=-vx ;;
235           *v* ) as_opts=-v ;;
236           *x* ) as_opts=-x ;;
237           * ) as_opts= ;;
238         esac
239         exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
240 fi
241
242     if test x$as_have_required = xno; then :
243   $as_echo "$0: This script requires a shell more modern than all"
244   $as_echo "$0: the shells that I found on your system."
245   if test x${ZSH_VERSION+set} = xset ; then
246     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
248   else
249     $as_echo "$0: Please tell bug-autoconf@gnu.org and
250 $0: http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer
251 $0: about your system, including any error possibly output
252 $0: before this message. Then install a modern shell, or
253 $0: manually run the script under such a shell if you do
254 $0: have one."
255   fi
256   exit 1
257 fi
258 fi
259 fi
260 SHELL=${CONFIG_SHELL-/bin/sh}
261 export SHELL
262 # Unset more variables known to interfere with behavior of common tools.
263 CLICOLOR_FORCE= GREP_OPTIONS=
264 unset CLICOLOR_FORCE GREP_OPTIONS
265
266 ## --------------------- ##
267 ## M4sh Shell Functions. ##
268 ## --------------------- ##
269 # as_fn_unset VAR
270 # ---------------
271 # Portably unset VAR.
272 as_fn_unset ()
273 {
274   { eval $1=; unset $1;}
275 }
276 as_unset=as_fn_unset
277
278 # as_fn_set_status STATUS
279 # -----------------------
280 # Set $? to STATUS, without forking.
281 as_fn_set_status ()
282 {
283   return $1
284 } # as_fn_set_status
285
286 # as_fn_exit STATUS
287 # -----------------
288 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
289 as_fn_exit ()
290 {
291   set +e
292   as_fn_set_status $1
293   exit $1
294 } # as_fn_exit
295
296 # as_fn_mkdir_p
297 # -------------
298 # Create "$as_dir" as a directory, including parents if necessary.
299 as_fn_mkdir_p ()
300 {
301
302   case $as_dir in #(
303   -*) as_dir=./$as_dir;;
304   esac
305   test -d "$as_dir" || eval $as_mkdir_p || {
306     as_dirs=
307     while :; do
308       case $as_dir in #(
309       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
310       *) as_qdir=$as_dir;;
311       esac
312       as_dirs="'$as_qdir' $as_dirs"
313       as_dir=`$as_dirname -- "$as_dir" ||
314 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
315          X"$as_dir" : 'X\(//\)[^/]' \| \
316          X"$as_dir" : 'X\(//\)$' \| \
317          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
318 $as_echo X"$as_dir" |
319     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
320             s//\1/
321             q
322           }
323           /^X\(\/\/\)[^/].*/{
324             s//\1/
325             q
326           }
327           /^X\(\/\/\)$/{
328             s//\1/
329             q
330           }
331           /^X\(\/\).*/{
332             s//\1/
333             q
334           }
335           s/.*/./; q'`
336       test -d "$as_dir" && break
337     done
338     test -z "$as_dirs" || eval "mkdir $as_dirs"
339   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
340
341
342 } # as_fn_mkdir_p
343 # as_fn_append VAR VALUE
344 # ----------------------
345 # Append the text in VALUE to the end of the definition contained in VAR. Take
346 # advantage of any shell optimizations that allow amortized linear growth over
347 # repeated appends, instead of the typical quadratic growth present in naive
348 # implementations.
349 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
350   eval 'as_fn_append ()
351   {
352     eval $1+=\$2
353   }'
354 else
355   as_fn_append ()
356   {
357     eval $1=\$$1\$2
358   }
359 fi # as_fn_append
360
361 # as_fn_arith ARG...
362 # ------------------
363 # Perform arithmetic evaluation on the ARGs, and store the result in the
364 # global $as_val. Take advantage of shells that can avoid forks. The arguments
365 # must be portable across $(()) and expr.
366 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
367   eval 'as_fn_arith ()
368   {
369     as_val=$(( $* ))
370   }'
371 else
372   as_fn_arith ()
373   {
374     as_val=`expr "$@" || test $? -eq 1`
375   }
376 fi # as_fn_arith
377
378
379 # as_fn_error STATUS ERROR [LINENO LOG_FD]
380 # ----------------------------------------
381 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
382 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
383 # script with STATUS, using 1 if that was 0.
384 as_fn_error ()
385 {
386   as_status=$1; test $as_status -eq 0 && as_status=1
387   if test "$4"; then
388     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
389     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
390   fi
391   $as_echo "$as_me: error: $2" >&2
392   as_fn_exit $as_status
393 } # as_fn_error
394
395 if expr a : '\(a\)' >/dev/null 2>&1 &&
396    test "X`expr 00001 : '.*\(...\)'`" = X001; then
397   as_expr=expr
398 else
399   as_expr=false
400 fi
401
402 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
403   as_basename=basename
404 else
405   as_basename=false
406 fi
407
408 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
409   as_dirname=dirname
410 else
411   as_dirname=false
412 fi
413
414 as_me=`$as_basename -- "$0" ||
415 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
416          X"$0" : 'X\(//\)$' \| \
417          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
418 $as_echo X/"$0" |
419     sed '/^.*\/\([^/][^/]*\)\/*$/{
420             s//\1/
421             q
422           }
423           /^X\/\(\/\/\)$/{
424             s//\1/
425             q
426           }
427           /^X\/\(\/\).*/{
428             s//\1/
429             q
430           }
431           s/.*/./; q'`
432
433 # Avoid depending upon Character Ranges.
434 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
435 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
436 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
437 as_cr_digits='0123456789'
438 as_cr_alnum=$as_cr_Letters$as_cr_digits
439
440
441   as_lineno_1=$LINENO as_lineno_1a=$LINENO
442   as_lineno_2=$LINENO as_lineno_2a=$LINENO
443   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
444   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
445   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
446   sed -n '
447     p
448     /[$]LINENO/=
449   ' <$as_myself |
450     sed '
451       s/[$]LINENO.*/&-/
452       t lineno
453       b
454       :lineno
455       N
456       :loop
457       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
458       t loop
459       s/-\n.*//
460     ' >$as_me.lineno &&
461   chmod +x "$as_me.lineno" ||
462     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
463
464   # Don't try to exec as it changes $[0], causing all sort of problems
465   # (the dirname of $[0] is not the place where we might find the
466   # original and so on.  Autoconf is especially sensitive to this).
467   . "./$as_me.lineno"
468   # Exit status is that of the last command.
469   exit
470 }
471
472 ECHO_C= ECHO_N= ECHO_T=
473 case `echo -n x` in #(((((
474 -n*)
475   case `echo 'xy\c'` in
476   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
477   xy)  ECHO_C='\c';;
478   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
479        ECHO_T=' ';;
480   esac;;
481 *)
482   ECHO_N='-n';;
483 esac
484
485 rm -f conf$$ conf$$.exe conf$$.file
486 if test -d conf$$.dir; then
487   rm -f conf$$.dir/conf$$.file
488 else
489   rm -f conf$$.dir
490   mkdir conf$$.dir 2>/dev/null
491 fi
492 if (echo >conf$$.file) 2>/dev/null; then
493   if ln -s conf$$.file conf$$ 2>/dev/null; then
494     as_ln_s='ln -s'
495     # ... but there are two gotchas:
496     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
497     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
498     # In both cases, we have to default to `cp -p'.
499     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
500       as_ln_s='cp -p'
501   elif ln conf$$.file conf$$ 2>/dev/null; then
502     as_ln_s=ln
503   else
504     as_ln_s='cp -p'
505   fi
506 else
507   as_ln_s='cp -p'
508 fi
509 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
510 rmdir conf$$.dir 2>/dev/null
511
512 if mkdir -p . 2>/dev/null; then
513   as_mkdir_p='mkdir -p "$as_dir"'
514 else
515   test -d ./-p && rmdir ./-p
516   as_mkdir_p=false
517 fi
518
519 if test -x / >/dev/null 2>&1; then
520   as_test_x='test -x'
521 else
522   if ls -dL / >/dev/null 2>&1; then
523     as_ls_L_option=L
524   else
525     as_ls_L_option=
526   fi
527   as_test_x='
528     eval sh -c '\''
529       if test -d "$1"; then
530         test -d "$1/.";
531       else
532         case $1 in #(
533         -*)set "./$1";;
534         esac;
535         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
536         ???[sx]*):;;*)false;;esac;fi
537     '\'' sh
538   '
539 fi
540 as_executable_p=$as_test_x
541
542 # Sed expression to map a string onto a valid CPP name.
543 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
544
545 # Sed expression to map a string onto a valid variable name.
546 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
547
548 SHELL=${CONFIG_SHELL-/bin/sh}
549
550
551 test -n "$DJDIR" || exec 7<&0 </dev/null
552 exec 6>&1
553
554 # Name of the host.
555 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
556 # so uname gets run too.
557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
558
559 #
560 # Initializations.
561 #
562 ac_default_prefix=/usr/local
563 ac_clean_files=
564 ac_config_libobj_dir=.
565 LIBOBJS=
566 cross_compiling=no
567 subdirs=
568 MFLAGS=
569 MAKEFLAGS=
570
571 # Identity of this package.
572 PACKAGE_NAME='GStreamer Good Plug-ins'
573 PACKAGE_TARNAME='gst-plugins-good'
574 PACKAGE_VERSION='0.10.31'
575 PACKAGE_STRING='GStreamer Good Plug-ins 0.10.31'
576 PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer'
577 PACKAGE_URL=''
578
579 ac_unique_file="gst/law/alaw.c"
580 # Factoring default headers for most tests.
581 ac_includes_default="\
582 #include <stdio.h>
583 #ifdef HAVE_SYS_TYPES_H
584 # include <sys/types.h>
585 #endif
586 #ifdef HAVE_SYS_STAT_H
587 # include <sys/stat.h>
588 #endif
589 #ifdef STDC_HEADERS
590 # include <stdlib.h>
591 # include <stddef.h>
592 #else
593 # ifdef HAVE_STDLIB_H
594 #  include <stdlib.h>
595 # endif
596 #endif
597 #ifdef HAVE_STRING_H
598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
599 #  include <memory.h>
600 # endif
601 # include <string.h>
602 #endif
603 #ifdef HAVE_STRINGS_H
604 # include <strings.h>
605 #endif
606 #ifdef HAVE_INTTYPES_H
607 # include <inttypes.h>
608 #endif
609 #ifdef HAVE_STDINT_H
610 # include <stdint.h>
611 #endif
612 #ifdef HAVE_UNISTD_H
613 # include <unistd.h>
614 #endif"
615
616 gt_needs=
617 ac_header_list=
618 ac_subst_vars='am__EXEEXT_FALSE
619 am__EXEEXT_TRUE
620 LTLIBOBJS
621 LIBOBJS
622 GST_PLUGIN_LDFLAGS
623 GST_ALL_LDFLAGS
624 GST_CXXFLAGS
625 GST_LT_LDFLAGS
626 GST_OPTION_CXXFLAGS
627 GST_OPTION_CFLAGS
628 DEPRECATED_CFLAGS
629 PROFILE_CFLAGS
630 USE_BZ2_FALSE
631 USE_BZ2_TRUE
632 BZ2_LIBS
633 HAVE_BZ2
634 USE_ZLIB_FALSE
635 USE_ZLIB_TRUE
636 HAVE_ZLIB
637 ZLIB_LIBS
638 USE_WAVPACK_FALSE
639 USE_WAVPACK_TRUE
640 WAVPACK_LIBS
641 WAVPACK_CFLAGS
642 USE_TAGLIB_FALSE
643 USE_TAGLIB_TRUE
644 TAGLIB_CXXFLAGS
645 TAGLIB_LIBS
646 TAGLIB_CFLAGS
647 USE_SPEEX_FALSE
648 USE_SPEEX_TRUE
649 HAVE_SPEEX
650 SPEEX_LIBS
651 SPEEX_CFLAGS
652 USE_SOUP_FALSE
653 USE_SOUP_TRUE
654 SOUP_LIBS
655 SOUP_CFLAGS
656 USE_SHOUT2_FALSE
657 USE_SHOUT2_TRUE
658 SHOUT2_LIBS
659 SHOUT2_CFLAGS
660 USE_LIBIEC61883_FALSE
661 USE_LIBIEC61883_TRUE
662 USE_DV1394_FALSE
663 USE_DV1394_TRUE
664 DV1394_LIBS
665 DV1394_CFLAGS
666 HAVE_ROM1394
667 HAVE_AVC1394
668 LIBIEC61883_LIBS
669 LIBIEC61883_CFLAGS
670 RAW1394_LIBS
671 RAW1394_CFLAGS
672 USE_PULSE_FALSE
673 USE_PULSE_TRUE
674 PULSE_1_0_LIBS
675 PULSE_1_0_CFLAGS
676 PULSE_0_9_20_LIBS
677 PULSE_0_9_20_CFLAGS
678 PULSE_LIBS
679 PULSE_CFLAGS
680 USE_LIBPNG_FALSE
681 USE_LIBPNG_TRUE
682 LIBPNG_LIBS
683 LIBPNG_CFLAGS
684 USE_LIBDV_FALSE
685 USE_LIBDV_TRUE
686 LIBDV_LIBS
687 LIBDV_CFLAGS
688 USE_LIBCACA_FALSE
689 USE_LIBCACA_TRUE
690 LIBCACA_LIBS
691 LIBCACA_CFLAGS
692 USE_JPEG_FALSE
693 USE_JPEG_TRUE
694 JPEG_LIBS
695 USE_JACK_FALSE
696 USE_JACK_TRUE
697 JACK_1_9_7_LIBS
698 JACK_1_9_7_CFLAGS
699 JACK_0_120_1_LIBS
700 JACK_0_120_1_CFLAGS
701 JACK_LIBS
702 JACK_CFLAGS
703 USE_HAL_FALSE
704 USE_HAL_TRUE
705 HAL_LIBS
706 HAL_CFLAGS
707 USE_GDK_PIXBUF_FALSE
708 USE_GDK_PIXBUF_TRUE
709 GDK_PIXBUF_LIBS
710 GDK_PIXBUF_CFLAGS
711 USE_GCONF_FALSE
712 USE_GCONF_TRUE
713 GCONF_LIBS
714 GCONF_CFLAGS
715 USE_FLAC_FALSE
716 USE_FLAC_TRUE
717 FLAC_LIBS
718 FLAC_CFLAGS
719 USE_ESD_FALSE
720 USE_ESD_TRUE
721 ESD_CONFIG
722 ESD_LIBS
723 ESD_CFLAGS
724 USE_CAIRO_GOBJECT_FALSE
725 USE_CAIRO_GOBJECT_TRUE
726 CAIRO_GOBJECT_LIBS
727 CAIRO_GOBJECT_CFLAGS
728 USE_CAIRO_FALSE
729 USE_CAIRO_TRUE
730 CAIRO_LIBS
731 CAIRO_CFLAGS
732 USE_ANNODEX_FALSE
733 USE_ANNODEX_TRUE
734 ANNODEX_LIBS
735 ANNODEX_CFLAGS
736 USE_AALIB_FALSE
737 USE_AALIB_TRUE
738 AALIB_LIBS
739 AALIB_CFLAGS
740 AALIB_CONFIG
741 USE_XVIDEO_FALSE
742 USE_XVIDEO_TRUE
743 USE_XSHM_FALSE
744 USE_XSHM_TRUE
745 XSHM_LIBS
746 HAVE_XSHM
747 USE_X_FALSE
748 USE_X_TRUE
749 HAVE_X
750 XDAMAGE_LIBS
751 XDAMAGE_CFLAGS
752 XFIXES_LIBS
753 XFIXES_CFLAGS
754 X_EXTRA_LIBS
755 X_LIBS
756 X_PRE_LIBS
757 X_CFLAGS
758 XMKMF
759 LIBV4L2_LIBS
760 LIBV4L2_CFLAGS
761 GUDEV_LIBS
762 GUDEV_CFLAGS
763 USE_GST_V4L2_FALSE
764 USE_GST_V4L2_TRUE
765 XVIDEO_LIBS
766 USE_OSX_VIDEO_FALSE
767 USE_OSX_VIDEO_TRUE
768 USE_OSX_AUDIO_FALSE
769 USE_OSX_AUDIO_TRUE
770 USE_SUNAUDIO_FALSE
771 USE_SUNAUDIO_TRUE
772 USE_OSS4_FALSE
773 USE_OSS4_TRUE
774 USE_OSS_FALSE
775 USE_OSS_TRUE
776 USE_DIRECTSOUND_FALSE
777 USE_DIRECTSOUND_TRUE
778 HAVE_DIRECTSOUND
779 DIRECTSOUND_LIBS
780 DIRECTSOUND_LDFLAGS
781 DIRECTSOUND_CFLAGS
782 WIN32_LIBS
783 USE_PLUGIN_Y4M_FALSE
784 USE_PLUGIN_Y4M_TRUE
785 USE_PLUGIN_WAVPARSE_FALSE
786 USE_PLUGIN_WAVPARSE_TRUE
787 USE_PLUGIN_WAVENC_FALSE
788 USE_PLUGIN_WAVENC_TRUE
789 USE_PLUGIN_VIDEOMIXER_FALSE
790 USE_PLUGIN_VIDEOMIXER_TRUE
791 USE_PLUGIN_VIDEOCROP_FALSE
792 USE_PLUGIN_VIDEOCROP_TRUE
793 USE_PLUGIN_VIDEOBOX_FALSE
794 USE_PLUGIN_VIDEOBOX_TRUE
795 USE_PLUGIN_UDP_FALSE
796 USE_PLUGIN_UDP_TRUE
797 USE_PLUGIN_SPECTRUM_FALSE
798 USE_PLUGIN_SPECTRUM_TRUE
799 USE_PLUGIN_SMPTE_FALSE
800 USE_PLUGIN_SMPTE_TRUE
801 USE_PLUGIN_SHAPEWIPE_FALSE
802 USE_PLUGIN_SHAPEWIPE_TRUE
803 USE_PLUGIN_RTSP_FALSE
804 USE_PLUGIN_RTSP_TRUE
805 USE_PLUGIN_RTPMANAGER_FALSE
806 USE_PLUGIN_RTPMANAGER_TRUE
807 USE_PLUGIN_RTP_FALSE
808 USE_PLUGIN_RTP_TRUE
809 USE_PLUGIN_REPLAYGAIN_FALSE
810 USE_PLUGIN_REPLAYGAIN_TRUE
811 USE_PLUGIN_MULTIPART_FALSE
812 USE_PLUGIN_MULTIPART_TRUE
813 USE_PLUGIN_MULTIFILE_FALSE
814 USE_PLUGIN_MULTIFILE_TRUE
815 USE_PLUGIN_MONOSCOPE_FALSE
816 USE_PLUGIN_MONOSCOPE_TRUE
817 USE_PLUGIN_MATROSKA_FALSE
818 USE_PLUGIN_MATROSKA_TRUE
819 USE_PLUGIN_LEVEL_FALSE
820 USE_PLUGIN_LEVEL_TRUE
821 USE_PLUGIN_LAW_FALSE
822 USE_PLUGIN_LAW_TRUE
823 USE_PLUGIN_ISOMP4_FALSE
824 USE_PLUGIN_ISOMP4_TRUE
825 USE_PLUGIN_IMAGEFREEZE_FALSE
826 USE_PLUGIN_IMAGEFREEZE_TRUE
827 USE_PLUGIN_GOOM2K1_FALSE
828 USE_PLUGIN_GOOM2K1_TRUE
829 USE_PLUGIN_GOOM_FALSE
830 USE_PLUGIN_GOOM_TRUE
831 USE_PLUGIN_FLX_FALSE
832 USE_PLUGIN_FLX_TRUE
833 USE_PLUGIN_INTERLEAVE_FALSE
834 USE_PLUGIN_INTERLEAVE_TRUE
835 USE_PLUGIN_ICYDEMUX_FALSE
836 USE_PLUGIN_ICYDEMUX_TRUE
837 USE_PLUGIN_ID3DEMUX_FALSE
838 USE_PLUGIN_ID3DEMUX_TRUE
839 USE_PLUGIN_FLV_FALSE
840 USE_PLUGIN_FLV_TRUE
841 USE_PLUGIN_EQUALIZER_FALSE
842 USE_PLUGIN_EQUALIZER_TRUE
843 USE_PLUGIN_EFFECTV_FALSE
844 USE_PLUGIN_EFFECTV_TRUE
845 USE_PLUGIN_DEINTERLACE_FALSE
846 USE_PLUGIN_DEINTERLACE_TRUE
847 USE_PLUGIN_DEBUGUTILS_FALSE
848 USE_PLUGIN_DEBUGUTILS_TRUE
849 USE_PLUGIN_CUTTER_FALSE
850 USE_PLUGIN_CUTTER_TRUE
851 USE_PLUGIN_AVI_FALSE
852 USE_PLUGIN_AVI_TRUE
853 USE_PLUGIN_AUTODETECT_FALSE
854 USE_PLUGIN_AUTODETECT_TRUE
855 USE_PLUGIN_AUPARSE_FALSE
856 USE_PLUGIN_AUPARSE_TRUE
857 USE_PLUGIN_AUDIOPARSERS_FALSE
858 USE_PLUGIN_AUDIOPARSERS_TRUE
859 USE_PLUGIN_AUDIOFX_FALSE
860 USE_PLUGIN_AUDIOFX_TRUE
861 USE_PLUGIN_APETAG_FALSE
862 USE_PLUGIN_APETAG_TRUE
863 USE_PLUGIN_ALPHA_FALSE
864 USE_PLUGIN_ALPHA_TRUE
865 USE_PLUGIN_VIDEOFILTER_FALSE
866 USE_PLUGIN_VIDEOFILTER_TRUE
867 DEFAULT_VISUALIZER
868 DEFAULT_VIDEOSRC
869 DEFAULT_VIDEOSINK
870 DEFAULT_AUDIOSRC
871 DEFAULT_AUDIOSINK
872 GST_LEVEL_DEFAULT
873 ERROR_CXXFLAGS
874 WARNING_CXXFLAGS
875 ERROR_CFLAGS
876 WARNING_CFLAGS
877 plugindir
878 PLUGINDIR
879 GST_LICENSE
880 USE_GCONFTOOL_FALSE
881 USE_GCONFTOOL_TRUE
882 HAVE_GCONFTOOL
883 GCONFTOOL
884 HAVE_GTK_X11_FALSE
885 HAVE_GTK_X11_TRUE
886 HAVE_GTK_FALSE
887 HAVE_GTK_TRUE
888 GTK_X11_LIBS
889 GTK_X11_CFLAGS
890 GTK_LIBS
891 GTK_CFLAGS
892 GSTPB_PREFIX
893 GST_PREFIX
894 GLIB_PREFIX
895 HAVE_GST_CHECK_FALSE
896 HAVE_GST_CHECK_TRUE
897 GSTPB_PLUGINS_DIR
898 GST_PLUGINS_BASE_DIR
899 GST_PLUGINS_BASE_LIBS
900 GST_PLUGINS_BASE_CFLAGS
901 GST_CHECK_LIBS
902 GST_CHECK_CFLAGS
903 GST_CONTROLLER_LIBS
904 GST_CONTROLLER_CFLAGS
905 GST_GDP_LIBS
906 GST_GDP_CFLAGS
907 GST_BASE_LIBS
908 GST_BASE_CFLAGS
909 GST_PLUGINS_DIR
910 GST_TOOLS_DIR
911 GST_LIBS
912 GST_CFLAGS
913 HAVE_ORCC_FALSE
914 HAVE_ORCC_TRUE
915 HAVE_ORC_FALSE
916 HAVE_ORC_TRUE
917 ORCC_FLAGS
918 ORCC
919 ORC_LIBS
920 ORC_CFLAGS
921 GIO_LIBS
922 GIO_CFLAGS
923 GLIB_EXTRA_CFLAGS
924 GLIB_LIBS
925 GLIB_CFLAGS
926 GLIB_REQ
927 GST_HAVE_MMAP_FALSE
928 GST_HAVE_MMAP_TRUE
929 HAVE_GCC_ASM_FALSE
930 HAVE_GCC_ASM_TRUE
931 HAVE_WINSOCK2_H_FALSE
932 HAVE_WINSOCK2_H_TRUE
933 LIBM
934 ENABLE_PLUGIN_DOCS_FALSE
935 ENABLE_PLUGIN_DOCS_TRUE
936 pkgpyexecdir
937 pyexecdir
938 pkgpythondir
939 pythondir
940 PYTHON_PLATFORM
941 PYTHON_EXEC_PREFIX
942 PYTHON_PREFIX
943 PYTHON_VERSION
944 PYTHON
945 GTK_DOC_USE_LIBTOOL_FALSE
946 GTK_DOC_USE_LIBTOOL_TRUE
947 ENABLE_GTK_DOC_FALSE
948 ENABLE_GTK_DOC_TRUE
949 GTKDOC_CHECK
950 HTML_DIR
951 GCONF_SCHEMAS_INSTALL_FALSE
952 GCONF_SCHEMAS_INSTALL_TRUE
953 GCONF_SCHEMA_FILE_DIR
954 GCONF_SCHEMA_CONFIG_SOURCE
955 HAVE_VALGRIND_FALSE
956 HAVE_VALGRIND_TRUE
957 VALGRIND_PATH
958 am__fastdepCCAS_FALSE
959 am__fastdepCCAS_TRUE
960 CCASDEPMODE
961 CCAS
962 am__fastdepOBJC_FALSE
963 am__fastdepOBJC_TRUE
964 OBJCDEPMODE
965 OBJC_LDFLAGS
966 ac_ct_OBJC
967 OBJC
968 HAVE_CXX
969 CXXCPP
970 am__fastdepCXX_FALSE
971 am__fastdepCXX_TRUE
972 CXXDEPMODE
973 ac_ct_CXX
974 CXX
975 HAVE_CPU_CRISV32_FALSE
976 HAVE_CPU_CRISV32_TRUE
977 HAVE_CPU_CRIS_FALSE
978 HAVE_CPU_CRIS_TRUE
979 HAVE_CPU_X86_64_FALSE
980 HAVE_CPU_X86_64_TRUE
981 HAVE_CPU_M68K_FALSE
982 HAVE_CPU_M68K_TRUE
983 HAVE_CPU_IA64_FALSE
984 HAVE_CPU_IA64_TRUE
985 HAVE_CPU_S390_FALSE
986 HAVE_CPU_S390_TRUE
987 HAVE_CPU_MIPS_FALSE
988 HAVE_CPU_MIPS_TRUE
989 HAVE_CPU_HPPA_FALSE
990 HAVE_CPU_HPPA_TRUE
991 HAVE_CPU_SPARC_FALSE
992 HAVE_CPU_SPARC_TRUE
993 HAVE_CPU_ARM_FALSE
994 HAVE_CPU_ARM_TRUE
995 HAVE_CPU_ALPHA_FALSE
996 HAVE_CPU_ALPHA_TRUE
997 HAVE_CPU_PPC64_FALSE
998 HAVE_CPU_PPC64_TRUE
999 HAVE_CPU_PPC_FALSE
1000 HAVE_CPU_PPC_TRUE
1001 HAVE_CPU_I386_FALSE
1002 HAVE_CPU_I386_TRUE
1003 BUILD_EXPERIMENTAL_FALSE
1004 BUILD_EXPERIMENTAL_TRUE
1005 USE_EXPERIMENTAL_FALSE
1006 USE_EXPERIMENTAL_TRUE
1007 BUILD_EXTERNAL_FALSE
1008 BUILD_EXTERNAL_TRUE
1009 USE_EXTERNAL_FALSE
1010 USE_EXTERNAL_TRUE
1011 GST_PLUGINS_SELECTED
1012 GST_PLUGINS_ALL
1013 GST_PACKAGE_ORIGIN
1014 GST_PACKAGE_NAME
1015 BUILD_EXAMPLES_FALSE
1016 BUILD_EXAMPLES_TRUE
1017 GST_GCOV_ENABLED_FALSE
1018 GST_GCOV_ENABLED_TRUE
1019 CCASFLAGS
1020 FFLAGS
1021 CXXFLAGS
1022 GCOV
1023 GCOV_LIBS
1024 GCOV_CFLAGS
1025 VALGRIND_LIBS
1026 VALGRIND_CFLAGS
1027 PKG_CONFIG
1028 LOCALEDIR
1029 GETTEXT_PACKAGE
1030 POSUB
1031 LTLIBINTL
1032 LIBINTL
1033 INTLLIBS
1034 LTLIBICONV
1035 LIBICONV
1036 INTL_MACOSX_LIBS
1037 XGETTEXT_EXTRA_OPTIONS
1038 MSGMERGE
1039 XGETTEXT_015
1040 XGETTEXT
1041 GMSGFMT_015
1042 MSGFMT_015
1043 GMSGFMT
1044 MSGFMT
1045 GETTEXT_MACRO_VERSION
1046 USE_NLS
1047 ACLOCAL_AMFLAGS
1048 CPP
1049 OTOOL64
1050 OTOOL
1051 LIPO
1052 NMEDIT
1053 DSYMUTIL
1054 MANIFEST_TOOL
1055 RANLIB
1056 ac_ct_AR
1057 AR
1058 LN_S
1059 NM
1060 ac_ct_DUMPBIN
1061 DUMPBIN
1062 LD
1063 FGREP
1064 EGREP
1065 GREP
1066 SED
1067 am__fastdepCC_FALSE
1068 am__fastdepCC_TRUE
1069 CCDEPMODE
1070 am__nodep
1071 AMDEPBACKSLASH
1072 AMDEP_FALSE
1073 AMDEP_TRUE
1074 am__quote
1075 am__include
1076 DEPDIR
1077 OBJEXT
1078 EXEEXT
1079 ac_ct_CC
1080 CPPFLAGS
1081 LDFLAGS
1082 CFLAGS
1083 CC
1084 LIBTOOL
1085 OBJDUMP
1086 DLLTOOL
1087 AS
1088 GST_MAJORMINOR
1089 AM_BACKSLASH
1090 AM_DEFAULT_VERBOSITY
1091 AM_DEFAULT_V
1092 AM_V
1093 host_os
1094 host_vendor
1095 host_cpu
1096 host
1097 build_os
1098 build_vendor
1099 build_cpu
1100 build
1101 MAINT
1102 MAINTAINER_MODE_FALSE
1103 MAINTAINER_MODE_TRUE
1104 PACKAGE_VERSION_RELEASE
1105 PACKAGE_VERSION_NANO
1106 PACKAGE_VERSION_MICRO
1107 PACKAGE_VERSION_MINOR
1108 PACKAGE_VERSION_MAJOR
1109 am__untar
1110 am__tar
1111 AMTAR
1112 am__leading_dot
1113 SET_MAKE
1114 AWK
1115 mkdir_p
1116 MKDIR_P
1117 INSTALL_STRIP_PROGRAM
1118 STRIP
1119 install_sh
1120 MAKEINFO
1121 AUTOHEADER
1122 AUTOMAKE
1123 AUTOCONF
1124 ACLOCAL
1125 VERSION
1126 PACKAGE
1127 CYGPATH_W
1128 am__isrc
1129 INSTALL_DATA
1130 INSTALL_SCRIPT
1131 INSTALL_PROGRAM
1132 target_alias
1133 host_alias
1134 build_alias
1135 LIBS
1136 ECHO_T
1137 ECHO_N
1138 ECHO_C
1139 DEFS
1140 mandir
1141 localedir
1142 libdir
1143 psdir
1144 pdfdir
1145 dvidir
1146 htmldir
1147 infodir
1148 docdir
1149 oldincludedir
1150 includedir
1151 localstatedir
1152 sharedstatedir
1153 sysconfdir
1154 datadir
1155 datarootdir
1156 libexecdir
1157 sbindir
1158 bindir
1159 program_transform_name
1160 prefix
1161 exec_prefix
1162 PACKAGE_URL
1163 PACKAGE_BUGREPORT
1164 PACKAGE_STRING
1165 PACKAGE_VERSION
1166 PACKAGE_TARNAME
1167 PACKAGE_NAME
1168 PATH_SEPARATOR
1169 SHELL'
1170 ac_subst_files=''
1171 ac_user_opts='
1172 enable_option_checking
1173 enable_maintainer_mode
1174 enable_silent_rules
1175 enable_shared
1176 enable_static
1177 with_pic
1178 enable_fast_install
1179 enable_dependency_tracking
1180 with_gnu_ld
1181 with_sysroot
1182 enable_libtool_lock
1183 with_autoconf
1184 with_autoheader
1185 with_automake
1186 with_aclocal
1187 enable_nls
1188 enable_rpath
1189 with_libiconv_prefix
1190 with_libintl_prefix
1191 enable_debug
1192 enable_profiling
1193 enable_valgrind
1194 enable_gcov
1195 enable_examples
1196 with_pkg_config_path
1197 with_package_name
1198 with_package_origin
1199 with_plugins
1200 enable_external
1201 enable_experimental
1202 with_gconf_source
1203 with_gconf_schema_file_dir
1204 enable_schemas_install
1205 with_html_dir
1206 enable_gtk_doc
1207 enable_gobject_cast_checks
1208 enable_glib_asserts
1209 enable_orc
1210 with_gtk
1211 enable_gconftool
1212 with_default_audiosink
1213 with_default_audiosrc
1214 with_default_videosink
1215 with_default_videosrc
1216 with_default_visualizer
1217 enable_videofilter
1218 enable_alpha
1219 enable_apetag
1220 enable_audiofx
1221 enable_audioparsers
1222 enable_auparse
1223 enable_autodetect
1224 enable_avi
1225 enable_cutter
1226 enable_debugutils
1227 enable_deinterlace
1228 enable_effectv
1229 enable_equalizer
1230 enable_flv
1231 enable_id3demux
1232 enable_icydemux
1233 enable_interleave
1234 enable_flx
1235 enable_goom
1236 enable_goom2k1
1237 enable_imagefreeze
1238 enable_isomp4
1239 enable_law
1240 enable_level
1241 enable_matroska
1242 enable_monoscope
1243 enable_multifile
1244 enable_multipart
1245 enable_replaygain
1246 enable_rtp
1247 enable_rtpmanager
1248 enable_rtsp
1249 enable_shapewipe
1250 enable_smpte
1251 enable_spectrum
1252 enable_udp
1253 enable_videobox
1254 enable_videocrop
1255 enable_videomixer
1256 enable_wavenc
1257 enable_wavparse
1258 enable_y4m
1259 enable_directsound
1260 enable_oss
1261 enable_oss4
1262 enable_sunaudio
1263 enable_osx_audio
1264 enable_osx_video
1265 enable_gst_v4l2
1266 with_gudev
1267 with_libv4l2
1268 enable_x
1269 with_x
1270 enable_xshm
1271 enable_xvideo
1272 enable_aalib
1273 with_aalib_prefix
1274 with_aalib_exec_prefix
1275 enable_aalibtest
1276 enable_annodex
1277 enable_cairo
1278 enable_cairo_gobject
1279 enable_esd
1280 with_esd_prefix
1281 with_esd_exec_prefix
1282 enable_esdtest
1283 enable_flac
1284 enable_gconf
1285 enable_gdk_pixbuf
1286 enable_hal
1287 enable_jack
1288 enable_jpeg
1289 with_jpeg_mmx
1290 enable_libcaca
1291 enable_libdv
1292 enable_libpng
1293 enable_pulse
1294 enable_dv1394
1295 enable_shout2
1296 enable_soup
1297 enable_speex
1298 enable_taglib
1299 enable_wavpack
1300 enable_zlib
1301 enable_bz2
1302 '
1303       ac_precious_vars='build_alias
1304 host_alias
1305 target_alias
1306 CC
1307 CFLAGS
1308 LDFLAGS
1309 LIBS
1310 CPPFLAGS
1311 CPP
1312 PKG_CONFIG
1313 VALGRIND_CFLAGS
1314 VALGRIND_LIBS
1315 CXX
1316 CXXFLAGS
1317 CCC
1318 CXXCPP
1319 CCAS
1320 CCASFLAGS
1321 GLIB_CFLAGS
1322 GLIB_LIBS
1323 GIO_CFLAGS
1324 GIO_LIBS
1325 ORC_CFLAGS
1326 ORC_LIBS
1327 GST_CFLAGS
1328 GST_LIBS
1329 GST_BASE_CFLAGS
1330 GST_BASE_LIBS
1331 GST_GDP_CFLAGS
1332 GST_GDP_LIBS
1333 GST_CONTROLLER_CFLAGS
1334 GST_CONTROLLER_LIBS
1335 GST_CHECK_CFLAGS
1336 GST_CHECK_LIBS
1337 GST_PLUGINS_BASE_CFLAGS
1338 GST_PLUGINS_BASE_LIBS
1339 GTK_CFLAGS
1340 GTK_LIBS
1341 GTK_X11_CFLAGS
1342 GTK_X11_LIBS
1343 GUDEV_CFLAGS
1344 GUDEV_LIBS
1345 LIBV4L2_CFLAGS
1346 LIBV4L2_LIBS
1347 XMKMF
1348 XFIXES_CFLAGS
1349 XFIXES_LIBS
1350 XDAMAGE_CFLAGS
1351 XDAMAGE_LIBS
1352 ANNODEX_CFLAGS
1353 ANNODEX_LIBS
1354 CAIRO_CFLAGS
1355 CAIRO_LIBS
1356 CAIRO_GOBJECT_CFLAGS
1357 CAIRO_GOBJECT_LIBS
1358 ESD_CFLAGS
1359 ESD_LIBS
1360 FLAC_CFLAGS
1361 FLAC_LIBS
1362 GCONF_CFLAGS
1363 GCONF_LIBS
1364 GDK_PIXBUF_CFLAGS
1365 GDK_PIXBUF_LIBS
1366 HAL_CFLAGS
1367 HAL_LIBS
1368 JACK_CFLAGS
1369 JACK_LIBS
1370 JACK_0_120_1_CFLAGS
1371 JACK_0_120_1_LIBS
1372 JACK_1_9_7_CFLAGS
1373 JACK_1_9_7_LIBS
1374 LIBCACA_CFLAGS
1375 LIBCACA_LIBS
1376 LIBDV_CFLAGS
1377 LIBDV_LIBS
1378 LIBPNG_CFLAGS
1379 LIBPNG_LIBS
1380 PULSE_CFLAGS
1381 PULSE_LIBS
1382 PULSE_0_9_20_CFLAGS
1383 PULSE_0_9_20_LIBS
1384 PULSE_1_0_CFLAGS
1385 PULSE_1_0_LIBS
1386 RAW1394_CFLAGS
1387 RAW1394_LIBS
1388 LIBIEC61883_CFLAGS
1389 LIBIEC61883_LIBS
1390 SHOUT2_CFLAGS
1391 SHOUT2_LIBS
1392 SOUP_CFLAGS
1393 SOUP_LIBS
1394 SPEEX_CFLAGS
1395 SPEEX_LIBS
1396 TAGLIB_CFLAGS
1397 TAGLIB_LIBS
1398 WAVPACK_CFLAGS
1399 WAVPACK_LIBS'
1400
1401
1402 # Initialize some variables set by options.
1403 ac_init_help=
1404 ac_init_version=false
1405 ac_unrecognized_opts=
1406 ac_unrecognized_sep=
1407 # The variables have the same names as the options, with
1408 # dashes changed to underlines.
1409 cache_file=/dev/null
1410 exec_prefix=NONE
1411 no_create=
1412 no_recursion=
1413 prefix=NONE
1414 program_prefix=NONE
1415 program_suffix=NONE
1416 program_transform_name=s,x,x,
1417 silent=
1418 site=
1419 srcdir=
1420 verbose=
1421 x_includes=NONE
1422 x_libraries=NONE
1423
1424 # Installation directory options.
1425 # These are left unexpanded so users can "make install exec_prefix=/foo"
1426 # and all the variables that are supposed to be based on exec_prefix
1427 # by default will actually change.
1428 # Use braces instead of parens because sh, perl, etc. also accept them.
1429 # (The list follows the same order as the GNU Coding Standards.)
1430 bindir='${exec_prefix}/bin'
1431 sbindir='${exec_prefix}/sbin'
1432 libexecdir='${exec_prefix}/libexec'
1433 datarootdir='${prefix}/share'
1434 datadir='${datarootdir}'
1435 sysconfdir='${prefix}/etc'
1436 sharedstatedir='${prefix}/com'
1437 localstatedir='${prefix}/var'
1438 includedir='${prefix}/include'
1439 oldincludedir='/usr/include'
1440 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1441 infodir='${datarootdir}/info'
1442 htmldir='${docdir}'
1443 dvidir='${docdir}'
1444 pdfdir='${docdir}'
1445 psdir='${docdir}'
1446 libdir='${exec_prefix}/lib'
1447 localedir='${datarootdir}/locale'
1448 mandir='${datarootdir}/man'
1449
1450 ac_prev=
1451 ac_dashdash=
1452 for ac_option
1453 do
1454   # If the previous option needs an argument, assign it.
1455   if test -n "$ac_prev"; then
1456     eval $ac_prev=\$ac_option
1457     ac_prev=
1458     continue
1459   fi
1460
1461   case $ac_option in
1462   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1463   *=)   ac_optarg= ;;
1464   *)    ac_optarg=yes ;;
1465   esac
1466
1467   # Accept the important Cygnus configure options, so we can diagnose typos.
1468
1469   case $ac_dashdash$ac_option in
1470   --)
1471     ac_dashdash=yes ;;
1472
1473   -bindir | --bindir | --bindi | --bind | --bin | --bi)
1474     ac_prev=bindir ;;
1475   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1476     bindir=$ac_optarg ;;
1477
1478   -build | --build | --buil | --bui | --bu)
1479     ac_prev=build_alias ;;
1480   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1481     build_alias=$ac_optarg ;;
1482
1483   -cache-file | --cache-file | --cache-fil | --cache-fi \
1484   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1485     ac_prev=cache_file ;;
1486   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1487   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1488     cache_file=$ac_optarg ;;
1489
1490   --config-cache | -C)
1491     cache_file=config.cache ;;
1492
1493   -datadir | --datadir | --datadi | --datad)
1494     ac_prev=datadir ;;
1495   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1496     datadir=$ac_optarg ;;
1497
1498   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1499   | --dataroo | --dataro | --datar)
1500     ac_prev=datarootdir ;;
1501   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1502   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1503     datarootdir=$ac_optarg ;;
1504
1505   -disable-* | --disable-*)
1506     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1507     # Reject names that are not valid shell variable names.
1508     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1509       as_fn_error $? "invalid feature name: $ac_useropt"
1510     ac_useropt_orig=$ac_useropt
1511     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1512     case $ac_user_opts in
1513       *"
1514 "enable_$ac_useropt"
1515 "*) ;;
1516       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1517          ac_unrecognized_sep=', ';;
1518     esac
1519     eval enable_$ac_useropt=no ;;
1520
1521   -docdir | --docdir | --docdi | --doc | --do)
1522     ac_prev=docdir ;;
1523   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1524     docdir=$ac_optarg ;;
1525
1526   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1527     ac_prev=dvidir ;;
1528   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1529     dvidir=$ac_optarg ;;
1530
1531   -enable-* | --enable-*)
1532     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1533     # Reject names that are not valid shell variable names.
1534     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1535       as_fn_error $? "invalid feature name: $ac_useropt"
1536     ac_useropt_orig=$ac_useropt
1537     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1538     case $ac_user_opts in
1539       *"
1540 "enable_$ac_useropt"
1541 "*) ;;
1542       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1543          ac_unrecognized_sep=', ';;
1544     esac
1545     eval enable_$ac_useropt=\$ac_optarg ;;
1546
1547   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1548   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1549   | --exec | --exe | --ex)
1550     ac_prev=exec_prefix ;;
1551   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1552   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1553   | --exec=* | --exe=* | --ex=*)
1554     exec_prefix=$ac_optarg ;;
1555
1556   -gas | --gas | --ga | --g)
1557     # Obsolete; use --with-gas.
1558     with_gas=yes ;;
1559
1560   -help | --help | --hel | --he | -h)
1561     ac_init_help=long ;;
1562   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1563     ac_init_help=recursive ;;
1564   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1565     ac_init_help=short ;;
1566
1567   -host | --host | --hos | --ho)
1568     ac_prev=host_alias ;;
1569   -host=* | --host=* | --hos=* | --ho=*)
1570     host_alias=$ac_optarg ;;
1571
1572   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1573     ac_prev=htmldir ;;
1574   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1575   | --ht=*)
1576     htmldir=$ac_optarg ;;
1577
1578   -includedir | --includedir | --includedi | --included | --include \
1579   | --includ | --inclu | --incl | --inc)
1580     ac_prev=includedir ;;
1581   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1582   | --includ=* | --inclu=* | --incl=* | --inc=*)
1583     includedir=$ac_optarg ;;
1584
1585   -infodir | --infodir | --infodi | --infod | --info | --inf)
1586     ac_prev=infodir ;;
1587   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1588     infodir=$ac_optarg ;;
1589
1590   -libdir | --libdir | --libdi | --libd)
1591     ac_prev=libdir ;;
1592   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1593     libdir=$ac_optarg ;;
1594
1595   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1596   | --libexe | --libex | --libe)
1597     ac_prev=libexecdir ;;
1598   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1599   | --libexe=* | --libex=* | --libe=*)
1600     libexecdir=$ac_optarg ;;
1601
1602   -localedir | --localedir | --localedi | --localed | --locale)
1603     ac_prev=localedir ;;
1604   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1605     localedir=$ac_optarg ;;
1606
1607   -localstatedir | --localstatedir | --localstatedi | --localstated \
1608   | --localstate | --localstat | --localsta | --localst | --locals)
1609     ac_prev=localstatedir ;;
1610   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1611   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1612     localstatedir=$ac_optarg ;;
1613
1614   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1615     ac_prev=mandir ;;
1616   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1617     mandir=$ac_optarg ;;
1618
1619   -nfp | --nfp | --nf)
1620     # Obsolete; use --without-fp.
1621     with_fp=no ;;
1622
1623   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1624   | --no-cr | --no-c | -n)
1625     no_create=yes ;;
1626
1627   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1628   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1629     no_recursion=yes ;;
1630
1631   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1632   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1633   | --oldin | --oldi | --old | --ol | --o)
1634     ac_prev=oldincludedir ;;
1635   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1636   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1637   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1638     oldincludedir=$ac_optarg ;;
1639
1640   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1641     ac_prev=prefix ;;
1642   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1643     prefix=$ac_optarg ;;
1644
1645   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1646   | --program-pre | --program-pr | --program-p)
1647     ac_prev=program_prefix ;;
1648   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1649   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1650     program_prefix=$ac_optarg ;;
1651
1652   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1653   | --program-suf | --program-su | --program-s)
1654     ac_prev=program_suffix ;;
1655   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1656   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1657     program_suffix=$ac_optarg ;;
1658
1659   -program-transform-name | --program-transform-name \
1660   | --program-transform-nam | --program-transform-na \
1661   | --program-transform-n | --program-transform- \
1662   | --program-transform | --program-transfor \
1663   | --program-transfo | --program-transf \
1664   | --program-trans | --program-tran \
1665   | --progr-tra | --program-tr | --program-t)
1666     ac_prev=program_transform_name ;;
1667   -program-transform-name=* | --program-transform-name=* \
1668   | --program-transform-nam=* | --program-transform-na=* \
1669   | --program-transform-n=* | --program-transform-=* \
1670   | --program-transform=* | --program-transfor=* \
1671   | --program-transfo=* | --program-transf=* \
1672   | --program-trans=* | --program-tran=* \
1673   | --progr-tra=* | --program-tr=* | --program-t=*)
1674     program_transform_name=$ac_optarg ;;
1675
1676   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1677     ac_prev=pdfdir ;;
1678   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1679     pdfdir=$ac_optarg ;;
1680
1681   -psdir | --psdir | --psdi | --psd | --ps)
1682     ac_prev=psdir ;;
1683   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1684     psdir=$ac_optarg ;;
1685
1686   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1687   | -silent | --silent | --silen | --sile | --sil)
1688     silent=yes ;;
1689
1690   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1691     ac_prev=sbindir ;;
1692   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1693   | --sbi=* | --sb=*)
1694     sbindir=$ac_optarg ;;
1695
1696   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1697   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1698   | --sharedst | --shareds | --shared | --share | --shar \
1699   | --sha | --sh)
1700     ac_prev=sharedstatedir ;;
1701   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1702   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1703   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1704   | --sha=* | --sh=*)
1705     sharedstatedir=$ac_optarg ;;
1706
1707   -site | --site | --sit)
1708     ac_prev=site ;;
1709   -site=* | --site=* | --sit=*)
1710     site=$ac_optarg ;;
1711
1712   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1713     ac_prev=srcdir ;;
1714   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1715     srcdir=$ac_optarg ;;
1716
1717   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1718   | --syscon | --sysco | --sysc | --sys | --sy)
1719     ac_prev=sysconfdir ;;
1720   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1721   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1722     sysconfdir=$ac_optarg ;;
1723
1724   -target | --target | --targe | --targ | --tar | --ta | --t)
1725     ac_prev=target_alias ;;
1726   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1727     target_alias=$ac_optarg ;;
1728
1729   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1730     verbose=yes ;;
1731
1732   -version | --version | --versio | --versi | --vers | -V)
1733     ac_init_version=: ;;
1734
1735   -with-* | --with-*)
1736     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1737     # Reject names that are not valid shell variable names.
1738     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1739       as_fn_error $? "invalid package name: $ac_useropt"
1740     ac_useropt_orig=$ac_useropt
1741     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1742     case $ac_user_opts in
1743       *"
1744 "with_$ac_useropt"
1745 "*) ;;
1746       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1747          ac_unrecognized_sep=', ';;
1748     esac
1749     eval with_$ac_useropt=\$ac_optarg ;;
1750
1751   -without-* | --without-*)
1752     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1753     # Reject names that are not valid shell variable names.
1754     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1755       as_fn_error $? "invalid package name: $ac_useropt"
1756     ac_useropt_orig=$ac_useropt
1757     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1758     case $ac_user_opts in
1759       *"
1760 "with_$ac_useropt"
1761 "*) ;;
1762       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1763          ac_unrecognized_sep=', ';;
1764     esac
1765     eval with_$ac_useropt=no ;;
1766
1767   --x)
1768     # Obsolete; use --with-x.
1769     with_x=yes ;;
1770
1771   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1772   | --x-incl | --x-inc | --x-in | --x-i)
1773     ac_prev=x_includes ;;
1774   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1775   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1776     x_includes=$ac_optarg ;;
1777
1778   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1779   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1780     ac_prev=x_libraries ;;
1781   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1782   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1783     x_libraries=$ac_optarg ;;
1784
1785   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1786 Try \`$0 --help' for more information"
1787     ;;
1788
1789   *=*)
1790     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1791     # Reject names that are not valid shell variable names.
1792     case $ac_envvar in #(
1793       '' | [0-9]* | *[!_$as_cr_alnum]* )
1794       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1795     esac
1796     eval $ac_envvar=\$ac_optarg
1797     export $ac_envvar ;;
1798
1799   *)
1800     # FIXME: should be removed in autoconf 3.0.
1801     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1802     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1803       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1804     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1805     ;;
1806
1807   esac
1808 done
1809
1810 if test -n "$ac_prev"; then
1811   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1812   as_fn_error $? "missing argument to $ac_option"
1813 fi
1814
1815 if test -n "$ac_unrecognized_opts"; then
1816   case $enable_option_checking in
1817     no) ;;
1818     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1819     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1820   esac
1821 fi
1822
1823 # Check all directory arguments for consistency.
1824 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1825                 datadir sysconfdir sharedstatedir localstatedir includedir \
1826                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1827                 libdir localedir mandir
1828 do
1829   eval ac_val=\$$ac_var
1830   # Remove trailing slashes.
1831   case $ac_val in
1832     */ )
1833       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1834       eval $ac_var=\$ac_val;;
1835   esac
1836   # Be sure to have absolute directory names.
1837   case $ac_val in
1838     [\\/$]* | ?:[\\/]* )  continue;;
1839     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1840   esac
1841   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1842 done
1843
1844 # There might be people who depend on the old broken behavior: `$host'
1845 # used to hold the argument of --host etc.
1846 # FIXME: To remove some day.
1847 build=$build_alias
1848 host=$host_alias
1849 target=$target_alias
1850
1851 # FIXME: To remove some day.
1852 if test "x$host_alias" != x; then
1853   if test "x$build_alias" = x; then
1854     cross_compiling=maybe
1855     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1856     If a cross compiler is detected then cross compile mode will be used" >&2
1857   elif test "x$build_alias" != "x$host_alias"; then
1858     cross_compiling=yes
1859   fi
1860 fi
1861
1862 ac_tool_prefix=
1863 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1864
1865 test "$silent" = yes && exec 6>/dev/null
1866
1867
1868 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1869 ac_ls_di=`ls -di .` &&
1870 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1871   as_fn_error $? "working directory cannot be determined"
1872 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1873   as_fn_error $? "pwd does not report name of working directory"
1874
1875
1876 # Find the source files, if location was not specified.
1877 if test -z "$srcdir"; then
1878   ac_srcdir_defaulted=yes
1879   # Try the directory containing this script, then the parent directory.
1880   ac_confdir=`$as_dirname -- "$as_myself" ||
1881 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1882          X"$as_myself" : 'X\(//\)[^/]' \| \
1883          X"$as_myself" : 'X\(//\)$' \| \
1884          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1885 $as_echo X"$as_myself" |
1886     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1887             s//\1/
1888             q
1889           }
1890           /^X\(\/\/\)[^/].*/{
1891             s//\1/
1892             q
1893           }
1894           /^X\(\/\/\)$/{
1895             s//\1/
1896             q
1897           }
1898           /^X\(\/\).*/{
1899             s//\1/
1900             q
1901           }
1902           s/.*/./; q'`
1903   srcdir=$ac_confdir
1904   if test ! -r "$srcdir/$ac_unique_file"; then
1905     srcdir=..
1906   fi
1907 else
1908   ac_srcdir_defaulted=no
1909 fi
1910 if test ! -r "$srcdir/$ac_unique_file"; then
1911   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1912   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1913 fi
1914 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1915 ac_abs_confdir=`(
1916         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1917         pwd)`
1918 # When building in place, set srcdir=.
1919 if test "$ac_abs_confdir" = "$ac_pwd"; then
1920   srcdir=.
1921 fi
1922 # Remove unnecessary trailing slashes from srcdir.
1923 # Double slashes in file names in object file debugging info
1924 # mess up M-x gdb in Emacs.
1925 case $srcdir in
1926 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1927 esac
1928 for ac_var in $ac_precious_vars; do
1929   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1930   eval ac_env_${ac_var}_value=\$${ac_var}
1931   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1932   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1933 done
1934
1935 #
1936 # Report the --help message.
1937 #
1938 if test "$ac_init_help" = "long"; then
1939   # Omit some internal or obsolete options to make the list less imposing.
1940   # This message is too long to be a string in the A/UX 3.1 sh.
1941   cat <<_ACEOF
1942 \`configure' configures GStreamer Good Plug-ins 0.10.31 to adapt to many kinds of systems.
1943
1944 Usage: $0 [OPTION]... [VAR=VALUE]...
1945
1946 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1947 VAR=VALUE.  See below for descriptions of some of the useful variables.
1948
1949 Defaults for the options are specified in brackets.
1950
1951 Configuration:
1952   -h, --help              display this help and exit
1953       --help=short        display options specific to this package
1954       --help=recursive    display the short help of all the included packages
1955   -V, --version           display version information and exit
1956   -q, --quiet, --silent   do not print \`checking ...' messages
1957       --cache-file=FILE   cache test results in FILE [disabled]
1958   -C, --config-cache      alias for \`--cache-file=config.cache'
1959   -n, --no-create         do not create output files
1960       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1961
1962 Installation directories:
1963   --prefix=PREFIX         install architecture-independent files in PREFIX
1964                           [$ac_default_prefix]
1965   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1966                           [PREFIX]
1967
1968 By default, \`make install' will install all the files in
1969 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1970 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1971 for instance \`--prefix=\$HOME'.
1972
1973 For better control, use the options below.
1974
1975 Fine tuning of the installation directories:
1976   --bindir=DIR            user executables [EPREFIX/bin]
1977   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1978   --libexecdir=DIR        program executables [EPREFIX/libexec]
1979   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1980   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1981   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1982   --libdir=DIR            object code libraries [EPREFIX/lib]
1983   --includedir=DIR        C header files [PREFIX/include]
1984   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1985   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1986   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1987   --infodir=DIR           info documentation [DATAROOTDIR/info]
1988   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1989   --mandir=DIR            man documentation [DATAROOTDIR/man]
1990   --docdir=DIR            documentation root
1991                           [DATAROOTDIR/doc/gst-plugins-good]
1992   --htmldir=DIR           html documentation [DOCDIR]
1993   --dvidir=DIR            dvi documentation [DOCDIR]
1994   --pdfdir=DIR            pdf documentation [DOCDIR]
1995   --psdir=DIR             ps documentation [DOCDIR]
1996 _ACEOF
1997
1998   cat <<\_ACEOF
1999
2000 Program names:
2001   --program-prefix=PREFIX            prepend PREFIX to installed program names
2002   --program-suffix=SUFFIX            append SUFFIX to installed program names
2003   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
2004
2005 X features:
2006   --x-includes=DIR    X include files are in DIR
2007   --x-libraries=DIR   X library files are in DIR
2008
2009 System types:
2010   --build=BUILD     configure for building on BUILD [guessed]
2011   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
2012 _ACEOF
2013 fi
2014
2015 if test -n "$ac_init_help"; then
2016   case $ac_init_help in
2017      short | recursive ) echo "Configuration of GStreamer Good Plug-ins 0.10.31:";;
2018    esac
2019   cat <<\_ACEOF
2020
2021 Optional Features:
2022   --disable-option-checking  ignore unrecognized --enable/--with options
2023   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
2024   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
2025   --enable-maintainer-mode  enable make rules and dependencies not useful
2026                           (and sometimes confusing) to the casual installer
2027   --enable-silent-rules          less verbose build output (undo: `make V=1')
2028   --disable-silent-rules         verbose build output (undo: `make V=0')
2029   --enable-shared[=PKGS]  build shared libraries [default=yes]
2030   --enable-static[=PKGS]  build static libraries [default=yes]
2031   --enable-fast-install[=PKGS]
2032                           optimize for fast installation [default=yes]
2033   --disable-dependency-tracking  speeds up one-time build
2034   --enable-dependency-tracking   do not reject slow dependency extractors
2035   --disable-libtool-lock  avoid locking (might break parallel builds)
2036   --disable-nls           do not use Native Language Support
2037   --disable-rpath         do not hardcode runtime library paths
2038   --disable-debug         disable addition of -g debugging info
2039   --enable-profiling      adds -pg to compiler commandline, for profiling
2040   --disable-valgrind      disable run-time valgrind detection
2041   --enable-gcov           compile with coverage profiling instrumentation (gcc
2042                           only)
2043   --disable-examples      disable building examples
2044   --disable-external           disable building of plug-ins with external deps
2045   --enable-experimental        enable building of experimental plug-ins
2046   --disable-schemas-install     Disable the schemas installation
2047   --enable-gtk-doc        use gtk-doc to build documentation [[default=no]]
2048   --enable-gobject-cast-checks=[no/auto/yes]
2049                           Enable GObject cast checks
2050   --enable-glib-asserts=[no/auto/yes]
2051                           Enable GLib assertion
2052   --enable-orc            use Orc if installed
2053   --disable-gconftool          disable GConf schemas
2054   --disable-videofilter   disable dependency-less videofilter plugin
2055   --disable-alpha         disable dependency-less alpha plugin
2056   --disable-apetag        disable dependency-less apetag plugin
2057   --disable-audiofx       disable dependency-less audiofx plugin
2058   --disable-audioparsers  disable dependency-less audioparsers plugin
2059   --disable-auparse       disable dependency-less auparse plugin
2060   --disable-autodetect    disable dependency-less autodetect plugin
2061   --disable-avi           disable dependency-less avi plugin
2062   --disable-cutter        disable dependency-less cutter plugin
2063   --disable-debugutils    disable dependency-less debugutils plugin
2064   --disable-deinterlace   disable dependency-less deinterlace plugin
2065   --disable-effectv       disable dependency-less effectv plugin
2066   --disable-equalizer     disable dependency-less equalizer plugin
2067   --disable-flv           disable dependency-less flv plugin
2068   --disable-id3demux      disable dependency-less id3demux plugin
2069   --disable-icydemux      disable dependency-less icydemux plugin
2070   --disable-interleave    disable dependency-less interleave plugin
2071   --disable-flx           disable dependency-less flx plugin
2072   --disable-goom          disable dependency-less goom plugin
2073   --disable-goom2k1       disable dependency-less goom2k1 plugin
2074   --disable-imagefreeze   disable dependency-less imagefreeze plugin
2075   --disable-isomp4        disable dependency-less isomp4 plugin
2076   --disable-law           disable dependency-less law plugin
2077   --disable-level         disable dependency-less level plugin
2078   --disable-matroska      disable dependency-less matroska plugin
2079   --disable-monoscope     disable dependency-less monoscope plugin
2080   --disable-multifile     disable dependency-less multifile plugin
2081   --disable-multipart     disable dependency-less multipart plugin
2082   --disable-replaygain    disable dependency-less replaygain plugin
2083   --disable-rtp           disable dependency-less rtp plugin
2084   --disable-rtpmanager    disable dependency-less rtpmanager plugin
2085   --disable-rtsp          disable dependency-less rtsp plugin
2086   --disable-shapewipe     disable dependency-less shapewipe plugin
2087   --disable-smpte         disable dependency-less smpte plugin
2088   --disable-spectrum      disable dependency-less spectrum plugin
2089   --disable-udp           disable dependency-less udp plugin
2090   --disable-videobox      disable dependency-less videobox plugin
2091   --disable-videocrop     disable dependency-less videocrop plugin
2092   --disable-videomixer    disable dependency-less videomixer plugin
2093   --disable-wavenc        disable dependency-less wavenc plugin
2094   --disable-wavparse      disable dependency-less wavparse plugin
2095   --disable-y4m           disable dependency-less y4m plugin
2096   --disable-directsound        disable DirectSound plug-in: directsoundsink
2097   --disable-oss                disable OSS audio: ossaudio
2098   --disable-oss4               disable Open Sound System 4: oss4
2099   --disable-sunaudio           disable Sun Audio: sunaudio
2100   --disable-osx_audio          disable OSX audio: osxaudio
2101   --disable-osx_video          disable OSX video: osxvideosink
2102   --disable-gst_v4l2           disable Video 4 Linux 2: v4l2src
2103   --disable-x                  disable X libraries and plugins: ximagesrc
2104   --disable-xshm               disable X Shared Memory extension
2105   --disable-xvideo             disable X11 XVideo extensions
2106   --disable-aalib              disable aalib ASCII Art library: aasink
2107   --disable-aalibtest     do not try to compile and run a test AALIB program
2108   --disable-annodex            disable XML library: annodex
2109   --disable-cairo              disable Cairo graphics rendering: cairo
2110   --disable-cairo_gobject      disable Cairo graphics rendering gobject bindings: cairooverlay
2111   --disable-esd                disable ESounD sound daemon: esdsink
2112   --disable-esdtest       do not try to compile and run a test ESD program
2113   --disable-flac               disable FLAC lossless audio: flac
2114   --disable-gconf              disable GConf libraries: gconfelements
2115   --disable-gdk_pixbuf         disable GDK pixbuf: gdkpixbuf
2116   --disable-hal                disable HAL libraries: halelements
2117   --disable-jack               disable Jack: jack
2118   --disable-jpeg               disable jpeg library: jpeg
2119   --disable-libcaca            disable libcaca coloured ASCII art: cacasink
2120   --disable-libdv              disable libdv DV demuxer/decoder: dv
2121   --disable-libpng             disable Portable Network Graphics library: png
2122   --disable-pulse              disable pulseaudio plug-in: pulseaudio
2123   --disable-dv1394             disable raw1394 and avc1394 library: 1394
2124   --disable-shout2             disable Shoutcast/Icecast client library: shout2
2125   --disable-soup               disable soup http client plugin (2.4): souphttpsrc
2126   --disable-speex              disable speex speech codec: speex
2127   --disable-taglib             disable taglib tagging library: taglib
2128   --disable-wavpack            disable wavpack plug-in: wavpack
2129   --disable-zlib               disable zlib support for qtdemux/matroska
2130   --disable-bz2                disable bz2 library for matroska
2131
2132 Optional Packages:
2133   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
2134   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
2135   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
2136                           both]
2137   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
2138   --with-sysroot=DIR Search for dependent libraries within DIR
2139                         (or the compiler's sysroot if not specified).
2140   --with-autoconf         use a different autoconf for regeneration of
2141                           Makefiles
2142   --with-autoheader       use a different autoheader for regeneration of
2143                           Makefiles
2144   --with-automake         use a different automake for regeneration of
2145                           Makefiles
2146   --with-aclocal          use a different aclocal for regeneration of
2147                           Makefiles
2148   --with-gnu-ld           assume the C compiler uses GNU ld default=no
2149   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
2150   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
2151   --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
2152   --without-libintl-prefix     don't search for libintl in includedir and libdir
2153   --with-pkg-config-path  colon-separated list of pkg-config(1) dirs
2154   --with-package-name     specify package name to use in plugins
2155   --with-package-origin   specify package origin URL to use in plugins
2156   --with-plugins          comma-separated list of dependencyless plug-ins to
2157                           compile
2158   --with-gconf-source=sourceaddress      Config database for installing schema files.
2159   --with-gconf-schema-file-dir=dir        Directory for installing schema files.
2160   --with-html-dir=PATH    path to installed docs
2161   --with-gtk=3.0|2.0      which gtk+ version to compile against (default: 2.0)
2162   --with-default-audiosink
2163                           specify default audio sink
2164   --with-default-audiosrc specify default audio source
2165   --with-default-videosink
2166                           specify default video sink
2167   --with-default-videosrc specify default video source
2168   --with-default-visualizer
2169                           specify default visualizer
2170   --with-gudev            device detection with gudev
2171   --with-libv4l2          support video buffer conversion using libv4l2
2172   --with-x                use the X Window System
2173   --with-aalib-prefix=PFX prefix where AALIB is installed (optional)
2174   --with-aalib-exec-prefix=PFX
2175                           exec prefix where AALIB is installed (optional)
2176   --with-esd-prefix=PFX   prefix where ESD is installed (optional)
2177   --with-esd-exec-prefix=PFX
2178                           exec prefix where ESD is installed (optional)
2179   --with-jpeg-mmx, path to MMX'ified JPEG library
2180
2181 Some influential environment variables:
2182   CC          C compiler command
2183   CFLAGS      C compiler flags
2184   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
2185               nonstandard directory <lib dir>
2186   LIBS        libraries to pass to the linker, e.g. -l<library>
2187   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2188               you have headers in a nonstandard directory <include dir>
2189   CPP         C preprocessor
2190   PKG_CONFIG  path to pkg-config utility
2191   VALGRIND_CFLAGS
2192               C compiler flags for VALGRIND, overriding pkg-config
2193   VALGRIND_LIBS
2194               linker flags for VALGRIND, overriding pkg-config
2195   CXX         C++ compiler command
2196   CXXFLAGS    C++ compiler flags
2197   CXXCPP      C++ preprocessor
2198   CCAS        assembler compiler command (defaults to CC)
2199   CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
2200   GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
2201   GLIB_LIBS   linker flags for GLIB, overriding pkg-config
2202   GIO_CFLAGS  C compiler flags for GIO, overriding pkg-config
2203   GIO_LIBS    linker flags for GIO, overriding pkg-config
2204   ORC_CFLAGS  C compiler flags for ORC, overriding pkg-config
2205   ORC_LIBS    linker flags for ORC, overriding pkg-config
2206   GST_CFLAGS  C compiler flags for GST, overriding pkg-config
2207   GST_LIBS    linker flags for GST, overriding pkg-config
2208   GST_BASE_CFLAGS
2209               C compiler flags for GST_BASE, overriding pkg-config
2210   GST_BASE_LIBS
2211               linker flags for GST_BASE, overriding pkg-config
2212   GST_GDP_CFLAGS
2213               C compiler flags for GST_GDP, overriding pkg-config
2214   GST_GDP_LIBS
2215               linker flags for GST_GDP, overriding pkg-config
2216   GST_CONTROLLER_CFLAGS
2217               C compiler flags for GST_CONTROLLER, overriding pkg-config
2218   GST_CONTROLLER_LIBS
2219               linker flags for GST_CONTROLLER, overriding pkg-config
2220   GST_CHECK_CFLAGS
2221               C compiler flags for GST_CHECK, overriding pkg-config
2222   GST_CHECK_LIBS
2223               linker flags for GST_CHECK, overriding pkg-config
2224   GST_PLUGINS_BASE_CFLAGS
2225               C compiler flags for GST_PLUGINS_BASE, overriding pkg-config
2226   GST_PLUGINS_BASE_LIBS
2227               linker flags for GST_PLUGINS_BASE, overriding pkg-config
2228   GTK_CFLAGS  C compiler flags for GTK, overriding pkg-config
2229   GTK_LIBS    linker flags for GTK, overriding pkg-config
2230   GTK_X11_CFLAGS
2231               C compiler flags for GTK_X11, overriding pkg-config
2232   GTK_X11_LIBS
2233               linker flags for GTK_X11, overriding pkg-config
2234   GUDEV_CFLAGS
2235               C compiler flags for GUDEV, overriding pkg-config
2236   GUDEV_LIBS  linker flags for GUDEV, overriding pkg-config
2237   LIBV4L2_CFLAGS
2238               C compiler flags for LIBV4L2, overriding pkg-config
2239   LIBV4L2_LIBS
2240               linker flags for LIBV4L2, overriding pkg-config
2241   XMKMF       Path to xmkmf, Makefile generator for X Window System
2242   XFIXES_CFLAGS
2243               C compiler flags for XFIXES, overriding pkg-config
2244   XFIXES_LIBS linker flags for XFIXES, overriding pkg-config
2245   XDAMAGE_CFLAGS
2246               C compiler flags for XDAMAGE, overriding pkg-config
2247   XDAMAGE_LIBS
2248               linker flags for XDAMAGE, overriding pkg-config
2249   ANNODEX_CFLAGS
2250               C compiler flags for ANNODEX, overriding pkg-config
2251   ANNODEX_LIBS
2252               linker flags for ANNODEX, overriding pkg-config
2253   CAIRO_CFLAGS
2254               C compiler flags for CAIRO, overriding pkg-config
2255   CAIRO_LIBS  linker flags for CAIRO, overriding pkg-config
2256   CAIRO_GOBJECT_CFLAGS
2257               C compiler flags for CAIRO_GOBJECT, overriding pkg-config
2258   CAIRO_GOBJECT_LIBS
2259               linker flags for CAIRO_GOBJECT, overriding pkg-config
2260   ESD_CFLAGS  C compiler flags for ESD, overriding pkg-config
2261   ESD_LIBS    linker flags for ESD, overriding pkg-config
2262   FLAC_CFLAGS C compiler flags for FLAC, overriding pkg-config
2263   FLAC_LIBS   linker flags for FLAC, overriding pkg-config
2264   GCONF_CFLAGS
2265               C compiler flags for GCONF, overriding pkg-config
2266   GCONF_LIBS  linker flags for GCONF, overriding pkg-config
2267   GDK_PIXBUF_CFLAGS
2268               C compiler flags for GDK_PIXBUF, overriding pkg-config
2269   GDK_PIXBUF_LIBS
2270               linker flags for GDK_PIXBUF, overriding pkg-config
2271   HAL_CFLAGS  C compiler flags for HAL, overriding pkg-config
2272   HAL_LIBS    linker flags for HAL, overriding pkg-config
2273   JACK_CFLAGS C compiler flags for JACK, overriding pkg-config
2274   JACK_LIBS   linker flags for JACK, overriding pkg-config
2275   JACK_0_120_1_CFLAGS
2276               C compiler flags for JACK_0_120_1, overriding pkg-config
2277   JACK_0_120_1_LIBS
2278               linker flags for JACK_0_120_1, overriding pkg-config
2279   JACK_1_9_7_CFLAGS
2280               C compiler flags for JACK_1_9_7, overriding pkg-config
2281   JACK_1_9_7_LIBS
2282               linker flags for JACK_1_9_7, overriding pkg-config
2283   LIBCACA_CFLAGS
2284               C compiler flags for LIBCACA, overriding pkg-config
2285   LIBCACA_LIBS
2286               linker flags for LIBCACA, overriding pkg-config
2287   LIBDV_CFLAGS
2288               C compiler flags for LIBDV, overriding pkg-config
2289   LIBDV_LIBS  linker flags for LIBDV, overriding pkg-config
2290   LIBPNG_CFLAGS
2291               C compiler flags for LIBPNG, overriding pkg-config
2292   LIBPNG_LIBS linker flags for LIBPNG, overriding pkg-config
2293   PULSE_CFLAGS
2294               C compiler flags for PULSE, overriding pkg-config
2295   PULSE_LIBS  linker flags for PULSE, overriding pkg-config
2296   PULSE_0_9_20_CFLAGS
2297               C compiler flags for PULSE_0_9_20, overriding pkg-config
2298   PULSE_0_9_20_LIBS
2299               linker flags for PULSE_0_9_20, overriding pkg-config
2300   PULSE_1_0_CFLAGS
2301               C compiler flags for PULSE_1_0, overriding pkg-config
2302   PULSE_1_0_LIBS
2303               linker flags for PULSE_1_0, overriding pkg-config
2304   RAW1394_CFLAGS
2305               C compiler flags for RAW1394, overriding pkg-config
2306   RAW1394_LIBS
2307               linker flags for RAW1394, overriding pkg-config
2308   LIBIEC61883_CFLAGS
2309               C compiler flags for LIBIEC61883, overriding pkg-config
2310   LIBIEC61883_LIBS
2311               linker flags for LIBIEC61883, overriding pkg-config
2312   SHOUT2_CFLAGS
2313               C compiler flags for SHOUT2, overriding pkg-config
2314   SHOUT2_LIBS linker flags for SHOUT2, overriding pkg-config
2315   SOUP_CFLAGS C compiler flags for SOUP, overriding pkg-config
2316   SOUP_LIBS   linker flags for SOUP, overriding pkg-config
2317   SPEEX_CFLAGS
2318               C compiler flags for SPEEX, overriding pkg-config
2319   SPEEX_LIBS  linker flags for SPEEX, overriding pkg-config
2320   TAGLIB_CFLAGS
2321               C compiler flags for TAGLIB, overriding pkg-config
2322   TAGLIB_LIBS linker flags for TAGLIB, overriding pkg-config
2323   WAVPACK_CFLAGS
2324               C compiler flags for WAVPACK, overriding pkg-config
2325   WAVPACK_LIBS
2326               linker flags for WAVPACK, overriding pkg-config
2327
2328 Use these variables to override the choices made by `configure' or to help
2329 it to find libraries and programs with nonstandard names/locations.
2330
2331 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer>.
2332 _ACEOF
2333 ac_status=$?
2334 fi
2335
2336 if test "$ac_init_help" = "recursive"; then
2337   # If there are subdirs, report their specific --help.
2338   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2339     test -d "$ac_dir" ||
2340       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2341       continue
2342     ac_builddir=.
2343
2344 case "$ac_dir" in
2345 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2346 *)
2347   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2348   # A ".." for each directory in $ac_dir_suffix.
2349   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2350   case $ac_top_builddir_sub in
2351   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2352   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2353   esac ;;
2354 esac
2355 ac_abs_top_builddir=$ac_pwd
2356 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2357 # for backward compatibility:
2358 ac_top_builddir=$ac_top_build_prefix
2359
2360 case $srcdir in
2361   .)  # We are building in place.
2362     ac_srcdir=.
2363     ac_top_srcdir=$ac_top_builddir_sub
2364     ac_abs_top_srcdir=$ac_pwd ;;
2365   [\\/]* | ?:[\\/]* )  # Absolute name.
2366     ac_srcdir=$srcdir$ac_dir_suffix;
2367     ac_top_srcdir=$srcdir
2368     ac_abs_top_srcdir=$srcdir ;;
2369   *) # Relative name.
2370     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2371     ac_top_srcdir=$ac_top_build_prefix$srcdir
2372     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2373 esac
2374 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2375
2376     cd "$ac_dir" || { ac_status=$?; continue; }
2377     # Check for guested configure.
2378     if test -f "$ac_srcdir/configure.gnu"; then
2379       echo &&
2380       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2381     elif test -f "$ac_srcdir/configure"; then
2382       echo &&
2383       $SHELL "$ac_srcdir/configure" --help=recursive
2384     else
2385       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2386     fi || ac_status=$?
2387     cd "$ac_pwd" || { ac_status=$?; break; }
2388   done
2389 fi
2390
2391 test -n "$ac_init_help" && exit $ac_status
2392 if $ac_init_version; then
2393   cat <<\_ACEOF
2394 GStreamer Good Plug-ins configure 0.10.31
2395 generated by GNU Autoconf 2.68
2396
2397 Copyright (C) 2010 Free Software Foundation, Inc.
2398 This configure script is free software; the Free Software Foundation
2399 gives unlimited permission to copy, distribute and modify it.
2400 _ACEOF
2401   exit
2402 fi
2403
2404 ## ------------------------ ##
2405 ## Autoconf initialization. ##
2406 ## ------------------------ ##
2407
2408 # ac_fn_c_try_compile LINENO
2409 # --------------------------
2410 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2411 ac_fn_c_try_compile ()
2412 {
2413   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2414   rm -f conftest.$ac_objext
2415   if { { ac_try="$ac_compile"
2416 case "(($ac_try" in
2417   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2418   *) ac_try_echo=$ac_try;;
2419 esac
2420 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2421 $as_echo "$ac_try_echo"; } >&5
2422   (eval "$ac_compile") 2>conftest.err
2423   ac_status=$?
2424   if test -s conftest.err; then
2425     grep -v '^ *+' conftest.err >conftest.er1
2426     cat conftest.er1 >&5
2427     mv -f conftest.er1 conftest.err
2428   fi
2429   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2430   test $ac_status = 0; } && {
2431          test -z "$ac_c_werror_flag" ||
2432          test ! -s conftest.err
2433        } && test -s conftest.$ac_objext; then :
2434   ac_retval=0
2435 else
2436   $as_echo "$as_me: failed program was:" >&5
2437 sed 's/^/| /' conftest.$ac_ext >&5
2438
2439         ac_retval=1
2440 fi
2441   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2442   as_fn_set_status $ac_retval
2443
2444 } # ac_fn_c_try_compile
2445
2446 # ac_fn_c_try_link LINENO
2447 # -----------------------
2448 # Try to link conftest.$ac_ext, and return whether this succeeded.
2449 ac_fn_c_try_link ()
2450 {
2451   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2452   rm -f conftest.$ac_objext conftest$ac_exeext
2453   if { { ac_try="$ac_link"
2454 case "(($ac_try" in
2455   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2456   *) ac_try_echo=$ac_try;;
2457 esac
2458 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2459 $as_echo "$ac_try_echo"; } >&5
2460   (eval "$ac_link") 2>conftest.err
2461   ac_status=$?
2462   if test -s conftest.err; then
2463     grep -v '^ *+' conftest.err >conftest.er1
2464     cat conftest.er1 >&5
2465     mv -f conftest.er1 conftest.err
2466   fi
2467   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2468   test $ac_status = 0; } && {
2469          test -z "$ac_c_werror_flag" ||
2470          test ! -s conftest.err
2471        } && test -s conftest$ac_exeext && {
2472          test "$cross_compiling" = yes ||
2473          $as_test_x conftest$ac_exeext
2474        }; then :
2475   ac_retval=0
2476 else
2477   $as_echo "$as_me: failed program was:" >&5
2478 sed 's/^/| /' conftest.$ac_ext >&5
2479
2480         ac_retval=1
2481 fi
2482   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2483   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2484   # interfere with the next link command; also delete a directory that is
2485   # left behind by Apple's compiler.  We do this before executing the actions.
2486   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2487   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2488   as_fn_set_status $ac_retval
2489
2490 } # ac_fn_c_try_link
2491
2492 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2493 # -------------------------------------------------------
2494 # Tests whether HEADER exists and can be compiled using the include files in
2495 # INCLUDES, setting the cache variable VAR accordingly.
2496 ac_fn_c_check_header_compile ()
2497 {
2498   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2499   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2500 $as_echo_n "checking for $2... " >&6; }
2501 if eval \${$3+:} false; then :
2502   $as_echo_n "(cached) " >&6
2503 else
2504   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2505 /* end confdefs.h.  */
2506 $4
2507 #include <$2>
2508 _ACEOF
2509 if ac_fn_c_try_compile "$LINENO"; then :
2510   eval "$3=yes"
2511 else
2512   eval "$3=no"
2513 fi
2514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2515 fi
2516 eval ac_res=\$$3
2517                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2518 $as_echo "$ac_res" >&6; }
2519   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2520
2521 } # ac_fn_c_check_header_compile
2522
2523 # ac_fn_c_try_cpp LINENO
2524 # ----------------------
2525 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2526 ac_fn_c_try_cpp ()
2527 {
2528   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2529   if { { ac_try="$ac_cpp conftest.$ac_ext"
2530 case "(($ac_try" in
2531   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2532   *) ac_try_echo=$ac_try;;
2533 esac
2534 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2535 $as_echo "$ac_try_echo"; } >&5
2536   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2537   ac_status=$?
2538   if test -s conftest.err; then
2539     grep -v '^ *+' conftest.err >conftest.er1
2540     cat conftest.er1 >&5
2541     mv -f conftest.er1 conftest.err
2542   fi
2543   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2544   test $ac_status = 0; } > conftest.i && {
2545          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2546          test ! -s conftest.err
2547        }; then :
2548   ac_retval=0
2549 else
2550   $as_echo "$as_me: failed program was:" >&5
2551 sed 's/^/| /' conftest.$ac_ext >&5
2552
2553     ac_retval=1
2554 fi
2555   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2556   as_fn_set_status $ac_retval
2557
2558 } # ac_fn_c_try_cpp
2559
2560 # ac_fn_c_try_run LINENO
2561 # ----------------------
2562 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2563 # that executables *can* be run.
2564 ac_fn_c_try_run ()
2565 {
2566   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2567   if { { ac_try="$ac_link"
2568 case "(($ac_try" in
2569   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2570   *) ac_try_echo=$ac_try;;
2571 esac
2572 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2573 $as_echo "$ac_try_echo"; } >&5
2574   (eval "$ac_link") 2>&5
2575   ac_status=$?
2576   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2577   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2578   { { case "(($ac_try" in
2579   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2580   *) ac_try_echo=$ac_try;;
2581 esac
2582 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2583 $as_echo "$ac_try_echo"; } >&5
2584   (eval "$ac_try") 2>&5
2585   ac_status=$?
2586   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2587   test $ac_status = 0; }; }; then :
2588   ac_retval=0
2589 else
2590   $as_echo "$as_me: program exited with status $ac_status" >&5
2591        $as_echo "$as_me: failed program was:" >&5
2592 sed 's/^/| /' conftest.$ac_ext >&5
2593
2594        ac_retval=$ac_status
2595 fi
2596   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2597   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2598   as_fn_set_status $ac_retval
2599
2600 } # ac_fn_c_try_run
2601
2602 # ac_fn_c_check_func LINENO FUNC VAR
2603 # ----------------------------------
2604 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2605 ac_fn_c_check_func ()
2606 {
2607   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2608   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2609 $as_echo_n "checking for $2... " >&6; }
2610 if eval \${$3+:} false; then :
2611   $as_echo_n "(cached) " >&6
2612 else
2613   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2614 /* end confdefs.h.  */
2615 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2616    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
2617 #define $2 innocuous_$2
2618
2619 /* System header to define __stub macros and hopefully few prototypes,
2620     which can conflict with char $2 (); below.
2621     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2622     <limits.h> exists even on freestanding compilers.  */
2623
2624 #ifdef __STDC__
2625 # include <limits.h>
2626 #else
2627 # include <assert.h>
2628 #endif
2629
2630 #undef $2
2631
2632 /* Override any GCC internal prototype to avoid an error.
2633    Use char because int might match the return type of a GCC
2634    builtin and then its argument prototype would still apply.  */
2635 #ifdef __cplusplus
2636 extern "C"
2637 #endif
2638 char $2 ();
2639 /* The GNU C library defines this for functions which it implements
2640     to always fail with ENOSYS.  Some functions are actually named
2641     something starting with __ and the normal name is an alias.  */
2642 #if defined __stub_$2 || defined __stub___$2
2643 choke me
2644 #endif
2645
2646 int
2647 main ()
2648 {
2649 return $2 ();
2650   ;
2651   return 0;
2652 }
2653 _ACEOF
2654 if ac_fn_c_try_link "$LINENO"; then :
2655   eval "$3=yes"
2656 else
2657   eval "$3=no"
2658 fi
2659 rm -f core conftest.err conftest.$ac_objext \
2660     conftest$ac_exeext conftest.$ac_ext
2661 fi
2662 eval ac_res=\$$3
2663                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2664 $as_echo "$ac_res" >&6; }
2665   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2666
2667 } # ac_fn_c_check_func
2668
2669 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2670 # ---------------------------------------------
2671 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2672 # accordingly.
2673 ac_fn_c_check_decl ()
2674 {
2675   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2676   as_decl_name=`echo $2|sed 's/ *(.*//'`
2677   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2678   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2679 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2680 if eval \${$3+:} false; then :
2681   $as_echo_n "(cached) " >&6
2682 else
2683   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2684 /* end confdefs.h.  */
2685 $4
2686 int
2687 main ()
2688 {
2689 #ifndef $as_decl_name
2690 #ifdef __cplusplus
2691   (void) $as_decl_use;
2692 #else
2693   (void) $as_decl_name;
2694 #endif
2695 #endif
2696
2697   ;
2698   return 0;
2699 }
2700 _ACEOF
2701 if ac_fn_c_try_compile "$LINENO"; then :
2702   eval "$3=yes"
2703 else
2704   eval "$3=no"
2705 fi
2706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2707 fi
2708 eval ac_res=\$$3
2709                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2710 $as_echo "$ac_res" >&6; }
2711   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2712
2713 } # ac_fn_c_check_decl
2714
2715 # ac_fn_cxx_try_compile LINENO
2716 # ----------------------------
2717 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2718 ac_fn_cxx_try_compile ()
2719 {
2720   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2721   rm -f conftest.$ac_objext
2722   if { { ac_try="$ac_compile"
2723 case "(($ac_try" in
2724   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2725   *) ac_try_echo=$ac_try;;
2726 esac
2727 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2728 $as_echo "$ac_try_echo"; } >&5
2729   (eval "$ac_compile") 2>conftest.err
2730   ac_status=$?
2731   if test -s conftest.err; then
2732     grep -v '^ *+' conftest.err >conftest.er1
2733     cat conftest.er1 >&5
2734     mv -f conftest.er1 conftest.err
2735   fi
2736   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2737   test $ac_status = 0; } && {
2738          test -z "$ac_cxx_werror_flag" ||
2739          test ! -s conftest.err
2740        } && test -s conftest.$ac_objext; then :
2741   ac_retval=0
2742 else
2743   $as_echo "$as_me: failed program was:" >&5
2744 sed 's/^/| /' conftest.$ac_ext >&5
2745
2746         ac_retval=1
2747 fi
2748   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2749   as_fn_set_status $ac_retval
2750
2751 } # ac_fn_cxx_try_compile
2752
2753 # ac_fn_cxx_try_cpp LINENO
2754 # ------------------------
2755 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2756 ac_fn_cxx_try_cpp ()
2757 {
2758   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2759   if { { ac_try="$ac_cpp conftest.$ac_ext"
2760 case "(($ac_try" in
2761   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2762   *) ac_try_echo=$ac_try;;
2763 esac
2764 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2765 $as_echo "$ac_try_echo"; } >&5
2766   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2767   ac_status=$?
2768   if test -s conftest.err; then
2769     grep -v '^ *+' conftest.err >conftest.er1
2770     cat conftest.er1 >&5
2771     mv -f conftest.er1 conftest.err
2772   fi
2773   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2774   test $ac_status = 0; } > conftest.i && {
2775          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2776          test ! -s conftest.err
2777        }; then :
2778   ac_retval=0
2779 else
2780   $as_echo "$as_me: failed program was:" >&5
2781 sed 's/^/| /' conftest.$ac_ext >&5
2782
2783     ac_retval=1
2784 fi
2785   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2786   as_fn_set_status $ac_retval
2787
2788 } # ac_fn_cxx_try_cpp
2789
2790 # ac_fn_cxx_try_link LINENO
2791 # -------------------------
2792 # Try to link conftest.$ac_ext, and return whether this succeeded.
2793 ac_fn_cxx_try_link ()
2794 {
2795   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2796   rm -f conftest.$ac_objext conftest$ac_exeext
2797   if { { ac_try="$ac_link"
2798 case "(($ac_try" in
2799   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2800   *) ac_try_echo=$ac_try;;
2801 esac
2802 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2803 $as_echo "$ac_try_echo"; } >&5
2804   (eval "$ac_link") 2>conftest.err
2805   ac_status=$?
2806   if test -s conftest.err; then
2807     grep -v '^ *+' conftest.err >conftest.er1
2808     cat conftest.er1 >&5
2809     mv -f conftest.er1 conftest.err
2810   fi
2811   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2812   test $ac_status = 0; } && {
2813          test -z "$ac_cxx_werror_flag" ||
2814          test ! -s conftest.err
2815        } && test -s conftest$ac_exeext && {
2816          test "$cross_compiling" = yes ||
2817          $as_test_x conftest$ac_exeext
2818        }; then :
2819   ac_retval=0
2820 else
2821   $as_echo "$as_me: failed program was:" >&5
2822 sed 's/^/| /' conftest.$ac_ext >&5
2823
2824         ac_retval=1
2825 fi
2826   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2827   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2828   # interfere with the next link command; also delete a directory that is
2829   # left behind by Apple's compiler.  We do this before executing the actions.
2830   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2831   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2832   as_fn_set_status $ac_retval
2833
2834 } # ac_fn_cxx_try_link
2835
2836 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2837 # -------------------------------------------
2838 # Tests whether TYPE exists after having included INCLUDES, setting cache
2839 # variable VAR accordingly.
2840 ac_fn_c_check_type ()
2841 {
2842   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2843   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2844 $as_echo_n "checking for $2... " >&6; }
2845 if eval \${$3+:} false; then :
2846   $as_echo_n "(cached) " >&6
2847 else
2848   eval "$3=no"
2849   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2850 /* end confdefs.h.  */
2851 $4
2852 int
2853 main ()
2854 {
2855 if (sizeof ($2))
2856          return 0;
2857   ;
2858   return 0;
2859 }
2860 _ACEOF
2861 if ac_fn_c_try_compile "$LINENO"; then :
2862   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2863 /* end confdefs.h.  */
2864 $4
2865 int
2866 main ()
2867 {
2868 if (sizeof (($2)))
2869             return 0;
2870   ;
2871   return 0;
2872 }
2873 _ACEOF
2874 if ac_fn_c_try_compile "$LINENO"; then :
2875
2876 else
2877   eval "$3=yes"
2878 fi
2879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2880 fi
2881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2882 fi
2883 eval ac_res=\$$3
2884                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2885 $as_echo "$ac_res" >&6; }
2886   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2887
2888 } # ac_fn_c_check_type
2889
2890 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2891 # --------------------------------------------
2892 # Tries to find the compile-time value of EXPR in a program that includes
2893 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2894 # computed
2895 ac_fn_c_compute_int ()
2896 {
2897   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2898   if test "$cross_compiling" = yes; then
2899     # Depending upon the size, compute the lo and hi bounds.
2900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2901 /* end confdefs.h.  */
2902 $4
2903 int
2904 main ()
2905 {
2906 static int test_array [1 - 2 * !(($2) >= 0)];
2907 test_array [0] = 0
2908
2909   ;
2910   return 0;
2911 }
2912 _ACEOF
2913 if ac_fn_c_try_compile "$LINENO"; then :
2914   ac_lo=0 ac_mid=0
2915   while :; do
2916     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2917 /* end confdefs.h.  */
2918 $4
2919 int
2920 main ()
2921 {
2922 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2923 test_array [0] = 0
2924
2925   ;
2926   return 0;
2927 }
2928 _ACEOF
2929 if ac_fn_c_try_compile "$LINENO"; then :
2930   ac_hi=$ac_mid; break
2931 else
2932   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2933                         if test $ac_lo -le $ac_mid; then
2934                           ac_lo= ac_hi=
2935                           break
2936                         fi
2937                         as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2938 fi
2939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2940   done
2941 else
2942   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2943 /* end confdefs.h.  */
2944 $4
2945 int
2946 main ()
2947 {
2948 static int test_array [1 - 2 * !(($2) < 0)];
2949 test_array [0] = 0
2950
2951   ;
2952   return 0;
2953 }
2954 _ACEOF
2955 if ac_fn_c_try_compile "$LINENO"; then :
2956   ac_hi=-1 ac_mid=-1
2957   while :; do
2958     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2959 /* end confdefs.h.  */
2960 $4
2961 int
2962 main ()
2963 {
2964 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2965 test_array [0] = 0
2966
2967   ;
2968   return 0;
2969 }
2970 _ACEOF
2971 if ac_fn_c_try_compile "$LINENO"; then :
2972   ac_lo=$ac_mid; break
2973 else
2974   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2975                         if test $ac_mid -le $ac_hi; then
2976                           ac_lo= ac_hi=
2977                           break
2978                         fi
2979                         as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2980 fi
2981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2982   done
2983 else
2984   ac_lo= ac_hi=
2985 fi
2986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2987 fi
2988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2989 # Binary search between lo and hi bounds.
2990 while test "x$ac_lo" != "x$ac_hi"; do
2991   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2992   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2993 /* end confdefs.h.  */
2994 $4
2995 int
2996 main ()
2997 {
2998 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2999 test_array [0] = 0
3000
3001   ;
3002   return 0;
3003 }
3004 _ACEOF
3005 if ac_fn_c_try_compile "$LINENO"; then :
3006   ac_hi=$ac_mid
3007 else
3008   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
3009 fi
3010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3011 done
3012 case $ac_lo in #((
3013 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
3014 '') ac_retval=1 ;;
3015 esac
3016   else
3017     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3018 /* end confdefs.h.  */
3019 $4
3020 static long int longval () { return $2; }
3021 static unsigned long int ulongval () { return $2; }
3022 #include <stdio.h>
3023 #include <stdlib.h>
3024 int
3025 main ()
3026 {
3027
3028   FILE *f = fopen ("conftest.val", "w");
3029   if (! f)
3030     return 1;
3031   if (($2) < 0)
3032     {
3033       long int i = longval ();
3034       if (i != ($2))
3035         return 1;
3036       fprintf (f, "%ld", i);
3037     }
3038   else
3039     {
3040       unsigned long int i = ulongval ();
3041       if (i != ($2))
3042         return 1;
3043       fprintf (f, "%lu", i);
3044     }
3045   /* Do not output a trailing newline, as this causes \r\n confusion
3046      on some platforms.  */
3047   return ferror (f) || fclose (f) != 0;
3048
3049   ;
3050   return 0;
3051 }
3052 _ACEOF
3053 if ac_fn_c_try_run "$LINENO"; then :
3054   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
3055 else
3056   ac_retval=1
3057 fi
3058 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3059   conftest.$ac_objext conftest.beam conftest.$ac_ext
3060 rm -f conftest.val
3061
3062   fi
3063   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3064   as_fn_set_status $ac_retval
3065
3066 } # ac_fn_c_compute_int
3067
3068 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
3069 # -------------------------------------------------------
3070 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3071 # the include files in INCLUDES and setting the cache variable VAR
3072 # accordingly.
3073 ac_fn_c_check_header_mongrel ()
3074 {
3075   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3076   if eval \${$3+:} false; then :
3077   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3078 $as_echo_n "checking for $2... " >&6; }
3079 if eval \${$3+:} false; then :
3080   $as_echo_n "(cached) " >&6
3081 fi
3082 eval ac_res=\$$3
3083                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3084 $as_echo "$ac_res" >&6; }
3085 else
3086   # Is the header compilable?
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3088 $as_echo_n "checking $2 usability... " >&6; }
3089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3090 /* end confdefs.h.  */
3091 $4
3092 #include <$2>
3093 _ACEOF
3094 if ac_fn_c_try_compile "$LINENO"; then :
3095   ac_header_compiler=yes
3096 else
3097   ac_header_compiler=no
3098 fi
3099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3101 $as_echo "$ac_header_compiler" >&6; }
3102
3103 # Is the header present?
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3105 $as_echo_n "checking $2 presence... " >&6; }
3106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3107 /* end confdefs.h.  */
3108 #include <$2>
3109 _ACEOF
3110 if ac_fn_c_try_cpp "$LINENO"; then :
3111   ac_header_preproc=yes
3112 else
3113   ac_header_preproc=no
3114 fi
3115 rm -f conftest.err conftest.i conftest.$ac_ext
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3117 $as_echo "$ac_header_preproc" >&6; }
3118
3119 # So?  What about this header?
3120 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3121   yes:no: )
3122     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3123 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3124     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3125 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3126     ;;
3127   no:yes:* )
3128     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3129 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3130     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
3131 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
3132     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3133 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3134     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
3135 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
3136     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3137 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3138 ( $as_echo "## ------------------------------------------------------------------------ ##
3139 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer ##
3140 ## ------------------------------------------------------------------------ ##"
3141      ) | sed "s/^/$as_me: WARNING:     /" >&2
3142     ;;
3143 esac
3144   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3145 $as_echo_n "checking for $2... " >&6; }
3146 if eval \${$3+:} false; then :
3147   $as_echo_n "(cached) " >&6
3148 else
3149   eval "$3=\$ac_header_compiler"
3150 fi
3151 eval ac_res=\$$3
3152                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3153 $as_echo "$ac_res" >&6; }
3154 fi
3155   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3156
3157 } # ac_fn_c_check_header_mongrel
3158 cat >config.log <<_ACEOF
3159 This file contains any messages produced by compilers while
3160 running configure, to aid debugging if configure makes a mistake.
3161
3162 It was created by GStreamer Good Plug-ins $as_me 0.10.31, which was
3163 generated by GNU Autoconf 2.68.  Invocation command line was
3164
3165   $ $0 $@
3166
3167 _ACEOF
3168 exec 5>>config.log
3169 {
3170 cat <<_ASUNAME
3171 ## --------- ##
3172 ## Platform. ##
3173 ## --------- ##
3174
3175 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3176 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3177 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3178 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3179 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3180
3181 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3182 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
3183
3184 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
3185 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
3186 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3187 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
3188 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
3189 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
3190 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
3191
3192 _ASUNAME
3193
3194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3195 for as_dir in $PATH
3196 do
3197   IFS=$as_save_IFS
3198   test -z "$as_dir" && as_dir=.
3199     $as_echo "PATH: $as_dir"
3200   done
3201 IFS=$as_save_IFS
3202
3203 } >&5
3204
3205 cat >&5 <<_ACEOF
3206
3207
3208 ## ----------- ##
3209 ## Core tests. ##
3210 ## ----------- ##
3211
3212 _ACEOF
3213
3214
3215 # Keep a trace of the command line.
3216 # Strip out --no-create and --no-recursion so they do not pile up.
3217 # Strip out --silent because we don't want to record it for future runs.
3218 # Also quote any args containing shell meta-characters.
3219 # Make two passes to allow for proper duplicate-argument suppression.
3220 ac_configure_args=
3221 ac_configure_args0=
3222 ac_configure_args1=
3223 ac_must_keep_next=false
3224 for ac_pass in 1 2
3225 do
3226   for ac_arg
3227   do
3228     case $ac_arg in
3229     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3230     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3231     | -silent | --silent | --silen | --sile | --sil)
3232       continue ;;
3233     *\'*)
3234       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3235     esac
3236     case $ac_pass in
3237     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3238     2)
3239       as_fn_append ac_configure_args1 " '$ac_arg'"
3240       if test $ac_must_keep_next = true; then
3241         ac_must_keep_next=false # Got value, back to normal.
3242       else
3243         case $ac_arg in
3244           *=* | --config-cache | -C | -disable-* | --disable-* \
3245           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3246           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3247           | -with-* | --with-* | -without-* | --without-* | --x)
3248             case "$ac_configure_args0 " in
3249               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3250             esac
3251             ;;
3252           -* ) ac_must_keep_next=true ;;
3253         esac
3254       fi
3255       as_fn_append ac_configure_args " '$ac_arg'"
3256       ;;
3257     esac
3258   done
3259 done
3260 { ac_configure_args0=; unset ac_configure_args0;}
3261 { ac_configure_args1=; unset ac_configure_args1;}
3262
3263 # When interrupted or exit'd, cleanup temporary files, and complete
3264 # config.log.  We remove comments because anyway the quotes in there
3265 # would cause problems or look ugly.
3266 # WARNING: Use '\'' to represent an apostrophe within the trap.
3267 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3268 trap 'exit_status=$?
3269   # Save into config.log some information that might help in debugging.
3270   {
3271     echo
3272
3273     $as_echo "## ---------------- ##
3274 ## Cache variables. ##
3275 ## ---------------- ##"
3276     echo
3277     # The following way of writing the cache mishandles newlines in values,
3278 (
3279   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3280     eval ac_val=\$$ac_var
3281     case $ac_val in #(
3282     *${as_nl}*)
3283       case $ac_var in #(
3284       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3285 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3286       esac
3287       case $ac_var in #(
3288       _ | IFS | as_nl) ;; #(
3289       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3290       *) { eval $ac_var=; unset $ac_var;} ;;
3291       esac ;;
3292     esac
3293   done
3294   (set) 2>&1 |
3295     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3296     *${as_nl}ac_space=\ *)
3297       sed -n \
3298         "s/'\''/'\''\\\\'\'''\''/g;
3299           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3300       ;; #(
3301     *)
3302       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3303       ;;
3304     esac |
3305     sort
3306 )
3307     echo
3308
3309     $as_echo "## ----------------- ##
3310 ## Output variables. ##
3311 ## ----------------- ##"
3312     echo
3313     for ac_var in $ac_subst_vars
3314     do
3315       eval ac_val=\$$ac_var
3316       case $ac_val in
3317       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3318       esac
3319       $as_echo "$ac_var='\''$ac_val'\''"
3320     done | sort
3321     echo
3322
3323     if test -n "$ac_subst_files"; then
3324       $as_echo "## ------------------- ##
3325 ## File substitutions. ##
3326 ## ------------------- ##"
3327       echo
3328       for ac_var in $ac_subst_files
3329       do
3330         eval ac_val=\$$ac_var
3331         case $ac_val in
3332         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3333         esac
3334         $as_echo "$ac_var='\''$ac_val'\''"
3335       done | sort
3336       echo
3337     fi
3338
3339     if test -s confdefs.h; then
3340       $as_echo "## ----------- ##
3341 ## confdefs.h. ##
3342 ## ----------- ##"
3343       echo
3344       cat confdefs.h
3345       echo
3346     fi
3347     test "$ac_signal" != 0 &&
3348       $as_echo "$as_me: caught signal $ac_signal"
3349     $as_echo "$as_me: exit $exit_status"
3350   } >&5
3351   rm -f core *.core core.conftest.* &&
3352     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3353     exit $exit_status
3354 ' 0
3355 for ac_signal in 1 2 13 15; do
3356   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3357 done
3358 ac_signal=0
3359
3360 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3361 rm -f -r conftest* confdefs.h
3362
3363 $as_echo "/* confdefs.h */" > confdefs.h
3364
3365 # Predefined preprocessor variables.
3366
3367 cat >>confdefs.h <<_ACEOF
3368 #define PACKAGE_NAME "$PACKAGE_NAME"
3369 _ACEOF
3370
3371 cat >>confdefs.h <<_ACEOF
3372 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3373 _ACEOF
3374
3375 cat >>confdefs.h <<_ACEOF
3376 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3377 _ACEOF
3378
3379 cat >>confdefs.h <<_ACEOF
3380 #define PACKAGE_STRING "$PACKAGE_STRING"
3381 _ACEOF
3382
3383 cat >>confdefs.h <<_ACEOF
3384 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3385 _ACEOF
3386
3387 cat >>confdefs.h <<_ACEOF
3388 #define PACKAGE_URL "$PACKAGE_URL"
3389 _ACEOF
3390
3391
3392 # Let the site file select an alternate cache file if it wants to.
3393 # Prefer an explicitly selected file to automatically selected ones.
3394 ac_site_file1=NONE
3395 ac_site_file2=NONE
3396 if test -n "$CONFIG_SITE"; then
3397   # We do not want a PATH search for config.site.
3398   case $CONFIG_SITE in #((
3399     -*)  ac_site_file1=./$CONFIG_SITE;;
3400     */*) ac_site_file1=$CONFIG_SITE;;
3401     *)   ac_site_file1=./$CONFIG_SITE;;
3402   esac
3403 elif test "x$prefix" != xNONE; then
3404   ac_site_file1=$prefix/share/config.site
3405   ac_site_file2=$prefix/etc/config.site
3406 else
3407   ac_site_file1=$ac_default_prefix/share/config.site
3408   ac_site_file2=$ac_default_prefix/etc/config.site
3409 fi
3410 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3411 do
3412   test "x$ac_site_file" = xNONE && continue
3413   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3414     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3415 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3416     sed 's/^/| /' "$ac_site_file" >&5
3417     . "$ac_site_file" \
3418       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3419 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3420 as_fn_error $? "failed to load site script $ac_site_file
3421 See \`config.log' for more details" "$LINENO" 5; }
3422   fi
3423 done
3424
3425 if test -r "$cache_file"; then
3426   # Some versions of bash will fail to source /dev/null (special files
3427   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
3428   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3429     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3430 $as_echo "$as_me: loading cache $cache_file" >&6;}
3431     case $cache_file in
3432       [\\/]* | ?:[\\/]* ) . "$cache_file";;
3433       *)                      . "./$cache_file";;
3434     esac
3435   fi
3436 else
3437   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3438 $as_echo "$as_me: creating cache $cache_file" >&6;}
3439   >$cache_file
3440 fi
3441
3442 gt_needs="$gt_needs "
3443 as_fn_append ac_header_list " stdlib.h"
3444 as_fn_append ac_header_list " unistd.h"
3445 as_fn_append ac_header_list " sys/param.h"
3446 # Check that the precious variables saved in the cache have kept the same
3447 # value.
3448 ac_cache_corrupted=false
3449 for ac_var in $ac_precious_vars; do
3450   eval ac_old_set=\$ac_cv_env_${ac_var}_set
3451   eval ac_new_set=\$ac_env_${ac_var}_set
3452   eval ac_old_val=\$ac_cv_env_${ac_var}_value
3453   eval ac_new_val=\$ac_env_${ac_var}_value
3454   case $ac_old_set,$ac_new_set in
3455     set,)
3456       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3457 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3458       ac_cache_corrupted=: ;;
3459     ,set)
3460       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3461 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3462       ac_cache_corrupted=: ;;
3463     ,);;
3464     *)
3465       if test "x$ac_old_val" != "x$ac_new_val"; then
3466         # differences in whitespace do not lead to failure.
3467         ac_old_val_w=`echo x $ac_old_val`
3468         ac_new_val_w=`echo x $ac_new_val`
3469         if test "$ac_old_val_w" != "$ac_new_val_w"; then
3470           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3471 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3472           ac_cache_corrupted=:
3473         else
3474           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3475 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3476           eval $ac_var=\$ac_old_val
3477         fi
3478         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
3479 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
3480         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
3481 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
3482       fi;;
3483   esac
3484   # Pass precious variables to config.status.
3485   if test "$ac_new_set" = set; then
3486     case $ac_new_val in
3487     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3488     *) ac_arg=$ac_var=$ac_new_val ;;
3489     esac
3490     case " $ac_configure_args " in
3491       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
3492       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3493     esac
3494   fi
3495 done
3496 if $ac_cache_corrupted; then
3497   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3498 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3499   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3500 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3501   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3502 fi
3503 ## -------------------- ##
3504 ## Main body of script. ##
3505 ## -------------------- ##
3506
3507 ac_ext=c
3508 ac_cpp='$CPP $CPPFLAGS'
3509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3512
3513
3514
3515
3516
3517
3518
3519 am__api_version='1.11'
3520
3521 ac_aux_dir=
3522 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3523   if test -f "$ac_dir/install-sh"; then
3524     ac_aux_dir=$ac_dir
3525     ac_install_sh="$ac_aux_dir/install-sh -c"
3526     break
3527   elif test -f "$ac_dir/install.sh"; then
3528     ac_aux_dir=$ac_dir
3529     ac_install_sh="$ac_aux_dir/install.sh -c"
3530     break
3531   elif test -f "$ac_dir/shtool"; then
3532     ac_aux_dir=$ac_dir
3533     ac_install_sh="$ac_aux_dir/shtool install -c"
3534     break
3535   fi
3536 done
3537 if test -z "$ac_aux_dir"; then
3538   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3539 fi
3540
3541 # These three variables are undocumented and unsupported,
3542 # and are intended to be withdrawn in a future Autoconf release.
3543 # They can cause serious problems if a builder's source tree is in a directory
3544 # whose full name contains unusual characters.
3545 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
3546 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
3547 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
3548
3549
3550 # Find a good install program.  We prefer a C program (faster),
3551 # so one script is as good as another.  But avoid the broken or
3552 # incompatible versions:
3553 # SysV /etc/install, /usr/sbin/install
3554 # SunOS /usr/etc/install
3555 # IRIX /sbin/install
3556 # AIX /bin/install
3557 # AmigaOS /C/install, which installs bootblocks on floppy discs
3558 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3559 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3560 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3561 # OS/2's system install, which has a completely different semantic
3562 # ./install, which can be erroneously created by make from ./install.sh.
3563 # Reject install programs that cannot install multiple files.
3564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3565 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3566 if test -z "$INSTALL"; then
3567 if ${ac_cv_path_install+:} false; then :
3568   $as_echo_n "(cached) " >&6
3569 else
3570   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3571 for as_dir in $PATH
3572 do
3573   IFS=$as_save_IFS
3574   test -z "$as_dir" && as_dir=.
3575     # Account for people who put trailing slashes in PATH elements.
3576 case $as_dir/ in #((
3577   ./ | .// | /[cC]/* | \
3578   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3579   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3580   /usr/ucb/* ) ;;
3581   *)
3582     # OSF1 and SCO ODT 3.0 have their own names for install.
3583     # Don't use installbsd from OSF since it installs stuff as root
3584     # by default.
3585     for ac_prog in ginstall scoinst install; do
3586       for ac_exec_ext in '' $ac_executable_extensions; do
3587         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3588           if test $ac_prog = install &&
3589             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3590             # AIX install.  It has an incompatible calling convention.
3591             :
3592           elif test $ac_prog = install &&
3593             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3594             # program-specific install script used by HP pwplus--don't use.
3595             :
3596           else
3597             rm -rf conftest.one conftest.two conftest.dir
3598             echo one > conftest.one
3599             echo two > conftest.two
3600             mkdir conftest.dir
3601             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3602               test -s conftest.one && test -s conftest.two &&
3603               test -s conftest.dir/conftest.one &&
3604               test -s conftest.dir/conftest.two
3605             then
3606               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3607               break 3
3608             fi
3609           fi
3610         fi
3611       done
3612     done
3613     ;;
3614 esac
3615
3616   done
3617 IFS=$as_save_IFS
3618
3619 rm -rf conftest.one conftest.two conftest.dir
3620
3621 fi
3622   if test "${ac_cv_path_install+set}" = set; then
3623     INSTALL=$ac_cv_path_install
3624   else
3625     # As a last resort, use the slow shell script.  Don't cache a
3626     # value for INSTALL within a source directory, because that will
3627     # break other packages using the cache if that directory is
3628     # removed, or if the value is a relative name.
3629     INSTALL=$ac_install_sh
3630   fi
3631 fi
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3633 $as_echo "$INSTALL" >&6; }
3634
3635 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3636 # It thinks the first close brace ends the variable substitution.
3637 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3638
3639 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3640
3641 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3642
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3644 $as_echo_n "checking whether build environment is sane... " >&6; }
3645 # Just in case
3646 sleep 1
3647 echo timestamp > conftest.file
3648 # Reject unsafe characters in $srcdir or the absolute working directory
3649 # name.  Accept space and tab only in the latter.
3650 am_lf='
3651 '
3652 case `pwd` in
3653   *[\\\"\#\$\&\'\`$am_lf]*)
3654     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3655 esac
3656 case $srcdir in
3657   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
3658     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3659 esac
3660
3661 # Do `set' in a subshell so we don't clobber the current shell's
3662 # arguments.  Must try -L first in case configure is actually a
3663 # symlink; some systems play weird games with the mod time of symlinks
3664 # (eg FreeBSD returns the mod time of the symlink's containing
3665 # directory).
3666 if (
3667    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3668    if test "$*" = "X"; then
3669       # -L didn't work.
3670       set X `ls -t "$srcdir/configure" conftest.file`
3671    fi
3672    rm -f conftest.file
3673    if test "$*" != "X $srcdir/configure conftest.file" \
3674       && test "$*" != "X conftest.file $srcdir/configure"; then
3675
3676       # If neither matched, then we have a broken ls.  This can happen
3677       # if, for instance, CONFIG_SHELL is bash and it inherits a
3678       # broken ls alias from the environment.  This has actually
3679       # happened.  Such a system could not be considered "sane".
3680       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
3681 alias in your environment" "$LINENO" 5
3682    fi
3683
3684    test "$2" = conftest.file
3685    )
3686 then
3687    # Ok.
3688    :
3689 else
3690    as_fn_error $? "newly created file is older than distributed files!
3691 Check your system clock" "$LINENO" 5
3692 fi
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3694 $as_echo "yes" >&6; }
3695 test "$program_prefix" != NONE &&
3696   program_transform_name="s&^&$program_prefix&;$program_transform_name"
3697 # Use a double $ so make ignores it.
3698 test "$program_suffix" != NONE &&
3699   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3700 # Double any \ or $.
3701 # By default was `s,x,x', remove it if useless.
3702 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3703 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3704
3705 # expand $ac_aux_dir to an absolute path
3706 am_aux_dir=`cd $ac_aux_dir && pwd`
3707
3708 if test x"${MISSING+set}" != xset; then
3709   case $am_aux_dir in
3710   *\ * | *\     *)
3711     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3712   *)
3713     MISSING="\${SHELL} $am_aux_dir/missing" ;;
3714   esac
3715 fi
3716 # Use eval to expand $SHELL
3717 if eval "$MISSING --run true"; then
3718   am_missing_run="$MISSING --run "
3719 else
3720   am_missing_run=
3721   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3722 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3723 fi
3724
3725 if test x"${install_sh}" != xset; then
3726   case $am_aux_dir in
3727   *\ * | *\     *)
3728     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3729   *)
3730     install_sh="\${SHELL} $am_aux_dir/install-sh"
3731   esac
3732 fi
3733
3734 # Installed binaries are usually stripped using `strip' when the user
3735 # run `make install-strip'.  However `strip' might not be the right
3736 # tool to use in cross-compilation environments, therefore Automake
3737 # will honor the `STRIP' environment variable to overrule this program.
3738 if test "$cross_compiling" != no; then
3739   if test -n "$ac_tool_prefix"; then
3740   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3741 set dummy ${ac_tool_prefix}strip; ac_word=$2
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3743 $as_echo_n "checking for $ac_word... " >&6; }
3744 if ${ac_cv_prog_STRIP+:} false; then :
3745   $as_echo_n "(cached) " >&6
3746 else
3747   if test -n "$STRIP"; then
3748   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3749 else
3750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3751 for as_dir in $PATH
3752 do
3753   IFS=$as_save_IFS
3754   test -z "$as_dir" && as_dir=.
3755     for ac_exec_ext in '' $ac_executable_extensions; do
3756   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3757     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3758     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3759     break 2
3760   fi
3761 done
3762   done
3763 IFS=$as_save_IFS
3764
3765 fi
3766 fi
3767 STRIP=$ac_cv_prog_STRIP
3768 if test -n "$STRIP"; then
3769   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3770 $as_echo "$STRIP" >&6; }
3771 else
3772   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3773 $as_echo "no" >&6; }
3774 fi
3775
3776
3777 fi
3778 if test -z "$ac_cv_prog_STRIP"; then
3779   ac_ct_STRIP=$STRIP
3780   # Extract the first word of "strip", so it can be a program name with args.
3781 set dummy strip; ac_word=$2
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3783 $as_echo_n "checking for $ac_word... " >&6; }
3784 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3785   $as_echo_n "(cached) " >&6
3786 else
3787   if test -n "$ac_ct_STRIP"; then
3788   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3789 else
3790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3791 for as_dir in $PATH
3792 do
3793   IFS=$as_save_IFS
3794   test -z "$as_dir" && as_dir=.
3795     for ac_exec_ext in '' $ac_executable_extensions; do
3796   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3797     ac_cv_prog_ac_ct_STRIP="strip"
3798     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3799     break 2
3800   fi
3801 done
3802   done
3803 IFS=$as_save_IFS
3804
3805 fi
3806 fi
3807 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3808 if test -n "$ac_ct_STRIP"; then
3809   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3810 $as_echo "$ac_ct_STRIP" >&6; }
3811 else
3812   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3813 $as_echo "no" >&6; }
3814 fi
3815
3816   if test "x$ac_ct_STRIP" = x; then
3817     STRIP=":"
3818   else
3819     case $cross_compiling:$ac_tool_warned in
3820 yes:)
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3822 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3823 ac_tool_warned=yes ;;
3824 esac
3825     STRIP=$ac_ct_STRIP
3826   fi
3827 else
3828   STRIP="$ac_cv_prog_STRIP"
3829 fi
3830
3831 fi
3832 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3833
3834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3835 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3836 if test -z "$MKDIR_P"; then
3837   if ${ac_cv_path_mkdir+:} false; then :
3838   $as_echo_n "(cached) " >&6
3839 else
3840   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3841 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3842 do
3843   IFS=$as_save_IFS
3844   test -z "$as_dir" && as_dir=.
3845     for ac_prog in mkdir gmkdir; do
3846          for ac_exec_ext in '' $ac_executable_extensions; do
3847            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3848            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3849              'mkdir (GNU coreutils) '* | \
3850              'mkdir (coreutils) '* | \
3851              'mkdir (fileutils) '4.1*)
3852                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3853                break 3;;
3854            esac
3855          done
3856        done
3857   done
3858 IFS=$as_save_IFS
3859
3860 fi
3861
3862   test -d ./--version && rmdir ./--version
3863   if test "${ac_cv_path_mkdir+set}" = set; then
3864     MKDIR_P="$ac_cv_path_mkdir -p"
3865   else
3866     # As a last resort, use the slow shell script.  Don't cache a
3867     # value for MKDIR_P within a source directory, because that will
3868     # break other packages using the cache if that directory is
3869     # removed, or if the value is a relative name.
3870     MKDIR_P="$ac_install_sh -d"
3871   fi
3872 fi
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3874 $as_echo "$MKDIR_P" >&6; }
3875
3876 mkdir_p="$MKDIR_P"
3877 case $mkdir_p in
3878   [\\/$]* | ?:[\\/]*) ;;
3879   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3880 esac
3881
3882 for ac_prog in gawk mawk nawk awk
3883 do
3884   # Extract the first word of "$ac_prog", so it can be a program name with args.
3885 set dummy $ac_prog; ac_word=$2
3886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3887 $as_echo_n "checking for $ac_word... " >&6; }
3888 if ${ac_cv_prog_AWK+:} false; then :
3889   $as_echo_n "(cached) " >&6
3890 else
3891   if test -n "$AWK"; then
3892   ac_cv_prog_AWK="$AWK" # Let the user override the test.
3893 else
3894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3895 for as_dir in $PATH
3896 do
3897   IFS=$as_save_IFS
3898   test -z "$as_dir" && as_dir=.
3899     for ac_exec_ext in '' $ac_executable_extensions; do
3900   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3901     ac_cv_prog_AWK="$ac_prog"
3902     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3903     break 2
3904   fi
3905 done
3906   done
3907 IFS=$as_save_IFS
3908
3909 fi
3910 fi
3911 AWK=$ac_cv_prog_AWK
3912 if test -n "$AWK"; then
3913   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3914 $as_echo "$AWK" >&6; }
3915 else
3916   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3917 $as_echo "no" >&6; }
3918 fi
3919
3920
3921   test -n "$AWK" && break
3922 done
3923
3924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3925 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3926 set x ${MAKE-make}
3927 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3928 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3929   $as_echo_n "(cached) " >&6
3930 else
3931   cat >conftest.make <<\_ACEOF
3932 SHELL = /bin/sh
3933 all:
3934         @echo '@@@%%%=$(MAKE)=@@@%%%'
3935 _ACEOF
3936 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3937 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3938   *@@@%%%=?*=@@@%%%*)
3939     eval ac_cv_prog_make_${ac_make}_set=yes;;
3940   *)
3941     eval ac_cv_prog_make_${ac_make}_set=no;;
3942 esac
3943 rm -f conftest.make
3944 fi
3945 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3946   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3947 $as_echo "yes" >&6; }
3948   SET_MAKE=
3949 else
3950   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3951 $as_echo "no" >&6; }
3952   SET_MAKE="MAKE=${MAKE-make}"
3953 fi
3954
3955 rm -rf .tst 2>/dev/null
3956 mkdir .tst 2>/dev/null
3957 if test -d .tst; then
3958   am__leading_dot=.
3959 else
3960   am__leading_dot=_
3961 fi
3962 rmdir .tst 2>/dev/null
3963
3964 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3965   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3966   # is not polluted with repeated "-I."
3967   am__isrc=' -I$(srcdir)'
3968   # test to see if srcdir already configured
3969   if test -f $srcdir/config.status; then
3970     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3971   fi
3972 fi
3973
3974 # test whether we have cygpath
3975 if test -z "$CYGPATH_W"; then
3976   if (cygpath --version) >/dev/null 2>/dev/null; then
3977     CYGPATH_W='cygpath -w'
3978   else
3979     CYGPATH_W=echo
3980   fi
3981 fi
3982
3983
3984 # Define the identity of the package.
3985  PACKAGE='gst-plugins-good'
3986  VERSION='0.10.31'
3987
3988
3989 cat >>confdefs.h <<_ACEOF
3990 #define PACKAGE "$PACKAGE"
3991 _ACEOF
3992
3993
3994 cat >>confdefs.h <<_ACEOF
3995 #define VERSION "$VERSION"
3996 _ACEOF
3997
3998 # Some tools Automake needs.
3999
4000 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4001
4002
4003 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
4004
4005
4006 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4007
4008
4009 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
4010
4011
4012 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
4013
4014 # We need awk for the "check" target.  The system "awk" is bad on
4015 # some platforms.
4016 # Always define AMTAR for backward compatibility.  Yes, it's still used
4017 # in the wild :-(  We should find a proper way to deprecate it ...
4018 AMTAR='$${TAR-tar}'
4019
4020 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
4021
4022
4023
4024
4025
4026
4027
4028   PACKAGE_VERSION_MAJOR=$(echo 0.10.31 | cut -d'.' -f1)
4029   PACKAGE_VERSION_MINOR=$(echo 0.10.31 | cut -d'.' -f2)
4030   PACKAGE_VERSION_MICRO=$(echo 0.10.31 | cut -d'.' -f3)
4031
4032
4033
4034
4035
4036
4037
4038   { $as_echo "$as_me:${as_lineno-$LINENO}: checking nano version" >&5
4039 $as_echo_n "checking nano version... " >&6; }
4040
4041   NANO=$(echo 0.10.31 | cut -d'.' -f4)
4042
4043   if test x"$NANO" = x || test "x$NANO" = "x0" ; then
4044     { $as_echo "$as_me:${as_lineno-$LINENO}: result: 0 (release)" >&5
4045 $as_echo "0 (release)" >&6; }
4046     NANO=0
4047     PACKAGE_VERSION_RELEASE=1
4048     GST_GIT="no"
4049   else
4050     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NANO" >&5
4051 $as_echo "$NANO" >&6; }
4052     PACKAGE_VERSION_RELEASE=0.`date +%Y%m%d.%H%M%S`
4053     if test "x$NANO" != "x1" ; then
4054        GST_GIT="no"
4055     else
4056        GST_GIT="yes"
4057     fi
4058   fi
4059   PACKAGE_VERSION_NANO=$NANO
4060
4061
4062
4063
4064
4065
4066 ac_config_headers="$ac_config_headers config.h"
4067
4068
4069
4070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4071 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4072     # Check whether --enable-maintainer-mode was given.
4073 if test "${enable_maintainer_mode+set}" = set; then :
4074   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
4075 else
4076   USE_MAINTAINER_MODE=no
4077 fi
4078
4079   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4080 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4081    if test $USE_MAINTAINER_MODE = yes; then
4082   MAINTAINER_MODE_TRUE=
4083   MAINTAINER_MODE_FALSE='#'
4084 else
4085   MAINTAINER_MODE_TRUE='#'
4086   MAINTAINER_MODE_FALSE=
4087 fi
4088
4089   MAINT=$MAINTAINER_MODE_TRUE
4090
4091
4092
4093 # Make sure we can run config.sub.
4094 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4095   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4096
4097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4098 $as_echo_n "checking build system type... " >&6; }
4099 if ${ac_cv_build+:} false; then :
4100   $as_echo_n "(cached) " >&6
4101 else
4102   ac_build_alias=$build_alias
4103 test "x$ac_build_alias" = x &&
4104   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4105 test "x$ac_build_alias" = x &&
4106   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4107 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4108   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4109
4110 fi
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4112 $as_echo "$ac_cv_build" >&6; }
4113 case $ac_cv_build in
4114 *-*-*) ;;
4115 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4116 esac
4117 build=$ac_cv_build
4118 ac_save_IFS=$IFS; IFS='-'
4119 set x $ac_cv_build
4120 shift
4121 build_cpu=$1
4122 build_vendor=$2
4123 shift; shift
4124 # Remember, the first character of IFS is used to create $*,
4125 # except with old shells:
4126 build_os=$*
4127 IFS=$ac_save_IFS
4128 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4129
4130
4131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4132 $as_echo_n "checking host system type... " >&6; }
4133 if ${ac_cv_host+:} false; then :
4134   $as_echo_n "(cached) " >&6
4135 else
4136   if test "x$host_alias" = x; then
4137   ac_cv_host=$ac_cv_build
4138 else
4139   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4140     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4141 fi
4142
4143 fi
4144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4145 $as_echo "$ac_cv_host" >&6; }
4146 case $ac_cv_host in
4147 *-*-*) ;;
4148 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4149 esac
4150 host=$ac_cv_host
4151 ac_save_IFS=$IFS; IFS='-'
4152 set x $ac_cv_host
4153 shift
4154 host_cpu=$1
4155 host_vendor=$2
4156 shift; shift
4157 # Remember, the first character of IFS is used to create $*,
4158 # except with old shells:
4159 host_os=$*
4160 IFS=$ac_save_IFS
4161 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4162
4163
4164
4165 # Check whether --enable-silent-rules was given.
4166 if test "${enable_silent_rules+set}" = set; then :
4167   enableval=$enable_silent_rules;
4168 fi
4169
4170 case $enable_silent_rules in
4171 yes) AM_DEFAULT_VERBOSITY=0;;
4172 no)  AM_DEFAULT_VERBOSITY=1;;
4173 *)   AM_DEFAULT_VERBOSITY=0;;
4174 esac
4175 am_make=${MAKE-make}
4176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4177 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4178 if ${am_cv_make_support_nested_variables+:} false; then :
4179   $as_echo_n "(cached) " >&6
4180 else
4181   if $as_echo 'TRUE=$(BAR$(V))
4182 BAR0=false
4183 BAR1=true
4184 V=1
4185 am__doit:
4186         @$(TRUE)
4187 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
4188   am_cv_make_support_nested_variables=yes
4189 else
4190   am_cv_make_support_nested_variables=no
4191 fi
4192 fi
4193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4194 $as_echo "$am_cv_make_support_nested_variables" >&6; }
4195 if test $am_cv_make_support_nested_variables = yes; then
4196     AM_V='$(V)'
4197   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
4198 else
4199   AM_V=$AM_DEFAULT_VERBOSITY
4200   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
4201 fi
4202 AM_BACKSLASH='\'
4203
4204
4205 GST_MAJORMINOR=$PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR
4206 GST_MAJORMINOR=0.10
4207
4208
4209
4210         case $host_os in
4211   cygwin* | mingw*)
4212     lt_cv_deplibs_check_method=pass_all
4213     ;;
4214   esac
4215
4216
4217
4218 enable_win32_dll=yes
4219
4220 case $host in
4221 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
4222   if test -n "$ac_tool_prefix"; then
4223   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4224 set dummy ${ac_tool_prefix}as; ac_word=$2
4225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4226 $as_echo_n "checking for $ac_word... " >&6; }
4227 if ${ac_cv_prog_AS+:} false; then :
4228   $as_echo_n "(cached) " >&6
4229 else
4230   if test -n "$AS"; then
4231   ac_cv_prog_AS="$AS" # Let the user override the test.
4232 else
4233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4234 for as_dir in $PATH
4235 do
4236   IFS=$as_save_IFS
4237   test -z "$as_dir" && as_dir=.
4238     for ac_exec_ext in '' $ac_executable_extensions; do
4239   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4240     ac_cv_prog_AS="${ac_tool_prefix}as"
4241     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4242     break 2
4243   fi
4244 done
4245   done
4246 IFS=$as_save_IFS
4247
4248 fi
4249 fi
4250 AS=$ac_cv_prog_AS
4251 if test -n "$AS"; then
4252   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4253 $as_echo "$AS" >&6; }
4254 else
4255   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4256 $as_echo "no" >&6; }
4257 fi
4258
4259
4260 fi
4261 if test -z "$ac_cv_prog_AS"; then
4262   ac_ct_AS=$AS
4263   # Extract the first word of "as", so it can be a program name with args.
4264 set dummy as; ac_word=$2
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4266 $as_echo_n "checking for $ac_word... " >&6; }
4267 if ${ac_cv_prog_ac_ct_AS+:} false; then :
4268   $as_echo_n "(cached) " >&6
4269 else
4270   if test -n "$ac_ct_AS"; then
4271   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4272 else
4273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4274 for as_dir in $PATH
4275 do
4276   IFS=$as_save_IFS
4277   test -z "$as_dir" && as_dir=.
4278     for ac_exec_ext in '' $ac_executable_extensions; do
4279   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4280     ac_cv_prog_ac_ct_AS="as"
4281     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4282     break 2
4283   fi
4284 done
4285   done
4286 IFS=$as_save_IFS
4287
4288 fi
4289 fi
4290 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4291 if test -n "$ac_ct_AS"; then
4292   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4293 $as_echo "$ac_ct_AS" >&6; }
4294 else
4295   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4296 $as_echo "no" >&6; }
4297 fi
4298
4299   if test "x$ac_ct_AS" = x; then
4300     AS="false"
4301   else
4302     case $cross_compiling:$ac_tool_warned in
4303 yes:)
4304 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4305 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4306 ac_tool_warned=yes ;;
4307 esac
4308     AS=$ac_ct_AS
4309   fi
4310 else
4311   AS="$ac_cv_prog_AS"
4312 fi
4313
4314   if test -n "$ac_tool_prefix"; then
4315   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4316 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
4317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4318 $as_echo_n "checking for $ac_word... " >&6; }
4319 if ${ac_cv_prog_DLLTOOL+:} false; then :
4320   $as_echo_n "(cached) " >&6
4321 else
4322   if test -n "$DLLTOOL"; then
4323   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
4324 else
4325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4326 for as_dir in $PATH
4327 do
4328   IFS=$as_save_IFS
4329   test -z "$as_dir" && as_dir=.
4330     for ac_exec_ext in '' $ac_executable_extensions; do
4331   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4332     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
4333     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4334     break 2
4335   fi
4336 done
4337   done
4338 IFS=$as_save_IFS
4339
4340 fi
4341 fi
4342 DLLTOOL=$ac_cv_prog_DLLTOOL
4343 if test -n "$DLLTOOL"; then
4344   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
4345 $as_echo "$DLLTOOL" >&6; }
4346 else
4347   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4348 $as_echo "no" >&6; }
4349 fi
4350
4351
4352 fi
4353 if test -z "$ac_cv_prog_DLLTOOL"; then
4354   ac_ct_DLLTOOL=$DLLTOOL
4355   # Extract the first word of "dlltool", so it can be a program name with args.
4356 set dummy dlltool; ac_word=$2
4357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4358 $as_echo_n "checking for $ac_word... " >&6; }
4359 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
4360   $as_echo_n "(cached) " >&6
4361 else
4362   if test -n "$ac_ct_DLLTOOL"; then
4363   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
4364 else
4365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4366 for as_dir in $PATH
4367 do
4368   IFS=$as_save_IFS
4369   test -z "$as_dir" && as_dir=.
4370     for ac_exec_ext in '' $ac_executable_extensions; do
4371   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4372     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
4373     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4374     break 2
4375   fi
4376 done
4377   done
4378 IFS=$as_save_IFS
4379
4380 fi
4381 fi
4382 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
4383 if test -n "$ac_ct_DLLTOOL"; then
4384   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
4385 $as_echo "$ac_ct_DLLTOOL" >&6; }
4386 else
4387   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4388 $as_echo "no" >&6; }
4389 fi
4390
4391   if test "x$ac_ct_DLLTOOL" = x; then
4392     DLLTOOL="false"
4393   else
4394     case $cross_compiling:$ac_tool_warned in
4395 yes:)
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4397 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4398 ac_tool_warned=yes ;;
4399 esac
4400     DLLTOOL=$ac_ct_DLLTOOL
4401   fi
4402 else
4403   DLLTOOL="$ac_cv_prog_DLLTOOL"
4404 fi
4405
4406   if test -n "$ac_tool_prefix"; then
4407   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4408 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4410 $as_echo_n "checking for $ac_word... " >&6; }
4411 if ${ac_cv_prog_OBJDUMP+:} false; then :
4412   $as_echo_n "(cached) " >&6
4413 else
4414   if test -n "$OBJDUMP"; then
4415   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4416 else
4417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4418 for as_dir in $PATH
4419 do
4420   IFS=$as_save_IFS
4421   test -z "$as_dir" && as_dir=.
4422     for ac_exec_ext in '' $ac_executable_extensions; do
4423   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4424     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4425     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4426     break 2
4427   fi
4428 done
4429   done
4430 IFS=$as_save_IFS
4431
4432 fi
4433 fi
4434 OBJDUMP=$ac_cv_prog_OBJDUMP
4435 if test -n "$OBJDUMP"; then
4436   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4437 $as_echo "$OBJDUMP" >&6; }
4438 else
4439   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4440 $as_echo "no" >&6; }
4441 fi
4442
4443
4444 fi
4445 if test -z "$ac_cv_prog_OBJDUMP"; then
4446   ac_ct_OBJDUMP=$OBJDUMP
4447   # Extract the first word of "objdump", so it can be a program name with args.
4448 set dummy objdump; ac_word=$2
4449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4450 $as_echo_n "checking for $ac_word... " >&6; }
4451 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4452   $as_echo_n "(cached) " >&6
4453 else
4454   if test -n "$ac_ct_OBJDUMP"; then
4455   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4456 else
4457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4458 for as_dir in $PATH
4459 do
4460   IFS=$as_save_IFS
4461   test -z "$as_dir" && as_dir=.
4462     for ac_exec_ext in '' $ac_executable_extensions; do
4463   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4464     ac_cv_prog_ac_ct_OBJDUMP="objdump"
4465     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4466     break 2
4467   fi
4468 done
4469   done
4470 IFS=$as_save_IFS
4471
4472 fi
4473 fi
4474 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4475 if test -n "$ac_ct_OBJDUMP"; then
4476   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4477 $as_echo "$ac_ct_OBJDUMP" >&6; }
4478 else
4479   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4480 $as_echo "no" >&6; }
4481 fi
4482
4483   if test "x$ac_ct_OBJDUMP" = x; then
4484     OBJDUMP="false"
4485   else
4486     case $cross_compiling:$ac_tool_warned in
4487 yes:)
4488 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4489 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4490 ac_tool_warned=yes ;;
4491 esac
4492     OBJDUMP=$ac_ct_OBJDUMP
4493   fi
4494 else
4495   OBJDUMP="$ac_cv_prog_OBJDUMP"
4496 fi
4497
4498   ;;
4499 esac
4500
4501 test -z "$AS" && AS=as
4502
4503
4504
4505
4506
4507 test -z "$DLLTOOL" && DLLTOOL=dlltool
4508
4509
4510
4511
4512
4513 test -z "$OBJDUMP" && OBJDUMP=objdump
4514
4515
4516
4517
4518
4519
4520
4521 case `pwd` in
4522   *\ * | *\     *)
4523     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4524 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4525 esac
4526
4527
4528
4529 macro_version='2.4.2'
4530 macro_revision='1.3337'
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544 ltmain="$ac_aux_dir/ltmain.sh"
4545
4546 # Backslashify metacharacters that are still active within
4547 # double-quoted strings.
4548 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4549
4550 # Same as above, but do not quote variable references.
4551 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4552
4553 # Sed substitution to delay expansion of an escaped shell variable in a
4554 # double_quote_subst'ed string.
4555 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4556
4557 # Sed substitution to delay expansion of an escaped single quote.
4558 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4559
4560 # Sed substitution to avoid accidental globbing in evaled expressions
4561 no_glob_subst='s/\*/\\\*/g'
4562
4563 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4564 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4565 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4566
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4568 $as_echo_n "checking how to print strings... " >&6; }
4569 # Test print first, because it will be a builtin if present.
4570 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4571    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4572   ECHO='print -r --'
4573 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4574   ECHO='printf %s\n'
4575 else
4576   # Use this function as a fallback that always works.
4577   func_fallback_echo ()
4578   {
4579     eval 'cat <<_LTECHO_EOF
4580 $1
4581 _LTECHO_EOF'
4582   }
4583   ECHO='func_fallback_echo'
4584 fi
4585
4586 # func_echo_all arg...
4587 # Invoke $ECHO with all args, space-separated.
4588 func_echo_all ()
4589 {
4590     $ECHO ""
4591 }
4592
4593 case "$ECHO" in
4594   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4595 $as_echo "printf" >&6; } ;;
4596   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4597 $as_echo "print -r" >&6; } ;;
4598   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4599 $as_echo "cat" >&6; } ;;
4600 esac
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615 DEPDIR="${am__leading_dot}deps"
4616
4617 ac_config_commands="$ac_config_commands depfiles"
4618
4619
4620 am_make=${MAKE-make}
4621 cat > confinc << 'END'
4622 am__doit:
4623         @echo this is the am__doit target
4624 .PHONY: am__doit
4625 END
4626 # If we don't find an include directive, just comment out the code.
4627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4628 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4629 am__include="#"
4630 am__quote=
4631 _am_result=none
4632 # First try GNU make style include.
4633 echo "include confinc" > confmf
4634 # Ignore all kinds of additional output from `make'.
4635 case `$am_make -s -f confmf 2> /dev/null` in #(
4636 *the\ am__doit\ target*)
4637   am__include=include
4638   am__quote=
4639   _am_result=GNU
4640   ;;
4641 esac
4642 # Now try BSD make style include.
4643 if test "$am__include" = "#"; then
4644    echo '.include "confinc"' > confmf
4645    case `$am_make -s -f confmf 2> /dev/null` in #(
4646    *the\ am__doit\ target*)
4647      am__include=.include
4648      am__quote="\""
4649      _am_result=BSD
4650      ;;
4651    esac
4652 fi
4653
4654
4655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4656 $as_echo "$_am_result" >&6; }
4657 rm -f confinc confmf
4658
4659 # Check whether --enable-dependency-tracking was given.
4660 if test "${enable_dependency_tracking+set}" = set; then :
4661   enableval=$enable_dependency_tracking;
4662 fi
4663
4664 if test "x$enable_dependency_tracking" != xno; then
4665   am_depcomp="$ac_aux_dir/depcomp"
4666   AMDEPBACKSLASH='\'
4667   am__nodep='_no'
4668 fi
4669  if test "x$enable_dependency_tracking" != xno; then
4670   AMDEP_TRUE=
4671   AMDEP_FALSE='#'
4672 else
4673   AMDEP_TRUE='#'
4674   AMDEP_FALSE=
4675 fi
4676
4677
4678 ac_ext=c
4679 ac_cpp='$CPP $CPPFLAGS'
4680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4683 if test -n "$ac_tool_prefix"; then
4684   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4685 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4687 $as_echo_n "checking for $ac_word... " >&6; }
4688 if ${ac_cv_prog_CC+:} false; then :
4689   $as_echo_n "(cached) " >&6
4690 else
4691   if test -n "$CC"; then
4692   ac_cv_prog_CC="$CC" # Let the user override the test.
4693 else
4694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4695 for as_dir in $PATH
4696 do
4697   IFS=$as_save_IFS
4698   test -z "$as_dir" && as_dir=.
4699     for ac_exec_ext in '' $ac_executable_extensions; do
4700   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4701     ac_cv_prog_CC="${ac_tool_prefix}gcc"
4702     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4703     break 2
4704   fi
4705 done
4706   done
4707 IFS=$as_save_IFS
4708
4709 fi
4710 fi
4711 CC=$ac_cv_prog_CC
4712 if test -n "$CC"; then
4713   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4714 $as_echo "$CC" >&6; }
4715 else
4716   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4717 $as_echo "no" >&6; }
4718 fi
4719
4720
4721 fi
4722 if test -z "$ac_cv_prog_CC"; then
4723   ac_ct_CC=$CC
4724   # Extract the first word of "gcc", so it can be a program name with args.
4725 set dummy gcc; ac_word=$2
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4727 $as_echo_n "checking for $ac_word... " >&6; }
4728 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4729   $as_echo_n "(cached) " >&6
4730 else
4731   if test -n "$ac_ct_CC"; then
4732   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4733 else
4734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4735 for as_dir in $PATH
4736 do
4737   IFS=$as_save_IFS
4738   test -z "$as_dir" && as_dir=.
4739     for ac_exec_ext in '' $ac_executable_extensions; do
4740   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4741     ac_cv_prog_ac_ct_CC="gcc"
4742     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4743     break 2
4744   fi
4745 done
4746   done
4747 IFS=$as_save_IFS
4748
4749 fi
4750 fi
4751 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4752 if test -n "$ac_ct_CC"; then
4753   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4754 $as_echo "$ac_ct_CC" >&6; }
4755 else
4756   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4757 $as_echo "no" >&6; }
4758 fi
4759
4760   if test "x$ac_ct_CC" = x; then
4761     CC=""
4762   else
4763     case $cross_compiling:$ac_tool_warned in
4764 yes:)
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4766 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4767 ac_tool_warned=yes ;;
4768 esac
4769     CC=$ac_ct_CC
4770   fi
4771 else
4772   CC="$ac_cv_prog_CC"
4773 fi
4774
4775 if test -z "$CC"; then
4776           if test -n "$ac_tool_prefix"; then
4777     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4778 set dummy ${ac_tool_prefix}cc; ac_word=$2
4779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4780 $as_echo_n "checking for $ac_word... " >&6; }
4781 if ${ac_cv_prog_CC+:} false; then :
4782   $as_echo_n "(cached) " >&6
4783 else
4784   if test -n "$CC"; then
4785   ac_cv_prog_CC="$CC" # Let the user override the test.
4786 else
4787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4788 for as_dir in $PATH
4789 do
4790   IFS=$as_save_IFS
4791   test -z "$as_dir" && as_dir=.
4792     for ac_exec_ext in '' $ac_executable_extensions; do
4793   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4794     ac_cv_prog_CC="${ac_tool_prefix}cc"
4795     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4796     break 2
4797   fi
4798 done
4799   done
4800 IFS=$as_save_IFS
4801
4802 fi
4803 fi
4804 CC=$ac_cv_prog_CC
4805 if test -n "$CC"; then
4806   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4807 $as_echo "$CC" >&6; }
4808 else
4809   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4810 $as_echo "no" >&6; }
4811 fi
4812
4813
4814   fi
4815 fi
4816 if test -z "$CC"; then
4817   # Extract the first word of "cc", so it can be a program name with args.
4818 set dummy cc; ac_word=$2
4819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4820 $as_echo_n "checking for $ac_word... " >&6; }
4821 if ${ac_cv_prog_CC+:} false; then :
4822   $as_echo_n "(cached) " >&6
4823 else
4824   if test -n "$CC"; then
4825   ac_cv_prog_CC="$CC" # Let the user override the test.
4826 else
4827   ac_prog_rejected=no
4828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4829 for as_dir in $PATH
4830 do
4831   IFS=$as_save_IFS
4832   test -z "$as_dir" && as_dir=.
4833     for ac_exec_ext in '' $ac_executable_extensions; do
4834   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4835     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4836        ac_prog_rejected=yes
4837        continue
4838      fi
4839     ac_cv_prog_CC="cc"
4840     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4841     break 2
4842   fi
4843 done
4844   done
4845 IFS=$as_save_IFS
4846
4847 if test $ac_prog_rejected = yes; then
4848   # We found a bogon in the path, so make sure we never use it.
4849   set dummy $ac_cv_prog_CC
4850   shift
4851   if test $# != 0; then
4852     # We chose a different compiler from the bogus one.
4853     # However, it has the same basename, so the bogon will be chosen
4854     # first if we set CC to just the basename; use the full file name.
4855     shift
4856     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4857   fi
4858 fi
4859 fi
4860 fi
4861 CC=$ac_cv_prog_CC
4862 if test -n "$CC"; then
4863   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4864 $as_echo "$CC" >&6; }
4865 else
4866   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4867 $as_echo "no" >&6; }
4868 fi
4869
4870
4871 fi
4872 if test -z "$CC"; then
4873   if test -n "$ac_tool_prefix"; then
4874   for ac_prog in cl.exe
4875   do
4876     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4877 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4879 $as_echo_n "checking for $ac_word... " >&6; }
4880 if ${ac_cv_prog_CC+:} false; then :
4881   $as_echo_n "(cached) " >&6
4882 else
4883   if test -n "$CC"; then
4884   ac_cv_prog_CC="$CC" # Let the user override the test.
4885 else
4886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4887 for as_dir in $PATH
4888 do
4889   IFS=$as_save_IFS
4890   test -z "$as_dir" && as_dir=.
4891     for ac_exec_ext in '' $ac_executable_extensions; do
4892   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4893     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4894     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4895     break 2
4896   fi
4897 done
4898   done
4899 IFS=$as_save_IFS
4900
4901 fi
4902 fi
4903 CC=$ac_cv_prog_CC
4904 if test -n "$CC"; then
4905   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4906 $as_echo "$CC" >&6; }
4907 else
4908   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4909 $as_echo "no" >&6; }
4910 fi
4911
4912
4913     test -n "$CC" && break
4914   done
4915 fi
4916 if test -z "$CC"; then
4917   ac_ct_CC=$CC
4918   for ac_prog in cl.exe
4919 do
4920   # Extract the first word of "$ac_prog", so it can be a program name with args.
4921 set dummy $ac_prog; ac_word=$2
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4923 $as_echo_n "checking for $ac_word... " >&6; }
4924 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4925   $as_echo_n "(cached) " >&6
4926 else
4927   if test -n "$ac_ct_CC"; then
4928   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4929 else
4930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4931 for as_dir in $PATH
4932 do
4933   IFS=$as_save_IFS
4934   test -z "$as_dir" && as_dir=.
4935     for ac_exec_ext in '' $ac_executable_extensions; do
4936   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4937     ac_cv_prog_ac_ct_CC="$ac_prog"
4938     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4939     break 2
4940   fi
4941 done
4942   done
4943 IFS=$as_save_IFS
4944
4945 fi
4946 fi
4947 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4948 if test -n "$ac_ct_CC"; then
4949   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4950 $as_echo "$ac_ct_CC" >&6; }
4951 else
4952   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4953 $as_echo "no" >&6; }
4954 fi
4955
4956
4957   test -n "$ac_ct_CC" && break
4958 done
4959
4960   if test "x$ac_ct_CC" = x; then
4961     CC=""
4962   else
4963     case $cross_compiling:$ac_tool_warned in
4964 yes:)
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4966 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4967 ac_tool_warned=yes ;;
4968 esac
4969     CC=$ac_ct_CC
4970   fi
4971 fi
4972
4973 fi
4974
4975
4976 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4977 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4978 as_fn_error $? "no acceptable C compiler found in \$PATH
4979 See \`config.log' for more details" "$LINENO" 5; }
4980
4981 # Provide some information about the compiler.
4982 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4983 set X $ac_compile
4984 ac_compiler=$2
4985 for ac_option in --version -v -V -qversion; do
4986   { { ac_try="$ac_compiler $ac_option >&5"
4987 case "(($ac_try" in
4988   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4989   *) ac_try_echo=$ac_try;;
4990 esac
4991 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4992 $as_echo "$ac_try_echo"; } >&5
4993   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4994   ac_status=$?
4995   if test -s conftest.err; then
4996     sed '10a\
4997 ... rest of stderr output deleted ...
4998          10q' conftest.err >conftest.er1
4999     cat conftest.er1 >&5
5000   fi
5001   rm -f conftest.er1 conftest.err
5002   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5003   test $ac_status = 0; }
5004 done
5005
5006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5007 /* end confdefs.h.  */
5008
5009 int
5010 main ()
5011 {
5012
5013   ;
5014   return 0;
5015 }
5016 _ACEOF
5017 ac_clean_files_save=$ac_clean_files
5018 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5019 # Try to create an executable without -o first, disregard a.out.
5020 # It will help us diagnose broken compilers, and finding out an intuition
5021 # of exeext.
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5023 $as_echo_n "checking whether the C compiler works... " >&6; }
5024 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5025
5026 # The possible output files:
5027 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5028
5029 ac_rmfiles=
5030 for ac_file in $ac_files
5031 do
5032   case $ac_file in
5033     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5034     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5035   esac
5036 done
5037 rm -f $ac_rmfiles
5038
5039 if { { ac_try="$ac_link_default"
5040 case "(($ac_try" in
5041   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5042   *) ac_try_echo=$ac_try;;
5043 esac
5044 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5045 $as_echo "$ac_try_echo"; } >&5
5046   (eval "$ac_link_default") 2>&5
5047   ac_status=$?
5048   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5049   test $ac_status = 0; }; then :
5050   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5051 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5052 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
5053 # so that the user can short-circuit this test for compilers unknown to
5054 # Autoconf.
5055 for ac_file in $ac_files ''
5056 do
5057   test -f "$ac_file" || continue
5058   case $ac_file in
5059     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5060         ;;
5061     [ab].out )
5062         # We found the default executable, but exeext='' is most
5063         # certainly right.
5064         break;;
5065     *.* )
5066         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
5067         then :; else
5068            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5069         fi
5070         # We set ac_cv_exeext here because the later test for it is not
5071         # safe: cross compilers may not add the suffix if given an `-o'
5072         # argument, so we may need to know it at that point already.
5073         # Even if this section looks crufty: it has the advantage of
5074         # actually working.
5075         break;;
5076     * )
5077         break;;
5078   esac
5079 done
5080 test "$ac_cv_exeext" = no && ac_cv_exeext=
5081
5082 else
5083   ac_file=''
5084 fi
5085 if test -z "$ac_file"; then :
5086   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5087 $as_echo "no" >&6; }
5088 $as_echo "$as_me: failed program was:" >&5
5089 sed 's/^/| /' conftest.$ac_ext >&5
5090
5091 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5092 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5093 as_fn_error 77 "C compiler cannot create executables
5094 See \`config.log' for more details" "$LINENO" 5; }
5095 else
5096   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5097 $as_echo "yes" >&6; }
5098 fi
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5100 $as_echo_n "checking for C compiler default output file name... " >&6; }
5101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5102 $as_echo "$ac_file" >&6; }
5103 ac_exeext=$ac_cv_exeext
5104
5105 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5106 ac_clean_files=$ac_clean_files_save
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5108 $as_echo_n "checking for suffix of executables... " >&6; }
5109 if { { ac_try="$ac_link"
5110 case "(($ac_try" in
5111   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5112   *) ac_try_echo=$ac_try;;
5113 esac
5114 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5115 $as_echo "$ac_try_echo"; } >&5
5116   (eval "$ac_link") 2>&5
5117   ac_status=$?
5118   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5119   test $ac_status = 0; }; then :
5120   # If both `conftest.exe' and `conftest' are `present' (well, observable)
5121 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
5122 # work properly (i.e., refer to `conftest.exe'), while it won't with
5123 # `rm'.
5124 for ac_file in conftest.exe conftest conftest.*; do
5125   test -f "$ac_file" || continue
5126   case $ac_file in
5127     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5128     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5129           break;;
5130     * ) break;;
5131   esac
5132 done
5133 else
5134   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5135 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5136 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5137 See \`config.log' for more details" "$LINENO" 5; }
5138 fi
5139 rm -f conftest conftest$ac_cv_exeext
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5141 $as_echo "$ac_cv_exeext" >&6; }
5142
5143 rm -f conftest.$ac_ext
5144 EXEEXT=$ac_cv_exeext
5145 ac_exeext=$EXEEXT
5146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5147 /* end confdefs.h.  */
5148 #include <stdio.h>
5149 int
5150 main ()
5151 {
5152 FILE *f = fopen ("conftest.out", "w");
5153  return ferror (f) || fclose (f) != 0;
5154
5155   ;
5156   return 0;
5157 }
5158 _ACEOF
5159 ac_clean_files="$ac_clean_files conftest.out"
5160 # Check that the compiler produces executables we can run.  If not, either
5161 # the compiler is broken, or we cross compile.
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5163 $as_echo_n "checking whether we are cross compiling... " >&6; }
5164 if test "$cross_compiling" != yes; then
5165   { { ac_try="$ac_link"
5166 case "(($ac_try" in
5167   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5168   *) ac_try_echo=$ac_try;;
5169 esac
5170 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5171 $as_echo "$ac_try_echo"; } >&5
5172   (eval "$ac_link") 2>&5
5173   ac_status=$?
5174   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5175   test $ac_status = 0; }
5176   if { ac_try='./conftest$ac_cv_exeext'
5177   { { case "(($ac_try" in
5178   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5179   *) ac_try_echo=$ac_try;;
5180 esac
5181 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5182 $as_echo "$ac_try_echo"; } >&5
5183   (eval "$ac_try") 2>&5
5184   ac_status=$?
5185   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5186   test $ac_status = 0; }; }; then
5187     cross_compiling=no
5188   else
5189     if test "$cross_compiling" = maybe; then
5190         cross_compiling=yes
5191     else
5192         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5193 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5194 as_fn_error $? "cannot run C compiled programs.
5195 If you meant to cross compile, use \`--host'.
5196 See \`config.log' for more details" "$LINENO" 5; }
5197     fi
5198   fi
5199 fi
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5201 $as_echo "$cross_compiling" >&6; }
5202
5203 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5204 ac_clean_files=$ac_clean_files_save
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5206 $as_echo_n "checking for suffix of object files... " >&6; }
5207 if ${ac_cv_objext+:} false; then :
5208   $as_echo_n "(cached) " >&6
5209 else
5210   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5211 /* end confdefs.h.  */
5212
5213 int
5214 main ()
5215 {
5216
5217   ;
5218   return 0;
5219 }
5220 _ACEOF
5221 rm -f conftest.o conftest.obj
5222 if { { ac_try="$ac_compile"
5223 case "(($ac_try" in
5224   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5225   *) ac_try_echo=$ac_try;;
5226 esac
5227 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5228 $as_echo "$ac_try_echo"; } >&5
5229   (eval "$ac_compile") 2>&5
5230   ac_status=$?
5231   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5232   test $ac_status = 0; }; then :
5233   for ac_file in conftest.o conftest.obj conftest.*; do
5234   test -f "$ac_file" || continue;
5235   case $ac_file in
5236     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5237     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5238        break;;
5239   esac
5240 done
5241 else
5242   $as_echo "$as_me: failed program was:" >&5
5243 sed 's/^/| /' conftest.$ac_ext >&5
5244
5245 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5246 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5247 as_fn_error $? "cannot compute suffix of object files: cannot compile
5248 See \`config.log' for more details" "$LINENO" 5; }
5249 fi
5250 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5251 fi
5252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5253 $as_echo "$ac_cv_objext" >&6; }
5254 OBJEXT=$ac_cv_objext
5255 ac_objext=$OBJEXT
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5257 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5258 if ${ac_cv_c_compiler_gnu+:} false; then :
5259   $as_echo_n "(cached) " >&6
5260 else
5261   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5262 /* end confdefs.h.  */
5263
5264 int
5265 main ()
5266 {
5267 #ifndef __GNUC__
5268        choke me
5269 #endif
5270
5271   ;
5272   return 0;
5273 }
5274 _ACEOF
5275 if ac_fn_c_try_compile "$LINENO"; then :
5276   ac_compiler_gnu=yes
5277 else
5278   ac_compiler_gnu=no
5279 fi
5280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5281 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5282
5283 fi
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5285 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5286 if test $ac_compiler_gnu = yes; then
5287   GCC=yes
5288 else
5289   GCC=
5290 fi
5291 ac_test_CFLAGS=${CFLAGS+set}
5292 ac_save_CFLAGS=$CFLAGS
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5294 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5295 if ${ac_cv_prog_cc_g+:} false; then :
5296   $as_echo_n "(cached) " >&6
5297 else
5298   ac_save_c_werror_flag=$ac_c_werror_flag
5299    ac_c_werror_flag=yes
5300    ac_cv_prog_cc_g=no
5301    CFLAGS="-g"
5302    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5303 /* end confdefs.h.  */
5304
5305 int
5306 main ()
5307 {
5308
5309   ;
5310   return 0;
5311 }
5312 _ACEOF
5313 if ac_fn_c_try_compile "$LINENO"; then :
5314   ac_cv_prog_cc_g=yes
5315 else
5316   CFLAGS=""
5317       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5318 /* end confdefs.h.  */
5319
5320 int
5321 main ()
5322 {
5323
5324   ;
5325   return 0;
5326 }
5327 _ACEOF
5328 if ac_fn_c_try_compile "$LINENO"; then :
5329
5330 else
5331   ac_c_werror_flag=$ac_save_c_werror_flag
5332          CFLAGS="-g"
5333          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5334 /* end confdefs.h.  */
5335
5336 int
5337 main ()
5338 {
5339
5340   ;
5341   return 0;
5342 }
5343 _ACEOF
5344 if ac_fn_c_try_compile "$LINENO"; then :
5345   ac_cv_prog_cc_g=yes
5346 fi
5347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5348 fi
5349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5350 fi
5351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5352    ac_c_werror_flag=$ac_save_c_werror_flag
5353 fi
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5355 $as_echo "$ac_cv_prog_cc_g" >&6; }
5356 if test "$ac_test_CFLAGS" = set; then
5357   CFLAGS=$ac_save_CFLAGS
5358 elif test $ac_cv_prog_cc_g = yes; then
5359   if test "$GCC" = yes; then
5360     CFLAGS="-g -O2"
5361   else
5362     CFLAGS="-g"
5363   fi
5364 else
5365   if test "$GCC" = yes; then
5366     CFLAGS="-O2"
5367   else
5368     CFLAGS=
5369   fi
5370 fi
5371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5372 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5373 if ${ac_cv_prog_cc_c89+:} false; then :
5374   $as_echo_n "(cached) " >&6
5375 else
5376   ac_cv_prog_cc_c89=no
5377 ac_save_CC=$CC
5378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5379 /* end confdefs.h.  */
5380 #include <stdarg.h>
5381 #include <stdio.h>
5382 #include <sys/types.h>
5383 #include <sys/stat.h>
5384 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
5385 struct buf { int x; };
5386 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5387 static char *e (p, i)
5388      char **p;
5389      int i;
5390 {
5391   return p[i];
5392 }
5393 static char *f (char * (*g) (char **, int), char **p, ...)
5394 {
5395   char *s;
5396   va_list v;
5397   va_start (v,p);
5398   s = g (p, va_arg (v,int));
5399   va_end (v);
5400   return s;
5401 }
5402
5403 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
5404    function prototypes and stuff, but not '\xHH' hex character constants.
5405    These don't provoke an error unfortunately, instead are silently treated
5406    as 'x'.  The following induces an error, until -std is added to get
5407    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
5408    array size at least.  It's necessary to write '\x00'==0 to get something
5409    that's true only with -std.  */
5410 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5411
5412 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5413    inside strings and character constants.  */
5414 #define FOO(x) 'x'
5415 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5416
5417 int test (int i, double x);
5418 struct s1 {int (*f) (int a);};
5419 struct s2 {int (*f) (double a);};
5420 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5421 int argc;
5422 char **argv;
5423 int
5424 main ()
5425 {
5426 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
5427   ;
5428   return 0;
5429 }
5430 _ACEOF
5431 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5432         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5433 do
5434   CC="$ac_save_CC $ac_arg"
5435   if ac_fn_c_try_compile "$LINENO"; then :
5436   ac_cv_prog_cc_c89=$ac_arg
5437 fi
5438 rm -f core conftest.err conftest.$ac_objext
5439   test "x$ac_cv_prog_cc_c89" != "xno" && break
5440 done
5441 rm -f conftest.$ac_ext
5442 CC=$ac_save_CC
5443
5444 fi
5445 # AC_CACHE_VAL
5446 case "x$ac_cv_prog_cc_c89" in
5447   x)
5448     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5449 $as_echo "none needed" >&6; } ;;
5450   xno)
5451     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5452 $as_echo "unsupported" >&6; } ;;
5453   *)
5454     CC="$CC $ac_cv_prog_cc_c89"
5455     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5456 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5457 esac
5458 if test "x$ac_cv_prog_cc_c89" != xno; then :
5459
5460 fi
5461
5462 ac_ext=c
5463 ac_cpp='$CPP $CPPFLAGS'
5464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5467
5468 depcc="$CC"   am_compiler_list=
5469
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5471 $as_echo_n "checking dependency style of $depcc... " >&6; }
5472 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5473   $as_echo_n "(cached) " >&6
5474 else
5475   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5476   # We make a subdir and do the tests there.  Otherwise we can end up
5477   # making bogus files that we don't know about and never remove.  For
5478   # instance it was reported that on HP-UX the gcc test will end up
5479   # making a dummy file named `D' -- because `-MD' means `put the output
5480   # in D'.
5481   rm -rf conftest.dir
5482   mkdir conftest.dir
5483   # Copy depcomp to subdir because otherwise we won't find it if we're
5484   # using a relative directory.
5485   cp "$am_depcomp" conftest.dir
5486   cd conftest.dir
5487   # We will build objects and dependencies in a subdirectory because
5488   # it helps to detect inapplicable dependency modes.  For instance
5489   # both Tru64's cc and ICC support -MD to output dependencies as a
5490   # side effect of compilation, but ICC will put the dependencies in
5491   # the current directory while Tru64 will put them in the object
5492   # directory.
5493   mkdir sub
5494
5495   am_cv_CC_dependencies_compiler_type=none
5496   if test "$am_compiler_list" = ""; then
5497      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5498   fi
5499   am__universal=false
5500   case " $depcc " in #(
5501      *\ -arch\ *\ -arch\ *) am__universal=true ;;
5502      esac
5503
5504   for depmode in $am_compiler_list; do
5505     # Setup a source with many dependencies, because some compilers
5506     # like to wrap large dependency lists on column 80 (with \), and
5507     # we should not choose a depcomp mode which is confused by this.
5508     #
5509     # We need to recreate these files for each test, as the compiler may
5510     # overwrite some of them when testing with obscure command lines.
5511     # This happens at least with the AIX C compiler.
5512     : > sub/conftest.c
5513     for i in 1 2 3 4 5 6; do
5514       echo '#include "conftst'$i'.h"' >> sub/conftest.c
5515       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5516       # Solaris 8's {/usr,}/bin/sh.
5517       touch sub/conftst$i.h
5518     done
5519     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5520
5521     # We check with `-c' and `-o' for the sake of the "dashmstdout"
5522     # mode.  It turns out that the SunPro C++ compiler does not properly
5523     # handle `-M -o', and we need to detect this.  Also, some Intel
5524     # versions had trouble with output in subdirs
5525     am__obj=sub/conftest.${OBJEXT-o}
5526     am__minus_obj="-o $am__obj"
5527     case $depmode in
5528     gcc)
5529       # This depmode causes a compiler race in universal mode.
5530       test "$am__universal" = false || continue
5531       ;;
5532     nosideeffect)
5533       # after this tag, mechanisms are not by side-effect, so they'll
5534       # only be used when explicitly requested
5535       if test "x$enable_dependency_tracking" = xyes; then
5536         continue
5537       else
5538         break
5539       fi
5540       ;;
5541     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5542       # This compiler won't grok `-c -o', but also, the minuso test has
5543       # not run yet.  These depmodes are late enough in the game, and
5544       # so weak that their functioning should not be impacted.
5545       am__obj=conftest.${OBJEXT-o}
5546       am__minus_obj=
5547       ;;
5548     none) break ;;
5549     esac
5550     if depmode=$depmode \
5551        source=sub/conftest.c object=$am__obj \
5552        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5553        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5554          >/dev/null 2>conftest.err &&
5555        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5556        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5557        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5558        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5559       # icc doesn't choke on unknown options, it will just issue warnings
5560       # or remarks (even with -Werror).  So we grep stderr for any message
5561       # that says an option was ignored or not supported.
5562       # When given -MP, icc 7.0 and 7.1 complain thusly:
5563       #   icc: Command line warning: ignoring option '-M'; no argument required
5564       # The diagnosis changed in icc 8.0:
5565       #   icc: Command line remark: option '-MP' not supported
5566       if (grep 'ignoring option' conftest.err ||
5567           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5568         am_cv_CC_dependencies_compiler_type=$depmode
5569         break
5570       fi
5571     fi
5572   done
5573
5574   cd ..
5575   rm -rf conftest.dir
5576 else
5577   am_cv_CC_dependencies_compiler_type=none
5578 fi
5579
5580 fi
5581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5582 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5583 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5584
5585  if
5586   test "x$enable_dependency_tracking" != xno \
5587   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5588   am__fastdepCC_TRUE=
5589   am__fastdepCC_FALSE='#'
5590 else
5591   am__fastdepCC_TRUE='#'
5592   am__fastdepCC_FALSE=
5593 fi
5594
5595
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5597 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5598 if ${ac_cv_path_SED+:} false; then :
5599   $as_echo_n "(cached) " >&6
5600 else
5601             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5602      for ac_i in 1 2 3 4 5 6 7; do
5603        ac_script="$ac_script$as_nl$ac_script"
5604      done
5605      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5606      { ac_script=; unset ac_script;}
5607      if test -z "$SED"; then
5608   ac_path_SED_found=false
5609   # Loop through the user's path and test for each of PROGNAME-LIST
5610   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5611 for as_dir in $PATH
5612 do
5613   IFS=$as_save_IFS
5614   test -z "$as_dir" && as_dir=.
5615     for ac_prog in sed gsed; do
5616     for ac_exec_ext in '' $ac_executable_extensions; do
5617       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5618       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5619 # Check for GNU ac_path_SED and select it if it is found.
5620   # Check for GNU $ac_path_SED
5621 case `"$ac_path_SED" --version 2>&1` in
5622 *GNU*)
5623   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5624 *)
5625   ac_count=0
5626   $as_echo_n 0123456789 >"conftest.in"
5627   while :
5628   do
5629     cat "conftest.in" "conftest.in" >"conftest.tmp"
5630     mv "conftest.tmp" "conftest.in"
5631     cp "conftest.in" "conftest.nl"
5632     $as_echo '' >> "conftest.nl"
5633     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5634     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5635     as_fn_arith $ac_count + 1 && ac_count=$as_val
5636     if test $ac_count -gt ${ac_path_SED_max-0}; then
5637       # Best one so far, save it but keep looking for a better one
5638       ac_cv_path_SED="$ac_path_SED"
5639       ac_path_SED_max=$ac_count
5640     fi
5641     # 10*(2^10) chars as input seems more than enough
5642     test $ac_count -gt 10 && break
5643   done
5644   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5645 esac
5646
5647       $ac_path_SED_found && break 3
5648     done
5649   done
5650   done
5651 IFS=$as_save_IFS
5652   if test -z "$ac_cv_path_SED"; then
5653     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5654   fi
5655 else
5656   ac_cv_path_SED=$SED
5657 fi
5658
5659 fi
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5661 $as_echo "$ac_cv_path_SED" >&6; }
5662  SED="$ac_cv_path_SED"
5663   rm -f conftest.sed
5664
5665 test -z "$SED" && SED=sed
5666 Xsed="$SED -e 1s/^X//"
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5679 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5680 if ${ac_cv_path_GREP+:} false; then :
5681   $as_echo_n "(cached) " >&6
5682 else
5683   if test -z "$GREP"; then
5684   ac_path_GREP_found=false
5685   # Loop through the user's path and test for each of PROGNAME-LIST
5686   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5687 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5688 do
5689   IFS=$as_save_IFS
5690   test -z "$as_dir" && as_dir=.
5691     for ac_prog in grep ggrep; do
5692     for ac_exec_ext in '' $ac_executable_extensions; do
5693       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5694       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5695 # Check for GNU ac_path_GREP and select it if it is found.
5696   # Check for GNU $ac_path_GREP
5697 case `"$ac_path_GREP" --version 2>&1` in
5698 *GNU*)
5699   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5700 *)
5701   ac_count=0
5702   $as_echo_n 0123456789 >"conftest.in"
5703   while :
5704   do
5705     cat "conftest.in" "conftest.in" >"conftest.tmp"
5706     mv "conftest.tmp" "conftest.in"
5707     cp "conftest.in" "conftest.nl"
5708     $as_echo 'GREP' >> "conftest.nl"
5709     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5710     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5711     as_fn_arith $ac_count + 1 && ac_count=$as_val
5712     if test $ac_count -gt ${ac_path_GREP_max-0}; then
5713       # Best one so far, save it but keep looking for a better one
5714       ac_cv_path_GREP="$ac_path_GREP"
5715       ac_path_GREP_max=$ac_count
5716     fi
5717     # 10*(2^10) chars as input seems more than enough
5718     test $ac_count -gt 10 && break
5719   done
5720   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5721 esac
5722
5723       $ac_path_GREP_found && break 3
5724     done
5725   done
5726   done
5727 IFS=$as_save_IFS
5728   if test -z "$ac_cv_path_GREP"; then
5729     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5730   fi
5731 else
5732   ac_cv_path_GREP=$GREP
5733 fi
5734
5735 fi
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5737 $as_echo "$ac_cv_path_GREP" >&6; }
5738  GREP="$ac_cv_path_GREP"
5739
5740
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5742 $as_echo_n "checking for egrep... " >&6; }
5743 if ${ac_cv_path_EGREP+:} false; then :
5744   $as_echo_n "(cached) " >&6
5745 else
5746   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5747    then ac_cv_path_EGREP="$GREP -E"
5748    else
5749      if test -z "$EGREP"; then
5750   ac_path_EGREP_found=false
5751   # Loop through the user's path and test for each of PROGNAME-LIST
5752   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5753 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5754 do
5755   IFS=$as_save_IFS
5756   test -z "$as_dir" && as_dir=.
5757     for ac_prog in egrep; do
5758     for ac_exec_ext in '' $ac_executable_extensions; do
5759       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5760       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5761 # Check for GNU ac_path_EGREP and select it if it is found.
5762   # Check for GNU $ac_path_EGREP
5763 case `"$ac_path_EGREP" --version 2>&1` in
5764 *GNU*)
5765   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5766 *)
5767   ac_count=0
5768   $as_echo_n 0123456789 >"conftest.in"
5769   while :
5770   do
5771     cat "conftest.in" "conftest.in" >"conftest.tmp"
5772     mv "conftest.tmp" "conftest.in"
5773     cp "conftest.in" "conftest.nl"
5774     $as_echo 'EGREP' >> "conftest.nl"
5775     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5776     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5777     as_fn_arith $ac_count + 1 && ac_count=$as_val
5778     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5779       # Best one so far, save it but keep looking for a better one
5780       ac_cv_path_EGREP="$ac_path_EGREP"
5781       ac_path_EGREP_max=$ac_count
5782     fi
5783     # 10*(2^10) chars as input seems more than enough
5784     test $ac_count -gt 10 && break
5785   done
5786   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5787 esac
5788
5789       $ac_path_EGREP_found && break 3
5790     done
5791   done
5792   done
5793 IFS=$as_save_IFS
5794   if test -z "$ac_cv_path_EGREP"; then
5795     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5796   fi
5797 else
5798   ac_cv_path_EGREP=$EGREP
5799 fi
5800
5801    fi
5802 fi
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5804 $as_echo "$ac_cv_path_EGREP" >&6; }
5805  EGREP="$ac_cv_path_EGREP"
5806
5807
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5809 $as_echo_n "checking for fgrep... " >&6; }
5810 if ${ac_cv_path_FGREP+:} false; then :
5811   $as_echo_n "(cached) " >&6
5812 else
5813   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5814    then ac_cv_path_FGREP="$GREP -F"
5815    else
5816      if test -z "$FGREP"; then
5817   ac_path_FGREP_found=false
5818   # Loop through the user's path and test for each of PROGNAME-LIST
5819   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5820 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5821 do
5822   IFS=$as_save_IFS
5823   test -z "$as_dir" && as_dir=.
5824     for ac_prog in fgrep; do
5825     for ac_exec_ext in '' $ac_executable_extensions; do
5826       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5827       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5828 # Check for GNU ac_path_FGREP and select it if it is found.
5829   # Check for GNU $ac_path_FGREP
5830 case `"$ac_path_FGREP" --version 2>&1` in
5831 *GNU*)
5832   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5833 *)
5834   ac_count=0
5835   $as_echo_n 0123456789 >"conftest.in"
5836   while :
5837   do
5838     cat "conftest.in" "conftest.in" >"conftest.tmp"
5839     mv "conftest.tmp" "conftest.in"
5840     cp "conftest.in" "conftest.nl"
5841     $as_echo 'FGREP' >> "conftest.nl"
5842     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5843     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5844     as_fn_arith $ac_count + 1 && ac_count=$as_val
5845     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5846       # Best one so far, save it but keep looking for a better one
5847       ac_cv_path_FGREP="$ac_path_FGREP"
5848       ac_path_FGREP_max=$ac_count
5849     fi
5850     # 10*(2^10) chars as input seems more than enough
5851     test $ac_count -gt 10 && break
5852   done
5853   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5854 esac
5855
5856       $ac_path_FGREP_found && break 3
5857     done
5858   done
5859   done
5860 IFS=$as_save_IFS
5861   if test -z "$ac_cv_path_FGREP"; then
5862     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5863   fi
5864 else
5865   ac_cv_path_FGREP=$FGREP
5866 fi
5867
5868    fi
5869 fi
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5871 $as_echo "$ac_cv_path_FGREP" >&6; }
5872  FGREP="$ac_cv_path_FGREP"
5873
5874
5875 test -z "$GREP" && GREP=grep
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895 # Check whether --with-gnu-ld was given.
5896 if test "${with_gnu_ld+set}" = set; then :
5897   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5898 else
5899   with_gnu_ld=no
5900 fi
5901
5902 ac_prog=ld
5903 if test "$GCC" = yes; then
5904   # Check if gcc -print-prog-name=ld gives a path.
5905   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5906 $as_echo_n "checking for ld used by $CC... " >&6; }
5907   case $host in
5908   *-*-mingw*)
5909     # gcc leaves a trailing carriage return which upsets mingw
5910     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5911   *)
5912     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5913   esac
5914   case $ac_prog in
5915     # Accept absolute paths.
5916     [\\/]* | ?:[\\/]*)
5917       re_direlt='/[^/][^/]*/\.\./'
5918       # Canonicalize the pathname of ld
5919       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5920       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5921         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5922       done
5923       test -z "$LD" && LD="$ac_prog"
5924       ;;
5925   "")
5926     # If it fails, then pretend we aren't using GCC.
5927     ac_prog=ld
5928     ;;
5929   *)
5930     # If it is relative, then search for the first ld in PATH.
5931     with_gnu_ld=unknown
5932     ;;
5933   esac
5934 elif test "$with_gnu_ld" = yes; then
5935   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5936 $as_echo_n "checking for GNU ld... " >&6; }
5937 else
5938   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5939 $as_echo_n "checking for non-GNU ld... " >&6; }
5940 fi
5941 if ${lt_cv_path_LD+:} false; then :
5942   $as_echo_n "(cached) " >&6
5943 else
5944   if test -z "$LD"; then
5945   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5946   for ac_dir in $PATH; do
5947     IFS="$lt_save_ifs"
5948     test -z "$ac_dir" && ac_dir=.
5949     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5950       lt_cv_path_LD="$ac_dir/$ac_prog"
5951       # Check to see if the program is GNU ld.  I'd rather use --version,
5952       # but apparently some variants of GNU ld only accept -v.
5953       # Break only if it was the GNU/non-GNU ld that we prefer.
5954       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5955       *GNU* | *'with BFD'*)
5956         test "$with_gnu_ld" != no && break
5957         ;;
5958       *)
5959         test "$with_gnu_ld" != yes && break
5960         ;;
5961       esac
5962     fi
5963   done
5964   IFS="$lt_save_ifs"
5965 else
5966   lt_cv_path_LD="$LD" # Let the user override the test with a path.
5967 fi
5968 fi
5969
5970 LD="$lt_cv_path_LD"
5971 if test -n "$LD"; then
5972   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5973 $as_echo "$LD" >&6; }
5974 else
5975   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5976 $as_echo "no" >&6; }
5977 fi
5978 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5980 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5981 if ${lt_cv_prog_gnu_ld+:} false; then :
5982   $as_echo_n "(cached) " >&6
5983 else
5984   # I'd rather use --version here, but apparently some GNU lds only accept -v.
5985 case `$LD -v 2>&1 </dev/null` in
5986 *GNU* | *'with BFD'*)
5987   lt_cv_prog_gnu_ld=yes
5988   ;;
5989 *)
5990   lt_cv_prog_gnu_ld=no
5991   ;;
5992 esac
5993 fi
5994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5995 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5996 with_gnu_ld=$lt_cv_prog_gnu_ld
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6007 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6008 if ${lt_cv_path_NM+:} false; then :
6009   $as_echo_n "(cached) " >&6
6010 else
6011   if test -n "$NM"; then
6012   # Let the user override the test.
6013   lt_cv_path_NM="$NM"
6014 else
6015   lt_nm_to_check="${ac_tool_prefix}nm"
6016   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6017     lt_nm_to_check="$lt_nm_to_check nm"
6018   fi
6019   for lt_tmp_nm in $lt_nm_to_check; do
6020     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6021     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6022       IFS="$lt_save_ifs"
6023       test -z "$ac_dir" && ac_dir=.
6024       tmp_nm="$ac_dir/$lt_tmp_nm"
6025       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6026         # Check to see if the nm accepts a BSD-compat flag.
6027         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6028         #   nm: unknown option "B" ignored
6029         # Tru64's nm complains that /dev/null is an invalid object file
6030         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6031         */dev/null* | *'Invalid file or object type'*)
6032           lt_cv_path_NM="$tmp_nm -B"
6033           break
6034           ;;
6035         *)
6036           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6037           */dev/null*)
6038             lt_cv_path_NM="$tmp_nm -p"
6039             break
6040             ;;
6041           *)
6042             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6043             continue # so that we can try to find one that supports BSD flags
6044             ;;
6045           esac
6046           ;;
6047         esac
6048       fi
6049     done
6050     IFS="$lt_save_ifs"
6051   done
6052   : ${lt_cv_path_NM=no}
6053 fi
6054 fi
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6056 $as_echo "$lt_cv_path_NM" >&6; }
6057 if test "$lt_cv_path_NM" != "no"; then
6058   NM="$lt_cv_path_NM"
6059 else
6060   # Didn't find any BSD compatible name lister, look for dumpbin.
6061   if test -n "$DUMPBIN"; then :
6062     # Let the user override the test.
6063   else
6064     if test -n "$ac_tool_prefix"; then
6065   for ac_prog in dumpbin "link -dump"
6066   do
6067     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6068 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6070 $as_echo_n "checking for $ac_word... " >&6; }
6071 if ${ac_cv_prog_DUMPBIN+:} false; then :
6072   $as_echo_n "(cached) " >&6
6073 else
6074   if test -n "$DUMPBIN"; then
6075   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6076 else
6077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6078 for as_dir in $PATH
6079 do
6080   IFS=$as_save_IFS
6081   test -z "$as_dir" && as_dir=.
6082     for ac_exec_ext in '' $ac_executable_extensions; do
6083   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6084     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6085     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6086     break 2
6087   fi
6088 done
6089   done
6090 IFS=$as_save_IFS
6091
6092 fi
6093 fi
6094 DUMPBIN=$ac_cv_prog_DUMPBIN
6095 if test -n "$DUMPBIN"; then
6096   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6097 $as_echo "$DUMPBIN" >&6; }
6098 else
6099   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6100 $as_echo "no" >&6; }
6101 fi
6102
6103
6104     test -n "$DUMPBIN" && break
6105   done
6106 fi
6107 if test -z "$DUMPBIN"; then
6108   ac_ct_DUMPBIN=$DUMPBIN
6109   for ac_prog in dumpbin "link -dump"
6110 do
6111   # Extract the first word of "$ac_prog", so it can be a program name with args.
6112 set dummy $ac_prog; ac_word=$2
6113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6114 $as_echo_n "checking for $ac_word... " >&6; }
6115 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6116   $as_echo_n "(cached) " >&6
6117 else
6118   if test -n "$ac_ct_DUMPBIN"; then
6119   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6120 else
6121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6122 for as_dir in $PATH
6123 do
6124   IFS=$as_save_IFS
6125   test -z "$as_dir" && as_dir=.
6126     for ac_exec_ext in '' $ac_executable_extensions; do
6127   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6128     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6129     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6130     break 2
6131   fi
6132 done
6133   done
6134 IFS=$as_save_IFS
6135
6136 fi
6137 fi
6138 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6139 if test -n "$ac_ct_DUMPBIN"; then
6140   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6141 $as_echo "$ac_ct_DUMPBIN" >&6; }
6142 else
6143   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6144 $as_echo "no" >&6; }
6145 fi
6146
6147
6148   test -n "$ac_ct_DUMPBIN" && break
6149 done
6150
6151   if test "x$ac_ct_DUMPBIN" = x; then
6152     DUMPBIN=":"
6153   else
6154     case $cross_compiling:$ac_tool_warned in
6155 yes:)
6156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6157 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6158 ac_tool_warned=yes ;;
6159 esac
6160     DUMPBIN=$ac_ct_DUMPBIN
6161   fi
6162 fi
6163
6164     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6165     *COFF*)
6166       DUMPBIN="$DUMPBIN -symbols"
6167       ;;
6168     *)
6169       DUMPBIN=:
6170       ;;
6171     esac
6172   fi
6173
6174   if test "$DUMPBIN" != ":"; then
6175     NM="$DUMPBIN"
6176   fi
6177 fi
6178 test -z "$NM" && NM=nm
6179
6180
6181
6182
6183
6184
6185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6186 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6187 if ${lt_cv_nm_interface+:} false; then :
6188   $as_echo_n "(cached) " >&6
6189 else
6190   lt_cv_nm_interface="BSD nm"
6191   echo "int some_variable = 0;" > conftest.$ac_ext
6192   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6193   (eval "$ac_compile" 2>conftest.err)
6194   cat conftest.err >&5
6195   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6196   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6197   cat conftest.err >&5
6198   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6199   cat conftest.out >&5
6200   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6201     lt_cv_nm_interface="MS dumpbin"
6202   fi
6203   rm -f conftest*
6204 fi
6205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6206 $as_echo "$lt_cv_nm_interface" >&6; }
6207
6208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6209 $as_echo_n "checking whether ln -s works... " >&6; }
6210 LN_S=$as_ln_s
6211 if test "$LN_S" = "ln -s"; then
6212   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6213 $as_echo "yes" >&6; }
6214 else
6215   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6216 $as_echo "no, using $LN_S" >&6; }
6217 fi
6218
6219 # find the maximum length of command line arguments
6220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6221 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6222 if ${lt_cv_sys_max_cmd_len+:} false; then :
6223   $as_echo_n "(cached) " >&6
6224 else
6225     i=0
6226   teststring="ABCD"
6227
6228   case $build_os in
6229   msdosdjgpp*)
6230     # On DJGPP, this test can blow up pretty badly due to problems in libc
6231     # (any single argument exceeding 2000 bytes causes a buffer overrun
6232     # during glob expansion).  Even if it were fixed, the result of this
6233     # check would be larger than it should be.
6234     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6235     ;;
6236
6237   gnu*)
6238     # Under GNU Hurd, this test is not required because there is
6239     # no limit to the length of command line arguments.
6240     # Libtool will interpret -1 as no limit whatsoever
6241     lt_cv_sys_max_cmd_len=-1;
6242     ;;
6243
6244   cygwin* | mingw* | cegcc*)
6245     # On Win9x/ME, this test blows up -- it succeeds, but takes
6246     # about 5 minutes as the teststring grows exponentially.
6247     # Worse, since 9x/ME are not pre-emptively multitasking,
6248     # you end up with a "frozen" computer, even though with patience
6249     # the test eventually succeeds (with a max line length of 256k).
6250     # Instead, let's just punt: use the minimum linelength reported by
6251     # all of the supported platforms: 8192 (on NT/2K/XP).
6252     lt_cv_sys_max_cmd_len=8192;
6253     ;;
6254
6255   mint*)
6256     # On MiNT this can take a long time and run out of memory.
6257     lt_cv_sys_max_cmd_len=8192;
6258     ;;
6259
6260   amigaos*)
6261     # On AmigaOS with pdksh, this test takes hours, literally.
6262     # So we just punt and use a minimum line length of 8192.
6263     lt_cv_sys_max_cmd_len=8192;
6264     ;;
6265
6266   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6267     # This has been around since 386BSD, at least.  Likely further.
6268     if test -x /sbin/sysctl; then
6269       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6270     elif test -x /usr/sbin/sysctl; then
6271       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6272     else
6273       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
6274     fi
6275     # And add a safety zone
6276     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6277     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6278     ;;
6279
6280   interix*)
6281     # We know the value 262144 and hardcode it with a safety zone (like BSD)
6282     lt_cv_sys_max_cmd_len=196608
6283     ;;
6284
6285   os2*)
6286     # The test takes a long time on OS/2.
6287     lt_cv_sys_max_cmd_len=8192
6288     ;;
6289
6290   osf*)
6291     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6292     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6293     # nice to cause kernel panics so lets avoid the loop below.
6294     # First set a reasonable default.
6295     lt_cv_sys_max_cmd_len=16384
6296     #
6297     if test -x /sbin/sysconfig; then
6298       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6299         *1*) lt_cv_sys_max_cmd_len=-1 ;;
6300       esac
6301     fi
6302     ;;
6303   sco3.2v5*)
6304     lt_cv_sys_max_cmd_len=102400
6305     ;;
6306   sysv5* | sco5v6* | sysv4.2uw2*)
6307     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6308     if test -n "$kargmax"; then
6309       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
6310     else
6311       lt_cv_sys_max_cmd_len=32768
6312     fi
6313     ;;
6314   *)
6315     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6316     if test -n "$lt_cv_sys_max_cmd_len"; then
6317       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6318       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6319     else
6320       # Make teststring a little bigger before we do anything with it.
6321       # a 1K string should be a reasonable start.
6322       for i in 1 2 3 4 5 6 7 8 ; do
6323         teststring=$teststring$teststring
6324       done
6325       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6326       # If test is not a shell built-in, we'll probably end up computing a
6327       # maximum length that is only half of the actual maximum length, but
6328       # we can't tell.
6329       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
6330                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6331               test $i != 17 # 1/2 MB should be enough
6332       do
6333         i=`expr $i + 1`
6334         teststring=$teststring$teststring
6335       done
6336       # Only check the string length outside the loop.
6337       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6338       teststring=
6339       # Add a significant safety factor because C++ compilers can tack on
6340       # massive amounts of additional arguments before passing them to the
6341       # linker.  It appears as though 1/2 is a usable value.
6342       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6343     fi
6344     ;;
6345   esac
6346
6347 fi
6348
6349 if test -n $lt_cv_sys_max_cmd_len ; then
6350   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6351 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6352 else
6353   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6354 $as_echo "none" >&6; }
6355 fi
6356 max_cmd_len=$lt_cv_sys_max_cmd_len
6357
6358
6359
6360
6361
6362
6363 : ${CP="cp -f"}
6364 : ${MV="mv -f"}
6365 : ${RM="rm -f"}
6366
6367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6368 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6369 # Try some XSI features
6370 xsi_shell=no
6371 ( _lt_dummy="a/b/c"
6372   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
6373       = c,a/b,b/c, \
6374     && eval 'test $(( 1 + 1 )) -eq 2 \
6375     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6376   && xsi_shell=yes
6377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6378 $as_echo "$xsi_shell" >&6; }
6379
6380
6381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6382 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6383 lt_shell_append=no
6384 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6385     >/dev/null 2>&1 \
6386   && lt_shell_append=yes
6387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6388 $as_echo "$lt_shell_append" >&6; }
6389
6390
6391 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6392   lt_unset=unset
6393 else
6394   lt_unset=false
6395 fi
6396
6397
6398
6399
6400
6401 # test EBCDIC or ASCII
6402 case `echo X|tr X '\101'` in
6403  A) # ASCII based system
6404     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6405   lt_SP2NL='tr \040 \012'
6406   lt_NL2SP='tr \015\012 \040\040'
6407   ;;
6408  *) # EBCDIC based system
6409   lt_SP2NL='tr \100 \n'
6410   lt_NL2SP='tr \r\n \100\100'
6411   ;;
6412 esac
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6423 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6424 if ${lt_cv_to_host_file_cmd+:} false; then :
6425   $as_echo_n "(cached) " >&6
6426 else
6427   case $host in
6428   *-*-mingw* )
6429     case $build in
6430       *-*-mingw* ) # actually msys
6431         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6432         ;;
6433       *-*-cygwin* )
6434         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6435         ;;
6436       * ) # otherwise, assume *nix
6437         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6438         ;;
6439     esac
6440     ;;
6441   *-*-cygwin* )
6442     case $build in
6443       *-*-mingw* ) # actually msys
6444         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6445         ;;
6446       *-*-cygwin* )
6447         lt_cv_to_host_file_cmd=func_convert_file_noop
6448         ;;
6449       * ) # otherwise, assume *nix
6450         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6451         ;;
6452     esac
6453     ;;
6454   * ) # unhandled hosts (and "normal" native builds)
6455     lt_cv_to_host_file_cmd=func_convert_file_noop
6456     ;;
6457 esac
6458
6459 fi
6460
6461 to_host_file_cmd=$lt_cv_to_host_file_cmd
6462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6463 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6464
6465
6466
6467
6468
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6470 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6471 if ${lt_cv_to_tool_file_cmd+:} false; then :
6472   $as_echo_n "(cached) " >&6
6473 else
6474   #assume ordinary cross tools, or native build.
6475 lt_cv_to_tool_file_cmd=func_convert_file_noop
6476 case $host in
6477   *-*-mingw* )
6478     case $build in
6479       *-*-mingw* ) # actually msys
6480         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6481         ;;
6482     esac
6483     ;;
6484 esac
6485
6486 fi
6487
6488 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6490 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6491
6492
6493
6494
6495
6496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6497 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6498 if ${lt_cv_ld_reload_flag+:} false; then :
6499   $as_echo_n "(cached) " >&6
6500 else
6501   lt_cv_ld_reload_flag='-r'
6502 fi
6503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6504 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6505 reload_flag=$lt_cv_ld_reload_flag
6506 case $reload_flag in
6507 "" | " "*) ;;
6508 *) reload_flag=" $reload_flag" ;;
6509 esac
6510 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6511 case $host_os in
6512   cygwin* | mingw* | pw32* | cegcc*)
6513     if test "$GCC" != yes; then
6514       reload_cmds=false
6515     fi
6516     ;;
6517   darwin*)
6518     if test "$GCC" = yes; then
6519       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6520     else
6521       reload_cmds='$LD$reload_flag -o $output$reload_objs'
6522     fi
6523     ;;
6524 esac
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534 if test -n "$ac_tool_prefix"; then
6535   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6536 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6538 $as_echo_n "checking for $ac_word... " >&6; }
6539 if ${ac_cv_prog_OBJDUMP+:} false; then :
6540   $as_echo_n "(cached) " >&6
6541 else
6542   if test -n "$OBJDUMP"; then
6543   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6544 else
6545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6546 for as_dir in $PATH
6547 do
6548   IFS=$as_save_IFS
6549   test -z "$as_dir" && as_dir=.
6550     for ac_exec_ext in '' $ac_executable_extensions; do
6551   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6552     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6553     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6554     break 2
6555   fi
6556 done
6557   done
6558 IFS=$as_save_IFS
6559
6560 fi
6561 fi
6562 OBJDUMP=$ac_cv_prog_OBJDUMP
6563 if test -n "$OBJDUMP"; then
6564   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6565 $as_echo "$OBJDUMP" >&6; }
6566 else
6567   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6568 $as_echo "no" >&6; }
6569 fi
6570
6571
6572 fi
6573 if test -z "$ac_cv_prog_OBJDUMP"; then
6574   ac_ct_OBJDUMP=$OBJDUMP
6575   # Extract the first word of "objdump", so it can be a program name with args.
6576 set dummy objdump; ac_word=$2
6577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6578 $as_echo_n "checking for $ac_word... " >&6; }
6579 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6580   $as_echo_n "(cached) " >&6
6581 else
6582   if test -n "$ac_ct_OBJDUMP"; then
6583   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6584 else
6585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6586 for as_dir in $PATH
6587 do
6588   IFS=$as_save_IFS
6589   test -z "$as_dir" && as_dir=.
6590     for ac_exec_ext in '' $ac_executable_extensions; do
6591   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6592     ac_cv_prog_ac_ct_OBJDUMP="objdump"
6593     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6594     break 2
6595   fi
6596 done
6597   done
6598 IFS=$as_save_IFS
6599
6600 fi
6601 fi
6602 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6603 if test -n "$ac_ct_OBJDUMP"; then
6604   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6605 $as_echo "$ac_ct_OBJDUMP" >&6; }
6606 else
6607   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6608 $as_echo "no" >&6; }
6609 fi
6610
6611   if test "x$ac_ct_OBJDUMP" = x; then
6612     OBJDUMP="false"
6613   else
6614     case $cross_compiling:$ac_tool_warned in
6615 yes:)
6616 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6617 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6618 ac_tool_warned=yes ;;
6619 esac
6620     OBJDUMP=$ac_ct_OBJDUMP
6621   fi
6622 else
6623   OBJDUMP="$ac_cv_prog_OBJDUMP"
6624 fi
6625
6626 test -z "$OBJDUMP" && OBJDUMP=objdump
6627
6628
6629
6630
6631
6632
6633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6634 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6635 if ${lt_cv_deplibs_check_method+:} false; then :
6636   $as_echo_n "(cached) " >&6
6637 else
6638   lt_cv_file_magic_cmd='$MAGIC_CMD'
6639 lt_cv_file_magic_test_file=
6640 lt_cv_deplibs_check_method='unknown'
6641 # Need to set the preceding variable on all platforms that support
6642 # interlibrary dependencies.
6643 # 'none' -- dependencies not supported.
6644 # `unknown' -- same as none, but documents that we really don't know.
6645 # 'pass_all' -- all dependencies passed with no checks.
6646 # 'test_compile' -- check by making test program.
6647 # 'file_magic [[regex]]' -- check by looking for files in library path
6648 # which responds to the $file_magic_cmd with a given extended regex.
6649 # If you have `file' or equivalent on your system and you're not sure
6650 # whether `pass_all' will *always* work, you probably want this one.
6651
6652 case $host_os in
6653 aix[4-9]*)
6654   lt_cv_deplibs_check_method=pass_all
6655   ;;
6656
6657 beos*)
6658   lt_cv_deplibs_check_method=pass_all
6659   ;;
6660
6661 bsdi[45]*)
6662   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6663   lt_cv_file_magic_cmd='/usr/bin/file -L'
6664   lt_cv_file_magic_test_file=/shlib/libc.so
6665   ;;
6666
6667 cygwin*)
6668   # func_win32_libid is a shell function defined in ltmain.sh
6669   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6670   lt_cv_file_magic_cmd='func_win32_libid'
6671   ;;
6672
6673 mingw* | pw32*)
6674   # Base MSYS/MinGW do not provide the 'file' command needed by
6675   # func_win32_libid shell function, so use a weaker test based on 'objdump',
6676   # unless we find 'file', for example because we are cross-compiling.
6677   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6678   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6679     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6680     lt_cv_file_magic_cmd='func_win32_libid'
6681   else
6682     # Keep this pattern in sync with the one in func_win32_libid.
6683     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6684     lt_cv_file_magic_cmd='$OBJDUMP -f'
6685   fi
6686   ;;
6687
6688 cegcc*)
6689   # use the weaker test based on 'objdump'. See mingw*.
6690   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6691   lt_cv_file_magic_cmd='$OBJDUMP -f'
6692   ;;
6693
6694 darwin* | rhapsody*)
6695   lt_cv_deplibs_check_method=pass_all
6696   ;;
6697
6698 freebsd* | dragonfly*)
6699   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6700     case $host_cpu in
6701     i*86 )
6702       # Not sure whether the presence of OpenBSD here was a mistake.
6703       # Let's accept both of them until this is cleared up.
6704       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6705       lt_cv_file_magic_cmd=/usr/bin/file
6706       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6707       ;;
6708     esac
6709   else
6710     lt_cv_deplibs_check_method=pass_all
6711   fi
6712   ;;
6713
6714 gnu*)
6715   lt_cv_deplibs_check_method=pass_all
6716   ;;
6717
6718 haiku*)
6719   lt_cv_deplibs_check_method=pass_all
6720   ;;
6721
6722 hpux10.20* | hpux11*)
6723   lt_cv_file_magic_cmd=/usr/bin/file
6724   case $host_cpu in
6725   ia64*)
6726     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6727     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6728     ;;
6729   hppa*64*)
6730     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]'
6731     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6732     ;;
6733   *)
6734     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6735     lt_cv_file_magic_test_file=/usr/lib/libc.sl
6736     ;;
6737   esac
6738   ;;
6739
6740 interix[3-9]*)
6741   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6742   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6743   ;;
6744
6745 irix5* | irix6* | nonstopux*)
6746   case $LD in
6747   *-32|*"-32 ") libmagic=32-bit;;
6748   *-n32|*"-n32 ") libmagic=N32;;
6749   *-64|*"-64 ") libmagic=64-bit;;
6750   *) libmagic=never-match;;
6751   esac
6752   lt_cv_deplibs_check_method=pass_all
6753   ;;
6754
6755 # This must be glibc/ELF.
6756 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6757   lt_cv_deplibs_check_method=pass_all
6758   ;;
6759
6760 netbsd* | netbsdelf*-gnu)
6761   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6762     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6763   else
6764     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6765   fi
6766   ;;
6767
6768 newos6*)
6769   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6770   lt_cv_file_magic_cmd=/usr/bin/file
6771   lt_cv_file_magic_test_file=/usr/lib/libnls.so
6772   ;;
6773
6774 *nto* | *qnx*)
6775   lt_cv_deplibs_check_method=pass_all
6776   ;;
6777
6778 openbsd*)
6779   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6780     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6781   else
6782     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6783   fi
6784   ;;
6785
6786 osf3* | osf4* | osf5*)
6787   lt_cv_deplibs_check_method=pass_all
6788   ;;
6789
6790 rdos*)
6791   lt_cv_deplibs_check_method=pass_all
6792   ;;
6793
6794 solaris*)
6795   lt_cv_deplibs_check_method=pass_all
6796   ;;
6797
6798 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6799   lt_cv_deplibs_check_method=pass_all
6800   ;;
6801
6802 sysv4 | sysv4.3*)
6803   case $host_vendor in
6804   motorola)
6805     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]'
6806     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6807     ;;
6808   ncr)
6809     lt_cv_deplibs_check_method=pass_all
6810     ;;
6811   sequent)
6812     lt_cv_file_magic_cmd='/bin/file'
6813     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6814     ;;
6815   sni)
6816     lt_cv_file_magic_cmd='/bin/file'
6817     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6818     lt_cv_file_magic_test_file=/lib/libc.so
6819     ;;
6820   siemens)
6821     lt_cv_deplibs_check_method=pass_all
6822     ;;
6823   pc)
6824     lt_cv_deplibs_check_method=pass_all
6825     ;;
6826   esac
6827   ;;
6828
6829 tpf*)
6830   lt_cv_deplibs_check_method=pass_all
6831   ;;
6832 esac
6833
6834 fi
6835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6836 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6837
6838 file_magic_glob=
6839 want_nocaseglob=no
6840 if test "$build" = "$host"; then
6841   case $host_os in
6842   mingw* | pw32*)
6843     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6844       want_nocaseglob=yes
6845     else
6846       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6847     fi
6848     ;;
6849   esac
6850 fi
6851
6852 file_magic_cmd=$lt_cv_file_magic_cmd
6853 deplibs_check_method=$lt_cv_deplibs_check_method
6854 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877 if test -n "$ac_tool_prefix"; then
6878   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6879 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6881 $as_echo_n "checking for $ac_word... " >&6; }
6882 if ${ac_cv_prog_DLLTOOL+:} false; then :
6883   $as_echo_n "(cached) " >&6
6884 else
6885   if test -n "$DLLTOOL"; then
6886   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6887 else
6888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6889 for as_dir in $PATH
6890 do
6891   IFS=$as_save_IFS
6892   test -z "$as_dir" && as_dir=.
6893     for ac_exec_ext in '' $ac_executable_extensions; do
6894   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6895     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6896     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6897     break 2
6898   fi
6899 done
6900   done
6901 IFS=$as_save_IFS
6902
6903 fi
6904 fi
6905 DLLTOOL=$ac_cv_prog_DLLTOOL
6906 if test -n "$DLLTOOL"; then
6907   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6908 $as_echo "$DLLTOOL" >&6; }
6909 else
6910   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6911 $as_echo "no" >&6; }
6912 fi
6913
6914
6915 fi
6916 if test -z "$ac_cv_prog_DLLTOOL"; then
6917   ac_ct_DLLTOOL=$DLLTOOL
6918   # Extract the first word of "dlltool", so it can be a program name with args.
6919 set dummy dlltool; ac_word=$2
6920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6921 $as_echo_n "checking for $ac_word... " >&6; }
6922 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6923   $as_echo_n "(cached) " >&6
6924 else
6925   if test -n "$ac_ct_DLLTOOL"; then
6926   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6927 else
6928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6929 for as_dir in $PATH
6930 do
6931   IFS=$as_save_IFS
6932   test -z "$as_dir" && as_dir=.
6933     for ac_exec_ext in '' $ac_executable_extensions; do
6934   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6935     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6936     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6937     break 2
6938   fi
6939 done
6940   done
6941 IFS=$as_save_IFS
6942
6943 fi
6944 fi
6945 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6946 if test -n "$ac_ct_DLLTOOL"; then
6947   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6948 $as_echo "$ac_ct_DLLTOOL" >&6; }
6949 else
6950   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6951 $as_echo "no" >&6; }
6952 fi
6953
6954   if test "x$ac_ct_DLLTOOL" = x; then
6955     DLLTOOL="false"
6956   else
6957     case $cross_compiling:$ac_tool_warned in
6958 yes:)
6959 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6960 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6961 ac_tool_warned=yes ;;
6962 esac
6963     DLLTOOL=$ac_ct_DLLTOOL
6964   fi
6965 else
6966   DLLTOOL="$ac_cv_prog_DLLTOOL"
6967 fi
6968
6969 test -z "$DLLTOOL" && DLLTOOL=dlltool
6970
6971
6972
6973
6974
6975
6976
6977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6978 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6979 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6980   $as_echo_n "(cached) " >&6
6981 else
6982   lt_cv_sharedlib_from_linklib_cmd='unknown'
6983
6984 case $host_os in
6985 cygwin* | mingw* | pw32* | cegcc*)
6986   # two different shell functions defined in ltmain.sh
6987   # decide which to use based on capabilities of $DLLTOOL
6988   case `$DLLTOOL --help 2>&1` in
6989   *--identify-strict*)
6990     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6991     ;;
6992   *)
6993     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6994     ;;
6995   esac
6996   ;;
6997 *)
6998   # fallback: assume linklib IS sharedlib
6999   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
7000   ;;
7001 esac
7002
7003 fi
7004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
7005 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7006 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
7007 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
7008
7009
7010
7011
7012
7013
7014
7015
7016 if test -n "$ac_tool_prefix"; then
7017   for ac_prog in ar
7018   do
7019     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7020 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7022 $as_echo_n "checking for $ac_word... " >&6; }
7023 if ${ac_cv_prog_AR+:} false; then :
7024   $as_echo_n "(cached) " >&6
7025 else
7026   if test -n "$AR"; then
7027   ac_cv_prog_AR="$AR" # Let the user override the test.
7028 else
7029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7030 for as_dir in $PATH
7031 do
7032   IFS=$as_save_IFS
7033   test -z "$as_dir" && as_dir=.
7034     for ac_exec_ext in '' $ac_executable_extensions; do
7035   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7036     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
7037     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7038     break 2
7039   fi
7040 done
7041   done
7042 IFS=$as_save_IFS
7043
7044 fi
7045 fi
7046 AR=$ac_cv_prog_AR
7047 if test -n "$AR"; then
7048   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7049 $as_echo "$AR" >&6; }
7050 else
7051   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7052 $as_echo "no" >&6; }
7053 fi
7054
7055
7056     test -n "$AR" && break
7057   done
7058 fi
7059 if test -z "$AR"; then
7060   ac_ct_AR=$AR
7061   for ac_prog in ar
7062 do
7063   # Extract the first word of "$ac_prog", so it can be a program name with args.
7064 set dummy $ac_prog; ac_word=$2
7065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7066 $as_echo_n "checking for $ac_word... " >&6; }
7067 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7068   $as_echo_n "(cached) " >&6
7069 else
7070   if test -n "$ac_ct_AR"; then
7071   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7072 else
7073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7074 for as_dir in $PATH
7075 do
7076   IFS=$as_save_IFS
7077   test -z "$as_dir" && as_dir=.
7078     for ac_exec_ext in '' $ac_executable_extensions; do
7079   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7080     ac_cv_prog_ac_ct_AR="$ac_prog"
7081     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7082     break 2
7083   fi
7084 done
7085   done
7086 IFS=$as_save_IFS
7087
7088 fi
7089 fi
7090 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7091 if test -n "$ac_ct_AR"; then
7092   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7093 $as_echo "$ac_ct_AR" >&6; }
7094 else
7095   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7096 $as_echo "no" >&6; }
7097 fi
7098
7099
7100   test -n "$ac_ct_AR" && break
7101 done
7102
7103   if test "x$ac_ct_AR" = x; then
7104     AR="false"
7105   else
7106     case $cross_compiling:$ac_tool_warned in
7107 yes:)
7108 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7109 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7110 ac_tool_warned=yes ;;
7111 esac
7112     AR=$ac_ct_AR
7113   fi
7114 fi
7115
7116 : ${AR=ar}
7117 : ${AR_FLAGS=cru}
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7130 $as_echo_n "checking for archiver @FILE support... " >&6; }
7131 if ${lt_cv_ar_at_file+:} false; then :
7132   $as_echo_n "(cached) " >&6
7133 else
7134   lt_cv_ar_at_file=no
7135    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7136 /* end confdefs.h.  */
7137
7138 int
7139 main ()
7140 {
7141
7142   ;
7143   return 0;
7144 }
7145 _ACEOF
7146 if ac_fn_c_try_compile "$LINENO"; then :
7147   echo conftest.$ac_objext > conftest.lst
7148       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7149       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7150   (eval $lt_ar_try) 2>&5
7151   ac_status=$?
7152   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7153   test $ac_status = 0; }
7154       if test "$ac_status" -eq 0; then
7155         # Ensure the archiver fails upon bogus file names.
7156         rm -f conftest.$ac_objext libconftest.a
7157         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7158   (eval $lt_ar_try) 2>&5
7159   ac_status=$?
7160   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7161   test $ac_status = 0; }
7162         if test "$ac_status" -ne 0; then
7163           lt_cv_ar_at_file=@
7164         fi
7165       fi
7166       rm -f conftest.* libconftest.a
7167
7168 fi
7169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7170
7171 fi
7172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7173 $as_echo "$lt_cv_ar_at_file" >&6; }
7174
7175 if test "x$lt_cv_ar_at_file" = xno; then
7176   archiver_list_spec=
7177 else
7178   archiver_list_spec=$lt_cv_ar_at_file
7179 fi
7180
7181
7182
7183
7184
7185
7186
7187 if test -n "$ac_tool_prefix"; then
7188   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7189 set dummy ${ac_tool_prefix}strip; ac_word=$2
7190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7191 $as_echo_n "checking for $ac_word... " >&6; }
7192 if ${ac_cv_prog_STRIP+:} false; then :
7193   $as_echo_n "(cached) " >&6
7194 else
7195   if test -n "$STRIP"; then
7196   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7197 else
7198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7199 for as_dir in $PATH
7200 do
7201   IFS=$as_save_IFS
7202   test -z "$as_dir" && as_dir=.
7203     for ac_exec_ext in '' $ac_executable_extensions; do
7204   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7205     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7206     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7207     break 2
7208   fi
7209 done
7210   done
7211 IFS=$as_save_IFS
7212
7213 fi
7214 fi
7215 STRIP=$ac_cv_prog_STRIP
7216 if test -n "$STRIP"; then
7217   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7218 $as_echo "$STRIP" >&6; }
7219 else
7220   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7221 $as_echo "no" >&6; }
7222 fi
7223
7224
7225 fi
7226 if test -z "$ac_cv_prog_STRIP"; then
7227   ac_ct_STRIP=$STRIP
7228   # Extract the first word of "strip", so it can be a program name with args.
7229 set dummy strip; ac_word=$2
7230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7231 $as_echo_n "checking for $ac_word... " >&6; }
7232 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7233   $as_echo_n "(cached) " >&6
7234 else
7235   if test -n "$ac_ct_STRIP"; then
7236   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7237 else
7238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7239 for as_dir in $PATH
7240 do
7241   IFS=$as_save_IFS
7242   test -z "$as_dir" && as_dir=.
7243     for ac_exec_ext in '' $ac_executable_extensions; do
7244   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7245     ac_cv_prog_ac_ct_STRIP="strip"
7246     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7247     break 2
7248   fi
7249 done
7250   done
7251 IFS=$as_save_IFS
7252
7253 fi
7254 fi
7255 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7256 if test -n "$ac_ct_STRIP"; then
7257   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7258 $as_echo "$ac_ct_STRIP" >&6; }
7259 else
7260   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7261 $as_echo "no" >&6; }
7262 fi
7263
7264   if test "x$ac_ct_STRIP" = x; then
7265     STRIP=":"
7266   else
7267     case $cross_compiling:$ac_tool_warned in
7268 yes:)
7269 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7270 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7271 ac_tool_warned=yes ;;
7272 esac
7273     STRIP=$ac_ct_STRIP
7274   fi
7275 else
7276   STRIP="$ac_cv_prog_STRIP"
7277 fi
7278
7279 test -z "$STRIP" && STRIP=:
7280
7281
7282
7283
7284
7285
7286 if test -n "$ac_tool_prefix"; then
7287   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7288 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7290 $as_echo_n "checking for $ac_word... " >&6; }
7291 if ${ac_cv_prog_RANLIB+:} false; then :
7292   $as_echo_n "(cached) " >&6
7293 else
7294   if test -n "$RANLIB"; then
7295   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7296 else
7297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7298 for as_dir in $PATH
7299 do
7300   IFS=$as_save_IFS
7301   test -z "$as_dir" && as_dir=.
7302     for ac_exec_ext in '' $ac_executable_extensions; do
7303   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7304     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7305     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7306     break 2
7307   fi
7308 done
7309   done
7310 IFS=$as_save_IFS
7311
7312 fi
7313 fi
7314 RANLIB=$ac_cv_prog_RANLIB
7315 if test -n "$RANLIB"; then
7316   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7317 $as_echo "$RANLIB" >&6; }
7318 else
7319   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7320 $as_echo "no" >&6; }
7321 fi
7322
7323
7324 fi
7325 if test -z "$ac_cv_prog_RANLIB"; then
7326   ac_ct_RANLIB=$RANLIB
7327   # Extract the first word of "ranlib", so it can be a program name with args.
7328 set dummy ranlib; ac_word=$2
7329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7330 $as_echo_n "checking for $ac_word... " >&6; }
7331 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7332   $as_echo_n "(cached) " >&6
7333 else
7334   if test -n "$ac_ct_RANLIB"; then
7335   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7336 else
7337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7338 for as_dir in $PATH
7339 do
7340   IFS=$as_save_IFS
7341   test -z "$as_dir" && as_dir=.
7342     for ac_exec_ext in '' $ac_executable_extensions; do
7343   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7344     ac_cv_prog_ac_ct_RANLIB="ranlib"
7345     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7346     break 2
7347   fi
7348 done
7349   done
7350 IFS=$as_save_IFS
7351
7352 fi
7353 fi
7354 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7355 if test -n "$ac_ct_RANLIB"; then
7356   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7357 $as_echo "$ac_ct_RANLIB" >&6; }
7358 else
7359   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7360 $as_echo "no" >&6; }
7361 fi
7362
7363   if test "x$ac_ct_RANLIB" = x; then
7364     RANLIB=":"
7365   else
7366     case $cross_compiling:$ac_tool_warned in
7367 yes:)
7368 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7369 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7370 ac_tool_warned=yes ;;
7371 esac
7372     RANLIB=$ac_ct_RANLIB
7373   fi
7374 else
7375   RANLIB="$ac_cv_prog_RANLIB"
7376 fi
7377
7378 test -z "$RANLIB" && RANLIB=:
7379
7380
7381
7382
7383
7384
7385 # Determine commands to create old-style static archives.
7386 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7387 old_postinstall_cmds='chmod 644 $oldlib'
7388 old_postuninstall_cmds=
7389
7390 if test -n "$RANLIB"; then
7391   case $host_os in
7392   openbsd*)
7393     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7394     ;;
7395   *)
7396     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7397     ;;
7398   esac
7399   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7400 fi
7401
7402 case $host_os in
7403   darwin*)
7404     lock_old_archive_extraction=yes ;;
7405   *)
7406     lock_old_archive_extraction=no ;;
7407 esac
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447 # If no C compiler was specified, use CC.
7448 LTCC=${LTCC-"$CC"}
7449
7450 # If no C compiler flags were specified, use CFLAGS.
7451 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7452
7453 # Allow CC to be a program name with arguments.
7454 compiler=$CC
7455
7456
7457 # Check for command to grab the raw symbol name followed by C symbol from nm.
7458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7459 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7460 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7461   $as_echo_n "(cached) " >&6
7462 else
7463
7464 # These are sane defaults that work on at least a few old systems.
7465 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
7466
7467 # Character class describing NM global symbol codes.
7468 symcode='[BCDEGRST]'
7469
7470 # Regexp to match symbols that can be accessed directly from C.
7471 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7472
7473 # Define system-specific variables.
7474 case $host_os in
7475 aix*)
7476   symcode='[BCDT]'
7477   ;;
7478 cygwin* | mingw* | pw32* | cegcc*)
7479   symcode='[ABCDGISTW]'
7480   ;;
7481 hpux*)
7482   if test "$host_cpu" = ia64; then
7483     symcode='[ABCDEGRST]'
7484   fi
7485   ;;
7486 irix* | nonstopux*)
7487   symcode='[BCDEGRST]'
7488   ;;
7489 osf*)
7490   symcode='[BCDEGQRST]'
7491   ;;
7492 solaris*)
7493   symcode='[BDRT]'
7494   ;;
7495 sco3.2v5*)
7496   symcode='[DT]'
7497   ;;
7498 sysv4.2uw2*)
7499   symcode='[DT]'
7500   ;;
7501 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7502   symcode='[ABDT]'
7503   ;;
7504 sysv4)
7505   symcode='[DFNSTU]'
7506   ;;
7507 esac
7508
7509 # If we're using GNU nm, then use its standard symbol codes.
7510 case `$NM -V 2>&1` in
7511 *GNU* | *'with BFD'*)
7512   symcode='[ABCDGIRSTW]' ;;
7513 esac
7514
7515 # Transform an extracted symbol line into a proper C declaration.
7516 # Some systems (esp. on ia64) link data and code symbols differently,
7517 # so use this general approach.
7518 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7519
7520 # Transform an extracted symbol line into symbol name and symbol address
7521 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
7522 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'"
7523
7524 # Handle CRLF in mingw tool chain
7525 opt_cr=
7526 case $build_os in
7527 mingw*)
7528   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7529   ;;
7530 esac
7531
7532 # Try without a prefix underscore, then with it.
7533 for ac_symprfx in "" "_"; do
7534
7535   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7536   symxfrm="\\1 $ac_symprfx\\2 \\2"
7537
7538   # Write the raw and C identifiers.
7539   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7540     # Fake it for dumpbin and say T for any non-static function
7541     # and D for any global variable.
7542     # Also find C++ and __fastcall symbols from MSVC++,
7543     # which start with @ or ?.
7544     lt_cv_sys_global_symbol_pipe="$AWK '"\
7545 "     {last_section=section; section=\$ 3};"\
7546 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7547 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7548 "     \$ 0!~/External *\|/{next};"\
7549 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7550 "     {if(hide[section]) next};"\
7551 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7552 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7553 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
7554 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7555 "     ' prfx=^$ac_symprfx"
7556   else
7557     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7558   fi
7559   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7560
7561   # Check to see that the pipe works correctly.
7562   pipe_works=no
7563
7564   rm -f conftest*
7565   cat > conftest.$ac_ext <<_LT_EOF
7566 #ifdef __cplusplus
7567 extern "C" {
7568 #endif
7569 char nm_test_var;
7570 void nm_test_func(void);
7571 void nm_test_func(void){}
7572 #ifdef __cplusplus
7573 }
7574 #endif
7575 int main(){nm_test_var='a';nm_test_func();return(0);}
7576 _LT_EOF
7577
7578   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7579   (eval $ac_compile) 2>&5
7580   ac_status=$?
7581   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7582   test $ac_status = 0; }; then
7583     # Now try to grab the symbols.
7584     nlist=conftest.nm
7585     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7586   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7587   ac_status=$?
7588   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7589   test $ac_status = 0; } && test -s "$nlist"; then
7590       # Try sorting and uniquifying the output.
7591       if sort "$nlist" | uniq > "$nlist"T; then
7592         mv -f "$nlist"T "$nlist"
7593       else
7594         rm -f "$nlist"T
7595       fi
7596
7597       # Make sure that we snagged all the symbols we need.
7598       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7599         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7600           cat <<_LT_EOF > conftest.$ac_ext
7601 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
7602 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7603 /* DATA imports from DLLs on WIN32 con't be const, because runtime
7604    relocations are performed -- see ld's documentation on pseudo-relocs.  */
7605 # define LT_DLSYM_CONST
7606 #elif defined(__osf__)
7607 /* This system does not cope well with relocations in const data.  */
7608 # define LT_DLSYM_CONST
7609 #else
7610 # define LT_DLSYM_CONST const
7611 #endif
7612
7613 #ifdef __cplusplus
7614 extern "C" {
7615 #endif
7616
7617 _LT_EOF
7618           # Now generate the symbol file.
7619           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7620
7621           cat <<_LT_EOF >> conftest.$ac_ext
7622
7623 /* The mapping between symbol names and symbols.  */
7624 LT_DLSYM_CONST struct {
7625   const char *name;
7626   void       *address;
7627 }
7628 lt__PROGRAM__LTX_preloaded_symbols[] =
7629 {
7630   { "@PROGRAM@", (void *) 0 },
7631 _LT_EOF
7632           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7633           cat <<\_LT_EOF >> conftest.$ac_ext
7634   {0, (void *) 0}
7635 };
7636
7637 /* This works around a problem in FreeBSD linker */
7638 #ifdef FREEBSD_WORKAROUND
7639 static const void *lt_preloaded_setup() {
7640   return lt__PROGRAM__LTX_preloaded_symbols;
7641 }
7642 #endif
7643
7644 #ifdef __cplusplus
7645 }
7646 #endif
7647 _LT_EOF
7648           # Now try linking the two files.
7649           mv conftest.$ac_objext conftstm.$ac_objext
7650           lt_globsym_save_LIBS=$LIBS
7651           lt_globsym_save_CFLAGS=$CFLAGS
7652           LIBS="conftstm.$ac_objext"
7653           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7654           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7655   (eval $ac_link) 2>&5
7656   ac_status=$?
7657   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7658   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7659             pipe_works=yes
7660           fi
7661           LIBS=$lt_globsym_save_LIBS
7662           CFLAGS=$lt_globsym_save_CFLAGS
7663         else
7664           echo "cannot find nm_test_func in $nlist" >&5
7665         fi
7666       else
7667         echo "cannot find nm_test_var in $nlist" >&5
7668       fi
7669     else
7670       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7671     fi
7672   else
7673     echo "$progname: failed program was:" >&5
7674     cat conftest.$ac_ext >&5
7675   fi
7676   rm -rf conftest* conftst*
7677
7678   # Do not use the global_symbol_pipe unless it works.
7679   if test "$pipe_works" = yes; then
7680     break
7681   else
7682     lt_cv_sys_global_symbol_pipe=
7683   fi
7684 done
7685
7686 fi
7687
7688 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7689   lt_cv_sys_global_symbol_to_cdecl=
7690 fi
7691 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7692   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7693 $as_echo "failed" >&6; }
7694 else
7695   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7696 $as_echo "ok" >&6; }
7697 fi
7698
7699 # Response file support.
7700 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7701   nm_file_list_spec='@'
7702 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7703   nm_file_list_spec='@'
7704 fi
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7733 $as_echo_n "checking for sysroot... " >&6; }
7734
7735 # Check whether --with-sysroot was given.
7736 if test "${with_sysroot+set}" = set; then :
7737   withval=$with_sysroot;
7738 else
7739   with_sysroot=no
7740 fi
7741
7742
7743 lt_sysroot=
7744 case ${with_sysroot} in #(
7745  yes)
7746    if test "$GCC" = yes; then
7747      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7748    fi
7749    ;; #(
7750  /*)
7751    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7752    ;; #(
7753  no|'')
7754    ;; #(
7755  *)
7756    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
7757 $as_echo "${with_sysroot}" >&6; }
7758    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7759    ;;
7760 esac
7761
7762  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7763 $as_echo "${lt_sysroot:-no}" >&6; }
7764
7765
7766
7767
7768
7769 # Check whether --enable-libtool-lock was given.
7770 if test "${enable_libtool_lock+set}" = set; then :
7771   enableval=$enable_libtool_lock;
7772 fi
7773
7774 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7775
7776 # Some flags need to be propagated to the compiler or linker for good
7777 # libtool support.
7778 case $host in
7779 ia64-*-hpux*)
7780   # Find out which ABI we are using.
7781   echo 'int i;' > conftest.$ac_ext
7782   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7783   (eval $ac_compile) 2>&5
7784   ac_status=$?
7785   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7786   test $ac_status = 0; }; then
7787     case `/usr/bin/file conftest.$ac_objext` in
7788       *ELF-32*)
7789         HPUX_IA64_MODE="32"
7790         ;;
7791       *ELF-64*)
7792         HPUX_IA64_MODE="64"
7793         ;;
7794     esac
7795   fi
7796   rm -rf conftest*
7797   ;;
7798 *-*-irix6*)
7799   # Find out which ABI we are using.
7800   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7801   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7802   (eval $ac_compile) 2>&5
7803   ac_status=$?
7804   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7805   test $ac_status = 0; }; then
7806     if test "$lt_cv_prog_gnu_ld" = yes; then
7807       case `/usr/bin/file conftest.$ac_objext` in
7808         *32-bit*)
7809           LD="${LD-ld} -melf32bsmip"
7810           ;;
7811         *N32*)
7812           LD="${LD-ld} -melf32bmipn32"
7813           ;;
7814         *64-bit*)
7815           LD="${LD-ld} -melf64bmip"
7816         ;;
7817       esac
7818     else
7819       case `/usr/bin/file conftest.$ac_objext` in
7820         *32-bit*)
7821           LD="${LD-ld} -32"
7822           ;;
7823         *N32*)
7824           LD="${LD-ld} -n32"
7825           ;;
7826         *64-bit*)
7827           LD="${LD-ld} -64"
7828           ;;
7829       esac
7830     fi
7831   fi
7832   rm -rf conftest*
7833   ;;
7834
7835 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7836 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7837   # Find out which ABI we are using.
7838   echo 'int i;' > conftest.$ac_ext
7839   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7840   (eval $ac_compile) 2>&5
7841   ac_status=$?
7842   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7843   test $ac_status = 0; }; then
7844     case `/usr/bin/file conftest.o` in
7845       *32-bit*)
7846         case $host in
7847           x86_64-*kfreebsd*-gnu)
7848             LD="${LD-ld} -m elf_i386_fbsd"
7849             ;;
7850           x86_64-*linux*)
7851             LD="${LD-ld} -m elf_i386"
7852             ;;
7853           ppc64-*linux*|powerpc64-*linux*)
7854             LD="${LD-ld} -m elf32ppclinux"
7855             ;;
7856           s390x-*linux*)
7857             LD="${LD-ld} -m elf_s390"
7858             ;;
7859           sparc64-*linux*)
7860             LD="${LD-ld} -m elf32_sparc"
7861             ;;
7862         esac
7863         ;;
7864       *64-bit*)
7865         case $host in
7866           x86_64-*kfreebsd*-gnu)
7867             LD="${LD-ld} -m elf_x86_64_fbsd"
7868             ;;
7869           x86_64-*linux*)
7870             LD="${LD-ld} -m elf_x86_64"
7871             ;;
7872           ppc*-*linux*|powerpc*-*linux*)
7873             LD="${LD-ld} -m elf64ppc"
7874             ;;
7875           s390*-*linux*|s390*-*tpf*)
7876             LD="${LD-ld} -m elf64_s390"
7877             ;;
7878           sparc*-*linux*)
7879             LD="${LD-ld} -m elf64_sparc"
7880             ;;
7881         esac
7882         ;;
7883     esac
7884   fi
7885   rm -rf conftest*
7886   ;;
7887
7888 *-*-sco3.2v5*)
7889   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7890   SAVE_CFLAGS="$CFLAGS"
7891   CFLAGS="$CFLAGS -belf"
7892   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7893 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7894 if ${lt_cv_cc_needs_belf+:} false; then :
7895   $as_echo_n "(cached) " >&6
7896 else
7897   ac_ext=c
7898 ac_cpp='$CPP $CPPFLAGS'
7899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7902
7903      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7904 /* end confdefs.h.  */
7905
7906 int
7907 main ()
7908 {
7909
7910   ;
7911   return 0;
7912 }
7913 _ACEOF
7914 if ac_fn_c_try_link "$LINENO"; then :
7915   lt_cv_cc_needs_belf=yes
7916 else
7917   lt_cv_cc_needs_belf=no
7918 fi
7919 rm -f core conftest.err conftest.$ac_objext \
7920     conftest$ac_exeext conftest.$ac_ext
7921      ac_ext=c
7922 ac_cpp='$CPP $CPPFLAGS'
7923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7926
7927 fi
7928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7929 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7930   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7931     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7932     CFLAGS="$SAVE_CFLAGS"
7933   fi
7934   ;;
7935 *-*solaris*)
7936   # Find out which ABI we are using.
7937   echo 'int i;' > conftest.$ac_ext
7938   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7939   (eval $ac_compile) 2>&5
7940   ac_status=$?
7941   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7942   test $ac_status = 0; }; then
7943     case `/usr/bin/file conftest.o` in
7944     *64-bit*)
7945       case $lt_cv_prog_gnu_ld in
7946       yes*)
7947         case $host in
7948         i?86-*-solaris*)
7949           LD="${LD-ld} -m elf_x86_64"
7950           ;;
7951         sparc*-*-solaris*)
7952           LD="${LD-ld} -m elf64_sparc"
7953           ;;
7954         esac
7955         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
7956         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7957           LD="${LD-ld}_sol2"
7958         fi
7959         ;;
7960       *)
7961         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7962           LD="${LD-ld} -64"
7963         fi
7964         ;;
7965       esac
7966       ;;
7967     esac
7968   fi
7969   rm -rf conftest*
7970   ;;
7971 esac
7972
7973 need_locks="$enable_libtool_lock"
7974
7975 if test -n "$ac_tool_prefix"; then
7976   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7977 set dummy ${ac_tool_prefix}mt; ac_word=$2
7978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7979 $as_echo_n "checking for $ac_word... " >&6; }
7980 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7981   $as_echo_n "(cached) " >&6
7982 else
7983   if test -n "$MANIFEST_TOOL"; then
7984   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7985 else
7986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7987 for as_dir in $PATH
7988 do
7989   IFS=$as_save_IFS
7990   test -z "$as_dir" && as_dir=.
7991     for ac_exec_ext in '' $ac_executable_extensions; do
7992   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7993     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7994     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7995     break 2
7996   fi
7997 done
7998   done
7999 IFS=$as_save_IFS
8000
8001 fi
8002 fi
8003 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8004 if test -n "$MANIFEST_TOOL"; then
8005   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8006 $as_echo "$MANIFEST_TOOL" >&6; }
8007 else
8008   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8009 $as_echo "no" >&6; }
8010 fi
8011
8012
8013 fi
8014 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8015   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8016   # Extract the first word of "mt", so it can be a program name with args.
8017 set dummy mt; ac_word=$2
8018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8019 $as_echo_n "checking for $ac_word... " >&6; }
8020 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
8021   $as_echo_n "(cached) " >&6
8022 else
8023   if test -n "$ac_ct_MANIFEST_TOOL"; then
8024   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8025 else
8026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8027 for as_dir in $PATH
8028 do
8029   IFS=$as_save_IFS
8030   test -z "$as_dir" && as_dir=.
8031     for ac_exec_ext in '' $ac_executable_extensions; do
8032   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8033     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
8034     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8035     break 2
8036   fi
8037 done
8038   done
8039 IFS=$as_save_IFS
8040
8041 fi
8042 fi
8043 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8044 if test -n "$ac_ct_MANIFEST_TOOL"; then
8045   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8046 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8047 else
8048   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8049 $as_echo "no" >&6; }
8050 fi
8051
8052   if test "x$ac_ct_MANIFEST_TOOL" = x; then
8053     MANIFEST_TOOL=":"
8054   else
8055     case $cross_compiling:$ac_tool_warned in
8056 yes:)
8057 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8058 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8059 ac_tool_warned=yes ;;
8060 esac
8061     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8062   fi
8063 else
8064   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8065 fi
8066
8067 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8069 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8070 if ${lt_cv_path_mainfest_tool+:} false; then :
8071   $as_echo_n "(cached) " >&6
8072 else
8073   lt_cv_path_mainfest_tool=no
8074   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8075   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8076   cat conftest.err >&5
8077   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8078     lt_cv_path_mainfest_tool=yes
8079   fi
8080   rm -f conftest*
8081 fi
8082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8083 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
8084 if test "x$lt_cv_path_mainfest_tool" != xyes; then
8085   MANIFEST_TOOL=:
8086 fi
8087
8088
8089
8090
8091
8092
8093   case $host_os in
8094     rhapsody* | darwin*)
8095     if test -n "$ac_tool_prefix"; then
8096   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8097 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8099 $as_echo_n "checking for $ac_word... " >&6; }
8100 if ${ac_cv_prog_DSYMUTIL+:} false; then :
8101   $as_echo_n "(cached) " >&6
8102 else
8103   if test -n "$DSYMUTIL"; then
8104   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8105 else
8106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8107 for as_dir in $PATH
8108 do
8109   IFS=$as_save_IFS
8110   test -z "$as_dir" && as_dir=.
8111     for ac_exec_ext in '' $ac_executable_extensions; do
8112   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8113     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8114     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8115     break 2
8116   fi
8117 done
8118   done
8119 IFS=$as_save_IFS
8120
8121 fi
8122 fi
8123 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8124 if test -n "$DSYMUTIL"; then
8125   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8126 $as_echo "$DSYMUTIL" >&6; }
8127 else
8128   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8129 $as_echo "no" >&6; }
8130 fi
8131
8132
8133 fi
8134 if test -z "$ac_cv_prog_DSYMUTIL"; then
8135   ac_ct_DSYMUTIL=$DSYMUTIL
8136   # Extract the first word of "dsymutil", so it can be a program name with args.
8137 set dummy dsymutil; ac_word=$2
8138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8139 $as_echo_n "checking for $ac_word... " >&6; }
8140 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8141   $as_echo_n "(cached) " >&6
8142 else
8143   if test -n "$ac_ct_DSYMUTIL"; then
8144   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8145 else
8146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8147 for as_dir in $PATH
8148 do
8149   IFS=$as_save_IFS
8150   test -z "$as_dir" && as_dir=.
8151     for ac_exec_ext in '' $ac_executable_extensions; do
8152   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8153     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8154     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8155     break 2
8156   fi
8157 done
8158   done
8159 IFS=$as_save_IFS
8160
8161 fi
8162 fi
8163 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8164 if test -n "$ac_ct_DSYMUTIL"; then
8165   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8166 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8167 else
8168   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8169 $as_echo "no" >&6; }
8170 fi
8171
8172   if test "x$ac_ct_DSYMUTIL" = x; then
8173     DSYMUTIL=":"
8174   else
8175     case $cross_compiling:$ac_tool_warned in
8176 yes:)
8177 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8178 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8179 ac_tool_warned=yes ;;
8180 esac
8181     DSYMUTIL=$ac_ct_DSYMUTIL
8182   fi
8183 else
8184   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8185 fi
8186
8187     if test -n "$ac_tool_prefix"; then
8188   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8189 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8191 $as_echo_n "checking for $ac_word... " >&6; }
8192 if ${ac_cv_prog_NMEDIT+:} false; then :
8193   $as_echo_n "(cached) " >&6
8194 else
8195   if test -n "$NMEDIT"; then
8196   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8197 else
8198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8199 for as_dir in $PATH
8200 do
8201   IFS=$as_save_IFS
8202   test -z "$as_dir" && as_dir=.
8203     for ac_exec_ext in '' $ac_executable_extensions; do
8204   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8205     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8206     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8207     break 2
8208   fi
8209 done
8210   done
8211 IFS=$as_save_IFS
8212
8213 fi
8214 fi
8215 NMEDIT=$ac_cv_prog_NMEDIT
8216 if test -n "$NMEDIT"; then
8217   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8218 $as_echo "$NMEDIT" >&6; }
8219 else
8220   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8221 $as_echo "no" >&6; }
8222 fi
8223
8224
8225 fi
8226 if test -z "$ac_cv_prog_NMEDIT"; then
8227   ac_ct_NMEDIT=$NMEDIT
8228   # Extract the first word of "nmedit", so it can be a program name with args.
8229 set dummy nmedit; ac_word=$2
8230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8231 $as_echo_n "checking for $ac_word... " >&6; }
8232 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8233   $as_echo_n "(cached) " >&6
8234 else
8235   if test -n "$ac_ct_NMEDIT"; then
8236   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8237 else
8238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8239 for as_dir in $PATH
8240 do
8241   IFS=$as_save_IFS
8242   test -z "$as_dir" && as_dir=.
8243     for ac_exec_ext in '' $ac_executable_extensions; do
8244   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8245     ac_cv_prog_ac_ct_NMEDIT="nmedit"
8246     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8247     break 2
8248   fi
8249 done
8250   done
8251 IFS=$as_save_IFS
8252
8253 fi
8254 fi
8255 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8256 if test -n "$ac_ct_NMEDIT"; then
8257   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8258 $as_echo "$ac_ct_NMEDIT" >&6; }
8259 else
8260   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8261 $as_echo "no" >&6; }
8262 fi
8263
8264   if test "x$ac_ct_NMEDIT" = x; then
8265     NMEDIT=":"
8266   else
8267     case $cross_compiling:$ac_tool_warned in
8268 yes:)
8269 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8270 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8271 ac_tool_warned=yes ;;
8272 esac
8273     NMEDIT=$ac_ct_NMEDIT
8274   fi
8275 else
8276   NMEDIT="$ac_cv_prog_NMEDIT"
8277 fi
8278
8279     if test -n "$ac_tool_prefix"; then
8280   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8281 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8283 $as_echo_n "checking for $ac_word... " >&6; }
8284 if ${ac_cv_prog_LIPO+:} false; then :
8285   $as_echo_n "(cached) " >&6
8286 else
8287   if test -n "$LIPO"; then
8288   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8289 else
8290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8291 for as_dir in $PATH
8292 do
8293   IFS=$as_save_IFS
8294   test -z "$as_dir" && as_dir=.
8295     for ac_exec_ext in '' $ac_executable_extensions; do
8296   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8297     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8298     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8299     break 2
8300   fi
8301 done
8302   done
8303 IFS=$as_save_IFS
8304
8305 fi
8306 fi
8307 LIPO=$ac_cv_prog_LIPO
8308 if test -n "$LIPO"; then
8309   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8310 $as_echo "$LIPO" >&6; }
8311 else
8312   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8313 $as_echo "no" >&6; }
8314 fi
8315
8316
8317 fi
8318 if test -z "$ac_cv_prog_LIPO"; then
8319   ac_ct_LIPO=$LIPO
8320   # Extract the first word of "lipo", so it can be a program name with args.
8321 set dummy lipo; ac_word=$2
8322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8323 $as_echo_n "checking for $ac_word... " >&6; }
8324 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8325   $as_echo_n "(cached) " >&6
8326 else
8327   if test -n "$ac_ct_LIPO"; then
8328   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8329 else
8330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8331 for as_dir in $PATH
8332 do
8333   IFS=$as_save_IFS
8334   test -z "$as_dir" && as_dir=.
8335     for ac_exec_ext in '' $ac_executable_extensions; do
8336   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8337     ac_cv_prog_ac_ct_LIPO="lipo"
8338     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8339     break 2
8340   fi
8341 done
8342   done
8343 IFS=$as_save_IFS
8344
8345 fi
8346 fi
8347 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8348 if test -n "$ac_ct_LIPO"; then
8349   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8350 $as_echo "$ac_ct_LIPO" >&6; }
8351 else
8352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8353 $as_echo "no" >&6; }
8354 fi
8355
8356   if test "x$ac_ct_LIPO" = x; then
8357     LIPO=":"
8358   else
8359     case $cross_compiling:$ac_tool_warned in
8360 yes:)
8361 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8362 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8363 ac_tool_warned=yes ;;
8364 esac
8365     LIPO=$ac_ct_LIPO
8366   fi
8367 else
8368   LIPO="$ac_cv_prog_LIPO"
8369 fi
8370
8371     if test -n "$ac_tool_prefix"; then
8372   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8373 set dummy ${ac_tool_prefix}otool; ac_word=$2
8374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8375 $as_echo_n "checking for $ac_word... " >&6; }
8376 if ${ac_cv_prog_OTOOL+:} false; then :
8377   $as_echo_n "(cached) " >&6
8378 else
8379   if test -n "$OTOOL"; then
8380   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8381 else
8382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8383 for as_dir in $PATH
8384 do
8385   IFS=$as_save_IFS
8386   test -z "$as_dir" && as_dir=.
8387     for ac_exec_ext in '' $ac_executable_extensions; do
8388   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8389     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8390     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8391     break 2
8392   fi
8393 done
8394   done
8395 IFS=$as_save_IFS
8396
8397 fi
8398 fi
8399 OTOOL=$ac_cv_prog_OTOOL
8400 if test -n "$OTOOL"; then
8401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8402 $as_echo "$OTOOL" >&6; }
8403 else
8404   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8405 $as_echo "no" >&6; }
8406 fi
8407
8408
8409 fi
8410 if test -z "$ac_cv_prog_OTOOL"; then
8411   ac_ct_OTOOL=$OTOOL
8412   # Extract the first word of "otool", so it can be a program name with args.
8413 set dummy otool; ac_word=$2
8414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8415 $as_echo_n "checking for $ac_word... " >&6; }
8416 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8417   $as_echo_n "(cached) " >&6
8418 else
8419   if test -n "$ac_ct_OTOOL"; then
8420   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8421 else
8422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8423 for as_dir in $PATH
8424 do
8425   IFS=$as_save_IFS
8426   test -z "$as_dir" && as_dir=.
8427     for ac_exec_ext in '' $ac_executable_extensions; do
8428   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8429     ac_cv_prog_ac_ct_OTOOL="otool"
8430     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8431     break 2
8432   fi
8433 done
8434   done
8435 IFS=$as_save_IFS
8436
8437 fi
8438 fi
8439 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8440 if test -n "$ac_ct_OTOOL"; then
8441   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8442 $as_echo "$ac_ct_OTOOL" >&6; }
8443 else
8444   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8445 $as_echo "no" >&6; }
8446 fi
8447
8448   if test "x$ac_ct_OTOOL" = x; then
8449     OTOOL=":"
8450   else
8451     case $cross_compiling:$ac_tool_warned in
8452 yes:)
8453 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8454 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8455 ac_tool_warned=yes ;;
8456 esac
8457     OTOOL=$ac_ct_OTOOL
8458   fi
8459 else
8460   OTOOL="$ac_cv_prog_OTOOL"
8461 fi
8462
8463     if test -n "$ac_tool_prefix"; then
8464   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8465 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8467 $as_echo_n "checking for $ac_word... " >&6; }
8468 if ${ac_cv_prog_OTOOL64+:} false; then :
8469   $as_echo_n "(cached) " >&6
8470 else
8471   if test -n "$OTOOL64"; then
8472   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8473 else
8474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8475 for as_dir in $PATH
8476 do
8477   IFS=$as_save_IFS
8478   test -z "$as_dir" && as_dir=.
8479     for ac_exec_ext in '' $ac_executable_extensions; do
8480   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8481     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8482     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8483     break 2
8484   fi
8485 done
8486   done
8487 IFS=$as_save_IFS
8488
8489 fi
8490 fi
8491 OTOOL64=$ac_cv_prog_OTOOL64
8492 if test -n "$OTOOL64"; then
8493   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8494 $as_echo "$OTOOL64" >&6; }
8495 else
8496   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8497 $as_echo "no" >&6; }
8498 fi
8499
8500
8501 fi
8502 if test -z "$ac_cv_prog_OTOOL64"; then
8503   ac_ct_OTOOL64=$OTOOL64
8504   # Extract the first word of "otool64", so it can be a program name with args.
8505 set dummy otool64; ac_word=$2
8506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8507 $as_echo_n "checking for $ac_word... " >&6; }
8508 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8509   $as_echo_n "(cached) " >&6
8510 else
8511   if test -n "$ac_ct_OTOOL64"; then
8512   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8513 else
8514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8515 for as_dir in $PATH
8516 do
8517   IFS=$as_save_IFS
8518   test -z "$as_dir" && as_dir=.
8519     for ac_exec_ext in '' $ac_executable_extensions; do
8520   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8521     ac_cv_prog_ac_ct_OTOOL64="otool64"
8522     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8523     break 2
8524   fi
8525 done
8526   done
8527 IFS=$as_save_IFS
8528
8529 fi
8530 fi
8531 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8532 if test -n "$ac_ct_OTOOL64"; then
8533   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8534 $as_echo "$ac_ct_OTOOL64" >&6; }
8535 else
8536   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8537 $as_echo "no" >&6; }
8538 fi
8539
8540   if test "x$ac_ct_OTOOL64" = x; then
8541     OTOOL64=":"
8542   else
8543     case $cross_compiling:$ac_tool_warned in
8544 yes:)
8545 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8546 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8547 ac_tool_warned=yes ;;
8548 esac
8549     OTOOL64=$ac_ct_OTOOL64
8550   fi
8551 else
8552   OTOOL64="$ac_cv_prog_OTOOL64"
8553 fi
8554
8555
8556
8557
8558
8559
8560
8561
8562
8563
8564
8565
8566
8567
8568
8569
8570
8571
8572
8573
8574
8575
8576
8577
8578
8579
8580
8581     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8582 $as_echo_n "checking for -single_module linker flag... " >&6; }
8583 if ${lt_cv_apple_cc_single_mod+:} false; then :
8584   $as_echo_n "(cached) " >&6
8585 else
8586   lt_cv_apple_cc_single_mod=no
8587       if test -z "${LT_MULTI_MODULE}"; then
8588         # By default we will add the -single_module flag. You can override
8589         # by either setting the environment variable LT_MULTI_MODULE
8590         # non-empty at configure time, or by adding -multi_module to the
8591         # link flags.
8592         rm -rf libconftest.dylib*
8593         echo "int foo(void){return 1;}" > conftest.c
8594         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8595 -dynamiclib -Wl,-single_module conftest.c" >&5
8596         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8597           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8598         _lt_result=$?
8599         # If there is a non-empty error log, and "single_module"
8600         # appears in it, assume the flag caused a linker warning
8601         if test -s conftest.err && $GREP single_module conftest.err; then
8602           cat conftest.err >&5
8603         # Otherwise, if the output was created with a 0 exit code from
8604         # the compiler, it worked.
8605         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
8606           lt_cv_apple_cc_single_mod=yes
8607         else
8608           cat conftest.err >&5
8609         fi
8610         rm -rf libconftest.dylib*
8611         rm -f conftest.*
8612       fi
8613 fi
8614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8615 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8616
8617     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8618 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8619 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8620   $as_echo_n "(cached) " >&6
8621 else
8622   lt_cv_ld_exported_symbols_list=no
8623       save_LDFLAGS=$LDFLAGS
8624       echo "_main" > conftest.sym
8625       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8626       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8627 /* end confdefs.h.  */
8628
8629 int
8630 main ()
8631 {
8632
8633   ;
8634   return 0;
8635 }
8636 _ACEOF
8637 if ac_fn_c_try_link "$LINENO"; then :
8638   lt_cv_ld_exported_symbols_list=yes
8639 else
8640   lt_cv_ld_exported_symbols_list=no
8641 fi
8642 rm -f core conftest.err conftest.$ac_objext \
8643     conftest$ac_exeext conftest.$ac_ext
8644         LDFLAGS="$save_LDFLAGS"
8645
8646 fi
8647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8648 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8649
8650     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8651 $as_echo_n "checking for -force_load linker flag... " >&6; }
8652 if ${lt_cv_ld_force_load+:} false; then :
8653   $as_echo_n "(cached) " >&6
8654 else
8655   lt_cv_ld_force_load=no
8656       cat > conftest.c << _LT_EOF
8657 int forced_loaded() { return 2;}
8658 _LT_EOF
8659       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8660       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8661       echo "$AR cru libconftest.a conftest.o" >&5
8662       $AR cru libconftest.a conftest.o 2>&5
8663       echo "$RANLIB libconftest.a" >&5
8664       $RANLIB libconftest.a 2>&5
8665       cat > conftest.c << _LT_EOF
8666 int main() { return 0;}
8667 _LT_EOF
8668       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8669       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8670       _lt_result=$?
8671       if test -s conftest.err && $GREP force_load conftest.err; then
8672         cat conftest.err >&5
8673       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
8674         lt_cv_ld_force_load=yes
8675       else
8676         cat conftest.err >&5
8677       fi
8678         rm -f conftest.err libconftest.a conftest conftest.c
8679         rm -rf conftest.dSYM
8680
8681 fi
8682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8683 $as_echo "$lt_cv_ld_force_load" >&6; }
8684     case $host_os in
8685     rhapsody* | darwin1.[012])
8686       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8687     darwin1.*)
8688       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8689     darwin*) # darwin 5.x on
8690       # if running on 10.5 or later, the deployment target defaults
8691       # to the OS version, if on x86, and 10.4, the deployment
8692       # target defaults to 10.4. Don't you love it?
8693       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8694         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8695           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8696         10.[012]*)
8697           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8698         10.*)
8699           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8700       esac
8701     ;;
8702   esac
8703     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8704       _lt_dar_single_mod='$single_module'
8705     fi
8706     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8707       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8708     else
8709       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8710     fi
8711     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8712       _lt_dsymutil='~$DSYMUTIL $lib || :'
8713     else
8714       _lt_dsymutil=
8715     fi
8716     ;;
8717   esac
8718
8719 ac_ext=c
8720 ac_cpp='$CPP $CPPFLAGS'
8721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
8725 $as_echo_n "checking how to run the C preprocessor... " >&6; }
8726 # On Suns, sometimes $CPP names a directory.
8727 if test -n "$CPP" && test -d "$CPP"; then
8728   CPP=
8729 fi
8730 if test -z "$CPP"; then
8731   if ${ac_cv_prog_CPP+:} false; then :
8732   $as_echo_n "(cached) " >&6
8733 else
8734       # Double quotes because CPP needs to be expanded
8735     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
8736     do
8737       ac_preproc_ok=false
8738 for ac_c_preproc_warn_flag in '' yes
8739 do
8740   # Use a header file that comes with gcc, so configuring glibc
8741   # with a fresh cross-compiler works.
8742   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8743   # <limits.h> exists even on freestanding compilers.
8744   # On the NeXT, cc -E runs the code through the compiler's parser,
8745   # not just through cpp. "Syntax error" is here to catch this case.
8746   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8747 /* end confdefs.h.  */
8748 #ifdef __STDC__
8749 # include <limits.h>
8750 #else
8751 # include <assert.h>
8752 #endif
8753                      Syntax error
8754 _ACEOF
8755 if ac_fn_c_try_cpp "$LINENO"; then :
8756
8757 else
8758   # Broken: fails on valid input.
8759 continue
8760 fi
8761 rm -f conftest.err conftest.i conftest.$ac_ext
8762
8763   # OK, works on sane cases.  Now check whether nonexistent headers
8764   # can be detected and how.
8765   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8766 /* end confdefs.h.  */
8767 #include <ac_nonexistent.h>
8768 _ACEOF
8769 if ac_fn_c_try_cpp "$LINENO"; then :
8770   # Broken: success on invalid input.
8771 continue
8772 else
8773   # Passes both tests.
8774 ac_preproc_ok=:
8775 break
8776 fi
8777 rm -f conftest.err conftest.i conftest.$ac_ext
8778
8779 done
8780 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8781 rm -f conftest.i conftest.err conftest.$ac_ext
8782 if $ac_preproc_ok; then :
8783   break
8784 fi
8785
8786     done
8787     ac_cv_prog_CPP=$CPP
8788
8789 fi
8790   CPP=$ac_cv_prog_CPP
8791 else
8792   ac_cv_prog_CPP=$CPP
8793 fi
8794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
8795 $as_echo "$CPP" >&6; }
8796 ac_preproc_ok=false
8797 for ac_c_preproc_warn_flag in '' yes
8798 do
8799   # Use a header file that comes with gcc, so configuring glibc
8800   # with a fresh cross-compiler works.
8801   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8802   # <limits.h> exists even on freestanding compilers.
8803   # On the NeXT, cc -E runs the code through the compiler's parser,
8804   # not just through cpp. "Syntax error" is here to catch this case.
8805   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8806 /* end confdefs.h.  */
8807 #ifdef __STDC__
8808 # include <limits.h>
8809 #else
8810 # include <assert.h>
8811 #endif
8812                      Syntax error
8813 _ACEOF
8814 if ac_fn_c_try_cpp "$LINENO"; then :
8815
8816 else
8817   # Broken: fails on valid input.
8818 continue
8819 fi
8820 rm -f conftest.err conftest.i conftest.$ac_ext
8821
8822   # OK, works on sane cases.  Now check whether nonexistent headers
8823   # can be detected and how.
8824   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8825 /* end confdefs.h.  */
8826 #include <ac_nonexistent.h>
8827 _ACEOF
8828 if ac_fn_c_try_cpp "$LINENO"; then :
8829   # Broken: success on invalid input.
8830 continue
8831 else
8832   # Passes both tests.
8833 ac_preproc_ok=:
8834 break
8835 fi
8836 rm -f conftest.err conftest.i conftest.$ac_ext
8837
8838 done
8839 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8840 rm -f conftest.i conftest.err conftest.$ac_ext
8841 if $ac_preproc_ok; then :
8842
8843 else
8844   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8845 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8846 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8847 See \`config.log' for more details" "$LINENO" 5; }
8848 fi
8849
8850 ac_ext=c
8851 ac_cpp='$CPP $CPPFLAGS'
8852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8855
8856
8857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8858 $as_echo_n "checking for ANSI C header files... " >&6; }
8859 if ${ac_cv_header_stdc+:} false; then :
8860   $as_echo_n "(cached) " >&6
8861 else
8862   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8863 /* end confdefs.h.  */
8864 #include <stdlib.h>
8865 #include <stdarg.h>
8866 #include <string.h>
8867 #include <float.h>
8868
8869 int
8870 main ()
8871 {
8872
8873   ;
8874   return 0;
8875 }
8876 _ACEOF
8877 if ac_fn_c_try_compile "$LINENO"; then :
8878   ac_cv_header_stdc=yes
8879 else
8880   ac_cv_header_stdc=no
8881 fi
8882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8883
8884 if test $ac_cv_header_stdc = yes; then
8885   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8886   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8887 /* end confdefs.h.  */
8888 #include <string.h>
8889
8890 _ACEOF
8891 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8892   $EGREP "memchr" >/dev/null 2>&1; then :
8893
8894 else
8895   ac_cv_header_stdc=no
8896 fi
8897 rm -f conftest*
8898
8899 fi
8900
8901 if test $ac_cv_header_stdc = yes; then
8902   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8903   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8904 /* end confdefs.h.  */
8905 #include <stdlib.h>
8906
8907 _ACEOF
8908 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8909   $EGREP "free" >/dev/null 2>&1; then :
8910
8911 else
8912   ac_cv_header_stdc=no
8913 fi
8914 rm -f conftest*
8915
8916 fi
8917
8918 if test $ac_cv_header_stdc = yes; then
8919   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8920   if test "$cross_compiling" = yes; then :
8921   :
8922 else
8923   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8924 /* end confdefs.h.  */
8925 #include <ctype.h>
8926 #include <stdlib.h>
8927 #if ((' ' & 0x0FF) == 0x020)
8928 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8929 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8930 #else
8931 # define ISLOWER(c) \
8932                    (('a' <= (c) && (c) <= 'i') \
8933                      || ('j' <= (c) && (c) <= 'r') \
8934                      || ('s' <= (c) && (c) <= 'z'))
8935 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8936 #endif
8937
8938 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8939 int
8940 main ()
8941 {
8942   int i;
8943   for (i = 0; i < 256; i++)
8944     if (XOR (islower (i), ISLOWER (i))
8945         || toupper (i) != TOUPPER (i))
8946       return 2;
8947   return 0;
8948 }
8949 _ACEOF
8950 if ac_fn_c_try_run "$LINENO"; then :
8951
8952 else
8953   ac_cv_header_stdc=no
8954 fi
8955 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8956   conftest.$ac_objext conftest.beam conftest.$ac_ext
8957 fi
8958
8959 fi
8960 fi
8961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8962 $as_echo "$ac_cv_header_stdc" >&6; }
8963 if test $ac_cv_header_stdc = yes; then
8964
8965 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8966
8967 fi
8968
8969 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8970 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8971                   inttypes.h stdint.h unistd.h
8972 do :
8973   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8974 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8975 "
8976 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8977   cat >>confdefs.h <<_ACEOF
8978 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8979 _ACEOF
8980
8981 fi
8982
8983 done
8984
8985
8986 for ac_header in dlfcn.h
8987 do :
8988   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8989 "
8990 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8991   cat >>confdefs.h <<_ACEOF
8992 #define HAVE_DLFCN_H 1
8993 _ACEOF
8994
8995 fi
8996
8997 done
8998
8999
9000
9001
9002
9003 # Set options
9004
9005
9006
9007         enable_dlopen=no
9008
9009
9010
9011             # Check whether --enable-shared was given.
9012 if test "${enable_shared+set}" = set; then :
9013   enableval=$enable_shared; p=${PACKAGE-default}
9014     case $enableval in
9015     yes) enable_shared=yes ;;
9016     no) enable_shared=no ;;
9017     *)
9018       enable_shared=no
9019       # Look at the argument we got.  We use all the common list separators.
9020       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9021       for pkg in $enableval; do
9022         IFS="$lt_save_ifs"
9023         if test "X$pkg" = "X$p"; then
9024           enable_shared=yes
9025         fi
9026       done
9027       IFS="$lt_save_ifs"
9028       ;;
9029     esac
9030 else
9031   enable_shared=yes
9032 fi
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042   # Check whether --enable-static was given.
9043 if test "${enable_static+set}" = set; then :
9044   enableval=$enable_static; p=${PACKAGE-default}
9045     case $enableval in
9046     yes) enable_static=yes ;;
9047     no) enable_static=no ;;
9048     *)
9049      enable_static=no
9050       # Look at the argument we got.  We use all the common list separators.
9051       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9052       for pkg in $enableval; do
9053         IFS="$lt_save_ifs"
9054         if test "X$pkg" = "X$p"; then
9055           enable_static=yes
9056         fi
9057       done
9058       IFS="$lt_save_ifs"
9059       ;;
9060     esac
9061 else
9062   enable_static=yes
9063 fi
9064
9065
9066
9067
9068
9069
9070
9071
9072
9073
9074 # Check whether --with-pic was given.
9075 if test "${with_pic+set}" = set; then :
9076   withval=$with_pic; lt_p=${PACKAGE-default}
9077     case $withval in
9078     yes|no) pic_mode=$withval ;;
9079     *)
9080       pic_mode=default
9081       # Look at the argument we got.  We use all the common list separators.
9082       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9083       for lt_pkg in $withval; do
9084         IFS="$lt_save_ifs"
9085         if test "X$lt_pkg" = "X$lt_p"; then
9086           pic_mode=yes
9087         fi
9088       done
9089       IFS="$lt_save_ifs"
9090       ;;
9091     esac
9092 else
9093   pic_mode=default
9094 fi
9095
9096
9097 test -z "$pic_mode" && pic_mode=default
9098
9099
9100
9101
9102
9103
9104
9105   # Check whether --enable-fast-install was given.
9106 if test "${enable_fast_install+set}" = set; then :
9107   enableval=$enable_fast_install; p=${PACKAGE-default}
9108     case $enableval in
9109     yes) enable_fast_install=yes ;;
9110     no) enable_fast_install=no ;;
9111     *)
9112       enable_fast_install=no
9113       # Look at the argument we got.  We use all the common list separators.
9114       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9115       for pkg in $enableval; do
9116         IFS="$lt_save_ifs"
9117         if test "X$pkg" = "X$p"; then
9118           enable_fast_install=yes
9119         fi
9120       done
9121       IFS="$lt_save_ifs"
9122       ;;
9123     esac
9124 else
9125   enable_fast_install=yes
9126 fi
9127
9128
9129
9130
9131
9132
9133
9134
9135
9136
9137
9138 # This can be used to rebuild libtool when needed
9139 LIBTOOL_DEPS="$ltmain"
9140
9141 # Always use our own libtool.
9142 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9143
9144
9145
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173 test -z "$LN_S" && LN_S="ln -s"
9174
9175
9176
9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188 if test -n "${ZSH_VERSION+set}" ; then
9189    setopt NO_GLOB_SUBST
9190 fi
9191
9192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9193 $as_echo_n "checking for objdir... " >&6; }
9194 if ${lt_cv_objdir+:} false; then :
9195   $as_echo_n "(cached) " >&6
9196 else
9197   rm -f .libs 2>/dev/null
9198 mkdir .libs 2>/dev/null
9199 if test -d .libs; then
9200   lt_cv_objdir=.libs
9201 else
9202   # MS-DOS does not allow filenames that begin with a dot.
9203   lt_cv_objdir=_libs
9204 fi
9205 rmdir .libs 2>/dev/null
9206 fi
9207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9208 $as_echo "$lt_cv_objdir" >&6; }
9209 objdir=$lt_cv_objdir
9210
9211
9212
9213
9214
9215 cat >>confdefs.h <<_ACEOF
9216 #define LT_OBJDIR "$lt_cv_objdir/"
9217 _ACEOF
9218
9219
9220
9221
9222 case $host_os in
9223 aix3*)
9224   # AIX sometimes has problems with the GCC collect2 program.  For some
9225   # reason, if we set the COLLECT_NAMES environment variable, the problems
9226   # vanish in a puff of smoke.
9227   if test "X${COLLECT_NAMES+set}" != Xset; then
9228     COLLECT_NAMES=
9229     export COLLECT_NAMES
9230   fi
9231   ;;
9232 esac
9233
9234 # Global variables:
9235 ofile=libtool
9236 can_build_shared=yes
9237
9238 # All known linkers require a `.a' archive for static linking (except MSVC,
9239 # which needs '.lib').
9240 libext=a
9241
9242 with_gnu_ld="$lt_cv_prog_gnu_ld"
9243
9244 old_CC="$CC"
9245 old_CFLAGS="$CFLAGS"
9246
9247 # Set sane defaults for various variables
9248 test -z "$CC" && CC=cc
9249 test -z "$LTCC" && LTCC=$CC
9250 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9251 test -z "$LD" && LD=ld
9252 test -z "$ac_objext" && ac_objext=o
9253
9254 for cc_temp in $compiler""; do
9255   case $cc_temp in
9256     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9257     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9258     \-*) ;;
9259     *) break;;
9260   esac
9261 done
9262 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9263
9264
9265 # Only perform the check for file, if the check method requires it
9266 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9267 case $deplibs_check_method in
9268 file_magic*)
9269   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9270     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9271 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9272 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9273   $as_echo_n "(cached) " >&6
9274 else
9275   case $MAGIC_CMD in
9276 [\\/*] |  ?:[\\/]*)
9277   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9278   ;;
9279 *)
9280   lt_save_MAGIC_CMD="$MAGIC_CMD"
9281   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9282   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9283   for ac_dir in $ac_dummy; do
9284     IFS="$lt_save_ifs"
9285     test -z "$ac_dir" && ac_dir=.
9286     if test -f $ac_dir/${ac_tool_prefix}file; then
9287       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9288       if test -n "$file_magic_test_file"; then
9289         case $deplibs_check_method in
9290         "file_magic "*)
9291           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9292           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9293           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9294             $EGREP "$file_magic_regex" > /dev/null; then
9295             :
9296           else
9297             cat <<_LT_EOF 1>&2
9298
9299 *** Warning: the command libtool uses to detect shared libraries,
9300 *** $file_magic_cmd, produces output that libtool cannot recognize.
9301 *** The result is that libtool may fail to recognize shared libraries
9302 *** as such.  This will affect the creation of libtool libraries that
9303 *** depend on shared libraries, but programs linked with such libtool
9304 *** libraries will work regardless of this problem.  Nevertheless, you
9305 *** may want to report the problem to your system manager and/or to
9306 *** bug-libtool@gnu.org
9307
9308 _LT_EOF
9309           fi ;;
9310         esac
9311       fi
9312       break
9313     fi
9314   done
9315   IFS="$lt_save_ifs"
9316   MAGIC_CMD="$lt_save_MAGIC_CMD"
9317   ;;
9318 esac
9319 fi
9320
9321 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9322 if test -n "$MAGIC_CMD"; then
9323   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9324 $as_echo "$MAGIC_CMD" >&6; }
9325 else
9326   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9327 $as_echo "no" >&6; }
9328 fi
9329
9330
9331
9332
9333
9334 if test -z "$lt_cv_path_MAGIC_CMD"; then
9335   if test -n "$ac_tool_prefix"; then
9336     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9337 $as_echo_n "checking for file... " >&6; }
9338 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9339   $as_echo_n "(cached) " >&6
9340 else
9341   case $MAGIC_CMD in
9342 [\\/*] |  ?:[\\/]*)
9343   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9344   ;;
9345 *)
9346   lt_save_MAGIC_CMD="$MAGIC_CMD"
9347   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9348   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9349   for ac_dir in $ac_dummy; do
9350     IFS="$lt_save_ifs"
9351     test -z "$ac_dir" && ac_dir=.
9352     if test -f $ac_dir/file; then
9353       lt_cv_path_MAGIC_CMD="$ac_dir/file"
9354       if test -n "$file_magic_test_file"; then
9355         case $deplibs_check_method in
9356         "file_magic "*)
9357           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9358           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9359           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9360             $EGREP "$file_magic_regex" > /dev/null; then
9361             :
9362           else
9363             cat <<_LT_EOF 1>&2
9364
9365 *** Warning: the command libtool uses to detect shared libraries,
9366 *** $file_magic_cmd, produces output that libtool cannot recognize.
9367 *** The result is that libtool may fail to recognize shared libraries
9368 *** as such.  This will affect the creation of libtool libraries that
9369 *** depend on shared libraries, but programs linked with such libtool
9370 *** libraries will work regardless of this problem.  Nevertheless, you
9371 *** may want to report the problem to your system manager and/or to
9372 *** bug-libtool@gnu.org
9373
9374 _LT_EOF
9375           fi ;;
9376         esac
9377       fi
9378       break
9379     fi
9380   done
9381   IFS="$lt_save_ifs"
9382   MAGIC_CMD="$lt_save_MAGIC_CMD"
9383   ;;
9384 esac
9385 fi
9386
9387 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9388 if test -n "$MAGIC_CMD"; then
9389   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9390 $as_echo "$MAGIC_CMD" >&6; }
9391 else
9392   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9393 $as_echo "no" >&6; }
9394 fi
9395
9396
9397   else
9398     MAGIC_CMD=:
9399   fi
9400 fi
9401
9402   fi
9403   ;;
9404 esac
9405
9406 # Use C for the default configuration in the libtool script
9407
9408 lt_save_CC="$CC"
9409 ac_ext=c
9410 ac_cpp='$CPP $CPPFLAGS'
9411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9414
9415
9416 # Source file extension for C test sources.
9417 ac_ext=c
9418
9419 # Object file extension for compiled C test sources.
9420 objext=o
9421 objext=$objext
9422
9423 # Code to be used in simple compile tests
9424 lt_simple_compile_test_code="int some_variable = 0;"
9425
9426 # Code to be used in simple link tests
9427 lt_simple_link_test_code='int main(){return(0);}'
9428
9429
9430
9431
9432
9433
9434
9435 # If no C compiler was specified, use CC.
9436 LTCC=${LTCC-"$CC"}
9437
9438 # If no C compiler flags were specified, use CFLAGS.
9439 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9440
9441 # Allow CC to be a program name with arguments.
9442 compiler=$CC
9443
9444 # Save the default compiler, since it gets overwritten when the other
9445 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9446 compiler_DEFAULT=$CC
9447
9448 # save warnings/boilerplate of simple test code
9449 ac_outfile=conftest.$ac_objext
9450 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9451 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9452 _lt_compiler_boilerplate=`cat conftest.err`
9453 $RM conftest*
9454
9455 ac_outfile=conftest.$ac_objext
9456 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9457 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9458 _lt_linker_boilerplate=`cat conftest.err`
9459 $RM -r conftest*
9460
9461
9462 ## CAVEAT EMPTOR:
9463 ## There is no encapsulation within the following macros, do not change
9464 ## the running order or otherwise move them around unless you know exactly
9465 ## what you are doing...
9466 if test -n "$compiler"; then
9467
9468 lt_prog_compiler_no_builtin_flag=
9469
9470 if test "$GCC" = yes; then
9471   case $cc_basename in
9472   nvcc*)
9473     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9474   *)
9475     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9476   esac
9477
9478   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9479 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9480 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9481   $as_echo_n "(cached) " >&6
9482 else
9483   lt_cv_prog_compiler_rtti_exceptions=no
9484    ac_outfile=conftest.$ac_objext
9485    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9486    lt_compiler_flag="-fno-rtti -fno-exceptions"
9487    # Insert the option either (1) after the last *FLAGS variable, or
9488    # (2) before a word containing "conftest.", or (3) at the end.
9489    # Note that $ac_compile itself does not contain backslashes and begins
9490    # with a dollar sign (not a hyphen), so the echo should work correctly.
9491    # The option is referenced via a variable to avoid confusing sed.
9492    lt_compile=`echo "$ac_compile" | $SED \
9493    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9494    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9495    -e 's:$: $lt_compiler_flag:'`
9496    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9497    (eval "$lt_compile" 2>conftest.err)
9498    ac_status=$?
9499    cat conftest.err >&5
9500    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9501    if (exit $ac_status) && test -s "$ac_outfile"; then
9502      # The compiler can only warn and ignore the option if not recognized
9503      # So say no if there are warnings other than the usual output.
9504      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9505      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9506      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9507        lt_cv_prog_compiler_rtti_exceptions=yes
9508      fi
9509    fi
9510    $RM conftest*
9511
9512 fi
9513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9514 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9515
9516 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9517     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9518 else
9519     :
9520 fi
9521
9522 fi
9523
9524
9525
9526
9527
9528
9529   lt_prog_compiler_wl=
9530 lt_prog_compiler_pic=
9531 lt_prog_compiler_static=
9532
9533
9534   if test "$GCC" = yes; then
9535     lt_prog_compiler_wl='-Wl,'
9536     lt_prog_compiler_static='-static'
9537
9538     case $host_os in
9539       aix*)
9540       # All AIX code is PIC.
9541       if test "$host_cpu" = ia64; then
9542         # AIX 5 now supports IA64 processor
9543         lt_prog_compiler_static='-Bstatic'
9544       fi
9545       ;;
9546
9547     amigaos*)
9548       case $host_cpu in
9549       powerpc)
9550             # see comment about AmigaOS4 .so support
9551             lt_prog_compiler_pic='-fPIC'
9552         ;;
9553       m68k)
9554             # FIXME: we need at least 68020 code to build shared libraries, but
9555             # adding the `-m68020' flag to GCC prevents building anything better,
9556             # like `-m68040'.
9557             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9558         ;;
9559       esac
9560       ;;
9561
9562     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9563       # PIC is the default for these OSes.
9564       ;;
9565
9566     mingw* | cygwin* | pw32* | os2* | cegcc*)
9567       # This hack is so that the source file can tell whether it is being
9568       # built for inclusion in a dll (and should export symbols for example).
9569       # Although the cygwin gcc ignores -fPIC, still need this for old-style
9570       # (--disable-auto-import) libraries
9571       lt_prog_compiler_pic='-DDLL_EXPORT'
9572       ;;
9573
9574     darwin* | rhapsody*)
9575       # PIC is the default on this platform
9576       # Common symbols not allowed in MH_DYLIB files
9577       lt_prog_compiler_pic='-fno-common'
9578       ;;
9579
9580     haiku*)
9581       # PIC is the default for Haiku.
9582       # The "-static" flag exists, but is broken.
9583       lt_prog_compiler_static=
9584       ;;
9585
9586     hpux*)
9587       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9588       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9589       # sets the default TLS model and affects inlining.
9590       case $host_cpu in
9591       hppa*64*)
9592         # +Z the default
9593         ;;
9594       *)
9595         lt_prog_compiler_pic='-fPIC'
9596         ;;
9597       esac
9598       ;;
9599
9600     interix[3-9]*)
9601       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9602       # Instead, we relocate shared libraries at runtime.
9603       ;;
9604
9605     msdosdjgpp*)
9606       # Just because we use GCC doesn't mean we suddenly get shared libraries
9607       # on systems that don't support them.
9608       lt_prog_compiler_can_build_shared=no
9609       enable_shared=no
9610       ;;
9611
9612     *nto* | *qnx*)
9613       # QNX uses GNU C++, but need to define -shared option too, otherwise
9614       # it will coredump.
9615       lt_prog_compiler_pic='-fPIC -shared'
9616       ;;
9617
9618     sysv4*MP*)
9619       if test -d /usr/nec; then
9620         lt_prog_compiler_pic=-Kconform_pic
9621       fi
9622       ;;
9623
9624     *)
9625       lt_prog_compiler_pic='-fPIC'
9626       ;;
9627     esac
9628
9629     case $cc_basename in
9630     nvcc*) # Cuda Compiler Driver 2.2
9631       lt_prog_compiler_wl='-Xlinker '
9632       if test -n "$lt_prog_compiler_pic"; then
9633         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9634       fi
9635       ;;
9636     esac
9637   else
9638     # PORTME Check for flag to pass linker flags through the system compiler.
9639     case $host_os in
9640     aix*)
9641       lt_prog_compiler_wl='-Wl,'
9642       if test "$host_cpu" = ia64; then
9643         # AIX 5 now supports IA64 processor
9644         lt_prog_compiler_static='-Bstatic'
9645       else
9646         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9647       fi
9648       ;;
9649
9650     mingw* | cygwin* | pw32* | os2* | cegcc*)
9651       # This hack is so that the source file can tell whether it is being
9652       # built for inclusion in a dll (and should export symbols for example).
9653       lt_prog_compiler_pic='-DDLL_EXPORT'
9654       ;;
9655
9656     hpux9* | hpux10* | hpux11*)
9657       lt_prog_compiler_wl='-Wl,'
9658       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9659       # not for PA HP-UX.
9660       case $host_cpu in
9661       hppa*64*|ia64*)
9662         # +Z the default
9663         ;;
9664       *)
9665         lt_prog_compiler_pic='+Z'
9666         ;;
9667       esac
9668       # Is there a better lt_prog_compiler_static that works with the bundled CC?
9669       lt_prog_compiler_static='${wl}-a ${wl}archive'
9670       ;;
9671
9672     irix5* | irix6* | nonstopux*)
9673       lt_prog_compiler_wl='-Wl,'
9674       # PIC (with -KPIC) is the default.
9675       lt_prog_compiler_static='-non_shared'
9676       ;;
9677
9678     linux* | k*bsd*-gnu | kopensolaris*-gnu)
9679       case $cc_basename in
9680       # old Intel for x86_64 which still supported -KPIC.
9681       ecc*)
9682         lt_prog_compiler_wl='-Wl,'
9683         lt_prog_compiler_pic='-KPIC'
9684         lt_prog_compiler_static='-static'
9685         ;;
9686       # icc used to be incompatible with GCC.
9687       # ICC 10 doesn't accept -KPIC any more.
9688       icc* | ifort*)
9689         lt_prog_compiler_wl='-Wl,'
9690         lt_prog_compiler_pic='-fPIC'
9691         lt_prog_compiler_static='-static'
9692         ;;
9693       # Lahey Fortran 8.1.
9694       lf95*)
9695         lt_prog_compiler_wl='-Wl,'
9696         lt_prog_compiler_pic='--shared'
9697         lt_prog_compiler_static='--static'
9698         ;;
9699       nagfor*)
9700         # NAG Fortran compiler
9701         lt_prog_compiler_wl='-Wl,-Wl,,'
9702         lt_prog_compiler_pic='-PIC'
9703         lt_prog_compiler_static='-Bstatic'
9704         ;;
9705       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9706         # Portland Group compilers (*not* the Pentium gcc compiler,
9707         # which looks to be a dead project)
9708         lt_prog_compiler_wl='-Wl,'
9709         lt_prog_compiler_pic='-fpic'
9710         lt_prog_compiler_static='-Bstatic'
9711         ;;
9712       ccc*)
9713         lt_prog_compiler_wl='-Wl,'
9714         # All Alpha code is PIC.
9715         lt_prog_compiler_static='-non_shared'
9716         ;;
9717       xl* | bgxl* | bgf* | mpixl*)
9718         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9719         lt_prog_compiler_wl='-Wl,'
9720         lt_prog_compiler_pic='-qpic'
9721         lt_prog_compiler_static='-qstaticlink'
9722         ;;
9723       *)
9724         case `$CC -V 2>&1 | sed 5q` in
9725         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9726           # Sun Fortran 8.3 passes all unrecognized flags to the linker
9727           lt_prog_compiler_pic='-KPIC'
9728           lt_prog_compiler_static='-Bstatic'
9729           lt_prog_compiler_wl=''
9730           ;;
9731         *Sun\ F* | *Sun*Fortran*)
9732           lt_prog_compiler_pic='-KPIC'
9733           lt_prog_compiler_static='-Bstatic'
9734           lt_prog_compiler_wl='-Qoption ld '
9735           ;;
9736         *Sun\ C*)
9737           # Sun C 5.9
9738           lt_prog_compiler_pic='-KPIC'
9739           lt_prog_compiler_static='-Bstatic'
9740           lt_prog_compiler_wl='-Wl,'
9741           ;;
9742         *Intel*\ [CF]*Compiler*)
9743           lt_prog_compiler_wl='-Wl,'
9744           lt_prog_compiler_pic='-fPIC'
9745           lt_prog_compiler_static='-static'
9746           ;;
9747         *Portland\ Group*)
9748           lt_prog_compiler_wl='-Wl,'
9749           lt_prog_compiler_pic='-fpic'
9750           lt_prog_compiler_static='-Bstatic'
9751           ;;
9752         esac
9753         ;;
9754       esac
9755       ;;
9756
9757     newsos6)
9758       lt_prog_compiler_pic='-KPIC'
9759       lt_prog_compiler_static='-Bstatic'
9760       ;;
9761
9762     *nto* | *qnx*)
9763       # QNX uses GNU C++, but need to define -shared option too, otherwise
9764       # it will coredump.
9765       lt_prog_compiler_pic='-fPIC -shared'
9766       ;;
9767
9768     osf3* | osf4* | osf5*)
9769       lt_prog_compiler_wl='-Wl,'
9770       # All OSF/1 code is PIC.
9771       lt_prog_compiler_static='-non_shared'
9772       ;;
9773
9774     rdos*)
9775       lt_prog_compiler_static='-non_shared'
9776       ;;
9777
9778     solaris*)
9779       lt_prog_compiler_pic='-KPIC'
9780       lt_prog_compiler_static='-Bstatic'
9781       case $cc_basename in
9782       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9783         lt_prog_compiler_wl='-Qoption ld ';;
9784       *)
9785         lt_prog_compiler_wl='-Wl,';;
9786       esac
9787       ;;
9788
9789     sunos4*)
9790       lt_prog_compiler_wl='-Qoption ld '
9791       lt_prog_compiler_pic='-PIC'
9792       lt_prog_compiler_static='-Bstatic'
9793       ;;
9794
9795     sysv4 | sysv4.2uw2* | sysv4.3*)
9796       lt_prog_compiler_wl='-Wl,'
9797       lt_prog_compiler_pic='-KPIC'
9798       lt_prog_compiler_static='-Bstatic'
9799       ;;
9800
9801     sysv4*MP*)
9802       if test -d /usr/nec ;then
9803         lt_prog_compiler_pic='-Kconform_pic'
9804         lt_prog_compiler_static='-Bstatic'
9805       fi
9806       ;;
9807
9808     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9809       lt_prog_compiler_wl='-Wl,'
9810       lt_prog_compiler_pic='-KPIC'
9811       lt_prog_compiler_static='-Bstatic'
9812       ;;
9813
9814     unicos*)
9815       lt_prog_compiler_wl='-Wl,'
9816       lt_prog_compiler_can_build_shared=no
9817       ;;
9818
9819     uts4*)
9820       lt_prog_compiler_pic='-pic'
9821       lt_prog_compiler_static='-Bstatic'
9822       ;;
9823
9824     *)
9825       lt_prog_compiler_can_build_shared=no
9826       ;;
9827     esac
9828   fi
9829
9830 case $host_os in
9831   # For platforms which do not support PIC, -DPIC is meaningless:
9832   *djgpp*)
9833     lt_prog_compiler_pic=
9834     ;;
9835   *)
9836     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9837     ;;
9838 esac
9839
9840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9841 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9842 if ${lt_cv_prog_compiler_pic+:} false; then :
9843   $as_echo_n "(cached) " >&6
9844 else
9845   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9846 fi
9847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9848 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9849 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9850
9851 #
9852 # Check to make sure the PIC flag actually works.
9853 #
9854 if test -n "$lt_prog_compiler_pic"; then
9855   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9856 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9857 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9858   $as_echo_n "(cached) " >&6
9859 else
9860   lt_cv_prog_compiler_pic_works=no
9861    ac_outfile=conftest.$ac_objext
9862    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9863    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9864    # Insert the option either (1) after the last *FLAGS variable, or
9865    # (2) before a word containing "conftest.", or (3) at the end.
9866    # Note that $ac_compile itself does not contain backslashes and begins
9867    # with a dollar sign (not a hyphen), so the echo should work correctly.
9868    # The option is referenced via a variable to avoid confusing sed.
9869    lt_compile=`echo "$ac_compile" | $SED \
9870    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9871    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9872    -e 's:$: $lt_compiler_flag:'`
9873    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9874    (eval "$lt_compile" 2>conftest.err)
9875    ac_status=$?
9876    cat conftest.err >&5
9877    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9878    if (exit $ac_status) && test -s "$ac_outfile"; then
9879      # The compiler can only warn and ignore the option if not recognized
9880      # So say no if there are warnings other than the usual output.
9881      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9882      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9883      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9884        lt_cv_prog_compiler_pic_works=yes
9885      fi
9886    fi
9887    $RM conftest*
9888
9889 fi
9890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9891 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9892
9893 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9894     case $lt_prog_compiler_pic in
9895      "" | " "*) ;;
9896      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9897      esac
9898 else
9899     lt_prog_compiler_pic=
9900      lt_prog_compiler_can_build_shared=no
9901 fi
9902
9903 fi
9904
9905
9906
9907
9908
9909
9910
9911
9912
9913
9914
9915 #
9916 # Check to make sure the static flag actually works.
9917 #
9918 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9920 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9921 if ${lt_cv_prog_compiler_static_works+:} false; then :
9922   $as_echo_n "(cached) " >&6
9923 else
9924   lt_cv_prog_compiler_static_works=no
9925    save_LDFLAGS="$LDFLAGS"
9926    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9927    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9928    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9929      # The linker can only warn and ignore the option if not recognized
9930      # So say no if there are warnings
9931      if test -s conftest.err; then
9932        # Append any errors to the config.log.
9933        cat conftest.err 1>&5
9934        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9935        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9936        if diff conftest.exp conftest.er2 >/dev/null; then
9937          lt_cv_prog_compiler_static_works=yes
9938        fi
9939      else
9940        lt_cv_prog_compiler_static_works=yes
9941      fi
9942    fi
9943    $RM -r conftest*
9944    LDFLAGS="$save_LDFLAGS"
9945
9946 fi
9947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9948 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9949
9950 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9951     :
9952 else
9953     lt_prog_compiler_static=
9954 fi
9955
9956
9957
9958
9959
9960
9961
9962   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9963 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9964 if ${lt_cv_prog_compiler_c_o+:} false; then :
9965   $as_echo_n "(cached) " >&6
9966 else
9967   lt_cv_prog_compiler_c_o=no
9968    $RM -r conftest 2>/dev/null
9969    mkdir conftest
9970    cd conftest
9971    mkdir out
9972    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9973
9974    lt_compiler_flag="-o out/conftest2.$ac_objext"
9975    # Insert the option either (1) after the last *FLAGS variable, or
9976    # (2) before a word containing "conftest.", or (3) at the end.
9977    # Note that $ac_compile itself does not contain backslashes and begins
9978    # with a dollar sign (not a hyphen), so the echo should work correctly.
9979    lt_compile=`echo "$ac_compile" | $SED \
9980    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9981    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9982    -e 's:$: $lt_compiler_flag:'`
9983    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9984    (eval "$lt_compile" 2>out/conftest.err)
9985    ac_status=$?
9986    cat out/conftest.err >&5
9987    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9988    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9989    then
9990      # The compiler can only warn and ignore the option if not recognized
9991      # So say no if there are warnings
9992      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9993      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9994      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9995        lt_cv_prog_compiler_c_o=yes
9996      fi
9997    fi
9998    chmod u+w . 2>&5
9999    $RM conftest*
10000    # SGI C++ compiler will create directory out/ii_files/ for
10001    # template instantiation
10002    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10003    $RM out/* && rmdir out
10004    cd ..
10005    $RM -r conftest
10006    $RM conftest*
10007
10008 fi
10009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10010 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10011
10012
10013
10014
10015
10016
10017   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10018 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10019 if ${lt_cv_prog_compiler_c_o+:} false; then :
10020   $as_echo_n "(cached) " >&6
10021 else
10022   lt_cv_prog_compiler_c_o=no
10023    $RM -r conftest 2>/dev/null
10024    mkdir conftest
10025    cd conftest
10026    mkdir out
10027    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10028
10029    lt_compiler_flag="-o out/conftest2.$ac_objext"
10030    # Insert the option either (1) after the last *FLAGS variable, or
10031    # (2) before a word containing "conftest.", or (3) at the end.
10032    # Note that $ac_compile itself does not contain backslashes and begins
10033    # with a dollar sign (not a hyphen), so the echo should work correctly.
10034    lt_compile=`echo "$ac_compile" | $SED \
10035    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10036    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10037    -e 's:$: $lt_compiler_flag:'`
10038    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10039    (eval "$lt_compile" 2>out/conftest.err)
10040    ac_status=$?
10041    cat out/conftest.err >&5
10042    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10043    if (exit $ac_status) && test -s out/conftest2.$ac_objext
10044    then
10045      # The compiler can only warn and ignore the option if not recognized
10046      # So say no if there are warnings
10047      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10048      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10049      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10050        lt_cv_prog_compiler_c_o=yes
10051      fi
10052    fi
10053    chmod u+w . 2>&5
10054    $RM conftest*
10055    # SGI C++ compiler will create directory out/ii_files/ for
10056    # template instantiation
10057    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10058    $RM out/* && rmdir out
10059    cd ..
10060    $RM -r conftest
10061    $RM conftest*
10062
10063 fi
10064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10065 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10066
10067
10068
10069
10070 hard_links="nottested"
10071 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10072   # do not overwrite the value of need_locks provided by the user
10073   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10074 $as_echo_n "checking if we can lock with hard links... " >&6; }
10075   hard_links=yes
10076   $RM conftest*
10077   ln conftest.a conftest.b 2>/dev/null && hard_links=no
10078   touch conftest.a
10079   ln conftest.a conftest.b 2>&5 || hard_links=no
10080   ln conftest.a conftest.b 2>/dev/null && hard_links=no
10081   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10082 $as_echo "$hard_links" >&6; }
10083   if test "$hard_links" = no; then
10084     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10085 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10086     need_locks=warn
10087   fi
10088 else
10089   need_locks=no
10090 fi
10091
10092
10093
10094
10095
10096
10097   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10098 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10099
10100   runpath_var=
10101   allow_undefined_flag=
10102   always_export_symbols=no
10103   archive_cmds=
10104   archive_expsym_cmds=
10105   compiler_needs_object=no
10106   enable_shared_with_static_runtimes=no
10107   export_dynamic_flag_spec=
10108   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10109   hardcode_automatic=no
10110   hardcode_direct=no
10111   hardcode_direct_absolute=no
10112   hardcode_libdir_flag_spec=
10113   hardcode_libdir_separator=
10114   hardcode_minus_L=no
10115   hardcode_shlibpath_var=unsupported
10116   inherit_rpath=no
10117   link_all_deplibs=unknown
10118   module_cmds=
10119   module_expsym_cmds=
10120   old_archive_from_new_cmds=
10121   old_archive_from_expsyms_cmds=
10122   thread_safe_flag_spec=
10123   whole_archive_flag_spec=
10124   # include_expsyms should be a list of space-separated symbols to be *always*
10125   # included in the symbol list
10126   include_expsyms=
10127   # exclude_expsyms can be an extended regexp of symbols to exclude
10128   # it will be wrapped by ` (' and `)$', so one must not match beginning or
10129   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10130   # as well as any symbol that contains `d'.
10131   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10132   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10133   # platforms (ab)use it in PIC code, but their linkers get confused if
10134   # the symbol is explicitly referenced.  Since portable code cannot
10135   # rely on this symbol name, it's probably fine to never include it in
10136   # preloaded symbol tables.
10137   # Exclude shared library initialization/finalization symbols.
10138   extract_expsyms_cmds=
10139
10140   case $host_os in
10141   cygwin* | mingw* | pw32* | cegcc*)
10142     # FIXME: the MSVC++ port hasn't been tested in a loooong time
10143     # When not using gcc, we currently assume that we are using
10144     # Microsoft Visual C++.
10145     if test "$GCC" != yes; then
10146       with_gnu_ld=no
10147     fi
10148     ;;
10149   interix*)
10150     # we just hope/assume this is gcc and not c89 (= MSVC++)
10151     with_gnu_ld=yes
10152     ;;
10153   openbsd*)
10154     with_gnu_ld=no
10155     ;;
10156   linux* | k*bsd*-gnu | gnu*)
10157     link_all_deplibs=no
10158     ;;
10159   esac
10160
10161   ld_shlibs=yes
10162
10163   # On some targets, GNU ld is compatible enough with the native linker
10164   # that we're better off using the native interface for both.
10165   lt_use_gnu_ld_interface=no
10166   if test "$with_gnu_ld" = yes; then
10167     case $host_os in
10168       aix*)
10169         # The AIX port of GNU ld has always aspired to compatibility
10170         # with the native linker.  However, as the warning in the GNU ld
10171         # block says, versions before 2.19.5* couldn't really create working
10172         # shared libraries, regardless of the interface used.
10173         case `$LD -v 2>&1` in
10174           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10175           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10176           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10177           *)
10178             lt_use_gnu_ld_interface=yes
10179             ;;
10180         esac
10181         ;;
10182       *)
10183         lt_use_gnu_ld_interface=yes
10184         ;;
10185     esac
10186   fi
10187
10188   if test "$lt_use_gnu_ld_interface" = yes; then
10189     # If archive_cmds runs LD, not CC, wlarc should be empty
10190     wlarc='${wl}'
10191
10192     # Set some defaults for GNU ld with shared library support. These
10193     # are reset later if shared libraries are not supported. Putting them
10194     # here allows them to be overridden if necessary.
10195     runpath_var=LD_RUN_PATH
10196     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10197     export_dynamic_flag_spec='${wl}--export-dynamic'
10198     # ancient GNU ld didn't support --whole-archive et. al.
10199     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10200       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10201     else
10202       whole_archive_flag_spec=
10203     fi
10204     supports_anon_versioning=no
10205     case `$LD -v 2>&1` in
10206       *GNU\ gold*) supports_anon_versioning=yes ;;
10207       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10208       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10209       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10210       *\ 2.11.*) ;; # other 2.11 versions
10211       *) supports_anon_versioning=yes ;;
10212     esac
10213
10214     # See if GNU ld supports shared libraries.
10215     case $host_os in
10216     aix[3-9]*)
10217       # On AIX/PPC, the GNU linker is very broken
10218       if test "$host_cpu" != ia64; then
10219         ld_shlibs=no
10220         cat <<_LT_EOF 1>&2
10221
10222 *** Warning: the GNU linker, at least up to release 2.19, is reported
10223 *** to be unable to reliably create shared libraries on AIX.
10224 *** Therefore, libtool is disabling shared libraries support.  If you
10225 *** really care for shared libraries, you may want to install binutils
10226 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10227 *** You will then need to restart the configuration process.
10228
10229 _LT_EOF
10230       fi
10231       ;;
10232
10233     amigaos*)
10234       case $host_cpu in
10235       powerpc)
10236             # see comment about AmigaOS4 .so support
10237             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10238             archive_expsym_cmds=''
10239         ;;
10240       m68k)
10241             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)'
10242             hardcode_libdir_flag_spec='-L$libdir'
10243             hardcode_minus_L=yes
10244         ;;
10245       esac
10246       ;;
10247
10248     beos*)
10249       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10250         allow_undefined_flag=unsupported
10251         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10252         # support --undefined.  This deserves some investigation.  FIXME
10253         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10254       else
10255         ld_shlibs=no
10256       fi
10257       ;;
10258
10259     cygwin* | mingw* | pw32* | cegcc*)
10260       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10261       # as there is no search path for DLLs.
10262       hardcode_libdir_flag_spec='-L$libdir'
10263       export_dynamic_flag_spec='${wl}--export-all-symbols'
10264       allow_undefined_flag=unsupported
10265       always_export_symbols=no
10266       enable_shared_with_static_runtimes=yes
10267       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'
10268       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10269
10270       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10271         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10272         # If the export-symbols file already is a .def file (1st line
10273         # is EXPORTS), use it as is; otherwise, prepend...
10274         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10275           cp $export_symbols $output_objdir/$soname.def;
10276         else
10277           echo EXPORTS > $output_objdir/$soname.def;
10278           cat $export_symbols >> $output_objdir/$soname.def;
10279         fi~
10280         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10281       else
10282         ld_shlibs=no
10283       fi
10284       ;;
10285
10286     haiku*)
10287       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10288       link_all_deplibs=yes
10289       ;;
10290
10291     interix[3-9]*)
10292       hardcode_direct=no
10293       hardcode_shlibpath_var=no
10294       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10295       export_dynamic_flag_spec='${wl}-E'
10296       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10297       # Instead, shared libraries are loaded at an image base (0x10000000 by
10298       # default) and relocated if they conflict, which is a slow very memory
10299       # consuming and fragmenting process.  To avoid this, we pick a random,
10300       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10301       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
10302       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10303       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'
10304       ;;
10305
10306     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10307       tmp_diet=no
10308       if test "$host_os" = linux-dietlibc; then
10309         case $cc_basename in
10310           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
10311         esac
10312       fi
10313       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10314          && test "$tmp_diet" = no
10315       then
10316         tmp_addflag=' $pic_flag'
10317         tmp_sharedflag='-shared'
10318         case $cc_basename,$host_cpu in
10319         pgcc*)                          # Portland Group C compiler
10320           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'
10321           tmp_addflag=' $pic_flag'
10322           ;;
10323         pgf77* | pgf90* | pgf95* | pgfortran*)
10324                                         # Portland Group f77 and f90 compilers
10325           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'
10326           tmp_addflag=' $pic_flag -Mnomain' ;;
10327         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
10328           tmp_addflag=' -i_dynamic' ;;
10329         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
10330           tmp_addflag=' -i_dynamic -nofor_main' ;;
10331         ifc* | ifort*)                  # Intel Fortran compiler
10332           tmp_addflag=' -nofor_main' ;;
10333         lf95*)                          # Lahey Fortran 8.1
10334           whole_archive_flag_spec=
10335           tmp_sharedflag='--shared' ;;
10336         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10337           tmp_sharedflag='-qmkshrobj'
10338           tmp_addflag= ;;
10339         nvcc*)  # Cuda Compiler Driver 2.2
10340           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'
10341           compiler_needs_object=yes
10342           ;;
10343         esac
10344         case `$CC -V 2>&1 | sed 5q` in
10345         *Sun\ C*)                       # Sun C 5.9
10346           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'
10347           compiler_needs_object=yes
10348           tmp_sharedflag='-G' ;;
10349         *Sun\ F*)                       # Sun Fortran 8.3
10350           tmp_sharedflag='-G' ;;
10351         esac
10352         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10353
10354         if test "x$supports_anon_versioning" = xyes; then
10355           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10356             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10357             echo "local: *; };" >> $output_objdir/$libname.ver~
10358             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10359         fi
10360
10361         case $cc_basename in
10362         xlf* | bgf* | bgxlf* | mpixlf*)
10363           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10364           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10365           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10366           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10367           if test "x$supports_anon_versioning" = xyes; then
10368             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10369               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10370               echo "local: *; };" >> $output_objdir/$libname.ver~
10371               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10372           fi
10373           ;;
10374         esac
10375       else
10376         ld_shlibs=no
10377       fi
10378       ;;
10379
10380     netbsd* | netbsdelf*-gnu)
10381       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10382         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10383         wlarc=
10384       else
10385         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10386         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10387       fi
10388       ;;
10389
10390     solaris*)
10391       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10392         ld_shlibs=no
10393         cat <<_LT_EOF 1>&2
10394
10395 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10396 *** create shared libraries on Solaris systems.  Therefore, libtool
10397 *** is disabling shared libraries support.  We urge you to upgrade GNU
10398 *** binutils to release 2.9.1 or newer.  Another option is to modify
10399 *** your PATH or compiler configuration so that the native linker is
10400 *** used, and then restart.
10401
10402 _LT_EOF
10403       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10404         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10405         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10406       else
10407         ld_shlibs=no
10408       fi
10409       ;;
10410
10411     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10412       case `$LD -v 2>&1` in
10413         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10414         ld_shlibs=no
10415         cat <<_LT_EOF 1>&2
10416
10417 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10418 *** reliably create shared libraries on SCO systems.  Therefore, libtool
10419 *** is disabling shared libraries support.  We urge you to upgrade GNU
10420 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
10421 *** your PATH or compiler configuration so that the native linker is
10422 *** used, and then restart.
10423
10424 _LT_EOF
10425         ;;
10426         *)
10427           # For security reasons, it is highly recommended that you always
10428           # use absolute paths for naming shared libraries, and exclude the
10429           # DT_RUNPATH tag from executables and libraries.  But doing so
10430           # requires that you compile everything twice, which is a pain.
10431           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10432             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10433             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10434             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10435           else
10436             ld_shlibs=no
10437           fi
10438         ;;
10439       esac
10440       ;;
10441
10442     sunos4*)
10443       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10444       wlarc=
10445       hardcode_direct=yes
10446       hardcode_shlibpath_var=no
10447       ;;
10448
10449     *)
10450       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10451         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10452         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10453       else
10454         ld_shlibs=no
10455       fi
10456       ;;
10457     esac
10458
10459     if test "$ld_shlibs" = no; then
10460       runpath_var=
10461       hardcode_libdir_flag_spec=
10462       export_dynamic_flag_spec=
10463       whole_archive_flag_spec=
10464     fi
10465   else
10466     # PORTME fill in a description of your system's linker (not GNU ld)
10467     case $host_os in
10468     aix3*)
10469       allow_undefined_flag=unsupported
10470       always_export_symbols=yes
10471       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'
10472       # Note: this linker hardcodes the directories in LIBPATH if there
10473       # are no directories specified by -L.
10474       hardcode_minus_L=yes
10475       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10476         # Neither direct hardcoding nor static linking is supported with a
10477         # broken collect2.
10478         hardcode_direct=unsupported
10479       fi
10480       ;;
10481
10482     aix[4-9]*)
10483       if test "$host_cpu" = ia64; then
10484         # On IA64, the linker does run time linking by default, so we don't
10485         # have to do anything special.
10486         aix_use_runtimelinking=no
10487         exp_sym_flag='-Bexport'
10488         no_entry_flag=""
10489       else
10490         # If we're using GNU nm, then we don't want the "-C" option.
10491         # -C means demangle to AIX nm, but means don't demangle with GNU nm
10492         # Also, AIX nm treats weak defined symbols like other global
10493         # defined symbols, whereas GNU nm marks them as "W".
10494         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10495           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'
10496         else
10497           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'
10498         fi
10499         aix_use_runtimelinking=no
10500
10501         # Test if we are trying to use run time linking or normal
10502         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10503         # need to do runtime linking.
10504         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10505           for ld_flag in $LDFLAGS; do
10506           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10507             aix_use_runtimelinking=yes
10508             break
10509           fi
10510           done
10511           ;;
10512         esac
10513
10514         exp_sym_flag='-bexport'
10515         no_entry_flag='-bnoentry'
10516       fi
10517
10518       # When large executables or shared objects are built, AIX ld can
10519       # have problems creating the table of contents.  If linking a library
10520       # or program results in "error TOC overflow" add -mminimal-toc to
10521       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10522       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10523
10524       archive_cmds=''
10525       hardcode_direct=yes
10526       hardcode_direct_absolute=yes
10527       hardcode_libdir_separator=':'
10528       link_all_deplibs=yes
10529       file_list_spec='${wl}-f,'
10530
10531       if test "$GCC" = yes; then
10532         case $host_os in aix4.[012]|aix4.[012].*)
10533         # We only want to do this on AIX 4.2 and lower, the check
10534         # below for broken collect2 doesn't work under 4.3+
10535           collect2name=`${CC} -print-prog-name=collect2`
10536           if test -f "$collect2name" &&
10537            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10538           then
10539           # We have reworked collect2
10540           :
10541           else
10542           # We have old collect2
10543           hardcode_direct=unsupported
10544           # It fails to find uninstalled libraries when the uninstalled
10545           # path is not listed in the libpath.  Setting hardcode_minus_L
10546           # to unsupported forces relinking
10547           hardcode_minus_L=yes
10548           hardcode_libdir_flag_spec='-L$libdir'
10549           hardcode_libdir_separator=
10550           fi
10551           ;;
10552         esac
10553         shared_flag='-shared'
10554         if test "$aix_use_runtimelinking" = yes; then
10555           shared_flag="$shared_flag "'${wl}-G'
10556         fi
10557         link_all_deplibs=no
10558       else
10559         # not using gcc
10560         if test "$host_cpu" = ia64; then
10561         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10562         # chokes on -Wl,-G. The following line is correct:
10563           shared_flag='-G'
10564         else
10565           if test "$aix_use_runtimelinking" = yes; then
10566             shared_flag='${wl}-G'
10567           else
10568             shared_flag='${wl}-bM:SRE'
10569           fi
10570         fi
10571       fi
10572
10573       export_dynamic_flag_spec='${wl}-bexpall'
10574       # It seems that -bexpall does not export symbols beginning with
10575       # underscore (_), so it is better to generate a list of symbols to export.
10576       always_export_symbols=yes
10577       if test "$aix_use_runtimelinking" = yes; then
10578         # Warning - without using the other runtime loading flags (-brtl),
10579         # -berok will link without error, but may produce a broken library.
10580         allow_undefined_flag='-berok'
10581         # Determine the default libpath from the value encoded in an
10582         # empty executable.
10583         if test "${lt_cv_aix_libpath+set}" = set; then
10584   aix_libpath=$lt_cv_aix_libpath
10585 else
10586   if ${lt_cv_aix_libpath_+:} false; then :
10587   $as_echo_n "(cached) " >&6
10588 else
10589   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10590 /* end confdefs.h.  */
10591
10592 int
10593 main ()
10594 {
10595
10596   ;
10597   return 0;
10598 }
10599 _ACEOF
10600 if ac_fn_c_try_link "$LINENO"; then :
10601
10602   lt_aix_libpath_sed='
10603       /Import File Strings/,/^$/ {
10604           /^0/ {
10605               s/^0  *\([^ ]*\) *$/\1/
10606               p
10607           }
10608       }'
10609   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10610   # Check for a 64-bit object if we didn't find anything.
10611   if test -z "$lt_cv_aix_libpath_"; then
10612     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10613   fi
10614 fi
10615 rm -f core conftest.err conftest.$ac_objext \
10616     conftest$ac_exeext conftest.$ac_ext
10617   if test -z "$lt_cv_aix_libpath_"; then
10618     lt_cv_aix_libpath_="/usr/lib:/lib"
10619   fi
10620
10621 fi
10622
10623   aix_libpath=$lt_cv_aix_libpath_
10624 fi
10625
10626         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10627         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"
10628       else
10629         if test "$host_cpu" = ia64; then
10630           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10631           allow_undefined_flag="-z nodefs"
10632           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"
10633         else
10634          # Determine the default libpath from the value encoded in an
10635          # empty executable.
10636          if test "${lt_cv_aix_libpath+set}" = set; then
10637   aix_libpath=$lt_cv_aix_libpath
10638 else
10639   if ${lt_cv_aix_libpath_+:} false; then :
10640   $as_echo_n "(cached) " >&6
10641 else
10642   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10643 /* end confdefs.h.  */
10644
10645 int
10646 main ()
10647 {
10648
10649   ;
10650   return 0;
10651 }
10652 _ACEOF
10653 if ac_fn_c_try_link "$LINENO"; then :
10654
10655   lt_aix_libpath_sed='
10656       /Import File Strings/,/^$/ {
10657           /^0/ {
10658               s/^0  *\([^ ]*\) *$/\1/
10659               p
10660           }
10661       }'
10662   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10663   # Check for a 64-bit object if we didn't find anything.
10664   if test -z "$lt_cv_aix_libpath_"; then
10665     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10666   fi
10667 fi
10668 rm -f core conftest.err conftest.$ac_objext \
10669     conftest$ac_exeext conftest.$ac_ext
10670   if test -z "$lt_cv_aix_libpath_"; then
10671     lt_cv_aix_libpath_="/usr/lib:/lib"
10672   fi
10673
10674 fi
10675
10676   aix_libpath=$lt_cv_aix_libpath_
10677 fi
10678
10679          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10680           # Warning - without using the other run time loading flags,
10681           # -berok will link without error, but may produce a broken library.
10682           no_undefined_flag=' ${wl}-bernotok'
10683           allow_undefined_flag=' ${wl}-berok'
10684           if test "$with_gnu_ld" = yes; then
10685             # We only use this code for GNU lds that support --whole-archive.
10686             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10687           else
10688             # Exported symbols can be pulled into shared objects from archives
10689             whole_archive_flag_spec='$convenience'
10690           fi
10691           archive_cmds_need_lc=yes
10692           # This is similar to how AIX traditionally builds its shared libraries.
10693           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'
10694         fi
10695       fi
10696       ;;
10697
10698     amigaos*)
10699       case $host_cpu in
10700       powerpc)
10701             # see comment about AmigaOS4 .so support
10702             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10703             archive_expsym_cmds=''
10704         ;;
10705       m68k)
10706             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)'
10707             hardcode_libdir_flag_spec='-L$libdir'
10708             hardcode_minus_L=yes
10709         ;;
10710       esac
10711       ;;
10712
10713     bsdi[45]*)
10714       export_dynamic_flag_spec=-rdynamic
10715       ;;
10716
10717     cygwin* | mingw* | pw32* | cegcc*)
10718       # When not using gcc, we currently assume that we are using
10719       # Microsoft Visual C++.
10720       # hardcode_libdir_flag_spec is actually meaningless, as there is
10721       # no search path for DLLs.
10722       case $cc_basename in
10723       cl*)
10724         # Native MSVC
10725         hardcode_libdir_flag_spec=' '
10726         allow_undefined_flag=unsupported
10727         always_export_symbols=yes
10728         file_list_spec='@'
10729         # Tell ltmain to make .lib files, not .a files.
10730         libext=lib
10731         # Tell ltmain to make .dll files, not .so files.
10732         shrext_cmds=".dll"
10733         # FIXME: Setting linknames here is a bad hack.
10734         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10735         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10736             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
10737           else
10738             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
10739           fi~
10740           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10741           linknames='
10742         # The linker will not automatically build a static lib if we build a DLL.
10743         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10744         enable_shared_with_static_runtimes=yes
10745         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10746         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10747         # Don't use ranlib
10748         old_postinstall_cmds='chmod 644 $oldlib'
10749         postlink_cmds='lt_outputfile="@OUTPUT@"~
10750           lt_tool_outputfile="@TOOL_OUTPUT@"~
10751           case $lt_outputfile in
10752             *.exe|*.EXE) ;;
10753             *)
10754               lt_outputfile="$lt_outputfile.exe"
10755               lt_tool_outputfile="$lt_tool_outputfile.exe"
10756               ;;
10757           esac~
10758           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10759             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10760             $RM "$lt_outputfile.manifest";
10761           fi'
10762         ;;
10763       *)
10764         # Assume MSVC wrapper
10765         hardcode_libdir_flag_spec=' '
10766         allow_undefined_flag=unsupported
10767         # Tell ltmain to make .lib files, not .a files.
10768         libext=lib
10769         # Tell ltmain to make .dll files, not .so files.
10770         shrext_cmds=".dll"
10771         # FIXME: Setting linknames here is a bad hack.
10772         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10773         # The linker will automatically build a .lib file if we build a DLL.
10774         old_archive_from_new_cmds='true'
10775         # FIXME: Should let the user specify the lib program.
10776         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10777         enable_shared_with_static_runtimes=yes
10778         ;;
10779       esac
10780       ;;
10781
10782     darwin* | rhapsody*)
10783
10784
10785   archive_cmds_need_lc=no
10786   hardcode_direct=no
10787   hardcode_automatic=yes
10788   hardcode_shlibpath_var=unsupported
10789   if test "$lt_cv_ld_force_load" = "yes"; then
10790     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\"`'
10791
10792   else
10793     whole_archive_flag_spec=''
10794   fi
10795   link_all_deplibs=yes
10796   allow_undefined_flag="$_lt_dar_allow_undefined"
10797   case $cc_basename in
10798      ifort*) _lt_dar_can_shared=yes ;;
10799      *) _lt_dar_can_shared=$GCC ;;
10800   esac
10801   if test "$_lt_dar_can_shared" = "yes"; then
10802     output_verbose_link_cmd=func_echo_all
10803     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10804     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10805     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}"
10806     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}"
10807
10808   else
10809   ld_shlibs=no
10810   fi
10811
10812       ;;
10813
10814     dgux*)
10815       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10816       hardcode_libdir_flag_spec='-L$libdir'
10817       hardcode_shlibpath_var=no
10818       ;;
10819
10820     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10821     # support.  Future versions do this automatically, but an explicit c++rt0.o
10822     # does not break anything, and helps significantly (at the cost of a little
10823     # extra space).
10824     freebsd2.2*)
10825       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10826       hardcode_libdir_flag_spec='-R$libdir'
10827       hardcode_direct=yes
10828       hardcode_shlibpath_var=no
10829       ;;
10830
10831     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10832     freebsd2.*)
10833       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10834       hardcode_direct=yes
10835       hardcode_minus_L=yes
10836       hardcode_shlibpath_var=no
10837       ;;
10838
10839     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10840     freebsd* | dragonfly*)
10841       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10842       hardcode_libdir_flag_spec='-R$libdir'
10843       hardcode_direct=yes
10844       hardcode_shlibpath_var=no
10845       ;;
10846
10847     hpux9*)
10848       if test "$GCC" = yes; then
10849         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'
10850       else
10851         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'
10852       fi
10853       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10854       hardcode_libdir_separator=:
10855       hardcode_direct=yes
10856
10857       # hardcode_minus_L: Not really in the search PATH,
10858       # but as the default location of the library.
10859       hardcode_minus_L=yes
10860       export_dynamic_flag_spec='${wl}-E'
10861       ;;
10862
10863     hpux10*)
10864       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10865         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10866       else
10867         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10868       fi
10869       if test "$with_gnu_ld" = no; then
10870         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10871         hardcode_libdir_separator=:
10872         hardcode_direct=yes
10873         hardcode_direct_absolute=yes
10874         export_dynamic_flag_spec='${wl}-E'
10875         # hardcode_minus_L: Not really in the search PATH,
10876         # but as the default location of the library.
10877         hardcode_minus_L=yes
10878       fi
10879       ;;
10880
10881     hpux11*)
10882       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10883         case $host_cpu in
10884         hppa*64*)
10885           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10886           ;;
10887         ia64*)
10888           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10889           ;;
10890         *)
10891           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10892           ;;
10893         esac
10894       else
10895         case $host_cpu in
10896         hppa*64*)
10897           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10898           ;;
10899         ia64*)
10900           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10901           ;;
10902         *)
10903
10904           # Older versions of the 11.00 compiler do not understand -b yet
10905           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10906           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10907 $as_echo_n "checking if $CC understands -b... " >&6; }
10908 if ${lt_cv_prog_compiler__b+:} false; then :
10909   $as_echo_n "(cached) " >&6
10910 else
10911   lt_cv_prog_compiler__b=no
10912    save_LDFLAGS="$LDFLAGS"
10913    LDFLAGS="$LDFLAGS -b"
10914    echo "$lt_simple_link_test_code" > conftest.$ac_ext
10915    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10916      # The linker can only warn and ignore the option if not recognized
10917      # So say no if there are warnings
10918      if test -s conftest.err; then
10919        # Append any errors to the config.log.
10920        cat conftest.err 1>&5
10921        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10922        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10923        if diff conftest.exp conftest.er2 >/dev/null; then
10924          lt_cv_prog_compiler__b=yes
10925        fi
10926      else
10927        lt_cv_prog_compiler__b=yes
10928      fi
10929    fi
10930    $RM -r conftest*
10931    LDFLAGS="$save_LDFLAGS"
10932
10933 fi
10934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10935 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10936
10937 if test x"$lt_cv_prog_compiler__b" = xyes; then
10938     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10939 else
10940     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10941 fi
10942
10943           ;;
10944         esac
10945       fi
10946       if test "$with_gnu_ld" = no; then
10947         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10948         hardcode_libdir_separator=:
10949
10950         case $host_cpu in
10951         hppa*64*|ia64*)
10952           hardcode_direct=no
10953           hardcode_shlibpath_var=no
10954           ;;
10955         *)
10956           hardcode_direct=yes
10957           hardcode_direct_absolute=yes
10958           export_dynamic_flag_spec='${wl}-E'
10959
10960           # hardcode_minus_L: Not really in the search PATH,
10961           # but as the default location of the library.
10962           hardcode_minus_L=yes
10963           ;;
10964         esac
10965       fi
10966       ;;
10967
10968     irix5* | irix6* | nonstopux*)
10969       if test "$GCC" = yes; then
10970         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'
10971         # Try to use the -exported_symbol ld option, if it does not
10972         # work, assume that -exports_file does not work either and
10973         # implicitly export all symbols.
10974         # This should be the same for all languages, so no per-tag cache variable.
10975         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10976 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10977 if ${lt_cv_irix_exported_symbol+:} false; then :
10978   $as_echo_n "(cached) " >&6
10979 else
10980   save_LDFLAGS="$LDFLAGS"
10981            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10982            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10983 /* end confdefs.h.  */
10984 int foo (void) { return 0; }
10985 _ACEOF
10986 if ac_fn_c_try_link "$LINENO"; then :
10987   lt_cv_irix_exported_symbol=yes
10988 else
10989   lt_cv_irix_exported_symbol=no
10990 fi
10991 rm -f core conftest.err conftest.$ac_objext \
10992     conftest$ac_exeext conftest.$ac_ext
10993            LDFLAGS="$save_LDFLAGS"
10994 fi
10995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10996 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10997         if test "$lt_cv_irix_exported_symbol" = yes; then
10998           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'
10999         fi
11000       else
11001         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'
11002         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'
11003       fi
11004       archive_cmds_need_lc='no'
11005       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11006       hardcode_libdir_separator=:
11007       inherit_rpath=yes
11008       link_all_deplibs=yes
11009       ;;
11010
11011     netbsd* | netbsdelf*-gnu)
11012       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11013         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
11014       else
11015         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
11016       fi
11017       hardcode_libdir_flag_spec='-R$libdir'
11018       hardcode_direct=yes
11019       hardcode_shlibpath_var=no
11020       ;;
11021
11022     newsos6)
11023       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11024       hardcode_direct=yes
11025       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11026       hardcode_libdir_separator=:
11027       hardcode_shlibpath_var=no
11028       ;;
11029
11030     *nto* | *qnx*)
11031       ;;
11032
11033     openbsd*)
11034       if test -f /usr/libexec/ld.so; then
11035         hardcode_direct=yes
11036         hardcode_shlibpath_var=no
11037         hardcode_direct_absolute=yes
11038         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11039           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11040           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11041           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11042           export_dynamic_flag_spec='${wl}-E'
11043         else
11044           case $host_os in
11045            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
11046              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11047              hardcode_libdir_flag_spec='-R$libdir'
11048              ;;
11049            *)
11050              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11051              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11052              ;;
11053           esac
11054         fi
11055       else
11056         ld_shlibs=no
11057       fi
11058       ;;
11059
11060     os2*)
11061       hardcode_libdir_flag_spec='-L$libdir'
11062       hardcode_minus_L=yes
11063       allow_undefined_flag=unsupported
11064       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'
11065       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11066       ;;
11067
11068     osf3*)
11069       if test "$GCC" = yes; then
11070         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11071         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'
11072       else
11073         allow_undefined_flag=' -expect_unresolved \*'
11074         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'
11075       fi
11076       archive_cmds_need_lc='no'
11077       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11078       hardcode_libdir_separator=:
11079       ;;
11080
11081     osf4* | osf5*)      # as osf3* with the addition of -msym flag
11082       if test "$GCC" = yes; then
11083         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11084         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'
11085         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11086       else
11087         allow_undefined_flag=' -expect_unresolved \*'
11088         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'
11089         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~
11090         $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'
11091
11092         # Both c and cxx compiler support -rpath directly
11093         hardcode_libdir_flag_spec='-rpath $libdir'
11094       fi
11095       archive_cmds_need_lc='no'
11096       hardcode_libdir_separator=:
11097       ;;
11098
11099     solaris*)
11100       no_undefined_flag=' -z defs'
11101       if test "$GCC" = yes; then
11102         wlarc='${wl}'
11103         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11104         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11105           $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'
11106       else
11107         case `$CC -V 2>&1` in
11108         *"Compilers 5.0"*)
11109           wlarc=''
11110           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11111           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11112           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11113           ;;
11114         *)
11115           wlarc='${wl}'
11116           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11117           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11118           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11119           ;;
11120         esac
11121       fi
11122       hardcode_libdir_flag_spec='-R$libdir'
11123       hardcode_shlibpath_var=no
11124       case $host_os in
11125       solaris2.[0-5] | solaris2.[0-5].*) ;;
11126       *)
11127         # The compiler driver will combine and reorder linker options,
11128         # but understands `-z linker_flag'.  GCC discards it without `$wl',
11129         # but is careful enough not to reorder.
11130         # Supported since Solaris 2.6 (maybe 2.5.1?)
11131         if test "$GCC" = yes; then
11132           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11133         else
11134           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11135         fi
11136         ;;
11137       esac
11138       link_all_deplibs=yes
11139       ;;
11140
11141     sunos4*)
11142       if test "x$host_vendor" = xsequent; then
11143         # Use $CC to link under sequent, because it throws in some extra .o
11144         # files that make .init and .fini sections work.
11145         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11146       else
11147         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11148       fi
11149       hardcode_libdir_flag_spec='-L$libdir'
11150       hardcode_direct=yes
11151       hardcode_minus_L=yes
11152       hardcode_shlibpath_var=no
11153       ;;
11154
11155     sysv4)
11156       case $host_vendor in
11157         sni)
11158           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11159           hardcode_direct=yes # is this really true???
11160         ;;
11161         siemens)
11162           ## LD is ld it makes a PLAMLIB
11163           ## CC just makes a GrossModule.
11164           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11165           reload_cmds='$CC -r -o $output$reload_objs'
11166           hardcode_direct=no
11167         ;;
11168         motorola)
11169           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11170           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11171         ;;
11172       esac
11173       runpath_var='LD_RUN_PATH'
11174       hardcode_shlibpath_var=no
11175       ;;
11176
11177     sysv4.3*)
11178       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11179       hardcode_shlibpath_var=no
11180       export_dynamic_flag_spec='-Bexport'
11181       ;;
11182
11183     sysv4*MP*)
11184       if test -d /usr/nec; then
11185         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11186         hardcode_shlibpath_var=no
11187         runpath_var=LD_RUN_PATH
11188         hardcode_runpath_var=yes
11189         ld_shlibs=yes
11190       fi
11191       ;;
11192
11193     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11194       no_undefined_flag='${wl}-z,text'
11195       archive_cmds_need_lc=no
11196       hardcode_shlibpath_var=no
11197       runpath_var='LD_RUN_PATH'
11198
11199       if test "$GCC" = yes; then
11200         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11201         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11202       else
11203         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11204         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11205       fi
11206       ;;
11207
11208     sysv5* | sco3.2v5* | sco5v6*)
11209       # Note: We can NOT use -z defs as we might desire, because we do not
11210       # link with -lc, and that would cause any symbols used from libc to
11211       # always be unresolved, which means just about no library would
11212       # ever link correctly.  If we're not using GNU ld we use -z text
11213       # though, which does catch some bad symbols but isn't as heavy-handed
11214       # as -z defs.
11215       no_undefined_flag='${wl}-z,text'
11216       allow_undefined_flag='${wl}-z,nodefs'
11217       archive_cmds_need_lc=no
11218       hardcode_shlibpath_var=no
11219       hardcode_libdir_flag_spec='${wl}-R,$libdir'
11220       hardcode_libdir_separator=':'
11221       link_all_deplibs=yes
11222       export_dynamic_flag_spec='${wl}-Bexport'
11223       runpath_var='LD_RUN_PATH'
11224
11225       if test "$GCC" = yes; then
11226         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11227         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11228       else
11229         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11230         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11231       fi
11232       ;;
11233
11234     uts4*)
11235       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11236       hardcode_libdir_flag_spec='-L$libdir'
11237       hardcode_shlibpath_var=no
11238       ;;
11239
11240     *)
11241       ld_shlibs=no
11242       ;;
11243     esac
11244
11245     if test x$host_vendor = xsni; then
11246       case $host in
11247       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11248         export_dynamic_flag_spec='${wl}-Blargedynsym'
11249         ;;
11250       esac
11251     fi
11252   fi
11253
11254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11255 $as_echo "$ld_shlibs" >&6; }
11256 test "$ld_shlibs" = no && can_build_shared=no
11257
11258 with_gnu_ld=$with_gnu_ld
11259
11260
11261
11262
11263
11264
11265
11266
11267
11268
11269
11270
11271
11272
11273
11274 #
11275 # Do we need to explicitly link libc?
11276 #
11277 case "x$archive_cmds_need_lc" in
11278 x|xyes)
11279   # Assume -lc should be added
11280   archive_cmds_need_lc=yes
11281
11282   if test "$enable_shared" = yes && test "$GCC" = yes; then
11283     case $archive_cmds in
11284     *'~'*)
11285       # FIXME: we may have to deal with multi-command sequences.
11286       ;;
11287     '$CC '*)
11288       # Test whether the compiler implicitly links with -lc since on some
11289       # systems, -lgcc has to come before -lc. If gcc already passes -lc
11290       # to ld, don't add -lc before -lgcc.
11291       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11292 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11293 if ${lt_cv_archive_cmds_need_lc+:} false; then :
11294   $as_echo_n "(cached) " >&6
11295 else
11296   $RM conftest*
11297         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11298
11299         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11300   (eval $ac_compile) 2>&5
11301   ac_status=$?
11302   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11303   test $ac_status = 0; } 2>conftest.err; then
11304           soname=conftest
11305           lib=conftest
11306           libobjs=conftest.$ac_objext
11307           deplibs=
11308           wl=$lt_prog_compiler_wl
11309           pic_flag=$lt_prog_compiler_pic
11310           compiler_flags=-v
11311           linker_flags=-v
11312           verstring=
11313           output_objdir=.
11314           libname=conftest
11315           lt_save_allow_undefined_flag=$allow_undefined_flag
11316           allow_undefined_flag=
11317           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11318   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11319   ac_status=$?
11320   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11321   test $ac_status = 0; }
11322           then
11323             lt_cv_archive_cmds_need_lc=no
11324           else
11325             lt_cv_archive_cmds_need_lc=yes
11326           fi
11327           allow_undefined_flag=$lt_save_allow_undefined_flag
11328         else
11329           cat conftest.err 1>&5
11330         fi
11331         $RM conftest*
11332
11333 fi
11334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11335 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11336       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11337       ;;
11338     esac
11339   fi
11340   ;;
11341 esac
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11495 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11496
11497 if test "$GCC" = yes; then
11498   case $host_os in
11499     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11500     *) lt_awk_arg="/^libraries:/" ;;
11501   esac
11502   case $host_os in
11503     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11504     *) lt_sed_strip_eq="s,=/,/,g" ;;
11505   esac
11506   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11507   case $lt_search_path_spec in
11508   *\;*)
11509     # if the path contains ";" then we assume it to be the separator
11510     # otherwise default to the standard path separator (i.e. ":") - it is
11511     # assumed that no part of a normal pathname contains ";" but that should
11512     # okay in the real world where ";" in dirpaths is itself problematic.
11513     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11514     ;;
11515   *)
11516     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11517     ;;
11518   esac
11519   # Ok, now we have the path, separated by spaces, we can step through it
11520   # and add multilib dir if necessary.
11521   lt_tmp_lt_search_path_spec=
11522   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11523   for lt_sys_path in $lt_search_path_spec; do
11524     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11525       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11526     else
11527       test -d "$lt_sys_path" && \
11528         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11529     fi
11530   done
11531   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11532 BEGIN {RS=" "; FS="/|\n";} {
11533   lt_foo="";
11534   lt_count=0;
11535   for (lt_i = NF; lt_i > 0; lt_i--) {
11536     if ($lt_i != "" && $lt_i != ".") {
11537       if ($lt_i == "..") {
11538         lt_count++;
11539       } else {
11540         if (lt_count == 0) {
11541           lt_foo="/" $lt_i lt_foo;
11542         } else {
11543           lt_count--;
11544         }
11545       }
11546     }
11547   }
11548   if (lt_foo != "") { lt_freq[lt_foo]++; }
11549   if (lt_freq[lt_foo] == 1) { print lt_foo; }
11550 }'`
11551   # AWK program above erroneously prepends '/' to C:/dos/paths
11552   # for these hosts.
11553   case $host_os in
11554     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11555       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11556   esac
11557   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11558 else
11559   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11560 fi
11561 library_names_spec=
11562 libname_spec='lib$name'
11563 soname_spec=
11564 shrext_cmds=".so"
11565 postinstall_cmds=
11566 postuninstall_cmds=
11567 finish_cmds=
11568 finish_eval=
11569 shlibpath_var=
11570 shlibpath_overrides_runpath=unknown
11571 version_type=none
11572 dynamic_linker="$host_os ld.so"
11573 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11574 need_lib_prefix=unknown
11575 hardcode_into_libs=no
11576
11577 # when you set need_version to no, make sure it does not cause -set_version
11578 # flags to be left without arguments
11579 need_version=unknown
11580
11581 case $host_os in
11582 aix3*)
11583   version_type=linux # correct to gnu/linux during the next big refactor
11584   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11585   shlibpath_var=LIBPATH
11586
11587   # AIX 3 has no versioning support, so we append a major version to the name.
11588   soname_spec='${libname}${release}${shared_ext}$major'
11589   ;;
11590
11591 aix[4-9]*)
11592   version_type=linux # correct to gnu/linux during the next big refactor
11593   need_lib_prefix=no
11594   need_version=no
11595   hardcode_into_libs=yes
11596   if test "$host_cpu" = ia64; then
11597     # AIX 5 supports IA64
11598     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11599     shlibpath_var=LD_LIBRARY_PATH
11600   else
11601     # With GCC up to 2.95.x, collect2 would create an import file
11602     # for dependence libraries.  The import file would start with
11603     # the line `#! .'.  This would cause the generated library to
11604     # depend on `.', always an invalid library.  This was fixed in
11605     # development snapshots of GCC prior to 3.0.
11606     case $host_os in
11607       aix4 | aix4.[01] | aix4.[01].*)
11608       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11609            echo ' yes '
11610            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11611         :
11612       else
11613         can_build_shared=no
11614       fi
11615       ;;
11616     esac
11617     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11618     # soname into executable. Probably we can add versioning support to
11619     # collect2, so additional links can be useful in future.
11620     if test "$aix_use_runtimelinking" = yes; then
11621       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11622       # instead of lib<name>.a to let people know that these are not
11623       # typical AIX shared libraries.
11624       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11625     else
11626       # We preserve .a as extension for shared libraries through AIX4.2
11627       # and later when we are not doing run time linking.
11628       library_names_spec='${libname}${release}.a $libname.a'
11629       soname_spec='${libname}${release}${shared_ext}$major'
11630     fi
11631     shlibpath_var=LIBPATH
11632   fi
11633   ;;
11634
11635 amigaos*)
11636   case $host_cpu in
11637   powerpc)
11638     # Since July 2007 AmigaOS4 officially supports .so libraries.
11639     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11640     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11641     ;;
11642   m68k)
11643     library_names_spec='$libname.ixlibrary $libname.a'
11644     # Create ${libname}_ixlibrary.a entries in /sys/libs.
11645     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'
11646     ;;
11647   esac
11648   ;;
11649
11650 beos*)
11651   library_names_spec='${libname}${shared_ext}'
11652   dynamic_linker="$host_os ld.so"
11653   shlibpath_var=LIBRARY_PATH
11654   ;;
11655
11656 bsdi[45]*)
11657   version_type=linux # correct to gnu/linux during the next big refactor
11658   need_version=no
11659   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11660   soname_spec='${libname}${release}${shared_ext}$major'
11661   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11662   shlibpath_var=LD_LIBRARY_PATH
11663   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11664   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11665   # the default ld.so.conf also contains /usr/contrib/lib and
11666   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11667   # libtool to hard-code these into programs
11668   ;;
11669
11670 cygwin* | mingw* | pw32* | cegcc*)
11671   version_type=windows
11672   shrext_cmds=".dll"
11673   need_version=no
11674   need_lib_prefix=no
11675
11676   case $GCC,$cc_basename in
11677   yes,*)
11678     # gcc
11679     library_names_spec='$libname.dll.a'
11680     # DLL is installed to $(libdir)/../bin by postinstall_cmds
11681     postinstall_cmds='base_file=`basename \${file}`~
11682       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11683       dldir=$destdir/`dirname \$dlpath`~
11684       test -d \$dldir || mkdir -p \$dldir~
11685       $install_prog $dir/$dlname \$dldir/$dlname~
11686       chmod a+x \$dldir/$dlname~
11687       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11688         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11689       fi'
11690     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11691       dlpath=$dir/\$dldll~
11692        $RM \$dlpath'
11693     shlibpath_overrides_runpath=yes
11694
11695     case $host_os in
11696     cygwin*)
11697       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11698       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11699
11700       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11701       ;;
11702     mingw* | cegcc*)
11703       # MinGW DLLs use traditional 'lib' prefix
11704       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11705       ;;
11706     pw32*)
11707       # pw32 DLLs use 'pw' prefix rather than 'lib'
11708       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11709       ;;
11710     esac
11711     dynamic_linker='Win32 ld.exe'
11712     ;;
11713
11714   *,cl*)
11715     # Native MSVC
11716     libname_spec='$name'
11717     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11718     library_names_spec='${libname}.dll.lib'
11719
11720     case $build_os in
11721     mingw*)
11722       sys_lib_search_path_spec=
11723       lt_save_ifs=$IFS
11724       IFS=';'
11725       for lt_path in $LIB
11726       do
11727         IFS=$lt_save_ifs
11728         # Let DOS variable expansion print the short 8.3 style file name.
11729         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11730         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11731       done
11732       IFS=$lt_save_ifs
11733       # Convert to MSYS style.
11734       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11735       ;;
11736     cygwin*)
11737       # Convert to unix form, then to dos form, then back to unix form
11738       # but this time dos style (no spaces!) so that the unix form looks
11739       # like /cygdrive/c/PROGRA~1:/cygdr...
11740       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11741       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11742       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11743       ;;
11744     *)
11745       sys_lib_search_path_spec="$LIB"
11746       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11747         # It is most probably a Windows format PATH.
11748         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11749       else
11750         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11751       fi
11752       # FIXME: find the short name or the path components, as spaces are
11753       # common. (e.g. "Program Files" -> "PROGRA~1")
11754       ;;
11755     esac
11756
11757     # DLL is installed to $(libdir)/../bin by postinstall_cmds
11758     postinstall_cmds='base_file=`basename \${file}`~
11759       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11760       dldir=$destdir/`dirname \$dlpath`~
11761       test -d \$dldir || mkdir -p \$dldir~
11762       $install_prog $dir/$dlname \$dldir/$dlname'
11763     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11764       dlpath=$dir/\$dldll~
11765        $RM \$dlpath'
11766     shlibpath_overrides_runpath=yes
11767     dynamic_linker='Win32 link.exe'
11768     ;;
11769
11770   *)
11771     # Assume MSVC wrapper
11772     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11773     dynamic_linker='Win32 ld.exe'
11774     ;;
11775   esac
11776   # FIXME: first we should search . and the directory the executable is in
11777   shlibpath_var=PATH
11778   ;;
11779
11780 darwin* | rhapsody*)
11781   dynamic_linker="$host_os dyld"
11782   version_type=darwin
11783   need_lib_prefix=no
11784   need_version=no
11785   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11786   soname_spec='${libname}${release}${major}$shared_ext'
11787   shlibpath_overrides_runpath=yes
11788   shlibpath_var=DYLD_LIBRARY_PATH
11789   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11790
11791   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11792   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11793   ;;
11794
11795 dgux*)
11796   version_type=linux # correct to gnu/linux during the next big refactor
11797   need_lib_prefix=no
11798   need_version=no
11799   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11800   soname_spec='${libname}${release}${shared_ext}$major'
11801   shlibpath_var=LD_LIBRARY_PATH
11802   ;;
11803
11804 freebsd* | dragonfly*)
11805   # DragonFly does not have aout.  When/if they implement a new
11806   # versioning mechanism, adjust this.
11807   if test -x /usr/bin/objformat; then
11808     objformat=`/usr/bin/objformat`
11809   else
11810     case $host_os in
11811     freebsd[23].*) objformat=aout ;;
11812     *) objformat=elf ;;
11813     esac
11814   fi
11815   version_type=freebsd-$objformat
11816   case $version_type in
11817     freebsd-elf*)
11818       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11819       need_version=no
11820       need_lib_prefix=no
11821       ;;
11822     freebsd-*)
11823       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11824       need_version=yes
11825       ;;
11826   esac
11827   shlibpath_var=LD_LIBRARY_PATH
11828   case $host_os in
11829   freebsd2.*)
11830     shlibpath_overrides_runpath=yes
11831     ;;
11832   freebsd3.[01]* | freebsdelf3.[01]*)
11833     shlibpath_overrides_runpath=yes
11834     hardcode_into_libs=yes
11835     ;;
11836   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11837   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11838     shlibpath_overrides_runpath=no
11839     hardcode_into_libs=yes
11840     ;;
11841   *) # from 4.6 on, and DragonFly
11842     shlibpath_overrides_runpath=yes
11843     hardcode_into_libs=yes
11844     ;;
11845   esac
11846   ;;
11847
11848 gnu*)
11849   version_type=linux # correct to gnu/linux during the next big refactor
11850   need_lib_prefix=no
11851   need_version=no
11852   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11853   soname_spec='${libname}${release}${shared_ext}$major'
11854   shlibpath_var=LD_LIBRARY_PATH
11855   shlibpath_overrides_runpath=no
11856   hardcode_into_libs=yes
11857   ;;
11858
11859 haiku*)
11860   version_type=linux # correct to gnu/linux during the next big refactor
11861   need_lib_prefix=no
11862   need_version=no
11863   dynamic_linker="$host_os runtime_loader"
11864   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11865   soname_spec='${libname}${release}${shared_ext}$major'
11866   shlibpath_var=LIBRARY_PATH
11867   shlibpath_overrides_runpath=yes
11868   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11869   hardcode_into_libs=yes
11870   ;;
11871
11872 hpux9* | hpux10* | hpux11*)
11873   # Give a soname corresponding to the major version so that dld.sl refuses to
11874   # link against other versions.
11875   version_type=sunos
11876   need_lib_prefix=no
11877   need_version=no
11878   case $host_cpu in
11879   ia64*)
11880     shrext_cmds='.so'
11881     hardcode_into_libs=yes
11882     dynamic_linker="$host_os dld.so"
11883     shlibpath_var=LD_LIBRARY_PATH
11884     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11885     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11886     soname_spec='${libname}${release}${shared_ext}$major'
11887     if test "X$HPUX_IA64_MODE" = X32; then
11888       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11889     else
11890       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11891     fi
11892     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11893     ;;
11894   hppa*64*)
11895     shrext_cmds='.sl'
11896     hardcode_into_libs=yes
11897     dynamic_linker="$host_os dld.sl"
11898     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11899     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11900     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11901     soname_spec='${libname}${release}${shared_ext}$major'
11902     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11903     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11904     ;;
11905   *)
11906     shrext_cmds='.sl'
11907     dynamic_linker="$host_os dld.sl"
11908     shlibpath_var=SHLIB_PATH
11909     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11910     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11911     soname_spec='${libname}${release}${shared_ext}$major'
11912     ;;
11913   esac
11914   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11915   postinstall_cmds='chmod 555 $lib'
11916   # or fails outright, so override atomically:
11917   install_override_mode=555
11918   ;;
11919
11920 interix[3-9]*)
11921   version_type=linux # correct to gnu/linux during the next big refactor
11922   need_lib_prefix=no
11923   need_version=no
11924   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11925   soname_spec='${libname}${release}${shared_ext}$major'
11926   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11927   shlibpath_var=LD_LIBRARY_PATH
11928   shlibpath_overrides_runpath=no
11929   hardcode_into_libs=yes
11930   ;;
11931
11932 irix5* | irix6* | nonstopux*)
11933   case $host_os in
11934     nonstopux*) version_type=nonstopux ;;
11935     *)
11936         if test "$lt_cv_prog_gnu_ld" = yes; then
11937                 version_type=linux # correct to gnu/linux during the next big refactor
11938         else
11939                 version_type=irix
11940         fi ;;
11941   esac
11942   need_lib_prefix=no
11943   need_version=no
11944   soname_spec='${libname}${release}${shared_ext}$major'
11945   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11946   case $host_os in
11947   irix5* | nonstopux*)
11948     libsuff= shlibsuff=
11949     ;;
11950   *)
11951     case $LD in # libtool.m4 will add one of these switches to LD
11952     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11953       libsuff= shlibsuff= libmagic=32-bit;;
11954     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11955       libsuff=32 shlibsuff=N32 libmagic=N32;;
11956     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11957       libsuff=64 shlibsuff=64 libmagic=64-bit;;
11958     *) libsuff= shlibsuff= libmagic=never-match;;
11959     esac
11960     ;;
11961   esac
11962   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11963   shlibpath_overrides_runpath=no
11964   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11965   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11966   hardcode_into_libs=yes
11967   ;;
11968
11969 # No shared lib support for Linux oldld, aout, or coff.
11970 linux*oldld* | linux*aout* | linux*coff*)
11971   dynamic_linker=no
11972   ;;
11973
11974 # This must be glibc/ELF.
11975 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11976   version_type=linux # correct to gnu/linux during the next big refactor
11977   need_lib_prefix=no
11978   need_version=no
11979   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11980   soname_spec='${libname}${release}${shared_ext}$major'
11981   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11982   shlibpath_var=LD_LIBRARY_PATH
11983   shlibpath_overrides_runpath=no
11984
11985   # Some binutils ld are patched to set DT_RUNPATH
11986   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11987   $as_echo_n "(cached) " >&6
11988 else
11989   lt_cv_shlibpath_overrides_runpath=no
11990     save_LDFLAGS=$LDFLAGS
11991     save_libdir=$libdir
11992     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11993          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11994     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11995 /* end confdefs.h.  */
11996
11997 int
11998 main ()
11999 {
12000
12001   ;
12002   return 0;
12003 }
12004 _ACEOF
12005 if ac_fn_c_try_link "$LINENO"; then :
12006   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12007   lt_cv_shlibpath_overrides_runpath=yes
12008 fi
12009 fi
12010 rm -f core conftest.err conftest.$ac_objext \
12011     conftest$ac_exeext conftest.$ac_ext
12012     LDFLAGS=$save_LDFLAGS
12013     libdir=$save_libdir
12014
12015 fi
12016
12017   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
12018
12019   # This implies no fast_install, which is unacceptable.
12020   # Some rework will be needed to allow for fast_install
12021   # before this can be enabled.
12022   hardcode_into_libs=yes
12023
12024   # Append ld.so.conf contents to the search path
12025   if test -f /etc/ld.so.conf; then
12026     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' ' '`
12027     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12028   fi
12029
12030   # We used to test for /lib/ld.so.1 and disable shared libraries on
12031   # powerpc, because MkLinux only supported shared libraries with the
12032   # GNU dynamic linker.  Since this was broken with cross compilers,
12033   # most powerpc-linux boxes support dynamic linking these days and
12034   # people can always --disable-shared, the test was removed, and we
12035   # assume the GNU/Linux dynamic linker is in use.
12036   dynamic_linker='GNU/Linux ld.so'
12037   ;;
12038
12039 netbsdelf*-gnu)
12040   version_type=linux
12041   need_lib_prefix=no
12042   need_version=no
12043   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12044   soname_spec='${libname}${release}${shared_ext}$major'
12045   shlibpath_var=LD_LIBRARY_PATH
12046   shlibpath_overrides_runpath=no
12047   hardcode_into_libs=yes
12048   dynamic_linker='NetBSD ld.elf_so'
12049   ;;
12050
12051 netbsd*)
12052   version_type=sunos
12053   need_lib_prefix=no
12054   need_version=no
12055   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12056     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12057     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12058     dynamic_linker='NetBSD (a.out) ld.so'
12059   else
12060     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12061     soname_spec='${libname}${release}${shared_ext}$major'
12062     dynamic_linker='NetBSD ld.elf_so'
12063   fi
12064   shlibpath_var=LD_LIBRARY_PATH
12065   shlibpath_overrides_runpath=yes
12066   hardcode_into_libs=yes
12067   ;;
12068
12069 newsos6)
12070   version_type=linux # correct to gnu/linux during the next big refactor
12071   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12072   shlibpath_var=LD_LIBRARY_PATH
12073   shlibpath_overrides_runpath=yes
12074   ;;
12075
12076 *nto* | *qnx*)
12077   version_type=qnx
12078   need_lib_prefix=no
12079   need_version=no
12080   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12081   soname_spec='${libname}${release}${shared_ext}$major'
12082   shlibpath_var=LD_LIBRARY_PATH
12083   shlibpath_overrides_runpath=no
12084   hardcode_into_libs=yes
12085   dynamic_linker='ldqnx.so'
12086   ;;
12087
12088 openbsd*)
12089   version_type=sunos
12090   sys_lib_dlsearch_path_spec="/usr/lib"
12091   need_lib_prefix=no
12092   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12093   case $host_os in
12094     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
12095     *)                          need_version=no  ;;
12096   esac
12097   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12098   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12099   shlibpath_var=LD_LIBRARY_PATH
12100   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12101     case $host_os in
12102       openbsd2.[89] | openbsd2.[89].*)
12103         shlibpath_overrides_runpath=no
12104         ;;
12105       *)
12106         shlibpath_overrides_runpath=yes
12107         ;;
12108       esac
12109   else
12110     shlibpath_overrides_runpath=yes
12111   fi
12112   ;;
12113
12114 os2*)
12115   libname_spec='$name'
12116   shrext_cmds=".dll"
12117   need_lib_prefix=no
12118   library_names_spec='$libname${shared_ext} $libname.a'
12119   dynamic_linker='OS/2 ld.exe'
12120   shlibpath_var=LIBPATH
12121   ;;
12122
12123 osf3* | osf4* | osf5*)
12124   version_type=osf
12125   need_lib_prefix=no
12126   need_version=no
12127   soname_spec='${libname}${release}${shared_ext}$major'
12128   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12129   shlibpath_var=LD_LIBRARY_PATH
12130   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12131   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
12132   ;;
12133
12134 rdos*)
12135   dynamic_linker=no
12136   ;;
12137
12138 solaris*)
12139   version_type=linux # correct to gnu/linux during the next big refactor
12140   need_lib_prefix=no
12141   need_version=no
12142   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12143   soname_spec='${libname}${release}${shared_ext}$major'
12144   shlibpath_var=LD_LIBRARY_PATH
12145   shlibpath_overrides_runpath=yes
12146   hardcode_into_libs=yes
12147   # ldd complains unless libraries are executable
12148   postinstall_cmds='chmod +x $lib'
12149   ;;
12150
12151 sunos4*)
12152   version_type=sunos
12153   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12154   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12155   shlibpath_var=LD_LIBRARY_PATH
12156   shlibpath_overrides_runpath=yes
12157   if test "$with_gnu_ld" = yes; then
12158     need_lib_prefix=no
12159   fi
12160   need_version=yes
12161   ;;
12162
12163 sysv4 | sysv4.3*)
12164   version_type=linux # correct to gnu/linux during the next big refactor
12165   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12166   soname_spec='${libname}${release}${shared_ext}$major'
12167   shlibpath_var=LD_LIBRARY_PATH
12168   case $host_vendor in
12169     sni)
12170       shlibpath_overrides_runpath=no
12171       need_lib_prefix=no
12172       runpath_var=LD_RUN_PATH
12173       ;;
12174     siemens)
12175       need_lib_prefix=no
12176       ;;
12177     motorola)
12178       need_lib_prefix=no
12179       need_version=no
12180       shlibpath_overrides_runpath=no
12181       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12182       ;;
12183   esac
12184   ;;
12185
12186 sysv4*MP*)
12187   if test -d /usr/nec ;then
12188     version_type=linux # correct to gnu/linux during the next big refactor
12189     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12190     soname_spec='$libname${shared_ext}.$major'
12191     shlibpath_var=LD_LIBRARY_PATH
12192   fi
12193   ;;
12194
12195 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12196   version_type=freebsd-elf
12197   need_lib_prefix=no
12198   need_version=no
12199   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12200   soname_spec='${libname}${release}${shared_ext}$major'
12201   shlibpath_var=LD_LIBRARY_PATH
12202   shlibpath_overrides_runpath=yes
12203   hardcode_into_libs=yes
12204   if test "$with_gnu_ld" = yes; then
12205     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12206   else
12207     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12208     case $host_os in
12209       sco3.2v5*)
12210         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12211         ;;
12212     esac
12213   fi
12214   sys_lib_dlsearch_path_spec='/usr/lib'
12215   ;;
12216
12217 tpf*)
12218   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
12219   version_type=linux # correct to gnu/linux during the next big refactor
12220   need_lib_prefix=no
12221   need_version=no
12222   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12223   shlibpath_var=LD_LIBRARY_PATH
12224   shlibpath_overrides_runpath=no
12225   hardcode_into_libs=yes
12226   ;;
12227
12228 uts4*)
12229   version_type=linux # correct to gnu/linux during the next big refactor
12230   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12231   soname_spec='${libname}${release}${shared_ext}$major'
12232   shlibpath_var=LD_LIBRARY_PATH
12233   ;;
12234
12235 *)
12236   dynamic_linker=no
12237   ;;
12238 esac
12239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12240 $as_echo "$dynamic_linker" >&6; }
12241 test "$dynamic_linker" = no && can_build_shared=no
12242
12243 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12244 if test "$GCC" = yes; then
12245   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12246 fi
12247
12248 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12249   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
12250 fi
12251 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12252   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
12253 fi
12254
12255
12256
12257
12258
12259
12260
12261
12262
12263
12264
12265
12266
12267
12268
12269
12270
12271
12272
12273
12274
12275
12276
12277
12278
12279
12280
12281
12282
12283
12284
12285
12286
12287
12288
12289
12290
12291
12292
12293
12294
12295
12296
12297
12298
12299
12300
12301
12302
12303
12304
12305
12306
12307
12308
12309
12310
12311
12312
12313
12314
12315
12316
12317
12318
12319
12320
12321
12322
12323
12324
12325
12326
12327
12328
12329
12330
12331
12332
12333
12334
12335
12336
12337
12338
12339
12340
12341
12342
12343
12344
12345
12346   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12347 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12348 hardcode_action=
12349 if test -n "$hardcode_libdir_flag_spec" ||
12350    test -n "$runpath_var" ||
12351    test "X$hardcode_automatic" = "Xyes" ; then
12352
12353   # We can hardcode non-existent directories.
12354   if test "$hardcode_direct" != no &&
12355      # If the only mechanism to avoid hardcoding is shlibpath_var, we
12356      # have to relink, otherwise we might link with an installed library
12357      # when we should be linking with a yet-to-be-installed one
12358      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12359      test "$hardcode_minus_L" != no; then
12360     # Linking always hardcodes the temporary library directory.
12361     hardcode_action=relink
12362   else
12363     # We can link without hardcoding, and we can hardcode nonexisting dirs.
12364     hardcode_action=immediate
12365   fi
12366 else
12367   # We cannot hardcode anything, or else we can only hardcode existing
12368   # directories.
12369   hardcode_action=unsupported
12370 fi
12371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12372 $as_echo "$hardcode_action" >&6; }
12373
12374 if test "$hardcode_action" = relink ||
12375    test "$inherit_rpath" = yes; then
12376   # Fast installation is not supported
12377   enable_fast_install=no
12378 elif test "$shlibpath_overrides_runpath" = yes ||
12379      test "$enable_shared" = no; then
12380   # Fast installation is not necessary
12381   enable_fast_install=needless
12382 fi
12383
12384
12385
12386
12387
12388
12389   if test "x$enable_dlopen" != xyes; then
12390   enable_dlopen=unknown
12391   enable_dlopen_self=unknown
12392   enable_dlopen_self_static=unknown
12393 else
12394   lt_cv_dlopen=no
12395   lt_cv_dlopen_libs=
12396
12397   case $host_os in
12398   beos*)
12399     lt_cv_dlopen="load_add_on"
12400     lt_cv_dlopen_libs=
12401     lt_cv_dlopen_self=yes
12402     ;;
12403
12404   mingw* | pw32* | cegcc*)
12405     lt_cv_dlopen="LoadLibrary"
12406     lt_cv_dlopen_libs=
12407     ;;
12408
12409   cygwin*)
12410     lt_cv_dlopen="dlopen"
12411     lt_cv_dlopen_libs=
12412     ;;
12413
12414   darwin*)
12415   # if libdl is installed we need to link against it
12416     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12417 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12418 if ${ac_cv_lib_dl_dlopen+:} false; then :
12419   $as_echo_n "(cached) " >&6
12420 else
12421   ac_check_lib_save_LIBS=$LIBS
12422 LIBS="-ldl  $LIBS"
12423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12424 /* end confdefs.h.  */
12425
12426 /* Override any GCC internal prototype to avoid an error.
12427    Use char because int might match the return type of a GCC
12428    builtin and then its argument prototype would still apply.  */
12429 #ifdef __cplusplus
12430 extern "C"
12431 #endif
12432 char dlopen ();
12433 int
12434 main ()
12435 {
12436 return dlopen ();
12437   ;
12438   return 0;
12439 }
12440 _ACEOF
12441 if ac_fn_c_try_link "$LINENO"; then :
12442   ac_cv_lib_dl_dlopen=yes
12443 else
12444   ac_cv_lib_dl_dlopen=no
12445 fi
12446 rm -f core conftest.err conftest.$ac_objext \
12447     conftest$ac_exeext conftest.$ac_ext
12448 LIBS=$ac_check_lib_save_LIBS
12449 fi
12450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12451 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12452 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12453   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12454 else
12455
12456     lt_cv_dlopen="dyld"
12457     lt_cv_dlopen_libs=
12458     lt_cv_dlopen_self=yes
12459
12460 fi
12461
12462     ;;
12463
12464   *)
12465     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12466 if test "x$ac_cv_func_shl_load" = xyes; then :
12467   lt_cv_dlopen="shl_load"
12468 else
12469   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12470 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12471 if ${ac_cv_lib_dld_shl_load+:} false; then :
12472   $as_echo_n "(cached) " >&6
12473 else
12474   ac_check_lib_save_LIBS=$LIBS
12475 LIBS="-ldld  $LIBS"
12476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12477 /* end confdefs.h.  */
12478
12479 /* Override any GCC internal prototype to avoid an error.
12480    Use char because int might match the return type of a GCC
12481    builtin and then its argument prototype would still apply.  */
12482 #ifdef __cplusplus
12483 extern "C"
12484 #endif
12485 char shl_load ();
12486 int
12487 main ()
12488 {
12489 return shl_load ();
12490   ;
12491   return 0;
12492 }
12493 _ACEOF
12494 if ac_fn_c_try_link "$LINENO"; then :
12495   ac_cv_lib_dld_shl_load=yes
12496 else
12497   ac_cv_lib_dld_shl_load=no
12498 fi
12499 rm -f core conftest.err conftest.$ac_objext \
12500     conftest$ac_exeext conftest.$ac_ext
12501 LIBS=$ac_check_lib_save_LIBS
12502 fi
12503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12504 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12505 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12506   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12507 else
12508   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12509 if test "x$ac_cv_func_dlopen" = xyes; then :
12510   lt_cv_dlopen="dlopen"
12511 else
12512   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12513 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12514 if ${ac_cv_lib_dl_dlopen+:} false; then :
12515   $as_echo_n "(cached) " >&6
12516 else
12517   ac_check_lib_save_LIBS=$LIBS
12518 LIBS="-ldl  $LIBS"
12519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12520 /* end confdefs.h.  */
12521
12522 /* Override any GCC internal prototype to avoid an error.
12523    Use char because int might match the return type of a GCC
12524    builtin and then its argument prototype would still apply.  */
12525 #ifdef __cplusplus
12526 extern "C"
12527 #endif
12528 char dlopen ();
12529 int
12530 main ()
12531 {
12532 return dlopen ();
12533   ;
12534   return 0;
12535 }
12536 _ACEOF
12537 if ac_fn_c_try_link "$LINENO"; then :
12538   ac_cv_lib_dl_dlopen=yes
12539 else
12540   ac_cv_lib_dl_dlopen=no
12541 fi
12542 rm -f core conftest.err conftest.$ac_objext \
12543     conftest$ac_exeext conftest.$ac_ext
12544 LIBS=$ac_check_lib_save_LIBS
12545 fi
12546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12547 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12548 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12549   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12550 else
12551   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12552 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12553 if ${ac_cv_lib_svld_dlopen+:} false; then :
12554   $as_echo_n "(cached) " >&6
12555 else
12556   ac_check_lib_save_LIBS=$LIBS
12557 LIBS="-lsvld  $LIBS"
12558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12559 /* end confdefs.h.  */
12560
12561 /* Override any GCC internal prototype to avoid an error.
12562    Use char because int might match the return type of a GCC
12563    builtin and then its argument prototype would still apply.  */
12564 #ifdef __cplusplus
12565 extern "C"
12566 #endif
12567 char dlopen ();
12568 int
12569 main ()
12570 {
12571 return dlopen ();
12572   ;
12573   return 0;
12574 }
12575 _ACEOF
12576 if ac_fn_c_try_link "$LINENO"; then :
12577   ac_cv_lib_svld_dlopen=yes
12578 else
12579   ac_cv_lib_svld_dlopen=no
12580 fi
12581 rm -f core conftest.err conftest.$ac_objext \
12582     conftest$ac_exeext conftest.$ac_ext
12583 LIBS=$ac_check_lib_save_LIBS
12584 fi
12585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12586 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12587 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12588   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12589 else
12590   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12591 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12592 if ${ac_cv_lib_dld_dld_link+:} false; then :
12593   $as_echo_n "(cached) " >&6
12594 else
12595   ac_check_lib_save_LIBS=$LIBS
12596 LIBS="-ldld  $LIBS"
12597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12598 /* end confdefs.h.  */
12599
12600 /* Override any GCC internal prototype to avoid an error.
12601    Use char because int might match the return type of a GCC
12602    builtin and then its argument prototype would still apply.  */
12603 #ifdef __cplusplus
12604 extern "C"
12605 #endif
12606 char dld_link ();
12607 int
12608 main ()
12609 {
12610 return dld_link ();
12611   ;
12612   return 0;
12613 }
12614 _ACEOF
12615 if ac_fn_c_try_link "$LINENO"; then :
12616   ac_cv_lib_dld_dld_link=yes
12617 else
12618   ac_cv_lib_dld_dld_link=no
12619 fi
12620 rm -f core conftest.err conftest.$ac_objext \
12621     conftest$ac_exeext conftest.$ac_ext
12622 LIBS=$ac_check_lib_save_LIBS
12623 fi
12624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12625 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12626 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12627   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12628 fi
12629
12630
12631 fi
12632
12633
12634 fi
12635
12636
12637 fi
12638
12639
12640 fi
12641
12642
12643 fi
12644
12645     ;;
12646   esac
12647
12648   if test "x$lt_cv_dlopen" != xno; then
12649     enable_dlopen=yes
12650   else
12651     enable_dlopen=no
12652   fi
12653
12654   case $lt_cv_dlopen in
12655   dlopen)
12656     save_CPPFLAGS="$CPPFLAGS"
12657     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12658
12659     save_LDFLAGS="$LDFLAGS"
12660     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12661
12662     save_LIBS="$LIBS"
12663     LIBS="$lt_cv_dlopen_libs $LIBS"
12664
12665     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12666 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12667 if ${lt_cv_dlopen_self+:} false; then :
12668   $as_echo_n "(cached) " >&6
12669 else
12670           if test "$cross_compiling" = yes; then :
12671   lt_cv_dlopen_self=cross
12672 else
12673   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12674   lt_status=$lt_dlunknown
12675   cat > conftest.$ac_ext <<_LT_EOF
12676 #line $LINENO "configure"
12677 #include "confdefs.h"
12678
12679 #if HAVE_DLFCN_H
12680 #include <dlfcn.h>
12681 #endif
12682
12683 #include <stdio.h>
12684
12685 #ifdef RTLD_GLOBAL
12686 #  define LT_DLGLOBAL           RTLD_GLOBAL
12687 #else
12688 #  ifdef DL_GLOBAL
12689 #    define LT_DLGLOBAL         DL_GLOBAL
12690 #  else
12691 #    define LT_DLGLOBAL         0
12692 #  endif
12693 #endif
12694
12695 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12696    find out it does not work in some platform. */
12697 #ifndef LT_DLLAZY_OR_NOW
12698 #  ifdef RTLD_LAZY
12699 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12700 #  else
12701 #    ifdef DL_LAZY
12702 #      define LT_DLLAZY_OR_NOW          DL_LAZY
12703 #    else
12704 #      ifdef RTLD_NOW
12705 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
12706 #      else
12707 #        ifdef DL_NOW
12708 #          define LT_DLLAZY_OR_NOW      DL_NOW
12709 #        else
12710 #          define LT_DLLAZY_OR_NOW      0
12711 #        endif
12712 #      endif
12713 #    endif
12714 #  endif
12715 #endif
12716
12717 /* When -fvisbility=hidden is used, assume the code has been annotated
12718    correspondingly for the symbols needed.  */
12719 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12720 int fnord () __attribute__((visibility("default")));
12721 #endif
12722
12723 int fnord () { return 42; }
12724 int main ()
12725 {
12726   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12727   int status = $lt_dlunknown;
12728
12729   if (self)
12730     {
12731       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12732       else
12733         {
12734           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12735           else puts (dlerror ());
12736         }
12737       /* dlclose (self); */
12738     }
12739   else
12740     puts (dlerror ());
12741
12742   return status;
12743 }
12744 _LT_EOF
12745   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12746   (eval $ac_link) 2>&5
12747   ac_status=$?
12748   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12749   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12750     (./conftest; exit; ) >&5 2>/dev/null
12751     lt_status=$?
12752     case x$lt_status in
12753       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12754       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12755       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12756     esac
12757   else :
12758     # compilation failed
12759     lt_cv_dlopen_self=no
12760   fi
12761 fi
12762 rm -fr conftest*
12763
12764
12765 fi
12766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12767 $as_echo "$lt_cv_dlopen_self" >&6; }
12768
12769     if test "x$lt_cv_dlopen_self" = xyes; then
12770       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12771       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12772 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12773 if ${lt_cv_dlopen_self_static+:} false; then :
12774   $as_echo_n "(cached) " >&6
12775 else
12776           if test "$cross_compiling" = yes; then :
12777   lt_cv_dlopen_self_static=cross
12778 else
12779   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12780   lt_status=$lt_dlunknown
12781   cat > conftest.$ac_ext <<_LT_EOF
12782 #line $LINENO "configure"
12783 #include "confdefs.h"
12784
12785 #if HAVE_DLFCN_H
12786 #include <dlfcn.h>
12787 #endif
12788
12789 #include <stdio.h>
12790
12791 #ifdef RTLD_GLOBAL
12792 #  define LT_DLGLOBAL           RTLD_GLOBAL
12793 #else
12794 #  ifdef DL_GLOBAL
12795 #    define LT_DLGLOBAL         DL_GLOBAL
12796 #  else
12797 #    define LT_DLGLOBAL         0
12798 #  endif
12799 #endif
12800
12801 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12802    find out it does not work in some platform. */
12803 #ifndef LT_DLLAZY_OR_NOW
12804 #  ifdef RTLD_LAZY
12805 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12806 #  else
12807 #    ifdef DL_LAZY
12808 #      define LT_DLLAZY_OR_NOW          DL_LAZY
12809 #    else
12810 #      ifdef RTLD_NOW
12811 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
12812 #      else
12813 #        ifdef DL_NOW
12814 #          define LT_DLLAZY_OR_NOW      DL_NOW
12815 #        else
12816 #          define LT_DLLAZY_OR_NOW      0
12817 #        endif
12818 #      endif
12819 #    endif
12820 #  endif
12821 #endif
12822
12823 /* When -fvisbility=hidden is used, assume the code has been annotated
12824    correspondingly for the symbols needed.  */
12825 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12826 int fnord () __attribute__((visibility("default")));
12827 #endif
12828
12829 int fnord () { return 42; }
12830 int main ()
12831 {
12832   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12833   int status = $lt_dlunknown;
12834
12835   if (self)
12836     {
12837       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12838       else
12839         {
12840           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12841           else puts (dlerror ());
12842         }
12843       /* dlclose (self); */
12844     }
12845   else
12846     puts (dlerror ());
12847
12848   return status;
12849 }
12850 _LT_EOF
12851   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12852   (eval $ac_link) 2>&5
12853   ac_status=$?
12854   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12855   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12856     (./conftest; exit; ) >&5 2>/dev/null
12857     lt_status=$?
12858     case x$lt_status in
12859       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12860       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12861       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12862     esac
12863   else :
12864     # compilation failed
12865     lt_cv_dlopen_self_static=no
12866   fi
12867 fi
12868 rm -fr conftest*
12869
12870
12871 fi
12872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12873 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12874     fi
12875
12876     CPPFLAGS="$save_CPPFLAGS"
12877     LDFLAGS="$save_LDFLAGS"
12878     LIBS="$save_LIBS"
12879     ;;
12880   esac
12881
12882   case $lt_cv_dlopen_self in
12883   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12884   *) enable_dlopen_self=unknown ;;
12885   esac
12886
12887   case $lt_cv_dlopen_self_static in
12888   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12889   *) enable_dlopen_self_static=unknown ;;
12890   esac
12891 fi
12892
12893
12894
12895
12896
12897
12898
12899
12900
12901
12902
12903
12904
12905
12906
12907
12908
12909 striplib=
12910 old_striplib=
12911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12912 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12913 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12914   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12915   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12916   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12917 $as_echo "yes" >&6; }
12918 else
12919 # FIXME - insert some real tests, host_os isn't really good enough
12920   case $host_os in
12921   darwin*)
12922     if test -n "$STRIP" ; then
12923       striplib="$STRIP -x"
12924       old_striplib="$STRIP -S"
12925       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12926 $as_echo "yes" >&6; }
12927     else
12928       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12929 $as_echo "no" >&6; }
12930     fi
12931     ;;
12932   *)
12933     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12934 $as_echo "no" >&6; }
12935     ;;
12936   esac
12937 fi
12938
12939
12940
12941
12942
12943
12944
12945
12946
12947
12948
12949
12950   # Report which library types will actually be built
12951   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12952 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12953   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12954 $as_echo "$can_build_shared" >&6; }
12955
12956   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12957 $as_echo_n "checking whether to build shared libraries... " >&6; }
12958   test "$can_build_shared" = "no" && enable_shared=no
12959
12960   # On AIX, shared libraries and static libraries use the same namespace, and
12961   # are all built from PIC.
12962   case $host_os in
12963   aix3*)
12964     test "$enable_shared" = yes && enable_static=no
12965     if test -n "$RANLIB"; then
12966       archive_cmds="$archive_cmds~\$RANLIB \$lib"
12967       postinstall_cmds='$RANLIB $lib'
12968     fi
12969     ;;
12970
12971   aix[4-9]*)
12972     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12973       test "$enable_shared" = yes && enable_static=no
12974     fi
12975     ;;
12976   esac
12977   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12978 $as_echo "$enable_shared" >&6; }
12979
12980   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12981 $as_echo_n "checking whether to build static libraries... " >&6; }
12982   # Make sure either enable_shared or enable_static is yes.
12983   test "$enable_shared" = yes || enable_static=yes
12984   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12985 $as_echo "$enable_static" >&6; }
12986
12987
12988
12989
12990 fi
12991 ac_ext=c
12992 ac_cpp='$CPP $CPPFLAGS'
12993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12996
12997 CC="$lt_save_CC"
12998
12999
13000
13001
13002
13003
13004
13005
13006
13007
13008
13009
13010
13011
13012
13013         ac_config_commands="$ac_config_commands libtool"
13014
13015
13016
13017
13018 # Only expand once:
13019
13020
13021
13022 GST_REQ=0.10.36
13023 GSTPB_REQ=0.10.36
13024
13025
13026
13027
13028 # Check whether --with-autoconf was given.
13029 if test "${with_autoconf+set}" = set; then :
13030   withval=$with_autoconf;
13031       unset AUTOCONF
13032
13033 AUTOCONF=${AUTOCONF-"${am_missing_run}${withval}"}
13034
13035       { $as_echo "$as_me:${as_lineno-$LINENO}: Using $AUTOCONF as autoconf" >&5
13036 $as_echo "$as_me: Using $AUTOCONF as autoconf" >&6;}
13037
13038 fi
13039
13040
13041
13042 # Check whether --with-autoheader was given.
13043 if test "${with_autoheader+set}" = set; then :
13044   withval=$with_autoheader;
13045       unset AUTOHEADER
13046
13047 AUTOHEADER=${AUTOHEADER-"${am_missing_run}${withval}"}
13048
13049       { $as_echo "$as_me:${as_lineno-$LINENO}: Using $AUTOHEADER as autoheader" >&5
13050 $as_echo "$as_me: Using $AUTOHEADER as autoheader" >&6;}
13051
13052 fi
13053
13054
13055
13056 # Check whether --with-automake was given.
13057 if test "${with_automake+set}" = set; then :
13058   withval=$with_automake;
13059       unset AUTOMAKE
13060
13061 AUTOMAKE=${AUTOMAKE-"${am_missing_run}${withval}"}
13062
13063       { $as_echo "$as_me:${as_lineno-$LINENO}: Using $AUTOMAKE as automake" >&5
13064 $as_echo "$as_me: Using $AUTOMAKE as automake" >&6;}
13065
13066 fi
13067
13068
13069
13070 # Check whether --with-aclocal was given.
13071 if test "${with_aclocal+set}" = set; then :
13072   withval=$with_aclocal;
13073       unset ACLOCAL
13074
13075 ACLOCAL=${ACLOCAL-"${am_missing_run}${withval}"}
13076
13077       { $as_echo "$as_me:${as_lineno-$LINENO}: Using $ACLOCAL as aclocal" >&5
13078 $as_echo "$as_me: Using $ACLOCAL as aclocal" >&6;}
13079
13080 fi
13081
13082
13083
13084 ACLOCAL_AMFLAGS="-I m4 -I common/m4"
13085
13086
13087
13088
13089   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
13090 $as_echo_n "checking whether NLS is requested... " >&6; }
13091     # Check whether --enable-nls was given.
13092 if test "${enable_nls+set}" = set; then :
13093   enableval=$enable_nls; USE_NLS=$enableval
13094 else
13095   USE_NLS=yes
13096 fi
13097
13098   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
13099 $as_echo "$USE_NLS" >&6; }
13100
13101
13102
13103
13104       GETTEXT_MACRO_VERSION=0.17
13105
13106
13107
13108
13109 # Prepare PATH_SEPARATOR.
13110 # The user is always right.
13111 if test "${PATH_SEPARATOR+set}" != set; then
13112   echo "#! /bin/sh" >conf$$.sh
13113   echo  "exit 0"   >>conf$$.sh
13114   chmod +x conf$$.sh
13115   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13116     PATH_SEPARATOR=';'
13117   else
13118     PATH_SEPARATOR=:
13119   fi
13120   rm -f conf$$.sh
13121 fi
13122
13123 # Find out how to test for executable files. Don't use a zero-byte file,
13124 # as systems may use methods other than mode bits to determine executability.
13125 cat >conf$$.file <<_ASEOF
13126 #! /bin/sh
13127 exit 0
13128 _ASEOF
13129 chmod +x conf$$.file
13130 if test -x conf$$.file >/dev/null 2>&1; then
13131   ac_executable_p="test -x"
13132 else
13133   ac_executable_p="test -f"
13134 fi
13135 rm -f conf$$.file
13136
13137 # Extract the first word of "msgfmt", so it can be a program name with args.
13138 set dummy msgfmt; ac_word=$2
13139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13140 $as_echo_n "checking for $ac_word... " >&6; }
13141 if ${ac_cv_path_MSGFMT+:} false; then :
13142   $as_echo_n "(cached) " >&6
13143 else
13144   case "$MSGFMT" in
13145   [\\/]* | ?:[\\/]*)
13146     ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
13147     ;;
13148   *)
13149     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
13150     for ac_dir in $PATH; do
13151       IFS="$ac_save_IFS"
13152       test -z "$ac_dir" && ac_dir=.
13153       for ac_exec_ext in '' $ac_executable_extensions; do
13154         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13155           echo "$as_me: trying $ac_dir/$ac_word..." >&5
13156           if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
13157      (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
13158             ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
13159             break 2
13160           fi
13161         fi
13162       done
13163     done
13164     IFS="$ac_save_IFS"
13165   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
13166     ;;
13167 esac
13168 fi
13169 MSGFMT="$ac_cv_path_MSGFMT"
13170 if test "$MSGFMT" != ":"; then
13171   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
13172 $as_echo "$MSGFMT" >&6; }
13173 else
13174   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13175 $as_echo "no" >&6; }
13176 fi
13177
13178   # Extract the first word of "gmsgfmt", so it can be a program name with args.
13179 set dummy gmsgfmt; ac_word=$2
13180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13181 $as_echo_n "checking for $ac_word... " >&6; }
13182 if ${ac_cv_path_GMSGFMT+:} false; then :
13183   $as_echo_n "(cached) " >&6
13184 else
13185   case $GMSGFMT in
13186   [\\/]* | ?:[\\/]*)
13187   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
13188   ;;
13189   *)
13190   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13191 for as_dir in $PATH
13192 do
13193   IFS=$as_save_IFS
13194   test -z "$as_dir" && as_dir=.
13195     for ac_exec_ext in '' $ac_executable_extensions; do
13196   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13197     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
13198     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13199     break 2
13200   fi
13201 done
13202   done
13203 IFS=$as_save_IFS
13204
13205   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
13206   ;;
13207 esac
13208 fi
13209 GMSGFMT=$ac_cv_path_GMSGFMT
13210 if test -n "$GMSGFMT"; then
13211   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
13212 $as_echo "$GMSGFMT" >&6; }
13213 else
13214   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13215 $as_echo "no" >&6; }
13216 fi
13217
13218
13219
13220     case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
13221     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
13222     *) MSGFMT_015=$MSGFMT ;;
13223   esac
13224
13225   case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
13226     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
13227     *) GMSGFMT_015=$GMSGFMT ;;
13228   esac
13229
13230
13231
13232 # Prepare PATH_SEPARATOR.
13233 # The user is always right.
13234 if test "${PATH_SEPARATOR+set}" != set; then
13235   echo "#! /bin/sh" >conf$$.sh
13236   echo  "exit 0"   >>conf$$.sh
13237   chmod +x conf$$.sh
13238   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13239     PATH_SEPARATOR=';'
13240   else
13241     PATH_SEPARATOR=:
13242   fi
13243   rm -f conf$$.sh
13244 fi
13245
13246 # Find out how to test for executable files. Don't use a zero-byte file,
13247 # as systems may use methods other than mode bits to determine executability.
13248 cat >conf$$.file <<_ASEOF
13249 #! /bin/sh
13250 exit 0
13251 _ASEOF
13252 chmod +x conf$$.file
13253 if test -x conf$$.file >/dev/null 2>&1; then
13254   ac_executable_p="test -x"
13255 else
13256   ac_executable_p="test -f"
13257 fi
13258 rm -f conf$$.file
13259
13260 # Extract the first word of "xgettext", so it can be a program name with args.
13261 set dummy xgettext; ac_word=$2
13262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13263 $as_echo_n "checking for $ac_word... " >&6; }
13264 if ${ac_cv_path_XGETTEXT+:} false; then :
13265   $as_echo_n "(cached) " >&6
13266 else
13267   case "$XGETTEXT" in
13268   [\\/]* | ?:[\\/]*)
13269     ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
13270     ;;
13271   *)
13272     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
13273     for ac_dir in $PATH; do
13274       IFS="$ac_save_IFS"
13275       test -z "$ac_dir" && ac_dir=.
13276       for ac_exec_ext in '' $ac_executable_extensions; do
13277         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13278           echo "$as_me: trying $ac_dir/$ac_word..." >&5
13279           if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
13280      (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
13281             ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
13282             break 2
13283           fi
13284         fi
13285       done
13286     done
13287     IFS="$ac_save_IFS"
13288   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
13289     ;;
13290 esac
13291 fi
13292 XGETTEXT="$ac_cv_path_XGETTEXT"
13293 if test "$XGETTEXT" != ":"; then
13294   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
13295 $as_echo "$XGETTEXT" >&6; }
13296 else
13297   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13298 $as_echo "no" >&6; }
13299 fi
13300
13301     rm -f messages.po
13302
13303     case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
13304     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
13305     *) XGETTEXT_015=$XGETTEXT ;;
13306   esac
13307
13308
13309
13310 # Prepare PATH_SEPARATOR.
13311 # The user is always right.
13312 if test "${PATH_SEPARATOR+set}" != set; then
13313   echo "#! /bin/sh" >conf$$.sh
13314   echo  "exit 0"   >>conf$$.sh
13315   chmod +x conf$$.sh
13316   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13317     PATH_SEPARATOR=';'
13318   else
13319     PATH_SEPARATOR=:
13320   fi
13321   rm -f conf$$.sh
13322 fi
13323
13324 # Find out how to test for executable files. Don't use a zero-byte file,
13325 # as systems may use methods other than mode bits to determine executability.
13326 cat >conf$$.file <<_ASEOF
13327 #! /bin/sh
13328 exit 0
13329 _ASEOF
13330 chmod +x conf$$.file
13331 if test -x conf$$.file >/dev/null 2>&1; then
13332   ac_executable_p="test -x"
13333 else
13334   ac_executable_p="test -f"
13335 fi
13336 rm -f conf$$.file
13337
13338 # Extract the first word of "msgmerge", so it can be a program name with args.
13339 set dummy msgmerge; ac_word=$2
13340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13341 $as_echo_n "checking for $ac_word... " >&6; }
13342 if ${ac_cv_path_MSGMERGE+:} false; then :
13343   $as_echo_n "(cached) " >&6
13344 else
13345   case "$MSGMERGE" in
13346   [\\/]* | ?:[\\/]*)
13347     ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
13348     ;;
13349   *)
13350     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
13351     for ac_dir in $PATH; do
13352       IFS="$ac_save_IFS"
13353       test -z "$ac_dir" && ac_dir=.
13354       for ac_exec_ext in '' $ac_executable_extensions; do
13355         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13356           echo "$as_me: trying $ac_dir/$ac_word..." >&5
13357           if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
13358             ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
13359             break 2
13360           fi
13361         fi
13362       done
13363     done
13364     IFS="$ac_save_IFS"
13365   test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
13366     ;;
13367 esac
13368 fi
13369 MSGMERGE="$ac_cv_path_MSGMERGE"
13370 if test "$MSGMERGE" != ":"; then
13371   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
13372 $as_echo "$MSGMERGE" >&6; }
13373 else
13374   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13375 $as_echo "no" >&6; }
13376 fi
13377
13378
13379         test -n "$localedir" || localedir='${datadir}/locale'
13380
13381
13382     test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
13383
13384
13385   ac_config_commands="$ac_config_commands po-directories"
13386
13387
13388
13389       if test "X$prefix" = "XNONE"; then
13390     acl_final_prefix="$ac_default_prefix"
13391   else
13392     acl_final_prefix="$prefix"
13393   fi
13394   if test "X$exec_prefix" = "XNONE"; then
13395     acl_final_exec_prefix='${prefix}'
13396   else
13397     acl_final_exec_prefix="$exec_prefix"
13398   fi
13399   acl_save_prefix="$prefix"
13400   prefix="$acl_final_prefix"
13401   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
13402   prefix="$acl_save_prefix"
13403
13404
13405 # Check whether --with-gnu-ld was given.
13406 if test "${with_gnu_ld+set}" = set; then :
13407   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
13408 else
13409   with_gnu_ld=no
13410 fi
13411
13412 # Prepare PATH_SEPARATOR.
13413 # The user is always right.
13414 if test "${PATH_SEPARATOR+set}" != set; then
13415   echo "#! /bin/sh" >conf$$.sh
13416   echo  "exit 0"   >>conf$$.sh
13417   chmod +x conf$$.sh
13418   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13419     PATH_SEPARATOR=';'
13420   else
13421     PATH_SEPARATOR=:
13422   fi
13423   rm -f conf$$.sh
13424 fi
13425 ac_prog=ld
13426 if test "$GCC" = yes; then
13427   # Check if gcc -print-prog-name=ld gives a path.
13428   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
13429 $as_echo_n "checking for ld used by GCC... " >&6; }
13430   case $host in
13431   *-*-mingw*)
13432     # gcc leaves a trailing carriage return which upsets mingw
13433     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13434   *)
13435     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13436   esac
13437   case $ac_prog in
13438     # Accept absolute paths.
13439     [\\/]* | [A-Za-z]:[\\/]*)
13440       re_direlt='/[^/][^/]*/\.\./'
13441       # Canonicalize the path of ld
13442       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
13443       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
13444         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
13445       done
13446       test -z "$LD" && LD="$ac_prog"
13447       ;;
13448   "")
13449     # If it fails, then pretend we aren't using GCC.
13450     ac_prog=ld
13451     ;;
13452   *)
13453     # If it is relative, then search for the first ld in PATH.
13454     with_gnu_ld=unknown
13455     ;;
13456   esac
13457 elif test "$with_gnu_ld" = yes; then
13458   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13459 $as_echo_n "checking for GNU ld... " >&6; }
13460 else
13461   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13462 $as_echo_n "checking for non-GNU ld... " >&6; }
13463 fi
13464 if ${acl_cv_path_LD+:} false; then :
13465   $as_echo_n "(cached) " >&6
13466 else
13467   if test -z "$LD"; then
13468   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
13469   for ac_dir in $PATH; do
13470     test -z "$ac_dir" && ac_dir=.
13471     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13472       acl_cv_path_LD="$ac_dir/$ac_prog"
13473       # Check to see if the program is GNU ld.  I'd rather use --version,
13474       # but apparently some GNU ld's only accept -v.
13475       # Break only if it was the GNU/non-GNU ld that we prefer.
13476       case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
13477       *GNU* | *'with BFD'*)
13478         test "$with_gnu_ld" != no && break ;;
13479       *)
13480         test "$with_gnu_ld" != yes && break ;;
13481       esac
13482     fi
13483   done
13484   IFS="$ac_save_ifs"
13485 else
13486   acl_cv_path_LD="$LD" # Let the user override the test with a path.
13487 fi
13488 fi
13489
13490 LD="$acl_cv_path_LD"
13491 if test -n "$LD"; then
13492   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13493 $as_echo "$LD" >&6; }
13494 else
13495   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13496 $as_echo "no" >&6; }
13497 fi
13498 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
13499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13500 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13501 if ${acl_cv_prog_gnu_ld+:} false; then :
13502   $as_echo_n "(cached) " >&6
13503 else
13504   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
13505 case `$LD -v 2>&1 </dev/null` in
13506 *GNU* | *'with BFD'*)
13507   acl_cv_prog_gnu_ld=yes ;;
13508 *)
13509   acl_cv_prog_gnu_ld=no ;;
13510 esac
13511 fi
13512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
13513 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
13514 with_gnu_ld=$acl_cv_prog_gnu_ld
13515
13516
13517
13518
13519                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
13520 $as_echo_n "checking for shared library run path origin... " >&6; }
13521 if ${acl_cv_rpath+:} false; then :
13522   $as_echo_n "(cached) " >&6
13523 else
13524
13525     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
13526     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
13527     . ./conftest.sh
13528     rm -f ./conftest.sh
13529     acl_cv_rpath=done
13530
13531 fi
13532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
13533 $as_echo "$acl_cv_rpath" >&6; }
13534   wl="$acl_cv_wl"
13535   acl_libext="$acl_cv_libext"
13536   acl_shlibext="$acl_cv_shlibext"
13537   acl_libname_spec="$acl_cv_libname_spec"
13538   acl_library_names_spec="$acl_cv_library_names_spec"
13539   acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
13540   acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
13541   acl_hardcode_direct="$acl_cv_hardcode_direct"
13542   acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
13543     # Check whether --enable-rpath was given.
13544 if test "${enable_rpath+set}" = set; then :
13545   enableval=$enable_rpath; :
13546 else
13547   enable_rpath=yes
13548 fi
13549
13550
13551
13552                   acl_libdirstem=lib
13553   searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
13554   if test -n "$searchpath"; then
13555     acl_save_IFS="${IFS=        }"; IFS=":"
13556     for searchdir in $searchpath; do
13557       if test -d "$searchdir"; then
13558         case "$searchdir" in
13559           */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
13560           *) searchdir=`cd "$searchdir" && pwd`
13561              case "$searchdir" in
13562                */lib64 ) acl_libdirstem=lib64 ;;
13563              esac ;;
13564         esac
13565       fi
13566     done
13567     IFS="$acl_save_IFS"
13568   fi
13569
13570
13571
13572
13573
13574
13575
13576
13577
13578     use_additional=yes
13579
13580   acl_save_prefix="$prefix"
13581   prefix="$acl_final_prefix"
13582   acl_save_exec_prefix="$exec_prefix"
13583   exec_prefix="$acl_final_exec_prefix"
13584
13585     eval additional_includedir=\"$includedir\"
13586     eval additional_libdir=\"$libdir\"
13587
13588   exec_prefix="$acl_save_exec_prefix"
13589   prefix="$acl_save_prefix"
13590
13591
13592 # Check whether --with-libiconv-prefix was given.
13593 if test "${with_libiconv_prefix+set}" = set; then :
13594   withval=$with_libiconv_prefix;
13595     if test "X$withval" = "Xno"; then
13596       use_additional=no
13597     else
13598       if test "X$withval" = "X"; then
13599
13600   acl_save_prefix="$prefix"
13601   prefix="$acl_final_prefix"
13602   acl_save_exec_prefix="$exec_prefix"
13603   exec_prefix="$acl_final_exec_prefix"
13604
13605           eval additional_includedir=\"$includedir\"
13606           eval additional_libdir=\"$libdir\"
13607
13608   exec_prefix="$acl_save_exec_prefix"
13609   prefix="$acl_save_prefix"
13610
13611       else
13612         additional_includedir="$withval/include"
13613         additional_libdir="$withval/$acl_libdirstem"
13614       fi
13615     fi
13616
13617 fi
13618
13619       LIBICONV=
13620   LTLIBICONV=
13621   INCICONV=
13622   LIBICONV_PREFIX=
13623   rpathdirs=
13624   ltrpathdirs=
13625   names_already_handled=
13626   names_next_round='iconv '
13627   while test -n "$names_next_round"; do
13628     names_this_round="$names_next_round"
13629     names_next_round=
13630     for name in $names_this_round; do
13631       already_handled=
13632       for n in $names_already_handled; do
13633         if test "$n" = "$name"; then
13634           already_handled=yes
13635           break
13636         fi
13637       done
13638       if test -z "$already_handled"; then
13639         names_already_handled="$names_already_handled $name"
13640                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
13641         eval value=\"\$HAVE_LIB$uppername\"
13642         if test -n "$value"; then
13643           if test "$value" = yes; then
13644             eval value=\"\$LIB$uppername\"
13645             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
13646             eval value=\"\$LTLIB$uppername\"
13647             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
13648           else
13649                                     :
13650           fi
13651         else
13652                               found_dir=
13653           found_la=
13654           found_so=
13655           found_a=
13656           eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
13657           if test -n "$acl_shlibext"; then
13658             shrext=".$acl_shlibext"             # typically: shrext=.so
13659           else
13660             shrext=
13661           fi
13662           if test $use_additional = yes; then
13663             dir="$additional_libdir"
13664                                     if test -n "$acl_shlibext"; then
13665               if test -f "$dir/$libname$shrext"; then
13666                 found_dir="$dir"
13667                 found_so="$dir/$libname$shrext"
13668               else
13669                 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
13670                   ver=`(cd "$dir" && \
13671                         for f in "$libname$shrext".*; do echo "$f"; done \
13672                         | sed -e "s,^$libname$shrext\\\\.,," \
13673                         | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
13674                         | sed 1q ) 2>/dev/null`
13675                   if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
13676                     found_dir="$dir"
13677                     found_so="$dir/$libname$shrext.$ver"
13678                   fi
13679                 else
13680                   eval library_names=\"$acl_library_names_spec\"
13681                   for f in $library_names; do
13682                     if test -f "$dir/$f"; then
13683                       found_dir="$dir"
13684                       found_so="$dir/$f"
13685                       break
13686                     fi
13687                   done
13688                 fi
13689               fi
13690             fi
13691                         if test "X$found_dir" = "X"; then
13692               if test -f "$dir/$libname.$acl_libext"; then
13693                 found_dir="$dir"
13694                 found_a="$dir/$libname.$acl_libext"
13695               fi
13696             fi
13697             if test "X$found_dir" != "X"; then
13698               if test -f "$dir/$libname.la"; then
13699                 found_la="$dir/$libname.la"
13700               fi
13701             fi
13702           fi
13703           if test "X$found_dir" = "X"; then
13704             for x in $LDFLAGS $LTLIBICONV; do
13705
13706   acl_save_prefix="$prefix"
13707   prefix="$acl_final_prefix"
13708   acl_save_exec_prefix="$exec_prefix"
13709   exec_prefix="$acl_final_exec_prefix"
13710   eval x=\"$x\"
13711   exec_prefix="$acl_save_exec_prefix"
13712   prefix="$acl_save_prefix"
13713
13714               case "$x" in
13715                 -L*)
13716                   dir=`echo "X$x" | sed -e 's/^X-L//'`
13717                                     if test -n "$acl_shlibext"; then
13718                     if test -f "$dir/$libname$shrext"; then
13719                       found_dir="$dir"
13720                       found_so="$dir/$libname$shrext"
13721                     else
13722                       if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
13723                         ver=`(cd "$dir" && \
13724                               for f in "$libname$shrext".*; do echo "$f"; done \
13725                               | sed -e "s,^$libname$shrext\\\\.,," \
13726                               | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
13727                               | sed 1q ) 2>/dev/null`
13728                         if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
13729                           found_dir="$dir"
13730                           found_so="$dir/$libname$shrext.$ver"
13731                         fi
13732                       else
13733                         eval library_names=\"$acl_library_names_spec\"
13734                         for f in $library_names; do
13735                           if test -f "$dir/$f"; then
13736                             found_dir="$dir"
13737                             found_so="$dir/$f"
13738                             break
13739                           fi
13740                         done
13741                       fi
13742                     fi
13743                   fi
13744                                     if test "X$found_dir" = "X"; then
13745                     if test -f "$dir/$libname.$acl_libext"; then
13746                       found_dir="$dir"
13747                       found_a="$dir/$libname.$acl_libext"
13748                     fi
13749                   fi
13750                   if test "X$found_dir" != "X"; then
13751                     if test -f "$dir/$libname.la"; then
13752                       found_la="$dir/$libname.la"
13753                     fi
13754                   fi
13755                   ;;
13756               esac
13757               if test "X$found_dir" != "X"; then
13758                 break
13759               fi
13760             done
13761           fi
13762           if test "X$found_dir" != "X"; then
13763                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
13764             if test "X$found_so" != "X"; then
13765                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
13766                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
13767               else
13768                                                                                 haveit=
13769                 for x in $ltrpathdirs; do
13770                   if test "X$x" = "X$found_dir"; then
13771                     haveit=yes
13772                     break
13773                   fi
13774                 done
13775                 if test -z "$haveit"; then
13776                   ltrpathdirs="$ltrpathdirs $found_dir"
13777                 fi
13778                                 if test "$acl_hardcode_direct" = yes; then
13779                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
13780                 else
13781                   if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
13782                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
13783                                                             haveit=
13784                     for x in $rpathdirs; do
13785                       if test "X$x" = "X$found_dir"; then
13786                         haveit=yes
13787                         break
13788                       fi
13789                     done
13790                     if test -z "$haveit"; then
13791                       rpathdirs="$rpathdirs $found_dir"
13792                     fi
13793                   else
13794                                                                                 haveit=
13795                     for x in $LDFLAGS $LIBICONV; do
13796
13797   acl_save_prefix="$prefix"
13798   prefix="$acl_final_prefix"
13799   acl_save_exec_prefix="$exec_prefix"
13800   exec_prefix="$acl_final_exec_prefix"
13801   eval x=\"$x\"
13802   exec_prefix="$acl_save_exec_prefix"
13803   prefix="$acl_save_prefix"
13804
13805                       if test "X$x" = "X-L$found_dir"; then
13806                         haveit=yes
13807                         break
13808                       fi
13809                     done
13810                     if test -z "$haveit"; then
13811                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
13812                     fi
13813                     if test "$acl_hardcode_minus_L" != no; then
13814                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
13815                     else
13816                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
13817                     fi
13818                   fi
13819                 fi
13820               fi
13821             else
13822               if test "X$found_a" != "X"; then
13823                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
13824               else
13825                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
13826               fi
13827             fi
13828                         additional_includedir=
13829             case "$found_dir" in
13830               */$acl_libdirstem | */$acl_libdirstem/)
13831                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
13832                 LIBICONV_PREFIX="$basedir"
13833                 additional_includedir="$basedir/include"
13834                 ;;
13835             esac
13836             if test "X$additional_includedir" != "X"; then
13837                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
13838                 haveit=
13839                 if test "X$additional_includedir" = "X/usr/local/include"; then
13840                   if test -n "$GCC"; then
13841                     case $host_os in
13842                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
13843                     esac
13844                   fi
13845                 fi
13846                 if test -z "$haveit"; then
13847                   for x in $CPPFLAGS $INCICONV; do
13848
13849   acl_save_prefix="$prefix"
13850   prefix="$acl_final_prefix"
13851   acl_save_exec_prefix="$exec_prefix"
13852   exec_prefix="$acl_final_exec_prefix"
13853   eval x=\"$x\"
13854   exec_prefix="$acl_save_exec_prefix"
13855   prefix="$acl_save_prefix"
13856
13857                     if test "X$x" = "X-I$additional_includedir"; then
13858                       haveit=yes
13859                       break
13860                     fi
13861                   done
13862                   if test -z "$haveit"; then
13863                     if test -d "$additional_includedir"; then
13864                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
13865                     fi
13866                   fi
13867                 fi
13868               fi
13869             fi
13870                         if test -n "$found_la"; then
13871                                                         save_libdir="$libdir"
13872               case "$found_la" in
13873                 */* | *\\*) . "$found_la" ;;
13874                 *) . "./$found_la" ;;
13875               esac
13876               libdir="$save_libdir"
13877                             for dep in $dependency_libs; do
13878                 case "$dep" in
13879                   -L*)
13880                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
13881                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
13882                       haveit=
13883                       if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
13884                         if test -n "$GCC"; then
13885                           case $host_os in
13886                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
13887                           esac
13888                         fi
13889                       fi
13890                       if test -z "$haveit"; then
13891                         haveit=
13892                         for x in $LDFLAGS $LIBICONV; do
13893
13894   acl_save_prefix="$prefix"
13895   prefix="$acl_final_prefix"
13896   acl_save_exec_prefix="$exec_prefix"
13897   exec_prefix="$acl_final_exec_prefix"
13898   eval x=\"$x\"
13899   exec_prefix="$acl_save_exec_prefix"
13900   prefix="$acl_save_prefix"
13901
13902                           if test "X$x" = "X-L$additional_libdir"; then
13903                             haveit=yes
13904                             break
13905                           fi
13906                         done
13907                         if test -z "$haveit"; then
13908                           if test -d "$additional_libdir"; then
13909                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
13910                           fi
13911                         fi
13912                         haveit=
13913                         for x in $LDFLAGS $LTLIBICONV; do
13914
13915   acl_save_prefix="$prefix"
13916   prefix="$acl_final_prefix"
13917   acl_save_exec_prefix="$exec_prefix"
13918   exec_prefix="$acl_final_exec_prefix"
13919   eval x=\"$x\"
13920   exec_prefix="$acl_save_exec_prefix"
13921   prefix="$acl_save_prefix"
13922
13923                           if test "X$x" = "X-L$additional_libdir"; then
13924                             haveit=yes
13925                             break
13926                           fi
13927                         done
13928                         if test -z "$haveit"; then
13929                           if test -d "$additional_libdir"; then
13930                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
13931                           fi
13932                         fi
13933                       fi
13934                     fi
13935                     ;;
13936                   -R*)
13937                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
13938                     if test "$enable_rpath" != no; then
13939                                                                   haveit=
13940                       for x in $rpathdirs; do
13941                         if test "X$x" = "X$dir"; then
13942                           haveit=yes
13943                           break
13944                         fi
13945                       done
13946                       if test -z "$haveit"; then
13947                         rpathdirs="$rpathdirs $dir"
13948                       fi
13949                                                                   haveit=
13950                       for x in $ltrpathdirs; do
13951                         if test "X$x" = "X$dir"; then
13952                           haveit=yes
13953                           break
13954                         fi
13955                       done
13956                       if test -z "$haveit"; then
13957                         ltrpathdirs="$ltrpathdirs $dir"
13958                       fi
13959                     fi
13960                     ;;
13961                   -l*)
13962                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
13963                     ;;
13964                   *.la)
13965                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
13966                     ;;
13967                   *)
13968                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
13969                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
13970                     ;;
13971                 esac
13972               done
13973             fi
13974           else
13975                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
13976             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
13977           fi
13978         fi
13979       fi
13980     done
13981   done
13982   if test "X$rpathdirs" != "X"; then
13983     if test -n "$acl_hardcode_libdir_separator"; then
13984                         alldirs=
13985       for found_dir in $rpathdirs; do
13986         alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
13987       done
13988             acl_save_libdir="$libdir"
13989       libdir="$alldirs"
13990       eval flag=\"$acl_hardcode_libdir_flag_spec\"
13991       libdir="$acl_save_libdir"
13992       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
13993     else
13994             for found_dir in $rpathdirs; do
13995         acl_save_libdir="$libdir"
13996         libdir="$found_dir"
13997         eval flag=\"$acl_hardcode_libdir_flag_spec\"
13998         libdir="$acl_save_libdir"
13999         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
14000       done
14001     fi
14002   fi
14003   if test "X$ltrpathdirs" != "X"; then
14004             for found_dir in $ltrpathdirs; do
14005       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
14006     done
14007   fi
14008
14009
14010
14011
14012
14013
14014
14015
14016
14017
14018
14019
14020
14021
14022
14023
14024
14025
14026
14027
14028
14029
14030
14031
14032
14033     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
14034 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
14035 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
14036   $as_echo_n "(cached) " >&6
14037 else
14038   gt_save_LIBS="$LIBS"
14039      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
14040      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14041 /* end confdefs.h.  */
14042 #include <CoreFoundation/CFPreferences.h>
14043 int
14044 main ()
14045 {
14046 CFPreferencesCopyAppValue(NULL, NULL)
14047   ;
14048   return 0;
14049 }
14050 _ACEOF
14051 if ac_fn_c_try_link "$LINENO"; then :
14052   gt_cv_func_CFPreferencesCopyAppValue=yes
14053 else
14054   gt_cv_func_CFPreferencesCopyAppValue=no
14055 fi
14056 rm -f core conftest.err conftest.$ac_objext \
14057     conftest$ac_exeext conftest.$ac_ext
14058      LIBS="$gt_save_LIBS"
14059 fi
14060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
14061 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
14062   if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
14063
14064 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
14065
14066   fi
14067     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
14068 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
14069 if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
14070   $as_echo_n "(cached) " >&6
14071 else
14072   gt_save_LIBS="$LIBS"
14073      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
14074      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14075 /* end confdefs.h.  */
14076 #include <CoreFoundation/CFLocale.h>
14077 int
14078 main ()
14079 {
14080 CFLocaleCopyCurrent();
14081   ;
14082   return 0;
14083 }
14084 _ACEOF
14085 if ac_fn_c_try_link "$LINENO"; then :
14086   gt_cv_func_CFLocaleCopyCurrent=yes
14087 else
14088   gt_cv_func_CFLocaleCopyCurrent=no
14089 fi
14090 rm -f core conftest.err conftest.$ac_objext \
14091     conftest$ac_exeext conftest.$ac_ext
14092      LIBS="$gt_save_LIBS"
14093 fi
14094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
14095 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
14096   if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
14097
14098 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
14099
14100   fi
14101   INTL_MACOSX_LIBS=
14102   if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
14103     INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
14104   fi
14105
14106
14107
14108
14109
14110
14111   LIBINTL=
14112   LTLIBINTL=
14113   POSUB=
14114
14115     case " $gt_needs " in
14116     *" need-formatstring-macros "*) gt_api_version=3 ;;
14117     *" need-ngettext "*) gt_api_version=2 ;;
14118     *) gt_api_version=1 ;;
14119   esac
14120   gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
14121   gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
14122
14123     if test "$USE_NLS" = "yes"; then
14124     gt_use_preinstalled_gnugettext=no
14125
14126
14127         if test $gt_api_version -ge 3; then
14128           gt_revision_test_code='
14129 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
14130 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
14131 #endif
14132 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
14133 '
14134         else
14135           gt_revision_test_code=
14136         fi
14137         if test $gt_api_version -ge 2; then
14138           gt_expression_test_code=' + * ngettext ("", "", 0)'
14139         else
14140           gt_expression_test_code=
14141         fi
14142
14143         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
14144 $as_echo_n "checking for GNU gettext in libc... " >&6; }
14145 if eval \${$gt_func_gnugettext_libc+:} false; then :
14146   $as_echo_n "(cached) " >&6
14147 else
14148   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14149 /* end confdefs.h.  */
14150 #include <libintl.h>
14151 $gt_revision_test_code
14152 extern int _nl_msg_cat_cntr;
14153 extern int *_nl_domain_bindings;
14154 int
14155 main ()
14156 {
14157 bindtextdomain ("", "");
14158 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
14159   ;
14160   return 0;
14161 }
14162 _ACEOF
14163 if ac_fn_c_try_link "$LINENO"; then :
14164   eval "$gt_func_gnugettext_libc=yes"
14165 else
14166   eval "$gt_func_gnugettext_libc=no"
14167 fi
14168 rm -f core conftest.err conftest.$ac_objext \
14169     conftest$ac_exeext conftest.$ac_ext
14170 fi
14171 eval ac_res=\$$gt_func_gnugettext_libc
14172                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14173 $as_echo "$ac_res" >&6; }
14174
14175         if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
14176
14177
14178
14179
14180
14181           am_save_CPPFLAGS="$CPPFLAGS"
14182
14183   for element in $INCICONV; do
14184     haveit=
14185     for x in $CPPFLAGS; do
14186
14187   acl_save_prefix="$prefix"
14188   prefix="$acl_final_prefix"
14189   acl_save_exec_prefix="$exec_prefix"
14190   exec_prefix="$acl_final_exec_prefix"
14191   eval x=\"$x\"
14192   exec_prefix="$acl_save_exec_prefix"
14193   prefix="$acl_save_prefix"
14194
14195       if test "X$x" = "X$element"; then
14196         haveit=yes
14197         break
14198       fi
14199     done
14200     if test -z "$haveit"; then
14201       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
14202     fi
14203   done
14204
14205
14206   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
14207 $as_echo_n "checking for iconv... " >&6; }
14208 if ${am_cv_func_iconv+:} false; then :
14209   $as_echo_n "(cached) " >&6
14210 else
14211
14212     am_cv_func_iconv="no, consider installing GNU libiconv"
14213     am_cv_lib_iconv=no
14214     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14215 /* end confdefs.h.  */
14216 #include <stdlib.h>
14217 #include <iconv.h>
14218 int
14219 main ()
14220 {
14221 iconv_t cd = iconv_open("","");
14222        iconv(cd,NULL,NULL,NULL,NULL);
14223        iconv_close(cd);
14224   ;
14225   return 0;
14226 }
14227 _ACEOF
14228 if ac_fn_c_try_link "$LINENO"; then :
14229   am_cv_func_iconv=yes
14230 fi
14231 rm -f core conftest.err conftest.$ac_objext \
14232     conftest$ac_exeext conftest.$ac_ext
14233     if test "$am_cv_func_iconv" != yes; then
14234       am_save_LIBS="$LIBS"
14235       LIBS="$LIBS $LIBICONV"
14236       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14237 /* end confdefs.h.  */
14238 #include <stdlib.h>
14239 #include <iconv.h>
14240 int
14241 main ()
14242 {
14243 iconv_t cd = iconv_open("","");
14244          iconv(cd,NULL,NULL,NULL,NULL);
14245          iconv_close(cd);
14246   ;
14247   return 0;
14248 }
14249 _ACEOF
14250 if ac_fn_c_try_link "$LINENO"; then :
14251   am_cv_lib_iconv=yes
14252         am_cv_func_iconv=yes
14253 fi
14254 rm -f core conftest.err conftest.$ac_objext \
14255     conftest$ac_exeext conftest.$ac_ext
14256       LIBS="$am_save_LIBS"
14257     fi
14258
14259 fi
14260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
14261 $as_echo "$am_cv_func_iconv" >&6; }
14262   if test "$am_cv_func_iconv" = yes; then
14263     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
14264 $as_echo_n "checking for working iconv... " >&6; }
14265 if ${am_cv_func_iconv_works+:} false; then :
14266   $as_echo_n "(cached) " >&6
14267 else
14268
14269             am_save_LIBS="$LIBS"
14270       if test $am_cv_lib_iconv = yes; then
14271         LIBS="$LIBS $LIBICONV"
14272       fi
14273       if test "$cross_compiling" = yes; then :
14274   case "$host_os" in
14275            aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
14276            *)            am_cv_func_iconv_works="guessing yes" ;;
14277          esac
14278 else
14279   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14280 /* end confdefs.h.  */
14281
14282 #include <iconv.h>
14283 #include <string.h>
14284 int main ()
14285 {
14286   /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
14287      returns.  */
14288   {
14289     iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
14290     if (cd_utf8_to_88591 != (iconv_t)(-1))
14291       {
14292         static const char input[] = "\342\202\254"; /* EURO SIGN */
14293         char buf[10];
14294         const char *inptr = input;
14295         size_t inbytesleft = strlen (input);
14296         char *outptr = buf;
14297         size_t outbytesleft = sizeof (buf);
14298         size_t res = iconv (cd_utf8_to_88591,
14299                             (char **) &inptr, &inbytesleft,
14300                             &outptr, &outbytesleft);
14301         if (res == 0)
14302           return 1;
14303       }
14304   }
14305 #if 0 /* This bug could be worked around by the caller.  */
14306   /* Test against HP-UX 11.11 bug: Positive return value instead of 0.  */
14307   {
14308     iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
14309     if (cd_88591_to_utf8 != (iconv_t)(-1))
14310       {
14311         static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
14312         char buf[50];
14313         const char *inptr = input;
14314         size_t inbytesleft = strlen (input);
14315         char *outptr = buf;
14316         size_t outbytesleft = sizeof (buf);
14317         size_t res = iconv (cd_88591_to_utf8,
14318                             (char **) &inptr, &inbytesleft,
14319                             &outptr, &outbytesleft);
14320         if ((int)res > 0)
14321           return 1;
14322       }
14323   }
14324 #endif
14325   /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
14326      provided.  */
14327   if (/* Try standardized names.  */
14328       iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
14329       /* Try IRIX, OSF/1 names.  */
14330       && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
14331       /* Try AIX names.  */
14332       && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
14333       /* Try HP-UX names.  */
14334       && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
14335     return 1;
14336   return 0;
14337 }
14338 _ACEOF
14339 if ac_fn_c_try_run "$LINENO"; then :
14340   am_cv_func_iconv_works=yes
14341 else
14342   am_cv_func_iconv_works=no
14343 fi
14344 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14345   conftest.$ac_objext conftest.beam conftest.$ac_ext
14346 fi
14347
14348       LIBS="$am_save_LIBS"
14349
14350 fi
14351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
14352 $as_echo "$am_cv_func_iconv_works" >&6; }
14353     case "$am_cv_func_iconv_works" in
14354       *no) am_func_iconv=no am_cv_lib_iconv=no ;;
14355       *)   am_func_iconv=yes ;;
14356     esac
14357   else
14358     am_func_iconv=no am_cv_lib_iconv=no
14359   fi
14360   if test "$am_func_iconv" = yes; then
14361
14362 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
14363
14364   fi
14365   if test "$am_cv_lib_iconv" = yes; then
14366     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
14367 $as_echo_n "checking how to link with libiconv... " >&6; }
14368     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
14369 $as_echo "$LIBICONV" >&6; }
14370   else
14371             CPPFLAGS="$am_save_CPPFLAGS"
14372     LIBICONV=
14373     LTLIBICONV=
14374   fi
14375
14376
14377
14378
14379
14380
14381
14382
14383     use_additional=yes
14384
14385   acl_save_prefix="$prefix"
14386   prefix="$acl_final_prefix"
14387   acl_save_exec_prefix="$exec_prefix"
14388   exec_prefix="$acl_final_exec_prefix"
14389
14390     eval additional_includedir=\"$includedir\"
14391     eval additional_libdir=\"$libdir\"
14392
14393   exec_prefix="$acl_save_exec_prefix"
14394   prefix="$acl_save_prefix"
14395
14396
14397 # Check whether --with-libintl-prefix was given.
14398 if test "${with_libintl_prefix+set}" = set; then :
14399   withval=$with_libintl_prefix;
14400     if test "X$withval" = "Xno"; then
14401       use_additional=no
14402     else
14403       if test "X$withval" = "X"; then
14404
14405   acl_save_prefix="$prefix"
14406   prefix="$acl_final_prefix"
14407   acl_save_exec_prefix="$exec_prefix"
14408   exec_prefix="$acl_final_exec_prefix"
14409
14410           eval additional_includedir=\"$includedir\"
14411           eval additional_libdir=\"$libdir\"
14412
14413   exec_prefix="$acl_save_exec_prefix"
14414   prefix="$acl_save_prefix"
14415
14416       else
14417         additional_includedir="$withval/include"
14418         additional_libdir="$withval/$acl_libdirstem"
14419       fi
14420     fi
14421
14422 fi
14423
14424       LIBINTL=
14425   LTLIBINTL=
14426   INCINTL=
14427   LIBINTL_PREFIX=
14428   rpathdirs=
14429   ltrpathdirs=
14430   names_already_handled=
14431   names_next_round='intl '
14432   while test -n "$names_next_round"; do
14433     names_this_round="$names_next_round"
14434     names_next_round=
14435     for name in $names_this_round; do
14436       already_handled=
14437       for n in $names_already_handled; do
14438         if test "$n" = "$name"; then
14439           already_handled=yes
14440           break
14441         fi
14442       done
14443       if test -z "$already_handled"; then
14444         names_already_handled="$names_already_handled $name"
14445                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
14446         eval value=\"\$HAVE_LIB$uppername\"
14447         if test -n "$value"; then
14448           if test "$value" = yes; then
14449             eval value=\"\$LIB$uppername\"
14450             test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
14451             eval value=\"\$LTLIB$uppername\"
14452             test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
14453           else
14454                                     :
14455           fi
14456         else
14457                               found_dir=
14458           found_la=
14459           found_so=
14460           found_a=
14461           eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
14462           if test -n "$acl_shlibext"; then
14463             shrext=".$acl_shlibext"             # typically: shrext=.so
14464           else
14465             shrext=
14466           fi
14467           if test $use_additional = yes; then
14468             dir="$additional_libdir"
14469                                     if test -n "$acl_shlibext"; then
14470               if test -f "$dir/$libname$shrext"; then
14471                 found_dir="$dir"
14472                 found_so="$dir/$libname$shrext"
14473               else
14474                 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
14475                   ver=`(cd "$dir" && \
14476                         for f in "$libname$shrext".*; do echo "$f"; done \
14477                         | sed -e "s,^$libname$shrext\\\\.,," \
14478                         | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
14479                         | sed 1q ) 2>/dev/null`
14480                   if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
14481                     found_dir="$dir"
14482                     found_so="$dir/$libname$shrext.$ver"
14483                   fi
14484                 else
14485                   eval library_names=\"$acl_library_names_spec\"
14486                   for f in $library_names; do
14487                     if test -f "$dir/$f"; then
14488                       found_dir="$dir"
14489                       found_so="$dir/$f"
14490                       break
14491                     fi
14492                   done
14493                 fi
14494               fi
14495             fi
14496                         if test "X$found_dir" = "X"; then
14497               if test -f "$dir/$libname.$acl_libext"; then
14498                 found_dir="$dir"
14499                 found_a="$dir/$libname.$acl_libext"
14500               fi
14501             fi
14502             if test "X$found_dir" != "X"; then
14503               if test -f "$dir/$libname.la"; then
14504                 found_la="$dir/$libname.la"
14505               fi
14506             fi
14507           fi
14508           if test "X$found_dir" = "X"; then
14509             for x in $LDFLAGS $LTLIBINTL; do
14510
14511   acl_save_prefix="$prefix"
14512   prefix="$acl_final_prefix"
14513   acl_save_exec_prefix="$exec_prefix"
14514   exec_prefix="$acl_final_exec_prefix"
14515   eval x=\"$x\"
14516   exec_prefix="$acl_save_exec_prefix"
14517   prefix="$acl_save_prefix"
14518
14519               case "$x" in
14520                 -L*)
14521                   dir=`echo "X$x" | sed -e 's/^X-L//'`
14522                                     if test -n "$acl_shlibext"; then
14523                     if test -f "$dir/$libname$shrext"; then
14524                       found_dir="$dir"
14525                       found_so="$dir/$libname$shrext"
14526                     else
14527                       if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
14528                         ver=`(cd "$dir" && \
14529                               for f in "$libname$shrext".*; do echo "$f"; done \
14530                               | sed -e "s,^$libname$shrext\\\\.,," \
14531                               | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
14532                               | sed 1q ) 2>/dev/null`
14533                         if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
14534                           found_dir="$dir"
14535                           found_so="$dir/$libname$shrext.$ver"
14536                         fi
14537                       else
14538                         eval library_names=\"$acl_library_names_spec\"
14539                         for f in $library_names; do
14540                           if test -f "$dir/$f"; then
14541                             found_dir="$dir"
14542                             found_so="$dir/$f"
14543                             break
14544                           fi
14545                         done
14546                       fi
14547                     fi
14548                   fi
14549                                     if test "X$found_dir" = "X"; then
14550                     if test -f "$dir/$libname.$acl_libext"; then
14551                       found_dir="$dir"
14552                       found_a="$dir/$libname.$acl_libext"
14553                     fi
14554                   fi
14555                   if test "X$found_dir" != "X"; then
14556                     if test -f "$dir/$libname.la"; then
14557                       found_la="$dir/$libname.la"
14558                     fi
14559                   fi
14560                   ;;
14561               esac
14562               if test "X$found_dir" != "X"; then
14563                 break
14564               fi
14565             done
14566           fi
14567           if test "X$found_dir" != "X"; then
14568                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
14569             if test "X$found_so" != "X"; then
14570                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
14571                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
14572               else
14573                                                                                 haveit=
14574                 for x in $ltrpathdirs; do
14575                   if test "X$x" = "X$found_dir"; then
14576                     haveit=yes
14577                     break
14578                   fi
14579                 done
14580                 if test -z "$haveit"; then
14581                   ltrpathdirs="$ltrpathdirs $found_dir"
14582                 fi
14583                                 if test "$acl_hardcode_direct" = yes; then
14584                                                       LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
14585                 else
14586                   if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
14587                                                             LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
14588                                                             haveit=
14589                     for x in $rpathdirs; do
14590                       if test "X$x" = "X$found_dir"; then
14591                         haveit=yes
14592                         break
14593                       fi
14594                     done
14595                     if test -z "$haveit"; then
14596                       rpathdirs="$rpathdirs $found_dir"
14597                     fi
14598                   else
14599                                                                                 haveit=
14600                     for x in $LDFLAGS $LIBINTL; do
14601
14602   acl_save_prefix="$prefix"
14603   prefix="$acl_final_prefix"
14604   acl_save_exec_prefix="$exec_prefix"
14605   exec_prefix="$acl_final_exec_prefix"
14606   eval x=\"$x\"
14607   exec_prefix="$acl_save_exec_prefix"
14608   prefix="$acl_save_prefix"
14609
14610                       if test "X$x" = "X-L$found_dir"; then
14611                         haveit=yes
14612                         break
14613                       fi
14614                     done
14615                     if test -z "$haveit"; then
14616                       LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
14617                     fi
14618                     if test "$acl_hardcode_minus_L" != no; then
14619                                                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
14620                     else
14621                                                                                                                                                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
14622                     fi
14623                   fi
14624                 fi
14625               fi
14626             else
14627               if test "X$found_a" != "X"; then
14628                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
14629               else
14630                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
14631               fi
14632             fi
14633                         additional_includedir=
14634             case "$found_dir" in
14635               */$acl_libdirstem | */$acl_libdirstem/)
14636                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
14637                 LIBINTL_PREFIX="$basedir"
14638                 additional_includedir="$basedir/include"
14639                 ;;
14640             esac
14641             if test "X$additional_includedir" != "X"; then
14642                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
14643                 haveit=
14644                 if test "X$additional_includedir" = "X/usr/local/include"; then
14645                   if test -n "$GCC"; then
14646                     case $host_os in
14647                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
14648                     esac
14649                   fi
14650                 fi
14651                 if test -z "$haveit"; then
14652                   for x in $CPPFLAGS $INCINTL; do
14653
14654   acl_save_prefix="$prefix"
14655   prefix="$acl_final_prefix"
14656   acl_save_exec_prefix="$exec_prefix"
14657   exec_prefix="$acl_final_exec_prefix"
14658   eval x=\"$x\"
14659   exec_prefix="$acl_save_exec_prefix"
14660   prefix="$acl_save_prefix"
14661
14662                     if test "X$x" = "X-I$additional_includedir"; then
14663                       haveit=yes
14664                       break
14665                     fi
14666                   done
14667                   if test -z "$haveit"; then
14668                     if test -d "$additional_includedir"; then
14669                                             INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
14670                     fi
14671                   fi
14672                 fi
14673               fi
14674             fi
14675                         if test -n "$found_la"; then
14676                                                         save_libdir="$libdir"
14677               case "$found_la" in
14678                 */* | *\\*) . "$found_la" ;;
14679                 *) . "./$found_la" ;;
14680               esac
14681               libdir="$save_libdir"
14682                             for dep in $dependency_libs; do
14683                 case "$dep" in
14684                   -L*)
14685                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
14686                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
14687                       haveit=
14688                       if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
14689                         if test -n "$GCC"; then
14690                           case $host_os in
14691                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
14692                           esac
14693                         fi
14694                       fi
14695                       if test -z "$haveit"; then
14696                         haveit=
14697                         for x in $LDFLAGS $LIBINTL; do
14698
14699   acl_save_prefix="$prefix"
14700   prefix="$acl_final_prefix"
14701   acl_save_exec_prefix="$exec_prefix"
14702   exec_prefix="$acl_final_exec_prefix"
14703   eval x=\"$x\"
14704   exec_prefix="$acl_save_exec_prefix"
14705   prefix="$acl_save_prefix"
14706
14707                           if test "X$x" = "X-L$additional_libdir"; then
14708                             haveit=yes
14709                             break
14710                           fi
14711                         done
14712                         if test -z "$haveit"; then
14713                           if test -d "$additional_libdir"; then
14714                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
14715                           fi
14716                         fi
14717                         haveit=
14718                         for x in $LDFLAGS $LTLIBINTL; do
14719
14720   acl_save_prefix="$prefix"
14721   prefix="$acl_final_prefix"
14722   acl_save_exec_prefix="$exec_prefix"
14723   exec_prefix="$acl_final_exec_prefix"
14724   eval x=\"$x\"
14725   exec_prefix="$acl_save_exec_prefix"
14726   prefix="$acl_save_prefix"
14727
14728                           if test "X$x" = "X-L$additional_libdir"; then
14729                             haveit=yes
14730                             break
14731                           fi
14732                         done
14733                         if test -z "$haveit"; then
14734                           if test -d "$additional_libdir"; then
14735                                                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
14736                           fi
14737                         fi
14738                       fi
14739                     fi
14740                     ;;
14741                   -R*)
14742                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
14743                     if test "$enable_rpath" != no; then
14744                                                                   haveit=
14745                       for x in $rpathdirs; do
14746                         if test "X$x" = "X$dir"; then
14747                           haveit=yes
14748                           break
14749                         fi
14750                       done
14751                       if test -z "$haveit"; then
14752                         rpathdirs="$rpathdirs $dir"
14753                       fi
14754                                                                   haveit=
14755                       for x in $ltrpathdirs; do
14756                         if test "X$x" = "X$dir"; then
14757                           haveit=yes
14758                           break
14759                         fi
14760                       done
14761                       if test -z "$haveit"; then
14762                         ltrpathdirs="$ltrpathdirs $dir"
14763                       fi
14764                     fi
14765                     ;;
14766                   -l*)
14767                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
14768                     ;;
14769                   *.la)
14770                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
14771                     ;;
14772                   *)
14773                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
14774                     LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
14775                     ;;
14776                 esac
14777               done
14778             fi
14779           else
14780                                                             LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
14781             LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
14782           fi
14783         fi
14784       fi
14785     done
14786   done
14787   if test "X$rpathdirs" != "X"; then
14788     if test -n "$acl_hardcode_libdir_separator"; then
14789                         alldirs=
14790       for found_dir in $rpathdirs; do
14791         alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
14792       done
14793             acl_save_libdir="$libdir"
14794       libdir="$alldirs"
14795       eval flag=\"$acl_hardcode_libdir_flag_spec\"
14796       libdir="$acl_save_libdir"
14797       LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
14798     else
14799             for found_dir in $rpathdirs; do
14800         acl_save_libdir="$libdir"
14801         libdir="$found_dir"
14802         eval flag=\"$acl_hardcode_libdir_flag_spec\"
14803         libdir="$acl_save_libdir"
14804         LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
14805       done
14806     fi
14807   fi
14808   if test "X$ltrpathdirs" != "X"; then
14809             for found_dir in $ltrpathdirs; do
14810       LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
14811     done
14812   fi
14813
14814           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
14815 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
14816 if eval \${$gt_func_gnugettext_libintl+:} false; then :
14817   $as_echo_n "(cached) " >&6
14818 else
14819   gt_save_CPPFLAGS="$CPPFLAGS"
14820             CPPFLAGS="$CPPFLAGS $INCINTL"
14821             gt_save_LIBS="$LIBS"
14822             LIBS="$LIBS $LIBINTL"
14823                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14824 /* end confdefs.h.  */
14825 #include <libintl.h>
14826 $gt_revision_test_code
14827 extern int _nl_msg_cat_cntr;
14828 extern
14829 #ifdef __cplusplus
14830 "C"
14831 #endif
14832 const char *_nl_expand_alias (const char *);
14833 int
14834 main ()
14835 {
14836 bindtextdomain ("", "");
14837 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
14838   ;
14839   return 0;
14840 }
14841 _ACEOF
14842 if ac_fn_c_try_link "$LINENO"; then :
14843   eval "$gt_func_gnugettext_libintl=yes"
14844 else
14845   eval "$gt_func_gnugettext_libintl=no"
14846 fi
14847 rm -f core conftest.err conftest.$ac_objext \
14848     conftest$ac_exeext conftest.$ac_ext
14849                         if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
14850               LIBS="$LIBS $LIBICONV"
14851               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14852 /* end confdefs.h.  */
14853 #include <libintl.h>
14854 $gt_revision_test_code
14855 extern int _nl_msg_cat_cntr;
14856 extern
14857 #ifdef __cplusplus
14858 "C"
14859 #endif
14860 const char *_nl_expand_alias (const char *);
14861 int
14862 main ()
14863 {
14864 bindtextdomain ("", "");
14865 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
14866   ;
14867   return 0;
14868 }
14869 _ACEOF
14870 if ac_fn_c_try_link "$LINENO"; then :
14871   LIBINTL="$LIBINTL $LIBICONV"
14872                 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
14873                 eval "$gt_func_gnugettext_libintl=yes"
14874
14875 fi
14876 rm -f core conftest.err conftest.$ac_objext \
14877     conftest$ac_exeext conftest.$ac_ext
14878             fi
14879             CPPFLAGS="$gt_save_CPPFLAGS"
14880             LIBS="$gt_save_LIBS"
14881 fi
14882 eval ac_res=\$$gt_func_gnugettext_libintl
14883                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14884 $as_echo "$ac_res" >&6; }
14885         fi
14886
14887                                         if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
14888            || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
14889                 && test "$PACKAGE" != gettext-runtime \
14890                 && test "$PACKAGE" != gettext-tools; }; then
14891           gt_use_preinstalled_gnugettext=yes
14892         else
14893                     LIBINTL=
14894           LTLIBINTL=
14895           INCINTL=
14896         fi
14897
14898
14899
14900     if test -n "$INTL_MACOSX_LIBS"; then
14901       if test "$gt_use_preinstalled_gnugettext" = "yes" \
14902          || test "$nls_cv_use_gnu_gettext" = "yes"; then
14903                 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
14904         LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
14905       fi
14906     fi
14907
14908     if test "$gt_use_preinstalled_gnugettext" = "yes" \
14909        || test "$nls_cv_use_gnu_gettext" = "yes"; then
14910
14911 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
14912
14913     else
14914       USE_NLS=no
14915     fi
14916   fi
14917
14918   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
14919 $as_echo_n "checking whether to use NLS... " >&6; }
14920   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
14921 $as_echo "$USE_NLS" >&6; }
14922   if test "$USE_NLS" = "yes"; then
14923     { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
14924 $as_echo_n "checking where the gettext function comes from... " >&6; }
14925     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
14926       if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
14927         gt_source="external libintl"
14928       else
14929         gt_source="libc"
14930       fi
14931     else
14932       gt_source="included intl directory"
14933     fi
14934     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
14935 $as_echo "$gt_source" >&6; }
14936   fi
14937
14938   if test "$USE_NLS" = "yes"; then
14939
14940     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
14941       if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
14942         { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
14943 $as_echo_n "checking how to link with libintl... " >&6; }
14944         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
14945 $as_echo "$LIBINTL" >&6; }
14946
14947   for element in $INCINTL; do
14948     haveit=
14949     for x in $CPPFLAGS; do
14950
14951   acl_save_prefix="$prefix"
14952   prefix="$acl_final_prefix"
14953   acl_save_exec_prefix="$exec_prefix"
14954   exec_prefix="$acl_final_exec_prefix"
14955   eval x=\"$x\"
14956   exec_prefix="$acl_save_exec_prefix"
14957   prefix="$acl_save_prefix"
14958
14959       if test "X$x" = "X$element"; then
14960         haveit=yes
14961         break
14962       fi
14963     done
14964     if test -z "$haveit"; then
14965       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
14966     fi
14967   done
14968
14969       fi
14970
14971
14972 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
14973
14974
14975 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
14976
14977     fi
14978
14979         POSUB=po
14980   fi
14981
14982
14983
14984     INTLLIBS="$LIBINTL"
14985
14986
14987
14988
14989
14990
14991
14992   if test "$USE_NLS" = "yes"; then
14993     GETTEXT_PACKAGE=gst-plugins-good-$GST_MAJORMINOR
14994   else
14995     GETTEXT_PACKAGE=NULL
14996   fi
14997
14998
14999 cat >>confdefs.h <<_ACEOF
15000 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
15001 _ACEOF
15002
15003
15004
15005   EXP_VAR=LOCALEDIR
15006   FROM_VAR=$datadir/locale
15007
15008     prefix_save=$prefix
15009   exec_prefix_save=$exec_prefix
15010
15011     if test "x$prefix" = "xNONE"; then
15012     prefix="$ac_default_prefix"
15013   fi
15014     if test "x$exec_prefix" = "xNONE"; then
15015     exec_prefix=$prefix
15016   fi
15017
15018   full_var="$FROM_VAR"
15019     while true; do
15020     new_full_var="`eval echo $full_var`"
15021     if test "x$new_full_var" = "x$full_var"; then break; fi
15022     full_var=$new_full_var
15023   done
15024
15025     full_var=$new_full_var
15026   LOCALEDIR="$full_var"
15027
15028
15029     prefix=$prefix_save
15030   exec_prefix=$exec_prefix_save
15031
15032
15033 cat >>confdefs.h <<_ACEOF
15034 #define LOCALEDIR "$LOCALEDIR"
15035 _ACEOF
15036
15037
15038
15039
15040
15041     # Check whether --enable-debug was given.
15042 if test "${enable_debug+set}" = set; then :
15043   enableval=$enable_debug;
15044       case "${enableval}" in
15045         yes) USE_DEBUG=yes ;;
15046         no)  USE_DEBUG=no ;;
15047         *)   as_fn_error $? "bad value ${enableval} for --enable-debug" "$LINENO" 5 ;;
15048       esac
15049
15050 else
15051   USE_DEBUG=yes
15052 fi
15053
15054
15055   # Check whether --enable-profiling was given.
15056 if test "${enable_profiling+set}" = set; then :
15057   enableval=$enable_profiling;
15058       case "${enableval}" in
15059         yes) USE_PROFILING=yes ;;
15060         no)  USE_PROFILING=no ;;
15061         *)   as_fn_error $? "bad value ${enableval} for --enable-profiling" "$LINENO" 5 ;;
15062       esac
15063
15064 else
15065   USE_PROFILING=no
15066 fi
15067
15068
15069
15070 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
15071         if test -n "$ac_tool_prefix"; then
15072   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
15073 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
15074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15075 $as_echo_n "checking for $ac_word... " >&6; }
15076 if ${ac_cv_path_PKG_CONFIG+:} false; then :
15077   $as_echo_n "(cached) " >&6
15078 else
15079   case $PKG_CONFIG in
15080   [\\/]* | ?:[\\/]*)
15081   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
15082   ;;
15083   *)
15084   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15085 for as_dir in $PATH
15086 do
15087   IFS=$as_save_IFS
15088   test -z "$as_dir" && as_dir=.
15089     for ac_exec_ext in '' $ac_executable_extensions; do
15090   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15091     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15092     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15093     break 2
15094   fi
15095 done
15096   done
15097 IFS=$as_save_IFS
15098
15099   ;;
15100 esac
15101 fi
15102 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
15103 if test -n "$PKG_CONFIG"; then
15104   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
15105 $as_echo "$PKG_CONFIG" >&6; }
15106 else
15107   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15108 $as_echo "no" >&6; }
15109 fi
15110
15111
15112 fi
15113 if test -z "$ac_cv_path_PKG_CONFIG"; then
15114   ac_pt_PKG_CONFIG=$PKG_CONFIG
15115   # Extract the first word of "pkg-config", so it can be a program name with args.
15116 set dummy pkg-config; ac_word=$2
15117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15118 $as_echo_n "checking for $ac_word... " >&6; }
15119 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
15120   $as_echo_n "(cached) " >&6
15121 else
15122   case $ac_pt_PKG_CONFIG in
15123   [\\/]* | ?:[\\/]*)
15124   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
15125   ;;
15126   *)
15127   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15128 for as_dir in $PATH
15129 do
15130   IFS=$as_save_IFS
15131   test -z "$as_dir" && as_dir=.
15132     for ac_exec_ext in '' $ac_executable_extensions; do
15133   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15134     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15135     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15136     break 2
15137   fi
15138 done
15139   done
15140 IFS=$as_save_IFS
15141
15142   ;;
15143 esac
15144 fi
15145 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
15146 if test -n "$ac_pt_PKG_CONFIG"; then
15147   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
15148 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
15149 else
15150   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15151 $as_echo "no" >&6; }
15152 fi
15153
15154   if test "x$ac_pt_PKG_CONFIG" = x; then
15155     PKG_CONFIG=""
15156   else
15157     case $cross_compiling:$ac_tool_warned in
15158 yes:)
15159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15160 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15161 ac_tool_warned=yes ;;
15162 esac
15163     PKG_CONFIG=$ac_pt_PKG_CONFIG
15164   fi
15165 else
15166   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
15167 fi
15168
15169 fi
15170 if test -n "$PKG_CONFIG"; then
15171         _pkg_min_version=0.9.0
15172         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
15173 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
15174         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
15175                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15176 $as_echo "yes" >&6; }
15177         else
15178                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15179 $as_echo "no" >&6; }
15180                 PKG_CONFIG=""
15181         fi
15182
15183 fi
15184
15185     # Check whether --enable-valgrind was given.
15186 if test "${enable_valgrind+set}" = set; then :
15187   enableval=$enable_valgrind;
15188       case "${enableval}" in
15189         yes) USE_VALGRIND="$USE_DEBUG" ;;
15190         no)  USE_VALGRIND=no ;;
15191         *)   as_fn_error $? "bad value ${enableval} for --enable-valgrind" "$LINENO" 5 ;;
15192       esac
15193
15194 else
15195   USE_VALGRIND="$USE_DEBUG"
15196 fi
15197    VALGRIND_REQ="3.0"
15198   if test "x$USE_VALGRIND" = xyes; then
15199
15200 pkg_failed=no
15201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for VALGRIND" >&5
15202 $as_echo_n "checking for VALGRIND... " >&6; }
15203
15204 if test -n "$PKG_CONFIG"; then
15205     if test -n "$VALGRIND_CFLAGS"; then
15206         pkg_cv_VALGRIND_CFLAGS="$VALGRIND_CFLAGS"
15207     else
15208         if test -n "$PKG_CONFIG" && \
15209     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= \$VALGRIND_REQ\""; } >&5
15210   ($PKG_CONFIG --exists --print-errors "valgrind >= $VALGRIND_REQ") 2>&5
15211   ac_status=$?
15212   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15213   test $ac_status = 0; }; then
15214   pkg_cv_VALGRIND_CFLAGS=`$PKG_CONFIG --cflags "valgrind >= $VALGRIND_REQ" 2>/dev/null`
15215 else
15216   pkg_failed=yes
15217 fi
15218     fi
15219 else
15220         pkg_failed=untried
15221 fi
15222 if test -n "$PKG_CONFIG"; then
15223     if test -n "$VALGRIND_LIBS"; then
15224         pkg_cv_VALGRIND_LIBS="$VALGRIND_LIBS"
15225     else
15226         if test -n "$PKG_CONFIG" && \
15227     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= \$VALGRIND_REQ\""; } >&5
15228   ($PKG_CONFIG --exists --print-errors "valgrind >= $VALGRIND_REQ") 2>&5
15229   ac_status=$?
15230   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15231   test $ac_status = 0; }; then
15232   pkg_cv_VALGRIND_LIBS=`$PKG_CONFIG --libs "valgrind >= $VALGRIND_REQ" 2>/dev/null`
15233 else
15234   pkg_failed=yes
15235 fi
15236     fi
15237 else
15238         pkg_failed=untried
15239 fi
15240
15241
15242
15243 if test $pkg_failed = yes; then
15244
15245 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15246         _pkg_short_errors_supported=yes
15247 else
15248         _pkg_short_errors_supported=no
15249 fi
15250         if test $_pkg_short_errors_supported = yes; then
15251                 VALGRIND_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "valgrind >= $VALGRIND_REQ"`
15252         else
15253                 VALGRIND_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "valgrind >= $VALGRIND_REQ"`
15254         fi
15255         # Put the nasty error message in config.log where it belongs
15256         echo "$VALGRIND_PKG_ERRORS" >&5
15257
15258         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15259 $as_echo "no" >&6; }
15260                 USE_VALGRIND="no"
15261 elif test $pkg_failed = untried; then
15262         USE_VALGRIND="no"
15263 else
15264         VALGRIND_CFLAGS=$pkg_cv_VALGRIND_CFLAGS
15265         VALGRIND_LIBS=$pkg_cv_VALGRIND_LIBS
15266         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15267 $as_echo "yes" >&6; }
15268         USE_VALGRIND="yes"
15269 fi
15270   fi
15271   if test "x$USE_VALGRIND" = xyes; then
15272
15273 $as_echo "#define HAVE_VALGRIND 1" >>confdefs.h
15274
15275     { $as_echo "$as_me:${as_lineno-$LINENO}: Using extra code paths for valgrind" >&5
15276 $as_echo "$as_me: Using extra code paths for valgrind" >&6;}
15277   fi
15278
15279
15280   # Check whether --enable-gcov was given.
15281 if test "${enable_gcov+set}" = set; then :
15282   enableval=$enable_gcov; enable_gcov=$enableval
15283 else
15284   enable_gcov=no
15285 fi
15286
15287   if test x$enable_gcov = xyes ; then
15288     if test "x$GCC" != "xyes"
15289     then
15290       as_fn_error $? "gcov only works if gcc is used" "$LINENO" 5
15291     fi
15292
15293
15294   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands \"-fprofile-arcs\"" >&5
15295 $as_echo_n "checking to see if compiler understands \"-fprofile-arcs\"... " >&6; }
15296
15297   save_CFLAGS="$CFLAGS"
15298   CFLAGS="$CFLAGS "-fprofile-arcs""
15299
15300   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15301 /* end confdefs.h.  */
15302
15303 int
15304 main ()
15305 {
15306
15307   ;
15308   return 0;
15309 }
15310 _ACEOF
15311 if ac_fn_c_try_compile "$LINENO"; then :
15312   flag_ok=yes
15313 else
15314   flag_ok=no
15315 fi
15316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15317   CFLAGS="$save_CFLAGS"
15318
15319   if test "X$flag_ok" = Xyes ; then
15320     GCOV_CFLAGS="$GCOV_CFLAGS -fprofile-arcs"
15321     true
15322   else
15323     true
15324     true
15325   fi
15326   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
15327 $as_echo "$flag_ok" >&6; }
15328
15329
15330   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands \"-ftest-coverage\"" >&5
15331 $as_echo_n "checking to see if compiler understands \"-ftest-coverage\"... " >&6; }
15332
15333   save_CFLAGS="$CFLAGS"
15334   CFLAGS="$CFLAGS "-ftest-coverage""
15335
15336   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15337 /* end confdefs.h.  */
15338
15339 int
15340 main ()
15341 {
15342
15343   ;
15344   return 0;
15345 }
15346 _ACEOF
15347 if ac_fn_c_try_compile "$LINENO"; then :
15348   flag_ok=yes
15349 else
15350   flag_ok=no
15351 fi
15352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15353   CFLAGS="$save_CFLAGS"
15354
15355   if test "X$flag_ok" = Xyes ; then
15356     GCOV_CFLAGS="$GCOV_CFLAGS -ftest-coverage"
15357     true
15358   else
15359     true
15360     true
15361   fi
15362   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
15363 $as_echo "$flag_ok" >&6; }
15364
15365         GCOV_CFLAGS=`echo "$GCOV_CFLAGS" | sed -e 's/-O[0-9]*//g'`
15366                 GCOV_LIBS=-lgcov
15367
15368
15369     GCOV=`echo $CC | sed s/gcc/gcov/g`
15370
15371
15372     GST_GCOV_ENABLED=yes
15373
15374 cat >>confdefs.h <<_ACEOF
15375 #define GST_GCOV_ENABLED 1
15376 _ACEOF
15377
15378         if test "x$GST_GCOV_ENABLED" = "xyes"
15379     then
15380       CFLAGS="-O0"
15381
15382       CXXFLAGS="-O0"
15383
15384       FFLAGS="-O0"
15385
15386       CCASFLAGS="-O0"
15387
15388       { $as_echo "$as_me:${as_lineno-$LINENO}: gcov enabled, setting CFLAGS and friends to $CFLAGS" >&5
15389 $as_echo "$as_me: gcov enabled, setting CFLAGS and friends to $CFLAGS" >&6;}
15390     fi
15391   fi
15392    if test x$enable_gcov = xyes; then
15393   GST_GCOV_ENABLED_TRUE=
15394   GST_GCOV_ENABLED_FALSE='#'
15395 else
15396   GST_GCOV_ENABLED_TRUE='#'
15397   GST_GCOV_ENABLED_FALSE=
15398 fi
15399
15400
15401
15402
15403   # Check whether --enable-examples was given.
15404 if test "${enable_examples+set}" = set; then :
15405   enableval=$enable_examples;
15406         case "${enableval}" in
15407           yes) BUILD_EXAMPLES=yes ;;
15408           no)  BUILD_EXAMPLES=no ;;
15409           *)   as_fn_error $? "bad value ${enableval} for --disable-examples" "$LINENO" 5 ;;
15410         esac
15411
15412 else
15413   BUILD_EXAMPLES=yes
15414 fi
15415     if test "x$BUILD_EXAMPLES" = "xyes"; then
15416   BUILD_EXAMPLES_TRUE=
15417   BUILD_EXAMPLES_FALSE='#'
15418 else
15419   BUILD_EXAMPLES_TRUE='#'
15420   BUILD_EXAMPLES_FALSE=
15421 fi
15422
15423
15424
15425
15426
15427 # Check whether --with-pkg-config-path was given.
15428 if test "${with_pkg_config_path+set}" = set; then :
15429   withval=$with_pkg_config_path;
15430        export PKG_CONFIG_PATH=${withval}
15431        { $as_echo "$as_me:${as_lineno-$LINENO}: Set PKG_CONFIG_PATH to $PKG_CONFIG_PATH" >&5
15432 $as_echo "$as_me: Set PKG_CONFIG_PATH to $PKG_CONFIG_PATH" >&6;}
15433
15434 fi
15435
15436
15437
15438
15439 # Check whether --with-package-name was given.
15440 if test "${with_package_name+set}" = set; then :
15441   withval=$with_package_name;
15442       case "${withval}" in
15443         yes) as_fn_error $? "bad value ${withval} for --with-package-name" "$LINENO" 5 ;;
15444         no)  as_fn_error $? "bad value ${withval} for --with-package-name" "$LINENO" 5 ;;
15445         *)   GST_PACKAGE_NAME="${withval}" ;;
15446       esac
15447
15448 else
15449
15450       P=
15451       if test "x$P" = "x"
15452       then
15453         P=$PACKAGE_NAME
15454       fi
15455
15456       if test "x$PACKAGE_VERSION_NANO" = "x0"
15457       then
15458         GST_PACKAGE_NAME="$P source release"
15459       else
15460         if test "x$PACKAGE_VERSION_NANO" = "x1"
15461         then
15462           GST_PACKAGE_NAME="$P git"
15463         else
15464           GST_PACKAGE_NAME="$P prerelease"
15465         fi
15466       fi
15467
15468
15469 fi
15470
15471   { $as_echo "$as_me:${as_lineno-$LINENO}: Using $GST_PACKAGE_NAME as package name" >&5
15472 $as_echo "$as_me: Using $GST_PACKAGE_NAME as package name" >&6;}
15473
15474 cat >>confdefs.h <<_ACEOF
15475 #define GST_PACKAGE_NAME "$GST_PACKAGE_NAME"
15476 _ACEOF
15477
15478
15479
15480
15481
15482 # Check whether --with-package-origin was given.
15483 if test "${with_package_origin+set}" = set; then :
15484   withval=$with_package_origin;
15485       case "${withval}" in
15486         yes) as_fn_error $? "bad value ${withval} for --with-package-origin" "$LINENO" 5 ;;
15487         no)  as_fn_error $? "bad value ${withval} for --with-package-origin" "$LINENO" 5 ;;
15488         *)   GST_PACKAGE_ORIGIN="${withval}" ;;
15489       esac
15490
15491 else
15492   GST_PACKAGE_ORIGIN="Unknown package origin"
15493 fi
15494
15495   { $as_echo "$as_me:${as_lineno-$LINENO}: Using $GST_PACKAGE_ORIGIN as package origin" >&5
15496 $as_echo "$as_me: Using $GST_PACKAGE_ORIGIN as package origin" >&6;}
15497
15498 cat >>confdefs.h <<_ACEOF
15499 #define GST_PACKAGE_ORIGIN "$GST_PACKAGE_ORIGIN"
15500 _ACEOF
15501
15502
15503
15504
15505
15506
15507 # Check whether --with-plugins was given.
15508 if test "${with_plugins+set}" = set; then :
15509   withval=$with_plugins; WITH_PLUGINS=$withval
15510 else
15511   WITH_PLUGINS=
15512 fi
15513
15514
15515   GST_PLUGINS_ALL=""
15516   GST_PLUGINS_SELECTED=""
15517
15518
15519
15520
15521
15522
15523   echo
15524 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: building of plug-ins with external deps ***" >&5
15525 $as_echo "$as_me: *** checking feature: building of plug-ins with external deps ***" >&6;}
15526 if test "x" != "x"
15527 then
15528   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins:  ***" >&5
15529 $as_echo "$as_me: *** for plug-ins:  ***" >&6;}
15530 fi
15531 NOUSE=
15532 if test "x$USE_EXTERNAL" = "xno"; then
15533   NOUSE="yes"
15534 fi
15535 # Check whether --enable-external was given.
15536 if test "${enable_external+set}" = set; then :
15537   enableval=$enable_external;  case "${enableval}" in
15538       yes) USE_EXTERNAL=yes;;
15539       no) USE_EXTERNAL=no;;
15540       *) as_fn_error $? "bad value ${enableval} for --enable-external" "$LINENO" 5 ;;
15541     esac
15542 else
15543    USE_EXTERNAL=yes
15544 fi
15545
15546 if test "x$NOUSE" = "xyes"; then
15547   USE_EXTERNAL="no"
15548   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ***  pre-configured not to be built" >&5
15549 $as_echo "$as_me: WARNING: ***  pre-configured not to be built" >&2;}
15550 fi
15551 NOUSE=
15552
15553
15554 if test x$USE_EXTERNAL = xyes; then
15555
15556   gst_check_save_LIBS=$LIBS
15557   gst_check_save_LDFLAGS=$LDFLAGS
15558   gst_check_save_CFLAGS=$CFLAGS
15559   gst_check_save_CPPFLAGS=$CPPFLAGS
15560   gst_check_save_CXXFLAGS=$CXXFLAGS
15561
15562   HAVE_EXTERNAL=no
15563     HAVE_EXTERNAL=yes
15564
15565   LIBS=$gst_check_save_LIBS
15566   LDFLAGS=$gst_check_save_LDFLAGS
15567   CFLAGS=$gst_check_save_CFLAGS
15568   CPPFLAGS=$gst_check_save_CPPFLAGS
15569   CXXFLAGS=$gst_check_save_CXXFLAGS
15570
15571     if test x$HAVE_EXTERNAL = xno; then
15572     USE_EXTERNAL=no
15573   else
15574     :
15575   fi
15576 fi
15577 if test x$USE_EXTERNAL = xyes; then
15578
15579       { $as_echo "$as_me:${as_lineno-$LINENO}: building external plug-ins" >&5
15580 $as_echo "$as_me: building external plug-ins" >&6;}
15581       BUILD_EXTERNAL="yes"
15582
15583   if test "x" != "x"; then
15584     GST_PLUGINS_YES="\t\n$GST_PLUGINS_YES"
15585   fi
15586
15587 $as_echo "#define HAVE_EXTERNAL /**/" >>confdefs.h
15588
15589 else
15590   :
15591   if test "x" != "x"; then
15592     GST_PLUGINS_NO="\t\n$GST_PLUGINS_NO"
15593   fi
15594
15595       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: all plug-ins with external dependencies will not be built" >&5
15596 $as_echo "$as_me: WARNING: all plug-ins with external dependencies will not be built" >&2;}
15597       BUILD_EXTERNAL="no"
15598
15599 fi
15600  if test x$USE_EXTERNAL = xyes; then
15601   USE_EXTERNAL_TRUE=
15602   USE_EXTERNAL_FALSE='#'
15603 else
15604   USE_EXTERNAL_TRUE='#'
15605   USE_EXTERNAL_FALSE=
15606 fi
15607
15608
15609   # make BUILD_EXTERNAL available to Makefile.am
15610    if test "x$BUILD_EXTERNAL" = "xyes"; then
15611   BUILD_EXTERNAL_TRUE=
15612   BUILD_EXTERNAL_FALSE='#'
15613 else
15614   BUILD_EXTERNAL_TRUE='#'
15615   BUILD_EXTERNAL_FALSE=
15616 fi
15617
15618
15619
15620
15621   echo
15622 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: building of experimental plug-ins ***" >&5
15623 $as_echo "$as_me: *** checking feature: building of experimental plug-ins ***" >&6;}
15624 if test "x" != "x"
15625 then
15626   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins:  ***" >&5
15627 $as_echo "$as_me: *** for plug-ins:  ***" >&6;}
15628 fi
15629 NOUSE=
15630 if test "x$USE_EXPERIMENTAL" = "xno"; then
15631   NOUSE="yes"
15632 fi
15633 # Check whether --enable-experimental was given.
15634 if test "${enable_experimental+set}" = set; then :
15635   enableval=$enable_experimental;  case "${enableval}" in
15636       yes) USE_EXPERIMENTAL=yes;;
15637       no) USE_EXPERIMENTAL=no;;
15638       *) as_fn_error $? "bad value ${enableval} for --enable-experimental" "$LINENO" 5 ;;
15639     esac
15640 else
15641    USE_EXPERIMENTAL=no
15642 fi
15643
15644 if test "x$NOUSE" = "xyes"; then
15645   USE_EXPERIMENTAL="no"
15646   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ***  pre-configured not to be built" >&5
15647 $as_echo "$as_me: WARNING: ***  pre-configured not to be built" >&2;}
15648 fi
15649 NOUSE=
15650
15651
15652 if test x$USE_EXPERIMENTAL = xyes; then
15653
15654   gst_check_save_LIBS=$LIBS
15655   gst_check_save_LDFLAGS=$LDFLAGS
15656   gst_check_save_CFLAGS=$CFLAGS
15657   gst_check_save_CPPFLAGS=$CPPFLAGS
15658   gst_check_save_CXXFLAGS=$CXXFLAGS
15659
15660   HAVE_EXPERIMENTAL=no
15661     HAVE_EXPERIMENTAL=yes
15662
15663   LIBS=$gst_check_save_LIBS
15664   LDFLAGS=$gst_check_save_LDFLAGS
15665   CFLAGS=$gst_check_save_CFLAGS
15666   CPPFLAGS=$gst_check_save_CPPFLAGS
15667   CXXFLAGS=$gst_check_save_CXXFLAGS
15668
15669     if test x$HAVE_EXPERIMENTAL = xno; then
15670     USE_EXPERIMENTAL=no
15671   else
15672     :
15673   fi
15674 fi
15675 if test x$USE_EXPERIMENTAL = xyes; then
15676
15677       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: building experimental plug-ins" >&5
15678 $as_echo "$as_me: WARNING: building experimental plug-ins" >&2;}
15679       BUILD_EXPERIMENTAL="yes"
15680
15681   if test "x" != "x"; then
15682     GST_PLUGINS_YES="\t\n$GST_PLUGINS_YES"
15683   fi
15684
15685 $as_echo "#define HAVE_EXPERIMENTAL /**/" >>confdefs.h
15686
15687 else
15688   :
15689   if test "x" != "x"; then
15690     GST_PLUGINS_NO="\t\n$GST_PLUGINS_NO"
15691   fi
15692
15693       { $as_echo "$as_me:${as_lineno-$LINENO}: not building experimental plug-ins" >&5
15694 $as_echo "$as_me: not building experimental plug-ins" >&6;}
15695       BUILD_EXPERIMENTAL="no"
15696
15697 fi
15698  if test x$USE_EXPERIMENTAL = xyes; then
15699   USE_EXPERIMENTAL_TRUE=
15700   USE_EXPERIMENTAL_FALSE='#'
15701 else
15702   USE_EXPERIMENTAL_TRUE='#'
15703   USE_EXPERIMENTAL_FALSE=
15704 fi
15705
15706
15707   # make BUILD_EXPERIMENTAL available to Makefile.am
15708    if test "x$BUILD_EXPERIMENTAL" = "xyes"; then
15709   BUILD_EXPERIMENTAL_TRUE=
15710   BUILD_EXPERIMENTAL_FALSE='#'
15711 else
15712   BUILD_EXPERIMENTAL_TRUE='#'
15713   BUILD_EXPERIMENTAL_FALSE=
15714 fi
15715
15716
15717
15718
15719
15720
15721
15722     case "x${host_cpu}" in
15723     xi?86 | xk? | xi?86_64)
15724       case $host_os in
15725          solaris*)
15726             ac_fn_c_check_decl "$LINENO" "__i386" "ac_cv_have_decl___i386" "$ac_includes_default"
15727 if test "x$ac_cv_have_decl___i386" = xyes; then :
15728   I386_ABI="yes"
15729 else
15730   I386_ABI="no"
15731 fi
15732
15733             ac_fn_c_check_decl "$LINENO" "__amd64" "ac_cv_have_decl___amd64" "$ac_includes_default"
15734 if test "x$ac_cv_have_decl___amd64" = xyes; then :
15735   AMD64_ABI="yes"
15736 else
15737   AMD64_ABI="no"
15738 fi
15739
15740
15741             if test "x$I386_ABI" = "xyes" ; then
15742                HAVE_CPU_I386=yes
15743
15744 $as_echo "#define HAVE_CPU_I386 1" >>confdefs.h
15745
15746             fi
15747             if test "x$AMD64_ABI" = "xyes" ; then
15748                 HAVE_CPU_X86_64=yes
15749
15750 $as_echo "#define HAVE_CPU_X86_64 1" >>confdefs.h
15751
15752             fi
15753             ;;
15754          *)
15755             HAVE_CPU_I386=yes
15756
15757 $as_echo "#define HAVE_CPU_I386 1" >>confdefs.h
15758
15759
15760                                     case "x${host_cpu}" in
15761               xi386 | xi486) ;;
15762             *)
15763
15764 $as_echo "#define HAVE_RDTSC 1" >>confdefs.h
15765  ;;
15766             esac
15767             ;;
15768       esac
15769       ;;
15770     xpowerpc)
15771       HAVE_CPU_PPC=yes
15772
15773 $as_echo "#define HAVE_CPU_PPC 1" >>confdefs.h
15774  ;;
15775     xpowerpc64)
15776       HAVE_CPU_PPC64=yes
15777
15778 $as_echo "#define HAVE_CPU_PPC64 1" >>confdefs.h
15779  ;;
15780     xalpha*)
15781       HAVE_CPU_ALPHA=yes
15782
15783 $as_echo "#define HAVE_CPU_ALPHA 1" >>confdefs.h
15784  ;;
15785     xarm*)
15786       HAVE_CPU_ARM=yes
15787
15788 $as_echo "#define HAVE_CPU_ARM 1" >>confdefs.h
15789  ;;
15790     xsparc*)
15791       HAVE_CPU_SPARC=yes
15792
15793 $as_echo "#define HAVE_CPU_SPARC 1" >>confdefs.h
15794  ;;
15795     xmips*)
15796       HAVE_CPU_MIPS=yes
15797
15798 $as_echo "#define HAVE_CPU_MIPS 1" >>confdefs.h
15799  ;;
15800     xhppa*)
15801       HAVE_CPU_HPPA=yes
15802
15803 $as_echo "#define HAVE_CPU_HPPA 1" >>confdefs.h
15804  ;;
15805     xs390*)
15806       HAVE_CPU_S390=yes
15807
15808 $as_echo "#define HAVE_CPU_S390 1" >>confdefs.h
15809  ;;
15810     xia64*)
15811       HAVE_CPU_IA64=yes
15812
15813 $as_echo "#define HAVE_CPU_IA64 1" >>confdefs.h
15814  ;;
15815     xm68k*)
15816       HAVE_CPU_M68K=yes
15817
15818 $as_echo "#define HAVE_CPU_M68K 1" >>confdefs.h
15819  ;;
15820     xx86_64)
15821       HAVE_CPU_X86_64=yes
15822
15823 $as_echo "#define HAVE_CPU_X86_64 1" >>confdefs.h
15824  ;;
15825     xcris)
15826       HAVE_CPU_CRIS=yes
15827
15828 $as_echo "#define HAVE_CPU_CRIS 1" >>confdefs.h
15829  ;;
15830     xcrisv32)
15831       HAVE_CPU_CRISV32=yes
15832
15833 $as_echo "#define HAVE_CPU_CRISV32 1" >>confdefs.h
15834  ;;
15835   esac
15836
15837      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
15838 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
15839 if ${ac_cv_c_bigendian+:} false; then :
15840   $as_echo_n "(cached) " >&6
15841 else
15842   ac_cv_c_bigendian=unknown
15843     # See if we're dealing with a universal compiler.
15844     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15845 /* end confdefs.h.  */
15846 #ifndef __APPLE_CC__
15847                not a universal capable compiler
15848              #endif
15849              typedef int dummy;
15850
15851 _ACEOF
15852 if ac_fn_c_try_compile "$LINENO"; then :
15853
15854         # Check for potential -arch flags.  It is not universal unless
15855         # there are at least two -arch flags with different values.
15856         ac_arch=
15857         ac_prev=
15858         for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
15859          if test -n "$ac_prev"; then
15860            case $ac_word in
15861              i?86 | x86_64 | ppc | ppc64)
15862                if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
15863                  ac_arch=$ac_word
15864                else
15865                  ac_cv_c_bigendian=universal
15866                  break
15867                fi
15868                ;;
15869            esac
15870            ac_prev=
15871          elif test "x$ac_word" = "x-arch"; then
15872            ac_prev=arch
15873          fi
15874        done
15875 fi
15876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15877     if test $ac_cv_c_bigendian = unknown; then
15878       # See if sys/param.h defines the BYTE_ORDER macro.
15879       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15880 /* end confdefs.h.  */
15881 #include <sys/types.h>
15882              #include <sys/param.h>
15883
15884 int
15885 main ()
15886 {
15887 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
15888                      && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
15889                      && LITTLE_ENDIAN)
15890               bogus endian macros
15891              #endif
15892
15893   ;
15894   return 0;
15895 }
15896 _ACEOF
15897 if ac_fn_c_try_compile "$LINENO"; then :
15898   # It does; now see whether it defined to BIG_ENDIAN or not.
15899          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15900 /* end confdefs.h.  */
15901 #include <sys/types.h>
15902                 #include <sys/param.h>
15903
15904 int
15905 main ()
15906 {
15907 #if BYTE_ORDER != BIG_ENDIAN
15908                  not big endian
15909                 #endif
15910
15911   ;
15912   return 0;
15913 }
15914 _ACEOF
15915 if ac_fn_c_try_compile "$LINENO"; then :
15916   ac_cv_c_bigendian=yes
15917 else
15918   ac_cv_c_bigendian=no
15919 fi
15920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15921 fi
15922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15923     fi
15924     if test $ac_cv_c_bigendian = unknown; then
15925       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
15926       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15927 /* end confdefs.h.  */
15928 #include <limits.h>
15929
15930 int
15931 main ()
15932 {
15933 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
15934               bogus endian macros
15935              #endif
15936
15937   ;
15938   return 0;
15939 }
15940 _ACEOF
15941 if ac_fn_c_try_compile "$LINENO"; then :
15942   # It does; now see whether it defined to _BIG_ENDIAN or not.
15943          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15944 /* end confdefs.h.  */
15945 #include <limits.h>
15946
15947 int
15948 main ()
15949 {
15950 #ifndef _BIG_ENDIAN
15951                  not big endian
15952                 #endif
15953
15954   ;
15955   return 0;
15956 }
15957 _ACEOF
15958 if ac_fn_c_try_compile "$LINENO"; then :
15959   ac_cv_c_bigendian=yes
15960 else
15961   ac_cv_c_bigendian=no
15962 fi
15963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15964 fi
15965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15966     fi
15967     if test $ac_cv_c_bigendian = unknown; then
15968       # Compile a test program.
15969       if test "$cross_compiling" = yes; then :
15970   # Try to guess by grepping values from an object file.
15971          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15972 /* end confdefs.h.  */
15973 short int ascii_mm[] =
15974                   { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
15975                 short int ascii_ii[] =
15976                   { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
15977                 int use_ascii (int i) {
15978                   return ascii_mm[i] + ascii_ii[i];
15979                 }
15980                 short int ebcdic_ii[] =
15981                   { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
15982                 short int ebcdic_mm[] =
15983                   { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
15984                 int use_ebcdic (int i) {
15985                   return ebcdic_mm[i] + ebcdic_ii[i];
15986                 }
15987                 extern int foo;
15988
15989 int
15990 main ()
15991 {
15992 return use_ascii (foo) == use_ebcdic (foo);
15993   ;
15994   return 0;
15995 }
15996 _ACEOF
15997 if ac_fn_c_try_compile "$LINENO"; then :
15998   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
15999               ac_cv_c_bigendian=yes
16000             fi
16001             if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
16002               if test "$ac_cv_c_bigendian" = unknown; then
16003                 ac_cv_c_bigendian=no
16004               else
16005                 # finding both strings is unlikely to happen, but who knows?
16006                 ac_cv_c_bigendian=unknown
16007               fi
16008             fi
16009 fi
16010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16011 else
16012   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16013 /* end confdefs.h.  */
16014 $ac_includes_default
16015 int
16016 main ()
16017 {
16018
16019              /* Are we little or big endian?  From Harbison&Steele.  */
16020              union
16021              {
16022                long int l;
16023                char c[sizeof (long int)];
16024              } u;
16025              u.l = 1;
16026              return u.c[sizeof (long int) - 1] == 1;
16027
16028   ;
16029   return 0;
16030 }
16031 _ACEOF
16032 if ac_fn_c_try_run "$LINENO"; then :
16033   ac_cv_c_bigendian=no
16034 else
16035   ac_cv_c_bigendian=yes
16036 fi
16037 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16038   conftest.$ac_objext conftest.beam conftest.$ac_ext
16039 fi
16040
16041     fi
16042 fi
16043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
16044 $as_echo "$ac_cv_c_bigendian" >&6; }
16045  case $ac_cv_c_bigendian in #(
16046    yes)
16047      $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
16048 ;; #(
16049    no)
16050       ;; #(
16051    universal)
16052
16053 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
16054
16055      ;; #(
16056    *)
16057      as_fn_error $? "unknown endianness
16058  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
16059  esac
16060
16061
16062    if test "x$HAVE_CPU_I386" = "xyes"; then
16063   HAVE_CPU_I386_TRUE=
16064   HAVE_CPU_I386_FALSE='#'
16065 else
16066   HAVE_CPU_I386_TRUE='#'
16067   HAVE_CPU_I386_FALSE=
16068 fi
16069
16070    if test "x$HAVE_CPU_PPC" = "xyes"; then
16071   HAVE_CPU_PPC_TRUE=
16072   HAVE_CPU_PPC_FALSE='#'
16073 else
16074   HAVE_CPU_PPC_TRUE='#'
16075   HAVE_CPU_PPC_FALSE=
16076 fi
16077
16078    if test "x$HAVE_CPU_PPC64" = "xyes"; then
16079   HAVE_CPU_PPC64_TRUE=
16080   HAVE_CPU_PPC64_FALSE='#'
16081 else
16082   HAVE_CPU_PPC64_TRUE='#'
16083   HAVE_CPU_PPC64_FALSE=
16084 fi
16085
16086    if test "x$HAVE_CPU_ALPHA" = "xyes"; then
16087   HAVE_CPU_ALPHA_TRUE=
16088   HAVE_CPU_ALPHA_FALSE='#'
16089 else
16090   HAVE_CPU_ALPHA_TRUE='#'
16091   HAVE_CPU_ALPHA_FALSE=
16092 fi
16093
16094    if test "x$HAVE_CPU_ARM" = "xyes"; then
16095   HAVE_CPU_ARM_TRUE=
16096   HAVE_CPU_ARM_FALSE='#'
16097 else
16098   HAVE_CPU_ARM_TRUE='#'
16099   HAVE_CPU_ARM_FALSE=
16100 fi
16101
16102    if test "x$HAVE_CPU_SPARC" = "xyes"; then
16103   HAVE_CPU_SPARC_TRUE=
16104   HAVE_CPU_SPARC_FALSE='#'
16105 else
16106   HAVE_CPU_SPARC_TRUE='#'
16107   HAVE_CPU_SPARC_FALSE=
16108 fi
16109
16110    if test "x$HAVE_CPU_HPPA" = "xyes"; then
16111   HAVE_CPU_HPPA_TRUE=
16112   HAVE_CPU_HPPA_FALSE='#'
16113 else
16114   HAVE_CPU_HPPA_TRUE='#'
16115   HAVE_CPU_HPPA_FALSE=
16116 fi
16117
16118    if test "x$HAVE_CPU_MIPS" = "xyes"; then
16119   HAVE_CPU_MIPS_TRUE=
16120   HAVE_CPU_MIPS_FALSE='#'
16121 else
16122   HAVE_CPU_MIPS_TRUE='#'
16123   HAVE_CPU_MIPS_FALSE=
16124 fi
16125
16126    if test "x$HAVE_CPU_S390" = "xyes"; then
16127   HAVE_CPU_S390_TRUE=
16128   HAVE_CPU_S390_FALSE='#'
16129 else
16130   HAVE_CPU_S390_TRUE='#'
16131   HAVE_CPU_S390_FALSE=
16132 fi
16133
16134    if test "x$HAVE_CPU_IA64" = "xyes"; then
16135   HAVE_CPU_IA64_TRUE=
16136   HAVE_CPU_IA64_FALSE='#'
16137 else
16138   HAVE_CPU_IA64_TRUE='#'
16139   HAVE_CPU_IA64_FALSE=
16140 fi
16141
16142    if test "x$HAVE_CPU_M68K" = "xyes"; then
16143   HAVE_CPU_M68K_TRUE=
16144   HAVE_CPU_M68K_FALSE='#'
16145 else
16146   HAVE_CPU_M68K_TRUE='#'
16147   HAVE_CPU_M68K_FALSE=
16148 fi
16149
16150    if test "x$HAVE_CPU_X86_64" = "xyes"; then
16151   HAVE_CPU_X86_64_TRUE=
16152   HAVE_CPU_X86_64_FALSE='#'
16153 else
16154   HAVE_CPU_X86_64_TRUE='#'
16155   HAVE_CPU_X86_64_FALSE=
16156 fi
16157
16158    if test "x$HAVE_CPU_CRIS" = "xyes"; then
16159   HAVE_CPU_CRIS_TRUE=
16160   HAVE_CPU_CRIS_FALSE='#'
16161 else
16162   HAVE_CPU_CRIS_TRUE='#'
16163   HAVE_CPU_CRIS_FALSE=
16164 fi
16165
16166    if test "x$HAVE_CPU_CRISV32" = "xyes"; then
16167   HAVE_CPU_CRISV32_TRUE=
16168   HAVE_CPU_CRISV32_FALSE='#'
16169 else
16170   HAVE_CPU_CRISV32_TRUE='#'
16171   HAVE_CPU_CRISV32_FALSE=
16172 fi
16173
16174
16175
16176 cat >>confdefs.h <<_ACEOF
16177 #define HOST_CPU "$host_cpu"
16178 _ACEOF
16179
16180
16181
16182  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
16183 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
16184 if ${ac_cv_c_bigendian+:} false; then :
16185   $as_echo_n "(cached) " >&6
16186 else
16187   ac_cv_c_bigendian=unknown
16188     # See if we're dealing with a universal compiler.
16189     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16190 /* end confdefs.h.  */
16191 #ifndef __APPLE_CC__
16192                not a universal capable compiler
16193              #endif
16194              typedef int dummy;
16195
16196 _ACEOF
16197 if ac_fn_c_try_compile "$LINENO"; then :
16198
16199         # Check for potential -arch flags.  It is not universal unless
16200         # there are at least two -arch flags with different values.
16201         ac_arch=
16202         ac_prev=
16203         for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
16204          if test -n "$ac_prev"; then
16205            case $ac_word in
16206              i?86 | x86_64 | ppc | ppc64)
16207                if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
16208                  ac_arch=$ac_word
16209                else
16210                  ac_cv_c_bigendian=universal
16211                  break
16212                fi
16213                ;;
16214            esac
16215            ac_prev=
16216          elif test "x$ac_word" = "x-arch"; then
16217            ac_prev=arch
16218          fi
16219        done
16220 fi
16221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16222     if test $ac_cv_c_bigendian = unknown; then
16223       # See if sys/param.h defines the BYTE_ORDER macro.
16224       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16225 /* end confdefs.h.  */
16226 #include <sys/types.h>
16227              #include <sys/param.h>
16228
16229 int
16230 main ()
16231 {
16232 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
16233                      && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
16234                      && LITTLE_ENDIAN)
16235               bogus endian macros
16236              #endif
16237
16238   ;
16239   return 0;
16240 }
16241 _ACEOF
16242 if ac_fn_c_try_compile "$LINENO"; then :
16243   # It does; now see whether it defined to BIG_ENDIAN or not.
16244          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16245 /* end confdefs.h.  */
16246 #include <sys/types.h>
16247                 #include <sys/param.h>
16248
16249 int
16250 main ()
16251 {
16252 #if BYTE_ORDER != BIG_ENDIAN
16253                  not big endian
16254                 #endif
16255
16256   ;
16257   return 0;
16258 }
16259 _ACEOF
16260 if ac_fn_c_try_compile "$LINENO"; then :
16261   ac_cv_c_bigendian=yes
16262 else
16263   ac_cv_c_bigendian=no
16264 fi
16265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16266 fi
16267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16268     fi
16269     if test $ac_cv_c_bigendian = unknown; then
16270       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
16271       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16272 /* end confdefs.h.  */
16273 #include <limits.h>
16274
16275 int
16276 main ()
16277 {
16278 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
16279               bogus endian macros
16280              #endif
16281
16282   ;
16283   return 0;
16284 }
16285 _ACEOF
16286 if ac_fn_c_try_compile "$LINENO"; then :
16287   # It does; now see whether it defined to _BIG_ENDIAN or not.
16288          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16289 /* end confdefs.h.  */
16290 #include <limits.h>
16291
16292 int
16293 main ()
16294 {
16295 #ifndef _BIG_ENDIAN
16296                  not big endian
16297                 #endif
16298
16299   ;
16300   return 0;
16301 }
16302 _ACEOF
16303 if ac_fn_c_try_compile "$LINENO"; then :
16304   ac_cv_c_bigendian=yes
16305 else
16306   ac_cv_c_bigendian=no
16307 fi
16308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16309 fi
16310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16311     fi
16312     if test $ac_cv_c_bigendian = unknown; then
16313       # Compile a test program.
16314       if test "$cross_compiling" = yes; then :
16315   # Try to guess by grepping values from an object file.
16316          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16317 /* end confdefs.h.  */
16318 short int ascii_mm[] =
16319                   { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
16320                 short int ascii_ii[] =
16321                   { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
16322                 int use_ascii (int i) {
16323                   return ascii_mm[i] + ascii_ii[i];
16324                 }
16325                 short int ebcdic_ii[] =
16326                   { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
16327                 short int ebcdic_mm[] =
16328                   { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
16329                 int use_ebcdic (int i) {
16330                   return ebcdic_mm[i] + ebcdic_ii[i];
16331                 }
16332                 extern int foo;
16333
16334 int
16335 main ()
16336 {
16337 return use_ascii (foo) == use_ebcdic (foo);
16338   ;
16339   return 0;
16340 }
16341 _ACEOF
16342 if ac_fn_c_try_compile "$LINENO"; then :
16343   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
16344               ac_cv_c_bigendian=yes
16345             fi
16346             if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
16347               if test "$ac_cv_c_bigendian" = unknown; then
16348                 ac_cv_c_bigendian=no
16349               else
16350                 # finding both strings is unlikely to happen, but who knows?
16351                 ac_cv_c_bigendian=unknown
16352               fi
16353             fi
16354 fi
16355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16356 else
16357   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16358 /* end confdefs.h.  */
16359 $ac_includes_default
16360 int
16361 main ()
16362 {
16363
16364              /* Are we little or big endian?  From Harbison&Steele.  */
16365              union
16366              {
16367                long int l;
16368                char c[sizeof (long int)];
16369              } u;
16370              u.l = 1;
16371              return u.c[sizeof (long int) - 1] == 1;
16372
16373   ;
16374   return 0;
16375 }
16376 _ACEOF
16377 if ac_fn_c_try_run "$LINENO"; then :
16378   ac_cv_c_bigendian=no
16379 else
16380   ac_cv_c_bigendian=yes
16381 fi
16382 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16383   conftest.$ac_objext conftest.beam conftest.$ac_ext
16384 fi
16385
16386     fi
16387 fi
16388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
16389 $as_echo "$ac_cv_c_bigendian" >&6; }
16390  case $ac_cv_c_bigendian in #(
16391    yes)
16392      $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
16393 ;; #(
16394    no)
16395       ;; #(
16396    universal)
16397
16398 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
16399
16400      ;; #(
16401    *)
16402      as_fn_error $? "unknown endianness
16403  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
16404  esac
16405
16406
16407
16408 ac_ext=c
16409 ac_cpp='$CPP $CPPFLAGS'
16410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16413 if test -n "$ac_tool_prefix"; then
16414   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
16415 set dummy ${ac_tool_prefix}gcc; ac_word=$2
16416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16417 $as_echo_n "checking for $ac_word... " >&6; }
16418 if ${ac_cv_prog_CC+:} false; then :
16419   $as_echo_n "(cached) " >&6
16420 else
16421   if test -n "$CC"; then
16422   ac_cv_prog_CC="$CC" # Let the user override the test.
16423 else
16424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16425 for as_dir in $PATH
16426 do
16427   IFS=$as_save_IFS
16428   test -z "$as_dir" && as_dir=.
16429     for ac_exec_ext in '' $ac_executable_extensions; do
16430   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16431     ac_cv_prog_CC="${ac_tool_prefix}gcc"
16432     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16433     break 2
16434   fi
16435 done
16436   done
16437 IFS=$as_save_IFS
16438
16439 fi
16440 fi
16441 CC=$ac_cv_prog_CC
16442 if test -n "$CC"; then
16443   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16444 $as_echo "$CC" >&6; }
16445 else
16446   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16447 $as_echo "no" >&6; }
16448 fi
16449
16450
16451 fi
16452 if test -z "$ac_cv_prog_CC"; then
16453   ac_ct_CC=$CC
16454   # Extract the first word of "gcc", so it can be a program name with args.
16455 set dummy gcc; ac_word=$2
16456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16457 $as_echo_n "checking for $ac_word... " >&6; }
16458 if ${ac_cv_prog_ac_ct_CC+:} false; then :
16459   $as_echo_n "(cached) " >&6
16460 else
16461   if test -n "$ac_ct_CC"; then
16462   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16463 else
16464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16465 for as_dir in $PATH
16466 do
16467   IFS=$as_save_IFS
16468   test -z "$as_dir" && as_dir=.
16469     for ac_exec_ext in '' $ac_executable_extensions; do
16470   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16471     ac_cv_prog_ac_ct_CC="gcc"
16472     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16473     break 2
16474   fi
16475 done
16476   done
16477 IFS=$as_save_IFS
16478
16479 fi
16480 fi
16481 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16482 if test -n "$ac_ct_CC"; then
16483   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16484 $as_echo "$ac_ct_CC" >&6; }
16485 else
16486   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16487 $as_echo "no" >&6; }
16488 fi
16489
16490   if test "x$ac_ct_CC" = x; then
16491     CC=""
16492   else
16493     case $cross_compiling:$ac_tool_warned in
16494 yes:)
16495 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16496 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16497 ac_tool_warned=yes ;;
16498 esac
16499     CC=$ac_ct_CC
16500   fi
16501 else
16502   CC="$ac_cv_prog_CC"
16503 fi
16504
16505 if test -z "$CC"; then
16506           if test -n "$ac_tool_prefix"; then
16507     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
16508 set dummy ${ac_tool_prefix}cc; ac_word=$2
16509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16510 $as_echo_n "checking for $ac_word... " >&6; }
16511 if ${ac_cv_prog_CC+:} false; then :
16512   $as_echo_n "(cached) " >&6
16513 else
16514   if test -n "$CC"; then
16515   ac_cv_prog_CC="$CC" # Let the user override the test.
16516 else
16517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16518 for as_dir in $PATH
16519 do
16520   IFS=$as_save_IFS
16521   test -z "$as_dir" && as_dir=.
16522     for ac_exec_ext in '' $ac_executable_extensions; do
16523   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16524     ac_cv_prog_CC="${ac_tool_prefix}cc"
16525     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16526     break 2
16527   fi
16528 done
16529   done
16530 IFS=$as_save_IFS
16531
16532 fi
16533 fi
16534 CC=$ac_cv_prog_CC
16535 if test -n "$CC"; then
16536   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16537 $as_echo "$CC" >&6; }
16538 else
16539   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16540 $as_echo "no" >&6; }
16541 fi
16542
16543
16544   fi
16545 fi
16546 if test -z "$CC"; then
16547   # Extract the first word of "cc", so it can be a program name with args.
16548 set dummy cc; ac_word=$2
16549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16550 $as_echo_n "checking for $ac_word... " >&6; }
16551 if ${ac_cv_prog_CC+:} false; then :
16552   $as_echo_n "(cached) " >&6
16553 else
16554   if test -n "$CC"; then
16555   ac_cv_prog_CC="$CC" # Let the user override the test.
16556 else
16557   ac_prog_rejected=no
16558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16559 for as_dir in $PATH
16560 do
16561   IFS=$as_save_IFS
16562   test -z "$as_dir" && as_dir=.
16563     for ac_exec_ext in '' $ac_executable_extensions; do
16564   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16565     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16566        ac_prog_rejected=yes
16567        continue
16568      fi
16569     ac_cv_prog_CC="cc"
16570     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16571     break 2
16572   fi
16573 done
16574   done
16575 IFS=$as_save_IFS
16576
16577 if test $ac_prog_rejected = yes; then
16578   # We found a bogon in the path, so make sure we never use it.
16579   set dummy $ac_cv_prog_CC
16580   shift
16581   if test $# != 0; then
16582     # We chose a different compiler from the bogus one.
16583     # However, it has the same basename, so the bogon will be chosen
16584     # first if we set CC to just the basename; use the full file name.
16585     shift
16586     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
16587   fi
16588 fi
16589 fi
16590 fi
16591 CC=$ac_cv_prog_CC
16592 if test -n "$CC"; then
16593   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16594 $as_echo "$CC" >&6; }
16595 else
16596   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16597 $as_echo "no" >&6; }
16598 fi
16599
16600
16601 fi
16602 if test -z "$CC"; then
16603   if test -n "$ac_tool_prefix"; then
16604   for ac_prog in cl.exe
16605   do
16606     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16607 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16609 $as_echo_n "checking for $ac_word... " >&6; }
16610 if ${ac_cv_prog_CC+:} false; then :
16611   $as_echo_n "(cached) " >&6
16612 else
16613   if test -n "$CC"; then
16614   ac_cv_prog_CC="$CC" # Let the user override the test.
16615 else
16616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16617 for as_dir in $PATH
16618 do
16619   IFS=$as_save_IFS
16620   test -z "$as_dir" && as_dir=.
16621     for ac_exec_ext in '' $ac_executable_extensions; do
16622   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16623     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
16624     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16625     break 2
16626   fi
16627 done
16628   done
16629 IFS=$as_save_IFS
16630
16631 fi
16632 fi
16633 CC=$ac_cv_prog_CC
16634 if test -n "$CC"; then
16635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16636 $as_echo "$CC" >&6; }
16637 else
16638   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16639 $as_echo "no" >&6; }
16640 fi
16641
16642
16643     test -n "$CC" && break
16644   done
16645 fi
16646 if test -z "$CC"; then
16647   ac_ct_CC=$CC
16648   for ac_prog in cl.exe
16649 do
16650   # Extract the first word of "$ac_prog", so it can be a program name with args.
16651 set dummy $ac_prog; ac_word=$2
16652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16653 $as_echo_n "checking for $ac_word... " >&6; }
16654 if ${ac_cv_prog_ac_ct_CC+:} false; then :
16655   $as_echo_n "(cached) " >&6
16656 else
16657   if test -n "$ac_ct_CC"; then
16658   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16659 else
16660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16661 for as_dir in $PATH
16662 do
16663   IFS=$as_save_IFS
16664   test -z "$as_dir" && as_dir=.
16665     for ac_exec_ext in '' $ac_executable_extensions; do
16666   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16667     ac_cv_prog_ac_ct_CC="$ac_prog"
16668     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16669     break 2
16670   fi
16671 done
16672   done
16673 IFS=$as_save_IFS
16674
16675 fi
16676 fi
16677 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16678 if test -n "$ac_ct_CC"; then
16679   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16680 $as_echo "$ac_ct_CC" >&6; }
16681 else
16682   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16683 $as_echo "no" >&6; }
16684 fi
16685
16686
16687   test -n "$ac_ct_CC" && break
16688 done
16689
16690   if test "x$ac_ct_CC" = x; then
16691     CC=""
16692   else
16693     case $cross_compiling:$ac_tool_warned in
16694 yes:)
16695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16696 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16697 ac_tool_warned=yes ;;
16698 esac
16699     CC=$ac_ct_CC
16700   fi
16701 fi
16702
16703 fi
16704
16705
16706 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16707 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16708 as_fn_error $? "no acceptable C compiler found in \$PATH
16709 See \`config.log' for more details" "$LINENO" 5; }
16710
16711 # Provide some information about the compiler.
16712 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
16713 set X $ac_compile
16714 ac_compiler=$2
16715 for ac_option in --version -v -V -qversion; do
16716   { { ac_try="$ac_compiler $ac_option >&5"
16717 case "(($ac_try" in
16718   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16719   *) ac_try_echo=$ac_try;;
16720 esac
16721 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16722 $as_echo "$ac_try_echo"; } >&5
16723   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
16724   ac_status=$?
16725   if test -s conftest.err; then
16726     sed '10a\
16727 ... rest of stderr output deleted ...
16728          10q' conftest.err >conftest.er1
16729     cat conftest.er1 >&5
16730   fi
16731   rm -f conftest.er1 conftest.err
16732   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16733   test $ac_status = 0; }
16734 done
16735
16736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
16737 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
16738 if ${ac_cv_c_compiler_gnu+:} false; then :
16739   $as_echo_n "(cached) " >&6
16740 else
16741   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16742 /* end confdefs.h.  */
16743
16744 int
16745 main ()
16746 {
16747 #ifndef __GNUC__
16748        choke me
16749 #endif
16750
16751   ;
16752   return 0;
16753 }
16754 _ACEOF
16755 if ac_fn_c_try_compile "$LINENO"; then :
16756   ac_compiler_gnu=yes
16757 else
16758   ac_compiler_gnu=no
16759 fi
16760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16761 ac_cv_c_compiler_gnu=$ac_compiler_gnu
16762
16763 fi
16764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
16765 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
16766 if test $ac_compiler_gnu = yes; then
16767   GCC=yes
16768 else
16769   GCC=
16770 fi
16771 ac_test_CFLAGS=${CFLAGS+set}
16772 ac_save_CFLAGS=$CFLAGS
16773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
16774 $as_echo_n "checking whether $CC accepts -g... " >&6; }
16775 if ${ac_cv_prog_cc_g+:} false; then :
16776   $as_echo_n "(cached) " >&6
16777 else
16778   ac_save_c_werror_flag=$ac_c_werror_flag
16779    ac_c_werror_flag=yes
16780    ac_cv_prog_cc_g=no
16781    CFLAGS="-g"
16782    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16783 /* end confdefs.h.  */
16784
16785 int
16786 main ()
16787 {
16788
16789   ;
16790   return 0;
16791 }
16792 _ACEOF
16793 if ac_fn_c_try_compile "$LINENO"; then :
16794   ac_cv_prog_cc_g=yes
16795 else
16796   CFLAGS=""
16797       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16798 /* end confdefs.h.  */
16799
16800 int
16801 main ()
16802 {
16803
16804   ;
16805   return 0;
16806 }
16807 _ACEOF
16808 if ac_fn_c_try_compile "$LINENO"; then :
16809
16810 else
16811   ac_c_werror_flag=$ac_save_c_werror_flag
16812          CFLAGS="-g"
16813          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16814 /* end confdefs.h.  */
16815
16816 int
16817 main ()
16818 {
16819
16820   ;
16821   return 0;
16822 }
16823 _ACEOF
16824 if ac_fn_c_try_compile "$LINENO"; then :
16825   ac_cv_prog_cc_g=yes
16826 fi
16827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16828 fi
16829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16830 fi
16831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16832    ac_c_werror_flag=$ac_save_c_werror_flag
16833 fi
16834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
16835 $as_echo "$ac_cv_prog_cc_g" >&6; }
16836 if test "$ac_test_CFLAGS" = set; then
16837   CFLAGS=$ac_save_CFLAGS
16838 elif test $ac_cv_prog_cc_g = yes; then
16839   if test "$GCC" = yes; then
16840     CFLAGS="-g -O2"
16841   else
16842     CFLAGS="-g"
16843   fi
16844 else
16845   if test "$GCC" = yes; then
16846     CFLAGS="-O2"
16847   else
16848     CFLAGS=
16849   fi
16850 fi
16851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
16852 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
16853 if ${ac_cv_prog_cc_c89+:} false; then :
16854   $as_echo_n "(cached) " >&6
16855 else
16856   ac_cv_prog_cc_c89=no
16857 ac_save_CC=$CC
16858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16859 /* end confdefs.h.  */
16860 #include <stdarg.h>
16861 #include <stdio.h>
16862 #include <sys/types.h>
16863 #include <sys/stat.h>
16864 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
16865 struct buf { int x; };
16866 FILE * (*rcsopen) (struct buf *, struct stat *, int);
16867 static char *e (p, i)
16868      char **p;
16869      int i;
16870 {
16871   return p[i];
16872 }
16873 static char *f (char * (*g) (char **, int), char **p, ...)
16874 {
16875   char *s;
16876   va_list v;
16877   va_start (v,p);
16878   s = g (p, va_arg (v,int));
16879   va_end (v);
16880   return s;
16881 }
16882
16883 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
16884    function prototypes and stuff, but not '\xHH' hex character constants.
16885    These don't provoke an error unfortunately, instead are silently treated
16886    as 'x'.  The following induces an error, until -std is added to get
16887    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
16888    array size at least.  It's necessary to write '\x00'==0 to get something
16889    that's true only with -std.  */
16890 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
16891
16892 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
16893    inside strings and character constants.  */
16894 #define FOO(x) 'x'
16895 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
16896
16897 int test (int i, double x);
16898 struct s1 {int (*f) (int a);};
16899 struct s2 {int (*f) (double a);};
16900 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
16901 int argc;
16902 char **argv;
16903 int
16904 main ()
16905 {
16906 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
16907   ;
16908   return 0;
16909 }
16910 _ACEOF
16911 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
16912         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
16913 do
16914   CC="$ac_save_CC $ac_arg"
16915   if ac_fn_c_try_compile "$LINENO"; then :
16916   ac_cv_prog_cc_c89=$ac_arg
16917 fi
16918 rm -f core conftest.err conftest.$ac_objext
16919   test "x$ac_cv_prog_cc_c89" != "xno" && break
16920 done
16921 rm -f conftest.$ac_ext
16922 CC=$ac_save_CC
16923
16924 fi
16925 # AC_CACHE_VAL
16926 case "x$ac_cv_prog_cc_c89" in
16927   x)
16928     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
16929 $as_echo "none needed" >&6; } ;;
16930   xno)
16931     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
16932 $as_echo "unsupported" >&6; } ;;
16933   *)
16934     CC="$CC $ac_cv_prog_cc_c89"
16935     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
16936 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
16937 esac
16938 if test "x$ac_cv_prog_cc_c89" != xno; then :
16939
16940 fi
16941
16942 ac_ext=c
16943 ac_cpp='$CPP $CPPFLAGS'
16944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16947
16948 depcc="$CC"   am_compiler_list=
16949
16950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
16951 $as_echo_n "checking dependency style of $depcc... " >&6; }
16952 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
16953   $as_echo_n "(cached) " >&6
16954 else
16955   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
16956   # We make a subdir and do the tests there.  Otherwise we can end up
16957   # making bogus files that we don't know about and never remove.  For
16958   # instance it was reported that on HP-UX the gcc test will end up
16959   # making a dummy file named `D' -- because `-MD' means `put the output
16960   # in D'.
16961   rm -rf conftest.dir
16962   mkdir conftest.dir
16963   # Copy depcomp to subdir because otherwise we won't find it if we're
16964   # using a relative directory.
16965   cp "$am_depcomp" conftest.dir
16966   cd conftest.dir
16967   # We will build objects and dependencies in a subdirectory because
16968   # it helps to detect inapplicable dependency modes.  For instance
16969   # both Tru64's cc and ICC support -MD to output dependencies as a
16970   # side effect of compilation, but ICC will put the dependencies in
16971   # the current directory while Tru64 will put them in the object
16972   # directory.
16973   mkdir sub
16974
16975   am_cv_CC_dependencies_compiler_type=none
16976   if test "$am_compiler_list" = ""; then
16977      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
16978   fi
16979   am__universal=false
16980   case " $depcc " in #(
16981      *\ -arch\ *\ -arch\ *) am__universal=true ;;
16982      esac
16983
16984   for depmode in $am_compiler_list; do
16985     # Setup a source with many dependencies, because some compilers
16986     # like to wrap large dependency lists on column 80 (with \), and
16987     # we should not choose a depcomp mode which is confused by this.
16988     #
16989     # We need to recreate these files for each test, as the compiler may
16990     # overwrite some of them when testing with obscure command lines.
16991     # This happens at least with the AIX C compiler.
16992     : > sub/conftest.c
16993     for i in 1 2 3 4 5 6; do
16994       echo '#include "conftst'$i'.h"' >> sub/conftest.c
16995       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
16996       # Solaris 8's {/usr,}/bin/sh.
16997       touch sub/conftst$i.h
16998     done
16999     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
17000
17001     # We check with `-c' and `-o' for the sake of the "dashmstdout"
17002     # mode.  It turns out that the SunPro C++ compiler does not properly
17003     # handle `-M -o', and we need to detect this.  Also, some Intel
17004     # versions had trouble with output in subdirs
17005     am__obj=sub/conftest.${OBJEXT-o}
17006     am__minus_obj="-o $am__obj"
17007     case $depmode in
17008     gcc)
17009       # This depmode causes a compiler race in universal mode.
17010       test "$am__universal" = false || continue
17011       ;;
17012     nosideeffect)
17013       # after this tag, mechanisms are not by side-effect, so they'll
17014       # only be used when explicitly requested
17015       if test "x$enable_dependency_tracking" = xyes; then
17016         continue
17017       else
17018         break
17019       fi
17020       ;;
17021     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
17022       # This compiler won't grok `-c -o', but also, the minuso test has
17023       # not run yet.  These depmodes are late enough in the game, and
17024       # so weak that their functioning should not be impacted.
17025       am__obj=conftest.${OBJEXT-o}
17026       am__minus_obj=
17027       ;;
17028     none) break ;;
17029     esac
17030     if depmode=$depmode \
17031        source=sub/conftest.c object=$am__obj \
17032        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
17033        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
17034          >/dev/null 2>conftest.err &&
17035        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
17036        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
17037        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
17038        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
17039       # icc doesn't choke on unknown options, it will just issue warnings
17040       # or remarks (even with -Werror).  So we grep stderr for any message
17041       # that says an option was ignored or not supported.
17042       # When given -MP, icc 7.0 and 7.1 complain thusly:
17043       #   icc: Command line warning: ignoring option '-M'; no argument required
17044       # The diagnosis changed in icc 8.0:
17045       #   icc: Command line remark: option '-MP' not supported
17046       if (grep 'ignoring option' conftest.err ||
17047           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
17048         am_cv_CC_dependencies_compiler_type=$depmode
17049         break
17050       fi
17051     fi
17052   done
17053
17054   cd ..
17055   rm -rf conftest.dir
17056 else
17057   am_cv_CC_dependencies_compiler_type=none
17058 fi
17059
17060 fi
17061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
17062 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
17063 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
17064
17065  if
17066   test "x$enable_dependency_tracking" != xno \
17067   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
17068   am__fastdepCC_TRUE=
17069   am__fastdepCC_FALSE='#'
17070 else
17071   am__fastdepCC_TRUE='#'
17072   am__fastdepCC_FALSE=
17073 fi
17074
17075
17076    case $ac_cv_prog_cc_stdc in #(
17077   no) :
17078     ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
17079   *) :
17080     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
17081 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
17082 if ${ac_cv_prog_cc_c99+:} false; then :
17083   $as_echo_n "(cached) " >&6
17084 else
17085   ac_cv_prog_cc_c99=no
17086 ac_save_CC=$CC
17087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17088 /* end confdefs.h.  */
17089 #include <stdarg.h>
17090 #include <stdbool.h>
17091 #include <stdlib.h>
17092 #include <wchar.h>
17093 #include <stdio.h>
17094
17095 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
17096 #define debug(...) fprintf (stderr, __VA_ARGS__)
17097 #define showlist(...) puts (#__VA_ARGS__)
17098 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
17099 static void
17100 test_varargs_macros (void)
17101 {
17102   int x = 1234;
17103   int y = 5678;
17104   debug ("Flag");
17105   debug ("X = %d\n", x);
17106   showlist (The first, second, and third items.);
17107   report (x>y, "x is %d but y is %d", x, y);
17108 }
17109
17110 // Check long long types.
17111 #define BIG64 18446744073709551615ull
17112 #define BIG32 4294967295ul
17113 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
17114 #if !BIG_OK
17115   your preprocessor is broken;
17116 #endif
17117 #if BIG_OK
17118 #else
17119   your preprocessor is broken;
17120 #endif
17121 static long long int bignum = -9223372036854775807LL;
17122 static unsigned long long int ubignum = BIG64;
17123
17124 struct incomplete_array
17125 {
17126   int datasize;
17127   double data[];
17128 };
17129
17130 struct named_init {
17131   int number;
17132   const wchar_t *name;
17133   double average;
17134 };
17135
17136 typedef const char *ccp;
17137
17138 static inline int
17139 test_restrict (ccp restrict text)
17140 {
17141   // See if C++-style comments work.
17142   // Iterate through items via the restricted pointer.
17143   // Also check for declarations in for loops.
17144   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
17145     continue;
17146   return 0;
17147 }
17148
17149 // Check varargs and va_copy.
17150 static void
17151 test_varargs (const char *format, ...)
17152 {
17153   va_list args;
17154   va_start (args, format);
17155   va_list args_copy;
17156   va_copy (args_copy, args);
17157
17158   const char *str;
17159   int number;
17160   float fnumber;
17161
17162   while (*format)
17163     {
17164       switch (*format++)
17165         {
17166         case 's': // string
17167           str = va_arg (args_copy, const char *);
17168           break;
17169         case 'd': // int
17170           number = va_arg (args_copy, int);
17171           break;
17172         case 'f': // float
17173           fnumber = va_arg (args_copy, double);
17174           break;
17175         default:
17176           break;
17177         }
17178     }
17179   va_end (args_copy);
17180   va_end (args);
17181 }
17182
17183 int
17184 main ()
17185 {
17186
17187   // Check bool.
17188   _Bool success = false;
17189
17190   // Check restrict.
17191   if (test_restrict ("String literal") == 0)
17192     success = true;
17193   char *restrict newvar = "Another string";
17194
17195   // Check varargs.
17196   test_varargs ("s, d' f .", "string", 65, 34.234);
17197   test_varargs_macros ();
17198
17199   // Check flexible array members.
17200   struct incomplete_array *ia =
17201     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
17202   ia->datasize = 10;
17203   for (int i = 0; i < ia->datasize; ++i)
17204     ia->data[i] = i * 1.234;
17205
17206   // Check named initializers.
17207   struct named_init ni = {
17208     .number = 34,
17209     .name = L"Test wide string",
17210     .average = 543.34343,
17211   };
17212
17213   ni.number = 58;
17214
17215   int dynamic_array[ni.number];
17216   dynamic_array[ni.number - 1] = 543;
17217
17218   // work around unused variable warnings
17219   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
17220           || dynamic_array[ni.number - 1] != 543);
17221
17222   ;
17223   return 0;
17224 }
17225 _ACEOF
17226 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
17227 do
17228   CC="$ac_save_CC $ac_arg"
17229   if ac_fn_c_try_compile "$LINENO"; then :
17230   ac_cv_prog_cc_c99=$ac_arg
17231 fi
17232 rm -f core conftest.err conftest.$ac_objext
17233   test "x$ac_cv_prog_cc_c99" != "xno" && break
17234 done
17235 rm -f conftest.$ac_ext
17236 CC=$ac_save_CC
17237
17238 fi
17239 # AC_CACHE_VAL
17240 case "x$ac_cv_prog_cc_c99" in
17241   x)
17242     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
17243 $as_echo "none needed" >&6; } ;;
17244   xno)
17245     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
17246 $as_echo "unsupported" >&6; } ;;
17247   *)
17248     CC="$CC $ac_cv_prog_cc_c99"
17249     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
17250 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
17251 esac
17252 if test "x$ac_cv_prog_cc_c99" != xno; then :
17253   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
17254 else
17255   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
17256 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
17257 if ${ac_cv_prog_cc_c89+:} false; then :
17258   $as_echo_n "(cached) " >&6
17259 else
17260   ac_cv_prog_cc_c89=no
17261 ac_save_CC=$CC
17262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17263 /* end confdefs.h.  */
17264 #include <stdarg.h>
17265 #include <stdio.h>
17266 #include <sys/types.h>
17267 #include <sys/stat.h>
17268 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
17269 struct buf { int x; };
17270 FILE * (*rcsopen) (struct buf *, struct stat *, int);
17271 static char *e (p, i)
17272      char **p;
17273      int i;
17274 {
17275   return p[i];
17276 }
17277 static char *f (char * (*g) (char **, int), char **p, ...)
17278 {
17279   char *s;
17280   va_list v;
17281   va_start (v,p);
17282   s = g (p, va_arg (v,int));
17283   va_end (v);
17284   return s;
17285 }
17286
17287 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
17288    function prototypes and stuff, but not '\xHH' hex character constants.
17289    These don't provoke an error unfortunately, instead are silently treated
17290    as 'x'.  The following induces an error, until -std is added to get
17291    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
17292    array size at least.  It's necessary to write '\x00'==0 to get something
17293    that's true only with -std.  */
17294 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
17295
17296 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
17297    inside strings and character constants.  */
17298 #define FOO(x) 'x'
17299 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
17300
17301 int test (int i, double x);
17302 struct s1 {int (*f) (int a);};
17303 struct s2 {int (*f) (double a);};
17304 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
17305 int argc;
17306 char **argv;
17307 int
17308 main ()
17309 {
17310 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
17311   ;
17312   return 0;
17313 }
17314 _ACEOF
17315 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
17316         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
17317 do
17318   CC="$ac_save_CC $ac_arg"
17319   if ac_fn_c_try_compile "$LINENO"; then :
17320   ac_cv_prog_cc_c89=$ac_arg
17321 fi
17322 rm -f core conftest.err conftest.$ac_objext
17323   test "x$ac_cv_prog_cc_c89" != "xno" && break
17324 done
17325 rm -f conftest.$ac_ext
17326 CC=$ac_save_CC
17327
17328 fi
17329 # AC_CACHE_VAL
17330 case "x$ac_cv_prog_cc_c89" in
17331   x)
17332     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
17333 $as_echo "none needed" >&6; } ;;
17334   xno)
17335     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
17336 $as_echo "unsupported" >&6; } ;;
17337   *)
17338     CC="$CC $ac_cv_prog_cc_c89"
17339     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
17340 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
17341 esac
17342 if test "x$ac_cv_prog_cc_c89" != xno; then :
17343   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
17344 else
17345   ac_cv_prog_cc_stdc=no
17346 fi
17347
17348 fi
17349  ;;
17350 esac
17351   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
17352 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
17353   if ${ac_cv_prog_cc_stdc+:} false; then :
17354   $as_echo_n "(cached) " >&6
17355 fi
17356
17357   case $ac_cv_prog_cc_stdc in #(
17358   no) :
17359     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
17360 $as_echo "unsupported" >&6; } ;; #(
17361   '') :
17362     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
17363 $as_echo "none needed" >&6; } ;; #(
17364   *) :
17365     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
17366 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
17367 esac
17368
17369
17370 ac_ext=cpp
17371 ac_cpp='$CXXCPP $CPPFLAGS'
17372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17375 if test -z "$CXX"; then
17376   if test -n "$CCC"; then
17377     CXX=$CCC
17378   else
17379     if test -n "$ac_tool_prefix"; then
17380   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17381   do
17382     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
17383 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
17384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17385 $as_echo_n "checking for $ac_word... " >&6; }
17386 if ${ac_cv_prog_CXX+:} false; then :
17387   $as_echo_n "(cached) " >&6
17388 else
17389   if test -n "$CXX"; then
17390   ac_cv_prog_CXX="$CXX" # Let the user override the test.
17391 else
17392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17393 for as_dir in $PATH
17394 do
17395   IFS=$as_save_IFS
17396   test -z "$as_dir" && as_dir=.
17397     for ac_exec_ext in '' $ac_executable_extensions; do
17398   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17399     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
17400     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17401     break 2
17402   fi
17403 done
17404   done
17405 IFS=$as_save_IFS
17406
17407 fi
17408 fi
17409 CXX=$ac_cv_prog_CXX
17410 if test -n "$CXX"; then
17411   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
17412 $as_echo "$CXX" >&6; }
17413 else
17414   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17415 $as_echo "no" >&6; }
17416 fi
17417
17418
17419     test -n "$CXX" && break
17420   done
17421 fi
17422 if test -z "$CXX"; then
17423   ac_ct_CXX=$CXX
17424   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17425 do
17426   # Extract the first word of "$ac_prog", so it can be a program name with args.
17427 set dummy $ac_prog; ac_word=$2
17428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17429 $as_echo_n "checking for $ac_word... " >&6; }
17430 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
17431   $as_echo_n "(cached) " >&6
17432 else
17433   if test -n "$ac_ct_CXX"; then
17434   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
17435 else
17436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17437 for as_dir in $PATH
17438 do
17439   IFS=$as_save_IFS
17440   test -z "$as_dir" && as_dir=.
17441     for ac_exec_ext in '' $ac_executable_extensions; do
17442   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17443     ac_cv_prog_ac_ct_CXX="$ac_prog"
17444     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17445     break 2
17446   fi
17447 done
17448   done
17449 IFS=$as_save_IFS
17450
17451 fi
17452 fi
17453 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
17454 if test -n "$ac_ct_CXX"; then
17455   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
17456 $as_echo "$ac_ct_CXX" >&6; }
17457 else
17458   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17459 $as_echo "no" >&6; }
17460 fi
17461
17462
17463   test -n "$ac_ct_CXX" && break
17464 done
17465
17466   if test "x$ac_ct_CXX" = x; then
17467     CXX="g++"
17468   else
17469     case $cross_compiling:$ac_tool_warned in
17470 yes:)
17471 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17472 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17473 ac_tool_warned=yes ;;
17474 esac
17475     CXX=$ac_ct_CXX
17476   fi
17477 fi
17478
17479   fi
17480 fi
17481 # Provide some information about the compiler.
17482 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
17483 set X $ac_compile
17484 ac_compiler=$2
17485 for ac_option in --version -v -V -qversion; do
17486   { { ac_try="$ac_compiler $ac_option >&5"
17487 case "(($ac_try" in
17488   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17489   *) ac_try_echo=$ac_try;;
17490 esac
17491 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
17492 $as_echo "$ac_try_echo"; } >&5
17493   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
17494   ac_status=$?
17495   if test -s conftest.err; then
17496     sed '10a\
17497 ... rest of stderr output deleted ...
17498          10q' conftest.err >conftest.er1
17499     cat conftest.er1 >&5
17500   fi
17501   rm -f conftest.er1 conftest.err
17502   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17503   test $ac_status = 0; }
17504 done
17505
17506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
17507 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
17508 if ${ac_cv_cxx_compiler_gnu+:} false; then :
17509   $as_echo_n "(cached) " >&6
17510 else
17511   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17512 /* end confdefs.h.  */
17513
17514 int
17515 main ()
17516 {
17517 #ifndef __GNUC__
17518        choke me
17519 #endif
17520
17521   ;
17522   return 0;
17523 }
17524 _ACEOF
17525 if ac_fn_cxx_try_compile "$LINENO"; then :
17526   ac_compiler_gnu=yes
17527 else
17528   ac_compiler_gnu=no
17529 fi
17530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17531 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
17532
17533 fi
17534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
17535 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
17536 if test $ac_compiler_gnu = yes; then
17537   GXX=yes
17538 else
17539   GXX=
17540 fi
17541 ac_test_CXXFLAGS=${CXXFLAGS+set}
17542 ac_save_CXXFLAGS=$CXXFLAGS
17543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
17544 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
17545 if ${ac_cv_prog_cxx_g+:} false; then :
17546   $as_echo_n "(cached) " >&6
17547 else
17548   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
17549    ac_cxx_werror_flag=yes
17550    ac_cv_prog_cxx_g=no
17551    CXXFLAGS="-g"
17552    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17553 /* end confdefs.h.  */
17554
17555 int
17556 main ()
17557 {
17558
17559   ;
17560   return 0;
17561 }
17562 _ACEOF
17563 if ac_fn_cxx_try_compile "$LINENO"; then :
17564   ac_cv_prog_cxx_g=yes
17565 else
17566   CXXFLAGS=""
17567       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17568 /* end confdefs.h.  */
17569
17570 int
17571 main ()
17572 {
17573
17574   ;
17575   return 0;
17576 }
17577 _ACEOF
17578 if ac_fn_cxx_try_compile "$LINENO"; then :
17579
17580 else
17581   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17582          CXXFLAGS="-g"
17583          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17584 /* end confdefs.h.  */
17585
17586 int
17587 main ()
17588 {
17589
17590   ;
17591   return 0;
17592 }
17593 _ACEOF
17594 if ac_fn_cxx_try_compile "$LINENO"; then :
17595   ac_cv_prog_cxx_g=yes
17596 fi
17597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17598 fi
17599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17600 fi
17601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17602    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17603 fi
17604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
17605 $as_echo "$ac_cv_prog_cxx_g" >&6; }
17606 if test "$ac_test_CXXFLAGS" = set; then
17607   CXXFLAGS=$ac_save_CXXFLAGS
17608 elif test $ac_cv_prog_cxx_g = yes; then
17609   if test "$GXX" = yes; then
17610     CXXFLAGS="-g -O2"
17611   else
17612     CXXFLAGS="-g"
17613   fi
17614 else
17615   if test "$GXX" = yes; then
17616     CXXFLAGS="-O2"
17617   else
17618     CXXFLAGS=
17619   fi
17620 fi
17621 ac_ext=c
17622 ac_cpp='$CPP $CPPFLAGS'
17623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17626
17627 depcc="$CXX"  am_compiler_list=
17628
17629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
17630 $as_echo_n "checking dependency style of $depcc... " >&6; }
17631 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
17632   $as_echo_n "(cached) " >&6
17633 else
17634   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
17635   # We make a subdir and do the tests there.  Otherwise we can end up
17636   # making bogus files that we don't know about and never remove.  For
17637   # instance it was reported that on HP-UX the gcc test will end up
17638   # making a dummy file named `D' -- because `-MD' means `put the output
17639   # in D'.
17640   rm -rf conftest.dir
17641   mkdir conftest.dir
17642   # Copy depcomp to subdir because otherwise we won't find it if we're
17643   # using a relative directory.
17644   cp "$am_depcomp" conftest.dir
17645   cd conftest.dir
17646   # We will build objects and dependencies in a subdirectory because
17647   # it helps to detect inapplicable dependency modes.  For instance
17648   # both Tru64's cc and ICC support -MD to output dependencies as a
17649   # side effect of compilation, but ICC will put the dependencies in
17650   # the current directory while Tru64 will put them in the object
17651   # directory.
17652   mkdir sub
17653
17654   am_cv_CXX_dependencies_compiler_type=none
17655   if test "$am_compiler_list" = ""; then
17656      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
17657   fi
17658   am__universal=false
17659   case " $depcc " in #(
17660      *\ -arch\ *\ -arch\ *) am__universal=true ;;
17661      esac
17662
17663   for depmode in $am_compiler_list; do
17664     # Setup a source with many dependencies, because some compilers
17665     # like to wrap large dependency lists on column 80 (with \), and
17666     # we should not choose a depcomp mode which is confused by this.
17667     #
17668     # We need to recreate these files for each test, as the compiler may
17669     # overwrite some of them when testing with obscure command lines.
17670     # This happens at least with the AIX C compiler.
17671     : > sub/conftest.c
17672     for i in 1 2 3 4 5 6; do
17673       echo '#include "conftst'$i'.h"' >> sub/conftest.c
17674       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
17675       # Solaris 8's {/usr,}/bin/sh.
17676       touch sub/conftst$i.h
17677     done
17678     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
17679
17680     # We check with `-c' and `-o' for the sake of the "dashmstdout"
17681     # mode.  It turns out that the SunPro C++ compiler does not properly
17682     # handle `-M -o', and we need to detect this.  Also, some Intel
17683     # versions had trouble with output in subdirs
17684     am__obj=sub/conftest.${OBJEXT-o}
17685     am__minus_obj="-o $am__obj"
17686     case $depmode in
17687     gcc)
17688       # This depmode causes a compiler race in universal mode.
17689       test "$am__universal" = false || continue
17690       ;;
17691     nosideeffect)
17692       # after this tag, mechanisms are not by side-effect, so they'll
17693       # only be used when explicitly requested
17694       if test "x$enable_dependency_tracking" = xyes; then
17695         continue
17696       else
17697         break
17698       fi
17699       ;;
17700     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
17701       # This compiler won't grok `-c -o', but also, the minuso test has
17702       # not run yet.  These depmodes are late enough in the game, and
17703       # so weak that their functioning should not be impacted.
17704       am__obj=conftest.${OBJEXT-o}
17705       am__minus_obj=
17706       ;;
17707     none) break ;;
17708     esac
17709     if depmode=$depmode \
17710        source=sub/conftest.c object=$am__obj \
17711        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
17712        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
17713          >/dev/null 2>conftest.err &&
17714        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
17715        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
17716        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
17717        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
17718       # icc doesn't choke on unknown options, it will just issue warnings
17719       # or remarks (even with -Werror).  So we grep stderr for any message
17720       # that says an option was ignored or not supported.
17721       # When given -MP, icc 7.0 and 7.1 complain thusly:
17722       #   icc: Command line warning: ignoring option '-M'; no argument required
17723       # The diagnosis changed in icc 8.0:
17724       #   icc: Command line remark: option '-MP' not supported
17725       if (grep 'ignoring option' conftest.err ||
17726           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
17727         am_cv_CXX_dependencies_compiler_type=$depmode
17728         break
17729       fi
17730     fi
17731   done
17732
17733   cd ..
17734   rm -rf conftest.dir
17735 else
17736   am_cv_CXX_dependencies_compiler_type=none
17737 fi
17738
17739 fi
17740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
17741 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
17742 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
17743
17744  if
17745   test "x$enable_dependency_tracking" != xno \
17746   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
17747   am__fastdepCXX_TRUE=
17748   am__fastdepCXX_FALSE='#'
17749 else
17750   am__fastdepCXX_TRUE='#'
17751   am__fastdepCXX_FALSE=
17752 fi
17753
17754
17755
17756
17757 func_stripname_cnf ()
17758 {
17759   case ${2} in
17760   .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
17761   *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
17762   esac
17763 } # func_stripname_cnf
17764
17765       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
17766     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
17767     (test "X$CXX" != "Xg++"))) ; then
17768   ac_ext=cpp
17769 ac_cpp='$CXXCPP $CPPFLAGS'
17770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
17774 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
17775 if test -z "$CXXCPP"; then
17776   if ${ac_cv_prog_CXXCPP+:} false; then :
17777   $as_echo_n "(cached) " >&6
17778 else
17779       # Double quotes because CXXCPP needs to be expanded
17780     for CXXCPP in "$CXX -E" "/lib/cpp"
17781     do
17782       ac_preproc_ok=false
17783 for ac_cxx_preproc_warn_flag in '' yes
17784 do
17785   # Use a header file that comes with gcc, so configuring glibc
17786   # with a fresh cross-compiler works.
17787   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17788   # <limits.h> exists even on freestanding compilers.
17789   # On the NeXT, cc -E runs the code through the compiler's parser,
17790   # not just through cpp. "Syntax error" is here to catch this case.
17791   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17792 /* end confdefs.h.  */
17793 #ifdef __STDC__
17794 # include <limits.h>
17795 #else
17796 # include <assert.h>
17797 #endif
17798                      Syntax error
17799 _ACEOF
17800 if ac_fn_cxx_try_cpp "$LINENO"; then :
17801
17802 else
17803   # Broken: fails on valid input.
17804 continue
17805 fi
17806 rm -f conftest.err conftest.i conftest.$ac_ext
17807
17808   # OK, works on sane cases.  Now check whether nonexistent headers
17809   # can be detected and how.
17810   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17811 /* end confdefs.h.  */
17812 #include <ac_nonexistent.h>
17813 _ACEOF
17814 if ac_fn_cxx_try_cpp "$LINENO"; then :
17815   # Broken: success on invalid input.
17816 continue
17817 else
17818   # Passes both tests.
17819 ac_preproc_ok=:
17820 break
17821 fi
17822 rm -f conftest.err conftest.i conftest.$ac_ext
17823
17824 done
17825 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17826 rm -f conftest.i conftest.err conftest.$ac_ext
17827 if $ac_preproc_ok; then :
17828   break
17829 fi
17830
17831     done
17832     ac_cv_prog_CXXCPP=$CXXCPP
17833
17834 fi
17835   CXXCPP=$ac_cv_prog_CXXCPP
17836 else
17837   ac_cv_prog_CXXCPP=$CXXCPP
17838 fi
17839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
17840 $as_echo "$CXXCPP" >&6; }
17841 ac_preproc_ok=false
17842 for ac_cxx_preproc_warn_flag in '' yes
17843 do
17844   # Use a header file that comes with gcc, so configuring glibc
17845   # with a fresh cross-compiler works.
17846   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17847   # <limits.h> exists even on freestanding compilers.
17848   # On the NeXT, cc -E runs the code through the compiler's parser,
17849   # not just through cpp. "Syntax error" is here to catch this case.
17850   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17851 /* end confdefs.h.  */
17852 #ifdef __STDC__
17853 # include <limits.h>
17854 #else
17855 # include <assert.h>
17856 #endif
17857                      Syntax error
17858 _ACEOF
17859 if ac_fn_cxx_try_cpp "$LINENO"; then :
17860
17861 else
17862   # Broken: fails on valid input.
17863 continue
17864 fi
17865 rm -f conftest.err conftest.i conftest.$ac_ext
17866
17867   # OK, works on sane cases.  Now check whether nonexistent headers
17868   # can be detected and how.
17869   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17870 /* end confdefs.h.  */
17871 #include <ac_nonexistent.h>
17872 _ACEOF
17873 if ac_fn_cxx_try_cpp "$LINENO"; then :
17874   # Broken: success on invalid input.
17875 continue
17876 else
17877   # Passes both tests.
17878 ac_preproc_ok=:
17879 break
17880 fi
17881 rm -f conftest.err conftest.i conftest.$ac_ext
17882
17883 done
17884 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17885 rm -f conftest.i conftest.err conftest.$ac_ext
17886 if $ac_preproc_ok; then :
17887
17888 else
17889   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17890 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17891 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
17892 See \`config.log' for more details" "$LINENO" 5; }
17893 fi
17894
17895 ac_ext=c
17896 ac_cpp='$CPP $CPPFLAGS'
17897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17900
17901 else
17902   _lt_caught_CXX_error=yes
17903 fi
17904
17905 ac_ext=cpp
17906 ac_cpp='$CXXCPP $CPPFLAGS'
17907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17910
17911 archive_cmds_need_lc_CXX=no
17912 allow_undefined_flag_CXX=
17913 always_export_symbols_CXX=no
17914 archive_expsym_cmds_CXX=
17915 compiler_needs_object_CXX=no
17916 export_dynamic_flag_spec_CXX=
17917 hardcode_direct_CXX=no
17918 hardcode_direct_absolute_CXX=no
17919 hardcode_libdir_flag_spec_CXX=
17920 hardcode_libdir_separator_CXX=
17921 hardcode_minus_L_CXX=no
17922 hardcode_shlibpath_var_CXX=unsupported
17923 hardcode_automatic_CXX=no
17924 inherit_rpath_CXX=no
17925 module_cmds_CXX=
17926 module_expsym_cmds_CXX=
17927 link_all_deplibs_CXX=unknown
17928 old_archive_cmds_CXX=$old_archive_cmds
17929 reload_flag_CXX=$reload_flag
17930 reload_cmds_CXX=$reload_cmds
17931 no_undefined_flag_CXX=
17932 whole_archive_flag_spec_CXX=
17933 enable_shared_with_static_runtimes_CXX=no
17934
17935 # Source file extension for C++ test sources.
17936 ac_ext=cpp
17937
17938 # Object file extension for compiled C++ test sources.
17939 objext=o
17940 objext_CXX=$objext
17941
17942 # No sense in running all these tests if we already determined that
17943 # the CXX compiler isn't working.  Some variables (like enable_shared)
17944 # are currently assumed to apply to all compilers on this platform,
17945 # and will be corrupted by setting them based on a non-working compiler.
17946 if test "$_lt_caught_CXX_error" != yes; then
17947   # Code to be used in simple compile tests
17948   lt_simple_compile_test_code="int some_variable = 0;"
17949
17950   # Code to be used in simple link tests
17951   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
17952
17953   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
17954
17955
17956
17957
17958
17959
17960 # If no C compiler was specified, use CC.
17961 LTCC=${LTCC-"$CC"}
17962
17963 # If no C compiler flags were specified, use CFLAGS.
17964 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
17965
17966 # Allow CC to be a program name with arguments.
17967 compiler=$CC
17968
17969
17970   # save warnings/boilerplate of simple test code
17971   ac_outfile=conftest.$ac_objext
17972 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
17973 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17974 _lt_compiler_boilerplate=`cat conftest.err`
17975 $RM conftest*
17976
17977   ac_outfile=conftest.$ac_objext
17978 echo "$lt_simple_link_test_code" >conftest.$ac_ext
17979 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17980 _lt_linker_boilerplate=`cat conftest.err`
17981 $RM -r conftest*
17982
17983
17984   # Allow CC to be a program name with arguments.
17985   lt_save_CC=$CC
17986   lt_save_CFLAGS=$CFLAGS
17987   lt_save_LD=$LD
17988   lt_save_GCC=$GCC
17989   GCC=$GXX
17990   lt_save_with_gnu_ld=$with_gnu_ld
17991   lt_save_path_LD=$lt_cv_path_LD
17992   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
17993     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
17994   else
17995     $as_unset lt_cv_prog_gnu_ld
17996   fi
17997   if test -n "${lt_cv_path_LDCXX+set}"; then
17998     lt_cv_path_LD=$lt_cv_path_LDCXX
17999   else
18000     $as_unset lt_cv_path_LD
18001   fi
18002   test -z "${LDCXX+set}" || LD=$LDCXX
18003   CC=${CXX-"c++"}
18004   CFLAGS=$CXXFLAGS
18005   compiler=$CC
18006   compiler_CXX=$CC
18007   for cc_temp in $compiler""; do
18008   case $cc_temp in
18009     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
18010     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
18011     \-*) ;;
18012     *) break;;
18013   esac
18014 done
18015 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
18016
18017
18018   if test -n "$compiler"; then
18019     # We don't want -fno-exception when compiling C++ code, so set the
18020     # no_builtin_flag separately
18021     if test "$GXX" = yes; then
18022       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
18023     else
18024       lt_prog_compiler_no_builtin_flag_CXX=
18025     fi
18026
18027     if test "$GXX" = yes; then
18028       # Set up default GNU C++ configuration
18029
18030
18031
18032 # Check whether --with-gnu-ld was given.
18033 if test "${with_gnu_ld+set}" = set; then :
18034   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
18035 else
18036   with_gnu_ld=no
18037 fi
18038
18039 ac_prog=ld
18040 if test "$GCC" = yes; then
18041   # Check if gcc -print-prog-name=ld gives a path.
18042   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
18043 $as_echo_n "checking for ld used by $CC... " >&6; }
18044   case $host in
18045   *-*-mingw*)
18046     # gcc leaves a trailing carriage return which upsets mingw
18047     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
18048   *)
18049     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
18050   esac
18051   case $ac_prog in
18052     # Accept absolute paths.
18053     [\\/]* | ?:[\\/]*)
18054       re_direlt='/[^/][^/]*/\.\./'
18055       # Canonicalize the pathname of ld
18056       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
18057       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
18058         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
18059       done
18060       test -z "$LD" && LD="$ac_prog"
18061       ;;
18062   "")
18063     # If it fails, then pretend we aren't using GCC.
18064     ac_prog=ld
18065     ;;
18066   *)
18067     # If it is relative, then search for the first ld in PATH.
18068     with_gnu_ld=unknown
18069     ;;
18070   esac
18071 elif test "$with_gnu_ld" = yes; then
18072   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
18073 $as_echo_n "checking for GNU ld... " >&6; }
18074 else
18075   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
18076 $as_echo_n "checking for non-GNU ld... " >&6; }
18077 fi
18078 if ${lt_cv_path_LD+:} false; then :
18079   $as_echo_n "(cached) " >&6
18080 else
18081   if test -z "$LD"; then
18082   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
18083   for ac_dir in $PATH; do
18084     IFS="$lt_save_ifs"
18085     test -z "$ac_dir" && ac_dir=.
18086     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
18087       lt_cv_path_LD="$ac_dir/$ac_prog"
18088       # Check to see if the program is GNU ld.  I'd rather use --version,
18089       # but apparently some variants of GNU ld only accept -v.
18090       # Break only if it was the GNU/non-GNU ld that we prefer.
18091       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
18092       *GNU* | *'with BFD'*)
18093         test "$with_gnu_ld" != no && break
18094         ;;
18095       *)
18096         test "$with_gnu_ld" != yes && break
18097         ;;
18098       esac
18099     fi
18100   done
18101   IFS="$lt_save_ifs"
18102 else
18103   lt_cv_path_LD="$LD" # Let the user override the test with a path.
18104 fi
18105 fi
18106
18107 LD="$lt_cv_path_LD"
18108 if test -n "$LD"; then
18109   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
18110 $as_echo "$LD" >&6; }
18111 else
18112   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18113 $as_echo "no" >&6; }
18114 fi
18115 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
18116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
18117 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
18118 if ${lt_cv_prog_gnu_ld+:} false; then :
18119   $as_echo_n "(cached) " >&6
18120 else
18121   # I'd rather use --version here, but apparently some GNU lds only accept -v.
18122 case `$LD -v 2>&1 </dev/null` in
18123 *GNU* | *'with BFD'*)
18124   lt_cv_prog_gnu_ld=yes
18125   ;;
18126 *)
18127   lt_cv_prog_gnu_ld=no
18128   ;;
18129 esac
18130 fi
18131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
18132 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
18133 with_gnu_ld=$lt_cv_prog_gnu_ld
18134
18135
18136
18137
18138
18139
18140
18141       # Check if GNU C++ uses GNU ld as the underlying linker, since the
18142       # archiving commands below assume that GNU ld is being used.
18143       if test "$with_gnu_ld" = yes; then
18144         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18145         archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18146
18147         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
18148         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18149
18150         # If archive_cmds runs LD, not CC, wlarc should be empty
18151         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
18152         #     investigate it a little bit more. (MM)
18153         wlarc='${wl}'
18154
18155         # ancient GNU ld didn't support --whole-archive et. al.
18156         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
18157           $GREP 'no-whole-archive' > /dev/null; then
18158           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18159         else
18160           whole_archive_flag_spec_CXX=
18161         fi
18162       else
18163         with_gnu_ld=no
18164         wlarc=
18165
18166         # A generic and very simple default shared library creation
18167         # command for GNU C++ for the case where it uses the native
18168         # linker, instead of GNU ld.  If possible, this setting should
18169         # overridden to take advantage of the native linker features on
18170         # the platform it is being used on.
18171         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
18172       fi
18173
18174       # Commands to make compiler produce verbose output that lists
18175       # what "hidden" libraries, object files and flags are used when
18176       # linking a shared library.
18177       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
18178
18179     else
18180       GXX=no
18181       with_gnu_ld=no
18182       wlarc=
18183     fi
18184
18185     # PORTME: fill in a description of your system's C++ link characteristics
18186     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
18187 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
18188     ld_shlibs_CXX=yes
18189     case $host_os in
18190       aix3*)
18191         # FIXME: insert proper C++ library support
18192         ld_shlibs_CXX=no
18193         ;;
18194       aix[4-9]*)
18195         if test "$host_cpu" = ia64; then
18196           # On IA64, the linker does run time linking by default, so we don't
18197           # have to do anything special.
18198           aix_use_runtimelinking=no
18199           exp_sym_flag='-Bexport'
18200           no_entry_flag=""
18201         else
18202           aix_use_runtimelinking=no
18203
18204           # Test if we are trying to use run time linking or normal
18205           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
18206           # need to do runtime linking.
18207           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
18208             for ld_flag in $LDFLAGS; do
18209               case $ld_flag in
18210               *-brtl*)
18211                 aix_use_runtimelinking=yes
18212                 break
18213                 ;;
18214               esac
18215             done
18216             ;;
18217           esac
18218
18219           exp_sym_flag='-bexport'
18220           no_entry_flag='-bnoentry'
18221         fi
18222
18223         # When large executables or shared objects are built, AIX ld can
18224         # have problems creating the table of contents.  If linking a library
18225         # or program results in "error TOC overflow" add -mminimal-toc to
18226         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
18227         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
18228
18229         archive_cmds_CXX=''
18230         hardcode_direct_CXX=yes
18231         hardcode_direct_absolute_CXX=yes
18232         hardcode_libdir_separator_CXX=':'
18233         link_all_deplibs_CXX=yes
18234         file_list_spec_CXX='${wl}-f,'
18235
18236         if test "$GXX" = yes; then
18237           case $host_os in aix4.[012]|aix4.[012].*)
18238           # We only want to do this on AIX 4.2 and lower, the check
18239           # below for broken collect2 doesn't work under 4.3+
18240           collect2name=`${CC} -print-prog-name=collect2`
18241           if test -f "$collect2name" &&
18242              strings "$collect2name" | $GREP resolve_lib_name >/dev/null
18243           then
18244             # We have reworked collect2
18245             :
18246           else
18247             # We have old collect2
18248             hardcode_direct_CXX=unsupported
18249             # It fails to find uninstalled libraries when the uninstalled
18250             # path is not listed in the libpath.  Setting hardcode_minus_L
18251             # to unsupported forces relinking
18252             hardcode_minus_L_CXX=yes
18253             hardcode_libdir_flag_spec_CXX='-L$libdir'
18254             hardcode_libdir_separator_CXX=
18255           fi
18256           esac
18257           shared_flag='-shared'
18258           if test "$aix_use_runtimelinking" = yes; then
18259             shared_flag="$shared_flag "'${wl}-G'
18260           fi
18261         else
18262           # not using gcc
18263           if test "$host_cpu" = ia64; then
18264           # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
18265           # chokes on -Wl,-G. The following line is correct:
18266           shared_flag='-G'
18267           else
18268             if test "$aix_use_runtimelinking" = yes; then
18269               shared_flag='${wl}-G'
18270             else
18271               shared_flag='${wl}-bM:SRE'
18272             fi
18273           fi
18274         fi
18275
18276         export_dynamic_flag_spec_CXX='${wl}-bexpall'
18277         # It seems that -bexpall does not export symbols beginning with
18278         # underscore (_), so it is better to generate a list of symbols to
18279         # export.
18280         always_export_symbols_CXX=yes
18281         if test "$aix_use_runtimelinking" = yes; then
18282           # Warning - without using the other runtime loading flags (-brtl),
18283           # -berok will link without error, but may produce a broken library.
18284           allow_undefined_flag_CXX='-berok'
18285           # Determine the default libpath from the value encoded in an empty
18286           # executable.
18287           if test "${lt_cv_aix_libpath+set}" = set; then
18288   aix_libpath=$lt_cv_aix_libpath
18289 else
18290   if ${lt_cv_aix_libpath__CXX+:} false; then :
18291   $as_echo_n "(cached) " >&6
18292 else
18293   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18294 /* end confdefs.h.  */
18295
18296 int
18297 main ()
18298 {
18299
18300   ;
18301   return 0;
18302 }
18303 _ACEOF
18304 if ac_fn_cxx_try_link "$LINENO"; then :
18305
18306   lt_aix_libpath_sed='
18307       /Import File Strings/,/^$/ {
18308           /^0/ {
18309               s/^0  *\([^ ]*\) *$/\1/
18310               p
18311           }
18312       }'
18313   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18314   # Check for a 64-bit object if we didn't find anything.
18315   if test -z "$lt_cv_aix_libpath__CXX"; then
18316     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18317   fi
18318 fi
18319 rm -f core conftest.err conftest.$ac_objext \
18320     conftest$ac_exeext conftest.$ac_ext
18321   if test -z "$lt_cv_aix_libpath__CXX"; then
18322     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
18323   fi
18324
18325 fi
18326
18327   aix_libpath=$lt_cv_aix_libpath__CXX
18328 fi
18329
18330           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
18331
18332           archive_expsym_cmds_CXX='$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"
18333         else
18334           if test "$host_cpu" = ia64; then
18335             hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
18336             allow_undefined_flag_CXX="-z nodefs"
18337             archive_expsym_cmds_CXX="\$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"
18338           else
18339             # Determine the default libpath from the value encoded in an
18340             # empty executable.
18341             if test "${lt_cv_aix_libpath+set}" = set; then
18342   aix_libpath=$lt_cv_aix_libpath
18343 else
18344   if ${lt_cv_aix_libpath__CXX+:} false; then :
18345   $as_echo_n "(cached) " >&6
18346 else
18347   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18348 /* end confdefs.h.  */
18349
18350 int
18351 main ()
18352 {
18353
18354   ;
18355   return 0;
18356 }
18357 _ACEOF
18358 if ac_fn_cxx_try_link "$LINENO"; then :
18359
18360   lt_aix_libpath_sed='
18361       /Import File Strings/,/^$/ {
18362           /^0/ {
18363               s/^0  *\([^ ]*\) *$/\1/
18364               p
18365           }
18366       }'
18367   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18368   # Check for a 64-bit object if we didn't find anything.
18369   if test -z "$lt_cv_aix_libpath__CXX"; then
18370     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18371   fi
18372 fi
18373 rm -f core conftest.err conftest.$ac_objext \
18374     conftest$ac_exeext conftest.$ac_ext
18375   if test -z "$lt_cv_aix_libpath__CXX"; then
18376     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
18377   fi
18378
18379 fi
18380
18381   aix_libpath=$lt_cv_aix_libpath__CXX
18382 fi
18383
18384             hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
18385             # Warning - without using the other run time loading flags,
18386             # -berok will link without error, but may produce a broken library.
18387             no_undefined_flag_CXX=' ${wl}-bernotok'
18388             allow_undefined_flag_CXX=' ${wl}-berok'
18389             if test "$with_gnu_ld" = yes; then
18390               # We only use this code for GNU lds that support --whole-archive.
18391               whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
18392             else
18393               # Exported symbols can be pulled into shared objects from archives
18394               whole_archive_flag_spec_CXX='$convenience'
18395             fi
18396             archive_cmds_need_lc_CXX=yes
18397             # This is similar to how AIX traditionally builds its shared
18398             # libraries.
18399             archive_expsym_cmds_CXX="\$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'
18400           fi
18401         fi
18402         ;;
18403
18404       beos*)
18405         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
18406           allow_undefined_flag_CXX=unsupported
18407           # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
18408           # support --undefined.  This deserves some investigation.  FIXME
18409           archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18410         else
18411           ld_shlibs_CXX=no
18412         fi
18413         ;;
18414
18415       chorus*)
18416         case $cc_basename in
18417           *)
18418           # FIXME: insert proper C++ library support
18419           ld_shlibs_CXX=no
18420           ;;
18421         esac
18422         ;;
18423
18424       cygwin* | mingw* | pw32* | cegcc*)
18425         case $GXX,$cc_basename in
18426         ,cl* | no,cl*)
18427           # Native MSVC
18428           # hardcode_libdir_flag_spec is actually meaningless, as there is
18429           # no search path for DLLs.
18430           hardcode_libdir_flag_spec_CXX=' '
18431           allow_undefined_flag_CXX=unsupported
18432           always_export_symbols_CXX=yes
18433           file_list_spec_CXX='@'
18434           # Tell ltmain to make .lib files, not .a files.
18435           libext=lib
18436           # Tell ltmain to make .dll files, not .so files.
18437           shrext_cmds=".dll"
18438           # FIXME: Setting linknames here is a bad hack.
18439           archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
18440           archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
18441               $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
18442             else
18443               $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
18444             fi~
18445             $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
18446             linknames='
18447           # The linker will not automatically build a static lib if we build a DLL.
18448           # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
18449           enable_shared_with_static_runtimes_CXX=yes
18450           # Don't use ranlib
18451           old_postinstall_cmds_CXX='chmod 644 $oldlib'
18452           postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
18453             lt_tool_outputfile="@TOOL_OUTPUT@"~
18454             case $lt_outputfile in
18455               *.exe|*.EXE) ;;
18456               *)
18457                 lt_outputfile="$lt_outputfile.exe"
18458                 lt_tool_outputfile="$lt_tool_outputfile.exe"
18459                 ;;
18460             esac~
18461             func_to_tool_file "$lt_outputfile"~
18462             if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
18463               $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
18464               $RM "$lt_outputfile.manifest";
18465             fi'
18466           ;;
18467         *)
18468           # g++
18469           # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
18470           # as there is no search path for DLLs.
18471           hardcode_libdir_flag_spec_CXX='-L$libdir'
18472           export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
18473           allow_undefined_flag_CXX=unsupported
18474           always_export_symbols_CXX=no
18475           enable_shared_with_static_runtimes_CXX=yes
18476
18477           if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
18478             archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18479             # If the export-symbols file already is a .def file (1st line
18480             # is EXPORTS), use it as is; otherwise, prepend...
18481             archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
18482               cp $export_symbols $output_objdir/$soname.def;
18483             else
18484               echo EXPORTS > $output_objdir/$soname.def;
18485               cat $export_symbols >> $output_objdir/$soname.def;
18486             fi~
18487             $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18488           else
18489             ld_shlibs_CXX=no
18490           fi
18491           ;;
18492         esac
18493         ;;
18494       darwin* | rhapsody*)
18495
18496
18497   archive_cmds_need_lc_CXX=no
18498   hardcode_direct_CXX=no
18499   hardcode_automatic_CXX=yes
18500   hardcode_shlibpath_var_CXX=unsupported
18501   if test "$lt_cv_ld_force_load" = "yes"; then
18502     whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
18503
18504   else
18505     whole_archive_flag_spec_CXX=''
18506   fi
18507   link_all_deplibs_CXX=yes
18508   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
18509   case $cc_basename in
18510      ifort*) _lt_dar_can_shared=yes ;;
18511      *) _lt_dar_can_shared=$GCC ;;
18512   esac
18513   if test "$_lt_dar_can_shared" = "yes"; then
18514     output_verbose_link_cmd=func_echo_all
18515     archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
18516     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
18517     archive_expsym_cmds_CXX="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}"
18518     module_expsym_cmds_CXX="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}"
18519        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
18520       archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
18521       archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
18522     fi
18523
18524   else
18525   ld_shlibs_CXX=no
18526   fi
18527
18528         ;;
18529
18530       dgux*)
18531         case $cc_basename in
18532           ec++*)
18533             # FIXME: insert proper C++ library support
18534             ld_shlibs_CXX=no
18535             ;;
18536           ghcx*)
18537             # Green Hills C++ Compiler
18538             # FIXME: insert proper C++ library support
18539             ld_shlibs_CXX=no
18540             ;;
18541           *)
18542             # FIXME: insert proper C++ library support
18543             ld_shlibs_CXX=no
18544             ;;
18545         esac
18546         ;;
18547
18548       freebsd2.*)
18549         # C++ shared libraries reported to be fairly broken before
18550         # switch to ELF
18551         ld_shlibs_CXX=no
18552         ;;
18553
18554       freebsd-elf*)
18555         archive_cmds_need_lc_CXX=no
18556         ;;
18557
18558       freebsd* | dragonfly*)
18559         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
18560         # conventions
18561         ld_shlibs_CXX=yes
18562         ;;
18563
18564       gnu*)
18565         ;;
18566
18567       haiku*)
18568         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18569         link_all_deplibs_CXX=yes
18570         ;;
18571
18572       hpux9*)
18573         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
18574         hardcode_libdir_separator_CXX=:
18575         export_dynamic_flag_spec_CXX='${wl}-E'
18576         hardcode_direct_CXX=yes
18577         hardcode_minus_L_CXX=yes # Not in the search PATH,
18578                                              # but as the default
18579                                              # location of the library.
18580
18581         case $cc_basename in
18582           CC*)
18583             # FIXME: insert proper C++ library support
18584             ld_shlibs_CXX=no
18585             ;;
18586           aCC*)
18587             archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
18588             # Commands to make compiler produce verbose output that lists
18589             # what "hidden" libraries, object files and flags are used when
18590             # linking a shared library.
18591             #
18592             # There doesn't appear to be a way to prevent this compiler from
18593             # explicitly linking system object files so we need to strip them
18594             # from the output so that they don't get included in the library
18595             # dependencies.
18596             output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
18597             ;;
18598           *)
18599             if test "$GXX" = yes; then
18600               archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
18601             else
18602               # FIXME: insert proper C++ library support
18603               ld_shlibs_CXX=no
18604             fi
18605             ;;
18606         esac
18607         ;;
18608
18609       hpux10*|hpux11*)
18610         if test $with_gnu_ld = no; then
18611           hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
18612           hardcode_libdir_separator_CXX=:
18613
18614           case $host_cpu in
18615             hppa*64*|ia64*)
18616               ;;
18617             *)
18618               export_dynamic_flag_spec_CXX='${wl}-E'
18619               ;;
18620           esac
18621         fi
18622         case $host_cpu in
18623           hppa*64*|ia64*)
18624             hardcode_direct_CXX=no
18625             hardcode_shlibpath_var_CXX=no
18626             ;;
18627           *)
18628             hardcode_direct_CXX=yes
18629             hardcode_direct_absolute_CXX=yes
18630             hardcode_minus_L_CXX=yes # Not in the search PATH,
18631                                                  # but as the default
18632                                                  # location of the library.
18633             ;;
18634         esac
18635
18636         case $cc_basename in
18637           CC*)
18638             # FIXME: insert proper C++ library support
18639             ld_shlibs_CXX=no
18640             ;;
18641           aCC*)
18642             case $host_cpu in
18643               hppa*64*)
18644                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18645                 ;;
18646               ia64*)
18647                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18648                 ;;
18649               *)
18650                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18651                 ;;
18652             esac
18653             # Commands to make compiler produce verbose output that lists
18654             # what "hidden" libraries, object files and flags are used when
18655             # linking a shared library.
18656             #
18657             # There doesn't appear to be a way to prevent this compiler from
18658             # explicitly linking system object files so we need to strip them
18659             # from the output so that they don't get included in the library
18660             # dependencies.
18661             output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
18662             ;;
18663           *)
18664             if test "$GXX" = yes; then
18665               if test $with_gnu_ld = no; then
18666                 case $host_cpu in
18667                   hppa*64*)
18668                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18669                     ;;
18670                   ia64*)
18671                     archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18672                     ;;
18673                   *)
18674                     archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18675                     ;;
18676                 esac
18677               fi
18678             else
18679               # FIXME: insert proper C++ library support
18680               ld_shlibs_CXX=no
18681             fi
18682             ;;
18683         esac
18684         ;;
18685
18686       interix[3-9]*)
18687         hardcode_direct_CXX=no
18688         hardcode_shlibpath_var_CXX=no
18689         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18690         export_dynamic_flag_spec_CXX='${wl}-E'
18691         # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
18692         # Instead, shared libraries are loaded at an image base (0x10000000 by
18693         # default) and relocated if they conflict, which is a slow very memory
18694         # consuming and fragmenting process.  To avoid this, we pick a random,
18695         # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
18696         # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
18697         archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
18698         archive_expsym_cmds_CXX='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'
18699         ;;
18700       irix5* | irix6*)
18701         case $cc_basename in
18702           CC*)
18703             # SGI C++
18704             archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
18705
18706             # Archives containing C++ object files must be created using
18707             # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
18708             # necessary to make sure instantiated templates are included
18709             # in the archive.
18710             old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
18711             ;;
18712           *)
18713             if test "$GXX" = yes; then
18714               if test "$with_gnu_ld" = no; then
18715                 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $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'
18716               else
18717                 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
18718               fi
18719             fi
18720             link_all_deplibs_CXX=yes
18721             ;;
18722         esac
18723         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
18724         hardcode_libdir_separator_CXX=:
18725         inherit_rpath_CXX=yes
18726         ;;
18727
18728       linux* | k*bsd*-gnu | kopensolaris*-gnu)
18729         case $cc_basename in
18730           KCC*)
18731             # Kuck and Associates, Inc. (KAI) C++ Compiler
18732
18733             # KCC will only create a shared library if the output file
18734             # ends with ".so" (or ".sl" for HP-UX), so rename the library
18735             # to its proper name (with version) after linking.
18736             archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
18737             archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
18738             # Commands to make compiler produce verbose output that lists
18739             # what "hidden" libraries, object files and flags are used when
18740             # linking a shared library.
18741             #
18742             # There doesn't appear to be a way to prevent this compiler from
18743             # explicitly linking system object files so we need to strip them
18744             # from the output so that they don't get included in the library
18745             # dependencies.
18746             output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
18747
18748             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18749             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18750
18751             # Archives containing C++ object files must be created using
18752             # "CC -Bstatic", where "CC" is the KAI C++ compiler.
18753             old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
18754             ;;
18755           icpc* | ecpc* )
18756             # Intel C++
18757             with_gnu_ld=yes
18758             # version 8.0 and above of icpc choke on multiply defined symbols
18759             # if we add $predep_objects and $postdep_objects, however 7.1 and
18760             # earlier do not add the objects themselves.
18761             case `$CC -V 2>&1` in
18762               *"Version 7."*)
18763                 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18764                 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18765                 ;;
18766               *)  # Version 8.0 or newer
18767                 tmp_idyn=
18768                 case $host_cpu in
18769                   ia64*) tmp_idyn=' -i_dynamic';;
18770                 esac
18771                 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18772                 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18773                 ;;
18774             esac
18775             archive_cmds_need_lc_CXX=no
18776             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18777             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18778             whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
18779             ;;
18780           pgCC* | pgcpp*)
18781             # Portland Group C++ compiler
18782             case `$CC -V` in
18783             *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
18784               prelink_cmds_CXX='tpldir=Template.dir~
18785                 rm -rf $tpldir~
18786                 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
18787                 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
18788               old_archive_cmds_CXX='tpldir=Template.dir~
18789                 rm -rf $tpldir~
18790                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
18791                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
18792                 $RANLIB $oldlib'
18793               archive_cmds_CXX='tpldir=Template.dir~
18794                 rm -rf $tpldir~
18795                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
18796                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
18797               archive_expsym_cmds_CXX='tpldir=Template.dir~
18798                 rm -rf $tpldir~
18799                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
18800                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
18801               ;;
18802             *) # Version 6 and above use weak symbols
18803               archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
18804               archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
18805               ;;
18806             esac
18807
18808             hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
18809             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18810             whole_archive_flag_spec_CXX='${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'
18811             ;;
18812           cxx*)
18813             # Compaq C++
18814             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18815             archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
18816
18817             runpath_var=LD_RUN_PATH
18818             hardcode_libdir_flag_spec_CXX='-rpath $libdir'
18819             hardcode_libdir_separator_CXX=:
18820
18821             # Commands to make compiler produce verbose output that lists
18822             # what "hidden" libraries, object files and flags are used when
18823             # linking a shared library.
18824             #
18825             # There doesn't appear to be a way to prevent this compiler from
18826             # explicitly linking system object files so we need to strip them
18827             # from the output so that they don't get included in the library
18828             # dependencies.
18829             output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
18830             ;;
18831           xl* | mpixl* | bgxl*)
18832             # IBM XL 8.0 on PPC, with GNU ld
18833             hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
18834             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18835             archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18836             if test "x$supports_anon_versioning" = xyes; then
18837               archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
18838                 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
18839                 echo "local: *; };" >> $output_objdir/$libname.ver~
18840                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
18841             fi
18842             ;;
18843           *)
18844             case `$CC -V 2>&1 | sed 5q` in
18845             *Sun\ C*)
18846               # Sun C++ 5.9
18847               no_undefined_flag_CXX=' -zdefs'
18848               archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18849               archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
18850               hardcode_libdir_flag_spec_CXX='-R$libdir'
18851               whole_archive_flag_spec_CXX='${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'
18852               compiler_needs_object_CXX=yes
18853
18854               # Not sure whether something based on
18855               # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
18856               # would be better.
18857               output_verbose_link_cmd='func_echo_all'
18858
18859               # Archives containing C++ object files must be created using
18860               # "CC -xar", where "CC" is the Sun C++ compiler.  This is
18861               # necessary to make sure instantiated templates are included
18862               # in the archive.
18863               old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
18864               ;;
18865             esac
18866             ;;
18867         esac
18868         ;;
18869
18870       lynxos*)
18871         # FIXME: insert proper C++ library support
18872         ld_shlibs_CXX=no
18873         ;;
18874
18875       m88k*)
18876         # FIXME: insert proper C++ library support
18877         ld_shlibs_CXX=no
18878         ;;
18879
18880       mvs*)
18881         case $cc_basename in
18882           cxx*)
18883             # FIXME: insert proper C++ library support
18884             ld_shlibs_CXX=no
18885             ;;
18886           *)
18887             # FIXME: insert proper C++ library support
18888             ld_shlibs_CXX=no
18889             ;;
18890         esac
18891         ;;
18892
18893       netbsd*)
18894         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
18895           archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
18896           wlarc=
18897           hardcode_libdir_flag_spec_CXX='-R$libdir'
18898           hardcode_direct_CXX=yes
18899           hardcode_shlibpath_var_CXX=no
18900         fi
18901         # Workaround some broken pre-1.5 toolchains
18902         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
18903         ;;
18904
18905       *nto* | *qnx*)
18906         ld_shlibs_CXX=yes
18907         ;;
18908
18909       openbsd2*)
18910         # C++ shared libraries are fairly broken
18911         ld_shlibs_CXX=no
18912         ;;
18913
18914       openbsd*)
18915         if test -f /usr/libexec/ld.so; then
18916           hardcode_direct_CXX=yes
18917           hardcode_shlibpath_var_CXX=no
18918           hardcode_direct_absolute_CXX=yes
18919           archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
18920           hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18921           if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18922             archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
18923             export_dynamic_flag_spec_CXX='${wl}-E'
18924             whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18925           fi
18926           output_verbose_link_cmd=func_echo_all
18927         else
18928           ld_shlibs_CXX=no
18929         fi
18930         ;;
18931
18932       osf3* | osf4* | osf5*)
18933         case $cc_basename in
18934           KCC*)
18935             # Kuck and Associates, Inc. (KAI) C++ Compiler
18936
18937             # KCC will only create a shared library if the output file
18938             # ends with ".so" (or ".sl" for HP-UX), so rename the library
18939             # to its proper name (with version) after linking.
18940             archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
18941
18942             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18943             hardcode_libdir_separator_CXX=:
18944
18945             # Archives containing C++ object files must be created using
18946             # the KAI C++ compiler.
18947             case $host in
18948               osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
18949               *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
18950             esac
18951             ;;
18952           RCC*)
18953             # Rational C++ 2.4.1
18954             # FIXME: insert proper C++ library support
18955             ld_shlibs_CXX=no
18956             ;;
18957           cxx*)
18958             case $host in
18959               osf3*)
18960                 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
18961                 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
18962                 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
18963                 ;;
18964               *)
18965                 allow_undefined_flag_CXX=' -expect_unresolved \*'
18966                 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
18967                 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
18968                   echo "-hidden">> $lib.exp~
18969                   $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp  `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
18970                   $RM $lib.exp'
18971                 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
18972                 ;;
18973             esac
18974
18975             hardcode_libdir_separator_CXX=:
18976
18977             # Commands to make compiler produce verbose output that lists
18978             # what "hidden" libraries, object files and flags are used when
18979             # linking a shared library.
18980             #
18981             # There doesn't appear to be a way to prevent this compiler from
18982             # explicitly linking system object files so we need to strip them
18983             # from the output so that they don't get included in the library
18984             # dependencies.
18985             output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
18986             ;;
18987           *)
18988             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
18989               allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
18990               case $host in
18991                 osf3*)
18992                   archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
18993                   ;;
18994                 *)
18995                   archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
18996                   ;;
18997               esac
18998
18999               hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
19000               hardcode_libdir_separator_CXX=:
19001
19002               # Commands to make compiler produce verbose output that lists
19003               # what "hidden" libraries, object files and flags are used when
19004               # linking a shared library.
19005               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
19006
19007             else
19008               # FIXME: insert proper C++ library support
19009               ld_shlibs_CXX=no
19010             fi
19011             ;;
19012         esac
19013         ;;
19014
19015       psos*)
19016         # FIXME: insert proper C++ library support
19017         ld_shlibs_CXX=no
19018         ;;
19019
19020       sunos4*)
19021         case $cc_basename in
19022           CC*)
19023             # Sun C++ 4.x
19024             # FIXME: insert proper C++ library support
19025             ld_shlibs_CXX=no
19026             ;;
19027           lcc*)
19028             # Lucid
19029             # FIXME: insert proper C++ library support
19030             ld_shlibs_CXX=no
19031             ;;
19032           *)
19033             # FIXME: insert proper C++ library support
19034             ld_shlibs_CXX=no
19035             ;;
19036         esac
19037         ;;
19038
19039       solaris*)
19040         case $cc_basename in
19041           CC* | sunCC*)
19042             # Sun C++ 4.2, 5.x and Centerline C++
19043             archive_cmds_need_lc_CXX=yes
19044             no_undefined_flag_CXX=' -zdefs'
19045             archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19046             archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
19047               $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
19048
19049             hardcode_libdir_flag_spec_CXX='-R$libdir'
19050             hardcode_shlibpath_var_CXX=no
19051             case $host_os in
19052               solaris2.[0-5] | solaris2.[0-5].*) ;;
19053               *)
19054                 # The compiler driver will combine and reorder linker options,
19055                 # but understands `-z linker_flag'.
19056                 # Supported since Solaris 2.6 (maybe 2.5.1?)
19057                 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
19058                 ;;
19059             esac
19060             link_all_deplibs_CXX=yes
19061
19062             output_verbose_link_cmd='func_echo_all'
19063
19064             # Archives containing C++ object files must be created using
19065             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
19066             # necessary to make sure instantiated templates are included
19067             # in the archive.
19068             old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
19069             ;;
19070           gcx*)
19071             # Green Hills C++ Compiler
19072             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
19073
19074             # The C++ compiler must be used to create the archive.
19075             old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
19076             ;;
19077           *)
19078             # GNU C++ compiler with Solaris linker
19079             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
19080               no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
19081               if $CC --version | $GREP -v '^2\.7' > /dev/null; then
19082                 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
19083                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
19084                   $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
19085
19086                 # Commands to make compiler produce verbose output that lists
19087                 # what "hidden" libraries, object files and flags are used when
19088                 # linking a shared library.
19089                 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
19090               else
19091                 # g++ 2.7 appears to require `-G' NOT `-shared' on this
19092                 # platform.
19093                 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
19094                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
19095                   $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
19096
19097                 # Commands to make compiler produce verbose output that lists
19098                 # what "hidden" libraries, object files and flags are used when
19099                 # linking a shared library.
19100                 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
19101               fi
19102
19103               hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
19104               case $host_os in
19105                 solaris2.[0-5] | solaris2.[0-5].*) ;;
19106                 *)
19107                   whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
19108                   ;;
19109               esac
19110             fi
19111             ;;
19112         esac
19113         ;;
19114
19115     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
19116       no_undefined_flag_CXX='${wl}-z,text'
19117       archive_cmds_need_lc_CXX=no
19118       hardcode_shlibpath_var_CXX=no
19119       runpath_var='LD_RUN_PATH'
19120
19121       case $cc_basename in
19122         CC*)
19123           archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19124           archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19125           ;;
19126         *)
19127           archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19128           archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19129           ;;
19130       esac
19131       ;;
19132
19133       sysv5* | sco3.2v5* | sco5v6*)
19134         # Note: We can NOT use -z defs as we might desire, because we do not
19135         # link with -lc, and that would cause any symbols used from libc to
19136         # always be unresolved, which means just about no library would
19137         # ever link correctly.  If we're not using GNU ld we use -z text
19138         # though, which does catch some bad symbols but isn't as heavy-handed
19139         # as -z defs.
19140         no_undefined_flag_CXX='${wl}-z,text'
19141         allow_undefined_flag_CXX='${wl}-z,nodefs'
19142         archive_cmds_need_lc_CXX=no
19143         hardcode_shlibpath_var_CXX=no
19144         hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
19145         hardcode_libdir_separator_CXX=':'
19146         link_all_deplibs_CXX=yes
19147         export_dynamic_flag_spec_CXX='${wl}-Bexport'
19148         runpath_var='LD_RUN_PATH'
19149
19150         case $cc_basename in
19151           CC*)
19152             archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19153             archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19154             old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
19155               '"$old_archive_cmds_CXX"
19156             reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
19157               '"$reload_cmds_CXX"
19158             ;;
19159           *)
19160             archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19161             archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19162             ;;
19163         esac
19164       ;;
19165
19166       tandem*)
19167         case $cc_basename in
19168           NCC*)
19169             # NonStop-UX NCC 3.20
19170             # FIXME: insert proper C++ library support
19171             ld_shlibs_CXX=no
19172             ;;
19173           *)
19174             # FIXME: insert proper C++ library support
19175             ld_shlibs_CXX=no
19176             ;;
19177         esac
19178         ;;
19179
19180       vxworks*)
19181         # FIXME: insert proper C++ library support
19182         ld_shlibs_CXX=no
19183         ;;
19184
19185       *)
19186         # FIXME: insert proper C++ library support
19187         ld_shlibs_CXX=no
19188         ;;
19189     esac
19190
19191     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
19192 $as_echo "$ld_shlibs_CXX" >&6; }
19193     test "$ld_shlibs_CXX" = no && can_build_shared=no
19194
19195     GCC_CXX="$GXX"
19196     LD_CXX="$LD"
19197
19198     ## CAVEAT EMPTOR:
19199     ## There is no encapsulation within the following macros, do not change
19200     ## the running order or otherwise move them around unless you know exactly
19201     ## what you are doing...
19202     # Dependencies to place before and after the object being linked:
19203 predep_objects_CXX=
19204 postdep_objects_CXX=
19205 predeps_CXX=
19206 postdeps_CXX=
19207 compiler_lib_search_path_CXX=
19208
19209 cat > conftest.$ac_ext <<_LT_EOF
19210 class Foo
19211 {
19212 public:
19213   Foo (void) { a = 0; }
19214 private:
19215   int a;
19216 };
19217 _LT_EOF
19218
19219
19220 _lt_libdeps_save_CFLAGS=$CFLAGS
19221 case "$CC $CFLAGS " in #(
19222 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
19223 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
19224 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
19225 esac
19226
19227 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
19228   (eval $ac_compile) 2>&5
19229   ac_status=$?
19230   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19231   test $ac_status = 0; }; then
19232   # Parse the compiler output and extract the necessary
19233   # objects, libraries and library flags.
19234
19235   # Sentinel used to keep track of whether or not we are before
19236   # the conftest object file.
19237   pre_test_object_deps_done=no
19238
19239   for p in `eval "$output_verbose_link_cmd"`; do
19240     case ${prev}${p} in
19241
19242     -L* | -R* | -l*)
19243        # Some compilers place space between "-{L,R}" and the path.
19244        # Remove the space.
19245        if test $p = "-L" ||
19246           test $p = "-R"; then
19247          prev=$p
19248          continue
19249        fi
19250
19251        # Expand the sysroot to ease extracting the directories later.
19252        if test -z "$prev"; then
19253          case $p in
19254          -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
19255          -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
19256          -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
19257          esac
19258        fi
19259        case $p in
19260        =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
19261        esac
19262        if test "$pre_test_object_deps_done" = no; then
19263          case ${prev} in
19264          -L | -R)
19265            # Internal compiler library paths should come after those
19266            # provided the user.  The postdeps already come after the
19267            # user supplied libs so there is no need to process them.
19268            if test -z "$compiler_lib_search_path_CXX"; then
19269              compiler_lib_search_path_CXX="${prev}${p}"
19270            else
19271              compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
19272            fi
19273            ;;
19274          # The "-l" case would never come before the object being
19275          # linked, so don't bother handling this case.
19276          esac
19277        else
19278          if test -z "$postdeps_CXX"; then
19279            postdeps_CXX="${prev}${p}"
19280          else
19281            postdeps_CXX="${postdeps_CXX} ${prev}${p}"
19282          fi
19283        fi
19284        prev=
19285        ;;
19286
19287     *.lto.$objext) ;; # Ignore GCC LTO objects
19288     *.$objext)
19289        # This assumes that the test object file only shows up
19290        # once in the compiler output.
19291        if test "$p" = "conftest.$objext"; then
19292          pre_test_object_deps_done=yes
19293          continue
19294        fi
19295
19296        if test "$pre_test_object_deps_done" = no; then
19297          if test -z "$predep_objects_CXX"; then
19298            predep_objects_CXX="$p"
19299          else
19300            predep_objects_CXX="$predep_objects_CXX $p"
19301          fi
19302        else
19303          if test -z "$postdep_objects_CXX"; then
19304            postdep_objects_CXX="$p"
19305          else
19306            postdep_objects_CXX="$postdep_objects_CXX $p"
19307          fi
19308        fi
19309        ;;
19310
19311     *) ;; # Ignore the rest.
19312
19313     esac
19314   done
19315
19316   # Clean up.
19317   rm -f a.out a.exe
19318 else
19319   echo "libtool.m4: error: problem compiling CXX test program"
19320 fi
19321
19322 $RM -f confest.$objext
19323 CFLAGS=$_lt_libdeps_save_CFLAGS
19324
19325 # PORTME: override above test on systems where it is broken
19326 case $host_os in
19327 interix[3-9]*)
19328   # Interix 3.5 installs completely hosed .la files for C++, so rather than
19329   # hack all around it, let's just trust "g++" to DTRT.
19330   predep_objects_CXX=
19331   postdep_objects_CXX=
19332   postdeps_CXX=
19333   ;;
19334
19335 linux*)
19336   case `$CC -V 2>&1 | sed 5q` in
19337   *Sun\ C*)
19338     # Sun C++ 5.9
19339
19340     # The more standards-conforming stlport4 library is
19341     # incompatible with the Cstd library. Avoid specifying
19342     # it if it's in CXXFLAGS. Ignore libCrun as
19343     # -library=stlport4 depends on it.
19344     case " $CXX $CXXFLAGS " in
19345     *" -library=stlport4 "*)
19346       solaris_use_stlport4=yes
19347       ;;
19348     esac
19349
19350     if test "$solaris_use_stlport4" != yes; then
19351       postdeps_CXX='-library=Cstd -library=Crun'
19352     fi
19353     ;;
19354   esac
19355   ;;
19356
19357 solaris*)
19358   case $cc_basename in
19359   CC* | sunCC*)
19360     # The more standards-conforming stlport4 library is
19361     # incompatible with the Cstd library. Avoid specifying
19362     # it if it's in CXXFLAGS. Ignore libCrun as
19363     # -library=stlport4 depends on it.
19364     case " $CXX $CXXFLAGS " in
19365     *" -library=stlport4 "*)
19366       solaris_use_stlport4=yes
19367       ;;
19368     esac
19369
19370     # Adding this requires a known-good setup of shared libraries for
19371     # Sun compiler versions before 5.6, else PIC objects from an old
19372     # archive will be linked into the output, leading to subtle bugs.
19373     if test "$solaris_use_stlport4" != yes; then
19374       postdeps_CXX='-library=Cstd -library=Crun'
19375     fi
19376     ;;
19377   esac
19378   ;;
19379 esac
19380
19381
19382 case " $postdeps_CXX " in
19383 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
19384 esac
19385  compiler_lib_search_dirs_CXX=
19386 if test -n "${compiler_lib_search_path_CXX}"; then
19387  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
19388 fi
19389
19390
19391
19392
19393
19394
19395
19396
19397
19398
19399
19400
19401
19402
19403
19404
19405
19406
19407
19408
19409
19410
19411
19412
19413
19414
19415
19416
19417
19418
19419
19420     lt_prog_compiler_wl_CXX=
19421 lt_prog_compiler_pic_CXX=
19422 lt_prog_compiler_static_CXX=
19423
19424
19425   # C++ specific cases for pic, static, wl, etc.
19426   if test "$GXX" = yes; then
19427     lt_prog_compiler_wl_CXX='-Wl,'
19428     lt_prog_compiler_static_CXX='-static'
19429
19430     case $host_os in
19431     aix*)
19432       # All AIX code is PIC.
19433       if test "$host_cpu" = ia64; then
19434         # AIX 5 now supports IA64 processor
19435         lt_prog_compiler_static_CXX='-Bstatic'
19436       fi
19437       ;;
19438
19439     amigaos*)
19440       case $host_cpu in
19441       powerpc)
19442             # see comment about AmigaOS4 .so support
19443             lt_prog_compiler_pic_CXX='-fPIC'
19444         ;;
19445       m68k)
19446             # FIXME: we need at least 68020 code to build shared libraries, but
19447             # adding the `-m68020' flag to GCC prevents building anything better,
19448             # like `-m68040'.
19449             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
19450         ;;
19451       esac
19452       ;;
19453
19454     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
19455       # PIC is the default for these OSes.
19456       ;;
19457     mingw* | cygwin* | os2* | pw32* | cegcc*)
19458       # This hack is so that the source file can tell whether it is being
19459       # built for inclusion in a dll (and should export symbols for example).
19460       # Although the cygwin gcc ignores -fPIC, still need this for old-style
19461       # (--disable-auto-import) libraries
19462       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
19463       ;;
19464     darwin* | rhapsody*)
19465       # PIC is the default on this platform
19466       # Common symbols not allowed in MH_DYLIB files
19467       lt_prog_compiler_pic_CXX='-fno-common'
19468       ;;
19469     *djgpp*)
19470       # DJGPP does not support shared libraries at all
19471       lt_prog_compiler_pic_CXX=
19472       ;;
19473     haiku*)
19474       # PIC is the default for Haiku.
19475       # The "-static" flag exists, but is broken.
19476       lt_prog_compiler_static_CXX=
19477       ;;
19478     interix[3-9]*)
19479       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
19480       # Instead, we relocate shared libraries at runtime.
19481       ;;
19482     sysv4*MP*)
19483       if test -d /usr/nec; then
19484         lt_prog_compiler_pic_CXX=-Kconform_pic
19485       fi
19486       ;;
19487     hpux*)
19488       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
19489       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
19490       # sets the default TLS model and affects inlining.
19491       case $host_cpu in
19492       hppa*64*)
19493         ;;
19494       *)
19495         lt_prog_compiler_pic_CXX='-fPIC'
19496         ;;
19497       esac
19498       ;;
19499     *qnx* | *nto*)
19500       # QNX uses GNU C++, but need to define -shared option too, otherwise
19501       # it will coredump.
19502       lt_prog_compiler_pic_CXX='-fPIC -shared'
19503       ;;
19504     *)
19505       lt_prog_compiler_pic_CXX='-fPIC'
19506       ;;
19507     esac
19508   else
19509     case $host_os in
19510       aix[4-9]*)
19511         # All AIX code is PIC.
19512         if test "$host_cpu" = ia64; then
19513           # AIX 5 now supports IA64 processor
19514           lt_prog_compiler_static_CXX='-Bstatic'
19515         else
19516           lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
19517         fi
19518         ;;
19519       chorus*)
19520         case $cc_basename in
19521         cxch68*)
19522           # Green Hills C++ Compiler
19523           # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
19524           ;;
19525         esac
19526         ;;
19527       mingw* | cygwin* | os2* | pw32* | cegcc*)
19528         # This hack is so that the source file can tell whether it is being
19529         # built for inclusion in a dll (and should export symbols for example).
19530         lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
19531         ;;
19532       dgux*)
19533         case $cc_basename in
19534           ec++*)
19535             lt_prog_compiler_pic_CXX='-KPIC'
19536             ;;
19537           ghcx*)
19538             # Green Hills C++ Compiler
19539             lt_prog_compiler_pic_CXX='-pic'
19540             ;;
19541           *)
19542             ;;
19543         esac
19544         ;;
19545       freebsd* | dragonfly*)
19546         # FreeBSD uses GNU C++
19547         ;;
19548       hpux9* | hpux10* | hpux11*)
19549         case $cc_basename in
19550           CC*)
19551             lt_prog_compiler_wl_CXX='-Wl,'
19552             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
19553             if test "$host_cpu" != ia64; then
19554               lt_prog_compiler_pic_CXX='+Z'
19555             fi
19556             ;;
19557           aCC*)
19558             lt_prog_compiler_wl_CXX='-Wl,'
19559             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
19560             case $host_cpu in
19561             hppa*64*|ia64*)
19562               # +Z the default
19563               ;;
19564             *)
19565               lt_prog_compiler_pic_CXX='+Z'
19566               ;;
19567             esac
19568             ;;
19569           *)
19570             ;;
19571         esac
19572         ;;
19573       interix*)
19574         # This is c89, which is MS Visual C++ (no shared libs)
19575         # Anyone wants to do a port?
19576         ;;
19577       irix5* | irix6* | nonstopux*)
19578         case $cc_basename in
19579           CC*)
19580             lt_prog_compiler_wl_CXX='-Wl,'
19581             lt_prog_compiler_static_CXX='-non_shared'
19582             # CC pic flag -KPIC is the default.
19583             ;;
19584           *)
19585             ;;
19586         esac
19587         ;;
19588       linux* | k*bsd*-gnu | kopensolaris*-gnu)
19589         case $cc_basename in
19590           KCC*)
19591             # KAI C++ Compiler
19592             lt_prog_compiler_wl_CXX='--backend -Wl,'
19593             lt_prog_compiler_pic_CXX='-fPIC'
19594             ;;
19595           ecpc* )
19596             # old Intel C++ for x86_64 which still supported -KPIC.
19597             lt_prog_compiler_wl_CXX='-Wl,'
19598             lt_prog_compiler_pic_CXX='-KPIC'
19599             lt_prog_compiler_static_CXX='-static'
19600             ;;
19601           icpc* )
19602             # Intel C++, used to be incompatible with GCC.
19603             # ICC 10 doesn't accept -KPIC any more.
19604             lt_prog_compiler_wl_CXX='-Wl,'
19605             lt_prog_compiler_pic_CXX='-fPIC'
19606             lt_prog_compiler_static_CXX='-static'
19607             ;;
19608           pgCC* | pgcpp*)
19609             # Portland Group C++ compiler
19610             lt_prog_compiler_wl_CXX='-Wl,'
19611             lt_prog_compiler_pic_CXX='-fpic'
19612             lt_prog_compiler_static_CXX='-Bstatic'
19613             ;;
19614           cxx*)
19615             # Compaq C++
19616             # Make sure the PIC flag is empty.  It appears that all Alpha
19617             # Linux and Compaq Tru64 Unix objects are PIC.
19618             lt_prog_compiler_pic_CXX=
19619             lt_prog_compiler_static_CXX='-non_shared'
19620             ;;
19621           xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
19622             # IBM XL 8.0, 9.0 on PPC and BlueGene
19623             lt_prog_compiler_wl_CXX='-Wl,'
19624             lt_prog_compiler_pic_CXX='-qpic'
19625             lt_prog_compiler_static_CXX='-qstaticlink'
19626             ;;
19627           *)
19628             case `$CC -V 2>&1 | sed 5q` in
19629             *Sun\ C*)
19630               # Sun C++ 5.9
19631               lt_prog_compiler_pic_CXX='-KPIC'
19632               lt_prog_compiler_static_CXX='-Bstatic'
19633               lt_prog_compiler_wl_CXX='-Qoption ld '
19634               ;;
19635             esac
19636             ;;
19637         esac
19638         ;;
19639       lynxos*)
19640         ;;
19641       m88k*)
19642         ;;
19643       mvs*)
19644         case $cc_basename in
19645           cxx*)
19646             lt_prog_compiler_pic_CXX='-W c,exportall'
19647             ;;
19648           *)
19649             ;;
19650         esac
19651         ;;
19652       netbsd* | netbsdelf*-gnu)
19653         ;;
19654       *qnx* | *nto*)
19655         # QNX uses GNU C++, but need to define -shared option too, otherwise
19656         # it will coredump.
19657         lt_prog_compiler_pic_CXX='-fPIC -shared'
19658         ;;
19659       osf3* | osf4* | osf5*)
19660         case $cc_basename in
19661           KCC*)
19662             lt_prog_compiler_wl_CXX='--backend -Wl,'
19663             ;;
19664           RCC*)
19665             # Rational C++ 2.4.1
19666             lt_prog_compiler_pic_CXX='-pic'
19667             ;;
19668           cxx*)
19669             # Digital/Compaq C++
19670             lt_prog_compiler_wl_CXX='-Wl,'
19671             # Make sure the PIC flag is empty.  It appears that all Alpha
19672             # Linux and Compaq Tru64 Unix objects are PIC.
19673             lt_prog_compiler_pic_CXX=
19674             lt_prog_compiler_static_CXX='-non_shared'
19675             ;;
19676           *)
19677             ;;
19678         esac
19679         ;;
19680       psos*)
19681         ;;
19682       solaris*)
19683         case $cc_basename in
19684           CC* | sunCC*)
19685             # Sun C++ 4.2, 5.x and Centerline C++
19686             lt_prog_compiler_pic_CXX='-KPIC'
19687             lt_prog_compiler_static_CXX='-Bstatic'
19688             lt_prog_compiler_wl_CXX='-Qoption ld '
19689             ;;
19690           gcx*)
19691             # Green Hills C++ Compiler
19692             lt_prog_compiler_pic_CXX='-PIC'
19693             ;;
19694           *)
19695             ;;
19696         esac
19697         ;;
19698       sunos4*)
19699         case $cc_basename in
19700           CC*)
19701             # Sun C++ 4.x
19702             lt_prog_compiler_pic_CXX='-pic'
19703             lt_prog_compiler_static_CXX='-Bstatic'
19704             ;;
19705           lcc*)
19706             # Lucid
19707             lt_prog_compiler_pic_CXX='-pic'
19708             ;;
19709           *)
19710             ;;
19711         esac
19712         ;;
19713       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
19714         case $cc_basename in
19715           CC*)
19716             lt_prog_compiler_wl_CXX='-Wl,'
19717             lt_prog_compiler_pic_CXX='-KPIC'
19718             lt_prog_compiler_static_CXX='-Bstatic'
19719             ;;
19720         esac
19721         ;;
19722       tandem*)
19723         case $cc_basename in
19724           NCC*)
19725             # NonStop-UX NCC 3.20
19726             lt_prog_compiler_pic_CXX='-KPIC'
19727             ;;
19728           *)
19729             ;;
19730         esac
19731         ;;
19732       vxworks*)
19733         ;;
19734       *)
19735         lt_prog_compiler_can_build_shared_CXX=no
19736         ;;
19737     esac
19738   fi
19739
19740 case $host_os in
19741   # For platforms which do not support PIC, -DPIC is meaningless:
19742   *djgpp*)
19743     lt_prog_compiler_pic_CXX=
19744     ;;
19745   *)
19746     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
19747     ;;
19748 esac
19749
19750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
19751 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
19752 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
19753   $as_echo_n "(cached) " >&6
19754 else
19755   lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
19756 fi
19757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
19758 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
19759 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
19760
19761 #
19762 # Check to make sure the PIC flag actually works.
19763 #
19764 if test -n "$lt_prog_compiler_pic_CXX"; then
19765   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
19766 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
19767 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
19768   $as_echo_n "(cached) " >&6
19769 else
19770   lt_cv_prog_compiler_pic_works_CXX=no
19771    ac_outfile=conftest.$ac_objext
19772    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19773    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
19774    # Insert the option either (1) after the last *FLAGS variable, or
19775    # (2) before a word containing "conftest.", or (3) at the end.
19776    # Note that $ac_compile itself does not contain backslashes and begins
19777    # with a dollar sign (not a hyphen), so the echo should work correctly.
19778    # The option is referenced via a variable to avoid confusing sed.
19779    lt_compile=`echo "$ac_compile" | $SED \
19780    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19781    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19782    -e 's:$: $lt_compiler_flag:'`
19783    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
19784    (eval "$lt_compile" 2>conftest.err)
19785    ac_status=$?
19786    cat conftest.err >&5
19787    echo "$as_me:$LINENO: \$? = $ac_status" >&5
19788    if (exit $ac_status) && test -s "$ac_outfile"; then
19789      # The compiler can only warn and ignore the option if not recognized
19790      # So say no if there are warnings other than the usual output.
19791      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
19792      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
19793      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
19794        lt_cv_prog_compiler_pic_works_CXX=yes
19795      fi
19796    fi
19797    $RM conftest*
19798
19799 fi
19800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
19801 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
19802
19803 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
19804     case $lt_prog_compiler_pic_CXX in
19805      "" | " "*) ;;
19806      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
19807      esac
19808 else
19809     lt_prog_compiler_pic_CXX=
19810      lt_prog_compiler_can_build_shared_CXX=no
19811 fi
19812
19813 fi
19814
19815
19816
19817
19818
19819 #
19820 # Check to make sure the static flag actually works.
19821 #
19822 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
19823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
19824 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
19825 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
19826   $as_echo_n "(cached) " >&6
19827 else
19828   lt_cv_prog_compiler_static_works_CXX=no
19829    save_LDFLAGS="$LDFLAGS"
19830    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
19831    echo "$lt_simple_link_test_code" > conftest.$ac_ext
19832    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
19833      # The linker can only warn and ignore the option if not recognized
19834      # So say no if there are warnings
19835      if test -s conftest.err; then
19836        # Append any errors to the config.log.
19837        cat conftest.err 1>&5
19838        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
19839        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
19840        if diff conftest.exp conftest.er2 >/dev/null; then
19841          lt_cv_prog_compiler_static_works_CXX=yes
19842        fi
19843      else
19844        lt_cv_prog_compiler_static_works_CXX=yes
19845      fi
19846    fi
19847    $RM -r conftest*
19848    LDFLAGS="$save_LDFLAGS"
19849
19850 fi
19851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
19852 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
19853
19854 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
19855     :
19856 else
19857     lt_prog_compiler_static_CXX=
19858 fi
19859
19860
19861
19862
19863     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
19864 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
19865 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
19866   $as_echo_n "(cached) " >&6
19867 else
19868   lt_cv_prog_compiler_c_o_CXX=no
19869    $RM -r conftest 2>/dev/null
19870    mkdir conftest
19871    cd conftest
19872    mkdir out
19873    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19874
19875    lt_compiler_flag="-o out/conftest2.$ac_objext"
19876    # Insert the option either (1) after the last *FLAGS variable, or
19877    # (2) before a word containing "conftest.", or (3) at the end.
19878    # Note that $ac_compile itself does not contain backslashes and begins
19879    # with a dollar sign (not a hyphen), so the echo should work correctly.
19880    lt_compile=`echo "$ac_compile" | $SED \
19881    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19882    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19883    -e 's:$: $lt_compiler_flag:'`
19884    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
19885    (eval "$lt_compile" 2>out/conftest.err)
19886    ac_status=$?
19887    cat out/conftest.err >&5
19888    echo "$as_me:$LINENO: \$? = $ac_status" >&5
19889    if (exit $ac_status) && test -s out/conftest2.$ac_objext
19890    then
19891      # The compiler can only warn and ignore the option if not recognized
19892      # So say no if there are warnings
19893      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
19894      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
19895      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
19896        lt_cv_prog_compiler_c_o_CXX=yes
19897      fi
19898    fi
19899    chmod u+w . 2>&5
19900    $RM conftest*
19901    # SGI C++ compiler will create directory out/ii_files/ for
19902    # template instantiation
19903    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
19904    $RM out/* && rmdir out
19905    cd ..
19906    $RM -r conftest
19907    $RM conftest*
19908
19909 fi
19910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
19911 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
19912
19913
19914
19915     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
19916 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
19917 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
19918   $as_echo_n "(cached) " >&6
19919 else
19920   lt_cv_prog_compiler_c_o_CXX=no
19921    $RM -r conftest 2>/dev/null
19922    mkdir conftest
19923    cd conftest
19924    mkdir out
19925    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19926
19927    lt_compiler_flag="-o out/conftest2.$ac_objext"
19928    # Insert the option either (1) after the last *FLAGS variable, or
19929    # (2) before a word containing "conftest.", or (3) at the end.
19930    # Note that $ac_compile itself does not contain backslashes and begins
19931    # with a dollar sign (not a hyphen), so the echo should work correctly.
19932    lt_compile=`echo "$ac_compile" | $SED \
19933    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19934    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19935    -e 's:$: $lt_compiler_flag:'`
19936    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
19937    (eval "$lt_compile" 2>out/conftest.err)
19938    ac_status=$?
19939    cat out/conftest.err >&5
19940    echo "$as_me:$LINENO: \$? = $ac_status" >&5
19941    if (exit $ac_status) && test -s out/conftest2.$ac_objext
19942    then
19943      # The compiler can only warn and ignore the option if not recognized
19944      # So say no if there are warnings
19945      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
19946      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
19947      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
19948        lt_cv_prog_compiler_c_o_CXX=yes
19949      fi
19950    fi
19951    chmod u+w . 2>&5
19952    $RM conftest*
19953    # SGI C++ compiler will create directory out/ii_files/ for
19954    # template instantiation
19955    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
19956    $RM out/* && rmdir out
19957    cd ..
19958    $RM -r conftest
19959    $RM conftest*
19960
19961 fi
19962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
19963 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
19964
19965
19966
19967
19968 hard_links="nottested"
19969 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
19970   # do not overwrite the value of need_locks provided by the user
19971   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
19972 $as_echo_n "checking if we can lock with hard links... " >&6; }
19973   hard_links=yes
19974   $RM conftest*
19975   ln conftest.a conftest.b 2>/dev/null && hard_links=no
19976   touch conftest.a
19977   ln conftest.a conftest.b 2>&5 || hard_links=no
19978   ln conftest.a conftest.b 2>/dev/null && hard_links=no
19979   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
19980 $as_echo "$hard_links" >&6; }
19981   if test "$hard_links" = no; then
19982     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
19983 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
19984     need_locks=warn
19985   fi
19986 else
19987   need_locks=no
19988 fi
19989
19990
19991
19992     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
19993 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
19994
19995   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
19996   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
19997   case $host_os in
19998   aix[4-9]*)
19999     # If we're using GNU nm, then we don't want the "-C" option.
20000     # -C means demangle to AIX nm, but means don't demangle with GNU nm
20001     # Also, AIX nm treats weak defined symbols like other global defined
20002     # symbols, whereas GNU nm marks them as "W".
20003     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
20004       export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
20005     else
20006       export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
20007     fi
20008     ;;
20009   pw32*)
20010     export_symbols_cmds_CXX="$ltdll_cmds"
20011     ;;
20012   cygwin* | mingw* | cegcc*)
20013     case $cc_basename in
20014     cl*)
20015       exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
20016       ;;
20017     *)
20018       export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
20019       exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
20020       ;;
20021     esac
20022     ;;
20023   linux* | k*bsd*-gnu | gnu*)
20024     link_all_deplibs_CXX=no
20025     ;;
20026   *)
20027     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
20028     ;;
20029   esac
20030
20031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
20032 $as_echo "$ld_shlibs_CXX" >&6; }
20033 test "$ld_shlibs_CXX" = no && can_build_shared=no
20034
20035 with_gnu_ld_CXX=$with_gnu_ld
20036
20037
20038
20039
20040
20041
20042 #
20043 # Do we need to explicitly link libc?
20044 #
20045 case "x$archive_cmds_need_lc_CXX" in
20046 x|xyes)
20047   # Assume -lc should be added
20048   archive_cmds_need_lc_CXX=yes
20049
20050   if test "$enable_shared" = yes && test "$GCC" = yes; then
20051     case $archive_cmds_CXX in
20052     *'~'*)
20053       # FIXME: we may have to deal with multi-command sequences.
20054       ;;
20055     '$CC '*)
20056       # Test whether the compiler implicitly links with -lc since on some
20057       # systems, -lgcc has to come before -lc. If gcc already passes -lc
20058       # to ld, don't add -lc before -lgcc.
20059       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
20060 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
20061 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
20062   $as_echo_n "(cached) " >&6
20063 else
20064   $RM conftest*
20065         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
20066
20067         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
20068   (eval $ac_compile) 2>&5
20069   ac_status=$?
20070   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20071   test $ac_status = 0; } 2>conftest.err; then
20072           soname=conftest
20073           lib=conftest
20074           libobjs=conftest.$ac_objext
20075           deplibs=
20076           wl=$lt_prog_compiler_wl_CXX
20077           pic_flag=$lt_prog_compiler_pic_CXX
20078           compiler_flags=-v
20079           linker_flags=-v
20080           verstring=
20081           output_objdir=.
20082           libname=conftest
20083           lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
20084           allow_undefined_flag_CXX=
20085           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
20086   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
20087   ac_status=$?
20088   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20089   test $ac_status = 0; }
20090           then
20091             lt_cv_archive_cmds_need_lc_CXX=no
20092           else
20093             lt_cv_archive_cmds_need_lc_CXX=yes
20094           fi
20095           allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
20096         else
20097           cat conftest.err 1>&5
20098         fi
20099         $RM conftest*
20100
20101 fi
20102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
20103 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
20104       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
20105       ;;
20106     esac
20107   fi
20108   ;;
20109 esac
20110
20111
20112
20113
20114
20115
20116
20117
20118
20119
20120
20121
20122
20123
20124
20125
20126
20127
20128
20129
20130
20131
20132
20133
20134
20135
20136
20137
20138
20139
20140
20141
20142
20143
20144
20145
20146
20147
20148
20149
20150
20151
20152
20153
20154
20155
20156
20157
20158
20159
20160
20161
20162
20163
20164
20165
20166
20167
20168
20169
20170
20171
20172     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
20173 $as_echo_n "checking dynamic linker characteristics... " >&6; }
20174
20175 library_names_spec=
20176 libname_spec='lib$name'
20177 soname_spec=
20178 shrext_cmds=".so"
20179 postinstall_cmds=
20180 postuninstall_cmds=
20181 finish_cmds=
20182 finish_eval=
20183 shlibpath_var=
20184 shlibpath_overrides_runpath=unknown
20185 version_type=none
20186 dynamic_linker="$host_os ld.so"
20187 sys_lib_dlsearch_path_spec="/lib /usr/lib"
20188 need_lib_prefix=unknown
20189 hardcode_into_libs=no
20190
20191 # when you set need_version to no, make sure it does not cause -set_version
20192 # flags to be left without arguments
20193 need_version=unknown
20194
20195 case $host_os in
20196 aix3*)
20197   version_type=linux # correct to gnu/linux during the next big refactor
20198   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
20199   shlibpath_var=LIBPATH
20200
20201   # AIX 3 has no versioning support, so we append a major version to the name.
20202   soname_spec='${libname}${release}${shared_ext}$major'
20203   ;;
20204
20205 aix[4-9]*)
20206   version_type=linux # correct to gnu/linux during the next big refactor
20207   need_lib_prefix=no
20208   need_version=no
20209   hardcode_into_libs=yes
20210   if test "$host_cpu" = ia64; then
20211     # AIX 5 supports IA64
20212     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
20213     shlibpath_var=LD_LIBRARY_PATH
20214   else
20215     # With GCC up to 2.95.x, collect2 would create an import file
20216     # for dependence libraries.  The import file would start with
20217     # the line `#! .'.  This would cause the generated library to
20218     # depend on `.', always an invalid library.  This was fixed in
20219     # development snapshots of GCC prior to 3.0.
20220     case $host_os in
20221       aix4 | aix4.[01] | aix4.[01].*)
20222       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
20223            echo ' yes '
20224            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
20225         :
20226       else
20227         can_build_shared=no
20228       fi
20229       ;;
20230     esac
20231     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
20232     # soname into executable. Probably we can add versioning support to
20233     # collect2, so additional links can be useful in future.
20234     if test "$aix_use_runtimelinking" = yes; then
20235       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
20236       # instead of lib<name>.a to let people know that these are not
20237       # typical AIX shared libraries.
20238       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20239     else
20240       # We preserve .a as extension for shared libraries through AIX4.2
20241       # and later when we are not doing run time linking.
20242       library_names_spec='${libname}${release}.a $libname.a'
20243       soname_spec='${libname}${release}${shared_ext}$major'
20244     fi
20245     shlibpath_var=LIBPATH
20246   fi
20247   ;;
20248
20249 amigaos*)
20250   case $host_cpu in
20251   powerpc)
20252     # Since July 2007 AmigaOS4 officially supports .so libraries.
20253     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
20254     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20255     ;;
20256   m68k)
20257     library_names_spec='$libname.ixlibrary $libname.a'
20258     # Create ${libname}_ixlibrary.a entries in /sys/libs.
20259     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'
20260     ;;
20261   esac
20262   ;;
20263
20264 beos*)
20265   library_names_spec='${libname}${shared_ext}'
20266   dynamic_linker="$host_os ld.so"
20267   shlibpath_var=LIBRARY_PATH
20268   ;;
20269
20270 bsdi[45]*)
20271   version_type=linux # correct to gnu/linux during the next big refactor
20272   need_version=no
20273   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20274   soname_spec='${libname}${release}${shared_ext}$major'
20275   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
20276   shlibpath_var=LD_LIBRARY_PATH
20277   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
20278   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
20279   # the default ld.so.conf also contains /usr/contrib/lib and
20280   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
20281   # libtool to hard-code these into programs
20282   ;;
20283
20284 cygwin* | mingw* | pw32* | cegcc*)
20285   version_type=windows
20286   shrext_cmds=".dll"
20287   need_version=no
20288   need_lib_prefix=no
20289
20290   case $GCC,$cc_basename in
20291   yes,*)
20292     # gcc
20293     library_names_spec='$libname.dll.a'
20294     # DLL is installed to $(libdir)/../bin by postinstall_cmds
20295     postinstall_cmds='base_file=`basename \${file}`~
20296       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
20297       dldir=$destdir/`dirname \$dlpath`~
20298       test -d \$dldir || mkdir -p \$dldir~
20299       $install_prog $dir/$dlname \$dldir/$dlname~
20300       chmod a+x \$dldir/$dlname~
20301       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
20302         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
20303       fi'
20304     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
20305       dlpath=$dir/\$dldll~
20306        $RM \$dlpath'
20307     shlibpath_overrides_runpath=yes
20308
20309     case $host_os in
20310     cygwin*)
20311       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
20312       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20313
20314       ;;
20315     mingw* | cegcc*)
20316       # MinGW DLLs use traditional 'lib' prefix
20317       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20318       ;;
20319     pw32*)
20320       # pw32 DLLs use 'pw' prefix rather than 'lib'
20321       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20322       ;;
20323     esac
20324     dynamic_linker='Win32 ld.exe'
20325     ;;
20326
20327   *,cl*)
20328     # Native MSVC
20329     libname_spec='$name'
20330     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20331     library_names_spec='${libname}.dll.lib'
20332
20333     case $build_os in
20334     mingw*)
20335       sys_lib_search_path_spec=
20336       lt_save_ifs=$IFS
20337       IFS=';'
20338       for lt_path in $LIB
20339       do
20340         IFS=$lt_save_ifs
20341         # Let DOS variable expansion print the short 8.3 style file name.
20342         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
20343         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
20344       done
20345       IFS=$lt_save_ifs
20346       # Convert to MSYS style.
20347       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
20348       ;;
20349     cygwin*)
20350       # Convert to unix form, then to dos form, then back to unix form
20351       # but this time dos style (no spaces!) so that the unix form looks
20352       # like /cygdrive/c/PROGRA~1:/cygdr...
20353       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
20354       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
20355       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
20356       ;;
20357     *)
20358       sys_lib_search_path_spec="$LIB"
20359       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
20360         # It is most probably a Windows format PATH.
20361         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
20362       else
20363         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
20364       fi
20365       # FIXME: find the short name or the path components, as spaces are
20366       # common. (e.g. "Program Files" -> "PROGRA~1")
20367       ;;
20368     esac
20369
20370     # DLL is installed to $(libdir)/../bin by postinstall_cmds
20371     postinstall_cmds='base_file=`basename \${file}`~
20372       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
20373       dldir=$destdir/`dirname \$dlpath`~
20374       test -d \$dldir || mkdir -p \$dldir~
20375       $install_prog $dir/$dlname \$dldir/$dlname'
20376     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
20377       dlpath=$dir/\$dldll~
20378        $RM \$dlpath'
20379     shlibpath_overrides_runpath=yes
20380     dynamic_linker='Win32 link.exe'
20381     ;;
20382
20383   *)
20384     # Assume MSVC wrapper
20385     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
20386     dynamic_linker='Win32 ld.exe'
20387     ;;
20388   esac
20389   # FIXME: first we should search . and the directory the executable is in
20390   shlibpath_var=PATH
20391   ;;
20392
20393 darwin* | rhapsody*)
20394   dynamic_linker="$host_os dyld"
20395   version_type=darwin
20396   need_lib_prefix=no
20397   need_version=no
20398   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
20399   soname_spec='${libname}${release}${major}$shared_ext'
20400   shlibpath_overrides_runpath=yes
20401   shlibpath_var=DYLD_LIBRARY_PATH
20402   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
20403
20404   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
20405   ;;
20406
20407 dgux*)
20408   version_type=linux # correct to gnu/linux during the next big refactor
20409   need_lib_prefix=no
20410   need_version=no
20411   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
20412   soname_spec='${libname}${release}${shared_ext}$major'
20413   shlibpath_var=LD_LIBRARY_PATH
20414   ;;
20415
20416 freebsd* | dragonfly*)
20417   # DragonFly does not have aout.  When/if they implement a new
20418   # versioning mechanism, adjust this.
20419   if test -x /usr/bin/objformat; then
20420     objformat=`/usr/bin/objformat`
20421   else
20422     case $host_os in
20423     freebsd[23].*) objformat=aout ;;
20424     *) objformat=elf ;;
20425     esac
20426   fi
20427   version_type=freebsd-$objformat
20428   case $version_type in
20429     freebsd-elf*)
20430       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20431       need_version=no
20432       need_lib_prefix=no
20433       ;;
20434     freebsd-*)
20435       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
20436       need_version=yes
20437       ;;
20438   esac
20439   shlibpath_var=LD_LIBRARY_PATH
20440   case $host_os in
20441   freebsd2.*)
20442     shlibpath_overrides_runpath=yes
20443     ;;
20444   freebsd3.[01]* | freebsdelf3.[01]*)
20445     shlibpath_overrides_runpath=yes
20446     hardcode_into_libs=yes
20447     ;;
20448   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
20449   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
20450     shlibpath_overrides_runpath=no
20451     hardcode_into_libs=yes
20452     ;;
20453   *) # from 4.6 on, and DragonFly
20454     shlibpath_overrides_runpath=yes
20455     hardcode_into_libs=yes
20456     ;;
20457   esac
20458   ;;
20459
20460 gnu*)
20461   version_type=linux # correct to gnu/linux during the next big refactor
20462   need_lib_prefix=no
20463   need_version=no
20464   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
20465   soname_spec='${libname}${release}${shared_ext}$major'
20466   shlibpath_var=LD_LIBRARY_PATH
20467   shlibpath_overrides_runpath=no
20468   hardcode_into_libs=yes
20469   ;;
20470
20471 haiku*)
20472   version_type=linux # correct to gnu/linux during the next big refactor
20473   need_lib_prefix=no
20474   need_version=no
20475   dynamic_linker="$host_os runtime_loader"
20476   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
20477   soname_spec='${libname}${release}${shared_ext}$major'
20478   shlibpath_var=LIBRARY_PATH
20479   shlibpath_overrides_runpath=yes
20480   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
20481   hardcode_into_libs=yes
20482   ;;
20483
20484 hpux9* | hpux10* | hpux11*)
20485   # Give a soname corresponding to the major version so that dld.sl refuses to
20486   # link against other versions.
20487   version_type=sunos
20488   need_lib_prefix=no
20489   need_version=no
20490   case $host_cpu in
20491   ia64*)
20492     shrext_cmds='.so'
20493     hardcode_into_libs=yes
20494     dynamic_linker="$host_os dld.so"
20495     shlibpath_var=LD_LIBRARY_PATH
20496     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
20497     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20498     soname_spec='${libname}${release}${shared_ext}$major'
20499     if test "X$HPUX_IA64_MODE" = X32; then
20500       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
20501     else
20502       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
20503     fi
20504     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
20505     ;;
20506   hppa*64*)
20507     shrext_cmds='.sl'
20508     hardcode_into_libs=yes
20509     dynamic_linker="$host_os dld.sl"
20510     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
20511     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
20512     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20513     soname_spec='${libname}${release}${shared_ext}$major'
20514     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
20515     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
20516     ;;
20517   *)
20518     shrext_cmds='.sl'
20519     dynamic_linker="$host_os dld.sl"
20520     shlibpath_var=SHLIB_PATH
20521     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
20522     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20523     soname_spec='${libname}${release}${shared_ext}$major'
20524     ;;
20525   esac
20526   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
20527   postinstall_cmds='chmod 555 $lib'
20528   # or fails outright, so override atomically:
20529   install_override_mode=555
20530   ;;
20531
20532 interix[3-9]*)
20533   version_type=linux # correct to gnu/linux during the next big refactor
20534   need_lib_prefix=no
20535   need_version=no
20536   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20537   soname_spec='${libname}${release}${shared_ext}$major'
20538   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
20539   shlibpath_var=LD_LIBRARY_PATH
20540   shlibpath_overrides_runpath=no
20541   hardcode_into_libs=yes
20542   ;;
20543
20544 irix5* | irix6* | nonstopux*)
20545   case $host_os in
20546     nonstopux*) version_type=nonstopux ;;
20547     *)
20548         if test "$lt_cv_prog_gnu_ld" = yes; then
20549                 version_type=linux # correct to gnu/linux during the next big refactor
20550         else
20551                 version_type=irix
20552         fi ;;
20553   esac
20554   need_lib_prefix=no
20555   need_version=no
20556   soname_spec='${libname}${release}${shared_ext}$major'
20557   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
20558   case $host_os in
20559   irix5* | nonstopux*)
20560     libsuff= shlibsuff=
20561     ;;
20562   *)
20563     case $LD in # libtool.m4 will add one of these switches to LD
20564     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
20565       libsuff= shlibsuff= libmagic=32-bit;;
20566     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
20567       libsuff=32 shlibsuff=N32 libmagic=N32;;
20568     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
20569       libsuff=64 shlibsuff=64 libmagic=64-bit;;
20570     *) libsuff= shlibsuff= libmagic=never-match;;
20571     esac
20572     ;;
20573   esac
20574   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
20575   shlibpath_overrides_runpath=no
20576   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
20577   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
20578   hardcode_into_libs=yes
20579   ;;
20580
20581 # No shared lib support for Linux oldld, aout, or coff.
20582 linux*oldld* | linux*aout* | linux*coff*)
20583   dynamic_linker=no
20584   ;;
20585
20586 # This must be glibc/ELF.
20587 linux* | k*bsd*-gnu | kopensolaris*-gnu)
20588   version_type=linux # correct to gnu/linux during the next big refactor
20589   need_lib_prefix=no
20590   need_version=no
20591   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20592   soname_spec='${libname}${release}${shared_ext}$major'
20593   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
20594   shlibpath_var=LD_LIBRARY_PATH
20595   shlibpath_overrides_runpath=no
20596
20597   # Some binutils ld are patched to set DT_RUNPATH
20598   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
20599   $as_echo_n "(cached) " >&6
20600 else
20601   lt_cv_shlibpath_overrides_runpath=no
20602     save_LDFLAGS=$LDFLAGS
20603     save_libdir=$libdir
20604     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
20605          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
20606     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20607 /* end confdefs.h.  */
20608
20609 int
20610 main ()
20611 {
20612
20613   ;
20614   return 0;
20615 }
20616 _ACEOF
20617 if ac_fn_cxx_try_link "$LINENO"; then :
20618   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
20619   lt_cv_shlibpath_overrides_runpath=yes
20620 fi
20621 fi
20622 rm -f core conftest.err conftest.$ac_objext \
20623     conftest$ac_exeext conftest.$ac_ext
20624     LDFLAGS=$save_LDFLAGS
20625     libdir=$save_libdir
20626
20627 fi
20628
20629   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
20630
20631   # This implies no fast_install, which is unacceptable.
20632   # Some rework will be needed to allow for fast_install
20633   # before this can be enabled.
20634   hardcode_into_libs=yes
20635
20636   # Append ld.so.conf contents to the search path
20637   if test -f /etc/ld.so.conf; then
20638     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' ' '`
20639     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
20640   fi
20641
20642   # We used to test for /lib/ld.so.1 and disable shared libraries on
20643   # powerpc, because MkLinux only supported shared libraries with the
20644   # GNU dynamic linker.  Since this was broken with cross compilers,
20645   # most powerpc-linux boxes support dynamic linking these days and
20646   # people can always --disable-shared, the test was removed, and we
20647   # assume the GNU/Linux dynamic linker is in use.
20648   dynamic_linker='GNU/Linux ld.so'
20649   ;;
20650
20651 netbsdelf*-gnu)
20652   version_type=linux
20653   need_lib_prefix=no
20654   need_version=no
20655   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20656   soname_spec='${libname}${release}${shared_ext}$major'
20657   shlibpath_var=LD_LIBRARY_PATH
20658   shlibpath_overrides_runpath=no
20659   hardcode_into_libs=yes
20660   dynamic_linker='NetBSD ld.elf_so'
20661   ;;
20662
20663 netbsd*)
20664   version_type=sunos
20665   need_lib_prefix=no
20666   need_version=no
20667   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
20668     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20669     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20670     dynamic_linker='NetBSD (a.out) ld.so'
20671   else
20672     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20673     soname_spec='${libname}${release}${shared_ext}$major'
20674     dynamic_linker='NetBSD ld.elf_so'
20675   fi
20676   shlibpath_var=LD_LIBRARY_PATH
20677   shlibpath_overrides_runpath=yes
20678   hardcode_into_libs=yes
20679   ;;
20680
20681 newsos6)
20682   version_type=linux # correct to gnu/linux during the next big refactor
20683   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20684   shlibpath_var=LD_LIBRARY_PATH
20685   shlibpath_overrides_runpath=yes
20686   ;;
20687
20688 *nto* | *qnx*)
20689   version_type=qnx
20690   need_lib_prefix=no
20691   need_version=no
20692   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20693   soname_spec='${libname}${release}${shared_ext}$major'
20694   shlibpath_var=LD_LIBRARY_PATH
20695   shlibpath_overrides_runpath=no
20696   hardcode_into_libs=yes
20697   dynamic_linker='ldqnx.so'
20698   ;;
20699
20700 openbsd*)
20701   version_type=sunos
20702   sys_lib_dlsearch_path_spec="/usr/lib"
20703   need_lib_prefix=no
20704   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
20705   case $host_os in
20706     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
20707     *)                          need_version=no  ;;
20708   esac
20709   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20710   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20711   shlibpath_var=LD_LIBRARY_PATH
20712   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
20713     case $host_os in
20714       openbsd2.[89] | openbsd2.[89].*)
20715         shlibpath_overrides_runpath=no
20716         ;;
20717       *)
20718         shlibpath_overrides_runpath=yes
20719         ;;
20720       esac
20721   else
20722     shlibpath_overrides_runpath=yes
20723   fi
20724   ;;
20725
20726 os2*)
20727   libname_spec='$name'
20728   shrext_cmds=".dll"
20729   need_lib_prefix=no
20730   library_names_spec='$libname${shared_ext} $libname.a'
20731   dynamic_linker='OS/2 ld.exe'
20732   shlibpath_var=LIBPATH
20733   ;;
20734
20735 osf3* | osf4* | osf5*)
20736   version_type=osf
20737   need_lib_prefix=no
20738   need_version=no
20739   soname_spec='${libname}${release}${shared_ext}$major'
20740   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20741   shlibpath_var=LD_LIBRARY_PATH
20742   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
20743   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
20744   ;;
20745
20746 rdos*)
20747   dynamic_linker=no
20748   ;;
20749
20750 solaris*)
20751   version_type=linux # correct to gnu/linux during the next big refactor
20752   need_lib_prefix=no
20753   need_version=no
20754   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20755   soname_spec='${libname}${release}${shared_ext}$major'
20756   shlibpath_var=LD_LIBRARY_PATH
20757   shlibpath_overrides_runpath=yes
20758   hardcode_into_libs=yes
20759   # ldd complains unless libraries are executable
20760   postinstall_cmds='chmod +x $lib'
20761   ;;
20762
20763 sunos4*)
20764   version_type=sunos
20765   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20766   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
20767   shlibpath_var=LD_LIBRARY_PATH
20768   shlibpath_overrides_runpath=yes
20769   if test "$with_gnu_ld" = yes; then
20770     need_lib_prefix=no
20771   fi
20772   need_version=yes
20773   ;;
20774
20775 sysv4 | sysv4.3*)
20776   version_type=linux # correct to gnu/linux during the next big refactor
20777   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20778   soname_spec='${libname}${release}${shared_ext}$major'
20779   shlibpath_var=LD_LIBRARY_PATH
20780   case $host_vendor in
20781     sni)
20782       shlibpath_overrides_runpath=no
20783       need_lib_prefix=no
20784       runpath_var=LD_RUN_PATH
20785       ;;
20786     siemens)
20787       need_lib_prefix=no
20788       ;;
20789     motorola)
20790       need_lib_prefix=no
20791       need_version=no
20792       shlibpath_overrides_runpath=no
20793       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
20794       ;;
20795   esac
20796   ;;
20797
20798 sysv4*MP*)
20799   if test -d /usr/nec ;then
20800     version_type=linux # correct to gnu/linux during the next big refactor
20801     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
20802     soname_spec='$libname${shared_ext}.$major'
20803     shlibpath_var=LD_LIBRARY_PATH
20804   fi
20805   ;;
20806
20807 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
20808   version_type=freebsd-elf
20809   need_lib_prefix=no
20810   need_version=no
20811   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20812   soname_spec='${libname}${release}${shared_ext}$major'
20813   shlibpath_var=LD_LIBRARY_PATH
20814   shlibpath_overrides_runpath=yes
20815   hardcode_into_libs=yes
20816   if test "$with_gnu_ld" = yes; then
20817     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
20818   else
20819     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
20820     case $host_os in
20821       sco3.2v5*)
20822         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
20823         ;;
20824     esac
20825   fi
20826   sys_lib_dlsearch_path_spec='/usr/lib'
20827   ;;
20828
20829 tpf*)
20830   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
20831   version_type=linux # correct to gnu/linux during the next big refactor
20832   need_lib_prefix=no
20833   need_version=no
20834   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20835   shlibpath_var=LD_LIBRARY_PATH
20836   shlibpath_overrides_runpath=no
20837   hardcode_into_libs=yes
20838   ;;
20839
20840 uts4*)
20841   version_type=linux # correct to gnu/linux during the next big refactor
20842   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20843   soname_spec='${libname}${release}${shared_ext}$major'
20844   shlibpath_var=LD_LIBRARY_PATH
20845   ;;
20846
20847 *)
20848   dynamic_linker=no
20849   ;;
20850 esac
20851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
20852 $as_echo "$dynamic_linker" >&6; }
20853 test "$dynamic_linker" = no && can_build_shared=no
20854
20855 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
20856 if test "$GCC" = yes; then
20857   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
20858 fi
20859
20860 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
20861   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
20862 fi
20863 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
20864   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
20865 fi
20866
20867
20868
20869
20870
20871
20872
20873
20874
20875
20876
20877
20878
20879
20880
20881
20882
20883
20884
20885
20886
20887
20888
20889
20890
20891
20892
20893
20894
20895
20896
20897
20898
20899
20900
20901
20902
20903
20904     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
20905 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
20906 hardcode_action_CXX=
20907 if test -n "$hardcode_libdir_flag_spec_CXX" ||
20908    test -n "$runpath_var_CXX" ||
20909    test "X$hardcode_automatic_CXX" = "Xyes" ; then
20910
20911   # We can hardcode non-existent directories.
20912   if test "$hardcode_direct_CXX" != no &&
20913      # If the only mechanism to avoid hardcoding is shlibpath_var, we
20914      # have to relink, otherwise we might link with an installed library
20915      # when we should be linking with a yet-to-be-installed one
20916      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
20917      test "$hardcode_minus_L_CXX" != no; then
20918     # Linking always hardcodes the temporary library directory.
20919     hardcode_action_CXX=relink
20920   else
20921     # We can link without hardcoding, and we can hardcode nonexisting dirs.
20922     hardcode_action_CXX=immediate
20923   fi
20924 else
20925   # We cannot hardcode anything, or else we can only hardcode existing
20926   # directories.
20927   hardcode_action_CXX=unsupported
20928 fi
20929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
20930 $as_echo "$hardcode_action_CXX" >&6; }
20931
20932 if test "$hardcode_action_CXX" = relink ||
20933    test "$inherit_rpath_CXX" = yes; then
20934   # Fast installation is not supported
20935   enable_fast_install=no
20936 elif test "$shlibpath_overrides_runpath" = yes ||
20937      test "$enable_shared" = no; then
20938   # Fast installation is not necessary
20939   enable_fast_install=needless
20940 fi
20941
20942
20943
20944
20945
20946
20947
20948   fi # test -n "$compiler"
20949
20950   CC=$lt_save_CC
20951   CFLAGS=$lt_save_CFLAGS
20952   LDCXX=$LD
20953   LD=$lt_save_LD
20954   GCC=$lt_save_GCC
20955   with_gnu_ld=$lt_save_with_gnu_ld
20956   lt_cv_path_LDCXX=$lt_cv_path_LD
20957   lt_cv_path_LD=$lt_save_path_LD
20958   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
20959   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
20960 fi # test "$_lt_caught_CXX_error" != yes
20961
20962 ac_ext=c
20963 ac_cpp='$CPP $CPPFLAGS'
20964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20967
20968
20969 # Extract the first word of "$CXX", so it can be a program name with args.
20970 set dummy $CXX; ac_word=$2
20971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20972 $as_echo_n "checking for $ac_word... " >&6; }
20973 if ${ac_cv_prog_HAVE_CXX+:} false; then :
20974   $as_echo_n "(cached) " >&6
20975 else
20976   if test -n "$HAVE_CXX"; then
20977   ac_cv_prog_HAVE_CXX="$HAVE_CXX" # Let the user override the test.
20978 else
20979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20980 for as_dir in $PATH
20981 do
20982   IFS=$as_save_IFS
20983   test -z "$as_dir" && as_dir=.
20984     for ac_exec_ext in '' $ac_executable_extensions; do
20985   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20986     ac_cv_prog_HAVE_CXX="yes"
20987     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20988     break 2
20989   fi
20990 done
20991   done
20992 IFS=$as_save_IFS
20993
20994   test -z "$ac_cv_prog_HAVE_CXX" && ac_cv_prog_HAVE_CXX="no"
20995 fi
20996 fi
20997 HAVE_CXX=$ac_cv_prog_HAVE_CXX
20998 if test -n "$HAVE_CXX"; then
20999   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_CXX" >&5
21000 $as_echo "$HAVE_CXX" >&6; }
21001 else
21002   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21003 $as_echo "no" >&6; }
21004 fi
21005
21006
21007
21008 ac_ext=cpp
21009 ac_cpp='$CXXCPP $CPPFLAGS'
21010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
21014 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
21015 if test -z "$CXXCPP"; then
21016   if ${ac_cv_prog_CXXCPP+:} false; then :
21017   $as_echo_n "(cached) " >&6
21018 else
21019       # Double quotes because CXXCPP needs to be expanded
21020     for CXXCPP in "$CXX -E" "/lib/cpp"
21021     do
21022       ac_preproc_ok=false
21023 for ac_cxx_preproc_warn_flag in '' yes
21024 do
21025   # Use a header file that comes with gcc, so configuring glibc
21026   # with a fresh cross-compiler works.
21027   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21028   # <limits.h> exists even on freestanding compilers.
21029   # On the NeXT, cc -E runs the code through the compiler's parser,
21030   # not just through cpp. "Syntax error" is here to catch this case.
21031   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21032 /* end confdefs.h.  */
21033 #ifdef __STDC__
21034 # include <limits.h>
21035 #else
21036 # include <assert.h>
21037 #endif
21038                      Syntax error
21039 _ACEOF
21040 if ac_fn_cxx_try_cpp "$LINENO"; then :
21041
21042 else
21043   # Broken: fails on valid input.
21044 continue
21045 fi
21046 rm -f conftest.err conftest.i conftest.$ac_ext
21047
21048   # OK, works on sane cases.  Now check whether nonexistent headers
21049   # can be detected and how.
21050   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21051 /* end confdefs.h.  */
21052 #include <ac_nonexistent.h>
21053 _ACEOF
21054 if ac_fn_cxx_try_cpp "$LINENO"; then :
21055   # Broken: success on invalid input.
21056 continue
21057 else
21058   # Passes both tests.
21059 ac_preproc_ok=:
21060 break
21061 fi
21062 rm -f conftest.err conftest.i conftest.$ac_ext
21063
21064 done
21065 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21066 rm -f conftest.i conftest.err conftest.$ac_ext
21067 if $ac_preproc_ok; then :
21068   break
21069 fi
21070
21071     done
21072     ac_cv_prog_CXXCPP=$CXXCPP
21073
21074 fi
21075   CXXCPP=$ac_cv_prog_CXXCPP
21076 else
21077   ac_cv_prog_CXXCPP=$CXXCPP
21078 fi
21079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
21080 $as_echo "$CXXCPP" >&6; }
21081 ac_preproc_ok=false
21082 for ac_cxx_preproc_warn_flag in '' yes
21083 do
21084   # Use a header file that comes with gcc, so configuring glibc
21085   # with a fresh cross-compiler works.
21086   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21087   # <limits.h> exists even on freestanding compilers.
21088   # On the NeXT, cc -E runs the code through the compiler's parser,
21089   # not just through cpp. "Syntax error" is here to catch this case.
21090   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21091 /* end confdefs.h.  */
21092 #ifdef __STDC__
21093 # include <limits.h>
21094 #else
21095 # include <assert.h>
21096 #endif
21097                      Syntax error
21098 _ACEOF
21099 if ac_fn_cxx_try_cpp "$LINENO"; then :
21100
21101 else
21102   # Broken: fails on valid input.
21103 continue
21104 fi
21105 rm -f conftest.err conftest.i conftest.$ac_ext
21106
21107   # OK, works on sane cases.  Now check whether nonexistent headers
21108   # can be detected and how.
21109   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21110 /* end confdefs.h.  */
21111 #include <ac_nonexistent.h>
21112 _ACEOF
21113 if ac_fn_cxx_try_cpp "$LINENO"; then :
21114   # Broken: success on invalid input.
21115 continue
21116 else
21117   # Passes both tests.
21118 ac_preproc_ok=:
21119 break
21120 fi
21121 rm -f conftest.err conftest.i conftest.$ac_ext
21122
21123 done
21124 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21125 rm -f conftest.i conftest.err conftest.$ac_ext
21126 if $ac_preproc_ok; then :
21127
21128 else
21129   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21130 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21131 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
21132 See \`config.log' for more details" "$LINENO" 5; }
21133 fi
21134
21135 ac_ext=c
21136 ac_cpp='$CPP $CPPFLAGS'
21137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21140
21141
21142
21143 if test -n "$ac_tool_prefix"; then
21144   for ac_prog in objcc objc gcc cc CC
21145   do
21146     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
21147 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
21148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21149 $as_echo_n "checking for $ac_word... " >&6; }
21150 if ${ac_cv_prog_OBJC+:} false; then :
21151   $as_echo_n "(cached) " >&6
21152 else
21153   if test -n "$OBJC"; then
21154   ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
21155 else
21156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21157 for as_dir in $PATH
21158 do
21159   IFS=$as_save_IFS
21160   test -z "$as_dir" && as_dir=.
21161     for ac_exec_ext in '' $ac_executable_extensions; do
21162   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21163     ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
21164     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21165     break 2
21166   fi
21167 done
21168   done
21169 IFS=$as_save_IFS
21170
21171 fi
21172 fi
21173 OBJC=$ac_cv_prog_OBJC
21174 if test -n "$OBJC"; then
21175   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
21176 $as_echo "$OBJC" >&6; }
21177 else
21178   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21179 $as_echo "no" >&6; }
21180 fi
21181
21182
21183     test -n "$OBJC" && break
21184   done
21185 fi
21186 if test -z "$OBJC"; then
21187   ac_ct_OBJC=$OBJC
21188   for ac_prog in objcc objc gcc cc CC
21189 do
21190   # Extract the first word of "$ac_prog", so it can be a program name with args.
21191 set dummy $ac_prog; ac_word=$2
21192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21193 $as_echo_n "checking for $ac_word... " >&6; }
21194 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
21195   $as_echo_n "(cached) " >&6
21196 else
21197   if test -n "$ac_ct_OBJC"; then
21198   ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
21199 else
21200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21201 for as_dir in $PATH
21202 do
21203   IFS=$as_save_IFS
21204   test -z "$as_dir" && as_dir=.
21205     for ac_exec_ext in '' $ac_executable_extensions; do
21206   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21207     ac_cv_prog_ac_ct_OBJC="$ac_prog"
21208     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21209     break 2
21210   fi
21211 done
21212   done
21213 IFS=$as_save_IFS
21214
21215 fi
21216 fi
21217 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
21218 if test -n "$ac_ct_OBJC"; then
21219   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
21220 $as_echo "$ac_ct_OBJC" >&6; }
21221 else
21222   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21223 $as_echo "no" >&6; }
21224 fi
21225
21226
21227   test -n "$ac_ct_OBJC" && break
21228 done
21229
21230   if test "x$ac_ct_OBJC" = x; then
21231     OBJC="none"
21232   else
21233     case $cross_compiling:$ac_tool_warned in
21234 yes:)
21235 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
21236 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
21237 ac_tool_warned=yes ;;
21238 esac
21239     OBJC=$ac_ct_OBJC
21240   fi
21241 fi
21242
21243
21244 OBJC_LDFLAGS="-lobjc"
21245
21246 if test "x$OBJC" != xnone ; then
21247
21248 depcc="$OBJC" am_compiler_list='gcc3 gcc'
21249
21250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
21251 $as_echo_n "checking dependency style of $depcc... " >&6; }
21252 if ${am_cv_OBJC_dependencies_compiler_type+:} false; then :
21253   $as_echo_n "(cached) " >&6
21254 else
21255   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
21256   # We make a subdir and do the tests there.  Otherwise we can end up
21257   # making bogus files that we don't know about and never remove.  For
21258   # instance it was reported that on HP-UX the gcc test will end up
21259   # making a dummy file named `D' -- because `-MD' means `put the output
21260   # in D'.
21261   rm -rf conftest.dir
21262   mkdir conftest.dir
21263   # Copy depcomp to subdir because otherwise we won't find it if we're
21264   # using a relative directory.
21265   cp "$am_depcomp" conftest.dir
21266   cd conftest.dir
21267   # We will build objects and dependencies in a subdirectory because
21268   # it helps to detect inapplicable dependency modes.  For instance
21269   # both Tru64's cc and ICC support -MD to output dependencies as a
21270   # side effect of compilation, but ICC will put the dependencies in
21271   # the current directory while Tru64 will put them in the object
21272   # directory.
21273   mkdir sub
21274
21275   am_cv_OBJC_dependencies_compiler_type=none
21276   if test "$am_compiler_list" = ""; then
21277      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
21278   fi
21279   am__universal=false
21280
21281
21282   for depmode in $am_compiler_list; do
21283     # Setup a source with many dependencies, because some compilers
21284     # like to wrap large dependency lists on column 80 (with \), and
21285     # we should not choose a depcomp mode which is confused by this.
21286     #
21287     # We need to recreate these files for each test, as the compiler may
21288     # overwrite some of them when testing with obscure command lines.
21289     # This happens at least with the AIX C compiler.
21290     : > sub/conftest.c
21291     for i in 1 2 3 4 5 6; do
21292       echo '#include "conftst'$i'.h"' >> sub/conftest.c
21293       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
21294       # Solaris 8's {/usr,}/bin/sh.
21295       touch sub/conftst$i.h
21296     done
21297     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
21298
21299     # We check with `-c' and `-o' for the sake of the "dashmstdout"
21300     # mode.  It turns out that the SunPro C++ compiler does not properly
21301     # handle `-M -o', and we need to detect this.  Also, some Intel
21302     # versions had trouble with output in subdirs
21303     am__obj=sub/conftest.${OBJEXT-o}
21304     am__minus_obj="-o $am__obj"
21305     case $depmode in
21306     gcc)
21307       # This depmode causes a compiler race in universal mode.
21308       test "$am__universal" = false || continue
21309       ;;
21310     nosideeffect)
21311       # after this tag, mechanisms are not by side-effect, so they'll
21312       # only be used when explicitly requested
21313       if test "x$enable_dependency_tracking" = xyes; then
21314         continue
21315       else
21316         break
21317       fi
21318       ;;
21319     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
21320       # This compiler won't grok `-c -o', but also, the minuso test has
21321       # not run yet.  These depmodes are late enough in the game, and
21322       # so weak that their functioning should not be impacted.
21323       am__obj=conftest.${OBJEXT-o}
21324       am__minus_obj=
21325       ;;
21326     none) break ;;
21327     esac
21328     if depmode=$depmode \
21329        source=sub/conftest.c object=$am__obj \
21330        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
21331        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
21332          >/dev/null 2>conftest.err &&
21333        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
21334        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
21335        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
21336        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
21337       # icc doesn't choke on unknown options, it will just issue warnings
21338       # or remarks (even with -Werror).  So we grep stderr for any message
21339       # that says an option was ignored or not supported.
21340       # When given -MP, icc 7.0 and 7.1 complain thusly:
21341       #   icc: Command line warning: ignoring option '-M'; no argument required
21342       # The diagnosis changed in icc 8.0:
21343       #   icc: Command line remark: option '-MP' not supported
21344       if (grep 'ignoring option' conftest.err ||
21345           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
21346         am_cv_OBJC_dependencies_compiler_type=$depmode
21347         break
21348       fi
21349     fi
21350   done
21351
21352   cd ..
21353   rm -rf conftest.dir
21354 else
21355   am_cv_OBJC_dependencies_compiler_type=none
21356 fi
21357
21358 fi
21359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJC_dependencies_compiler_type" >&5
21360 $as_echo "$am_cv_OBJC_dependencies_compiler_type" >&6; }
21361 OBJCDEPMODE=depmode=$am_cv_OBJC_dependencies_compiler_type
21362
21363  if
21364   test "x$enable_dependency_tracking" != xno \
21365   && test "$am_cv_OBJC_dependencies_compiler_type" = gcc3; then
21366   am__fastdepOBJC_TRUE=
21367   am__fastdepOBJC_FALSE='#'
21368 else
21369   am__fastdepOBJC_TRUE='#'
21370   am__fastdepOBJC_FALSE=
21371 fi
21372
21373
21374   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Objective C compiler works" >&5
21375 $as_echo_n "checking if Objective C compiler works... " >&6; }
21376   cat >>conftest.m <<EOF
21377 #include <objc/Object.h>
21378 @interface Moo:Object
21379 {
21380 }
21381 - moo;
21382 int main();
21383 @end
21384
21385 @implementation Moo
21386 - moo
21387 {
21388   exit(0);
21389 }
21390
21391 int main()
21392 {
21393   id moo;
21394   moo = [Moo new];
21395   [moo moo];
21396   return 1;
21397 }
21398 @end
21399 EOF
21400   ${OBJC} conftest.m ${OBJC_LDFLAGS} >&5 2>&5
21401   if test -f a.out -o -f a.exe ; then
21402     result=yes
21403   else
21404     result=no
21405     echo failed program is: >&5
21406     cat conftest.m >&5
21407   fi
21408   rm -f conftest.m a.out a.exe
21409   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
21410 $as_echo "$result" >&6; }
21411 else
21412
21413 depcc="$OBJC" am_compiler_list='gcc3 gcc'
21414
21415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
21416 $as_echo_n "checking dependency style of $depcc... " >&6; }
21417 if ${am_cv_OBJC_dependencies_compiler_type+:} false; then :
21418   $as_echo_n "(cached) " >&6
21419 else
21420   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
21421   # We make a subdir and do the tests there.  Otherwise we can end up
21422   # making bogus files that we don't know about and never remove.  For
21423   # instance it was reported that on HP-UX the gcc test will end up
21424   # making a dummy file named `D' -- because `-MD' means `put the output
21425   # in D'.
21426   rm -rf conftest.dir
21427   mkdir conftest.dir
21428   # Copy depcomp to subdir because otherwise we won't find it if we're
21429   # using a relative directory.
21430   cp "$am_depcomp" conftest.dir
21431   cd conftest.dir
21432   # We will build objects and dependencies in a subdirectory because
21433   # it helps to detect inapplicable dependency modes.  For instance
21434   # both Tru64's cc and ICC support -MD to output dependencies as a
21435   # side effect of compilation, but ICC will put the dependencies in
21436   # the current directory while Tru64 will put them in the object
21437   # directory.
21438   mkdir sub
21439
21440   am_cv_OBJC_dependencies_compiler_type=none
21441   if test "$am_compiler_list" = ""; then
21442      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
21443   fi
21444   am__universal=false
21445
21446
21447   for depmode in $am_compiler_list; do
21448     # Setup a source with many dependencies, because some compilers
21449     # like to wrap large dependency lists on column 80 (with \), and
21450     # we should not choose a depcomp mode which is confused by this.
21451     #
21452     # We need to recreate these files for each test, as the compiler may
21453     # overwrite some of them when testing with obscure command lines.
21454     # This happens at least with the AIX C compiler.
21455     : > sub/conftest.c
21456     for i in 1 2 3 4 5 6; do
21457       echo '#include "conftst'$i'.h"' >> sub/conftest.c
21458       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
21459       # Solaris 8's {/usr,}/bin/sh.
21460       touch sub/conftst$i.h
21461     done
21462     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
21463
21464     # We check with `-c' and `-o' for the sake of the "dashmstdout"
21465     # mode.  It turns out that the SunPro C++ compiler does not properly
21466     # handle `-M -o', and we need to detect this.  Also, some Intel
21467     # versions had trouble with output in subdirs
21468     am__obj=sub/conftest.${OBJEXT-o}
21469     am__minus_obj="-o $am__obj"
21470     case $depmode in
21471     gcc)
21472       # This depmode causes a compiler race in universal mode.
21473       test "$am__universal" = false || continue
21474       ;;
21475     nosideeffect)
21476       # after this tag, mechanisms are not by side-effect, so they'll
21477       # only be used when explicitly requested
21478       if test "x$enable_dependency_tracking" = xyes; then
21479         continue
21480       else
21481         break
21482       fi
21483       ;;
21484     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
21485       # This compiler won't grok `-c -o', but also, the minuso test has
21486       # not run yet.  These depmodes are late enough in the game, and
21487       # so weak that their functioning should not be impacted.
21488       am__obj=conftest.${OBJEXT-o}
21489       am__minus_obj=
21490       ;;
21491     none) break ;;
21492     esac
21493     if depmode=$depmode \
21494        source=sub/conftest.c object=$am__obj \
21495        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
21496        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
21497          >/dev/null 2>conftest.err &&
21498        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
21499        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
21500        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
21501        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
21502       # icc doesn't choke on unknown options, it will just issue warnings
21503       # or remarks (even with -Werror).  So we grep stderr for any message
21504       # that says an option was ignored or not supported.
21505       # When given -MP, icc 7.0 and 7.1 complain thusly:
21506       #   icc: Command line warning: ignoring option '-M'; no argument required
21507       # The diagnosis changed in icc 8.0:
21508       #   icc: Command line remark: option '-MP' not supported
21509       if (grep 'ignoring option' conftest.err ||
21510           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
21511         am_cv_OBJC_dependencies_compiler_type=$depmode
21512         break
21513       fi
21514     fi
21515   done
21516
21517   cd ..
21518   rm -rf conftest.dir
21519 else
21520   am_cv_OBJC_dependencies_compiler_type=none
21521 fi
21522
21523 fi
21524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJC_dependencies_compiler_type" >&5
21525 $as_echo "$am_cv_OBJC_dependencies_compiler_type" >&6; }
21526 OBJCDEPMODE=depmode=$am_cv_OBJC_dependencies_compiler_type
21527
21528  if
21529   test "x$enable_dependency_tracking" != xno \
21530   && test "$am_cv_OBJC_dependencies_compiler_type" = gcc3; then
21531   am__fastdepOBJC_TRUE=
21532   am__fastdepOBJC_FALSE='#'
21533 else
21534   am__fastdepOBJC_TRUE='#'
21535   am__fastdepOBJC_FALSE=
21536 fi
21537
21538
21539 fi
21540
21541
21542
21543 if test "x$CC" != xcc; then
21544   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
21545 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
21546 else
21547   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
21548 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
21549 fi
21550 set dummy $CC; ac_cc=`$as_echo "$2" |
21551                       sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
21552 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
21553   $as_echo_n "(cached) " >&6
21554 else
21555   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21556 /* end confdefs.h.  */
21557
21558 int
21559 main ()
21560 {
21561
21562   ;
21563   return 0;
21564 }
21565 _ACEOF
21566 # Make sure it works both with $CC and with simple cc.
21567 # We do the test twice because some compilers refuse to overwrite an
21568 # existing .o file with -o, though they will create one.
21569 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
21570 rm -f conftest2.*
21571 if { { case "(($ac_try" in
21572   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21573   *) ac_try_echo=$ac_try;;
21574 esac
21575 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
21576 $as_echo "$ac_try_echo"; } >&5
21577   (eval "$ac_try") 2>&5
21578   ac_status=$?
21579   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21580   test $ac_status = 0; } &&
21581    test -f conftest2.$ac_objext && { { case "(($ac_try" in
21582   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21583   *) ac_try_echo=$ac_try;;
21584 esac
21585 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
21586 $as_echo "$ac_try_echo"; } >&5
21587   (eval "$ac_try") 2>&5
21588   ac_status=$?
21589   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21590   test $ac_status = 0; };
21591 then
21592   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
21593   if test "x$CC" != xcc; then
21594     # Test first that cc exists at all.
21595     if { ac_try='cc -c conftest.$ac_ext >&5'
21596   { { case "(($ac_try" in
21597   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21598   *) ac_try_echo=$ac_try;;
21599 esac
21600 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
21601 $as_echo "$ac_try_echo"; } >&5
21602   (eval "$ac_try") 2>&5
21603   ac_status=$?
21604   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21605   test $ac_status = 0; }; }; then
21606       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
21607       rm -f conftest2.*
21608       if { { case "(($ac_try" in
21609   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21610   *) ac_try_echo=$ac_try;;
21611 esac
21612 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
21613 $as_echo "$ac_try_echo"; } >&5
21614   (eval "$ac_try") 2>&5
21615   ac_status=$?
21616   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21617   test $ac_status = 0; } &&
21618          test -f conftest2.$ac_objext && { { case "(($ac_try" in
21619   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21620   *) ac_try_echo=$ac_try;;
21621 esac
21622 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
21623 $as_echo "$ac_try_echo"; } >&5
21624   (eval "$ac_try") 2>&5
21625   ac_status=$?
21626   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21627   test $ac_status = 0; };
21628       then
21629         # cc works too.
21630         :
21631       else
21632         # cc exists but doesn't like -o.
21633         eval ac_cv_prog_cc_${ac_cc}_c_o=no
21634       fi
21635     fi
21636   fi
21637 else
21638   eval ac_cv_prog_cc_${ac_cc}_c_o=no
21639 fi
21640 rm -f core conftest*
21641
21642 fi
21643 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
21644   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21645 $as_echo "yes" >&6; }
21646 else
21647   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21648 $as_echo "no" >&6; }
21649
21650 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
21651
21652 fi
21653
21654 # FIXME: we rely on the cache variable name because
21655 # there is no other way.
21656 set dummy $CC
21657 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
21658 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
21659 if test "$am_t" != yes; then
21660    # Losing compiler, so override with the script.
21661    # FIXME: It is wrong to rewrite CC.
21662    # But if we don't then we get into trouble of one sort or another.
21663    # A longer-term fix would be to have automake use am__CC in this case,
21664    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
21665    CC="$am_aux_dir/compile $CC"
21666 fi
21667
21668
21669
21670 # By default we simply use the C compiler to build assembly code.
21671
21672 test "${CCAS+set}" = set || CCAS=$CC
21673 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
21674
21675
21676
21677 depcc="$CCAS"   am_compiler_list=
21678
21679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
21680 $as_echo_n "checking dependency style of $depcc... " >&6; }
21681 if ${am_cv_CCAS_dependencies_compiler_type+:} false; then :
21682   $as_echo_n "(cached) " >&6
21683 else
21684   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
21685   # We make a subdir and do the tests there.  Otherwise we can end up
21686   # making bogus files that we don't know about and never remove.  For
21687   # instance it was reported that on HP-UX the gcc test will end up
21688   # making a dummy file named `D' -- because `-MD' means `put the output
21689   # in D'.
21690   rm -rf conftest.dir
21691   mkdir conftest.dir
21692   # Copy depcomp to subdir because otherwise we won't find it if we're
21693   # using a relative directory.
21694   cp "$am_depcomp" conftest.dir
21695   cd conftest.dir
21696   # We will build objects and dependencies in a subdirectory because
21697   # it helps to detect inapplicable dependency modes.  For instance
21698   # both Tru64's cc and ICC support -MD to output dependencies as a
21699   # side effect of compilation, but ICC will put the dependencies in
21700   # the current directory while Tru64 will put them in the object
21701   # directory.
21702   mkdir sub
21703
21704   am_cv_CCAS_dependencies_compiler_type=none
21705   if test "$am_compiler_list" = ""; then
21706      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
21707   fi
21708   am__universal=false
21709
21710
21711   for depmode in $am_compiler_list; do
21712     # Setup a source with many dependencies, because some compilers
21713     # like to wrap large dependency lists on column 80 (with \), and
21714     # we should not choose a depcomp mode which is confused by this.
21715     #
21716     # We need to recreate these files for each test, as the compiler may
21717     # overwrite some of them when testing with obscure command lines.
21718     # This happens at least with the AIX C compiler.
21719     : > sub/conftest.c
21720     for i in 1 2 3 4 5 6; do
21721       echo '#include "conftst'$i'.h"' >> sub/conftest.c
21722       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
21723       # Solaris 8's {/usr,}/bin/sh.
21724       touch sub/conftst$i.h
21725     done
21726     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
21727
21728     # We check with `-c' and `-o' for the sake of the "dashmstdout"
21729     # mode.  It turns out that the SunPro C++ compiler does not properly
21730     # handle `-M -o', and we need to detect this.  Also, some Intel
21731     # versions had trouble with output in subdirs
21732     am__obj=sub/conftest.${OBJEXT-o}
21733     am__minus_obj="-o $am__obj"
21734     case $depmode in
21735     gcc)
21736       # This depmode causes a compiler race in universal mode.
21737       test "$am__universal" = false || continue
21738       ;;
21739     nosideeffect)
21740       # after this tag, mechanisms are not by side-effect, so they'll
21741       # only be used when explicitly requested
21742       if test "x$enable_dependency_tracking" = xyes; then
21743         continue
21744       else
21745         break
21746       fi
21747       ;;
21748     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
21749       # This compiler won't grok `-c -o', but also, the minuso test has
21750       # not run yet.  These depmodes are late enough in the game, and
21751       # so weak that their functioning should not be impacted.
21752       am__obj=conftest.${OBJEXT-o}
21753       am__minus_obj=
21754       ;;
21755     none) break ;;
21756     esac
21757     if depmode=$depmode \
21758        source=sub/conftest.c object=$am__obj \
21759        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
21760        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
21761          >/dev/null 2>conftest.err &&
21762        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
21763        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
21764        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
21765        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
21766       # icc doesn't choke on unknown options, it will just issue warnings
21767       # or remarks (even with -Werror).  So we grep stderr for any message
21768       # that says an option was ignored or not supported.
21769       # When given -MP, icc 7.0 and 7.1 complain thusly:
21770       #   icc: Command line warning: ignoring option '-M'; no argument required
21771       # The diagnosis changed in icc 8.0:
21772       #   icc: Command line remark: option '-MP' not supported
21773       if (grep 'ignoring option' conftest.err ||
21774           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
21775         am_cv_CCAS_dependencies_compiler_type=$depmode
21776         break
21777       fi
21778     fi
21779   done
21780
21781   cd ..
21782   rm -rf conftest.dir
21783 else
21784   am_cv_CCAS_dependencies_compiler_type=none
21785 fi
21786
21787 fi
21788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
21789 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
21790 CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
21791
21792  if
21793   test "x$enable_dependency_tracking" != xno \
21794   && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
21795   am__fastdepCCAS_TRUE=
21796   am__fastdepCCAS_FALSE='#'
21797 else
21798   am__fastdepCCAS_TRUE='#'
21799   am__fastdepCCAS_FALSE=
21800 fi
21801
21802
21803
21804
21805
21806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working do while(0) macros" >&5
21807 $as_echo_n "checking for working do while(0) macros... " >&6; }
21808 if ${_cv_g_support_dowhile_macros+:} false; then :
21809   $as_echo_n "(cached) " >&6
21810 else
21811
21812         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21813 /* end confdefs.h.  */
21814
21815 int
21816 main ()
21817 {
21818
21819         #define STMT_START do
21820         #define STMT_END while(0)
21821         #define STMT_TEST STMT_START { i = 0; } STMT_END
21822         int main(void) { int i = 1; STMT_TEST; return i; }
21823   ;
21824   return 0;
21825 }
21826 _ACEOF
21827 if ac_fn_c_try_compile "$LINENO"; then :
21828   _cv_g_support_dowhile_macros=yes
21829 else
21830   _cv_g_support_dowhile_macros=no
21831 fi
21832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21833
21834 fi
21835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_g_support_dowhile_macros" >&5
21836 $as_echo "$_cv_g_support_dowhile_macros" >&6; }
21837 if test x$_cv_g_support_dowhile_macros = xyes; then
21838
21839 $as_echo "#define HAVE_DOWHILE_MACROS 1" >>confdefs.h
21840
21841 fi
21842
21843
21844 # Extract the first word of "valgrind", so it can be a program name with args.
21845 set dummy valgrind; ac_word=$2
21846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21847 $as_echo_n "checking for $ac_word... " >&6; }
21848 if ${ac_cv_path_VALGRIND_PATH+:} false; then :
21849   $as_echo_n "(cached) " >&6
21850 else
21851   case $VALGRIND_PATH in
21852   [\\/]* | ?:[\\/]*)
21853   ac_cv_path_VALGRIND_PATH="$VALGRIND_PATH" # Let the user override the test with a path.
21854   ;;
21855   *)
21856   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21857 for as_dir in $PATH
21858 do
21859   IFS=$as_save_IFS
21860   test -z "$as_dir" && as_dir=.
21861     for ac_exec_ext in '' $ac_executable_extensions; do
21862   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21863     ac_cv_path_VALGRIND_PATH="$as_dir/$ac_word$ac_exec_ext"
21864     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21865     break 2
21866   fi
21867 done
21868   done
21869 IFS=$as_save_IFS
21870
21871   test -z "$ac_cv_path_VALGRIND_PATH" && ac_cv_path_VALGRIND_PATH="no"
21872   ;;
21873 esac
21874 fi
21875 VALGRIND_PATH=$ac_cv_path_VALGRIND_PATH
21876 if test -n "$VALGRIND_PATH"; then
21877   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALGRIND_PATH" >&5
21878 $as_echo "$VALGRIND_PATH" >&6; }
21879 else
21880   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21881 $as_echo "no" >&6; }
21882 fi
21883
21884
21885  if test ! "x$VALGRIND_PATH" = "xno"; then
21886   HAVE_VALGRIND_TRUE=
21887   HAVE_VALGRIND_FALSE='#'
21888 else
21889   HAVE_VALGRIND_TRUE='#'
21890   HAVE_VALGRIND_FALSE=
21891 fi
21892
21893
21894
21895   if test "x$GCONF_SCHEMA_INSTALL_SOURCE" = "x"; then
21896     GCONF_SCHEMA_CONFIG_SOURCE=`gconftool-2 --get-default-source`
21897   else
21898     GCONF_SCHEMA_CONFIG_SOURCE=$GCONF_SCHEMA_INSTALL_SOURCE
21899   fi
21900
21901
21902 # Check whether --with-gconf-source was given.
21903 if test "${with_gconf_source+set}" = set; then :
21904   withval=$with_gconf_source; GCONF_SCHEMA_CONFIG_SOURCE="$withval"
21905 fi
21906
21907
21908
21909   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&5
21910 $as_echo "Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&6; }
21911
21912   if test "x$GCONF_SCHEMA_FILE_DIR" = "x"; then
21913     GCONF_SCHEMA_FILE_DIR='$(sysconfdir)/gconf/schemas'
21914   fi
21915
21916
21917 # Check whether --with-gconf-schema-file-dir was given.
21918 if test "${with_gconf_schema_file_dir+set}" = set; then :
21919   withval=$with_gconf_schema_file_dir; GCONF_SCHEMA_FILE_DIR="$withval"
21920 fi
21921
21922
21923
21924   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&5
21925 $as_echo "Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&6; }
21926
21927   # Check whether --enable-schemas-install was given.
21928 if test "${enable_schemas_install+set}" = set; then :
21929   enableval=$enable_schemas_install; case "${enableval}" in
21930        yes) schemas_install=true ;;
21931        no)  schemas_install=false ;;
21932        *) as_fn_error $? "bad value ${enableval} for --disable-schemas-install" "$LINENO" 5 ;;
21933      esac
21934 else
21935   schemas_install=true
21936 fi
21937
21938       if test x$schemas_install = xtrue; then
21939   GCONF_SCHEMAS_INSTALL_TRUE=
21940   GCONF_SCHEMAS_INSTALL_FALSE='#'
21941 else
21942   GCONF_SCHEMAS_INSTALL_TRUE='#'
21943   GCONF_SCHEMAS_INSTALL_FALSE=
21944 fi
21945
21946
21947
21948
21949
21950 # Check whether --with-html-dir was given.
21951 if test "${with_html_dir+set}" = set; then :
21952   withval=$with_html_dir;
21953 else
21954   with_html_dir='${datadir}/gtk-doc/html'
21955 fi
21956
21957   HTML_DIR="$with_html_dir"
21958
21959
21960     # Check whether --enable-gtk-doc was given.
21961 if test "${enable_gtk_doc+set}" = set; then :
21962   enableval=$enable_gtk_doc;
21963 else
21964   enable_gtk_doc=no
21965 fi
21966
21967
21968   if test x$enable_gtk_doc = xyes; then
21969     if test -n "$PKG_CONFIG" && \
21970     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.3\""; } >&5
21971   ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.3") 2>&5
21972   ac_status=$?
21973   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21974   test $ac_status = 0; }; then
21975   :
21976 else
21977   as_fn_error $? "You need to have gtk-doc >= 1.3 installed to build gtk-doc" "$LINENO" 5
21978 fi
21979     if test -z "$SED"; then
21980       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
21981 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
21982 if ${ac_cv_path_SED+:} false; then :
21983   $as_echo_n "(cached) " >&6
21984 else
21985             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
21986      for ac_i in 1 2 3 4 5 6 7; do
21987        ac_script="$ac_script$as_nl$ac_script"
21988      done
21989      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
21990      { ac_script=; unset ac_script;}
21991      if test -z "$SED"; then
21992   ac_path_SED_found=false
21993   # Loop through the user's path and test for each of PROGNAME-LIST
21994   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21995 for as_dir in $PATH
21996 do
21997   IFS=$as_save_IFS
21998   test -z "$as_dir" && as_dir=.
21999     for ac_prog in sed gsed; do
22000     for ac_exec_ext in '' $ac_executable_extensions; do
22001       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
22002       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
22003 # Check for GNU ac_path_SED and select it if it is found.
22004   # Check for GNU $ac_path_SED
22005 case `"$ac_path_SED" --version 2>&1` in
22006 *GNU*)
22007   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
22008 *)
22009   ac_count=0
22010   $as_echo_n 0123456789 >"conftest.in"
22011   while :
22012   do
22013     cat "conftest.in" "conftest.in" >"conftest.tmp"
22014     mv "conftest.tmp" "conftest.in"
22015     cp "conftest.in" "conftest.nl"
22016     $as_echo '' >> "conftest.nl"
22017     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
22018     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
22019     as_fn_arith $ac_count + 1 && ac_count=$as_val
22020     if test $ac_count -gt ${ac_path_SED_max-0}; then
22021       # Best one so far, save it but keep looking for a better one
22022       ac_cv_path_SED="$ac_path_SED"
22023       ac_path_SED_max=$ac_count
22024     fi
22025     # 10*(2^10) chars as input seems more than enough
22026     test $ac_count -gt 10 && break
22027   done
22028   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
22029 esac
22030
22031       $ac_path_SED_found && break 3
22032     done
22033   done
22034   done
22035 IFS=$as_save_IFS
22036   if test -z "$ac_cv_path_SED"; then
22037     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
22038   fi
22039 else
22040   ac_cv_path_SED=$SED
22041 fi
22042
22043 fi
22044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
22045 $as_echo "$ac_cv_path_SED" >&6; }
22046  SED="$ac_cv_path_SED"
22047   rm -f conftest.sed
22048
22049     fi
22050   fi
22051
22052   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
22053 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
22054   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
22055 $as_echo "$enable_gtk_doc" >&6; }
22056
22057   for ac_prog in gtkdoc-check
22058 do
22059   # Extract the first word of "$ac_prog", so it can be a program name with args.
22060 set dummy $ac_prog; ac_word=$2
22061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22062 $as_echo_n "checking for $ac_word... " >&6; }
22063 if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
22064   $as_echo_n "(cached) " >&6
22065 else
22066   case $GTKDOC_CHECK in
22067   [\\/]* | ?:[\\/]*)
22068   ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
22069   ;;
22070   *)
22071   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22072 for as_dir in $PATH
22073 do
22074   IFS=$as_save_IFS
22075   test -z "$as_dir" && as_dir=.
22076     for ac_exec_ext in '' $ac_executable_extensions; do
22077   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22078     ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
22079     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22080     break 2
22081   fi
22082 done
22083   done
22084 IFS=$as_save_IFS
22085
22086   ;;
22087 esac
22088 fi
22089 GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
22090 if test -n "$GTKDOC_CHECK"; then
22091   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
22092 $as_echo "$GTKDOC_CHECK" >&6; }
22093 else
22094   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22095 $as_echo "no" >&6; }
22096 fi
22097
22098
22099   test -n "$GTKDOC_CHECK" && break
22100 done
22101
22102
22103    if test x$enable_gtk_doc = xyes; then
22104   ENABLE_GTK_DOC_TRUE=
22105   ENABLE_GTK_DOC_FALSE='#'
22106 else
22107   ENABLE_GTK_DOC_TRUE='#'
22108   ENABLE_GTK_DOC_FALSE=
22109 fi
22110
22111    if test -n "$LIBTOOL"; then
22112   GTK_DOC_USE_LIBTOOL_TRUE=
22113   GTK_DOC_USE_LIBTOOL_FALSE='#'
22114 else
22115   GTK_DOC_USE_LIBTOOL_TRUE='#'
22116   GTK_DOC_USE_LIBTOOL_FALSE=
22117 fi
22118
22119
22120
22121
22122     PYTHON_CANDIDATES="python python2.2 python2.1 python2.0 python2 \
22123                      python1.6 python1.5"
22124
22125      { $as_echo "$as_me:${as_lineno-$LINENO}: Looking for Python version >= 2.1" >&5
22126 $as_echo "$as_me: Looking for Python version >= 2.1" >&6;}
22127         prog="
22128 import sys, string
22129 minver = '2.1'
22130 # split string by '.' and convert to numeric
22131 minver_info = map(string.atoi, string.split(minver, '.'))
22132 # we can now do comparisons on the two lists:
22133 if sys.version_info >= tuple(minver_info):
22134         sys.exit(0)
22135 else:
22136         sys.exit(1)"
22137
22138     python_good=false
22139     for python_candidate in $PYTHON_CANDIDATES; do
22140       unset PYTHON
22141       # Extract the first word of "$python_candidate", so it can be a program name with args.
22142 set dummy $python_candidate; ac_word=$2
22143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22144 $as_echo_n "checking for $ac_word... " >&6; }
22145 if ${ac_cv_path_PYTHON+:} false; then :
22146   $as_echo_n "(cached) " >&6
22147 else
22148   case $PYTHON in
22149   [\\/]* | ?:[\\/]*)
22150   ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
22151   ;;
22152   *)
22153   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22154 for as_dir in $PATH
22155 do
22156   IFS=$as_save_IFS
22157   test -z "$as_dir" && as_dir=.
22158     for ac_exec_ext in '' $ac_executable_extensions; do
22159   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22160     ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
22161     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22162     break 2
22163   fi
22164 done
22165   done
22166 IFS=$as_save_IFS
22167
22168   ;;
22169 esac
22170 fi
22171 PYTHON=$ac_cv_path_PYTHON
22172 if test -n "$PYTHON"; then
22173   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
22174 $as_echo "$PYTHON" >&6; }
22175 else
22176   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22177 $as_echo "no" >&6; }
22178 fi
22179
22180  1> /dev/null 2> /dev/null
22181
22182       if test "x$PYTHON" = "x"; then continue; fi
22183
22184       if $PYTHON -c "$prog" 1>&5 2>&5; then
22185         { $as_echo "$as_me:${as_lineno-$LINENO}: checking \"$PYTHON\":" >&5
22186 $as_echo_n "checking \"$PYTHON\":... " >&6; }
22187         { $as_echo "$as_me:${as_lineno-$LINENO}: result: okay" >&5
22188 $as_echo "okay" >&6; }
22189         python_good=true
22190         break;
22191       else
22192                 unset ac_cv_path_PYTHON
22193       fi
22194     done
22195
22196
22197   if test "$python_good" != "true"; then
22198     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No suitable version of python found" >&5
22199 $as_echo "$as_me: WARNING: No suitable version of python found" >&2;}
22200     PYTHON=
22201   else
22202
22203   { $as_echo "$as_me:${as_lineno-$LINENO}: checking local Python configuration" >&5
22204 $as_echo_n "checking local Python configuration... " >&6; }
22205
22206
22207
22208     PYTHON_VERSION=`$PYTHON -c "import sys; print sys.version[:3]"`
22209
22210
22211
22212
22213   PYTHON_PREFIX='${prefix}'
22214
22215
22216   PYTHON_EXEC_PREFIX='${exec_prefix}'
22217
22218
22219
22220   PYTHON_PLATFORM=`$PYTHON -c "import sys; print sys.platform"`
22221
22222
22223
22224
22225
22226   pythondir=$PYTHON_PREFIX"/lib/python"$PYTHON_VERSION/site-packages
22227
22228
22229
22230   pkgpythondir=\${pythondir}/$PACKAGE
22231
22232
22233
22234   pyexecdir=$PYTHON_EXEC_PREFIX"/lib/python"$PYTHON_VERSION/site-packages
22235
22236
22237
22238   pkgpyexecdir=\${pyexecdir}/$PACKAGE
22239
22240   { $as_echo "$as_me:${as_lineno-$LINENO}: result: looks good" >&5
22241 $as_echo "looks good" >&6; }
22242
22243   fi
22244
22245
22246
22247   build_plugin_docs=no
22248   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build plugin documentation" >&5
22249 $as_echo_n "checking whether to build plugin documentation... " >&6; }
22250   if test x$enable_gtk_doc = xyes; then
22251     build_plugin_docs=yes
22252     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22253 $as_echo "yes" >&6; }
22254   else
22255     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (gtk-doc disabled or not available)" >&5
22256 $as_echo "no (gtk-doc disabled or not available)" >&6; }
22257   fi
22258
22259    if test x$build_plugin_docs = xyes; then
22260   ENABLE_PLUGIN_DOCS_TRUE=
22261   ENABLE_PLUGIN_DOCS_FALSE='#'
22262 else
22263   ENABLE_PLUGIN_DOCS_TRUE='#'
22264   ENABLE_PLUGIN_DOCS_FALSE=
22265 fi
22266
22267
22268
22269
22270 LIBM=
22271 case $host in
22272 *-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
22273   # These system don't have libm, or don't need it
22274   ;;
22275 *-ncr-sysv4.3*)
22276   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
22277 $as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
22278 if ${ac_cv_lib_mw__mwvalidcheckl+:} false; then :
22279   $as_echo_n "(cached) " >&6
22280 else
22281   ac_check_lib_save_LIBS=$LIBS
22282 LIBS="-lmw  $LIBS"
22283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22284 /* end confdefs.h.  */
22285
22286 /* Override any GCC internal prototype to avoid an error.
22287    Use char because int might match the return type of a GCC
22288    builtin and then its argument prototype would still apply.  */
22289 #ifdef __cplusplus
22290 extern "C"
22291 #endif
22292 char _mwvalidcheckl ();
22293 int
22294 main ()
22295 {
22296 return _mwvalidcheckl ();
22297   ;
22298   return 0;
22299 }
22300 _ACEOF
22301 if ac_fn_c_try_link "$LINENO"; then :
22302   ac_cv_lib_mw__mwvalidcheckl=yes
22303 else
22304   ac_cv_lib_mw__mwvalidcheckl=no
22305 fi
22306 rm -f core conftest.err conftest.$ac_objext \
22307     conftest$ac_exeext conftest.$ac_ext
22308 LIBS=$ac_check_lib_save_LIBS
22309 fi
22310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
22311 $as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
22312 if test "x$ac_cv_lib_mw__mwvalidcheckl" = xyes; then :
22313   LIBM="-lmw"
22314 fi
22315
22316   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
22317 $as_echo_n "checking for cos in -lm... " >&6; }
22318 if ${ac_cv_lib_m_cos+:} false; then :
22319   $as_echo_n "(cached) " >&6
22320 else
22321   ac_check_lib_save_LIBS=$LIBS
22322 LIBS="-lm  $LIBS"
22323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22324 /* end confdefs.h.  */
22325
22326 /* Override any GCC internal prototype to avoid an error.
22327    Use char because int might match the return type of a GCC
22328    builtin and then its argument prototype would still apply.  */
22329 #ifdef __cplusplus
22330 extern "C"
22331 #endif
22332 char cos ();
22333 int
22334 main ()
22335 {
22336 return cos ();
22337   ;
22338   return 0;
22339 }
22340 _ACEOF
22341 if ac_fn_c_try_link "$LINENO"; then :
22342   ac_cv_lib_m_cos=yes
22343 else
22344   ac_cv_lib_m_cos=no
22345 fi
22346 rm -f core conftest.err conftest.$ac_objext \
22347     conftest$ac_exeext conftest.$ac_ext
22348 LIBS=$ac_check_lib_save_LIBS
22349 fi
22350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
22351 $as_echo "$ac_cv_lib_m_cos" >&6; }
22352 if test "x$ac_cv_lib_m_cos" = xyes; then :
22353   LIBM="$LIBM -lm"
22354 fi
22355
22356   ;;
22357 *)
22358   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
22359 $as_echo_n "checking for cos in -lm... " >&6; }
22360 if ${ac_cv_lib_m_cos+:} false; then :
22361   $as_echo_n "(cached) " >&6
22362 else
22363   ac_check_lib_save_LIBS=$LIBS
22364 LIBS="-lm  $LIBS"
22365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22366 /* end confdefs.h.  */
22367
22368 /* Override any GCC internal prototype to avoid an error.
22369    Use char because int might match the return type of a GCC
22370    builtin and then its argument prototype would still apply.  */
22371 #ifdef __cplusplus
22372 extern "C"
22373 #endif
22374 char cos ();
22375 int
22376 main ()
22377 {
22378 return cos ();
22379   ;
22380   return 0;
22381 }
22382 _ACEOF
22383 if ac_fn_c_try_link "$LINENO"; then :
22384   ac_cv_lib_m_cos=yes
22385 else
22386   ac_cv_lib_m_cos=no
22387 fi
22388 rm -f core conftest.err conftest.$ac_objext \
22389     conftest$ac_exeext conftest.$ac_ext
22390 LIBS=$ac_check_lib_save_LIBS
22391 fi
22392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
22393 $as_echo "$ac_cv_lib_m_cos" >&6; }
22394 if test "x$ac_cv_lib_m_cos" = xyes; then :
22395   LIBM="-lm"
22396 fi
22397
22398   ;;
22399 esac
22400
22401
22402
22403
22404
22405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
22406 $as_echo_n "checking for ANSI C header files... " >&6; }
22407 if ${ac_cv_header_stdc+:} false; then :
22408   $as_echo_n "(cached) " >&6
22409 else
22410   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22411 /* end confdefs.h.  */
22412 #include <stdlib.h>
22413 #include <stdarg.h>
22414 #include <string.h>
22415 #include <float.h>
22416
22417 int
22418 main ()
22419 {
22420
22421   ;
22422   return 0;
22423 }
22424 _ACEOF
22425 if ac_fn_c_try_compile "$LINENO"; then :
22426   ac_cv_header_stdc=yes
22427 else
22428   ac_cv_header_stdc=no
22429 fi
22430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22431
22432 if test $ac_cv_header_stdc = yes; then
22433   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
22434   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22435 /* end confdefs.h.  */
22436 #include <string.h>
22437
22438 _ACEOF
22439 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22440   $EGREP "memchr" >/dev/null 2>&1; then :
22441
22442 else
22443   ac_cv_header_stdc=no
22444 fi
22445 rm -f conftest*
22446
22447 fi
22448
22449 if test $ac_cv_header_stdc = yes; then
22450   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
22451   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22452 /* end confdefs.h.  */
22453 #include <stdlib.h>
22454
22455 _ACEOF
22456 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22457   $EGREP "free" >/dev/null 2>&1; then :
22458
22459 else
22460   ac_cv_header_stdc=no
22461 fi
22462 rm -f conftest*
22463
22464 fi
22465
22466 if test $ac_cv_header_stdc = yes; then
22467   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
22468   if test "$cross_compiling" = yes; then :
22469   :
22470 else
22471   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22472 /* end confdefs.h.  */
22473 #include <ctype.h>
22474 #include <stdlib.h>
22475 #if ((' ' & 0x0FF) == 0x020)
22476 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
22477 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
22478 #else
22479 # define ISLOWER(c) \
22480                    (('a' <= (c) && (c) <= 'i') \
22481                      || ('j' <= (c) && (c) <= 'r') \
22482                      || ('s' <= (c) && (c) <= 'z'))
22483 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
22484 #endif
22485
22486 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
22487 int
22488 main ()
22489 {
22490   int i;
22491   for (i = 0; i < 256; i++)
22492     if (XOR (islower (i), ISLOWER (i))
22493         || toupper (i) != TOUPPER (i))
22494       return 2;
22495   return 0;
22496 }
22497 _ACEOF
22498 if ac_fn_c_try_run "$LINENO"; then :
22499
22500 else
22501   ac_cv_header_stdc=no
22502 fi
22503 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
22504   conftest.$ac_objext conftest.beam conftest.$ac_ext
22505 fi
22506
22507 fi
22508 fi
22509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
22510 $as_echo "$ac_cv_header_stdc" >&6; }
22511 if test $ac_cv_header_stdc = yes; then
22512
22513 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
22514
22515 fi
22516
22517
22518 # ------ AX CREATE STDINT H -------------------------------------
22519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint types" >&5
22520 $as_echo_n "checking for stdint types... " >&6; }
22521 ac_stdint_h=`echo _stdint.h`
22522 # try to shortcircuit - if the default include path of the compiler
22523 # can find a "stdint.h" header then we assume that all compilers can.
22524 if ${ac_cv_header_stdint_t+:} false; then :
22525   $as_echo_n "(cached) " >&6
22526 else
22527
22528 old_CXXFLAGS="$CXXFLAGS" ; CXXFLAGS=""
22529 old_CPPFLAGS="$CPPFLAGS" ; CPPFLAGS=""
22530 old_CFLAGS="$CFLAGS"     ; CFLAGS=""
22531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22532 /* end confdefs.h.  */
22533 #include <stdint.h>
22534 int
22535 main ()
22536 {
22537 int_least32_t v = 0;
22538   ;
22539   return 0;
22540 }
22541 _ACEOF
22542 if ac_fn_c_try_compile "$LINENO"; then :
22543   ac_cv_stdint_result="(assuming C99 compatible system)"
22544  ac_cv_header_stdint_t="stdint.h";
22545 else
22546   ac_cv_header_stdint_t=""
22547 fi
22548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22549 if test "$GCC" = "yes" && test ".$ac_cv_header_stdint_t" = "."; then
22550 CFLAGS="-std=c99"
22551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22552 /* end confdefs.h.  */
22553 #include <stdint.h>
22554 int
22555 main ()
22556 {
22557 int_least32_t v = 0;
22558   ;
22559   return 0;
22560 }
22561 _ACEOF
22562 if ac_fn_c_try_compile "$LINENO"; then :
22563   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: your GCC compiler has a defunct stdint.h for its default-mode" >&5
22564 $as_echo "$as_me: WARNING: your GCC compiler has a defunct stdint.h for its default-mode" >&2;}
22565 fi
22566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22567 fi
22568 CXXFLAGS="$old_CXXFLAGS"
22569 CPPFLAGS="$old_CPPFLAGS"
22570 CFLAGS="$old_CFLAGS"
22571 fi
22572
22573
22574 v="... $ac_cv_header_stdint_h"
22575 if test "$ac_stdint_h" = "stdint.h" ; then
22576  { $as_echo "$as_me:${as_lineno-$LINENO}: result: (are you sure you want them in ./stdint.h?)" >&5
22577 $as_echo "(are you sure you want them in ./stdint.h?)" >&6; }
22578 elif test "$ac_stdint_h" = "inttypes.h" ; then
22579  { $as_echo "$as_me:${as_lineno-$LINENO}: result: (are you sure you want them in ./inttypes.h?)" >&5
22580 $as_echo "(are you sure you want them in ./inttypes.h?)" >&6; }
22581 elif test "_$ac_cv_header_stdint_t" = "_" ; then
22582  { $as_echo "$as_me:${as_lineno-$LINENO}: result: (putting them into $ac_stdint_h)$v" >&5
22583 $as_echo "(putting them into $ac_stdint_h)$v" >&6; }
22584 else
22585  ac_cv_header_stdint="$ac_cv_header_stdint_t"
22586  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint (shortcircuit)" >&5
22587 $as_echo "$ac_cv_header_stdint (shortcircuit)" >&6; }
22588 fi
22589
22590 if test "_$ac_cv_header_stdint_t" = "_" ; then # can not shortcircuit..
22591
22592
22593 inttype_headers=`echo  | sed -e 's/,/ /g'`
22594
22595 ac_cv_stdint_result="(no helpful system typedefs seen)"
22596
22597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uintptr_t" >&5
22598 $as_echo_n "checking for stdint uintptr_t... " >&6; }
22599 if ${ac_cv_header_stdint_x+:} false; then :
22600   $as_echo_n "(cached) " >&6
22601 else
22602
22603  ac_cv_header_stdint_x="" # the 1997 typedefs (inttypes.h)
22604   { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
22605 $as_echo "(..)" >&6; }
22606   for i in    stdint.h inttypes.h sys/inttypes.h $inttype_headers
22607   do
22608    unset ac_cv_type_uintptr_t
22609    unset ac_cv_type_uint64_t
22610    ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <$i>
22611 "
22612 if test "x$ac_cv_type_uintptr_t" = xyes; then :
22613   ac_cv_header_stdint_x=$i
22614 else
22615   continue
22616 fi
22617
22618    ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include<$i>
22619 "
22620 if test "x$ac_cv_type_uint64_t" = xyes; then :
22621   and64="/uint64_t"
22622 else
22623   and64=""
22624 fi
22625
22626    ac_cv_stdint_result="(seen uintptr_t$and64 in $i)"
22627  break
22628   done
22629   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uintptr_t" >&5
22630 $as_echo_n "checking for stdint uintptr_t... " >&6; }
22631
22632 fi
22633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_x" >&5
22634 $as_echo "$ac_cv_header_stdint_x" >&6; }
22635
22636
22637 if test "_$ac_cv_header_stdint_x" = "_" ; then
22638
22639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uint32_t" >&5
22640 $as_echo_n "checking for stdint uint32_t... " >&6; }
22641 if ${ac_cv_header_stdint_o+:} false; then :
22642   $as_echo_n "(cached) " >&6
22643 else
22644
22645  ac_cv_header_stdint_o="" # the 1995 typedefs (sys/inttypes.h)
22646   { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
22647 $as_echo "(..)" >&6; }
22648   for i in    inttypes.h sys/inttypes.h stdint.h $inttype_headers
22649   do
22650    unset ac_cv_type_uint32_t
22651    unset ac_cv_type_uint64_t
22652    ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <$i>
22653 "
22654 if test "x$ac_cv_type_uint32_t" = xyes; then :
22655   ac_cv_header_stdint_o=$i
22656 else
22657   continue
22658 fi
22659
22660    ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include<$i>
22661 "
22662 if test "x$ac_cv_type_uint64_t" = xyes; then :
22663   and64="/uint64_t"
22664 else
22665   and64=""
22666 fi
22667
22668    ac_cv_stdint_result="(seen uint32_t$and64 in $i)"
22669  break
22670    break;
22671   done
22672   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uint32_t" >&5
22673 $as_echo_n "checking for stdint uint32_t... " >&6; }
22674
22675 fi
22676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_o" >&5
22677 $as_echo "$ac_cv_header_stdint_o" >&6; }
22678
22679 fi
22680
22681 if test "_$ac_cv_header_stdint_x" = "_" ; then
22682 if test "_$ac_cv_header_stdint_o" = "_" ; then
22683
22684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint u_int32_t" >&5
22685 $as_echo_n "checking for stdint u_int32_t... " >&6; }
22686 if ${ac_cv_header_stdint_u+:} false; then :
22687   $as_echo_n "(cached) " >&6
22688 else
22689
22690  ac_cv_header_stdint_u="" # the BSD typedefs (sys/types.h)
22691   { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
22692 $as_echo "(..)" >&6; }
22693   for i in    sys/types.h inttypes.h sys/inttypes.h $inttype_headers ; do
22694    unset ac_cv_type_u_int32_t
22695    unset ac_cv_type_u_int64_t
22696    ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <$i>
22697 "
22698 if test "x$ac_cv_type_u_int32_t" = xyes; then :
22699   ac_cv_header_stdint_u=$i
22700 else
22701   continue
22702 fi
22703
22704    ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include<$i>
22705 "
22706 if test "x$ac_cv_type_u_int64_t" = xyes; then :
22707   and64="/u_int64_t"
22708 else
22709   and64=""
22710 fi
22711
22712    ac_cv_stdint_result="(seen u_int32_t$and64 in $i)"
22713  break
22714    break;
22715   done
22716   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint u_int32_t" >&5
22717 $as_echo_n "checking for stdint u_int32_t... " >&6; }
22718
22719 fi
22720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_u" >&5
22721 $as_echo "$ac_cv_header_stdint_u" >&6; }
22722
22723 fi fi
22724
22725 if test "_$ac_cv_header_stdint_x" = "_" ; then
22726    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint datatype model" >&5
22727 $as_echo_n "checking for stdint datatype model... " >&6; }
22728    { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
22729 $as_echo "(..)" >&6; }
22730
22731    # The cast to long int works around a bug in the HP C Compiler
22732 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22733 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22734 # This bug is HP SR number 8606223364.
22735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
22736 $as_echo_n "checking size of char... " >&6; }
22737 if ${ac_cv_sizeof_char+:} false; then :
22738   $as_echo_n "(cached) " >&6
22739 else
22740   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
22741
22742 else
22743   if test "$ac_cv_type_char" = yes; then
22744      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22745 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22746 as_fn_error 77 "cannot compute sizeof (char)
22747 See \`config.log' for more details" "$LINENO" 5; }
22748    else
22749      ac_cv_sizeof_char=0
22750    fi
22751 fi
22752
22753 fi
22754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
22755 $as_echo "$ac_cv_sizeof_char" >&6; }
22756
22757
22758
22759 cat >>confdefs.h <<_ACEOF
22760 #define SIZEOF_CHAR $ac_cv_sizeof_char
22761 _ACEOF
22762
22763
22764    # The cast to long int works around a bug in the HP C Compiler
22765 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22766 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22767 # This bug is HP SR number 8606223364.
22768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
22769 $as_echo_n "checking size of short... " >&6; }
22770 if ${ac_cv_sizeof_short+:} false; then :
22771   $as_echo_n "(cached) " >&6
22772 else
22773   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
22774
22775 else
22776   if test "$ac_cv_type_short" = yes; then
22777      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22778 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22779 as_fn_error 77 "cannot compute sizeof (short)
22780 See \`config.log' for more details" "$LINENO" 5; }
22781    else
22782      ac_cv_sizeof_short=0
22783    fi
22784 fi
22785
22786 fi
22787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
22788 $as_echo "$ac_cv_sizeof_short" >&6; }
22789
22790
22791
22792 cat >>confdefs.h <<_ACEOF
22793 #define SIZEOF_SHORT $ac_cv_sizeof_short
22794 _ACEOF
22795
22796
22797    # The cast to long int works around a bug in the HP C Compiler
22798 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22799 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22800 # This bug is HP SR number 8606223364.
22801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
22802 $as_echo_n "checking size of int... " >&6; }
22803 if ${ac_cv_sizeof_int+:} false; then :
22804   $as_echo_n "(cached) " >&6
22805 else
22806   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
22807
22808 else
22809   if test "$ac_cv_type_int" = yes; then
22810      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22811 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22812 as_fn_error 77 "cannot compute sizeof (int)
22813 See \`config.log' for more details" "$LINENO" 5; }
22814    else
22815      ac_cv_sizeof_int=0
22816    fi
22817 fi
22818
22819 fi
22820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
22821 $as_echo "$ac_cv_sizeof_int" >&6; }
22822
22823
22824
22825 cat >>confdefs.h <<_ACEOF
22826 #define SIZEOF_INT $ac_cv_sizeof_int
22827 _ACEOF
22828
22829
22830    # The cast to long int works around a bug in the HP C Compiler
22831 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22832 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22833 # This bug is HP SR number 8606223364.
22834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
22835 $as_echo_n "checking size of long... " >&6; }
22836 if ${ac_cv_sizeof_long+:} false; then :
22837   $as_echo_n "(cached) " >&6
22838 else
22839   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
22840
22841 else
22842   if test "$ac_cv_type_long" = yes; then
22843      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22844 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22845 as_fn_error 77 "cannot compute sizeof (long)
22846 See \`config.log' for more details" "$LINENO" 5; }
22847    else
22848      ac_cv_sizeof_long=0
22849    fi
22850 fi
22851
22852 fi
22853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
22854 $as_echo "$ac_cv_sizeof_long" >&6; }
22855
22856
22857
22858 cat >>confdefs.h <<_ACEOF
22859 #define SIZEOF_LONG $ac_cv_sizeof_long
22860 _ACEOF
22861
22862
22863    # The cast to long int works around a bug in the HP C Compiler
22864 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22865 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22866 # This bug is HP SR number 8606223364.
22867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void*" >&5
22868 $as_echo_n "checking size of void*... " >&6; }
22869 if ${ac_cv_sizeof_voidp+:} false; then :
22870   $as_echo_n "(cached) " >&6
22871 else
22872   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void*))" "ac_cv_sizeof_voidp"        "$ac_includes_default"; then :
22873
22874 else
22875   if test "$ac_cv_type_voidp" = yes; then
22876      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22877 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22878 as_fn_error 77 "cannot compute sizeof (void*)
22879 See \`config.log' for more details" "$LINENO" 5; }
22880    else
22881      ac_cv_sizeof_voidp=0
22882    fi
22883 fi
22884
22885 fi
22886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_voidp" >&5
22887 $as_echo "$ac_cv_sizeof_voidp" >&6; }
22888
22889
22890
22891 cat >>confdefs.h <<_ACEOF
22892 #define SIZEOF_VOIDP $ac_cv_sizeof_voidp
22893 _ACEOF
22894
22895
22896    ac_cv_char_data_model=""
22897    ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_char"
22898    ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_short"
22899    ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_int"
22900    ac_cv_long_data_model=""
22901    ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_int"
22902    ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_long"
22903    ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_voidp"
22904    { $as_echo "$as_me:${as_lineno-$LINENO}: checking data model" >&5
22905 $as_echo_n "checking data model... " >&6; }
22906    case "$ac_cv_char_data_model/$ac_cv_long_data_model" in
22907     122/242)     ac_cv_data_model="IP16"  ; n="standard 16bit machine" ;;
22908     122/244)     ac_cv_data_model="LP32"  ; n="standard 32bit machine" ;;
22909     122/*)       ac_cv_data_model="i16"   ; n="unusual int16 model" ;;
22910     124/444)     ac_cv_data_model="ILP32" ; n="standard 32bit unixish" ;;
22911     124/488)     ac_cv_data_model="LP64"  ; n="standard 64bit unixish" ;;
22912     124/448)     ac_cv_data_model="LLP64" ; n="unusual 64bit unixish" ;;
22913     124/*)       ac_cv_data_model="i32"   ; n="unusual int32 model" ;;
22914     128/888)     ac_cv_data_model="ILP64" ; n="unusual 64bit numeric" ;;
22915     128/*)       ac_cv_data_model="i64"   ; n="unusual int64 model" ;;
22916     222/*2)      ac_cv_data_model="DSP16" ; n="strict 16bit dsptype" ;;
22917     333/*3)      ac_cv_data_model="DSP24" ; n="strict 24bit dsptype" ;;
22918     444/*4)      ac_cv_data_model="DSP32" ; n="strict 32bit dsptype" ;;
22919     666/*6)      ac_cv_data_model="DSP48" ; n="strict 48bit dsptype" ;;
22920     888/*8)      ac_cv_data_model="DSP64" ; n="strict 64bit dsptype" ;;
22921     222/*|333/*|444/*|666/*|888/*) :
22922                  ac_cv_data_model="iDSP"  ; n="unusual dsptype" ;;
22923      *)          ac_cv_data_model="none"  ; n="very unusual model" ;;
22924    esac
22925    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_data_model ($ac_cv_long_data_model, $n)" >&5
22926 $as_echo "$ac_cv_data_model ($ac_cv_long_data_model, $n)" >&6; }
22927
22928 fi
22929
22930 if test "_$ac_cv_header_stdint_x" != "_" ; then
22931    ac_cv_header_stdint="$ac_cv_header_stdint_x"
22932 elif  test "_$ac_cv_header_stdint_o" != "_" ; then
22933    ac_cv_header_stdint="$ac_cv_header_stdint_o"
22934 elif  test "_$ac_cv_header_stdint_u" != "_" ; then
22935    ac_cv_header_stdint="$ac_cv_header_stdint_u"
22936 else
22937    ac_cv_header_stdint="stddef.h"
22938 fi
22939
22940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra inttypes in chosen header" >&5
22941 $as_echo_n "checking for extra inttypes in chosen header... " >&6; }
22942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ($ac_cv_header_stdint)" >&5
22943 $as_echo "($ac_cv_header_stdint)" >&6; }
22944 unset ac_cv_type_int_least32_t
22945 unset ac_cv_type_int_fast32_t
22946 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <$ac_cv_header_stdint>
22947 "
22948 if test "x$ac_cv_type_int_least32_t" = xyes; then :
22949
22950 fi
22951
22952 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include<$ac_cv_header_stdint>
22953 "
22954 if test "x$ac_cv_type_int_fast32_t" = xyes; then :
22955
22956 fi
22957
22958 ac_fn_c_check_type "$LINENO" "intmax_t" "ac_cv_type_intmax_t" "#include <$ac_cv_header_stdint>
22959 "
22960 if test "x$ac_cv_type_intmax_t" = xyes; then :
22961
22962 fi
22963
22964
22965 fi # shortcircut to system "stdint.h"
22966 # ------------------ PREPARE VARIABLES ------------------------------
22967 if test "$GCC" = "yes" ; then
22968 ac_cv_stdint_message="using gnu compiler "`$CC --version | head -1`
22969 else
22970 ac_cv_stdint_message="using $CC"
22971 fi
22972
22973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&5
22974 $as_echo "make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&6; }
22975
22976 # ----------------- DONE inttypes.h checks START header -------------
22977 ac_config_commands="$ac_config_commands $ac_stdint_h"
22978
22979
22980
22981 for ac_header in netinet/in.h
22982 do :
22983   ac_fn_c_check_header_mongrel "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
22984 if test "x$ac_cv_header_netinet_in_h" = xyes; then :
22985   cat >>confdefs.h <<_ACEOF
22986 #define HAVE_NETINET_IN_H 1
22987 _ACEOF
22988
22989 fi
22990
22991 done
22992
22993 for ac_header in winsock2.h
22994 do :
22995   ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default"
22996 if test "x$ac_cv_header_winsock2_h" = xyes; then :
22997   cat >>confdefs.h <<_ACEOF
22998 #define HAVE_WINSOCK2_H 1
22999 _ACEOF
23000  HAVE_WINSOCK2_H=yes
23001 fi
23002
23003 done
23004
23005  if test "x$HAVE_WINSOCK2_H" = "xyes"; then
23006   HAVE_WINSOCK2_H_TRUE=
23007   HAVE_WINSOCK2_H_FALSE='#'
23008 else
23009   HAVE_WINSOCK2_H_TRUE='#'
23010   HAVE_WINSOCK2_H_FALSE=
23011 fi
23012
23013
23014 for ac_header in sys/time.h
23015 do :
23016   ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
23017 if test "x$ac_cv_header_sys_time_h" = xyes; then :
23018   cat >>confdefs.h <<_ACEOF
23019 #define HAVE_SYS_TIME_H 1
23020 _ACEOF
23021
23022 fi
23023
23024 done
23025
23026
23027
23028
23029
23030   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FIONREAD in sys/ioctl.h" >&5
23031 $as_echo_n "checking for FIONREAD in sys/ioctl.h... " >&6; }
23032   if ${_cv_gst_fionread_in_sys_ioctl+:} false; then :
23033   $as_echo_n "(cached) " >&6
23034 else
23035
23036     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23037 /* end confdefs.h.  */
23038
23039 #include <sys/types.h>
23040 #include <sys/ioctl.h>
23041
23042 int
23043 main ()
23044 {
23045
23046 int x = FIONREAD;
23047 if ( x )
23048   return 0;
23049
23050   ;
23051   return 0;
23052 }
23053 _ACEOF
23054 if ac_fn_c_try_compile "$LINENO"; then :
23055   _cv_gst_fionread_in_sys_ioctl="yes"
23056 else
23057   _cv_gst_fionread_in_sys_ioctl="no"
23058 fi
23059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23060
23061 fi
23062
23063
23064   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_gst_fionread_in_sys_ioctl" >&5
23065 $as_echo "$_cv_gst_fionread_in_sys_ioctl" >&6; }
23066
23067   if test "$_cv_gst_fionread_in_sys_ioctl" = "yes"; then
23068
23069 $as_echo "#define HAVE_FIONREAD_IN_SYS_IOCTL 1" >>confdefs.h
23070
23071
23072   else
23073
23074     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FIONREAD in sys/filio.h" >&5
23075 $as_echo_n "checking for FIONREAD in sys/filio.h... " >&6; }
23076     if ${_cv_gst_fionread_in_sys_filio+:} false; then :
23077   $as_echo_n "(cached) " >&6
23078 else
23079
23080       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23081 /* end confdefs.h.  */
23082
23083   #include <sys/types.h>
23084   #include <sys/filio.h>
23085
23086 int
23087 main ()
23088 {
23089
23090   int x = FIONREAD;
23091   if ( x )
23092     return 0;
23093
23094   ;
23095   return 0;
23096 }
23097 _ACEOF
23098 if ac_fn_c_try_compile "$LINENO"; then :
23099   _cv_gst_fionread_in_sys_filio="yes"
23100 else
23101   _cv_gst_fionread_in_sys_filio="no"
23102 fi
23103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23104
23105 fi
23106
23107
23108     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_gst_fionread_in_sys_filio" >&5
23109 $as_echo "$_cv_gst_fionread_in_sys_filio" >&6; }
23110
23111     if test "$_cv_gst_fionread_in_sys_filio" = "yes"; then
23112
23113 $as_echo "#define HAVE_FIONREAD_IN_SYS_FILIO 1" >>confdefs.h
23114
23115     fi
23116
23117   fi
23118
23119
23120
23121
23122
23123
23124   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports gcc-style inline assembly" >&5
23125 $as_echo_n "checking if compiler supports gcc-style inline assembly... " >&6; }
23126
23127   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23128 /* end confdefs.h.  */
23129
23130 int
23131 main ()
23132 {
23133
23134 #ifdef __GNUC_MINOR__
23135 #if (__GNUC__ * 1000 + __GNUC_MINOR__) < 3004
23136 #error GCC before 3.4 has critical bugs compiling inline assembly
23137 #endif
23138 #endif
23139 __asm__ (""::)
23140   ;
23141   return 0;
23142 }
23143 _ACEOF
23144 if ac_fn_c_try_compile "$LINENO"; then :
23145   flag_ok=yes
23146 else
23147   flag_ok=no
23148 fi
23149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23150
23151   if test "X$flag_ok" = Xyes ; then
23152     HAVE_GCC_ASM=yes
23153     true
23154   else
23155     HAVE_GCC_ASM=no
23156     true
23157   fi
23158   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
23159 $as_echo "$flag_ok" >&6; }
23160
23161 if test x$HAVE_GCC_ASM = xyes ; then
23162
23163 $as_echo "#define HAVE_GCC_ASM 1" >>confdefs.h
23164
23165 fi
23166  if test "x$HAVE_GCC_ASM" = "xyes"; then
23167   HAVE_GCC_ASM_TRUE=
23168   HAVE_GCC_ASM_FALSE='#'
23169 else
23170   HAVE_GCC_ASM_TRUE='#'
23171   HAVE_GCC_ASM_FALSE=
23172 fi
23173
23174
23175
23176 LIBS_SAVE=$LIBS
23177 LIBS="$LIBS $LIBM"
23178 for ac_func in rint sinh cosh asinh fpclass
23179 do :
23180   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23181 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23182 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23183   cat >>confdefs.h <<_ACEOF
23184 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23185 _ACEOF
23186
23187 fi
23188 done
23189
23190 LIBS=$LIBS_SAVE
23191
23192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
23193 $as_echo_n "checking for isinf... " >&6; }
23194 if ${ac_cv_have_isinf+:} false; then :
23195   $as_echo_n "(cached) " >&6
23196 else
23197   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23198 /* end confdefs.h.  */
23199 #include <math.h>
23200 int
23201 main ()
23202 {
23203 float f = 0.0; int i=isinf(f)
23204   ;
23205   return 0;
23206 }
23207 _ACEOF
23208 if ac_fn_c_try_link "$LINENO"; then :
23209   ac_cv_have_isinf="yes"
23210 else
23211   ac_cv_have_isinf="no"
23212 fi
23213 rm -f core conftest.err conftest.$ac_objext \
23214     conftest$ac_exeext conftest.$ac_ext
23215 fi
23216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
23217 $as_echo "$ac_cv_have_isinf" >&6; }
23218 if test "$ac_cv_have_isinf" = "yes"
23219 then
23220
23221 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
23222
23223 fi
23224
23225
23226
23227
23228   for ac_header in $ac_header_list
23229 do :
23230   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
23231 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
23232 "
23233 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
23234   cat >>confdefs.h <<_ACEOF
23235 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
23236 _ACEOF
23237
23238 fi
23239
23240 done
23241
23242
23243
23244
23245
23246
23247
23248
23249 for ac_func in getpagesize
23250 do :
23251   ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
23252 if test "x$ac_cv_func_getpagesize" = xyes; then :
23253   cat >>confdefs.h <<_ACEOF
23254 #define HAVE_GETPAGESIZE 1
23255 _ACEOF
23256
23257 fi
23258 done
23259
23260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
23261 $as_echo_n "checking for working mmap... " >&6; }
23262 if ${ac_cv_func_mmap_fixed_mapped+:} false; then :
23263   $as_echo_n "(cached) " >&6
23264 else
23265   if test "$cross_compiling" = yes; then :
23266   ac_cv_func_mmap_fixed_mapped=no
23267 else
23268   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23269 /* end confdefs.h.  */
23270 $ac_includes_default
23271 /* malloc might have been renamed as rpl_malloc. */
23272 #undef malloc
23273
23274 /* Thanks to Mike Haertel and Jim Avera for this test.
23275    Here is a matrix of mmap possibilities:
23276         mmap private not fixed
23277         mmap private fixed at somewhere currently unmapped
23278         mmap private fixed at somewhere already mapped
23279         mmap shared not fixed
23280         mmap shared fixed at somewhere currently unmapped
23281         mmap shared fixed at somewhere already mapped
23282    For private mappings, we should verify that changes cannot be read()
23283    back from the file, nor mmap's back from the file at a different
23284    address.  (There have been systems where private was not correctly
23285    implemented like the infamous i386 svr4.0, and systems where the
23286    VM page cache was not coherent with the file system buffer cache
23287    like early versions of FreeBSD and possibly contemporary NetBSD.)
23288    For shared mappings, we should conversely verify that changes get
23289    propagated back to all the places they're supposed to be.
23290
23291    Grep wants private fixed already mapped.
23292    The main things grep needs to know about mmap are:
23293    * does it exist and is it safe to write into the mmap'd area
23294    * how to use it (BSD variants)  */
23295
23296 #include <fcntl.h>
23297 #include <sys/mman.h>
23298
23299 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
23300 char *malloc ();
23301 #endif
23302
23303 /* This mess was copied from the GNU getpagesize.h.  */
23304 #ifndef HAVE_GETPAGESIZE
23305 # ifdef _SC_PAGESIZE
23306 #  define getpagesize() sysconf(_SC_PAGESIZE)
23307 # else /* no _SC_PAGESIZE */
23308 #  ifdef HAVE_SYS_PARAM_H
23309 #   include <sys/param.h>
23310 #   ifdef EXEC_PAGESIZE
23311 #    define getpagesize() EXEC_PAGESIZE
23312 #   else /* no EXEC_PAGESIZE */
23313 #    ifdef NBPG
23314 #     define getpagesize() NBPG * CLSIZE
23315 #     ifndef CLSIZE
23316 #      define CLSIZE 1
23317 #     endif /* no CLSIZE */
23318 #    else /* no NBPG */
23319 #     ifdef NBPC
23320 #      define getpagesize() NBPC
23321 #     else /* no NBPC */
23322 #      ifdef PAGESIZE
23323 #       define getpagesize() PAGESIZE
23324 #      endif /* PAGESIZE */
23325 #     endif /* no NBPC */
23326 #    endif /* no NBPG */
23327 #   endif /* no EXEC_PAGESIZE */
23328 #  else /* no HAVE_SYS_PARAM_H */
23329 #   define getpagesize() 8192   /* punt totally */
23330 #  endif /* no HAVE_SYS_PARAM_H */
23331 # endif /* no _SC_PAGESIZE */
23332
23333 #endif /* no HAVE_GETPAGESIZE */
23334
23335 int
23336 main ()
23337 {
23338   char *data, *data2, *data3;
23339   const char *cdata2;
23340   int i, pagesize;
23341   int fd, fd2;
23342
23343   pagesize = getpagesize ();
23344
23345   /* First, make a file with some known garbage in it. */
23346   data = (char *) malloc (pagesize);
23347   if (!data)
23348     return 1;
23349   for (i = 0; i < pagesize; ++i)
23350     *(data + i) = rand ();
23351   umask (0);
23352   fd = creat ("conftest.mmap", 0600);
23353   if (fd < 0)
23354     return 2;
23355   if (write (fd, data, pagesize) != pagesize)
23356     return 3;
23357   close (fd);
23358
23359   /* Next, check that the tail of a page is zero-filled.  File must have
23360      non-zero length, otherwise we risk SIGBUS for entire page.  */
23361   fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
23362   if (fd2 < 0)
23363     return 4;
23364   cdata2 = "";
23365   if (write (fd2, cdata2, 1) != 1)
23366     return 5;
23367   data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
23368   if (data2 == MAP_FAILED)
23369     return 6;
23370   for (i = 0; i < pagesize; ++i)
23371     if (*(data2 + i))
23372       return 7;
23373   close (fd2);
23374   if (munmap (data2, pagesize))
23375     return 8;
23376
23377   /* Next, try to mmap the file at a fixed address which already has
23378      something else allocated at it.  If we can, also make sure that
23379      we see the same garbage.  */
23380   fd = open ("conftest.mmap", O_RDWR);
23381   if (fd < 0)
23382     return 9;
23383   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
23384                      MAP_PRIVATE | MAP_FIXED, fd, 0L))
23385     return 10;
23386   for (i = 0; i < pagesize; ++i)
23387     if (*(data + i) != *(data2 + i))
23388       return 11;
23389
23390   /* Finally, make sure that changes to the mapped area do not
23391      percolate back to the file as seen by read().  (This is a bug on
23392      some variants of i386 svr4.0.)  */
23393   for (i = 0; i < pagesize; ++i)
23394     *(data2 + i) = *(data2 + i) + 1;
23395   data3 = (char *) malloc (pagesize);
23396   if (!data3)
23397     return 12;
23398   if (read (fd, data3, pagesize) != pagesize)
23399     return 13;
23400   for (i = 0; i < pagesize; ++i)
23401     if (*(data + i) != *(data3 + i))
23402       return 14;
23403   close (fd);
23404   return 0;
23405 }
23406 _ACEOF
23407 if ac_fn_c_try_run "$LINENO"; then :
23408   ac_cv_func_mmap_fixed_mapped=yes
23409 else
23410   ac_cv_func_mmap_fixed_mapped=no
23411 fi
23412 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23413   conftest.$ac_objext conftest.beam conftest.$ac_ext
23414 fi
23415
23416 fi
23417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
23418 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
23419 if test $ac_cv_func_mmap_fixed_mapped = yes; then
23420
23421 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
23422
23423 fi
23424 rm -f conftest.mmap conftest.txt
23425
23426  if test "x$ac_cv_func_mmap_fixed_mapped" = "xyes"; then
23427   GST_HAVE_MMAP_TRUE=
23428   GST_HAVE_MMAP_FALSE='#'
23429 else
23430   GST_HAVE_MMAP_TRUE='#'
23431   GST_HAVE_MMAP_FALSE=
23432 fi
23433
23434
23435
23436 ac_fn_c_check_type "$LINENO" "struct ip_mreqn" "ac_cv_type_struct_ip_mreqn" "#include <netinet/in.h>
23437 "
23438 if test "x$ac_cv_type_struct_ip_mreqn" = xyes; then :
23439
23440
23441 $as_echo "#define HAVE_IP_MREQN /**/" >>confdefs.h
23442
23443 fi
23444
23445
23446
23447
23448
23449
23450     GLIB_REQ=2.24
23451   if test "x$GLIB_REQ" = "x"
23452   then
23453     as_fn_error $? "Please specify a required version for GLib 2.0" "$LINENO" 5
23454   fi
23455
23456
23457
23458   which="glib-2.0 >= $GLIB_REQ gobject-2.0 gthread-2.0 gmodule-no-export-2.0"
23459     required="no"
23460
23461
23462 pkg_failed=no
23463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
23464 $as_echo_n "checking for GLIB... " >&6; }
23465
23466 if test -n "$PKG_CONFIG"; then
23467     if test -n "$GLIB_CFLAGS"; then
23468         pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
23469     else
23470         if test -n "$PKG_CONFIG" && \
23471     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
23472   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
23473   ac_status=$?
23474   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23475   test $ac_status = 0; }; then
23476   pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
23477 else
23478   pkg_failed=yes
23479 fi
23480     fi
23481 else
23482         pkg_failed=untried
23483 fi
23484 if test -n "$PKG_CONFIG"; then
23485     if test -n "$GLIB_LIBS"; then
23486         pkg_cv_GLIB_LIBS="$GLIB_LIBS"
23487     else
23488         if test -n "$PKG_CONFIG" && \
23489     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
23490   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
23491   ac_status=$?
23492   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23493   test $ac_status = 0; }; then
23494   pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
23495 else
23496   pkg_failed=yes
23497 fi
23498     fi
23499 else
23500         pkg_failed=untried
23501 fi
23502
23503
23504
23505 if test $pkg_failed = yes; then
23506
23507 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23508         _pkg_short_errors_supported=yes
23509 else
23510         _pkg_short_errors_supported=no
23511 fi
23512         if test $_pkg_short_errors_supported = yes; then
23513                 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
23514         else
23515                 GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
23516         fi
23517         # Put the nasty error message in config.log where it belongs
23518         echo "$GLIB_PKG_ERRORS" >&5
23519
23520         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23521 $as_echo "no" >&6; }
23522
23523       HAVE_GLIB="no"
23524       if test "x$required" = "xyes"; then
23525         as_fn_error $? "$GLIB_PKG_ERRORS" "$LINENO" 5
23526       else
23527         { $as_echo "$as_me:${as_lineno-$LINENO}: $GLIB_PKG_ERRORS" >&5
23528 $as_echo "$as_me: $GLIB_PKG_ERRORS" >&6;}
23529       fi
23530
23531 elif test $pkg_failed = untried; then
23532
23533       HAVE_GLIB="no"
23534       if test "x$required" = "xyes"; then
23535         as_fn_error $? "$GLIB_PKG_ERRORS" "$LINENO" 5
23536       else
23537         { $as_echo "$as_me:${as_lineno-$LINENO}: $GLIB_PKG_ERRORS" >&5
23538 $as_echo "$as_me: $GLIB_PKG_ERRORS" >&6;}
23539       fi
23540
23541 else
23542         GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
23543         GLIB_LIBS=$pkg_cv_GLIB_LIBS
23544         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23545 $as_echo "yes" >&6; }
23546
23547       HAVE_GLIB="yes"
23548
23549 fi
23550
23551
23552
23553   if test "x$HAVE_GLIB" = "xno"; then
23554     as_fn_error $? "This package requires GLib >= $GLIB_REQ to compile." "$LINENO" 5
23555   fi
23556
23557         GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_THREADS_MANDATORY"
23558
23559     if test "x$PACKAGE_VERSION_NANO" = "x1"; then
23560     GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_DISABLE_DEPRECATED"
23561   fi
23562
23563   # Check whether --enable-gobject-cast-checks was given.
23564 if test "${enable_gobject_cast_checks+set}" = set; then :
23565   enableval=$enable_gobject_cast_checks;
23566 else
23567   enable_gobject_cast_checks=auto
23568 fi
23569
23570
23571   if test "x$enable_gobject_cast_checks" = "xauto"; then
23572         if test "x$PACKAGE_VERSION_NANO" = "x1"; then
23573       enable_gobject_cast_checks=yes
23574     else
23575       enable_gobject_cast_checks=no
23576     fi
23577   fi
23578
23579   if test "x$enable_gobject_cast_checks" = "xno"; then
23580     GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_DISABLE_CAST_CHECKS"
23581   fi
23582
23583   # Check whether --enable-glib-asserts was given.
23584 if test "${enable_glib_asserts+set}" = set; then :
23585   enableval=$enable_glib_asserts;
23586 else
23587   enable_glib_assertions=auto
23588 fi
23589
23590
23591   if test "x$enable_glib_assertions" = "xauto"; then
23592         if test "x$PACKAGE_VERSION_NANO" = "x1"; then
23593       enable_glib_assertions=yes
23594     else
23595       enable_glib_assertions=no
23596     fi
23597   fi
23598
23599   if test "x$enable_glib_assertions" = "xno"; then
23600     GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_DISABLE_ASSERT"
23601   fi
23602
23603
23604   GIVEN_CFLAGS=$GLIB_CFLAGS
23605   INCLUDE_DIRS=`echo | cpp -v 2>&1`
23606
23607       INCLUDE_DIRS=`echo $INCLUDE_DIRS | sed -e 's/.*<...> search starts here://' | sed -e 's/End of search list.*//'`
23608   for dir in $INCLUDE_DIRS; do
23609         GIVEN_CFLAGS=`echo $GIVEN_CFLAGS | sed -e "s#-I$dir ##"`
23610   done
23611   GLIB_CFLAGS=$GIVEN_CFLAGS
23612
23613
23614
23615
23616
23617 pkg_failed=no
23618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO" >&5
23619 $as_echo_n "checking for GIO... " >&6; }
23620
23621 if test -n "$PKG_CONFIG"; then
23622     if test -n "$GIO_CFLAGS"; then
23623         pkg_cv_GIO_CFLAGS="$GIO_CFLAGS"
23624     else
23625         if test -n "$PKG_CONFIG" && \
23626     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" gio-2.0 >= 2.20 \""; } >&5
23627   ($PKG_CONFIG --exists --print-errors " gio-2.0 >= 2.20 ") 2>&5
23628   ac_status=$?
23629   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23630   test $ac_status = 0; }; then
23631   pkg_cv_GIO_CFLAGS=`$PKG_CONFIG --cflags " gio-2.0 >= 2.20 " 2>/dev/null`
23632 else
23633   pkg_failed=yes
23634 fi
23635     fi
23636 else
23637         pkg_failed=untried
23638 fi
23639 if test -n "$PKG_CONFIG"; then
23640     if test -n "$GIO_LIBS"; then
23641         pkg_cv_GIO_LIBS="$GIO_LIBS"
23642     else
23643         if test -n "$PKG_CONFIG" && \
23644     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" gio-2.0 >= 2.20 \""; } >&5
23645   ($PKG_CONFIG --exists --print-errors " gio-2.0 >= 2.20 ") 2>&5
23646   ac_status=$?
23647   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23648   test $ac_status = 0; }; then
23649   pkg_cv_GIO_LIBS=`$PKG_CONFIG --libs " gio-2.0 >= 2.20 " 2>/dev/null`
23650 else
23651   pkg_failed=yes
23652 fi
23653     fi
23654 else
23655         pkg_failed=untried
23656 fi
23657
23658
23659
23660 if test $pkg_failed = yes; then
23661
23662 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23663         _pkg_short_errors_supported=yes
23664 else
23665         _pkg_short_errors_supported=no
23666 fi
23667         if test $_pkg_short_errors_supported = yes; then
23668                 GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors " gio-2.0 >= 2.20 "`
23669         else
23670                 GIO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors " gio-2.0 >= 2.20 "`
23671         fi
23672         # Put the nasty error message in config.log where it belongs
23673         echo "$GIO_PKG_ERRORS" >&5
23674
23675         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23676 $as_echo "no" >&6; }
23677                 as_fn_error $? "gio is required" "$LINENO" 5
23678 elif test $pkg_failed = untried; then
23679         as_fn_error $? "gio is required" "$LINENO" 5
23680 else
23681         GIO_CFLAGS=$pkg_cv_GIO_CFLAGS
23682         GIO_LIBS=$pkg_cv_GIO_LIBS
23683         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23684 $as_echo "yes" >&6; }
23685         :
23686 fi
23687
23688
23689   ORC_REQ=0.4.11
23690
23691   # Check whether --enable-orc was given.
23692 if test "${enable_orc+set}" = set; then :
23693   enableval=$enable_orc; case "${enableval}" in
23694     auto) enable_orc=auto ;;
23695     yes) enable_orc=yes ;;
23696     no)  enable_orc=no ;;
23697     *) as_fn_error $? "bad value ${enableval} for --enable-orc" "$LINENO" 5 ;;
23698   esac
23699
23700 else
23701   enable_orc=auto
23702 fi
23703
23704   if test "x$enable_orc" != "xno" ; then
23705
23706 pkg_failed=no
23707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ORC" >&5
23708 $as_echo_n "checking for ORC... " >&6; }
23709
23710 if test -n "$PKG_CONFIG"; then
23711     if test -n "$ORC_CFLAGS"; then
23712         pkg_cv_ORC_CFLAGS="$ORC_CFLAGS"
23713     else
23714         if test -n "$PKG_CONFIG" && \
23715     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"orc-0.4 >= \$ORC_REQ\""; } >&5
23716   ($PKG_CONFIG --exists --print-errors "orc-0.4 >= $ORC_REQ") 2>&5
23717   ac_status=$?
23718   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23719   test $ac_status = 0; }; then
23720   pkg_cv_ORC_CFLAGS=`$PKG_CONFIG --cflags "orc-0.4 >= $ORC_REQ" 2>/dev/null`
23721 else
23722   pkg_failed=yes
23723 fi
23724     fi
23725 else
23726         pkg_failed=untried
23727 fi
23728 if test -n "$PKG_CONFIG"; then
23729     if test -n "$ORC_LIBS"; then
23730         pkg_cv_ORC_LIBS="$ORC_LIBS"
23731     else
23732         if test -n "$PKG_CONFIG" && \
23733     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"orc-0.4 >= \$ORC_REQ\""; } >&5
23734   ($PKG_CONFIG --exists --print-errors "orc-0.4 >= $ORC_REQ") 2>&5
23735   ac_status=$?
23736   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23737   test $ac_status = 0; }; then
23738   pkg_cv_ORC_LIBS=`$PKG_CONFIG --libs "orc-0.4 >= $ORC_REQ" 2>/dev/null`
23739 else
23740   pkg_failed=yes
23741 fi
23742     fi
23743 else
23744         pkg_failed=untried
23745 fi
23746
23747
23748
23749 if test $pkg_failed = yes; then
23750
23751 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23752         _pkg_short_errors_supported=yes
23753 else
23754         _pkg_short_errors_supported=no
23755 fi
23756         if test $_pkg_short_errors_supported = yes; then
23757                 ORC_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "orc-0.4 >= $ORC_REQ"`
23758         else
23759                 ORC_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "orc-0.4 >= $ORC_REQ"`
23760         fi
23761         # Put the nasty error message in config.log where it belongs
23762         echo "$ORC_PKG_ERRORS" >&5
23763
23764         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23765 $as_echo "no" >&6; }
23766
23767       if test "x$enable_orc" = "xyes" ; then
23768         as_fn_error $? "--enable-orc specified, but Orc >= $ORC_REQ not found" "$LINENO" 5
23769       fi
23770
23771 $as_echo "#define DISABLE_ORC 1" >>confdefs.h
23772
23773       HAVE_ORC=no
23774       HAVE_ORCC=no
23775
23776 elif test $pkg_failed = untried; then
23777
23778       if test "x$enable_orc" = "xyes" ; then
23779         as_fn_error $? "--enable-orc specified, but Orc >= $ORC_REQ not found" "$LINENO" 5
23780       fi
23781
23782 $as_echo "#define DISABLE_ORC 1" >>confdefs.h
23783
23784       HAVE_ORC=no
23785       HAVE_ORCC=no
23786
23787 else
23788         ORC_CFLAGS=$pkg_cv_ORC_CFLAGS
23789         ORC_LIBS=$pkg_cv_ORC_LIBS
23790         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23791 $as_echo "yes" >&6; }
23792
23793
23794 $as_echo "#define HAVE_ORC 1" >>confdefs.h
23795
23796       HAVE_ORC=yes
23797       if test "x$ORCC" = "x" ; then
23798         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usable orcc" >&5
23799 $as_echo_n "checking for usable orcc... " >&6; }
23800         ORCC=`$PKG_CONFIG --variable=orcc orc-0.4`
23801                         if $ORCC --version 1> /dev/null 2> /dev/null; then :
23802
23803 else
23804   ORCC=`which orcc`
23805 fi
23806         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ORCC" >&5
23807 $as_echo "$ORCC" >&6; }
23808       fi
23809
23810       ORCC_FLAGS="--compat $ORC_REQ"
23811
23812       if test "x$ORCC" = "x"; then :
23813   HAVE_ORCC=no
23814 else
23815   HAVE_ORCC=yes
23816 fi
23817
23818 fi
23819   else
23820
23821 $as_echo "#define DISABLE_ORC 1" >>confdefs.h
23822
23823     HAVE_ORC=no
23824     HAVE_ORCC=no
23825   fi
23826    if test "x$HAVE_ORC" = "xyes"; then
23827   HAVE_ORC_TRUE=
23828   HAVE_ORC_FALSE='#'
23829 else
23830   HAVE_ORC_TRUE='#'
23831   HAVE_ORC_FALSE=
23832 fi
23833
23834    if test "x$HAVE_ORCC" = "xyes"; then
23835   HAVE_ORCC_TRUE=
23836   HAVE_ORCC_FALSE='#'
23837 else
23838   HAVE_ORCC_TRUE='#'
23839   HAVE_ORCC_FALSE=
23840 fi
23841
23842
23843
23844
23845
23846
23847   module=gstreamer-$GST_MAJORMINOR
23848   minver=$GST_REQ
23849   name="GStreamer"
23850   required=yes
23851
23852 pkg_failed=no
23853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
23854 $as_echo_n "checking for GST... " >&6; }
23855
23856 if test -n "$PKG_CONFIG"; then
23857     if test -n "$GST_CFLAGS"; then
23858         pkg_cv_GST_CFLAGS="$GST_CFLAGS"
23859     else
23860         if test -n "$PKG_CONFIG" && \
23861     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
23862   ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
23863   ac_status=$?
23864   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23865   test $ac_status = 0; }; then
23866   pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
23867 else
23868   pkg_failed=yes
23869 fi
23870     fi
23871 else
23872         pkg_failed=untried
23873 fi
23874 if test -n "$PKG_CONFIG"; then
23875     if test -n "$GST_LIBS"; then
23876         pkg_cv_GST_LIBS="$GST_LIBS"
23877     else
23878         if test -n "$PKG_CONFIG" && \
23879     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
23880   ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
23881   ac_status=$?
23882   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23883   test $ac_status = 0; }; then
23884   pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
23885 else
23886   pkg_failed=yes
23887 fi
23888     fi
23889 else
23890         pkg_failed=untried
23891 fi
23892
23893
23894
23895 if test $pkg_failed = yes; then
23896
23897 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23898         _pkg_short_errors_supported=yes
23899 else
23900         _pkg_short_errors_supported=no
23901 fi
23902         if test $_pkg_short_errors_supported = yes; then
23903                 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
23904         else
23905                 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
23906         fi
23907         # Put the nasty error message in config.log where it belongs
23908         echo "$GST_PKG_ERRORS" >&5
23909
23910         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23911 $as_echo "no" >&6; }
23912
23913       HAVE_GST="no"
23914       { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PKG_ERRORS" >&5
23915 $as_echo "$as_me: $GST_PKG_ERRORS" >&6;}
23916       if test "x$required" = "xyes"; then
23917         as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
23918       else
23919         { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
23920 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
23921       fi
23922
23923 elif test $pkg_failed = untried; then
23924
23925       HAVE_GST="no"
23926       { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PKG_ERRORS" >&5
23927 $as_echo "$as_me: $GST_PKG_ERRORS" >&6;}
23928       if test "x$required" = "xyes"; then
23929         as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
23930       else
23931         { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
23932 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
23933       fi
23934
23935 else
23936         GST_CFLAGS=$pkg_cv_GST_CFLAGS
23937         GST_LIBS=$pkg_cv_GST_LIBS
23938         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23939 $as_echo "yes" >&6; }
23940
23941       HAVE_GST="yes"
23942
23943 fi
23944
23945
23946     if test -z $GST_TOOLS_DIR; then
23947     GST_TOOLS_DIR=`$PKG_CONFIG --variable=toolsdir gstreamer-$GST_MAJORMINOR`
23948     if test -z $GST_TOOLS_DIR; then
23949       as_fn_error $? "no tools dir set in GStreamer pkg-config file, core upgrade needed." "$LINENO" 5
23950     fi
23951   fi
23952   { $as_echo "$as_me:${as_lineno-$LINENO}: using GStreamer tools in $GST_TOOLS_DIR" >&5
23953 $as_echo "$as_me: using GStreamer tools in $GST_TOOLS_DIR" >&6;}
23954
23955
23956         if test -z $GST_PLUGINS_DIR; then
23957     GST_PLUGINS_DIR=`$PKG_CONFIG --variable=pluginsdir gstreamer-$GST_MAJORMINOR`
23958     if test -z $GST_PLUGINS_DIR; then
23959       as_fn_error $? "no pluginsdir set in GStreamer pkg-config file, core upgrade needed." "$LINENO" 5
23960     fi
23961   fi
23962   { $as_echo "$as_me:${as_lineno-$LINENO}: using GStreamer plug-ins in $GST_PLUGINS_DIR" >&5
23963 $as_echo "$as_me: using GStreamer plug-ins in $GST_PLUGINS_DIR" >&6;}
23964
23965
23966
23967
23968   module=gstreamer-base-$GST_MAJORMINOR
23969   minver=$GST_REQ
23970   name="GStreamer Base Libraries"
23971   required=yes
23972
23973 pkg_failed=no
23974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_BASE" >&5
23975 $as_echo_n "checking for GST_BASE... " >&6; }
23976
23977 if test -n "$PKG_CONFIG"; then
23978     if test -n "$GST_BASE_CFLAGS"; then
23979         pkg_cv_GST_BASE_CFLAGS="$GST_BASE_CFLAGS"
23980     else
23981         if test -n "$PKG_CONFIG" && \
23982     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
23983   ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
23984   ac_status=$?
23985   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23986   test $ac_status = 0; }; then
23987   pkg_cv_GST_BASE_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
23988 else
23989   pkg_failed=yes
23990 fi
23991     fi
23992 else
23993         pkg_failed=untried
23994 fi
23995 if test -n "$PKG_CONFIG"; then
23996     if test -n "$GST_BASE_LIBS"; then
23997         pkg_cv_GST_BASE_LIBS="$GST_BASE_LIBS"
23998     else
23999         if test -n "$PKG_CONFIG" && \
24000     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
24001   ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
24002   ac_status=$?
24003   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24004   test $ac_status = 0; }; then
24005   pkg_cv_GST_BASE_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
24006 else
24007   pkg_failed=yes
24008 fi
24009     fi
24010 else
24011         pkg_failed=untried
24012 fi
24013
24014
24015
24016 if test $pkg_failed = yes; then
24017
24018 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24019         _pkg_short_errors_supported=yes
24020 else
24021         _pkg_short_errors_supported=no
24022 fi
24023         if test $_pkg_short_errors_supported = yes; then
24024                 GST_BASE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
24025         else
24026                 GST_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
24027         fi
24028         # Put the nasty error message in config.log where it belongs
24029         echo "$GST_BASE_PKG_ERRORS" >&5
24030
24031         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24032 $as_echo "no" >&6; }
24033
24034       HAVE_GST_BASE="no"
24035       { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_BASE_PKG_ERRORS" >&5
24036 $as_echo "$as_me: $GST_BASE_PKG_ERRORS" >&6;}
24037       if test "x$required" = "xyes"; then
24038         as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
24039       else
24040         { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
24041 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
24042       fi
24043
24044 elif test $pkg_failed = untried; then
24045
24046       HAVE_GST_BASE="no"
24047       { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_BASE_PKG_ERRORS" >&5
24048 $as_echo "$as_me: $GST_BASE_PKG_ERRORS" >&6;}
24049       if test "x$required" = "xyes"; then
24050         as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
24051       else
24052         { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
24053 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
24054       fi
24055
24056 else
24057         GST_BASE_CFLAGS=$pkg_cv_GST_BASE_CFLAGS
24058         GST_BASE_LIBS=$pkg_cv_GST_BASE_LIBS
24059         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24060 $as_echo "yes" >&6; }
24061
24062       HAVE_GST_BASE="yes"
24063
24064 fi
24065
24066
24067
24068
24069
24070   module=gstreamer-dataprotocol-$GST_MAJORMINOR
24071   minver=$GST_REQ
24072   name="GStreamer Data Protocol Library"
24073   required=yes
24074
24075 pkg_failed=no
24076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_GDP" >&5
24077 $as_echo_n "checking for GST_GDP... " >&6; }
24078
24079 if test -n "$PKG_CONFIG"; then
24080     if test -n "$GST_GDP_CFLAGS"; then
24081         pkg_cv_GST_GDP_CFLAGS="$GST_GDP_CFLAGS"
24082     else
24083         if test -n "$PKG_CONFIG" && \
24084     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
24085   ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
24086   ac_status=$?
24087   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24088   test $ac_status = 0; }; then
24089   pkg_cv_GST_GDP_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
24090 else
24091   pkg_failed=yes
24092 fi
24093     fi
24094 else
24095         pkg_failed=untried
24096 fi
24097 if test -n "$PKG_CONFIG"; then
24098     if test -n "$GST_GDP_LIBS"; then
24099         pkg_cv_GST_GDP_LIBS="$GST_GDP_LIBS"
24100     else
24101         if test -n "$PKG_CONFIG" && \
24102     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
24103   ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
24104   ac_status=$?
24105   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24106   test $ac_status = 0; }; then
24107   pkg_cv_GST_GDP_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
24108 else
24109   pkg_failed=yes
24110 fi
24111     fi
24112 else
24113         pkg_failed=untried
24114 fi
24115
24116
24117
24118 if test $pkg_failed = yes; then
24119
24120 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24121         _pkg_short_errors_supported=yes
24122 else
24123         _pkg_short_errors_supported=no
24124 fi
24125         if test $_pkg_short_errors_supported = yes; then
24126                 GST_GDP_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
24127         else
24128                 GST_GDP_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
24129         fi
24130         # Put the nasty error message in config.log where it belongs
24131         echo "$GST_GDP_PKG_ERRORS" >&5
24132
24133         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24134 $as_echo "no" >&6; }
24135
24136       HAVE_GST_GDP="no"
24137       { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_GDP_PKG_ERRORS" >&5
24138 $as_echo "$as_me: $GST_GDP_PKG_ERRORS" >&6;}
24139       if test "x$required" = "xyes"; then
24140         as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
24141       else
24142         { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
24143 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
24144       fi
24145
24146 elif test $pkg_failed = untried; then
24147
24148       HAVE_GST_GDP="no"
24149       { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_GDP_PKG_ERRORS" >&5
24150 $as_echo "$as_me: $GST_GDP_PKG_ERRORS" >&6;}
24151       if test "x$required" = "xyes"; then
24152         as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
24153       else
24154         { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
24155 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
24156       fi
24157
24158 else
24159         GST_GDP_CFLAGS=$pkg_cv_GST_GDP_CFLAGS
24160         GST_GDP_LIBS=$pkg_cv_GST_GDP_LIBS
24161         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24162 $as_echo "yes" >&6; }
24163
24164       HAVE_GST_GDP="yes"
24165
24166 fi
24167
24168
24169
24170
24171
24172   module=gstreamer-controller-$GST_MAJORMINOR
24173   minver=$GST_REQ
24174   name="GStreamer Controller Library"
24175   required=yes
24176
24177 pkg_failed=no
24178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_CONTROLLER" >&5
24179 $as_echo_n "checking for GST_CONTROLLER... " >&6; }
24180
24181 if test -n "$PKG_CONFIG"; then
24182     if test -n "$GST_CONTROLLER_CFLAGS"; then
24183         pkg_cv_GST_CONTROLLER_CFLAGS="$GST_CONTROLLER_CFLAGS"
24184     else
24185         if test -n "$PKG_CONFIG" && \
24186     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
24187   ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
24188   ac_status=$?
24189   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24190   test $ac_status = 0; }; then
24191   pkg_cv_GST_CONTROLLER_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
24192 else
24193   pkg_failed=yes
24194 fi
24195     fi
24196 else
24197         pkg_failed=untried
24198 fi
24199 if test -n "$PKG_CONFIG"; then
24200     if test -n "$GST_CONTROLLER_LIBS"; then
24201         pkg_cv_GST_CONTROLLER_LIBS="$GST_CONTROLLER_LIBS"
24202     else
24203         if test -n "$PKG_CONFIG" && \
24204     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
24205   ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
24206   ac_status=$?
24207   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24208   test $ac_status = 0; }; then
24209   pkg_cv_GST_CONTROLLER_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
24210 else
24211   pkg_failed=yes
24212 fi
24213     fi
24214 else
24215         pkg_failed=untried
24216 fi
24217
24218
24219
24220 if test $pkg_failed = yes; then
24221
24222 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24223         _pkg_short_errors_supported=yes
24224 else
24225         _pkg_short_errors_supported=no
24226 fi
24227         if test $_pkg_short_errors_supported = yes; then
24228                 GST_CONTROLLER_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
24229         else
24230                 GST_CONTROLLER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
24231         fi
24232         # Put the nasty error message in config.log where it belongs
24233         echo "$GST_CONTROLLER_PKG_ERRORS" >&5
24234
24235         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24236 $as_echo "no" >&6; }
24237
24238       HAVE_GST_CONTROLLER="no"
24239       { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_CONTROLLER_PKG_ERRORS" >&5
24240 $as_echo "$as_me: $GST_CONTROLLER_PKG_ERRORS" >&6;}
24241       if test "x$required" = "xyes"; then
24242         as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
24243       else
24244         { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
24245 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
24246       fi
24247
24248 elif test $pkg_failed = untried; then
24249
24250       HAVE_GST_CONTROLLER="no"
24251       { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_CONTROLLER_PKG_ERRORS" >&5
24252 $as_echo "$as_me: $GST_CONTROLLER_PKG_ERRORS" >&6;}
24253       if test "x$required" = "xyes"; then
24254         as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
24255       else
24256         { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
24257 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
24258       fi
24259
24260 else
24261         GST_CONTROLLER_CFLAGS=$pkg_cv_GST_CONTROLLER_CFLAGS
24262         GST_CONTROLLER_LIBS=$pkg_cv_GST_CONTROLLER_LIBS
24263         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24264 $as_echo "yes" >&6; }
24265
24266       HAVE_GST_CONTROLLER="yes"
24267
24268 fi
24269
24270
24271
24272
24273
24274   module=gstreamer-check-$GST_MAJORMINOR
24275   minver=$GST_REQ
24276   name="GStreamer Check unittest Library"
24277   required=no
24278
24279 pkg_failed=no
24280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_CHECK" >&5
24281 $as_echo_n "checking for GST_CHECK... " >&6; }
24282
24283 if test -n "$PKG_CONFIG"; then
24284     if test -n "$GST_CHECK_CFLAGS"; then
24285         pkg_cv_GST_CHECK_CFLAGS="$GST_CHECK_CFLAGS"
24286     else
24287         if test -n "$PKG_CONFIG" && \
24288     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
24289   ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
24290   ac_status=$?
24291   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24292   test $ac_status = 0; }; then
24293   pkg_cv_GST_CHECK_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
24294 else
24295   pkg_failed=yes
24296 fi
24297     fi
24298 else
24299         pkg_failed=untried
24300 fi
24301 if test -n "$PKG_CONFIG"; then
24302     if test -n "$GST_CHECK_LIBS"; then
24303         pkg_cv_GST_CHECK_LIBS="$GST_CHECK_LIBS"
24304     else
24305         if test -n "$PKG_CONFIG" && \
24306     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
24307   ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
24308   ac_status=$?
24309   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24310   test $ac_status = 0; }; then
24311   pkg_cv_GST_CHECK_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
24312 else
24313   pkg_failed=yes
24314 fi
24315     fi
24316 else
24317         pkg_failed=untried
24318 fi
24319
24320
24321
24322 if test $pkg_failed = yes; then
24323
24324 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24325         _pkg_short_errors_supported=yes
24326 else
24327         _pkg_short_errors_supported=no
24328 fi
24329         if test $_pkg_short_errors_supported = yes; then
24330                 GST_CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
24331         else
24332                 GST_CHECK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
24333         fi
24334         # Put the nasty error message in config.log where it belongs
24335         echo "$GST_CHECK_PKG_ERRORS" >&5
24336
24337         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24338 $as_echo "no" >&6; }
24339
24340       HAVE_GST_CHECK="no"
24341       { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_CHECK_PKG_ERRORS" >&5
24342 $as_echo "$as_me: $GST_CHECK_PKG_ERRORS" >&6;}
24343       if test "x$required" = "xyes"; then
24344         as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
24345       else
24346         { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
24347 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
24348       fi
24349
24350 elif test $pkg_failed = untried; then
24351
24352       HAVE_GST_CHECK="no"
24353       { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_CHECK_PKG_ERRORS" >&5
24354 $as_echo "$as_me: $GST_CHECK_PKG_ERRORS" >&6;}
24355       if test "x$required" = "xyes"; then
24356         as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
24357       else
24358         { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
24359 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
24360       fi
24361
24362 else
24363         GST_CHECK_CFLAGS=$pkg_cv_GST_CHECK_CFLAGS
24364         GST_CHECK_LIBS=$pkg_cv_GST_CHECK_LIBS
24365         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24366 $as_echo "yes" >&6; }
24367
24368       HAVE_GST_CHECK="yes"
24369
24370 fi
24371
24372
24373
24374
24375
24376   module=gstreamer-plugins-base-$GST_MAJORMINOR
24377   minver=$GSTPB_REQ
24378   name="GStreamer Base Plugins"
24379   required=yes
24380
24381 pkg_failed=no
24382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_PLUGINS_BASE" >&5
24383 $as_echo_n "checking for GST_PLUGINS_BASE... " >&6; }
24384
24385 if test -n "$PKG_CONFIG"; then
24386     if test -n "$GST_PLUGINS_BASE_CFLAGS"; then
24387         pkg_cv_GST_PLUGINS_BASE_CFLAGS="$GST_PLUGINS_BASE_CFLAGS"
24388     else
24389         if test -n "$PKG_CONFIG" && \
24390     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
24391   ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
24392   ac_status=$?
24393   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24394   test $ac_status = 0; }; then
24395   pkg_cv_GST_PLUGINS_BASE_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
24396 else
24397   pkg_failed=yes
24398 fi
24399     fi
24400 else
24401         pkg_failed=untried
24402 fi
24403 if test -n "$PKG_CONFIG"; then
24404     if test -n "$GST_PLUGINS_BASE_LIBS"; then
24405         pkg_cv_GST_PLUGINS_BASE_LIBS="$GST_PLUGINS_BASE_LIBS"
24406     else
24407         if test -n "$PKG_CONFIG" && \
24408     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
24409   ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
24410   ac_status=$?
24411   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24412   test $ac_status = 0; }; then
24413   pkg_cv_GST_PLUGINS_BASE_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
24414 else
24415   pkg_failed=yes
24416 fi
24417     fi
24418 else
24419         pkg_failed=untried
24420 fi
24421
24422
24423
24424 if test $pkg_failed = yes; then
24425
24426 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24427         _pkg_short_errors_supported=yes
24428 else
24429         _pkg_short_errors_supported=no
24430 fi
24431         if test $_pkg_short_errors_supported = yes; then
24432                 GST_PLUGINS_BASE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
24433         else
24434                 GST_PLUGINS_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
24435         fi
24436         # Put the nasty error message in config.log where it belongs
24437         echo "$GST_PLUGINS_BASE_PKG_ERRORS" >&5
24438
24439         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24440 $as_echo "no" >&6; }
24441
24442       HAVE_GST_PLUGINS_BASE="no"
24443       { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PLUGINS_BASE_PKG_ERRORS" >&5
24444 $as_echo "$as_me: $GST_PLUGINS_BASE_PKG_ERRORS" >&6;}
24445       if test "x$required" = "xyes"; then
24446         as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
24447       else
24448         { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
24449 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
24450       fi
24451
24452 elif test $pkg_failed = untried; then
24453
24454       HAVE_GST_PLUGINS_BASE="no"
24455       { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PLUGINS_BASE_PKG_ERRORS" >&5
24456 $as_echo "$as_me: $GST_PLUGINS_BASE_PKG_ERRORS" >&6;}
24457       if test "x$required" = "xyes"; then
24458         as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
24459       else
24460         { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
24461 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
24462       fi
24463
24464 else
24465         GST_PLUGINS_BASE_CFLAGS=$pkg_cv_GST_PLUGINS_BASE_CFLAGS
24466         GST_PLUGINS_BASE_LIBS=$pkg_cv_GST_PLUGINS_BASE_LIBS
24467         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24468 $as_echo "yes" >&6; }
24469
24470       HAVE_GST_PLUGINS_BASE="yes"
24471
24472 fi
24473
24474
24475
24476   if test "x$HAVE_GST_PLUGINS_BASE" = "xyes"; then
24477                 if test -z $GSTPB_PLUGINS_DIR; then
24478       GSTPB_PLUGINS_DIR=`$PKG_CONFIG --variable=pluginsdir gstreamer-plugins-base-$GST_MAJORMINOR`
24479       if test -z $GSTPB_PLUGINS_DIR; then
24480         as_fn_error $? "no pluginsdir set in GStreamer Base Plugins pkg-config file" "$LINENO" 5
24481       fi
24482     fi
24483     { $as_echo "$as_me:${as_lineno-$LINENO}: using GStreamer Base Plugins in $GSTPB_PLUGINS_DIR" >&5
24484 $as_echo "$as_me: using GStreamer Base Plugins in $GSTPB_PLUGINS_DIR" >&6;}
24485     GST_PLUGINS_BASE_DIR="$GSTPB_PLUGINS_DIR/gst:$GSTPB_PLUGINS_DIR/sys:$GSTPB_PLUGINS_DIR/ext"
24486
24487
24488   fi
24489
24490
24491 GST_TOOLS_DIR=`$PKG_CONFIG --variable=toolsdir gstreamer-$GST_MAJORMINOR`
24492 if test -z $GST_TOOLS_DIR; then
24493   as_fn_error $? "no tools dir defined in GStreamer pkg-config file; core upgrade needed." "$LINENO" 5
24494 fi
24495
24496
24497 { $as_echo "$as_me:${as_lineno-$LINENO}: Using GStreamer Core Plugins in $GST_PLUGINS_DIR" >&5
24498 $as_echo "$as_me: Using GStreamer Core Plugins in $GST_PLUGINS_DIR" >&6;}
24499 { $as_echo "$as_me:${as_lineno-$LINENO}: Using GStreamer Base Plugins in $GSTPB_PLUGINS_DIR" >&5
24500 $as_echo "$as_me: Using GStreamer Base Plugins in $GSTPB_PLUGINS_DIR" >&6;}
24501
24502  if test "x$HAVE_GST_CHECK" = "xyes"; then
24503   HAVE_GST_CHECK_TRUE=
24504   HAVE_GST_CHECK_FALSE='#'
24505 else
24506   HAVE_GST_CHECK_TRUE='#'
24507   HAVE_GST_CHECK_FALSE=
24508 fi
24509
24510
24511 GLIB_PREFIX="`$PKG_CONFIG --variable=prefix glib-2.0`"
24512 GST_PREFIX="`$PKG_CONFIG --variable=prefix gstreamer-$GST_MAJORMINOR`"
24513 GSTPB_PREFIX="`$PKG_CONFIG --variable=prefix gstreamer-plugins-base-$GST_MAJORMINOR`"
24514
24515
24516
24517
24518 HAVE_GTK=no
24519 GTK2_REQ=2.14.0
24520 GTK3_REQ=2.91.3
24521 if test "x$BUILD_EXAMPLES" = "xyes"; then
24522   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which gtk+ version to compile examples against (optional)" >&5
24523 $as_echo_n "checking which gtk+ version to compile examples against (optional)... " >&6; }
24524
24525 # Check whether --with-gtk was given.
24526 if test "${with_gtk+set}" = set; then :
24527   withval=$with_gtk; case "$with_gtk" in
24528         2.0) GTK_REQ=$GTK2_REQ ;;
24529         3.0) GTK_REQ=$GTK3_REQ ;;
24530         *) as_fn_error $? "invalid gtk+ version specified" "$LINENO" 5;;
24531     esac
24532 else
24533   with_gtk=2.0
24534      GTK_REQ=$GTK2_REQ
24535 fi
24536
24537   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_gtk (>= $GTK_REQ)" >&5
24538 $as_echo "$with_gtk (>= $GTK_REQ)" >&6; }
24539
24540 pkg_failed=no
24541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
24542 $as_echo_n "checking for GTK... " >&6; }
24543
24544 if test -n "$PKG_CONFIG"; then
24545     if test -n "$GTK_CFLAGS"; then
24546         pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
24547     else
24548         if test -n "$PKG_CONFIG" && \
24549     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-\$with_gtk >= \$GTK_REQ\""; } >&5
24550   ($PKG_CONFIG --exists --print-errors "gtk+-$with_gtk >= $GTK_REQ") 2>&5
24551   ac_status=$?
24552   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24553   test $ac_status = 0; }; then
24554   pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-$with_gtk >= $GTK_REQ" 2>/dev/null`
24555 else
24556   pkg_failed=yes
24557 fi
24558     fi
24559 else
24560         pkg_failed=untried
24561 fi
24562 if test -n "$PKG_CONFIG"; then
24563     if test -n "$GTK_LIBS"; then
24564         pkg_cv_GTK_LIBS="$GTK_LIBS"
24565     else
24566         if test -n "$PKG_CONFIG" && \
24567     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-\$with_gtk >= \$GTK_REQ\""; } >&5
24568   ($PKG_CONFIG --exists --print-errors "gtk+-$with_gtk >= $GTK_REQ") 2>&5
24569   ac_status=$?
24570   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24571   test $ac_status = 0; }; then
24572   pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-$with_gtk >= $GTK_REQ" 2>/dev/null`
24573 else
24574   pkg_failed=yes
24575 fi
24576     fi
24577 else
24578         pkg_failed=untried
24579 fi
24580
24581
24582
24583 if test $pkg_failed = yes; then
24584
24585 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24586         _pkg_short_errors_supported=yes
24587 else
24588         _pkg_short_errors_supported=no
24589 fi
24590         if test $_pkg_short_errors_supported = yes; then
24591                 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-$with_gtk >= $GTK_REQ"`
24592         else
24593                 GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-$with_gtk >= $GTK_REQ"`
24594         fi
24595         # Put the nasty error message in config.log where it belongs
24596         echo "$GTK_PKG_ERRORS" >&5
24597
24598         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24599 $as_echo "no" >&6; }
24600                 HAVE_GTK=no
24601 elif test $pkg_failed = untried; then
24602         HAVE_GTK=no
24603 else
24604         GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
24605         GTK_LIBS=$pkg_cv_GTK_LIBS
24606         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24607 $as_echo "yes" >&6; }
24608         HAVE_GTK=yes
24609 fi
24610
24611 pkg_failed=no
24612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK_X11" >&5
24613 $as_echo_n "checking for GTK_X11... " >&6; }
24614
24615 if test -n "$PKG_CONFIG"; then
24616     if test -n "$GTK_X11_CFLAGS"; then
24617         pkg_cv_GTK_X11_CFLAGS="$GTK_X11_CFLAGS"
24618     else
24619         if test -n "$PKG_CONFIG" && \
24620     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-x11-\$with_gtk >= \$GTK_REQ\""; } >&5
24621   ($PKG_CONFIG --exists --print-errors "gtk+-x11-$with_gtk >= $GTK_REQ") 2>&5
24622   ac_status=$?
24623   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24624   test $ac_status = 0; }; then
24625   pkg_cv_GTK_X11_CFLAGS=`$PKG_CONFIG --cflags "gtk+-x11-$with_gtk >= $GTK_REQ" 2>/dev/null`
24626 else
24627   pkg_failed=yes
24628 fi
24629     fi
24630 else
24631         pkg_failed=untried
24632 fi
24633 if test -n "$PKG_CONFIG"; then
24634     if test -n "$GTK_X11_LIBS"; then
24635         pkg_cv_GTK_X11_LIBS="$GTK_X11_LIBS"
24636     else
24637         if test -n "$PKG_CONFIG" && \
24638     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-x11-\$with_gtk >= \$GTK_REQ\""; } >&5
24639   ($PKG_CONFIG --exists --print-errors "gtk+-x11-$with_gtk >= $GTK_REQ") 2>&5
24640   ac_status=$?
24641   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24642   test $ac_status = 0; }; then
24643   pkg_cv_GTK_X11_LIBS=`$PKG_CONFIG --libs "gtk+-x11-$with_gtk >= $GTK_REQ" 2>/dev/null`
24644 else
24645   pkg_failed=yes
24646 fi
24647     fi
24648 else
24649         pkg_failed=untried
24650 fi
24651
24652
24653
24654 if test $pkg_failed = yes; then
24655
24656 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24657         _pkg_short_errors_supported=yes
24658 else
24659         _pkg_short_errors_supported=no
24660 fi
24661         if test $_pkg_short_errors_supported = yes; then
24662                 GTK_X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-x11-$with_gtk >= $GTK_REQ"`
24663         else
24664                 GTK_X11_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-x11-$with_gtk >= $GTK_REQ"`
24665         fi
24666         # Put the nasty error message in config.log where it belongs
24667         echo "$GTK_X11_PKG_ERRORS" >&5
24668
24669         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24670 $as_echo "no" >&6; }
24671                 HAVE_GTK_X11=no
24672 elif test $pkg_failed = untried; then
24673         HAVE_GTK_X11=no
24674 else
24675         GTK_X11_CFLAGS=$pkg_cv_GTK_X11_CFLAGS
24676         GTK_X11_LIBS=$pkg_cv_GTK_X11_LIBS
24677         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24678 $as_echo "yes" >&6; }
24679         HAVE_GTK_X11=yes
24680 fi
24681
24682
24683 fi
24684  if test "x$HAVE_GTK" = "xyes"; then
24685   HAVE_GTK_TRUE=
24686   HAVE_GTK_FALSE='#'
24687 else
24688   HAVE_GTK_TRUE='#'
24689   HAVE_GTK_FALSE=
24690 fi
24691
24692  if test "x$HAVE_GTK_X11" = "xyes"; then
24693   HAVE_GTK_X11_TRUE=
24694   HAVE_GTK_X11_FALSE='#'
24695 else
24696   HAVE_GTK_X11_TRUE='#'
24697   HAVE_GTK_X11_FALSE=
24698 fi
24699
24700
24701 echo
24702 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: GConf schemas ***" >&5
24703 $as_echo "$as_me: *** checking feature: GConf schemas ***" >&6;}
24704 if test "x" != "x"
24705 then
24706   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins:  ***" >&5
24707 $as_echo "$as_me: *** for plug-ins:  ***" >&6;}
24708 fi
24709 NOUSE=
24710 if test "x$USE_GCONFTOOL" = "xno"; then
24711   NOUSE="yes"
24712 fi
24713 # Check whether --enable-gconftool was given.
24714 if test "${enable_gconftool+set}" = set; then :
24715   enableval=$enable_gconftool;  case "${enableval}" in
24716       yes) USE_GCONFTOOL=yes;;
24717       no) USE_GCONFTOOL=no;;
24718       *) as_fn_error $? "bad value ${enableval} for --enable-gconftool" "$LINENO" 5 ;;
24719     esac
24720 else
24721    USE_GCONFTOOL=yes
24722 fi
24723
24724 if test "x$NOUSE" = "xyes"; then
24725   USE_GCONFTOOL="no"
24726   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ***  pre-configured not to be built" >&5
24727 $as_echo "$as_me: WARNING: ***  pre-configured not to be built" >&2;}
24728 fi
24729 NOUSE=
24730
24731
24732 if test x$USE_GCONFTOOL = xyes; then
24733
24734   gst_check_save_LIBS=$LIBS
24735   gst_check_save_LDFLAGS=$LDFLAGS
24736   gst_check_save_CFLAGS=$CFLAGS
24737   gst_check_save_CPPFLAGS=$CPPFLAGS
24738   gst_check_save_CXXFLAGS=$CXXFLAGS
24739
24740   HAVE_GCONFTOOL=no
24741
24742   # Extract the first word of "gconftool-2", so it can be a program name with args.
24743 set dummy gconftool-2; ac_word=$2
24744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24745 $as_echo_n "checking for $ac_word... " >&6; }
24746 if ${ac_cv_path_GCONFTOOL+:} false; then :
24747   $as_echo_n "(cached) " >&6
24748 else
24749   case $GCONFTOOL in
24750   [\\/]* | ?:[\\/]*)
24751   ac_cv_path_GCONFTOOL="$GCONFTOOL" # Let the user override the test with a path.
24752   ;;
24753   *)
24754   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24755 for as_dir in $PATH
24756 do
24757   IFS=$as_save_IFS
24758   test -z "$as_dir" && as_dir=.
24759     for ac_exec_ext in '' $ac_executable_extensions; do
24760   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24761     ac_cv_path_GCONFTOOL="$as_dir/$ac_word$ac_exec_ext"
24762     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24763     break 2
24764   fi
24765 done
24766   done
24767 IFS=$as_save_IFS
24768
24769   test -z "$ac_cv_path_GCONFTOOL" && ac_cv_path_GCONFTOOL="no"
24770   ;;
24771 esac
24772 fi
24773 GCONFTOOL=$ac_cv_path_GCONFTOOL
24774 if test -n "$GCONFTOOL"; then
24775   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCONFTOOL" >&5
24776 $as_echo "$GCONFTOOL" >&6; }
24777 else
24778   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24779 $as_echo "no" >&6; }
24780 fi
24781
24782
24783   if test x$GCONFTOOL = xno; then
24784     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Not installing GConf schemas" >&5
24785 $as_echo "$as_me: WARNING: Not installing GConf schemas" >&2;}
24786     HAVE_GCONFTOOL="no"
24787   else
24788     HAVE_GCONFTOOL="yes"
24789   fi
24790
24791
24792
24793   LIBS=$gst_check_save_LIBS
24794   LDFLAGS=$gst_check_save_LDFLAGS
24795   CFLAGS=$gst_check_save_CFLAGS
24796   CPPFLAGS=$gst_check_save_CPPFLAGS
24797   CXXFLAGS=$gst_check_save_CXXFLAGS
24798
24799     if test x$HAVE_GCONFTOOL = xno; then
24800     USE_GCONFTOOL=no
24801   else
24802     :
24803   fi
24804 fi
24805 if test x$USE_GCONFTOOL = xyes; then
24806   :
24807   if test "x" != "x"; then
24808     GST_PLUGINS_YES="\t\n$GST_PLUGINS_YES"
24809   fi
24810
24811 $as_echo "#define HAVE_GCONFTOOL /**/" >>confdefs.h
24812
24813 else
24814   :
24815   if test "x" != "x"; then
24816     GST_PLUGINS_NO="\t\n$GST_PLUGINS_NO"
24817   fi
24818   :
24819 fi
24820  if test x$USE_GCONFTOOL = xyes; then
24821   USE_GCONFTOOL_TRUE=
24822   USE_GCONFTOOL_FALSE='#'
24823 else
24824   USE_GCONFTOOL_TRUE='#'
24825   USE_GCONFTOOL_FALSE=
24826 fi
24827
24828
24829
24830
24831 GST_LICENSE="LGPL"
24832
24833 cat >>confdefs.h <<_ACEOF
24834 #define GST_LICENSE "$GST_LICENSE"
24835 _ACEOF
24836
24837
24838
24839
24840
24841   EXP_VAR=PLUGINDIR
24842   FROM_VAR=${libdir}/gstreamer-$GST_MAJORMINOR
24843
24844     prefix_save=$prefix
24845   exec_prefix_save=$exec_prefix
24846
24847     if test "x$prefix" = "xNONE"; then
24848     prefix="$ac_default_prefix"
24849   fi
24850     if test "x$exec_prefix" = "xNONE"; then
24851     exec_prefix=$prefix
24852   fi
24853
24854   full_var="$FROM_VAR"
24855     while true; do
24856     new_full_var="`eval echo $full_var`"
24857     if test "x$new_full_var" = "x$full_var"; then break; fi
24858     full_var=$new_full_var
24859   done
24860
24861     full_var=$new_full_var
24862   PLUGINDIR="$full_var"
24863
24864
24865     prefix=$prefix_save
24866   exec_prefix=$exec_prefix_save
24867
24868
24869 cat >>confdefs.h <<_ACEOF
24870 #define PLUGINDIR "$PLUGINDIR"
24871 _ACEOF
24872
24873   { $as_echo "$as_me:${as_lineno-$LINENO}: Using $PLUGINDIR as the plugin install location" >&5
24874 $as_echo "$as_me: Using $PLUGINDIR as the plugin install location" >&6;}
24875
24876     plugindir="\$(libdir)/gstreamer-$GST_MAJORMINOR"
24877
24878
24879
24880
24881   if test "x$PACKAGE_VERSION_NANO" = "x0"; then
24882
24883       if test "xyes" = "xno" -o "xyes" = "x"; then
24884     GST_PACKAGE_RELEASE_DATETIME=`date -u "+%Y-%m-%dT%H:%MZ"`
24885   elif test "xyes" = "xyes"; then
24886             if ( echo yes | grep -e '^201-90-9-0-10-9-0-30-9' >/dev/null ) ; then
24887       GST_PACKAGE_RELEASE_DATETIME=yes
24888     else
24889             YYYY_MM_DD=`sh "${srcdir}/common/extract-release-date-from-doap-file"  $PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR.$PACKAGE_VERSION_MICRO   "${srcdir}/gst-plugins-good.doap" `;
24890       if test "x$YYYY_MM_DD" != "x"; then
24891         GST_PACKAGE_RELEASE_DATETIME=$YYYY_MM_DD
24892       else
24893         as_fn_error $? "SET_PACKAGE_RELEASE_DATETIME: could not extract
24894             release date for release version  $PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR.$PACKAGE_VERSION_MICRO  from  \"${srcdir}/gst-plugins-good.doap\" " "$LINENO" 5
24895         GST_PACKAGE_RELEASE_DATETIME=""
24896       fi
24897     fi
24898     elif ( echo yes | grep -e '^201-90-9-0-10-9-0-30-9' >/dev/null ) ; then
24899     GST_PACKAGE_RELEASE_DATETIME=yes
24900   else
24901     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&5
24902 $as_echo "$as_me: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&2;}
24903     GST_PACKAGE_RELEASE_DATETIME=""
24904   fi
24905
24906   if test "x$GST_PACKAGE_RELEASE_DATETIME" = "x"; then
24907     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&5
24908 $as_echo "$as_me: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&2;}
24909   else
24910     { $as_echo "$as_me:${as_lineno-$LINENO}: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&5
24911 $as_echo "$as_me: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&6;}
24912
24913
24914 cat >>confdefs.h <<_ACEOF
24915 #define GST_PACKAGE_RELEASE_DATETIME "$GST_PACKAGE_RELEASE_DATETIME"
24916 _ACEOF
24917
24918   fi
24919
24920   else
24921
24922       if test "xno" = "xno" -o "xno" = "x"; then
24923     GST_PACKAGE_RELEASE_DATETIME=`date -u "+%Y-%m-%dT%H:%MZ"`
24924   elif test "xno" = "xyes"; then
24925             if ( echo no | grep -e '^201-90-9-0-10-9-0-30-9' >/dev/null ) ; then
24926       GST_PACKAGE_RELEASE_DATETIME=no
24927     else
24928             YYYY_MM_DD=`sh "${srcdir}/common/extract-release-date-from-doap-file"  `;
24929       if test "x$YYYY_MM_DD" != "x"; then
24930         GST_PACKAGE_RELEASE_DATETIME=$YYYY_MM_DD
24931       else
24932         as_fn_error $? "SET_PACKAGE_RELEASE_DATETIME: could not extract
24933             release date for release version  from " "$LINENO" 5
24934         GST_PACKAGE_RELEASE_DATETIME=""
24935       fi
24936     fi
24937     elif ( echo no | grep -e '^201-90-9-0-10-9-0-30-9' >/dev/null ) ; then
24938     GST_PACKAGE_RELEASE_DATETIME=no
24939   else
24940     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&5
24941 $as_echo "$as_me: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&2;}
24942     GST_PACKAGE_RELEASE_DATETIME=""
24943   fi
24944
24945   if test "x$GST_PACKAGE_RELEASE_DATETIME" = "x"; then
24946     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&5
24947 $as_echo "$as_me: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&2;}
24948   else
24949     { $as_echo "$as_me:${as_lineno-$LINENO}: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&5
24950 $as_echo "$as_me: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&6;}
24951
24952
24953 cat >>confdefs.h <<_ACEOF
24954 #define GST_PACKAGE_RELEASE_DATETIME "$GST_PACKAGE_RELEASE_DATETIME"
24955 _ACEOF
24956
24957   fi
24958
24959   fi
24960
24961
24962 if test "x$HAVE_OSX_VIDEO" != "xyes"; then
24963
24964
24965
24966
24967   WARNING_CFLAGS=""
24968   ERROR_CFLAGS=""
24969
24970
24971   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wall" >&5
24972 $as_echo_n "checking to see if compiler understands -Wall... " >&6; }
24973
24974   save_CFLAGS="$CFLAGS"
24975   CFLAGS="$CFLAGS -Wall"
24976
24977   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24978 /* end confdefs.h.  */
24979
24980 int
24981 main ()
24982 {
24983
24984   ;
24985   return 0;
24986 }
24987 _ACEOF
24988 if ac_fn_c_try_compile "$LINENO"; then :
24989   flag_ok=yes
24990 else
24991   flag_ok=no
24992 fi
24993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24994   CFLAGS="$save_CFLAGS"
24995
24996   if test "X$flag_ok" = Xyes ; then
24997     WARNING_CFLAGS="$WARNING_CFLAGS -Wall"
24998     true
24999   else
25000
25001     true
25002   fi
25003   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25004 $as_echo "$flag_ok" >&6; }
25005
25006
25007
25008   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wdeclaration-after-statement" >&5
25009 $as_echo_n "checking to see if compiler understands -Wdeclaration-after-statement... " >&6; }
25010
25011   save_CFLAGS="$CFLAGS"
25012   CFLAGS="$CFLAGS -Wdeclaration-after-statement"
25013
25014   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25015 /* end confdefs.h.  */
25016
25017 int
25018 main ()
25019 {
25020
25021   ;
25022   return 0;
25023 }
25024 _ACEOF
25025 if ac_fn_c_try_compile "$LINENO"; then :
25026   flag_ok=yes
25027 else
25028   flag_ok=no
25029 fi
25030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25031   CFLAGS="$save_CFLAGS"
25032
25033   if test "X$flag_ok" = Xyes ; then
25034     WARNING_CFLAGS="$WARNING_CFLAGS -Wdeclaration-after-statement"
25035     true
25036   else
25037
25038     true
25039   fi
25040   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25041 $as_echo "$flag_ok" >&6; }
25042
25043
25044
25045   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wvla" >&5
25046 $as_echo_n "checking to see if compiler understands -Wvla... " >&6; }
25047
25048   save_CFLAGS="$CFLAGS"
25049   CFLAGS="$CFLAGS -Wvla"
25050
25051   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25052 /* end confdefs.h.  */
25053
25054 int
25055 main ()
25056 {
25057
25058   ;
25059   return 0;
25060 }
25061 _ACEOF
25062 if ac_fn_c_try_compile "$LINENO"; then :
25063   flag_ok=yes
25064 else
25065   flag_ok=no
25066 fi
25067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25068   CFLAGS="$save_CFLAGS"
25069
25070   if test "X$flag_ok" = Xyes ; then
25071     WARNING_CFLAGS="$WARNING_CFLAGS -Wvla"
25072     true
25073   else
25074
25075     true
25076   fi
25077   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25078 $as_echo "$flag_ok" >&6; }
25079
25080
25081
25082   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wpointer-arith" >&5
25083 $as_echo_n "checking to see if compiler understands -Wpointer-arith... " >&6; }
25084
25085   save_CFLAGS="$CFLAGS"
25086   CFLAGS="$CFLAGS -Wpointer-arith"
25087
25088   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25089 /* end confdefs.h.  */
25090
25091 int
25092 main ()
25093 {
25094
25095   ;
25096   return 0;
25097 }
25098 _ACEOF
25099 if ac_fn_c_try_compile "$LINENO"; then :
25100   flag_ok=yes
25101 else
25102   flag_ok=no
25103 fi
25104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25105   CFLAGS="$save_CFLAGS"
25106
25107   if test "X$flag_ok" = Xyes ; then
25108     WARNING_CFLAGS="$WARNING_CFLAGS -Wpointer-arith"
25109     true
25110   else
25111
25112     true
25113   fi
25114   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25115 $as_echo "$flag_ok" >&6; }
25116
25117
25118     if test "x$GST_GIT" != "xno"
25119   then
25120
25121   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Werror" >&5
25122 $as_echo_n "checking to see if compiler understands -Werror... " >&6; }
25123
25124   save_CFLAGS="$CFLAGS"
25125   CFLAGS="$CFLAGS -Werror"
25126
25127   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25128 /* end confdefs.h.  */
25129
25130 int
25131 main ()
25132 {
25133
25134   ;
25135   return 0;
25136 }
25137 _ACEOF
25138 if ac_fn_c_try_compile "$LINENO"; then :
25139   flag_ok=yes
25140 else
25141   flag_ok=no
25142 fi
25143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25144   CFLAGS="$save_CFLAGS"
25145
25146   if test "X$flag_ok" = Xyes ; then
25147     ERROR_CFLAGS="$ERROR_CFLAGS -Werror"
25148     true
25149   else
25150
25151     true
25152   fi
25153   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25154 $as_echo "$flag_ok" >&6; }
25155
25156
25157         if test "x$ERROR_CFLAGS" = "x"
25158     then
25159
25160   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -errwarn=%all" >&5
25161 $as_echo_n "checking to see if compiler understands -errwarn=%all... " >&6; }
25162
25163   save_CFLAGS="$CFLAGS"
25164   CFLAGS="$CFLAGS -errwarn=%all"
25165
25166   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25167 /* end confdefs.h.  */
25168
25169 int
25170 main ()
25171 {
25172
25173   ;
25174   return 0;
25175 }
25176 _ACEOF
25177 if ac_fn_c_try_compile "$LINENO"; then :
25178   flag_ok=yes
25179 else
25180   flag_ok=no
25181 fi
25182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25183   CFLAGS="$save_CFLAGS"
25184
25185   if test "X$flag_ok" = Xyes ; then
25186
25187           ERROR_CFLAGS="-errwarn=%all"
25188                                                                                 for f in 'no%E_EMPTY_DECLARATION' \
25189                    'no%E_STATEMENT_NOT_REACHED' \
25190                    'no%E_ARGUEMENT_MISMATCH' \
25191                    'no%E_MACRO_REDEFINED' \
25192                    'no%E_LOOP_NOT_ENTERED_AT_TOP'
25193           do
25194
25195   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -errwarn=%all,$f" >&5
25196 $as_echo_n "checking to see if compiler understands -errwarn=%all,$f... " >&6; }
25197
25198   save_CFLAGS="$CFLAGS"
25199   CFLAGS="$CFLAGS -errwarn=%all,$f"
25200
25201   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25202 /* end confdefs.h.  */
25203
25204 int
25205 main ()
25206 {
25207
25208   ;
25209   return 0;
25210 }
25211 _ACEOF
25212 if ac_fn_c_try_compile "$LINENO"; then :
25213   flag_ok=yes
25214 else
25215   flag_ok=no
25216 fi
25217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25218   CFLAGS="$save_CFLAGS"
25219
25220   if test "X$flag_ok" = Xyes ; then
25221
25222               ERROR_CFLAGS="$ERROR_CFLAGS,$f"
25223
25224     true
25225   else
25226
25227     true
25228   fi
25229   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25230 $as_echo "$flag_ok" >&6; }
25231
25232           done
25233
25234     true
25235   else
25236
25237     true
25238   fi
25239   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25240 $as_echo "$flag_ok" >&6; }
25241
25242     else
25243                         if test -n "$PKG_CONFIG" && \
25244     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 < 2.19.8\""; } >&5
25245   ($PKG_CONFIG --exists --print-errors "glib-2.0 < 2.19.8") 2>&5
25246   ac_status=$?
25247   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25248   test $ac_status = 0; }; then
25249
25250
25251   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -fno-strict-aliasing" >&5
25252 $as_echo_n "checking to see if compiler understands -fno-strict-aliasing... " >&6; }
25253
25254   save_CFLAGS="$CFLAGS"
25255   CFLAGS="$CFLAGS -fno-strict-aliasing"
25256
25257   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25258 /* end confdefs.h.  */
25259
25260 int
25261 main ()
25262 {
25263
25264   ;
25265   return 0;
25266 }
25267 _ACEOF
25268 if ac_fn_c_try_compile "$LINENO"; then :
25269   flag_ok=yes
25270 else
25271   flag_ok=no
25272 fi
25273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25274   CFLAGS="$save_CFLAGS"
25275
25276   if test "X$flag_ok" = Xyes ; then
25277     ERROR_CFLAGS="$ERROR_CFLAGS -fno-strict-aliasing"
25278     true
25279   else
25280
25281     true
25282   fi
25283   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25284 $as_echo "$flag_ok" >&6; }
25285
25286
25287 fi
25288     fi
25289   fi
25290
25291   if test "x
25292         -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls
25293         -Wwrite-strings -Wold-style-definition -Waggregate-return
25294         -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar
25295         -Wnested-externs " != "x"
25296   then
25297     UNSUPPORTED=""
25298     list="
25299         -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls
25300         -Wwrite-strings -Wold-style-definition -Waggregate-return
25301         -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar
25302         -Wnested-externs "
25303     for each in $list
25304     do
25305
25306   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands $each" >&5
25307 $as_echo_n "checking to see if compiler understands $each... " >&6; }
25308
25309   save_CFLAGS="$CFLAGS"
25310   CFLAGS="$CFLAGS $each"
25311
25312   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25313 /* end confdefs.h.  */
25314
25315 int
25316 main ()
25317 {
25318
25319   ;
25320   return 0;
25321 }
25322 _ACEOF
25323 if ac_fn_c_try_compile "$LINENO"; then :
25324   flag_ok=yes
25325 else
25326   flag_ok=no
25327 fi
25328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25329   CFLAGS="$save_CFLAGS"
25330
25331   if test "X$flag_ok" = Xyes ; then
25332     WARNING_CFLAGS="$WARNING_CFLAGS $each"
25333     true
25334   else
25335     UNSUPPORTED="$UNSUPPORTED $each"
25336     true
25337   fi
25338   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25339 $as_echo "$flag_ok" >&6; }
25340
25341     done
25342     if test "X$UNSUPPORTED" != X ; then
25343       { $as_echo "$as_me:${as_lineno-$LINENO}: unsupported compiler flags: $UNSUPPORTED" >&5
25344 $as_echo "$as_me: unsupported compiler flags: $UNSUPPORTED" >&6;}
25345     fi
25346   fi
25347
25348
25349
25350   { $as_echo "$as_me:${as_lineno-$LINENO}: set WARNING_CFLAGS to $WARNING_CFLAGS" >&5
25351 $as_echo "$as_me: set WARNING_CFLAGS to $WARNING_CFLAGS" >&6;}
25352   { $as_echo "$as_me:${as_lineno-$LINENO}: set ERROR_CFLAGS to $ERROR_CFLAGS" >&5
25353 $as_echo "$as_me: set ERROR_CFLAGS to $ERROR_CFLAGS" >&6;}
25354
25355 else
25356
25357
25358
25359
25360   WARNING_CFLAGS=""
25361   ERROR_CFLAGS=""
25362
25363
25364   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wall" >&5
25365 $as_echo_n "checking to see if compiler understands -Wall... " >&6; }
25366
25367   save_CFLAGS="$CFLAGS"
25368   CFLAGS="$CFLAGS -Wall"
25369
25370   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25371 /* end confdefs.h.  */
25372
25373 int
25374 main ()
25375 {
25376
25377   ;
25378   return 0;
25379 }
25380 _ACEOF
25381 if ac_fn_c_try_compile "$LINENO"; then :
25382   flag_ok=yes
25383 else
25384   flag_ok=no
25385 fi
25386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25387   CFLAGS="$save_CFLAGS"
25388
25389   if test "X$flag_ok" = Xyes ; then
25390     WARNING_CFLAGS="$WARNING_CFLAGS -Wall"
25391     true
25392   else
25393
25394     true
25395   fi
25396   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25397 $as_echo "$flag_ok" >&6; }
25398
25399
25400
25401   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wdeclaration-after-statement" >&5
25402 $as_echo_n "checking to see if compiler understands -Wdeclaration-after-statement... " >&6; }
25403
25404   save_CFLAGS="$CFLAGS"
25405   CFLAGS="$CFLAGS -Wdeclaration-after-statement"
25406
25407   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25408 /* end confdefs.h.  */
25409
25410 int
25411 main ()
25412 {
25413
25414   ;
25415   return 0;
25416 }
25417 _ACEOF
25418 if ac_fn_c_try_compile "$LINENO"; then :
25419   flag_ok=yes
25420 else
25421   flag_ok=no
25422 fi
25423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25424   CFLAGS="$save_CFLAGS"
25425
25426   if test "X$flag_ok" = Xyes ; then
25427     WARNING_CFLAGS="$WARNING_CFLAGS -Wdeclaration-after-statement"
25428     true
25429   else
25430
25431     true
25432   fi
25433   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25434 $as_echo "$flag_ok" >&6; }
25435
25436
25437
25438   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wvla" >&5
25439 $as_echo_n "checking to see if compiler understands -Wvla... " >&6; }
25440
25441   save_CFLAGS="$CFLAGS"
25442   CFLAGS="$CFLAGS -Wvla"
25443
25444   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25445 /* end confdefs.h.  */
25446
25447 int
25448 main ()
25449 {
25450
25451   ;
25452   return 0;
25453 }
25454 _ACEOF
25455 if ac_fn_c_try_compile "$LINENO"; then :
25456   flag_ok=yes
25457 else
25458   flag_ok=no
25459 fi
25460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25461   CFLAGS="$save_CFLAGS"
25462
25463   if test "X$flag_ok" = Xyes ; then
25464     WARNING_CFLAGS="$WARNING_CFLAGS -Wvla"
25465     true
25466   else
25467
25468     true
25469   fi
25470   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25471 $as_echo "$flag_ok" >&6; }
25472
25473
25474
25475   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wpointer-arith" >&5
25476 $as_echo_n "checking to see if compiler understands -Wpointer-arith... " >&6; }
25477
25478   save_CFLAGS="$CFLAGS"
25479   CFLAGS="$CFLAGS -Wpointer-arith"
25480
25481   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25482 /* end confdefs.h.  */
25483
25484 int
25485 main ()
25486 {
25487
25488   ;
25489   return 0;
25490 }
25491 _ACEOF
25492 if ac_fn_c_try_compile "$LINENO"; then :
25493   flag_ok=yes
25494 else
25495   flag_ok=no
25496 fi
25497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25498   CFLAGS="$save_CFLAGS"
25499
25500   if test "X$flag_ok" = Xyes ; then
25501     WARNING_CFLAGS="$WARNING_CFLAGS -Wpointer-arith"
25502     true
25503   else
25504
25505     true
25506   fi
25507   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25508 $as_echo "$flag_ok" >&6; }
25509
25510
25511     if test "x$GST_GIT" != "xno"
25512   then
25513
25514   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Werror" >&5
25515 $as_echo_n "checking to see if compiler understands -Werror... " >&6; }
25516
25517   save_CFLAGS="$CFLAGS"
25518   CFLAGS="$CFLAGS -Werror"
25519
25520   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25521 /* end confdefs.h.  */
25522
25523 int
25524 main ()
25525 {
25526
25527   ;
25528   return 0;
25529 }
25530 _ACEOF
25531 if ac_fn_c_try_compile "$LINENO"; then :
25532   flag_ok=yes
25533 else
25534   flag_ok=no
25535 fi
25536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25537   CFLAGS="$save_CFLAGS"
25538
25539   if test "X$flag_ok" = Xyes ; then
25540     ERROR_CFLAGS="$ERROR_CFLAGS -Werror"
25541     true
25542   else
25543
25544     true
25545   fi
25546   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25547 $as_echo "$flag_ok" >&6; }
25548
25549
25550         if test "x$ERROR_CFLAGS" = "x"
25551     then
25552
25553   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -errwarn=%all" >&5
25554 $as_echo_n "checking to see if compiler understands -errwarn=%all... " >&6; }
25555
25556   save_CFLAGS="$CFLAGS"
25557   CFLAGS="$CFLAGS -errwarn=%all"
25558
25559   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25560 /* end confdefs.h.  */
25561
25562 int
25563 main ()
25564 {
25565
25566   ;
25567   return 0;
25568 }
25569 _ACEOF
25570 if ac_fn_c_try_compile "$LINENO"; then :
25571   flag_ok=yes
25572 else
25573   flag_ok=no
25574 fi
25575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25576   CFLAGS="$save_CFLAGS"
25577
25578   if test "X$flag_ok" = Xyes ; then
25579
25580           ERROR_CFLAGS="-errwarn=%all"
25581                                                                                 for f in 'no%E_EMPTY_DECLARATION' \
25582                    'no%E_STATEMENT_NOT_REACHED' \
25583                    'no%E_ARGUEMENT_MISMATCH' \
25584                    'no%E_MACRO_REDEFINED' \
25585                    'no%E_LOOP_NOT_ENTERED_AT_TOP'
25586           do
25587
25588   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -errwarn=%all,$f" >&5
25589 $as_echo_n "checking to see if compiler understands -errwarn=%all,$f... " >&6; }
25590
25591   save_CFLAGS="$CFLAGS"
25592   CFLAGS="$CFLAGS -errwarn=%all,$f"
25593
25594   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25595 /* end confdefs.h.  */
25596
25597 int
25598 main ()
25599 {
25600
25601   ;
25602   return 0;
25603 }
25604 _ACEOF
25605 if ac_fn_c_try_compile "$LINENO"; then :
25606   flag_ok=yes
25607 else
25608   flag_ok=no
25609 fi
25610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25611   CFLAGS="$save_CFLAGS"
25612
25613   if test "X$flag_ok" = Xyes ; then
25614
25615               ERROR_CFLAGS="$ERROR_CFLAGS,$f"
25616
25617     true
25618   else
25619
25620     true
25621   fi
25622   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25623 $as_echo "$flag_ok" >&6; }
25624
25625           done
25626
25627     true
25628   else
25629
25630     true
25631   fi
25632   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25633 $as_echo "$flag_ok" >&6; }
25634
25635     else
25636                         if test -n "$PKG_CONFIG" && \
25637     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 < 2.19.8\""; } >&5
25638   ($PKG_CONFIG --exists --print-errors "glib-2.0 < 2.19.8") 2>&5
25639   ac_status=$?
25640   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25641   test $ac_status = 0; }; then
25642
25643
25644   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -fno-strict-aliasing" >&5
25645 $as_echo_n "checking to see if compiler understands -fno-strict-aliasing... " >&6; }
25646
25647   save_CFLAGS="$CFLAGS"
25648   CFLAGS="$CFLAGS -fno-strict-aliasing"
25649
25650   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25651 /* end confdefs.h.  */
25652
25653 int
25654 main ()
25655 {
25656
25657   ;
25658   return 0;
25659 }
25660 _ACEOF
25661 if ac_fn_c_try_compile "$LINENO"; then :
25662   flag_ok=yes
25663 else
25664   flag_ok=no
25665 fi
25666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25667   CFLAGS="$save_CFLAGS"
25668
25669   if test "X$flag_ok" = Xyes ; then
25670     ERROR_CFLAGS="$ERROR_CFLAGS -fno-strict-aliasing"
25671     true
25672   else
25673
25674     true
25675   fi
25676   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25677 $as_echo "$flag_ok" >&6; }
25678
25679
25680 fi
25681     fi
25682   fi
25683
25684   if test "x
25685         -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls
25686         -Wwrite-strings -Wold-style-definition
25687         -Winit-self -Wmissing-include-dirs -Wno-multichar
25688         -Wnested-externs " != "x"
25689   then
25690     UNSUPPORTED=""
25691     list="
25692         -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls
25693         -Wwrite-strings -Wold-style-definition
25694         -Winit-self -Wmissing-include-dirs -Wno-multichar
25695         -Wnested-externs "
25696     for each in $list
25697     do
25698
25699   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands $each" >&5
25700 $as_echo_n "checking to see if compiler understands $each... " >&6; }
25701
25702   save_CFLAGS="$CFLAGS"
25703   CFLAGS="$CFLAGS $each"
25704
25705   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25706 /* end confdefs.h.  */
25707
25708 int
25709 main ()
25710 {
25711
25712   ;
25713   return 0;
25714 }
25715 _ACEOF
25716 if ac_fn_c_try_compile "$LINENO"; then :
25717   flag_ok=yes
25718 else
25719   flag_ok=no
25720 fi
25721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25722   CFLAGS="$save_CFLAGS"
25723
25724   if test "X$flag_ok" = Xyes ; then
25725     WARNING_CFLAGS="$WARNING_CFLAGS $each"
25726     true
25727   else
25728     UNSUPPORTED="$UNSUPPORTED $each"
25729     true
25730   fi
25731   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25732 $as_echo "$flag_ok" >&6; }
25733
25734     done
25735     if test "X$UNSUPPORTED" != X ; then
25736       { $as_echo "$as_me:${as_lineno-$LINENO}: unsupported compiler flags: $UNSUPPORTED" >&5
25737 $as_echo "$as_me: unsupported compiler flags: $UNSUPPORTED" >&6;}
25738     fi
25739   fi
25740
25741
25742
25743   { $as_echo "$as_me:${as_lineno-$LINENO}: set WARNING_CFLAGS to $WARNING_CFLAGS" >&5
25744 $as_echo "$as_me: set WARNING_CFLAGS to $WARNING_CFLAGS" >&6;}
25745   { $as_echo "$as_me:${as_lineno-$LINENO}: set ERROR_CFLAGS to $ERROR_CFLAGS" >&5
25746 $as_echo "$as_me: set ERROR_CFLAGS to $ERROR_CFLAGS" >&6;}
25747
25748 fi
25749
25750
25751
25752
25753   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands " >&5
25754 $as_echo_n "checking to see if c++ compiler understands ... " >&6; }
25755
25756   save_CPPFLAGS="$CPPFLAGS"
25757   CPPFLAGS="$CPPFLAGS "
25758
25759   ac_ext=cpp
25760 ac_cpp='$CXXCPP $CPPFLAGS'
25761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25764
25765
25766   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25767 /* end confdefs.h.  */
25768
25769 int
25770 main ()
25771 {
25772
25773   ;
25774   return 0;
25775 }
25776 _ACEOF
25777 if ac_fn_cxx_try_compile "$LINENO"; then :
25778   flag_ok=yes
25779 else
25780   flag_ok=no
25781 fi
25782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25783   CPPFLAGS="$save_CPPFLAGS"
25784
25785   if test "X$flag_ok" = Xyes ; then
25786
25787     true
25788   else
25789
25790     true
25791   fi
25792
25793   ac_ext=c
25794 ac_cpp='$CPP $CPPFLAGS'
25795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25798
25799
25800   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25801 $as_echo "$flag_ok" >&6; }
25802
25803
25804
25805
25806
25807   ERROR_CXXFLAGS=""
25808   WARNING_CXXFLAGS=""
25809
25810
25811
25812
25813   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -Wall" >&5
25814 $as_echo_n "checking to see if c++ compiler understands -Wall... " >&6; }
25815
25816   save_CPPFLAGS="$CPPFLAGS"
25817   CPPFLAGS="$CPPFLAGS -Wall"
25818
25819   ac_ext=cpp
25820 ac_cpp='$CXXCPP $CPPFLAGS'
25821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25824
25825
25826   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25827 /* end confdefs.h.  */
25828
25829 int
25830 main ()
25831 {
25832
25833   ;
25834   return 0;
25835 }
25836 _ACEOF
25837 if ac_fn_cxx_try_compile "$LINENO"; then :
25838   flag_ok=yes
25839 else
25840   flag_ok=no
25841 fi
25842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25843   CPPFLAGS="$save_CPPFLAGS"
25844
25845   if test "X$flag_ok" = Xyes ; then
25846     WARNING_CXXFLAGS="$WARNING_CXXFLAGS -Wall"
25847     true
25848   else
25849
25850     true
25851   fi
25852
25853   ac_ext=c
25854 ac_cpp='$CPP $CPPFLAGS'
25855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25858
25859
25860   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25861 $as_echo "$flag_ok" >&6; }
25862
25863
25864     if test "x$GST_GIT" != "xno"
25865   then
25866
25867
25868
25869   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -Werror" >&5
25870 $as_echo_n "checking to see if c++ compiler understands -Werror... " >&6; }
25871
25872   save_CPPFLAGS="$CPPFLAGS"
25873   CPPFLAGS="$CPPFLAGS -Werror"
25874
25875   ac_ext=cpp
25876 ac_cpp='$CXXCPP $CPPFLAGS'
25877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25880
25881
25882   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25883 /* end confdefs.h.  */
25884
25885 int
25886 main ()
25887 {
25888
25889   ;
25890   return 0;
25891 }
25892 _ACEOF
25893 if ac_fn_cxx_try_compile "$LINENO"; then :
25894   flag_ok=yes
25895 else
25896   flag_ok=no
25897 fi
25898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25899   CPPFLAGS="$save_CPPFLAGS"
25900
25901   if test "X$flag_ok" = Xyes ; then
25902     ERROR_CXXFLAGS="$ERROR_CXXFLAGS -Werror"
25903     true
25904   else
25905
25906     true
25907   fi
25908
25909   ac_ext=c
25910 ac_cpp='$CPP $CPPFLAGS'
25911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25914
25915
25916   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25917 $as_echo "$flag_ok" >&6; }
25918
25919
25920     if test "x$ERROR_CXXFLAGS" != "x"
25921     then
25922
25923
25924
25925   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -Wno-non-virtual-dtor" >&5
25926 $as_echo_n "checking to see if c++ compiler understands -Wno-non-virtual-dtor... " >&6; }
25927
25928   save_CPPFLAGS="$CPPFLAGS"
25929   CPPFLAGS="$CPPFLAGS -Wno-non-virtual-dtor"
25930
25931   ac_ext=cpp
25932 ac_cpp='$CXXCPP $CPPFLAGS'
25933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25936
25937
25938   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25939 /* end confdefs.h.  */
25940
25941 int
25942 main ()
25943 {
25944
25945   ;
25946   return 0;
25947 }
25948 _ACEOF
25949 if ac_fn_cxx_try_compile "$LINENO"; then :
25950   flag_ok=yes
25951 else
25952   flag_ok=no
25953 fi
25954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25955   CPPFLAGS="$save_CPPFLAGS"
25956
25957   if test "X$flag_ok" = Xyes ; then
25958     ERROR_CXXFLAGS="$ERROR_CXXFLAGS -Wno-non-virtual-dtor"
25959     true
25960   else
25961
25962     true
25963   fi
25964
25965   ac_ext=c
25966 ac_cpp='$CPP $CPPFLAGS'
25967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25970
25971
25972   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25973 $as_echo "$flag_ok" >&6; }
25974
25975
25976                                 if test -n "$PKG_CONFIG" && \
25977     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 < 2.19.8\""; } >&5
25978   ($PKG_CONFIG --exists --print-errors "glib-2.0 < 2.19.8") 2>&5
25979   ac_status=$?
25980   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25981   test $ac_status = 0; }; then
25982
25983
25984
25985
25986   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -fno-strict-aliasing" >&5
25987 $as_echo_n "checking to see if c++ compiler understands -fno-strict-aliasing... " >&6; }
25988
25989   save_CPPFLAGS="$CPPFLAGS"
25990   CPPFLAGS="$CPPFLAGS -fno-strict-aliasing"
25991
25992   ac_ext=cpp
25993 ac_cpp='$CXXCPP $CPPFLAGS'
25994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25997
25998
25999   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26000 /* end confdefs.h.  */
26001
26002 int
26003 main ()
26004 {
26005
26006   ;
26007   return 0;
26008 }
26009 _ACEOF
26010 if ac_fn_cxx_try_compile "$LINENO"; then :
26011   flag_ok=yes
26012 else
26013   flag_ok=no
26014 fi
26015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26016   CPPFLAGS="$save_CPPFLAGS"
26017
26018   if test "X$flag_ok" = Xyes ; then
26019     ERROR_CXXFLAGS="$ERROR_CXXFLAGS -fno-strict-aliasing"
26020     true
26021   else
26022
26023     true
26024   fi
26025
26026   ac_ext=c
26027 ac_cpp='$CPP $CPPFLAGS'
26028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26031
26032
26033   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
26034 $as_echo "$flag_ok" >&6; }
26035
26036
26037 fi
26038     else
26039
26040
26041
26042   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -errwarn=%all" >&5
26043 $as_echo_n "checking to see if c++ compiler understands -errwarn=%all... " >&6; }
26044
26045   save_CPPFLAGS="$CPPFLAGS"
26046   CPPFLAGS="$CPPFLAGS -errwarn=%all"
26047
26048   ac_ext=cpp
26049 ac_cpp='$CXXCPP $CPPFLAGS'
26050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26053
26054
26055   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26056 /* end confdefs.h.  */
26057
26058 int
26059 main ()
26060 {
26061
26062   ;
26063   return 0;
26064 }
26065 _ACEOF
26066 if ac_fn_cxx_try_compile "$LINENO"; then :
26067   flag_ok=yes
26068 else
26069   flag_ok=no
26070 fi
26071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26072   CPPFLAGS="$save_CPPFLAGS"
26073
26074   if test "X$flag_ok" = Xyes ; then
26075     ERROR_CXXFLAGS="$ERROR_CXXFLAGS -errwarn=%all"
26076     true
26077   else
26078
26079     true
26080   fi
26081
26082   ac_ext=c
26083 ac_cpp='$CPP $CPPFLAGS'
26084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26087
26088
26089   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
26090 $as_echo "$flag_ok" >&6; }
26091
26092       if test "x$ERROR_CXXFLAGS" != "x"; then
26093                                                                                 for f in 'no%E_EMPTY_DECLARATION' \
26094                  'no%E_STATEMENT_NOT_REACHED' \
26095                  'no%E_ARGUEMENT_MISMATCH' \
26096                  'no%E_MACRO_REDEFINED' \
26097                  'no%E_LOOP_NOT_ENTERED_AT_TOP'
26098         do
26099
26100
26101
26102   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -errwarn=%all,$f" >&5
26103 $as_echo_n "checking to see if c++ compiler understands -errwarn=%all,$f... " >&6; }
26104
26105   save_CPPFLAGS="$CPPFLAGS"
26106   CPPFLAGS="$CPPFLAGS -errwarn=%all,$f"
26107
26108   ac_ext=cpp
26109 ac_cpp='$CXXCPP $CPPFLAGS'
26110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26113
26114
26115   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26116 /* end confdefs.h.  */
26117
26118 int
26119 main ()
26120 {
26121
26122   ;
26123   return 0;
26124 }
26125 _ACEOF
26126 if ac_fn_cxx_try_compile "$LINENO"; then :
26127   flag_ok=yes
26128 else
26129   flag_ok=no
26130 fi
26131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26132   CPPFLAGS="$save_CPPFLAGS"
26133
26134   if test "X$flag_ok" = Xyes ; then
26135     ERROR_CXXFLAGS="$ERROR_CXXFLAGS
26136     true
26137   else
26138     $f"
26139     true
26140   fi
26141
26142   ac_ext=c
26143 ac_cpp='$CPP $CPPFLAGS'
26144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26147
26148
26149   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
26150 $as_echo "$flag_ok" >&6; }
26151
26152         done
26153       fi
26154     fi
26155   fi
26156
26157   if test "x
26158         -Wmissing-declarations -Wredundant-decls
26159         -Wwrite-strings
26160         -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar " != "x"
26161   then
26162     UNSUPPORTED=""
26163     list="
26164         -Wmissing-declarations -Wredundant-decls
26165         -Wwrite-strings
26166         -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar "
26167     for each in $list
26168     do
26169
26170
26171
26172   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands $each" >&5
26173 $as_echo_n "checking to see if c++ compiler understands $each... " >&6; }
26174
26175   save_CPPFLAGS="$CPPFLAGS"
26176   CPPFLAGS="$CPPFLAGS $each"
26177
26178   ac_ext=cpp
26179 ac_cpp='$CXXCPP $CPPFLAGS'
26180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26183
26184
26185   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26186 /* end confdefs.h.  */
26187
26188 int
26189 main ()
26190 {
26191
26192   ;
26193   return 0;
26194 }
26195 _ACEOF
26196 if ac_fn_cxx_try_compile "$LINENO"; then :
26197   flag_ok=yes
26198 else
26199   flag_ok=no
26200 fi
26201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26202   CPPFLAGS="$save_CPPFLAGS"
26203
26204   if test "X$flag_ok" = Xyes ; then
26205     WARNING_CXXFLAGS="$WARNING_CXXFLAGS $each"
26206     true
26207   else
26208     UNSUPPORTED="$UNSUPPORTED $each"
26209     true
26210   fi
26211
26212   ac_ext=c
26213 ac_cpp='$CPP $CPPFLAGS'
26214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26217
26218
26219   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
26220 $as_echo "$flag_ok" >&6; }
26221
26222     done
26223     if test "X$UNSUPPORTED" != X ; then
26224       { $as_echo "$as_me:${as_lineno-$LINENO}: unsupported compiler flags: $UNSUPPORTED" >&5
26225 $as_echo "$as_me: unsupported compiler flags: $UNSUPPORTED" >&6;}
26226     fi
26227   fi
26228
26229
26230
26231   { $as_echo "$as_me:${as_lineno-$LINENO}: set WARNING_CXXFLAGS to $WARNING_CXXFLAGS" >&5
26232 $as_echo "$as_me: set WARNING_CXXFLAGS to $WARNING_CXXFLAGS" >&6;}
26233   { $as_echo "$as_me:${as_lineno-$LINENO}: set ERROR_CXXFLAGS to $ERROR_CXXFLAGS" >&5
26234 $as_echo "$as_me: set ERROR_CXXFLAGS to $ERROR_CXXFLAGS" >&6;}
26235
26236
26237
26238       if test "x$GST_GIT" = "xyes"; then
26239     GST_LEVEL_DEFAULT=GST_LEVEL_ERROR
26240   else
26241     GST_LEVEL_DEFAULT=GST_LEVEL_NONE
26242   fi
26243
26244 cat >>confdefs.h <<_ACEOF
26245 #define GST_LEVEL_DEFAULT $GST_LEVEL_DEFAULT
26246 _ACEOF
26247
26248
26249
26250
26251
26252             DEFAULT_AUDIOSINK="autoaudiosink"
26253   DEFAULT_VIDEOSINK="autovideosink"
26254   DEFAULT_AUDIOSRC="alsasrc"
26255   DEFAULT_VIDEOSRC="v4l2src"
26256   DEFAULT_VISUALIZER="goom"
26257   case "$host" in
26258     *-sun-* | *pc-solaris* )
26259       DEFAULT_AUDIOSRC="sunaudiosrc"
26260       ;;
26261     *-darwin* )
26262       DEFAULT_AUDIOSRC="osxaudiosrc"
26263       ;;
26264   esac
26265
26266
26267 # Check whether --with-default-audiosink was given.
26268 if test "${with_default_audiosink+set}" = set; then :
26269   withval=$with_default_audiosink;
26270       case "${withval}" in
26271         yes) as_fn_error $? "bad value ${withval} for --with-default-audiosink" "$LINENO" 5 ;;
26272         no)  as_fn_error $? "bad value ${withval} for --with-default-audiosink" "$LINENO" 5 ;;
26273         *)   DEFAULT_AUDIOSINK="${withval}" ;;
26274       esac
26275
26276 else
26277
26278       DEFAULT_AUDIOSINK="$DEFAULT_AUDIOSINK"
26279
26280 fi
26281
26282   { $as_echo "$as_me:${as_lineno-$LINENO}: Using $DEFAULT_AUDIOSINK as default audio sink" >&5
26283 $as_echo "$as_me: Using $DEFAULT_AUDIOSINK as default audio sink" >&6;}
26284
26285
26286 cat >>confdefs.h <<_ACEOF
26287 #define DEFAULT_AUDIOSINK "$DEFAULT_AUDIOSINK"
26288 _ACEOF
26289
26290
26291
26292 # Check whether --with-default-audiosrc was given.
26293 if test "${with_default_audiosrc+set}" = set; then :
26294   withval=$with_default_audiosrc;
26295       case "${withval}" in
26296         yes) as_fn_error $? "bad value ${withval} for --with-default-audiosrc" "$LINENO" 5 ;;
26297         no)  as_fn_error $? "bad value ${withval} for --with-default-audiosrc" "$LINENO" 5 ;;
26298         *)   DEFAULT_AUDIOSRC="${withval}" ;;
26299       esac
26300
26301 else
26302
26303       DEFAULT_AUDIOSRC="$DEFAULT_AUDIOSRC"
26304
26305 fi
26306
26307   { $as_echo "$as_me:${as_lineno-$LINENO}: Using $DEFAULT_AUDIOSRC as default audio source" >&5
26308 $as_echo "$as_me: Using $DEFAULT_AUDIOSRC as default audio source" >&6;}
26309
26310
26311 cat >>confdefs.h <<_ACEOF
26312 #define DEFAULT_AUDIOSRC "$DEFAULT_AUDIOSRC"
26313 _ACEOF
26314
26315
26316
26317 # Check whether --with-default-videosink was given.
26318 if test "${with_default_videosink+set}" = set; then :
26319   withval=$with_default_videosink;
26320       case "${withval}" in
26321         yes) as_fn_error $? "bad value ${withval} for --with-default-videosink" "$LINENO" 5 ;;
26322         no)  as_fn_error $? "bad value ${withval} for --with-default-videosink" "$LINENO" 5 ;;
26323         *)   DEFAULT_VIDEOSINK="${withval}" ;;
26324       esac
26325
26326 else
26327
26328       DEFAULT_VIDEOSINK="$DEFAULT_VIDEOSINK"
26329
26330 fi
26331
26332   { $as_echo "$as_me:${as_lineno-$LINENO}: Using $DEFAULT_VIDEOSINK as default video sink" >&5
26333 $as_echo "$as_me: Using $DEFAULT_VIDEOSINK as default video sink" >&6;}
26334
26335
26336 cat >>confdefs.h <<_ACEOF
26337 #define DEFAULT_VIDEOSINK "$DEFAULT_VIDEOSINK"
26338 _ACEOF
26339
26340
26341
26342 # Check whether --with-default-videosrc was given.
26343 if test "${with_default_videosrc+set}" = set; then :
26344   withval=$with_default_videosrc;
26345       case "${withval}" in
26346         yes) as_fn_error $? "bad value ${withval} for --with-default-videosrc" "$LINENO" 5 ;;
26347         no)  as_fn_error $? "bad value ${withval} for --with-default-videosrc" "$LINENO" 5 ;;
26348         *)   DEFAULT_VIDEOSRC="${withval}" ;;
26349       esac
26350
26351 else
26352
26353       DEFAULT_VIDEOSRC="$DEFAULT_VIDEOSRC"
26354
26355 fi
26356
26357   { $as_echo "$as_me:${as_lineno-$LINENO}: Using $DEFAULT_VIDEOSRC as default video source" >&5
26358 $as_echo "$as_me: Using $DEFAULT_VIDEOSRC as default video source" >&6;}
26359
26360
26361 cat >>confdefs.h <<_ACEOF
26362 #define DEFAULT_VIDEOSRC "$DEFAULT_VIDEOSRC"
26363 _ACEOF
26364
26365
26366
26367 # Check whether --with-default-visualizer was given.
26368 if test "${with_default_visualizer+set}" = set; then :
26369   withval=$with_default_visualizer;
26370       case "${withval}" in
26371         yes) as_fn_error $? "bad value ${withval} for --with-default-visualizer" "$LINENO" 5 ;;
26372         no)  as_fn_error $? "bad value ${withval} for --with-default-visualizer" "$LINENO" 5 ;;
26373         *)   DEFAULT_VISUALIZER="${withval}" ;;
26374       esac
26375
26376 else
26377
26378       DEFAULT_VISUALIZER="$DEFAULT_VISUALIZER"
26379
26380 fi
26381
26382   { $as_echo "$as_me:${as_lineno-$LINENO}: Using $DEFAULT_VISUALIZER as default visualizer" >&5
26383 $as_echo "$as_me: Using $DEFAULT_VISUALIZER as default visualizer" >&6;}
26384
26385
26386 cat >>confdefs.h <<_ACEOF
26387 #define DEFAULT_VISUALIZER "$DEFAULT_VISUALIZER"
26388 _ACEOF
26389
26390
26391
26392
26393
26394   GST_PLUGINS_ALL="$GST_PLUGINS_ALL videofilter"
26395
26396
26397
26398   # Check whether --enable-videofilter was given.
26399 if test "${enable_videofilter+set}" = set; then :
26400   enableval=$enable_videofilter;
26401       case "${enableval}" in
26402         yes) gst_use_videofilter=yes ;;
26403         no) gst_use_videofilter=no ;;
26404         *) as_fn_error $? "bad value ${enableval} for --enable-videofilter" "$LINENO" 5 ;;
26405        esac
26406
26407 else
26408   gst_use_videofilter=yes
26409 fi
26410
26411   if test x$gst_use_videofilter = xno; then
26412     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin videofilter" >&5
26413 $as_echo "$as_me: disabling dependency-less plugin videofilter" >&6;}
26414     WITHOUT_PLUGINS="$WITHOUT_PLUGINS videofilter"
26415   fi
26416
26417
26418   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " videofilter " > /dev/null; then
26419     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED videofilter"
26420   fi
26421   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " videofilter " > /dev/null; then
26422     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ videofilter / /'`
26423   fi
26424    if echo " $GST_PLUGINS_SELECTED " | grep -i " videofilter " > /dev/null; then
26425   USE_PLUGIN_VIDEOFILTER_TRUE=
26426   USE_PLUGIN_VIDEOFILTER_FALSE='#'
26427 else
26428   USE_PLUGIN_VIDEOFILTER_TRUE='#'
26429   USE_PLUGIN_VIDEOFILTER_FALSE=
26430 fi
26431
26432
26433
26434   GST_PLUGINS_ALL="$GST_PLUGINS_ALL alpha"
26435
26436
26437
26438   # Check whether --enable-alpha was given.
26439 if test "${enable_alpha+set}" = set; then :
26440   enableval=$enable_alpha;
26441       case "${enableval}" in
26442         yes) gst_use_alpha=yes ;;
26443         no) gst_use_alpha=no ;;
26444         *) as_fn_error $? "bad value ${enableval} for --enable-alpha" "$LINENO" 5 ;;
26445        esac
26446
26447 else
26448   gst_use_alpha=yes
26449 fi
26450
26451   if test x$gst_use_alpha = xno; then
26452     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin alpha" >&5
26453 $as_echo "$as_me: disabling dependency-less plugin alpha" >&6;}
26454     WITHOUT_PLUGINS="$WITHOUT_PLUGINS alpha"
26455   fi
26456
26457
26458   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " alpha " > /dev/null; then
26459     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED alpha"
26460   fi
26461   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " alpha " > /dev/null; then
26462     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ alpha / /'`
26463   fi
26464    if echo " $GST_PLUGINS_SELECTED " | grep -i " alpha " > /dev/null; then
26465   USE_PLUGIN_ALPHA_TRUE=
26466   USE_PLUGIN_ALPHA_FALSE='#'
26467 else
26468   USE_PLUGIN_ALPHA_TRUE='#'
26469   USE_PLUGIN_ALPHA_FALSE=
26470 fi
26471
26472
26473
26474   GST_PLUGINS_ALL="$GST_PLUGINS_ALL apetag"
26475
26476
26477
26478   # Check whether --enable-apetag was given.
26479 if test "${enable_apetag+set}" = set; then :
26480   enableval=$enable_apetag;
26481       case "${enableval}" in
26482         yes) gst_use_apetag=yes ;;
26483         no) gst_use_apetag=no ;;
26484         *) as_fn_error $? "bad value ${enableval} for --enable-apetag" "$LINENO" 5 ;;
26485        esac
26486
26487 else
26488   gst_use_apetag=yes
26489 fi
26490
26491   if test x$gst_use_apetag = xno; then
26492     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin apetag" >&5
26493 $as_echo "$as_me: disabling dependency-less plugin apetag" >&6;}
26494     WITHOUT_PLUGINS="$WITHOUT_PLUGINS apetag"
26495   fi
26496
26497
26498   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " apetag " > /dev/null; then
26499     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED apetag"
26500   fi
26501   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " apetag " > /dev/null; then
26502     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ apetag / /'`
26503   fi
26504    if echo " $GST_PLUGINS_SELECTED " | grep -i " apetag " > /dev/null; then
26505   USE_PLUGIN_APETAG_TRUE=
26506   USE_PLUGIN_APETAG_FALSE='#'
26507 else
26508   USE_PLUGIN_APETAG_TRUE='#'
26509   USE_PLUGIN_APETAG_FALSE=
26510 fi
26511
26512
26513
26514   GST_PLUGINS_ALL="$GST_PLUGINS_ALL audiofx"
26515
26516
26517
26518   # Check whether --enable-audiofx was given.
26519 if test "${enable_audiofx+set}" = set; then :
26520   enableval=$enable_audiofx;
26521       case "${enableval}" in
26522         yes) gst_use_audiofx=yes ;;
26523         no) gst_use_audiofx=no ;;
26524         *) as_fn_error $? "bad value ${enableval} for --enable-audiofx" "$LINENO" 5 ;;
26525        esac
26526
26527 else
26528   gst_use_audiofx=yes
26529 fi
26530
26531   if test x$gst_use_audiofx = xno; then
26532     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin audiofx" >&5
26533 $as_echo "$as_me: disabling dependency-less plugin audiofx" >&6;}
26534     WITHOUT_PLUGINS="$WITHOUT_PLUGINS audiofx"
26535   fi
26536
26537
26538   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " audiofx " > /dev/null; then
26539     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED audiofx"
26540   fi
26541   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " audiofx " > /dev/null; then
26542     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ audiofx / /'`
26543   fi
26544    if echo " $GST_PLUGINS_SELECTED " | grep -i " audiofx " > /dev/null; then
26545   USE_PLUGIN_AUDIOFX_TRUE=
26546   USE_PLUGIN_AUDIOFX_FALSE='#'
26547 else
26548   USE_PLUGIN_AUDIOFX_TRUE='#'
26549   USE_PLUGIN_AUDIOFX_FALSE=
26550 fi
26551
26552
26553
26554   GST_PLUGINS_ALL="$GST_PLUGINS_ALL audioparsers"
26555
26556
26557
26558   # Check whether --enable-audioparsers was given.
26559 if test "${enable_audioparsers+set}" = set; then :
26560   enableval=$enable_audioparsers;
26561       case "${enableval}" in
26562         yes) gst_use_audioparsers=yes ;;
26563         no) gst_use_audioparsers=no ;;
26564         *) as_fn_error $? "bad value ${enableval} for --enable-audioparsers" "$LINENO" 5 ;;
26565        esac
26566
26567 else
26568   gst_use_audioparsers=yes
26569 fi
26570
26571   if test x$gst_use_audioparsers = xno; then
26572     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin audioparsers" >&5
26573 $as_echo "$as_me: disabling dependency-less plugin audioparsers" >&6;}
26574     WITHOUT_PLUGINS="$WITHOUT_PLUGINS audioparsers"
26575   fi
26576
26577
26578   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " audioparsers " > /dev/null; then
26579     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED audioparsers"
26580   fi
26581   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " audioparsers " > /dev/null; then
26582     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ audioparsers / /'`
26583   fi
26584    if echo " $GST_PLUGINS_SELECTED " | grep -i " audioparsers " > /dev/null; then
26585   USE_PLUGIN_AUDIOPARSERS_TRUE=
26586   USE_PLUGIN_AUDIOPARSERS_FALSE='#'
26587 else
26588   USE_PLUGIN_AUDIOPARSERS_TRUE='#'
26589   USE_PLUGIN_AUDIOPARSERS_FALSE=
26590 fi
26591
26592
26593
26594   GST_PLUGINS_ALL="$GST_PLUGINS_ALL auparse"
26595
26596
26597
26598   # Check whether --enable-auparse was given.
26599 if test "${enable_auparse+set}" = set; then :
26600   enableval=$enable_auparse;
26601       case "${enableval}" in
26602         yes) gst_use_auparse=yes ;;
26603         no) gst_use_auparse=no ;;
26604         *) as_fn_error $? "bad value ${enableval} for --enable-auparse" "$LINENO" 5 ;;
26605        esac
26606
26607 else
26608   gst_use_auparse=yes
26609 fi
26610
26611   if test x$gst_use_auparse = xno; then
26612     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin auparse" >&5
26613 $as_echo "$as_me: disabling dependency-less plugin auparse" >&6;}
26614     WITHOUT_PLUGINS="$WITHOUT_PLUGINS auparse"
26615   fi
26616
26617
26618   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " auparse " > /dev/null; then
26619     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED auparse"
26620   fi
26621   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " auparse " > /dev/null; then
26622     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ auparse / /'`
26623   fi
26624    if echo " $GST_PLUGINS_SELECTED " | grep -i " auparse " > /dev/null; then
26625   USE_PLUGIN_AUPARSE_TRUE=
26626   USE_PLUGIN_AUPARSE_FALSE='#'
26627 else
26628   USE_PLUGIN_AUPARSE_TRUE='#'
26629   USE_PLUGIN_AUPARSE_FALSE=
26630 fi
26631
26632
26633
26634   GST_PLUGINS_ALL="$GST_PLUGINS_ALL autodetect"
26635
26636
26637
26638   # Check whether --enable-autodetect was given.
26639 if test "${enable_autodetect+set}" = set; then :
26640   enableval=$enable_autodetect;
26641       case "${enableval}" in
26642         yes) gst_use_autodetect=yes ;;
26643         no) gst_use_autodetect=no ;;
26644         *) as_fn_error $? "bad value ${enableval} for --enable-autodetect" "$LINENO" 5 ;;
26645        esac
26646
26647 else
26648   gst_use_autodetect=yes
26649 fi
26650
26651   if test x$gst_use_autodetect = xno; then
26652     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin autodetect" >&5
26653 $as_echo "$as_me: disabling dependency-less plugin autodetect" >&6;}
26654     WITHOUT_PLUGINS="$WITHOUT_PLUGINS autodetect"
26655   fi
26656
26657
26658   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " autodetect " > /dev/null; then
26659     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED autodetect"
26660   fi
26661   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " autodetect " > /dev/null; then
26662     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ autodetect / /'`
26663   fi
26664    if echo " $GST_PLUGINS_SELECTED " | grep -i " autodetect " > /dev/null; then
26665   USE_PLUGIN_AUTODETECT_TRUE=
26666   USE_PLUGIN_AUTODETECT_FALSE='#'
26667 else
26668   USE_PLUGIN_AUTODETECT_TRUE='#'
26669   USE_PLUGIN_AUTODETECT_FALSE=
26670 fi
26671
26672
26673
26674   GST_PLUGINS_ALL="$GST_PLUGINS_ALL avi"
26675
26676
26677
26678   # Check whether --enable-avi was given.
26679 if test "${enable_avi+set}" = set; then :
26680   enableval=$enable_avi;
26681       case "${enableval}" in
26682         yes) gst_use_avi=yes ;;
26683         no) gst_use_avi=no ;;
26684         *) as_fn_error $? "bad value ${enableval} for --enable-avi" "$LINENO" 5 ;;
26685        esac
26686
26687 else
26688   gst_use_avi=yes
26689 fi
26690
26691   if test x$gst_use_avi = xno; then
26692     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin avi" >&5
26693 $as_echo "$as_me: disabling dependency-less plugin avi" >&6;}
26694     WITHOUT_PLUGINS="$WITHOUT_PLUGINS avi"
26695   fi
26696
26697
26698   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " avi " > /dev/null; then
26699     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED avi"
26700   fi
26701   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " avi " > /dev/null; then
26702     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ avi / /'`
26703   fi
26704    if echo " $GST_PLUGINS_SELECTED " | grep -i " avi " > /dev/null; then
26705   USE_PLUGIN_AVI_TRUE=
26706   USE_PLUGIN_AVI_FALSE='#'
26707 else
26708   USE_PLUGIN_AVI_TRUE='#'
26709   USE_PLUGIN_AVI_FALSE=
26710 fi
26711
26712
26713
26714   GST_PLUGINS_ALL="$GST_PLUGINS_ALL cutter"
26715
26716
26717
26718   # Check whether --enable-cutter was given.
26719 if test "${enable_cutter+set}" = set; then :
26720   enableval=$enable_cutter;
26721       case "${enableval}" in
26722         yes) gst_use_cutter=yes ;;
26723         no) gst_use_cutter=no ;;
26724         *) as_fn_error $? "bad value ${enableval} for --enable-cutter" "$LINENO" 5 ;;
26725        esac
26726
26727 else
26728   gst_use_cutter=yes
26729 fi
26730
26731   if test x$gst_use_cutter = xno; then
26732     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin cutter" >&5
26733 $as_echo "$as_me: disabling dependency-less plugin cutter" >&6;}
26734     WITHOUT_PLUGINS="$WITHOUT_PLUGINS cutter"
26735   fi
26736
26737
26738   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " cutter " > /dev/null; then
26739     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED cutter"
26740   fi
26741   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " cutter " > /dev/null; then
26742     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ cutter / /'`
26743   fi
26744    if echo " $GST_PLUGINS_SELECTED " | grep -i " cutter " > /dev/null; then
26745   USE_PLUGIN_CUTTER_TRUE=
26746   USE_PLUGIN_CUTTER_FALSE='#'
26747 else
26748   USE_PLUGIN_CUTTER_TRUE='#'
26749   USE_PLUGIN_CUTTER_FALSE=
26750 fi
26751
26752
26753
26754   GST_PLUGINS_ALL="$GST_PLUGINS_ALL debugutils"
26755
26756
26757
26758   # Check whether --enable-debugutils was given.
26759 if test "${enable_debugutils+set}" = set; then :
26760   enableval=$enable_debugutils;
26761       case "${enableval}" in
26762         yes) gst_use_debugutils=yes ;;
26763         no) gst_use_debugutils=no ;;
26764         *) as_fn_error $? "bad value ${enableval} for --enable-debugutils" "$LINENO" 5 ;;
26765        esac
26766
26767 else
26768   gst_use_debugutils=yes
26769 fi
26770
26771   if test x$gst_use_debugutils = xno; then
26772     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin debugutils" >&5
26773 $as_echo "$as_me: disabling dependency-less plugin debugutils" >&6;}
26774     WITHOUT_PLUGINS="$WITHOUT_PLUGINS debugutils"
26775   fi
26776
26777
26778   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " debugutils " > /dev/null; then
26779     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED debugutils"
26780   fi
26781   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " debugutils " > /dev/null; then
26782     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ debugutils / /'`
26783   fi
26784    if echo " $GST_PLUGINS_SELECTED " | grep -i " debugutils " > /dev/null; then
26785   USE_PLUGIN_DEBUGUTILS_TRUE=
26786   USE_PLUGIN_DEBUGUTILS_FALSE='#'
26787 else
26788   USE_PLUGIN_DEBUGUTILS_TRUE='#'
26789   USE_PLUGIN_DEBUGUTILS_FALSE=
26790 fi
26791
26792
26793
26794   GST_PLUGINS_ALL="$GST_PLUGINS_ALL deinterlace"
26795
26796
26797
26798   # Check whether --enable-deinterlace was given.
26799 if test "${enable_deinterlace+set}" = set; then :
26800   enableval=$enable_deinterlace;
26801       case "${enableval}" in
26802         yes) gst_use_deinterlace=yes ;;
26803         no) gst_use_deinterlace=no ;;
26804         *) as_fn_error $? "bad value ${enableval} for --enable-deinterlace" "$LINENO" 5 ;;
26805        esac
26806
26807 else
26808   gst_use_deinterlace=yes
26809 fi
26810
26811   if test x$gst_use_deinterlace = xno; then
26812     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin deinterlace" >&5
26813 $as_echo "$as_me: disabling dependency-less plugin deinterlace" >&6;}
26814     WITHOUT_PLUGINS="$WITHOUT_PLUGINS deinterlace"
26815   fi
26816
26817
26818   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " deinterlace " > /dev/null; then
26819     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED deinterlace"
26820   fi
26821   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " deinterlace " > /dev/null; then
26822     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ deinterlace / /'`
26823   fi
26824    if echo " $GST_PLUGINS_SELECTED " | grep -i " deinterlace " > /dev/null; then
26825   USE_PLUGIN_DEINTERLACE_TRUE=
26826   USE_PLUGIN_DEINTERLACE_FALSE='#'
26827 else
26828   USE_PLUGIN_DEINTERLACE_TRUE='#'
26829   USE_PLUGIN_DEINTERLACE_FALSE=
26830 fi
26831
26832
26833
26834   GST_PLUGINS_ALL="$GST_PLUGINS_ALL effectv"
26835
26836
26837
26838   # Check whether --enable-effectv was given.
26839 if test "${enable_effectv+set}" = set; then :
26840   enableval=$enable_effectv;
26841       case "${enableval}" in
26842         yes) gst_use_effectv=yes ;;
26843         no) gst_use_effectv=no ;;
26844         *) as_fn_error $? "bad value ${enableval} for --enable-effectv" "$LINENO" 5 ;;
26845        esac
26846
26847 else
26848   gst_use_effectv=yes
26849 fi
26850
26851   if test x$gst_use_effectv = xno; then
26852     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin effectv" >&5
26853 $as_echo "$as_me: disabling dependency-less plugin effectv" >&6;}
26854     WITHOUT_PLUGINS="$WITHOUT_PLUGINS effectv"
26855   fi
26856
26857
26858   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " effectv " > /dev/null; then
26859     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED effectv"
26860   fi
26861   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " effectv " > /dev/null; then
26862     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ effectv / /'`
26863   fi
26864    if echo " $GST_PLUGINS_SELECTED " | grep -i " effectv " > /dev/null; then
26865   USE_PLUGIN_EFFECTV_TRUE=
26866   USE_PLUGIN_EFFECTV_FALSE='#'
26867 else
26868   USE_PLUGIN_EFFECTV_TRUE='#'
26869   USE_PLUGIN_EFFECTV_FALSE=
26870 fi
26871
26872
26873
26874   GST_PLUGINS_ALL="$GST_PLUGINS_ALL equalizer"
26875
26876
26877
26878   # Check whether --enable-equalizer was given.
26879 if test "${enable_equalizer+set}" = set; then :
26880   enableval=$enable_equalizer;
26881       case "${enableval}" in
26882         yes) gst_use_equalizer=yes ;;
26883         no) gst_use_equalizer=no ;;
26884         *) as_fn_error $? "bad value ${enableval} for --enable-equalizer" "$LINENO" 5 ;;
26885        esac
26886
26887 else
26888   gst_use_equalizer=yes
26889 fi
26890
26891   if test x$gst_use_equalizer = xno; then
26892     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin equalizer" >&5
26893 $as_echo "$as_me: disabling dependency-less plugin equalizer" >&6;}
26894     WITHOUT_PLUGINS="$WITHOUT_PLUGINS equalizer"
26895   fi
26896
26897
26898   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " equalizer " > /dev/null; then
26899     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED equalizer"
26900   fi
26901   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " equalizer " > /dev/null; then
26902     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ equalizer / /'`
26903   fi
26904    if echo " $GST_PLUGINS_SELECTED " | grep -i " equalizer " > /dev/null; then
26905   USE_PLUGIN_EQUALIZER_TRUE=
26906   USE_PLUGIN_EQUALIZER_FALSE='#'
26907 else
26908   USE_PLUGIN_EQUALIZER_TRUE='#'
26909   USE_PLUGIN_EQUALIZER_FALSE=
26910 fi
26911
26912
26913
26914   GST_PLUGINS_ALL="$GST_PLUGINS_ALL flv"
26915
26916
26917
26918   # Check whether --enable-flv was given.
26919 if test "${enable_flv+set}" = set; then :
26920   enableval=$enable_flv;
26921       case "${enableval}" in
26922         yes) gst_use_flv=yes ;;
26923         no) gst_use_flv=no ;;
26924         *) as_fn_error $? "bad value ${enableval} for --enable-flv" "$LINENO" 5 ;;
26925        esac
26926
26927 else
26928   gst_use_flv=yes
26929 fi
26930
26931   if test x$gst_use_flv = xno; then
26932     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin flv" >&5
26933 $as_echo "$as_me: disabling dependency-less plugin flv" >&6;}
26934     WITHOUT_PLUGINS="$WITHOUT_PLUGINS flv"
26935   fi
26936
26937
26938   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " flv " > /dev/null; then
26939     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED flv"
26940   fi
26941   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " flv " > /dev/null; then
26942     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ flv / /'`
26943   fi
26944    if echo " $GST_PLUGINS_SELECTED " | grep -i " flv " > /dev/null; then
26945   USE_PLUGIN_FLV_TRUE=
26946   USE_PLUGIN_FLV_FALSE='#'
26947 else
26948   USE_PLUGIN_FLV_TRUE='#'
26949   USE_PLUGIN_FLV_FALSE=
26950 fi
26951
26952
26953
26954   GST_PLUGINS_ALL="$GST_PLUGINS_ALL id3demux"
26955
26956
26957
26958   # Check whether --enable-id3demux was given.
26959 if test "${enable_id3demux+set}" = set; then :
26960   enableval=$enable_id3demux;
26961       case "${enableval}" in
26962         yes) gst_use_id3demux=yes ;;
26963         no) gst_use_id3demux=no ;;
26964         *) as_fn_error $? "bad value ${enableval} for --enable-id3demux" "$LINENO" 5 ;;
26965        esac
26966
26967 else
26968   gst_use_id3demux=yes
26969 fi
26970
26971   if test x$gst_use_id3demux = xno; then
26972     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin id3demux" >&5
26973 $as_echo "$as_me: disabling dependency-less plugin id3demux" >&6;}
26974     WITHOUT_PLUGINS="$WITHOUT_PLUGINS id3demux"
26975   fi
26976
26977
26978   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " id3demux " > /dev/null; then
26979     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED id3demux"
26980   fi
26981   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " id3demux " > /dev/null; then
26982     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ id3demux / /'`
26983   fi
26984    if echo " $GST_PLUGINS_SELECTED " | grep -i " id3demux " > /dev/null; then
26985   USE_PLUGIN_ID3DEMUX_TRUE=
26986   USE_PLUGIN_ID3DEMUX_FALSE='#'
26987 else
26988   USE_PLUGIN_ID3DEMUX_TRUE='#'
26989   USE_PLUGIN_ID3DEMUX_FALSE=
26990 fi
26991
26992
26993
26994   GST_PLUGINS_ALL="$GST_PLUGINS_ALL icydemux"
26995
26996
26997
26998   # Check whether --enable-icydemux was given.
26999 if test "${enable_icydemux+set}" = set; then :
27000   enableval=$enable_icydemux;
27001       case "${enableval}" in
27002         yes) gst_use_icydemux=yes ;;
27003         no) gst_use_icydemux=no ;;
27004         *) as_fn_error $? "bad value ${enableval} for --enable-icydemux" "$LINENO" 5 ;;
27005        esac
27006
27007 else
27008   gst_use_icydemux=yes
27009 fi
27010
27011   if test x$gst_use_icydemux = xno; then
27012     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin icydemux" >&5
27013 $as_echo "$as_me: disabling dependency-less plugin icydemux" >&6;}
27014     WITHOUT_PLUGINS="$WITHOUT_PLUGINS icydemux"
27015   fi
27016
27017
27018   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " icydemux " > /dev/null; then
27019     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED icydemux"
27020   fi
27021   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " icydemux " > /dev/null; then
27022     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ icydemux / /'`
27023   fi
27024    if echo " $GST_PLUGINS_SELECTED " | grep -i " icydemux " > /dev/null; then
27025   USE_PLUGIN_ICYDEMUX_TRUE=
27026   USE_PLUGIN_ICYDEMUX_FALSE='#'
27027 else
27028   USE_PLUGIN_ICYDEMUX_TRUE='#'
27029   USE_PLUGIN_ICYDEMUX_FALSE=
27030 fi
27031
27032
27033
27034   GST_PLUGINS_ALL="$GST_PLUGINS_ALL interleave"
27035
27036
27037
27038   # Check whether --enable-interleave was given.
27039 if test "${enable_interleave+set}" = set; then :
27040   enableval=$enable_interleave;
27041       case "${enableval}" in
27042         yes) gst_use_interleave=yes ;;
27043         no) gst_use_interleave=no ;;
27044         *) as_fn_error $? "bad value ${enableval} for --enable-interleave" "$LINENO" 5 ;;
27045        esac
27046
27047 else
27048   gst_use_interleave=yes
27049 fi
27050
27051   if test x$gst_use_interleave = xno; then
27052     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin interleave" >&5
27053 $as_echo "$as_me: disabling dependency-less plugin interleave" >&6;}
27054     WITHOUT_PLUGINS="$WITHOUT_PLUGINS interleave"
27055   fi
27056
27057
27058   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " interleave " > /dev/null; then
27059     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED interleave"
27060   fi
27061   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " interleave " > /dev/null; then
27062     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ interleave / /'`
27063   fi
27064    if echo " $GST_PLUGINS_SELECTED " | grep -i " interleave " > /dev/null; then
27065   USE_PLUGIN_INTERLEAVE_TRUE=
27066   USE_PLUGIN_INTERLEAVE_FALSE='#'
27067 else
27068   USE_PLUGIN_INTERLEAVE_TRUE='#'
27069   USE_PLUGIN_INTERLEAVE_FALSE=
27070 fi
27071
27072
27073
27074   GST_PLUGINS_ALL="$GST_PLUGINS_ALL flx"
27075
27076
27077
27078   # Check whether --enable-flx was given.
27079 if test "${enable_flx+set}" = set; then :
27080   enableval=$enable_flx;
27081       case "${enableval}" in
27082         yes) gst_use_flx=yes ;;
27083         no) gst_use_flx=no ;;
27084         *) as_fn_error $? "bad value ${enableval} for --enable-flx" "$LINENO" 5 ;;
27085        esac
27086
27087 else
27088   gst_use_flx=yes
27089 fi
27090
27091   if test x$gst_use_flx = xno; then
27092     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin flx" >&5
27093 $as_echo "$as_me: disabling dependency-less plugin flx" >&6;}
27094     WITHOUT_PLUGINS="$WITHOUT_PLUGINS flx"
27095   fi
27096
27097
27098   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " flx " > /dev/null; then
27099     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED flx"
27100   fi
27101   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " flx " > /dev/null; then
27102     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ flx / /'`
27103   fi
27104    if echo " $GST_PLUGINS_SELECTED " | grep -i " flx " > /dev/null; then
27105   USE_PLUGIN_FLX_TRUE=
27106   USE_PLUGIN_FLX_FALSE='#'
27107 else
27108   USE_PLUGIN_FLX_TRUE='#'
27109   USE_PLUGIN_FLX_FALSE=
27110 fi
27111
27112
27113
27114   GST_PLUGINS_ALL="$GST_PLUGINS_ALL goom"
27115
27116
27117
27118   # Check whether --enable-goom was given.
27119 if test "${enable_goom+set}" = set; then :
27120   enableval=$enable_goom;
27121       case "${enableval}" in
27122         yes) gst_use_goom=yes ;;
27123         no) gst_use_goom=no ;;
27124         *) as_fn_error $? "bad value ${enableval} for --enable-goom" "$LINENO" 5 ;;
27125        esac
27126
27127 else
27128   gst_use_goom=yes
27129 fi
27130
27131   if test x$gst_use_goom = xno; then
27132     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin goom" >&5
27133 $as_echo "$as_me: disabling dependency-less plugin goom" >&6;}
27134     WITHOUT_PLUGINS="$WITHOUT_PLUGINS goom"
27135   fi
27136
27137
27138   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " goom " > /dev/null; then
27139     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED goom"
27140   fi
27141   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " goom " > /dev/null; then
27142     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ goom / /'`
27143   fi
27144    if echo " $GST_PLUGINS_SELECTED " | grep -i " goom " > /dev/null; then
27145   USE_PLUGIN_GOOM_TRUE=
27146   USE_PLUGIN_GOOM_FALSE='#'
27147 else
27148   USE_PLUGIN_GOOM_TRUE='#'
27149   USE_PLUGIN_GOOM_FALSE=
27150 fi
27151
27152
27153
27154   GST_PLUGINS_ALL="$GST_PLUGINS_ALL goom2k1"
27155
27156
27157
27158   # Check whether --enable-goom2k1 was given.
27159 if test "${enable_goom2k1+set}" = set; then :
27160   enableval=$enable_goom2k1;
27161       case "${enableval}" in
27162         yes) gst_use_goom2k1=yes ;;
27163         no) gst_use_goom2k1=no ;;
27164         *) as_fn_error $? "bad value ${enableval} for --enable-goom2k1" "$LINENO" 5 ;;
27165        esac
27166
27167 else
27168   gst_use_goom2k1=yes
27169 fi
27170
27171   if test x$gst_use_goom2k1 = xno; then
27172     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin goom2k1" >&5
27173 $as_echo "$as_me: disabling dependency-less plugin goom2k1" >&6;}
27174     WITHOUT_PLUGINS="$WITHOUT_PLUGINS goom2k1"
27175   fi
27176
27177
27178   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " goom2k1 " > /dev/null; then
27179     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED goom2k1"
27180   fi
27181   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " goom2k1 " > /dev/null; then
27182     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ goom2k1 / /'`
27183   fi
27184    if echo " $GST_PLUGINS_SELECTED " | grep -i " goom2k1 " > /dev/null; then
27185   USE_PLUGIN_GOOM2K1_TRUE=
27186   USE_PLUGIN_GOOM2K1_FALSE='#'
27187 else
27188   USE_PLUGIN_GOOM2K1_TRUE='#'
27189   USE_PLUGIN_GOOM2K1_FALSE=
27190 fi
27191
27192
27193
27194   GST_PLUGINS_ALL="$GST_PLUGINS_ALL imagefreeze"
27195
27196
27197
27198   # Check whether --enable-imagefreeze was given.
27199 if test "${enable_imagefreeze+set}" = set; then :
27200   enableval=$enable_imagefreeze;
27201       case "${enableval}" in
27202         yes) gst_use_imagefreeze=yes ;;
27203         no) gst_use_imagefreeze=no ;;
27204         *) as_fn_error $? "bad value ${enableval} for --enable-imagefreeze" "$LINENO" 5 ;;
27205        esac
27206
27207 else
27208   gst_use_imagefreeze=yes
27209 fi
27210
27211   if test x$gst_use_imagefreeze = xno; then
27212     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin imagefreeze" >&5
27213 $as_echo "$as_me: disabling dependency-less plugin imagefreeze" >&6;}
27214     WITHOUT_PLUGINS="$WITHOUT_PLUGINS imagefreeze"
27215   fi
27216
27217
27218   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " imagefreeze " > /dev/null; then
27219     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED imagefreeze"
27220   fi
27221   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " imagefreeze " > /dev/null; then
27222     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ imagefreeze / /'`
27223   fi
27224    if echo " $GST_PLUGINS_SELECTED " | grep -i " imagefreeze " > /dev/null; then
27225   USE_PLUGIN_IMAGEFREEZE_TRUE=
27226   USE_PLUGIN_IMAGEFREEZE_FALSE='#'
27227 else
27228   USE_PLUGIN_IMAGEFREEZE_TRUE='#'
27229   USE_PLUGIN_IMAGEFREEZE_FALSE=
27230 fi
27231
27232
27233
27234   GST_PLUGINS_ALL="$GST_PLUGINS_ALL isomp4"
27235
27236
27237
27238   # Check whether --enable-isomp4 was given.
27239 if test "${enable_isomp4+set}" = set; then :
27240   enableval=$enable_isomp4;
27241       case "${enableval}" in
27242         yes) gst_use_isomp4=yes ;;
27243         no) gst_use_isomp4=no ;;
27244         *) as_fn_error $? "bad value ${enableval} for --enable-isomp4" "$LINENO" 5 ;;
27245        esac
27246
27247 else
27248   gst_use_isomp4=yes
27249 fi
27250
27251   if test x$gst_use_isomp4 = xno; then
27252     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin isomp4" >&5
27253 $as_echo "$as_me: disabling dependency-less plugin isomp4" >&6;}
27254     WITHOUT_PLUGINS="$WITHOUT_PLUGINS isomp4"
27255   fi
27256
27257
27258   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " isomp4 " > /dev/null; then
27259     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED isomp4"
27260   fi
27261   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " isomp4 " > /dev/null; then
27262     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ isomp4 / /'`
27263   fi
27264    if echo " $GST_PLUGINS_SELECTED " | grep -i " isomp4 " > /dev/null; then
27265   USE_PLUGIN_ISOMP4_TRUE=
27266   USE_PLUGIN_ISOMP4_FALSE='#'
27267 else
27268   USE_PLUGIN_ISOMP4_TRUE='#'
27269   USE_PLUGIN_ISOMP4_FALSE=
27270 fi
27271
27272
27273
27274   GST_PLUGINS_ALL="$GST_PLUGINS_ALL law"
27275
27276
27277
27278   # Check whether --enable-law was given.
27279 if test "${enable_law+set}" = set; then :
27280   enableval=$enable_law;
27281       case "${enableval}" in
27282         yes) gst_use_law=yes ;;
27283         no) gst_use_law=no ;;
27284         *) as_fn_error $? "bad value ${enableval} for --enable-law" "$LINENO" 5 ;;
27285        esac
27286
27287 else
27288   gst_use_law=yes
27289 fi
27290
27291   if test x$gst_use_law = xno; then
27292     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin law" >&5
27293 $as_echo "$as_me: disabling dependency-less plugin law" >&6;}
27294     WITHOUT_PLUGINS="$WITHOUT_PLUGINS law"
27295   fi
27296
27297
27298   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " law " > /dev/null; then
27299     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED law"
27300   fi
27301   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " law " > /dev/null; then
27302     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ law / /'`
27303   fi
27304    if echo " $GST_PLUGINS_SELECTED " | grep -i " law " > /dev/null; then
27305   USE_PLUGIN_LAW_TRUE=
27306   USE_PLUGIN_LAW_FALSE='#'
27307 else
27308   USE_PLUGIN_LAW_TRUE='#'
27309   USE_PLUGIN_LAW_FALSE=
27310 fi
27311
27312
27313
27314   GST_PLUGINS_ALL="$GST_PLUGINS_ALL level"
27315
27316
27317
27318   # Check whether --enable-level was given.
27319 if test "${enable_level+set}" = set; then :
27320   enableval=$enable_level;
27321       case "${enableval}" in
27322         yes) gst_use_level=yes ;;
27323         no) gst_use_level=no ;;
27324         *) as_fn_error $? "bad value ${enableval} for --enable-level" "$LINENO" 5 ;;
27325        esac
27326
27327 else
27328   gst_use_level=yes
27329 fi
27330
27331   if test x$gst_use_level = xno; then
27332     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin level" >&5
27333 $as_echo "$as_me: disabling dependency-less plugin level" >&6;}
27334     WITHOUT_PLUGINS="$WITHOUT_PLUGINS level"
27335   fi
27336
27337
27338   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " level " > /dev/null; then
27339     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED level"
27340   fi
27341   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " level " > /dev/null; then
27342     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ level / /'`
27343   fi
27344    if echo " $GST_PLUGINS_SELECTED " | grep -i " level " > /dev/null; then
27345   USE_PLUGIN_LEVEL_TRUE=
27346   USE_PLUGIN_LEVEL_FALSE='#'
27347 else
27348   USE_PLUGIN_LEVEL_TRUE='#'
27349   USE_PLUGIN_LEVEL_FALSE=
27350 fi
27351
27352
27353
27354   GST_PLUGINS_ALL="$GST_PLUGINS_ALL matroska"
27355
27356
27357
27358   # Check whether --enable-matroska was given.
27359 if test "${enable_matroska+set}" = set; then :
27360   enableval=$enable_matroska;
27361       case "${enableval}" in
27362         yes) gst_use_matroska=yes ;;
27363         no) gst_use_matroska=no ;;
27364         *) as_fn_error $? "bad value ${enableval} for --enable-matroska" "$LINENO" 5 ;;
27365        esac
27366
27367 else
27368   gst_use_matroska=yes
27369 fi
27370
27371   if test x$gst_use_matroska = xno; then
27372     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin matroska" >&5
27373 $as_echo "$as_me: disabling dependency-less plugin matroska" >&6;}
27374     WITHOUT_PLUGINS="$WITHOUT_PLUGINS matroska"
27375   fi
27376
27377
27378   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " matroska " > /dev/null; then
27379     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED matroska"
27380   fi
27381   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " matroska " > /dev/null; then
27382     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ matroska / /'`
27383   fi
27384    if echo " $GST_PLUGINS_SELECTED " | grep -i " matroska " > /dev/null; then
27385   USE_PLUGIN_MATROSKA_TRUE=
27386   USE_PLUGIN_MATROSKA_FALSE='#'
27387 else
27388   USE_PLUGIN_MATROSKA_TRUE='#'
27389   USE_PLUGIN_MATROSKA_FALSE=
27390 fi
27391
27392
27393
27394   GST_PLUGINS_ALL="$GST_PLUGINS_ALL monoscope"
27395
27396
27397
27398   # Check whether --enable-monoscope was given.
27399 if test "${enable_monoscope+set}" = set; then :
27400   enableval=$enable_monoscope;
27401       case "${enableval}" in
27402         yes) gst_use_monoscope=yes ;;
27403         no) gst_use_monoscope=no ;;
27404         *) as_fn_error $? "bad value ${enableval} for --enable-monoscope" "$LINENO" 5 ;;
27405        esac
27406
27407 else
27408   gst_use_monoscope=yes
27409 fi
27410
27411   if test x$gst_use_monoscope = xno; then
27412     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin monoscope" >&5
27413 $as_echo "$as_me: disabling dependency-less plugin monoscope" >&6;}
27414     WITHOUT_PLUGINS="$WITHOUT_PLUGINS monoscope"
27415   fi
27416
27417
27418   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " monoscope " > /dev/null; then
27419     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED monoscope"
27420   fi
27421   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " monoscope " > /dev/null; then
27422     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ monoscope / /'`
27423   fi
27424    if echo " $GST_PLUGINS_SELECTED " | grep -i " monoscope " > /dev/null; then
27425   USE_PLUGIN_MONOSCOPE_TRUE=
27426   USE_PLUGIN_MONOSCOPE_FALSE='#'
27427 else
27428   USE_PLUGIN_MONOSCOPE_TRUE='#'
27429   USE_PLUGIN_MONOSCOPE_FALSE=
27430 fi
27431
27432
27433
27434   GST_PLUGINS_ALL="$GST_PLUGINS_ALL multifile"
27435
27436
27437
27438   # Check whether --enable-multifile was given.
27439 if test "${enable_multifile+set}" = set; then :
27440   enableval=$enable_multifile;
27441       case "${enableval}" in
27442         yes) gst_use_multifile=yes ;;
27443         no) gst_use_multifile=no ;;
27444         *) as_fn_error $? "bad value ${enableval} for --enable-multifile" "$LINENO" 5 ;;
27445        esac
27446
27447 else
27448   gst_use_multifile=yes
27449 fi
27450
27451   if test x$gst_use_multifile = xno; then
27452     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin multifile" >&5
27453 $as_echo "$as_me: disabling dependency-less plugin multifile" >&6;}
27454     WITHOUT_PLUGINS="$WITHOUT_PLUGINS multifile"
27455   fi
27456
27457
27458   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " multifile " > /dev/null; then
27459     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED multifile"
27460   fi
27461   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " multifile " > /dev/null; then
27462     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ multifile / /'`
27463   fi
27464    if echo " $GST_PLUGINS_SELECTED " | grep -i " multifile " > /dev/null; then
27465   USE_PLUGIN_MULTIFILE_TRUE=
27466   USE_PLUGIN_MULTIFILE_FALSE='#'
27467 else
27468   USE_PLUGIN_MULTIFILE_TRUE='#'
27469   USE_PLUGIN_MULTIFILE_FALSE=
27470 fi
27471
27472
27473
27474   GST_PLUGINS_ALL="$GST_PLUGINS_ALL multipart"
27475
27476
27477
27478   # Check whether --enable-multipart was given.
27479 if test "${enable_multipart+set}" = set; then :
27480   enableval=$enable_multipart;
27481       case "${enableval}" in
27482         yes) gst_use_multipart=yes ;;
27483         no) gst_use_multipart=no ;;
27484         *) as_fn_error $? "bad value ${enableval} for --enable-multipart" "$LINENO" 5 ;;
27485        esac
27486
27487 else
27488   gst_use_multipart=yes
27489 fi
27490
27491   if test x$gst_use_multipart = xno; then
27492     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin multipart" >&5
27493 $as_echo "$as_me: disabling dependency-less plugin multipart" >&6;}
27494     WITHOUT_PLUGINS="$WITHOUT_PLUGINS multipart"
27495   fi
27496
27497
27498   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " multipart " > /dev/null; then
27499     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED multipart"
27500   fi
27501   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " multipart " > /dev/null; then
27502     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ multipart / /'`
27503   fi
27504    if echo " $GST_PLUGINS_SELECTED " | grep -i " multipart " > /dev/null; then
27505   USE_PLUGIN_MULTIPART_TRUE=
27506   USE_PLUGIN_MULTIPART_FALSE='#'
27507 else
27508   USE_PLUGIN_MULTIPART_TRUE='#'
27509   USE_PLUGIN_MULTIPART_FALSE=
27510 fi
27511
27512
27513
27514   GST_PLUGINS_ALL="$GST_PLUGINS_ALL replaygain"
27515
27516
27517
27518   # Check whether --enable-replaygain was given.
27519 if test "${enable_replaygain+set}" = set; then :
27520   enableval=$enable_replaygain;
27521       case "${enableval}" in
27522         yes) gst_use_replaygain=yes ;;
27523         no) gst_use_replaygain=no ;;
27524         *) as_fn_error $? "bad value ${enableval} for --enable-replaygain" "$LINENO" 5 ;;
27525        esac
27526
27527 else
27528   gst_use_replaygain=yes
27529 fi
27530
27531   if test x$gst_use_replaygain = xno; then
27532     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin replaygain" >&5
27533 $as_echo "$as_me: disabling dependency-less plugin replaygain" >&6;}
27534     WITHOUT_PLUGINS="$WITHOUT_PLUGINS replaygain"
27535   fi
27536
27537
27538   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " replaygain " > /dev/null; then
27539     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED replaygain"
27540   fi
27541   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " replaygain " > /dev/null; then
27542     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ replaygain / /'`
27543   fi
27544    if echo " $GST_PLUGINS_SELECTED " | grep -i " replaygain " > /dev/null; then
27545   USE_PLUGIN_REPLAYGAIN_TRUE=
27546   USE_PLUGIN_REPLAYGAIN_FALSE='#'
27547 else
27548   USE_PLUGIN_REPLAYGAIN_TRUE='#'
27549   USE_PLUGIN_REPLAYGAIN_FALSE=
27550 fi
27551
27552
27553
27554   GST_PLUGINS_ALL="$GST_PLUGINS_ALL rtp"
27555
27556
27557
27558   # Check whether --enable-rtp was given.
27559 if test "${enable_rtp+set}" = set; then :
27560   enableval=$enable_rtp;
27561       case "${enableval}" in
27562         yes) gst_use_rtp=yes ;;
27563         no) gst_use_rtp=no ;;
27564         *) as_fn_error $? "bad value ${enableval} for --enable-rtp" "$LINENO" 5 ;;
27565        esac
27566
27567 else
27568   gst_use_rtp=yes
27569 fi
27570
27571   if test x$gst_use_rtp = xno; then
27572     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin rtp" >&5
27573 $as_echo "$as_me: disabling dependency-less plugin rtp" >&6;}
27574     WITHOUT_PLUGINS="$WITHOUT_PLUGINS rtp"
27575   fi
27576
27577
27578   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " rtp " > /dev/null; then
27579     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED rtp"
27580   fi
27581   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " rtp " > /dev/null; then
27582     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ rtp / /'`
27583   fi
27584    if echo " $GST_PLUGINS_SELECTED " | grep -i " rtp " > /dev/null; then
27585   USE_PLUGIN_RTP_TRUE=
27586   USE_PLUGIN_RTP_FALSE='#'
27587 else
27588   USE_PLUGIN_RTP_TRUE='#'
27589   USE_PLUGIN_RTP_FALSE=
27590 fi
27591
27592
27593
27594   GST_PLUGINS_ALL="$GST_PLUGINS_ALL rtpmanager"
27595
27596
27597
27598   # Check whether --enable-rtpmanager was given.
27599 if test "${enable_rtpmanager+set}" = set; then :
27600   enableval=$enable_rtpmanager;
27601       case "${enableval}" in
27602         yes) gst_use_rtpmanager=yes ;;
27603         no) gst_use_rtpmanager=no ;;
27604         *) as_fn_error $? "bad value ${enableval} for --enable-rtpmanager" "$LINENO" 5 ;;
27605        esac
27606
27607 else
27608   gst_use_rtpmanager=yes
27609 fi
27610
27611   if test x$gst_use_rtpmanager = xno; then
27612     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin rtpmanager" >&5
27613 $as_echo "$as_me: disabling dependency-less plugin rtpmanager" >&6;}
27614     WITHOUT_PLUGINS="$WITHOUT_PLUGINS rtpmanager"
27615   fi
27616
27617
27618   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " rtpmanager " > /dev/null; then
27619     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED rtpmanager"
27620   fi
27621   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " rtpmanager " > /dev/null; then
27622     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ rtpmanager / /'`
27623   fi
27624    if echo " $GST_PLUGINS_SELECTED " | grep -i " rtpmanager " > /dev/null; then
27625   USE_PLUGIN_RTPMANAGER_TRUE=
27626   USE_PLUGIN_RTPMANAGER_FALSE='#'
27627 else
27628   USE_PLUGIN_RTPMANAGER_TRUE='#'
27629   USE_PLUGIN_RTPMANAGER_FALSE=
27630 fi
27631
27632
27633
27634   GST_PLUGINS_ALL="$GST_PLUGINS_ALL rtsp"
27635
27636
27637
27638   # Check whether --enable-rtsp was given.
27639 if test "${enable_rtsp+set}" = set; then :
27640   enableval=$enable_rtsp;
27641       case "${enableval}" in
27642         yes) gst_use_rtsp=yes ;;
27643         no) gst_use_rtsp=no ;;
27644         *) as_fn_error $? "bad value ${enableval} for --enable-rtsp" "$LINENO" 5 ;;
27645        esac
27646
27647 else
27648   gst_use_rtsp=yes
27649 fi
27650
27651   if test x$gst_use_rtsp = xno; then
27652     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin rtsp" >&5
27653 $as_echo "$as_me: disabling dependency-less plugin rtsp" >&6;}
27654     WITHOUT_PLUGINS="$WITHOUT_PLUGINS rtsp"
27655   fi
27656
27657
27658   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " rtsp " > /dev/null; then
27659     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED rtsp"
27660   fi
27661   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " rtsp " > /dev/null; then
27662     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ rtsp / /'`
27663   fi
27664    if echo " $GST_PLUGINS_SELECTED " | grep -i " rtsp " > /dev/null; then
27665   USE_PLUGIN_RTSP_TRUE=
27666   USE_PLUGIN_RTSP_FALSE='#'
27667 else
27668   USE_PLUGIN_RTSP_TRUE='#'
27669   USE_PLUGIN_RTSP_FALSE=
27670 fi
27671
27672
27673
27674   GST_PLUGINS_ALL="$GST_PLUGINS_ALL shapewipe"
27675
27676
27677
27678   # Check whether --enable-shapewipe was given.
27679 if test "${enable_shapewipe+set}" = set; then :
27680   enableval=$enable_shapewipe;
27681       case "${enableval}" in
27682         yes) gst_use_shapewipe=yes ;;
27683         no) gst_use_shapewipe=no ;;
27684         *) as_fn_error $? "bad value ${enableval} for --enable-shapewipe" "$LINENO" 5 ;;
27685        esac
27686
27687 else
27688   gst_use_shapewipe=yes
27689 fi
27690
27691   if test x$gst_use_shapewipe = xno; then
27692     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin shapewipe" >&5
27693 $as_echo "$as_me: disabling dependency-less plugin shapewipe" >&6;}
27694     WITHOUT_PLUGINS="$WITHOUT_PLUGINS shapewipe"
27695   fi
27696
27697
27698   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " shapewipe " > /dev/null; then
27699     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED shapewipe"
27700   fi
27701   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " shapewipe " > /dev/null; then
27702     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ shapewipe / /'`
27703   fi
27704    if echo " $GST_PLUGINS_SELECTED " | grep -i " shapewipe " > /dev/null; then
27705   USE_PLUGIN_SHAPEWIPE_TRUE=
27706   USE_PLUGIN_SHAPEWIPE_FALSE='#'
27707 else
27708   USE_PLUGIN_SHAPEWIPE_TRUE='#'
27709   USE_PLUGIN_SHAPEWIPE_FALSE=
27710 fi
27711
27712
27713
27714   GST_PLUGINS_ALL="$GST_PLUGINS_ALL smpte"
27715
27716
27717
27718   # Check whether --enable-smpte was given.
27719 if test "${enable_smpte+set}" = set; then :
27720   enableval=$enable_smpte;
27721       case "${enableval}" in
27722         yes) gst_use_smpte=yes ;;
27723         no) gst_use_smpte=no ;;
27724         *) as_fn_error $? "bad value ${enableval} for --enable-smpte" "$LINENO" 5 ;;
27725        esac
27726
27727 else
27728   gst_use_smpte=yes
27729 fi
27730
27731   if test x$gst_use_smpte = xno; then
27732     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin smpte" >&5
27733 $as_echo "$as_me: disabling dependency-less plugin smpte" >&6;}
27734     WITHOUT_PLUGINS="$WITHOUT_PLUGINS smpte"
27735   fi
27736
27737
27738   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " smpte " > /dev/null; then
27739     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED smpte"
27740   fi
27741   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " smpte " > /dev/null; then
27742     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ smpte / /'`
27743   fi
27744    if echo " $GST_PLUGINS_SELECTED " | grep -i " smpte " > /dev/null; then
27745   USE_PLUGIN_SMPTE_TRUE=
27746   USE_PLUGIN_SMPTE_FALSE='#'
27747 else
27748   USE_PLUGIN_SMPTE_TRUE='#'
27749   USE_PLUGIN_SMPTE_FALSE=
27750 fi
27751
27752
27753
27754   GST_PLUGINS_ALL="$GST_PLUGINS_ALL spectrum"
27755
27756
27757
27758   # Check whether --enable-spectrum was given.
27759 if test "${enable_spectrum+set}" = set; then :
27760   enableval=$enable_spectrum;
27761       case "${enableval}" in
27762         yes) gst_use_spectrum=yes ;;
27763         no) gst_use_spectrum=no ;;
27764         *) as_fn_error $? "bad value ${enableval} for --enable-spectrum" "$LINENO" 5 ;;
27765        esac
27766
27767 else
27768   gst_use_spectrum=yes
27769 fi
27770
27771   if test x$gst_use_spectrum = xno; then
27772     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin spectrum" >&5
27773 $as_echo "$as_me: disabling dependency-less plugin spectrum" >&6;}
27774     WITHOUT_PLUGINS="$WITHOUT_PLUGINS spectrum"
27775   fi
27776
27777
27778   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " spectrum " > /dev/null; then
27779     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED spectrum"
27780   fi
27781   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " spectrum " > /dev/null; then
27782     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ spectrum / /'`
27783   fi
27784    if echo " $GST_PLUGINS_SELECTED " | grep -i " spectrum " > /dev/null; then
27785   USE_PLUGIN_SPECTRUM_TRUE=
27786   USE_PLUGIN_SPECTRUM_FALSE='#'
27787 else
27788   USE_PLUGIN_SPECTRUM_TRUE='#'
27789   USE_PLUGIN_SPECTRUM_FALSE=
27790 fi
27791
27792
27793
27794   GST_PLUGINS_ALL="$GST_PLUGINS_ALL udp"
27795
27796
27797
27798   # Check whether --enable-udp was given.
27799 if test "${enable_udp+set}" = set; then :
27800   enableval=$enable_udp;
27801       case "${enableval}" in
27802         yes) gst_use_udp=yes ;;
27803         no) gst_use_udp=no ;;
27804         *) as_fn_error $? "bad value ${enableval} for --enable-udp" "$LINENO" 5 ;;
27805        esac
27806
27807 else
27808   gst_use_udp=yes
27809 fi
27810
27811   if test x$gst_use_udp = xno; then
27812     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin udp" >&5
27813 $as_echo "$as_me: disabling dependency-less plugin udp" >&6;}
27814     WITHOUT_PLUGINS="$WITHOUT_PLUGINS udp"
27815   fi
27816
27817
27818   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " udp " > /dev/null; then
27819     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED udp"
27820   fi
27821   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " udp " > /dev/null; then
27822     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ udp / /'`
27823   fi
27824    if echo " $GST_PLUGINS_SELECTED " | grep -i " udp " > /dev/null; then
27825   USE_PLUGIN_UDP_TRUE=
27826   USE_PLUGIN_UDP_FALSE='#'
27827 else
27828   USE_PLUGIN_UDP_TRUE='#'
27829   USE_PLUGIN_UDP_FALSE=
27830 fi
27831
27832
27833
27834   GST_PLUGINS_ALL="$GST_PLUGINS_ALL videobox"
27835
27836
27837
27838   # Check whether --enable-videobox was given.
27839 if test "${enable_videobox+set}" = set; then :
27840   enableval=$enable_videobox;
27841       case "${enableval}" in
27842         yes) gst_use_videobox=yes ;;
27843         no) gst_use_videobox=no ;;
27844         *) as_fn_error $? "bad value ${enableval} for --enable-videobox" "$LINENO" 5 ;;
27845        esac
27846
27847 else
27848   gst_use_videobox=yes
27849 fi
27850
27851   if test x$gst_use_videobox = xno; then
27852     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin videobox" >&5
27853 $as_echo "$as_me: disabling dependency-less plugin videobox" >&6;}
27854     WITHOUT_PLUGINS="$WITHOUT_PLUGINS videobox"
27855   fi
27856
27857
27858   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " videobox " > /dev/null; then
27859     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED videobox"
27860   fi
27861   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " videobox " > /dev/null; then
27862     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ videobox / /'`
27863   fi
27864    if echo " $GST_PLUGINS_SELECTED " | grep -i " videobox " > /dev/null; then
27865   USE_PLUGIN_VIDEOBOX_TRUE=
27866   USE_PLUGIN_VIDEOBOX_FALSE='#'
27867 else
27868   USE_PLUGIN_VIDEOBOX_TRUE='#'
27869   USE_PLUGIN_VIDEOBOX_FALSE=
27870 fi
27871
27872
27873
27874   GST_PLUGINS_ALL="$GST_PLUGINS_ALL videocrop"
27875
27876
27877
27878   # Check whether --enable-videocrop was given.
27879 if test "${enable_videocrop+set}" = set; then :
27880   enableval=$enable_videocrop;
27881       case "${enableval}" in
27882         yes) gst_use_videocrop=yes ;;
27883         no) gst_use_videocrop=no ;;
27884         *) as_fn_error $? "bad value ${enableval} for --enable-videocrop" "$LINENO" 5 ;;
27885        esac
27886
27887 else
27888   gst_use_videocrop=yes
27889 fi
27890
27891   if test x$gst_use_videocrop = xno; then
27892     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin videocrop" >&5
27893 $as_echo "$as_me: disabling dependency-less plugin videocrop" >&6;}
27894     WITHOUT_PLUGINS="$WITHOUT_PLUGINS videocrop"
27895   fi
27896
27897
27898   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " videocrop " > /dev/null; then
27899     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED videocrop"
27900   fi
27901   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " videocrop " > /dev/null; then
27902     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ videocrop / /'`
27903   fi
27904    if echo " $GST_PLUGINS_SELECTED " | grep -i " videocrop " > /dev/null; then
27905   USE_PLUGIN_VIDEOCROP_TRUE=
27906   USE_PLUGIN_VIDEOCROP_FALSE='#'
27907 else
27908   USE_PLUGIN_VIDEOCROP_TRUE='#'
27909   USE_PLUGIN_VIDEOCROP_FALSE=
27910 fi
27911
27912
27913
27914   GST_PLUGINS_ALL="$GST_PLUGINS_ALL videomixer"
27915
27916
27917
27918   # Check whether --enable-videomixer was given.
27919 if test "${enable_videomixer+set}" = set; then :
27920   enableval=$enable_videomixer;
27921       case "${enableval}" in
27922         yes) gst_use_videomixer=yes ;;
27923         no) gst_use_videomixer=no ;;
27924         *) as_fn_error $? "bad value ${enableval} for --enable-videomixer" "$LINENO" 5 ;;
27925        esac
27926
27927 else
27928   gst_use_videomixer=yes
27929 fi
27930
27931   if test x$gst_use_videomixer = xno; then
27932     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin videomixer" >&5
27933 $as_echo "$as_me: disabling dependency-less plugin videomixer" >&6;}
27934     WITHOUT_PLUGINS="$WITHOUT_PLUGINS videomixer"
27935   fi
27936
27937
27938   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " videomixer " > /dev/null; then
27939     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED videomixer"
27940   fi
27941   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " videomixer " > /dev/null; then
27942     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ videomixer / /'`
27943   fi
27944    if echo " $GST_PLUGINS_SELECTED " | grep -i " videomixer " > /dev/null; then
27945   USE_PLUGIN_VIDEOMIXER_TRUE=
27946   USE_PLUGIN_VIDEOMIXER_FALSE='#'
27947 else
27948   USE_PLUGIN_VIDEOMIXER_TRUE='#'
27949   USE_PLUGIN_VIDEOMIXER_FALSE=
27950 fi
27951
27952
27953
27954   GST_PLUGINS_ALL="$GST_PLUGINS_ALL wavenc"
27955
27956
27957
27958   # Check whether --enable-wavenc was given.
27959 if test "${enable_wavenc+set}" = set; then :
27960   enableval=$enable_wavenc;
27961       case "${enableval}" in
27962         yes) gst_use_wavenc=yes ;;
27963         no) gst_use_wavenc=no ;;
27964         *) as_fn_error $? "bad value ${enableval} for --enable-wavenc" "$LINENO" 5 ;;
27965        esac
27966
27967 else
27968   gst_use_wavenc=yes
27969 fi
27970
27971   if test x$gst_use_wavenc = xno; then
27972     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin wavenc" >&5
27973 $as_echo "$as_me: disabling dependency-less plugin wavenc" >&6;}
27974     WITHOUT_PLUGINS="$WITHOUT_PLUGINS wavenc"
27975   fi
27976
27977
27978   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " wavenc " > /dev/null; then
27979     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED wavenc"
27980   fi
27981   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " wavenc " > /dev/null; then
27982     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ wavenc / /'`
27983   fi
27984    if echo " $GST_PLUGINS_SELECTED " | grep -i " wavenc " > /dev/null; then
27985   USE_PLUGIN_WAVENC_TRUE=
27986   USE_PLUGIN_WAVENC_FALSE='#'
27987 else
27988   USE_PLUGIN_WAVENC_TRUE='#'
27989   USE_PLUGIN_WAVENC_FALSE=
27990 fi
27991
27992
27993
27994   GST_PLUGINS_ALL="$GST_PLUGINS_ALL wavparse"
27995
27996
27997
27998   # Check whether --enable-wavparse was given.
27999 if test "${enable_wavparse+set}" = set; then :
28000   enableval=$enable_wavparse;
28001       case "${enableval}" in
28002         yes) gst_use_wavparse=yes ;;
28003         no) gst_use_wavparse=no ;;
28004         *) as_fn_error $? "bad value ${enableval} for --enable-wavparse" "$LINENO" 5 ;;
28005        esac
28006
28007 else
28008   gst_use_wavparse=yes
28009 fi
28010
28011   if test x$gst_use_wavparse = xno; then
28012     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin wavparse" >&5
28013 $as_echo "$as_me: disabling dependency-less plugin wavparse" >&6;}
28014     WITHOUT_PLUGINS="$WITHOUT_PLUGINS wavparse"
28015   fi
28016
28017
28018   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " wavparse " > /dev/null; then
28019     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED wavparse"
28020   fi
28021   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " wavparse " > /dev/null; then
28022     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ wavparse / /'`
28023   fi
28024    if echo " $GST_PLUGINS_SELECTED " | grep -i " wavparse " > /dev/null; then
28025   USE_PLUGIN_WAVPARSE_TRUE=
28026   USE_PLUGIN_WAVPARSE_FALSE='#'
28027 else
28028   USE_PLUGIN_WAVPARSE_TRUE='#'
28029   USE_PLUGIN_WAVPARSE_FALSE=
28030 fi
28031
28032
28033
28034   GST_PLUGINS_ALL="$GST_PLUGINS_ALL y4m"
28035
28036
28037
28038   # Check whether --enable-y4m was given.
28039 if test "${enable_y4m+set}" = set; then :
28040   enableval=$enable_y4m;
28041       case "${enableval}" in
28042         yes) gst_use_y4m=yes ;;
28043         no) gst_use_y4m=no ;;
28044         *) as_fn_error $? "bad value ${enableval} for --enable-y4m" "$LINENO" 5 ;;
28045        esac
28046
28047 else
28048   gst_use_y4m=yes
28049 fi
28050
28051   if test x$gst_use_y4m = xno; then
28052     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin y4m" >&5
28053 $as_echo "$as_me: disabling dependency-less plugin y4m" >&6;}
28054     WITHOUT_PLUGINS="$WITHOUT_PLUGINS y4m"
28055   fi
28056
28057
28058   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " y4m " > /dev/null; then
28059     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED y4m"
28060   fi
28061   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " y4m " > /dev/null; then
28062     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ y4m / /'`
28063   fi
28064    if echo " $GST_PLUGINS_SELECTED " | grep -i " y4m " > /dev/null; then
28065   USE_PLUGIN_Y4M_TRUE=
28066   USE_PLUGIN_Y4M_FALSE='#'
28067 else
28068   USE_PLUGIN_Y4M_TRUE='#'
28069   USE_PLUGIN_Y4M_FALSE=
28070 fi
28071
28072
28073
28074 ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"
28075 if test "x$ac_cv_func_socket" = xyes; then :
28076
28077 else
28078   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
28079 $as_echo_n "checking for socket in -lsocket... " >&6; }
28080 if ${ac_cv_lib_socket_socket+:} false; then :
28081   $as_echo_n "(cached) " >&6
28082 else
28083   ac_check_lib_save_LIBS=$LIBS
28084 LIBS="-lsocket  $LIBS"
28085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28086 /* end confdefs.h.  */
28087
28088 /* Override any GCC internal prototype to avoid an error.
28089    Use char because int might match the return type of a GCC
28090    builtin and then its argument prototype would still apply.  */
28091 #ifdef __cplusplus
28092 extern "C"
28093 #endif
28094 char socket ();
28095 int
28096 main ()
28097 {
28098 return socket ();
28099   ;
28100   return 0;
28101 }
28102 _ACEOF
28103 if ac_fn_c_try_link "$LINENO"; then :
28104   ac_cv_lib_socket_socket=yes
28105 else
28106   ac_cv_lib_socket_socket=no
28107 fi
28108 rm -f core conftest.err conftest.$ac_objext \
28109     conftest$ac_exeext conftest.$ac_ext
28110 LIBS=$ac_check_lib_save_LIBS
28111 fi
28112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
28113 $as_echo "$ac_cv_lib_socket_socket" >&6; }
28114 if test "x$ac_cv_lib_socket_socket" = xyes; then :
28115   cat >>confdefs.h <<_ACEOF
28116 #define HAVE_LIBSOCKET 1
28117 _ACEOF
28118
28119   LIBS="-lsocket $LIBS"
28120
28121 fi
28122
28123 fi
28124
28125
28126 for ac_header in sys/socket.h
28127 do :
28128   ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default"
28129 if test "x$ac_cv_header_sys_socket_h" = xyes; then :
28130   cat >>confdefs.h <<_ACEOF
28131 #define HAVE_SYS_SOCKET_H 1
28132 _ACEOF
28133  HAVE_SYS_SOCKET_H=yes
28134 fi
28135
28136 done
28137
28138 for ac_header in winsock2.h
28139 do :
28140   ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default"
28141 if test "x$ac_cv_header_winsock2_h" = xyes; then :
28142   cat >>confdefs.h <<_ACEOF
28143 #define HAVE_WINSOCK2_H 1
28144 _ACEOF
28145  HAVE_WINSOCK2_H=yes
28146 fi
28147
28148 done
28149
28150
28151 if test "x$HAVE_SYS_SOCKET_H" != "xyes" -a "x$HAVE_WINSOCK2_H" != "xyes"; then
28152
28153   GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ udp / /'`
28154    if false; then
28155   USE_PLUGIN_UDP_TRUE=
28156   USE_PLUGIN_UDP_FALSE='#'
28157 else
28158   USE_PLUGIN_UDP_TRUE='#'
28159   USE_PLUGIN_UDP_FALSE=
28160 fi
28161
28162
28163
28164   GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ rtsp / /'`
28165    if false; then
28166   USE_PLUGIN_RTSP_TRUE=
28167   USE_PLUGIN_RTSP_FALSE='#'
28168 else
28169   USE_PLUGIN_RTSP_TRUE='#'
28170   USE_PLUGIN_RTSP_FALSE=
28171 fi
28172
28173
28174 fi
28175
28176 if test "x$HAVE_WINSOCK2_H" = "xyes"; then
28177   WIN32_LIBS="-lws2_32"
28178
28179 fi
28180
28181 if test "x$BUILD_EXPERIMENTAL" != "xyes"; then
28182
28183   GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ monoscope / /'`
28184    if false; then
28185   USE_PLUGIN_MONOSCOPE_TRUE=
28186   USE_PLUGIN_MONOSCOPE_FALSE='#'
28187 else
28188   USE_PLUGIN_MONOSCOPE_TRUE='#'
28189   USE_PLUGIN_MONOSCOPE_FALSE=
28190 fi
28191
28192
28193 fi
28194
28195
28196 echo
28197 { $as_echo "$as_me:${as_lineno-$LINENO}: Checking libraries for plugins in sys/" >&5
28198 $as_echo "$as_me: Checking libraries for plugins in sys/" >&6;}
28199 echo
28200
28201 echo
28202 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: DirectSound plug-in ***" >&5
28203 $as_echo "$as_me: *** checking feature: DirectSound plug-in ***" >&6;}
28204 if test "xdirectsoundsink" != "x"
28205 then
28206   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: directsoundsink ***" >&5
28207 $as_echo "$as_me: *** for plug-ins: directsoundsink ***" >&6;}
28208 fi
28209 NOUSE=
28210 if test "x$USE_DIRECTSOUND" = "xno"; then
28211   NOUSE="yes"
28212 fi
28213 # Check whether --enable-directsound was given.
28214 if test "${enable_directsound+set}" = set; then :
28215   enableval=$enable_directsound;  case "${enableval}" in
28216       yes) USE_DIRECTSOUND=yes;;
28217       no) USE_DIRECTSOUND=no;;
28218       *) as_fn_error $? "bad value ${enableval} for --enable-directsound" "$LINENO" 5 ;;
28219     esac
28220 else
28221    USE_DIRECTSOUND=yes
28222 fi
28223
28224 if test "x$NOUSE" = "xyes"; then
28225   USE_DIRECTSOUND="no"
28226   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** directsoundsink pre-configured not to be built" >&5
28227 $as_echo "$as_me: WARNING: *** directsoundsink pre-configured not to be built" >&2;}
28228 fi
28229 NOUSE=
28230
28231
28232 if test x$USE_DIRECTSOUND = xyes; then
28233
28234   gst_check_save_LIBS=$LIBS
28235   gst_check_save_LDFLAGS=$LDFLAGS
28236   gst_check_save_CFLAGS=$CFLAGS
28237   gst_check_save_CPPFLAGS=$CPPFLAGS
28238   gst_check_save_CXXFLAGS=$CXXFLAGS
28239
28240   HAVE_DIRECTSOUND=no
28241
28242   HAVE_DIRECTSOUND="no"
28243   save_CFLAGS="$CFLAGS"
28244   save_LDFLAGS="$LDFLAGS"
28245   save_LIBS="$LIBS"
28246   CFLAGS="$CFLAGS $DIRECTSOUND_CFLAGS"
28247   LDFLAGS="$LDFLAGS $DIRECTSOUND_LDFLAGS"
28248   LIBS="$LIBS -ldsound -ldxerr9 -luser32"
28249   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DirectSound LDFLAGS" >&5
28250 $as_echo_n "checking for DirectSound LDFLAGS... " >&6; }
28251   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28252 /* end confdefs.h.  */
28253
28254 #include <windows.h>
28255 #include <dxerr9.h>
28256 #include <dsound.h>
28257
28258 int main ()
28259 {
28260   DXGetErrorString9 (0);
28261   DirectSoundCreate(NULL, NULL, NULL);
28262
28263   return 0;
28264 }
28265
28266 _ACEOF
28267 if ac_fn_c_try_link "$LINENO"; then :
28268   HAVE_DIRECTSOUND="yes"
28269 else
28270   HAVE_DIRECTSOUND="no"
28271 fi
28272 rm -f core conftest.err conftest.$ac_objext \
28273     conftest$ac_exeext conftest.$ac_ext
28274   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_DIRECTSOUND" >&5
28275 $as_echo "$HAVE_DIRECTSOUND" >&6; }
28276   CFLAGS=$save_CFLAGS
28277   LDFLAGS=$save_LDFLAGS
28278   LIBS=$save_LIBS
28279
28280   if test "x$HAVE_DIRECTSOUND" = "xyes";  then
28281         DIRECTSOUND_LIBS="-ldsound -ldxerr9 -luser32"
28282
28283
28284
28285   fi
28286
28287
28288
28289   LIBS=$gst_check_save_LIBS
28290   LDFLAGS=$gst_check_save_LDFLAGS
28291   CFLAGS=$gst_check_save_CFLAGS
28292   CPPFLAGS=$gst_check_save_CPPFLAGS
28293   CXXFLAGS=$gst_check_save_CXXFLAGS
28294
28295     if test x$HAVE_DIRECTSOUND = xno; then
28296     USE_DIRECTSOUND=no
28297   else
28298     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: directsoundsink" >&5
28299 $as_echo "$as_me: *** These plugins will be built: directsoundsink" >&6;}
28300   fi
28301 fi
28302 if test x$USE_DIRECTSOUND = xyes; then
28303   :
28304   if test "xdirectsoundsink" != "x"; then
28305     GST_PLUGINS_YES="\tdirectsoundsink\n$GST_PLUGINS_YES"
28306   fi
28307
28308 $as_echo "#define HAVE_DIRECTSOUND /**/" >>confdefs.h
28309
28310 else
28311   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: directsoundsink" >&5
28312 $as_echo "$as_me: *** These plugins will not be built: directsoundsink" >&6;}
28313   if test "xdirectsoundsink" != "x"; then
28314     GST_PLUGINS_NO="\tdirectsoundsink\n$GST_PLUGINS_NO"
28315   fi
28316   :
28317 fi
28318  if test x$USE_DIRECTSOUND = xyes; then
28319   USE_DIRECTSOUND_TRUE=
28320   USE_DIRECTSOUND_FALSE='#'
28321 else
28322   USE_DIRECTSOUND_TRUE='#'
28323   USE_DIRECTSOUND_FALSE=
28324 fi
28325
28326
28327
28328 echo
28329 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: OSS audio ***" >&5
28330 $as_echo "$as_me: *** checking feature: OSS audio ***" >&6;}
28331 if test "xossaudio" != "x"
28332 then
28333   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: ossaudio ***" >&5
28334 $as_echo "$as_me: *** for plug-ins: ossaudio ***" >&6;}
28335 fi
28336 NOUSE=
28337 if test "x$USE_OSS" = "xno"; then
28338   NOUSE="yes"
28339 fi
28340 # Check whether --enable-oss was given.
28341 if test "${enable_oss+set}" = set; then :
28342   enableval=$enable_oss;  case "${enableval}" in
28343       yes) USE_OSS=yes;;
28344       no) USE_OSS=no;;
28345       *) as_fn_error $? "bad value ${enableval} for --enable-oss" "$LINENO" 5 ;;
28346     esac
28347 else
28348    USE_OSS=yes
28349 fi
28350
28351 if test "x$NOUSE" = "xyes"; then
28352   USE_OSS="no"
28353   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** ossaudio pre-configured not to be built" >&5
28354 $as_echo "$as_me: WARNING: *** ossaudio pre-configured not to be built" >&2;}
28355 fi
28356 NOUSE=
28357
28358
28359 if test x$USE_OSS = xyes; then
28360
28361   gst_check_save_LIBS=$LIBS
28362   gst_check_save_LDFLAGS=$LDFLAGS
28363   gst_check_save_CFLAGS=$CFLAGS
28364   gst_check_save_CPPFLAGS=$CPPFLAGS
28365   gst_check_save_CXXFLAGS=$CXXFLAGS
28366
28367   HAVE_OSS=no
28368
28369  HAVE_OSS="yes"
28370  ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
28371 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
28372
28373
28374 $as_echo "#define HAVE_OSS_INCLUDE_IN_SYS /**/" >>confdefs.h
28375
28376
28377 else
28378
28379    ac_fn_c_check_header_mongrel "$LINENO" "soundcard.h" "ac_cv_header_soundcard_h" "$ac_includes_default"
28380 if test "x$ac_cv_header_soundcard_h" = xyes; then :
28381
28382
28383 $as_echo "#define HAVE_OSS_INCLUDE_IN_ROOT /**/" >>confdefs.h
28384
28385
28386 else
28387
28388        ac_fn_c_check_header_mongrel "$LINENO" "machine/soundcard.h" "ac_cv_header_machine_soundcard_h" "$ac_includes_default"
28389 if test "x$ac_cv_header_machine_soundcard_h" = xyes; then :
28390
28391
28392 $as_echo "#define HAVE_OSS_INCLUDE_IN_MACHINE /**/" >>confdefs.h
28393
28394
28395 else
28396
28397        HAVE_OSS="no"
28398
28399 fi
28400
28401
28402
28403 fi
28404
28405
28406
28407 fi
28408
28409
28410
28411
28412   LIBS=$gst_check_save_LIBS
28413   LDFLAGS=$gst_check_save_LDFLAGS
28414   CFLAGS=$gst_check_save_CFLAGS
28415   CPPFLAGS=$gst_check_save_CPPFLAGS
28416   CXXFLAGS=$gst_check_save_CXXFLAGS
28417
28418     if test x$HAVE_OSS = xno; then
28419     USE_OSS=no
28420   else
28421     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: ossaudio" >&5
28422 $as_echo "$as_me: *** These plugins will be built: ossaudio" >&6;}
28423   fi
28424 fi
28425 if test x$USE_OSS = xyes; then
28426   :
28427   if test "xossaudio" != "x"; then
28428     GST_PLUGINS_YES="\tossaudio\n$GST_PLUGINS_YES"
28429   fi
28430
28431 $as_echo "#define HAVE_OSS /**/" >>confdefs.h
28432
28433 else
28434   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: ossaudio" >&5
28435 $as_echo "$as_me: *** These plugins will not be built: ossaudio" >&6;}
28436   if test "xossaudio" != "x"; then
28437     GST_PLUGINS_NO="\tossaudio\n$GST_PLUGINS_NO"
28438   fi
28439   :
28440 fi
28441  if test x$USE_OSS = xyes; then
28442   USE_OSS_TRUE=
28443   USE_OSS_FALSE='#'
28444 else
28445   USE_OSS_TRUE='#'
28446   USE_OSS_FALSE=
28447 fi
28448
28449
28450
28451 echo
28452 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Open Sound System 4 ***" >&5
28453 $as_echo "$as_me: *** checking feature: Open Sound System 4 ***" >&6;}
28454 if test "xoss4" != "x"
28455 then
28456   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: oss4 ***" >&5
28457 $as_echo "$as_me: *** for plug-ins: oss4 ***" >&6;}
28458 fi
28459 NOUSE=
28460 if test "x$USE_OSS4" = "xno"; then
28461   NOUSE="yes"
28462 fi
28463 # Check whether --enable-oss4 was given.
28464 if test "${enable_oss4+set}" = set; then :
28465   enableval=$enable_oss4;  case "${enableval}" in
28466       yes) USE_OSS4=yes;;
28467       no) USE_OSS4=no;;
28468       *) as_fn_error $? "bad value ${enableval} for --enable-oss4" "$LINENO" 5 ;;
28469     esac
28470 else
28471    USE_OSS4=yes
28472 fi
28473
28474 if test "x$NOUSE" = "xyes"; then
28475   USE_OSS4="no"
28476   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** oss4 pre-configured not to be built" >&5
28477 $as_echo "$as_me: WARNING: *** oss4 pre-configured not to be built" >&2;}
28478 fi
28479 NOUSE=
28480
28481
28482 if test x$USE_OSS4 = xyes; then
28483
28484   gst_check_save_LIBS=$LIBS
28485   gst_check_save_LDFLAGS=$LDFLAGS
28486   gst_check_save_CFLAGS=$CFLAGS
28487   gst_check_save_CPPFLAGS=$CPPFLAGS
28488   gst_check_save_CXXFLAGS=$CXXFLAGS
28489
28490   HAVE_OSS4=no
28491
28492   { $as_echo "$as_me:${as_lineno-$LINENO}: checking Checking if we can build the OSS4 elements" >&5
28493 $as_echo_n "checking Checking if we can build the OSS4 elements... " >&6; }
28494   for ac_header in fcntl.h sys/ioctl.h sys/stat.h sys/types.h
28495 do :
28496   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
28497 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
28498 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
28499   cat >>confdefs.h <<_ACEOF
28500 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
28501 _ACEOF
28502  test -z "$OSS4_MISSING_HEADER" && HAVE_OSS4="yes"
28503 else
28504   OSS4_MISSING_HEADER="yes";HAVE_OSS4="no"
28505 fi
28506
28507 done
28508
28509
28510
28511   LIBS=$gst_check_save_LIBS
28512   LDFLAGS=$gst_check_save_LDFLAGS
28513   CFLAGS=$gst_check_save_CFLAGS
28514   CPPFLAGS=$gst_check_save_CPPFLAGS
28515   CXXFLAGS=$gst_check_save_CXXFLAGS
28516
28517     if test x$HAVE_OSS4 = xno; then
28518     USE_OSS4=no
28519   else
28520     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: oss4" >&5
28521 $as_echo "$as_me: *** These plugins will be built: oss4" >&6;}
28522   fi
28523 fi
28524 if test x$USE_OSS4 = xyes; then
28525   :
28526   if test "xoss4" != "x"; then
28527     GST_PLUGINS_YES="\toss4\n$GST_PLUGINS_YES"
28528   fi
28529
28530 $as_echo "#define HAVE_OSS4 /**/" >>confdefs.h
28531
28532 else
28533   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: oss4" >&5
28534 $as_echo "$as_me: *** These plugins will not be built: oss4" >&6;}
28535   if test "xoss4" != "x"; then
28536     GST_PLUGINS_NO="\toss4\n$GST_PLUGINS_NO"
28537   fi
28538   :
28539 fi
28540  if test x$USE_OSS4 = xyes; then
28541   USE_OSS4_TRUE=
28542   USE_OSS4_FALSE='#'
28543 else
28544   USE_OSS4_TRUE='#'
28545   USE_OSS4_FALSE=
28546 fi
28547
28548
28549
28550 echo
28551 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Sun Audio ***" >&5
28552 $as_echo "$as_me: *** checking feature: Sun Audio ***" >&6;}
28553 if test "xsunaudio" != "x"
28554 then
28555   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: sunaudio ***" >&5
28556 $as_echo "$as_me: *** for plug-ins: sunaudio ***" >&6;}
28557 fi
28558 NOUSE=
28559 if test "x$USE_SUNAUDIO" = "xno"; then
28560   NOUSE="yes"
28561 fi
28562 # Check whether --enable-sunaudio was given.
28563 if test "${enable_sunaudio+set}" = set; then :
28564   enableval=$enable_sunaudio;  case "${enableval}" in
28565       yes) USE_SUNAUDIO=yes;;
28566       no) USE_SUNAUDIO=no;;
28567       *) as_fn_error $? "bad value ${enableval} for --enable-sunaudio" "$LINENO" 5 ;;
28568     esac
28569 else
28570    USE_SUNAUDIO=yes
28571 fi
28572
28573 if test "x$NOUSE" = "xyes"; then
28574   USE_SUNAUDIO="no"
28575   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** sunaudio pre-configured not to be built" >&5
28576 $as_echo "$as_me: WARNING: *** sunaudio pre-configured not to be built" >&2;}
28577 fi
28578 NOUSE=
28579
28580
28581 if test x$USE_SUNAUDIO = xyes; then
28582
28583   gst_check_save_LIBS=$LIBS
28584   gst_check_save_LDFLAGS=$LDFLAGS
28585   gst_check_save_CFLAGS=$CFLAGS
28586   gst_check_save_CPPFLAGS=$CPPFLAGS
28587   gst_check_save_CXXFLAGS=$CXXFLAGS
28588
28589   HAVE_SUNAUDIO=no
28590
28591   ac_fn_c_check_header_mongrel "$LINENO" "sys/audioio.h" "ac_cv_header_sys_audioio_h" "$ac_includes_default"
28592 if test "x$ac_cv_header_sys_audioio_h" = xyes; then :
28593   HAVE_SUNAUDIO="yes"
28594 else
28595   HAVE_SUNAUDIO="no"
28596 fi
28597
28598
28599
28600
28601   LIBS=$gst_check_save_LIBS
28602   LDFLAGS=$gst_check_save_LDFLAGS
28603   CFLAGS=$gst_check_save_CFLAGS
28604   CPPFLAGS=$gst_check_save_CPPFLAGS
28605   CXXFLAGS=$gst_check_save_CXXFLAGS
28606
28607     if test x$HAVE_SUNAUDIO = xno; then
28608     USE_SUNAUDIO=no
28609   else
28610     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: sunaudio" >&5
28611 $as_echo "$as_me: *** These plugins will be built: sunaudio" >&6;}
28612   fi
28613 fi
28614 if test x$USE_SUNAUDIO = xyes; then
28615   :
28616   if test "xsunaudio" != "x"; then
28617     GST_PLUGINS_YES="\tsunaudio\n$GST_PLUGINS_YES"
28618   fi
28619
28620 $as_echo "#define HAVE_SUNAUDIO /**/" >>confdefs.h
28621
28622 else
28623   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: sunaudio" >&5
28624 $as_echo "$as_me: *** These plugins will not be built: sunaudio" >&6;}
28625   if test "xsunaudio" != "x"; then
28626     GST_PLUGINS_NO="\tsunaudio\n$GST_PLUGINS_NO"
28627   fi
28628   :
28629 fi
28630  if test x$USE_SUNAUDIO = xyes; then
28631   USE_SUNAUDIO_TRUE=
28632   USE_SUNAUDIO_FALSE='#'
28633 else
28634   USE_SUNAUDIO_TRUE='#'
28635   USE_SUNAUDIO_FALSE=
28636 fi
28637
28638
28639
28640 echo
28641 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: OSX audio ***" >&5
28642 $as_echo "$as_me: *** checking feature: OSX audio ***" >&6;}
28643 if test "xosxaudio" != "x"
28644 then
28645   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: osxaudio ***" >&5
28646 $as_echo "$as_me: *** for plug-ins: osxaudio ***" >&6;}
28647 fi
28648 NOUSE=
28649 if test "x$USE_OSX_AUDIO" = "xno"; then
28650   NOUSE="yes"
28651 fi
28652 # Check whether --enable-osx_audio was given.
28653 if test "${enable_osx_audio+set}" = set; then :
28654   enableval=$enable_osx_audio;  case "${enableval}" in
28655       yes) USE_OSX_AUDIO=yes;;
28656       no) USE_OSX_AUDIO=no;;
28657       *) as_fn_error $? "bad value ${enableval} for --enable-osx_audio" "$LINENO" 5 ;;
28658     esac
28659 else
28660    USE_OSX_AUDIO=yes
28661 fi
28662
28663 if test "x$NOUSE" = "xyes"; then
28664   USE_OSX_AUDIO="no"
28665   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** osxaudio pre-configured not to be built" >&5
28666 $as_echo "$as_me: WARNING: *** osxaudio pre-configured not to be built" >&2;}
28667 fi
28668 NOUSE=
28669
28670
28671 if test x$USE_OSX_AUDIO = xyes; then
28672
28673   gst_check_save_LIBS=$LIBS
28674   gst_check_save_LDFLAGS=$LDFLAGS
28675   gst_check_save_CFLAGS=$CFLAGS
28676   gst_check_save_CPPFLAGS=$CPPFLAGS
28677   gst_check_save_CXXFLAGS=$CXXFLAGS
28678
28679   HAVE_OSX_AUDIO=no
28680
28681   ac_fn_c_check_header_mongrel "$LINENO" "CoreAudio/CoreAudio.h" "ac_cv_header_CoreAudio_CoreAudio_h" "$ac_includes_default"
28682 if test "x$ac_cv_header_CoreAudio_CoreAudio_h" = xyes; then :
28683   HAVE_OSX_AUDIO="yes"
28684 else
28685   HAVE_OSX_AUDIO="no"
28686 fi
28687
28688
28689
28690
28691   LIBS=$gst_check_save_LIBS
28692   LDFLAGS=$gst_check_save_LDFLAGS
28693   CFLAGS=$gst_check_save_CFLAGS
28694   CPPFLAGS=$gst_check_save_CPPFLAGS
28695   CXXFLAGS=$gst_check_save_CXXFLAGS
28696
28697     if test x$HAVE_OSX_AUDIO = xno; then
28698     USE_OSX_AUDIO=no
28699   else
28700     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: osxaudio" >&5
28701 $as_echo "$as_me: *** These plugins will be built: osxaudio" >&6;}
28702   fi
28703 fi
28704 if test x$USE_OSX_AUDIO = xyes; then
28705   :
28706   if test "xosxaudio" != "x"; then
28707     GST_PLUGINS_YES="\tosxaudio\n$GST_PLUGINS_YES"
28708   fi
28709
28710 $as_echo "#define HAVE_OSX_AUDIO /**/" >>confdefs.h
28711
28712 else
28713   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: osxaudio" >&5
28714 $as_echo "$as_me: *** These plugins will not be built: osxaudio" >&6;}
28715   if test "xosxaudio" != "x"; then
28716     GST_PLUGINS_NO="\tosxaudio\n$GST_PLUGINS_NO"
28717   fi
28718   :
28719 fi
28720  if test x$USE_OSX_AUDIO = xyes; then
28721   USE_OSX_AUDIO_TRUE=
28722   USE_OSX_AUDIO_FALSE='#'
28723 else
28724   USE_OSX_AUDIO_TRUE='#'
28725   USE_OSX_AUDIO_FALSE=
28726 fi
28727
28728
28729
28730 HAVE_OSX_VIDEO="no"
28731 echo
28732 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: OSX video ***" >&5
28733 $as_echo "$as_me: *** checking feature: OSX video ***" >&6;}
28734 if test "xosxvideosink" != "x"
28735 then
28736   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: osxvideosink ***" >&5
28737 $as_echo "$as_me: *** for plug-ins: osxvideosink ***" >&6;}
28738 fi
28739 NOUSE=
28740 if test "x$USE_OSX_VIDEO" = "xno"; then
28741   NOUSE="yes"
28742 fi
28743 # Check whether --enable-osx_video was given.
28744 if test "${enable_osx_video+set}" = set; then :
28745   enableval=$enable_osx_video;  case "${enableval}" in
28746       yes) USE_OSX_VIDEO=yes;;
28747       no) USE_OSX_VIDEO=no;;
28748       *) as_fn_error $? "bad value ${enableval} for --enable-osx_video" "$LINENO" 5 ;;
28749     esac
28750 else
28751    USE_OSX_VIDEO=yes
28752 fi
28753
28754 if test "x$NOUSE" = "xyes"; then
28755   USE_OSX_VIDEO="no"
28756   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** osxvideosink pre-configured not to be built" >&5
28757 $as_echo "$as_me: WARNING: *** osxvideosink pre-configured not to be built" >&2;}
28758 fi
28759 NOUSE=
28760
28761
28762 if test x$USE_OSX_VIDEO = xyes; then
28763
28764   gst_check_save_LIBS=$LIBS
28765   gst_check_save_LDFLAGS=$LDFLAGS
28766   gst_check_save_CFLAGS=$CFLAGS
28767   gst_check_save_CPPFLAGS=$CPPFLAGS
28768   gst_check_save_CXXFLAGS=$CXXFLAGS
28769
28770   HAVE_OSX_VIDEO=no
28771
28772   ac_fn_c_check_header_mongrel "$LINENO" "OpenGL/gl.h" "ac_cv_header_OpenGL_gl_h" "$ac_includes_default"
28773 if test "x$ac_cv_header_OpenGL_gl_h" = xyes; then :
28774   HAVE_OSX_VIDEO="yes"
28775 else
28776   HAVE_OSX_VIDEO="no"
28777 fi
28778
28779
28780
28781
28782   LIBS=$gst_check_save_LIBS
28783   LDFLAGS=$gst_check_save_LDFLAGS
28784   CFLAGS=$gst_check_save_CFLAGS
28785   CPPFLAGS=$gst_check_save_CPPFLAGS
28786   CXXFLAGS=$gst_check_save_CXXFLAGS
28787
28788     if test x$HAVE_OSX_VIDEO = xno; then
28789     USE_OSX_VIDEO=no
28790   else
28791     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: osxvideosink" >&5
28792 $as_echo "$as_me: *** These plugins will be built: osxvideosink" >&6;}
28793   fi
28794 fi
28795 if test x$USE_OSX_VIDEO = xyes; then
28796   :
28797   if test "xosxvideosink" != "x"; then
28798     GST_PLUGINS_YES="\tosxvideosink\n$GST_PLUGINS_YES"
28799   fi
28800
28801 $as_echo "#define HAVE_OSX_VIDEO /**/" >>confdefs.h
28802
28803 else
28804   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: osxvideosink" >&5
28805 $as_echo "$as_me: *** These plugins will not be built: osxvideosink" >&6;}
28806   if test "xosxvideosink" != "x"; then
28807     GST_PLUGINS_NO="\tosxvideosink\n$GST_PLUGINS_NO"
28808   fi
28809   :
28810 fi
28811  if test x$USE_OSX_VIDEO = xyes; then
28812   USE_OSX_VIDEO_TRUE=
28813   USE_OSX_VIDEO_FALSE='#'
28814 else
28815   USE_OSX_VIDEO_TRUE='#'
28816   USE_OSX_VIDEO_FALSE=
28817 fi
28818
28819
28820 case "$host" in
28821   *-*darwin*)
28822         ;;
28823   *)
28824     HAVE_OSX_VIDEO="no"
28825     ;;
28826 esac
28827
28828
28829 echo
28830 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Video 4 Linux 2 ***" >&5
28831 $as_echo "$as_me: *** checking feature: Video 4 Linux 2 ***" >&6;}
28832 if test "xv4l2src" != "x"
28833 then
28834   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: v4l2src ***" >&5
28835 $as_echo "$as_me: *** for plug-ins: v4l2src ***" >&6;}
28836 fi
28837 NOUSE=
28838 if test "x$USE_GST_V4L2" = "xno"; then
28839   NOUSE="yes"
28840 fi
28841 # Check whether --enable-gst_v4l2 was given.
28842 if test "${enable_gst_v4l2+set}" = set; then :
28843   enableval=$enable_gst_v4l2;  case "${enableval}" in
28844       yes) USE_GST_V4L2=yes;;
28845       no) USE_GST_V4L2=no;;
28846       *) as_fn_error $? "bad value ${enableval} for --enable-gst_v4l2" "$LINENO" 5 ;;
28847     esac
28848 else
28849    USE_GST_V4L2=yes
28850 fi
28851
28852 if test "x$NOUSE" = "xyes"; then
28853   USE_GST_V4L2="no"
28854   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** v4l2src pre-configured not to be built" >&5
28855 $as_echo "$as_me: WARNING: *** v4l2src pre-configured not to be built" >&2;}
28856 fi
28857 NOUSE=
28858
28859
28860 if test x$USE_GST_V4L2 = xyes; then
28861
28862   gst_check_save_LIBS=$LIBS
28863   gst_check_save_LDFLAGS=$LDFLAGS
28864   gst_check_save_CFLAGS=$CFLAGS
28865   gst_check_save_CPPFLAGS=$CPPFLAGS
28866   gst_check_save_CXXFLAGS=$CXXFLAGS
28867
28868   HAVE_GST_V4L2=no
28869
28870   { $as_echo "$as_me:${as_lineno-$LINENO}: checking Checking for up to date v4l2 installation" >&5
28871 $as_echo_n "checking Checking for up to date v4l2 installation... " >&6; }
28872   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28873 /* end confdefs.h.  */
28874
28875 #include <sys/types.h>
28876 #ifdef __sun /* Solaris */
28877 #include <sys/types.h>
28878 #include <sys/videodev2.h>
28879 #else /* Linux */
28880 #include <linux/types.h>
28881 #define _LINUX_TIME_H
28882 #define __user
28883 #include <linux/videodev2.h>
28884 #endif
28885 #if defined(V4L2_MAJOR_VERSION) || defined(V4L2_MINOR_VERSION)
28886 #error too early v4l2 version or no v4l2 at all
28887 #endif
28888
28889 int
28890 main ()
28891 {
28892
28893 return 0;
28894
28895   ;
28896   return 0;
28897 }
28898 _ACEOF
28899 if ac_fn_c_try_compile "$LINENO"; then :
28900
28901       HAVE_GST_V4L2="yes"
28902       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28903 $as_echo "yes" >&6; }
28904
28905 else
28906
28907       HAVE_GST_V4L2="no"
28908       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28909 $as_echo "no" >&6; }
28910
28911       HAVE_VIDEODEV=no
28912       ac_fn_c_check_header_mongrel "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "$ac_includes_default"
28913 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
28914    HAVE_VIDEODEV=yes
28915 else
28916
28917         ac_fn_c_check_header_mongrel "$LINENO" "sys/videodev2.h" "ac_cv_header_sys_videodev2_h" "$ac_includes_default"
28918 if test "x$ac_cv_header_sys_videodev2_h" = xyes; then :
28919    HAVE_VIDEODEV=yes
28920 fi
28921
28922
28923
28924 fi
28925
28926
28927
28928       if test "x$HAVE_VIDEODEV" = "xyes"; then
28929         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: video4linux2 headers were found, but they're old." >&5
28930 $as_echo "$as_me: WARNING: video4linux2 headers were found, but they're old." >&2;}
28931         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Please update v4l2 to compile the v4l2 plugins" >&5
28932 $as_echo "$as_me: WARNING: Please update v4l2 to compile the v4l2 plugins" >&2;}
28933       else
28934         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: video4linux2 was not found" >&5
28935 $as_echo "$as_me: WARNING: video4linux2 was not found" >&2;}
28936       fi
28937
28938 fi
28939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28940
28941   if  test x$HAVE_GST_V4L2 = xyes ; then
28942         MISSING_DECL=0
28943     { $as_echo "$as_me:${as_lineno-$LINENO}: checking struct v4l2_buffer declaration" >&5
28944 $as_echo_n "checking struct v4l2_buffer declaration... " >&6; }
28945     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28946 /* end confdefs.h.  */
28947
28948 #include <sys/types.h>
28949 #ifdef __sun /* Solaris */
28950 #include <sys/types.h>
28951 #include <sys/videodev2.h>
28952 #else /* Linux */
28953 #include <linux/types.h>
28954 #define _LINUX_TIME_H
28955 #define __user
28956 #include <linux/videodev2.h>
28957 #endif
28958
28959 int
28960 main ()
28961 {
28962
28963 struct v4l2_buffer buf;
28964 buf.index = 0;
28965 return 0;
28966
28967   ;
28968   return 0;
28969 }
28970 _ACEOF
28971 if ac_fn_c_try_compile "$LINENO"; then :
28972    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28973 $as_echo "yes" >&6; }
28974 else
28975    MISSING_DECL=1 && { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28976 $as_echo "no" >&6; }
28977 fi
28978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28979     if  test x$MISSING_DECL = x1 ; then
28980
28981 $as_echo "#define GST_V4L2_MISSING_BUFDECL 1" >>confdefs.h
28982
28983     fi
28984
28985
28986   if test x$HAVE_X = xyes; then
28987     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XvQueryExtension in -lXv_pic" >&5
28988 $as_echo_n "checking for XvQueryExtension in -lXv_pic... " >&6; }
28989 if ${ac_cv_lib_Xv_pic_XvQueryExtension+:} false; then :
28990   $as_echo_n "(cached) " >&6
28991 else
28992   ac_check_lib_save_LIBS=$LIBS
28993 LIBS="-lXv_pic $X_LIBS -lXext $LIBS"
28994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28995 /* end confdefs.h.  */
28996
28997 /* Override any GCC internal prototype to avoid an error.
28998    Use char because int might match the return type of a GCC
28999    builtin and then its argument prototype would still apply.  */
29000 #ifdef __cplusplus
29001 extern "C"
29002 #endif
29003 char XvQueryExtension ();
29004 int
29005 main ()
29006 {
29007 return XvQueryExtension ();
29008   ;
29009   return 0;
29010 }
29011 _ACEOF
29012 if ac_fn_c_try_link "$LINENO"; then :
29013   ac_cv_lib_Xv_pic_XvQueryExtension=yes
29014 else
29015   ac_cv_lib_Xv_pic_XvQueryExtension=no
29016 fi
29017 rm -f core conftest.err conftest.$ac_objext \
29018     conftest$ac_exeext conftest.$ac_ext
29019 LIBS=$ac_check_lib_save_LIBS
29020 fi
29021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xv_pic_XvQueryExtension" >&5
29022 $as_echo "$ac_cv_lib_Xv_pic_XvQueryExtension" >&6; }
29023 if test "x$ac_cv_lib_Xv_pic_XvQueryExtension" = xyes; then :
29024   HAVE_XVIDEO="yes"
29025 else
29026   HAVE_XVIDEO="no"
29027 fi
29028
29029
29030     if test x$HAVE_XVIDEO = xyes; then
29031       XVIDEO_LIBS="-lXv_pic -lXext"
29032
29033     else
29034             if test x$HAVE_XVIDEO = xno; then
29035         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XvQueryExtension in -lXv" >&5
29036 $as_echo_n "checking for XvQueryExtension in -lXv... " >&6; }
29037 if ${ac_cv_lib_Xv_XvQueryExtension+:} false; then :
29038   $as_echo_n "(cached) " >&6
29039 else
29040   ac_check_lib_save_LIBS=$LIBS
29041 LIBS="-lXv $X_LIBS -lXext $LIBS"
29042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29043 /* end confdefs.h.  */
29044
29045 /* Override any GCC internal prototype to avoid an error.
29046    Use char because int might match the return type of a GCC
29047    builtin and then its argument prototype would still apply.  */
29048 #ifdef __cplusplus
29049 extern "C"
29050 #endif
29051 char XvQueryExtension ();
29052 int
29053 main ()
29054 {
29055 return XvQueryExtension ();
29056   ;
29057   return 0;
29058 }
29059 _ACEOF
29060 if ac_fn_c_try_link "$LINENO"; then :
29061   ac_cv_lib_Xv_XvQueryExtension=yes
29062 else
29063   ac_cv_lib_Xv_XvQueryExtension=no
29064 fi
29065 rm -f core conftest.err conftest.$ac_objext \
29066     conftest$ac_exeext conftest.$ac_ext
29067 LIBS=$ac_check_lib_save_LIBS
29068 fi
29069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xv_XvQueryExtension" >&5
29070 $as_echo "$ac_cv_lib_Xv_XvQueryExtension" >&6; }
29071 if test "x$ac_cv_lib_Xv_XvQueryExtension" = xyes; then :
29072   HAVE_XVIDEO="yes"
29073 else
29074   HAVE_XVIDEO="no"
29075 fi
29076
29077
29078         if test x$HAVE_XVIDEO = xyes; then
29079           XVIDEO_LIBS="-lXv -lXext"
29080
29081         fi
29082       fi
29083     fi
29084   fi
29085
29086   fi
29087
29088
29089   LIBS=$gst_check_save_LIBS
29090   LDFLAGS=$gst_check_save_LDFLAGS
29091   CFLAGS=$gst_check_save_CFLAGS
29092   CPPFLAGS=$gst_check_save_CPPFLAGS
29093   CXXFLAGS=$gst_check_save_CXXFLAGS
29094
29095     if test x$HAVE_GST_V4L2 = xno; then
29096     USE_GST_V4L2=no
29097   else
29098     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: v4l2src" >&5
29099 $as_echo "$as_me: *** These plugins will be built: v4l2src" >&6;}
29100   fi
29101 fi
29102 if test x$USE_GST_V4L2 = xyes; then
29103   :
29104   if test "xv4l2src" != "x"; then
29105     GST_PLUGINS_YES="\tv4l2src\n$GST_PLUGINS_YES"
29106   fi
29107
29108 $as_echo "#define HAVE_GST_V4L2 /**/" >>confdefs.h
29109
29110 else
29111   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: v4l2src" >&5
29112 $as_echo "$as_me: *** These plugins will not be built: v4l2src" >&6;}
29113   if test "xv4l2src" != "x"; then
29114     GST_PLUGINS_NO="\tv4l2src\n$GST_PLUGINS_NO"
29115   fi
29116   :
29117 fi
29118  if test x$USE_GST_V4L2 = xyes; then
29119   USE_GST_V4L2_TRUE=
29120   USE_GST_V4L2_FALSE='#'
29121 else
29122   USE_GST_V4L2_TRUE='#'
29123   USE_GST_V4L2_FALSE=
29124 fi
29125
29126
29127
29128 # Optional gudev for device probing
29129
29130 # Check whether --with-gudev was given.
29131 if test "${with_gudev+set}" = set; then :
29132   withval=$with_gudev;
29133 else
29134   with_gudev=check
29135 fi
29136
29137 if test x$HAVE_GST_V4L2 = xyes; then
29138   if test x$with_gudev != xno; then
29139
29140 pkg_failed=no
29141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GUDEV" >&5
29142 $as_echo_n "checking for GUDEV... " >&6; }
29143
29144 if test -n "$PKG_CONFIG"; then
29145     if test -n "$GUDEV_CFLAGS"; then
29146         pkg_cv_GUDEV_CFLAGS="$GUDEV_CFLAGS"
29147     else
29148         if test -n "$PKG_CONFIG" && \
29149     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" gudev-1.0 >= 143 \""; } >&5
29150   ($PKG_CONFIG --exists --print-errors " gudev-1.0 >= 143 ") 2>&5
29151   ac_status=$?
29152   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29153   test $ac_status = 0; }; then
29154   pkg_cv_GUDEV_CFLAGS=`$PKG_CONFIG --cflags " gudev-1.0 >= 143 " 2>/dev/null`
29155 else
29156   pkg_failed=yes
29157 fi
29158     fi
29159 else
29160         pkg_failed=untried
29161 fi
29162 if test -n "$PKG_CONFIG"; then
29163     if test -n "$GUDEV_LIBS"; then
29164         pkg_cv_GUDEV_LIBS="$GUDEV_LIBS"
29165     else
29166         if test -n "$PKG_CONFIG" && \
29167     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" gudev-1.0 >= 143 \""; } >&5
29168   ($PKG_CONFIG --exists --print-errors " gudev-1.0 >= 143 ") 2>&5
29169   ac_status=$?
29170   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29171   test $ac_status = 0; }; then
29172   pkg_cv_GUDEV_LIBS=`$PKG_CONFIG --libs " gudev-1.0 >= 143 " 2>/dev/null`
29173 else
29174   pkg_failed=yes
29175 fi
29176     fi
29177 else
29178         pkg_failed=untried
29179 fi
29180
29181
29182
29183 if test $pkg_failed = yes; then
29184
29185 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29186         _pkg_short_errors_supported=yes
29187 else
29188         _pkg_short_errors_supported=no
29189 fi
29190         if test $_pkg_short_errors_supported = yes; then
29191                 GUDEV_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors " gudev-1.0 >= 143 "`
29192         else
29193                 GUDEV_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors " gudev-1.0 >= 143 "`
29194         fi
29195         # Put the nasty error message in config.log where it belongs
29196         echo "$GUDEV_PKG_ERRORS" >&5
29197
29198         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29199 $as_echo "no" >&6; }
29200
29201           have_gudev=no
29202
29203 elif test $pkg_failed = untried; then
29204
29205           have_gudev=no
29206
29207 else
29208         GUDEV_CFLAGS=$pkg_cv_GUDEV_CFLAGS
29209         GUDEV_LIBS=$pkg_cv_GUDEV_LIBS
29210         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29211 $as_echo "yes" >&6; }
29212          have_gudev=yes
29213
29214 $as_echo "#define HAVE_GUDEV 1" >>confdefs.h
29215
29216
29217 $as_echo "#define G_UDEV_API_IS_SUBJECT_TO_CHANGE 1" >>confdefs.h
29218
29219
29220 fi
29221   else
29222     have_gudev=no
29223   fi
29224 fi
29225
29226
29227
29228 # Make libv4l2 non-automagic
29229
29230 # Check whether --with-libv4l2 was given.
29231 if test "${with_libv4l2+set}" = set; then :
29232   withval=$with_libv4l2;
29233 else
29234   with_libv4l2=check
29235 fi
29236
29237 if test x$HAVE_GST_V4L2 = xyes; then
29238   if test x$with_libv4l2 != xno; then
29239
29240 pkg_failed=no
29241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBV4L2" >&5
29242 $as_echo_n "checking for LIBV4L2... " >&6; }
29243
29244 if test -n "$PKG_CONFIG"; then
29245     if test -n "$LIBV4L2_CFLAGS"; then
29246         pkg_cv_LIBV4L2_CFLAGS="$LIBV4L2_CFLAGS"
29247     else
29248         if test -n "$PKG_CONFIG" && \
29249     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libv4l2\""; } >&5
29250   ($PKG_CONFIG --exists --print-errors "libv4l2") 2>&5
29251   ac_status=$?
29252   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29253   test $ac_status = 0; }; then
29254   pkg_cv_LIBV4L2_CFLAGS=`$PKG_CONFIG --cflags "libv4l2" 2>/dev/null`
29255 else
29256   pkg_failed=yes
29257 fi
29258     fi
29259 else
29260         pkg_failed=untried
29261 fi
29262 if test -n "$PKG_CONFIG"; then
29263     if test -n "$LIBV4L2_LIBS"; then
29264         pkg_cv_LIBV4L2_LIBS="$LIBV4L2_LIBS"
29265     else
29266         if test -n "$PKG_CONFIG" && \
29267     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libv4l2\""; } >&5
29268   ($PKG_CONFIG --exists --print-errors "libv4l2") 2>&5
29269   ac_status=$?
29270   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29271   test $ac_status = 0; }; then
29272   pkg_cv_LIBV4L2_LIBS=`$PKG_CONFIG --libs "libv4l2" 2>/dev/null`
29273 else
29274   pkg_failed=yes
29275 fi
29276     fi
29277 else
29278         pkg_failed=untried
29279 fi
29280
29281
29282
29283 if test $pkg_failed = yes; then
29284
29285 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29286         _pkg_short_errors_supported=yes
29287 else
29288         _pkg_short_errors_supported=no
29289 fi
29290         if test $_pkg_short_errors_supported = yes; then
29291                 LIBV4L2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libv4l2"`
29292         else
29293                 LIBV4L2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libv4l2"`
29294         fi
29295         # Put the nasty error message in config.log where it belongs
29296         echo "$LIBV4L2_PKG_ERRORS" >&5
29297
29298         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29299 $as_echo "no" >&6; }
29300
29301           have_libv4l2=no
29302
29303 elif test $pkg_failed = untried; then
29304
29305           have_libv4l2=no
29306
29307 else
29308         LIBV4L2_CFLAGS=$pkg_cv_LIBV4L2_CFLAGS
29309         LIBV4L2_LIBS=$pkg_cv_LIBV4L2_LIBS
29310         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29311 $as_echo "yes" >&6; }
29312          have_libv4l2=yes
29313
29314 $as_echo "#define HAVE_LIBV4L2 1" >>confdefs.h
29315
29316
29317 fi
29318   else
29319     have_libv4l2=no
29320   fi
29321 fi
29322
29323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
29324 $as_echo_n "checking for X... " >&6; }
29325
29326
29327 # Check whether --with-x was given.
29328 if test "${with_x+set}" = set; then :
29329   withval=$with_x;
29330 fi
29331
29332 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29333 if test "x$with_x" = xno; then
29334   # The user explicitly disabled X.
29335   have_x=disabled
29336 else
29337   case $x_includes,$x_libraries in #(
29338     *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
29339     *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
29340   $as_echo_n "(cached) " >&6
29341 else
29342   # One or both of the vars are not set, and there is no cached value.
29343 ac_x_includes=no ac_x_libraries=no
29344 rm -f -r conftest.dir
29345 if mkdir conftest.dir; then
29346   cd conftest.dir
29347   cat >Imakefile <<'_ACEOF'
29348 incroot:
29349         @echo incroot='${INCROOT}'
29350 usrlibdir:
29351         @echo usrlibdir='${USRLIBDIR}'
29352 libdir:
29353         @echo libdir='${LIBDIR}'
29354 _ACEOF
29355   if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
29356     # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
29357     for ac_var in incroot usrlibdir libdir; do
29358       eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
29359     done
29360     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29361     for ac_extension in a so sl dylib la dll; do
29362       if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
29363          test -f "$ac_im_libdir/libX11.$ac_extension"; then
29364         ac_im_usrlibdir=$ac_im_libdir; break
29365       fi
29366     done
29367     # Screen out bogus values from the imake configuration.  They are
29368     # bogus both because they are the default anyway, and because
29369     # using them would break gcc on systems where it needs fixed includes.
29370     case $ac_im_incroot in
29371         /usr/include) ac_x_includes= ;;
29372         *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29373     esac
29374     case $ac_im_usrlibdir in
29375         /usr/lib | /usr/lib64 | /lib | /lib64) ;;
29376         *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29377     esac
29378   fi
29379   cd ..
29380   rm -f -r conftest.dir
29381 fi
29382
29383 # Standard set of common directories for X headers.
29384 # Check X11 before X11Rn because it is often a symlink to the current release.
29385 ac_x_header_dirs='
29386 /usr/X11/include
29387 /usr/X11R7/include
29388 /usr/X11R6/include
29389 /usr/X11R5/include
29390 /usr/X11R4/include
29391
29392 /usr/include/X11
29393 /usr/include/X11R7
29394 /usr/include/X11R6
29395 /usr/include/X11R5
29396 /usr/include/X11R4
29397
29398 /usr/local/X11/include
29399 /usr/local/X11R7/include
29400 /usr/local/X11R6/include
29401 /usr/local/X11R5/include
29402 /usr/local/X11R4/include
29403
29404 /usr/local/include/X11
29405 /usr/local/include/X11R7
29406 /usr/local/include/X11R6
29407 /usr/local/include/X11R5
29408 /usr/local/include/X11R4
29409
29410 /usr/X386/include
29411 /usr/x386/include
29412 /usr/XFree86/include/X11
29413
29414 /usr/include
29415 /usr/local/include
29416 /usr/unsupported/include
29417 /usr/athena/include
29418 /usr/local/x11r5/include
29419 /usr/lpp/Xamples/include
29420
29421 /usr/openwin/include
29422 /usr/openwin/share/include'
29423
29424 if test "$ac_x_includes" = no; then
29425   # Guess where to find include files, by looking for Xlib.h.
29426   # First, try using that file with no special directory specified.
29427   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29428 /* end confdefs.h.  */
29429 #include <X11/Xlib.h>
29430 _ACEOF
29431 if ac_fn_c_try_cpp "$LINENO"; then :
29432   # We can compile using X headers with no special include directory.
29433 ac_x_includes=
29434 else
29435   for ac_dir in $ac_x_header_dirs; do
29436   if test -r "$ac_dir/X11/Xlib.h"; then
29437     ac_x_includes=$ac_dir
29438     break
29439   fi
29440 done
29441 fi
29442 rm -f conftest.err conftest.i conftest.$ac_ext
29443 fi # $ac_x_includes = no
29444
29445 if test "$ac_x_libraries" = no; then
29446   # Check for the libraries.
29447   # See if we find them without any special options.
29448   # Don't add to $LIBS permanently.
29449   ac_save_LIBS=$LIBS
29450   LIBS="-lX11 $LIBS"
29451   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29452 /* end confdefs.h.  */
29453 #include <X11/Xlib.h>
29454 int
29455 main ()
29456 {
29457 XrmInitialize ()
29458   ;
29459   return 0;
29460 }
29461 _ACEOF
29462 if ac_fn_c_try_link "$LINENO"; then :
29463   LIBS=$ac_save_LIBS
29464 # We can link X programs with no special library path.
29465 ac_x_libraries=
29466 else
29467   LIBS=$ac_save_LIBS
29468 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
29469 do
29470   # Don't even attempt the hair of trying to link an X program!
29471   for ac_extension in a so sl dylib la dll; do
29472     if test -r "$ac_dir/libX11.$ac_extension"; then
29473       ac_x_libraries=$ac_dir
29474       break 2
29475     fi
29476   done
29477 done
29478 fi
29479 rm -f core conftest.err conftest.$ac_objext \
29480     conftest$ac_exeext conftest.$ac_ext
29481 fi # $ac_x_libraries = no
29482
29483 case $ac_x_includes,$ac_x_libraries in #(
29484   no,* | *,no | *\'*)
29485     # Didn't find X, or a directory has "'" in its name.
29486     ac_cv_have_x="have_x=no";; #(
29487   *)
29488     # Record where we found X for the cache.
29489     ac_cv_have_x="have_x=yes\
29490         ac_x_includes='$ac_x_includes'\
29491         ac_x_libraries='$ac_x_libraries'"
29492 esac
29493 fi
29494 ;; #(
29495     *) have_x=yes;;
29496   esac
29497   eval "$ac_cv_have_x"
29498 fi # $with_x != no
29499
29500 if test "$have_x" != yes; then
29501   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
29502 $as_echo "$have_x" >&6; }
29503   no_x=yes
29504 else
29505   # If each of the values was on the command line, it overrides each guess.
29506   test "x$x_includes" = xNONE && x_includes=$ac_x_includes
29507   test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
29508   # Update the cache value to reflect the command line values.
29509   ac_cv_have_x="have_x=yes\
29510         ac_x_includes='$x_includes'\
29511         ac_x_libraries='$x_libraries'"
29512   { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
29513 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
29514 fi
29515
29516 echo
29517 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: X libraries and plugins ***" >&5
29518 $as_echo "$as_me: *** checking feature: X libraries and plugins ***" >&6;}
29519 if test "xximagesrc" != "x"
29520 then
29521   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: ximagesrc ***" >&5
29522 $as_echo "$as_me: *** for plug-ins: ximagesrc ***" >&6;}
29523 fi
29524 NOUSE=
29525 if test "x$USE_X" = "xno"; then
29526   NOUSE="yes"
29527 fi
29528 # Check whether --enable-x was given.
29529 if test "${enable_x+set}" = set; then :
29530   enableval=$enable_x;  case "${enableval}" in
29531       yes) USE_X=yes;;
29532       no) USE_X=no;;
29533       *) as_fn_error $? "bad value ${enableval} for --enable-x" "$LINENO" 5 ;;
29534     esac
29535 else
29536    USE_X=yes
29537 fi
29538
29539 if test "x$NOUSE" = "xyes"; then
29540   USE_X="no"
29541   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** ximagesrc pre-configured not to be built" >&5
29542 $as_echo "$as_me: WARNING: *** ximagesrc pre-configured not to be built" >&2;}
29543 fi
29544 NOUSE=
29545
29546
29547 if test x$USE_X = xyes; then
29548
29549   gst_check_save_LIBS=$LIBS
29550   gst_check_save_LDFLAGS=$LDFLAGS
29551   gst_check_save_CFLAGS=$CFLAGS
29552   gst_check_save_CPPFLAGS=$CPPFLAGS
29553   gst_check_save_CXXFLAGS=$CXXFLAGS
29554
29555   HAVE_X=no
29556
29557   if test "$no_x" = yes; then
29558   # Not all programs may use this symbol, but it does not hurt to define it.
29559
29560 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
29561
29562   X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
29563 else
29564   if test -n "$x_includes"; then
29565     X_CFLAGS="$X_CFLAGS -I$x_includes"
29566   fi
29567
29568   # It would also be nice to do this for all -L options, not just this one.
29569   if test -n "$x_libraries"; then
29570     X_LIBS="$X_LIBS -L$x_libraries"
29571     # For Solaris; some versions of Sun CC require a space after -R and
29572     # others require no space.  Words are not sufficient . . . .
29573     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
29574 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
29575     ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
29576     ac_xsave_c_werror_flag=$ac_c_werror_flag
29577     ac_c_werror_flag=yes
29578     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29579 /* end confdefs.h.  */
29580
29581 int
29582 main ()
29583 {
29584
29585   ;
29586   return 0;
29587 }
29588 _ACEOF
29589 if ac_fn_c_try_link "$LINENO"; then :
29590   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29591 $as_echo "no" >&6; }
29592        X_LIBS="$X_LIBS -R$x_libraries"
29593 else
29594   LIBS="$ac_xsave_LIBS -R $x_libraries"
29595        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29596 /* end confdefs.h.  */
29597
29598 int
29599 main ()
29600 {
29601
29602   ;
29603   return 0;
29604 }
29605 _ACEOF
29606 if ac_fn_c_try_link "$LINENO"; then :
29607   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29608 $as_echo "yes" >&6; }
29609           X_LIBS="$X_LIBS -R $x_libraries"
29610 else
29611   { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
29612 $as_echo "neither works" >&6; }
29613 fi
29614 rm -f core conftest.err conftest.$ac_objext \
29615     conftest$ac_exeext conftest.$ac_ext
29616 fi
29617 rm -f core conftest.err conftest.$ac_objext \
29618     conftest$ac_exeext conftest.$ac_ext
29619     ac_c_werror_flag=$ac_xsave_c_werror_flag
29620     LIBS=$ac_xsave_LIBS
29621   fi
29622
29623   # Check for system-dependent libraries X programs must link with.
29624   # Do this before checking for the system-independent R6 libraries
29625   # (-lICE), since we may need -lsocket or whatever for X linking.
29626
29627   if test "$ISC" = yes; then
29628     X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
29629   else
29630     # Martyn Johnson says this is needed for Ultrix, if the X
29631     # libraries were built with DECnet support.  And Karl Berry says
29632     # the Alpha needs dnet_stub (dnet does not exist).
29633     ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
29634     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29635 /* end confdefs.h.  */
29636
29637 /* Override any GCC internal prototype to avoid an error.
29638    Use char because int might match the return type of a GCC
29639    builtin and then its argument prototype would still apply.  */
29640 #ifdef __cplusplus
29641 extern "C"
29642 #endif
29643 char XOpenDisplay ();
29644 int
29645 main ()
29646 {
29647 return XOpenDisplay ();
29648   ;
29649   return 0;
29650 }
29651 _ACEOF
29652 if ac_fn_c_try_link "$LINENO"; then :
29653
29654 else
29655   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
29656 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
29657 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
29658   $as_echo_n "(cached) " >&6
29659 else
29660   ac_check_lib_save_LIBS=$LIBS
29661 LIBS="-ldnet  $LIBS"
29662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29663 /* end confdefs.h.  */
29664
29665 /* Override any GCC internal prototype to avoid an error.
29666    Use char because int might match the return type of a GCC
29667    builtin and then its argument prototype would still apply.  */
29668 #ifdef __cplusplus
29669 extern "C"
29670 #endif
29671 char dnet_ntoa ();
29672 int
29673 main ()
29674 {
29675 return dnet_ntoa ();
29676   ;
29677   return 0;
29678 }
29679 _ACEOF
29680 if ac_fn_c_try_link "$LINENO"; then :
29681   ac_cv_lib_dnet_dnet_ntoa=yes
29682 else
29683   ac_cv_lib_dnet_dnet_ntoa=no
29684 fi
29685 rm -f core conftest.err conftest.$ac_objext \
29686     conftest$ac_exeext conftest.$ac_ext
29687 LIBS=$ac_check_lib_save_LIBS
29688 fi
29689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
29690 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
29691 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
29692   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
29693 fi
29694
29695     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
29696       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
29697 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
29698 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
29699   $as_echo_n "(cached) " >&6
29700 else
29701   ac_check_lib_save_LIBS=$LIBS
29702 LIBS="-ldnet_stub  $LIBS"
29703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29704 /* end confdefs.h.  */
29705
29706 /* Override any GCC internal prototype to avoid an error.
29707    Use char because int might match the return type of a GCC
29708    builtin and then its argument prototype would still apply.  */
29709 #ifdef __cplusplus
29710 extern "C"
29711 #endif
29712 char dnet_ntoa ();
29713 int
29714 main ()
29715 {
29716 return dnet_ntoa ();
29717   ;
29718   return 0;
29719 }
29720 _ACEOF
29721 if ac_fn_c_try_link "$LINENO"; then :
29722   ac_cv_lib_dnet_stub_dnet_ntoa=yes
29723 else
29724   ac_cv_lib_dnet_stub_dnet_ntoa=no
29725 fi
29726 rm -f core conftest.err conftest.$ac_objext \
29727     conftest$ac_exeext conftest.$ac_ext
29728 LIBS=$ac_check_lib_save_LIBS
29729 fi
29730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
29731 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
29732 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
29733   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
29734 fi
29735
29736     fi
29737 fi
29738 rm -f core conftest.err conftest.$ac_objext \
29739     conftest$ac_exeext conftest.$ac_ext
29740     LIBS="$ac_xsave_LIBS"
29741
29742     # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
29743     # to get the SysV transport functions.
29744     # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
29745     # needs -lnsl.
29746     # The nsl library prevents programs from opening the X display
29747     # on Irix 5.2, according to T.E. Dickey.
29748     # The functions gethostbyname, getservbyname, and inet_addr are
29749     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
29750     ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
29751 if test "x$ac_cv_func_gethostbyname" = xyes; then :
29752
29753 fi
29754
29755     if test $ac_cv_func_gethostbyname = no; then
29756       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
29757 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
29758 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
29759   $as_echo_n "(cached) " >&6
29760 else
29761   ac_check_lib_save_LIBS=$LIBS
29762 LIBS="-lnsl  $LIBS"
29763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29764 /* end confdefs.h.  */
29765
29766 /* Override any GCC internal prototype to avoid an error.
29767    Use char because int might match the return type of a GCC
29768    builtin and then its argument prototype would still apply.  */
29769 #ifdef __cplusplus
29770 extern "C"
29771 #endif
29772 char gethostbyname ();
29773 int
29774 main ()
29775 {
29776 return gethostbyname ();
29777   ;
29778   return 0;
29779 }
29780 _ACEOF
29781 if ac_fn_c_try_link "$LINENO"; then :
29782   ac_cv_lib_nsl_gethostbyname=yes
29783 else
29784   ac_cv_lib_nsl_gethostbyname=no
29785 fi
29786 rm -f core conftest.err conftest.$ac_objext \
29787     conftest$ac_exeext conftest.$ac_ext
29788 LIBS=$ac_check_lib_save_LIBS
29789 fi
29790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
29791 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
29792 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
29793   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
29794 fi
29795
29796       if test $ac_cv_lib_nsl_gethostbyname = no; then
29797         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
29798 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
29799 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
29800   $as_echo_n "(cached) " >&6
29801 else
29802   ac_check_lib_save_LIBS=$LIBS
29803 LIBS="-lbsd  $LIBS"
29804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29805 /* end confdefs.h.  */
29806
29807 /* Override any GCC internal prototype to avoid an error.
29808    Use char because int might match the return type of a GCC
29809    builtin and then its argument prototype would still apply.  */
29810 #ifdef __cplusplus
29811 extern "C"
29812 #endif
29813 char gethostbyname ();
29814 int
29815 main ()
29816 {
29817 return gethostbyname ();
29818   ;
29819   return 0;
29820 }
29821 _ACEOF
29822 if ac_fn_c_try_link "$LINENO"; then :
29823   ac_cv_lib_bsd_gethostbyname=yes
29824 else
29825   ac_cv_lib_bsd_gethostbyname=no
29826 fi
29827 rm -f core conftest.err conftest.$ac_objext \
29828     conftest$ac_exeext conftest.$ac_ext
29829 LIBS=$ac_check_lib_save_LIBS
29830 fi
29831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
29832 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
29833 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
29834   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
29835 fi
29836
29837       fi
29838     fi
29839
29840     # lieder@skyler.mavd.honeywell.com says without -lsocket,
29841     # socket/setsockopt and other routines are undefined under SCO ODT
29842     # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
29843     # on later versions), says Simon Leinen: it contains gethostby*
29844     # variants that don't use the name server (or something).  -lsocket
29845     # must be given before -lnsl if both are needed.  We assume that
29846     # if connect needs -lnsl, so does gethostbyname.
29847     ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
29848 if test "x$ac_cv_func_connect" = xyes; then :
29849
29850 fi
29851
29852     if test $ac_cv_func_connect = no; then
29853       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
29854 $as_echo_n "checking for connect in -lsocket... " >&6; }
29855 if ${ac_cv_lib_socket_connect+:} false; then :
29856   $as_echo_n "(cached) " >&6
29857 else
29858   ac_check_lib_save_LIBS=$LIBS
29859 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
29860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29861 /* end confdefs.h.  */
29862
29863 /* Override any GCC internal prototype to avoid an error.
29864    Use char because int might match the return type of a GCC
29865    builtin and then its argument prototype would still apply.  */
29866 #ifdef __cplusplus
29867 extern "C"
29868 #endif
29869 char connect ();
29870 int
29871 main ()
29872 {
29873 return connect ();
29874   ;
29875   return 0;
29876 }
29877 _ACEOF
29878 if ac_fn_c_try_link "$LINENO"; then :
29879   ac_cv_lib_socket_connect=yes
29880 else
29881   ac_cv_lib_socket_connect=no
29882 fi
29883 rm -f core conftest.err conftest.$ac_objext \
29884     conftest$ac_exeext conftest.$ac_ext
29885 LIBS=$ac_check_lib_save_LIBS
29886 fi
29887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
29888 $as_echo "$ac_cv_lib_socket_connect" >&6; }
29889 if test "x$ac_cv_lib_socket_connect" = xyes; then :
29890   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
29891 fi
29892
29893     fi
29894
29895     # Guillermo Gomez says -lposix is necessary on A/UX.
29896     ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
29897 if test "x$ac_cv_func_remove" = xyes; then :
29898
29899 fi
29900
29901     if test $ac_cv_func_remove = no; then
29902       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
29903 $as_echo_n "checking for remove in -lposix... " >&6; }
29904 if ${ac_cv_lib_posix_remove+:} false; then :
29905   $as_echo_n "(cached) " >&6
29906 else
29907   ac_check_lib_save_LIBS=$LIBS
29908 LIBS="-lposix  $LIBS"
29909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29910 /* end confdefs.h.  */
29911
29912 /* Override any GCC internal prototype to avoid an error.
29913    Use char because int might match the return type of a GCC
29914    builtin and then its argument prototype would still apply.  */
29915 #ifdef __cplusplus
29916 extern "C"
29917 #endif
29918 char remove ();
29919 int
29920 main ()
29921 {
29922 return remove ();
29923   ;
29924   return 0;
29925 }
29926 _ACEOF
29927 if ac_fn_c_try_link "$LINENO"; then :
29928   ac_cv_lib_posix_remove=yes
29929 else
29930   ac_cv_lib_posix_remove=no
29931 fi
29932 rm -f core conftest.err conftest.$ac_objext \
29933     conftest$ac_exeext conftest.$ac_ext
29934 LIBS=$ac_check_lib_save_LIBS
29935 fi
29936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
29937 $as_echo "$ac_cv_lib_posix_remove" >&6; }
29938 if test "x$ac_cv_lib_posix_remove" = xyes; then :
29939   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
29940 fi
29941
29942     fi
29943
29944     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
29945     ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
29946 if test "x$ac_cv_func_shmat" = xyes; then :
29947
29948 fi
29949
29950     if test $ac_cv_func_shmat = no; then
29951       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
29952 $as_echo_n "checking for shmat in -lipc... " >&6; }
29953 if ${ac_cv_lib_ipc_shmat+:} false; then :
29954   $as_echo_n "(cached) " >&6
29955 else
29956   ac_check_lib_save_LIBS=$LIBS
29957 LIBS="-lipc  $LIBS"
29958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29959 /* end confdefs.h.  */
29960
29961 /* Override any GCC internal prototype to avoid an error.
29962    Use char because int might match the return type of a GCC
29963    builtin and then its argument prototype would still apply.  */
29964 #ifdef __cplusplus
29965 extern "C"
29966 #endif
29967 char shmat ();
29968 int
29969 main ()
29970 {
29971 return shmat ();
29972   ;
29973   return 0;
29974 }
29975 _ACEOF
29976 if ac_fn_c_try_link "$LINENO"; then :
29977   ac_cv_lib_ipc_shmat=yes
29978 else
29979   ac_cv_lib_ipc_shmat=no
29980 fi
29981 rm -f core conftest.err conftest.$ac_objext \
29982     conftest$ac_exeext conftest.$ac_ext
29983 LIBS=$ac_check_lib_save_LIBS
29984 fi
29985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
29986 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
29987 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
29988   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
29989 fi
29990
29991     fi
29992   fi
29993
29994   # Check for libraries that X11R6 Xt/Xaw programs need.
29995   ac_save_LDFLAGS=$LDFLAGS
29996   test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
29997   # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
29998   # check for ICE first), but we must link in the order -lSM -lICE or
29999   # we get undefined symbols.  So assume we have SM if we have ICE.
30000   # These have to be linked with before -lX11, unlike the other
30001   # libraries we check for below, so use a different variable.
30002   # John Interrante, Karl Berry
30003   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
30004 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
30005 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
30006   $as_echo_n "(cached) " >&6
30007 else
30008   ac_check_lib_save_LIBS=$LIBS
30009 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
30010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30011 /* end confdefs.h.  */
30012
30013 /* Override any GCC internal prototype to avoid an error.
30014    Use char because int might match the return type of a GCC
30015    builtin and then its argument prototype would still apply.  */
30016 #ifdef __cplusplus
30017 extern "C"
30018 #endif
30019 char IceConnectionNumber ();
30020 int
30021 main ()
30022 {
30023 return IceConnectionNumber ();
30024   ;
30025   return 0;
30026 }
30027 _ACEOF
30028 if ac_fn_c_try_link "$LINENO"; then :
30029   ac_cv_lib_ICE_IceConnectionNumber=yes
30030 else
30031   ac_cv_lib_ICE_IceConnectionNumber=no
30032 fi
30033 rm -f core conftest.err conftest.$ac_objext \
30034     conftest$ac_exeext conftest.$ac_ext
30035 LIBS=$ac_check_lib_save_LIBS
30036 fi
30037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30038 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
30039 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
30040   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
30041 fi
30042
30043   LDFLAGS=$ac_save_LDFLAGS
30044
30045 fi
30046
30047
30048     ac_cflags_save="$CFLAGS"
30049   ac_cppflags_save="$CPPFLAGS"
30050   CFLAGS="$CFLAGS $X_CFLAGS"
30051   CPPFLAGS="$CPPFLAGS $X_CFLAGS"
30052   ac_fn_c_check_header_mongrel "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "$ac_includes_default"
30053 if test "x$ac_cv_header_X11_Xlib_h" = xyes; then :
30054   HAVE_X="yes"
30055 else
30056   HAVE_X="no"
30057 fi
30058
30059
30060
30061   if test "x$HAVE_X" = "xno"
30062   then
30063     { $as_echo "$as_me:${as_lineno-$LINENO}: cannot find X11 development files" >&5
30064 $as_echo "$as_me: cannot find X11 development files" >&6;}
30065   else
30066         X_LIBS="$X_LIBS $X_PRE_LIBS $X_EXTRA_LIBS"
30067             X_LIBS="$X_LIBS -lX11"
30068
30069
30070
30071
30072 pkg_failed=no
30073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XFIXES" >&5
30074 $as_echo_n "checking for XFIXES... " >&6; }
30075
30076 if test -n "$PKG_CONFIG"; then
30077     if test -n "$XFIXES_CFLAGS"; then
30078         pkg_cv_XFIXES_CFLAGS="$XFIXES_CFLAGS"
30079     else
30080         if test -n "$PKG_CONFIG" && \
30081     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xfixes\""; } >&5
30082   ($PKG_CONFIG --exists --print-errors "xfixes") 2>&5
30083   ac_status=$?
30084   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30085   test $ac_status = 0; }; then
30086   pkg_cv_XFIXES_CFLAGS=`$PKG_CONFIG --cflags "xfixes" 2>/dev/null`
30087 else
30088   pkg_failed=yes
30089 fi
30090     fi
30091 else
30092         pkg_failed=untried
30093 fi
30094 if test -n "$PKG_CONFIG"; then
30095     if test -n "$XFIXES_LIBS"; then
30096         pkg_cv_XFIXES_LIBS="$XFIXES_LIBS"
30097     else
30098         if test -n "$PKG_CONFIG" && \
30099     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xfixes\""; } >&5
30100   ($PKG_CONFIG --exists --print-errors "xfixes") 2>&5
30101   ac_status=$?
30102   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30103   test $ac_status = 0; }; then
30104   pkg_cv_XFIXES_LIBS=`$PKG_CONFIG --libs "xfixes" 2>/dev/null`
30105 else
30106   pkg_failed=yes
30107 fi
30108     fi
30109 else
30110         pkg_failed=untried
30111 fi
30112
30113
30114
30115 if test $pkg_failed = yes; then
30116
30117 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30118         _pkg_short_errors_supported=yes
30119 else
30120         _pkg_short_errors_supported=no
30121 fi
30122         if test $_pkg_short_errors_supported = yes; then
30123                 XFIXES_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xfixes"`
30124         else
30125                 XFIXES_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xfixes"`
30126         fi
30127         # Put the nasty error message in config.log where it belongs
30128         echo "$XFIXES_PKG_ERRORS" >&5
30129
30130         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30131 $as_echo "no" >&6; }
30132                 HAVE_XFIXES="no"
30133 elif test $pkg_failed = untried; then
30134         HAVE_XFIXES="no"
30135 else
30136         XFIXES_CFLAGS=$pkg_cv_XFIXES_CFLAGS
30137         XFIXES_LIBS=$pkg_cv_XFIXES_LIBS
30138         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30139 $as_echo "yes" >&6; }
30140         HAVE_XFIXES="yes"
30141 fi
30142     if test "x$HAVE_XFIXES" = "xyes"
30143     then
30144         XFIXES_CFLAGS="-DHAVE_XFIXES $XFIXES_CFLAGS"
30145     fi
30146
30147
30148
30149
30150 pkg_failed=no
30151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XDAMAGE" >&5
30152 $as_echo_n "checking for XDAMAGE... " >&6; }
30153
30154 if test -n "$PKG_CONFIG"; then
30155     if test -n "$XDAMAGE_CFLAGS"; then
30156         pkg_cv_XDAMAGE_CFLAGS="$XDAMAGE_CFLAGS"
30157     else
30158         if test -n "$PKG_CONFIG" && \
30159     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xdamage\""; } >&5
30160   ($PKG_CONFIG --exists --print-errors "xdamage") 2>&5
30161   ac_status=$?
30162   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30163   test $ac_status = 0; }; then
30164   pkg_cv_XDAMAGE_CFLAGS=`$PKG_CONFIG --cflags "xdamage" 2>/dev/null`
30165 else
30166   pkg_failed=yes
30167 fi
30168     fi
30169 else
30170         pkg_failed=untried
30171 fi
30172 if test -n "$PKG_CONFIG"; then
30173     if test -n "$XDAMAGE_LIBS"; then
30174         pkg_cv_XDAMAGE_LIBS="$XDAMAGE_LIBS"
30175     else
30176         if test -n "$PKG_CONFIG" && \
30177     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xdamage\""; } >&5
30178   ($PKG_CONFIG --exists --print-errors "xdamage") 2>&5
30179   ac_status=$?
30180   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30181   test $ac_status = 0; }; then
30182   pkg_cv_XDAMAGE_LIBS=`$PKG_CONFIG --libs "xdamage" 2>/dev/null`
30183 else
30184   pkg_failed=yes
30185 fi
30186     fi
30187 else
30188         pkg_failed=untried
30189 fi
30190
30191
30192
30193 if test $pkg_failed = yes; then
30194
30195 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30196         _pkg_short_errors_supported=yes
30197 else
30198         _pkg_short_errors_supported=no
30199 fi
30200         if test $_pkg_short_errors_supported = yes; then
30201                 XDAMAGE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xdamage"`
30202         else
30203                 XDAMAGE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xdamage"`
30204         fi
30205         # Put the nasty error message in config.log where it belongs
30206         echo "$XDAMAGE_PKG_ERRORS" >&5
30207
30208         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30209 $as_echo "no" >&6; }
30210                 HAVE_XDAMAGE="no"
30211 elif test $pkg_failed = untried; then
30212         HAVE_XDAMAGE="no"
30213 else
30214         XDAMAGE_CFLAGS=$pkg_cv_XDAMAGE_CFLAGS
30215         XDAMAGE_LIBS=$pkg_cv_XDAMAGE_LIBS
30216         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30217 $as_echo "yes" >&6; }
30218         HAVE_XDAMAGE="yes"
30219 fi
30220     if test "x$HAVE_XDAMAGE" = "xyes"
30221     then
30222         XDAMAGE_CFLAGS="-DHAVE_XDAMAGE $XDAMAGE_CFLAGS"
30223     fi
30224
30225
30226   fi
30227
30228   CFLAGS="$ac_cflags_save"
30229   CPPFLAGS="$ac_cppflags_save"
30230
30231
30232   LIBS=$gst_check_save_LIBS
30233   LDFLAGS=$gst_check_save_LDFLAGS
30234   CFLAGS=$gst_check_save_CFLAGS
30235   CPPFLAGS=$gst_check_save_CPPFLAGS
30236   CXXFLAGS=$gst_check_save_CXXFLAGS
30237
30238     if test x$HAVE_X = xno; then
30239     USE_X=no
30240   else
30241     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: ximagesrc" >&5
30242 $as_echo "$as_me: *** These plugins will be built: ximagesrc" >&6;}
30243   fi
30244 fi
30245 if test x$USE_X = xyes; then
30246   :
30247   if test "xximagesrc" != "x"; then
30248     GST_PLUGINS_YES="\tximagesrc\n$GST_PLUGINS_YES"
30249   fi
30250
30251 $as_echo "#define HAVE_X /**/" >>confdefs.h
30252
30253 else
30254   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: ximagesrc" >&5
30255 $as_echo "$as_me: *** These plugins will not be built: ximagesrc" >&6;}
30256   if test "xximagesrc" != "x"; then
30257     GST_PLUGINS_NO="\tximagesrc\n$GST_PLUGINS_NO"
30258   fi
30259   :
30260 fi
30261  if test x$USE_X = xyes; then
30262   USE_X_TRUE=
30263   USE_X_FALSE='#'
30264 else
30265   USE_X_TRUE='#'
30266   USE_X_FALSE=
30267 fi
30268
30269
30270
30271 echo
30272 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: X Shared Memory extension ***" >&5
30273 $as_echo "$as_me: *** checking feature: X Shared Memory extension ***" >&6;}
30274 if test "x" != "x"
30275 then
30276   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins:  ***" >&5
30277 $as_echo "$as_me: *** for plug-ins:  ***" >&6;}
30278 fi
30279 NOUSE=
30280 if test "x$USE_XSHM" = "xno"; then
30281   NOUSE="yes"
30282 fi
30283 # Check whether --enable-xshm was given.
30284 if test "${enable_xshm+set}" = set; then :
30285   enableval=$enable_xshm;  case "${enableval}" in
30286       yes) USE_XSHM=yes;;
30287       no) USE_XSHM=no;;
30288       *) as_fn_error $? "bad value ${enableval} for --enable-xshm" "$LINENO" 5 ;;
30289     esac
30290 else
30291    USE_XSHM=yes
30292 fi
30293
30294 if test "x$NOUSE" = "xyes"; then
30295   USE_XSHM="no"
30296   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ***  pre-configured not to be built" >&5
30297 $as_echo "$as_me: WARNING: ***  pre-configured not to be built" >&2;}
30298 fi
30299 NOUSE=
30300
30301
30302 if test x$USE_XSHM = xyes; then
30303
30304   gst_check_save_LIBS=$LIBS
30305   gst_check_save_LDFLAGS=$LDFLAGS
30306   gst_check_save_CFLAGS=$CFLAGS
30307   gst_check_save_CPPFLAGS=$CPPFLAGS
30308   gst_check_save_CXXFLAGS=$CXXFLAGS
30309
30310   HAVE_XSHM=no
30311
30312   if test x$HAVE_X = xyes; then
30313     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmAttach in -lXext" >&5
30314 $as_echo_n "checking for XShmAttach in -lXext... " >&6; }
30315 if ${ac_cv_lib_Xext_XShmAttach+:} false; then :
30316   $as_echo_n "(cached) " >&6
30317 else
30318   ac_check_lib_save_LIBS=$LIBS
30319 LIBS="-lXext $X_LIBS $LIBS"
30320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30321 /* end confdefs.h.  */
30322
30323 /* Override any GCC internal prototype to avoid an error.
30324    Use char because int might match the return type of a GCC
30325    builtin and then its argument prototype would still apply.  */
30326 #ifdef __cplusplus
30327 extern "C"
30328 #endif
30329 char XShmAttach ();
30330 int
30331 main ()
30332 {
30333 return XShmAttach ();
30334   ;
30335   return 0;
30336 }
30337 _ACEOF
30338 if ac_fn_c_try_link "$LINENO"; then :
30339   ac_cv_lib_Xext_XShmAttach=yes
30340 else
30341   ac_cv_lib_Xext_XShmAttach=no
30342 fi
30343 rm -f core conftest.err conftest.$ac_objext \
30344     conftest$ac_exeext conftest.$ac_ext
30345 LIBS=$ac_check_lib_save_LIBS
30346 fi
30347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmAttach" >&5
30348 $as_echo "$ac_cv_lib_Xext_XShmAttach" >&6; }
30349 if test "x$ac_cv_lib_Xext_XShmAttach" = xyes; then :
30350   HAVE_XSHM="yes"
30351 else
30352   HAVE_XSHM="no"
30353 fi
30354
30355     if test "x$HAVE_XSHM" = "xyes"; then
30356       XSHM_LIBS="-lXext"
30357     else
30358             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmAttach in -lXextSam" >&5
30359 $as_echo_n "checking for XShmAttach in -lXextSam... " >&6; }
30360 if ${ac_cv_lib_XextSam_XShmAttach+:} false; then :
30361   $as_echo_n "(cached) " >&6
30362 else
30363   ac_check_lib_save_LIBS=$LIBS
30364 LIBS="-lXextSam $X_LIBS $LIBS"
30365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30366 /* end confdefs.h.  */
30367
30368 /* Override any GCC internal prototype to avoid an error.
30369    Use char because int might match the return type of a GCC
30370    builtin and then its argument prototype would still apply.  */
30371 #ifdef __cplusplus
30372 extern "C"
30373 #endif
30374 char XShmAttach ();
30375 int
30376 main ()
30377 {
30378 return XShmAttach ();
30379   ;
30380   return 0;
30381 }
30382 _ACEOF
30383 if ac_fn_c_try_link "$LINENO"; then :
30384   ac_cv_lib_XextSam_XShmAttach=yes
30385 else
30386   ac_cv_lib_XextSam_XShmAttach=no
30387 fi
30388 rm -f core conftest.err conftest.$ac_objext \
30389     conftest$ac_exeext conftest.$ac_ext
30390 LIBS=$ac_check_lib_save_LIBS
30391 fi
30392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_XextSam_XShmAttach" >&5
30393 $as_echo "$ac_cv_lib_XextSam_XShmAttach" >&6; }
30394 if test "x$ac_cv_lib_XextSam_XShmAttach" = xyes; then :
30395   HAVE_XSHM="yes"
30396 else
30397   HAVE_XSHM="no"
30398 fi
30399
30400       if test "x$HAVE_XSHM" = "xyes"; then
30401         XSHM_LIBS="-lXext -lXextSam"
30402       fi
30403     fi
30404   fi
30405
30406
30407   LIBS=$gst_check_save_LIBS
30408   LDFLAGS=$gst_check_save_LDFLAGS
30409   CFLAGS=$gst_check_save_CFLAGS
30410   CPPFLAGS=$gst_check_save_CPPFLAGS
30411   CXXFLAGS=$gst_check_save_CXXFLAGS
30412
30413     if test x$HAVE_XSHM = xno; then
30414     USE_XSHM=no
30415   else
30416     :
30417   fi
30418 fi
30419 if test x$USE_XSHM = xyes; then
30420
30421
30422
30423
30424   if test "x" != "x"; then
30425     GST_PLUGINS_YES="\t\n$GST_PLUGINS_YES"
30426   fi
30427
30428 $as_echo "#define HAVE_XSHM /**/" >>confdefs.h
30429
30430 else
30431   :
30432   if test "x" != "x"; then
30433     GST_PLUGINS_NO="\t\n$GST_PLUGINS_NO"
30434   fi
30435   :
30436 fi
30437  if test x$USE_XSHM = xyes; then
30438   USE_XSHM_TRUE=
30439   USE_XSHM_FALSE='#'
30440 else
30441   USE_XSHM_TRUE='#'
30442   USE_XSHM_FALSE=
30443 fi
30444
30445
30446
30447 echo
30448 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: X11 XVideo extensions ***" >&5
30449 $as_echo "$as_me: *** checking feature: X11 XVideo extensions ***" >&6;}
30450 if test "x" != "x"
30451 then
30452   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins:  ***" >&5
30453 $as_echo "$as_me: *** for plug-ins:  ***" >&6;}
30454 fi
30455 NOUSE=
30456 if test "x$USE_XVIDEO" = "xno"; then
30457   NOUSE="yes"
30458 fi
30459 # Check whether --enable-xvideo was given.
30460 if test "${enable_xvideo+set}" = set; then :
30461   enableval=$enable_xvideo;  case "${enableval}" in
30462       yes) USE_XVIDEO=yes;;
30463       no) USE_XVIDEO=no;;
30464       *) as_fn_error $? "bad value ${enableval} for --enable-xvideo" "$LINENO" 5 ;;
30465     esac
30466 else
30467    USE_XVIDEO=yes
30468 fi
30469
30470 if test "x$NOUSE" = "xyes"; then
30471   USE_XVIDEO="no"
30472   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ***  pre-configured not to be built" >&5
30473 $as_echo "$as_me: WARNING: ***  pre-configured not to be built" >&2;}
30474 fi
30475 NOUSE=
30476
30477
30478 if test x$USE_XVIDEO = xyes; then
30479
30480   gst_check_save_LIBS=$LIBS
30481   gst_check_save_LDFLAGS=$LDFLAGS
30482   gst_check_save_CFLAGS=$CFLAGS
30483   gst_check_save_CPPFLAGS=$CPPFLAGS
30484   gst_check_save_CXXFLAGS=$CXXFLAGS
30485
30486   HAVE_XVIDEO=no
30487
30488
30489   if test x$HAVE_X = xyes; then
30490     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XvQueryExtension in -lXv_pic" >&5
30491 $as_echo_n "checking for XvQueryExtension in -lXv_pic... " >&6; }
30492 if ${ac_cv_lib_Xv_pic_XvQueryExtension+:} false; then :
30493   $as_echo_n "(cached) " >&6
30494 else
30495   ac_check_lib_save_LIBS=$LIBS
30496 LIBS="-lXv_pic $X_LIBS -lXext $LIBS"
30497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30498 /* end confdefs.h.  */
30499
30500 /* Override any GCC internal prototype to avoid an error.
30501    Use char because int might match the return type of a GCC
30502    builtin and then its argument prototype would still apply.  */
30503 #ifdef __cplusplus
30504 extern "C"
30505 #endif
30506 char XvQueryExtension ();
30507 int
30508 main ()
30509 {
30510 return XvQueryExtension ();
30511   ;
30512   return 0;
30513 }
30514 _ACEOF
30515 if ac_fn_c_try_link "$LINENO"; then :
30516   ac_cv_lib_Xv_pic_XvQueryExtension=yes
30517 else
30518   ac_cv_lib_Xv_pic_XvQueryExtension=no
30519 fi
30520 rm -f core conftest.err conftest.$ac_objext \
30521     conftest$ac_exeext conftest.$ac_ext
30522 LIBS=$ac_check_lib_save_LIBS
30523 fi
30524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xv_pic_XvQueryExtension" >&5
30525 $as_echo "$ac_cv_lib_Xv_pic_XvQueryExtension" >&6; }
30526 if test "x$ac_cv_lib_Xv_pic_XvQueryExtension" = xyes; then :
30527   HAVE_XVIDEO="yes"
30528 else
30529   HAVE_XVIDEO="no"
30530 fi
30531
30532
30533     if test x$HAVE_XVIDEO = xyes; then
30534       XVIDEO_LIBS="-lXv_pic -lXext"
30535
30536     else
30537             if test x$HAVE_XVIDEO = xno; then
30538         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XvQueryExtension in -lXv" >&5
30539 $as_echo_n "checking for XvQueryExtension in -lXv... " >&6; }
30540 if ${ac_cv_lib_Xv_XvQueryExtension+:} false; then :
30541   $as_echo_n "(cached) " >&6
30542 else
30543   ac_check_lib_save_LIBS=$LIBS
30544 LIBS="-lXv $X_LIBS -lXext $LIBS"
30545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30546 /* end confdefs.h.  */
30547
30548 /* Override any GCC internal prototype to avoid an error.
30549    Use char because int might match the return type of a GCC
30550    builtin and then its argument prototype would still apply.  */
30551 #ifdef __cplusplus
30552 extern "C"
30553 #endif
30554 char XvQueryExtension ();
30555 int
30556 main ()
30557 {
30558 return XvQueryExtension ();
30559   ;
30560   return 0;
30561 }
30562 _ACEOF
30563 if ac_fn_c_try_link "$LINENO"; then :
30564   ac_cv_lib_Xv_XvQueryExtension=yes
30565 else
30566   ac_cv_lib_Xv_XvQueryExtension=no
30567 fi
30568 rm -f core conftest.err conftest.$ac_objext \
30569     conftest$ac_exeext conftest.$ac_ext
30570 LIBS=$ac_check_lib_save_LIBS
30571 fi
30572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xv_XvQueryExtension" >&5
30573 $as_echo "$ac_cv_lib_Xv_XvQueryExtension" >&6; }
30574 if test "x$ac_cv_lib_Xv_XvQueryExtension" = xyes; then :
30575   HAVE_XVIDEO="yes"
30576 else
30577   HAVE_XVIDEO="no"
30578 fi
30579
30580
30581         if test x$HAVE_XVIDEO = xyes; then
30582           XVIDEO_LIBS="-lXv -lXext"
30583
30584         fi
30585       fi
30586     fi
30587   fi
30588
30589
30590
30591   LIBS=$gst_check_save_LIBS
30592   LDFLAGS=$gst_check_save_LDFLAGS
30593   CFLAGS=$gst_check_save_CFLAGS
30594   CPPFLAGS=$gst_check_save_CPPFLAGS
30595   CXXFLAGS=$gst_check_save_CXXFLAGS
30596
30597     if test x$HAVE_XVIDEO = xno; then
30598     USE_XVIDEO=no
30599   else
30600     :
30601   fi
30602 fi
30603 if test x$USE_XVIDEO = xyes; then
30604   :
30605   if test "x" != "x"; then
30606     GST_PLUGINS_YES="\t\n$GST_PLUGINS_YES"
30607   fi
30608
30609 $as_echo "#define HAVE_XVIDEO /**/" >>confdefs.h
30610
30611 else
30612   :
30613   if test "x" != "x"; then
30614     GST_PLUGINS_NO="\t\n$GST_PLUGINS_NO"
30615   fi
30616   :
30617 fi
30618  if test x$USE_XVIDEO = xyes; then
30619   USE_XVIDEO_TRUE=
30620   USE_XVIDEO_FALSE='#'
30621 else
30622   USE_XVIDEO_TRUE='#'
30623   USE_XVIDEO_FALSE=
30624 fi
30625
30626
30627
30628
30629 if test "x$BUILD_EXTERNAL" = "xyes"; then
30630
30631 echo
30632 { $as_echo "$as_me:${as_lineno-$LINENO}: Checking libraries for plugins in ext/" >&5
30633 $as_echo "$as_me: Checking libraries for plugins in ext/" >&6;}
30634 echo
30635
30636 echo
30637 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: aalib ASCII Art library ***" >&5
30638 $as_echo "$as_me: *** checking feature: aalib ASCII Art library ***" >&6;}
30639 if test "xaasink" != "x"
30640 then
30641   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: aasink ***" >&5
30642 $as_echo "$as_me: *** for plug-ins: aasink ***" >&6;}
30643 fi
30644 NOUSE=
30645 if test "x$USE_AALIB" = "xno"; then
30646   NOUSE="yes"
30647 fi
30648 # Check whether --enable-aalib was given.
30649 if test "${enable_aalib+set}" = set; then :
30650   enableval=$enable_aalib;  case "${enableval}" in
30651       yes) USE_AALIB=yes;;
30652       no) USE_AALIB=no;;
30653       *) as_fn_error $? "bad value ${enableval} for --enable-aalib" "$LINENO" 5 ;;
30654     esac
30655 else
30656    USE_AALIB=yes
30657 fi
30658
30659 if test "x$NOUSE" = "xyes"; then
30660   USE_AALIB="no"
30661   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** aasink pre-configured not to be built" >&5
30662 $as_echo "$as_me: WARNING: *** aasink pre-configured not to be built" >&2;}
30663 fi
30664 NOUSE=
30665
30666
30667 if test x$USE_AALIB = xyes; then
30668
30669   gst_check_save_LIBS=$LIBS
30670   gst_check_save_LDFLAGS=$LDFLAGS
30671   gst_check_save_CFLAGS=$CFLAGS
30672   gst_check_save_CPPFLAGS=$CPPFLAGS
30673   gst_check_save_CXXFLAGS=$CXXFLAGS
30674
30675   HAVE_AALIB=no
30676
30677
30678 # Check whether --with-aalib-prefix was given.
30679 if test "${with_aalib_prefix+set}" = set; then :
30680   withval=$with_aalib_prefix; aalib_prefix="$withval"
30681 else
30682   aalib_prefix=""
30683 fi
30684
30685
30686
30687 # Check whether --with-aalib-exec-prefix was given.
30688 if test "${with_aalib_exec_prefix+set}" = set; then :
30689   withval=$with_aalib_exec_prefix; aalib_exec_prefix="$withval"
30690 else
30691   aalib_exec_prefix=""
30692 fi
30693
30694
30695 # Check whether --enable-aalibtest was given.
30696 if test "${enable_aalibtest+set}" = set; then :
30697   enableval=$enable_aalibtest;
30698 else
30699   enable_aalibtest=yes
30700 fi
30701
30702
30703   if test x$aalib_exec_prefix != x ; then
30704      aalib_args="$aalib_args --exec-prefix=$aalib_exec_prefix"
30705      if test x${AALIB_CONFIG+set} != xset ; then
30706         AALIB_CONFIG=$aalib_exec_prefix/bin/aalib-config
30707      fi
30708   fi
30709   if test x$aalib_prefix != x ; then
30710      aalib_args="$aalib_args --prefix=$aalib_prefix"
30711      if test x${AALIB_CONFIG+set} != xset ; then
30712         AALIB_CONFIG=$aalib_prefix/bin/aalib-config
30713      fi
30714   fi
30715
30716   # Extract the first word of "aalib-config", so it can be a program name with args.
30717 set dummy aalib-config; ac_word=$2
30718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
30719 $as_echo_n "checking for $ac_word... " >&6; }
30720 if ${ac_cv_path_AALIB_CONFIG+:} false; then :
30721   $as_echo_n "(cached) " >&6
30722 else
30723   case $AALIB_CONFIG in
30724   [\\/]* | ?:[\\/]*)
30725   ac_cv_path_AALIB_CONFIG="$AALIB_CONFIG" # Let the user override the test with a path.
30726   ;;
30727   *)
30728   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30729 for as_dir in $PATH
30730 do
30731   IFS=$as_save_IFS
30732   test -z "$as_dir" && as_dir=.
30733     for ac_exec_ext in '' $ac_executable_extensions; do
30734   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30735     ac_cv_path_AALIB_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30736     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
30737     break 2
30738   fi
30739 done
30740   done
30741 IFS=$as_save_IFS
30742
30743   test -z "$ac_cv_path_AALIB_CONFIG" && ac_cv_path_AALIB_CONFIG="no"
30744   ;;
30745 esac
30746 fi
30747 AALIB_CONFIG=$ac_cv_path_AALIB_CONFIG
30748 if test -n "$AALIB_CONFIG"; then
30749   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AALIB_CONFIG" >&5
30750 $as_echo "$AALIB_CONFIG" >&6; }
30751 else
30752   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30753 $as_echo "no" >&6; }
30754 fi
30755
30756
30757   min_aalib_version=0.11.0
30758   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AALIB - version >= $min_aalib_version" >&5
30759 $as_echo_n "checking for AALIB - version >= $min_aalib_version... " >&6; }
30760   no_aalib=""
30761   if test "$AALIB_CONFIG" = "no" ; then
30762     no_aalib=yes
30763   else
30764     AALIB_CFLAGS=`$AALIB_CONFIG $aalibconf_args --cflags`
30765     AALIB_LIBS=`$AALIB_CONFIG $aalibconf_args --libs`
30766
30767     aalib_major_version=`$AALIB_CONFIG $aalib_args --version | \
30768            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30769     aalib_minor_version=`$AALIB_CONFIG $aalib_args --version | \
30770            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30771     aalib_micro_version=`$AALIB_CONFIG $aalib_config_args --version | \
30772            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30773     if test "x$enable_aalibtest" = "xyes" ; then
30774       ac_save_CFLAGS="$CFLAGS"
30775       ac_save_LIBS="$LIBS"
30776       CFLAGS="$CFLAGS $AALIB_CFLAGS"
30777       LIBS="$LIBS $AALIB_LIBS"
30778       rm -f conf.aalibtest
30779       if test "$cross_compiling" = yes; then :
30780   echo $ac_n "cross compiling; assumed OK... $ac_c"
30781 else
30782   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30783 /* end confdefs.h.  */
30784
30785 #include <stdio.h>
30786 #include <stdlib.h>
30787 #include <string.h>
30788 #include "aalib.h"
30789
30790 char*
30791 my_strdup (char *str)
30792 {
30793   char *new_str;
30794
30795   if (str)
30796     {
30797       new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
30798       strcpy (new_str, str);
30799     }
30800   else
30801     new_str = NULL;
30802
30803   return new_str;
30804 }
30805
30806 int main (int argc, char *argv[])
30807 {
30808   int major, minor, micro;
30809   char *tmp_version;
30810
30811   /* This hangs on some systems (?)
30812   system ("touch conf.aalibtest");
30813   */
30814   { FILE *fp = fopen("conf.aalibtest", "a"); if ( fp ) fclose(fp); }
30815
30816   /* HP/UX 9 (%@#!) writes to sscanf strings */
30817   tmp_version = my_strdup("$min_aalib_version");
30818   if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30819      printf("%s, bad version string\n", "$min_aalib_version");
30820      exit(1);
30821    }
30822
30823    if (($aalib_major_version > major) ||
30824       (($aalib_major_version == major) && ($aalib_minor_version > minor)) ||
30825       (($aalib_major_version == major) && ($aalib_minor_version == minor) && ($aalib_micro_version >= micro)))
30826     {
30827       return 0;
30828     }
30829   else
30830     {
30831       printf("\n*** 'aalib-config --version' returned %d.%d.%d, but the minimum version\n", $aalib_major_version, $aalib_minor_version, $aalib_micro_version);
30832       printf("*** of AALIB required is %d.%d.%d. If aalib-config is correct, then it is\n", major, minor, micro);
30833       printf("*** best to upgrade to the required version.\n");
30834       printf("*** If aalib-config was wrong, set the environment variable AALIB_CONFIG\n");
30835       printf("*** to point to the correct copy of aalib-config, and remove the file\n");
30836       printf("*** config.cache before re-running configure\n");
30837       return 1;
30838     }
30839 }
30840
30841
30842 _ACEOF
30843 if ac_fn_c_try_run "$LINENO"; then :
30844
30845 else
30846   no_aalib=yes
30847 fi
30848 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
30849   conftest.$ac_objext conftest.beam conftest.$ac_ext
30850 fi
30851
30852        CFLAGS="$ac_save_CFLAGS"
30853        LIBS="$ac_save_LIBS"
30854      fi
30855   fi
30856   if test "x$no_aalib" = x ; then
30857      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30858 $as_echo "yes" >&6; }
30859      HAVE_AALIB=yes
30860   else
30861      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30862 $as_echo "no" >&6; }
30863      if test "$AALIB_CONFIG" = "no" ; then
30864        echo "*** The aalib-config script installed by AALIB could not be found"
30865        echo "*** If AALIB was installed in PREFIX, make sure PREFIX/bin is in"
30866        echo "*** your path, or set the AALIB_CONFIG environment variable to the"
30867        echo "*** full path to aalib-config."
30868      else
30869        if test -f conf.aalibtest ; then
30870         :
30871        else
30872           echo "*** Could not run AALIB test program, checking why..."
30873           CFLAGS="$CFLAGS $AALIB_CFLAGS"
30874           LIBS="$LIBS $AALIB_LIBS"
30875           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30876 /* end confdefs.h.  */
30877
30878 #include <stdio.h>
30879 #include "AALIB.h"
30880
30881 int
30882 main ()
30883 {
30884  return 0;
30885   ;
30886   return 0;
30887 }
30888 _ACEOF
30889 if ac_fn_c_try_link "$LINENO"; then :
30890    echo "*** The test program compiled, but did not run. This usually means"
30891           echo "*** that the run-time linker is not finding AALIB or finding the wrong"
30892           echo "*** version of AALIB. If it is not finding AALIB, you'll need to set your"
30893           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30894           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
30895           echo "*** is required on your system"
30896           echo "***"
30897           echo "*** If you have an old version installed, it is best to remove it, although"
30898           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30899 else
30900    echo "*** The test program failed to compile or link. See the file config.log for the"
30901           echo "*** exact error that occured. This usually means AALIB was incorrectly installed"
30902           echo "*** or that you have moved AALIB since it was installed. In the latter case, you"
30903           echo "*** may want to edit the aalib-config script: $AALIB_CONFIG"
30904 fi
30905 rm -f core conftest.err conftest.$ac_objext \
30906     conftest$ac_exeext conftest.$ac_ext
30907           CFLAGS="$ac_save_CFLAGS"
30908           LIBS="$ac_save_LIBS"
30909        fi
30910      fi
30911      AALIB_CFLAGS=""
30912      AALIB_LIBS=""
30913      HAVE_AALIB=no
30914   fi
30915
30916
30917   rm -f conf.aalibtest
30918
30919
30920   GIVEN_CFLAGS=$AALIB_CFLAGS
30921   INCLUDE_DIRS=`echo | cpp -v 2>&1`
30922
30923       INCLUDE_DIRS=`echo $INCLUDE_DIRS | sed -e 's/.*<...> search starts here://' | sed -e 's/End of search list.*//'`
30924   for dir in $INCLUDE_DIRS; do
30925         GIVEN_CFLAGS=`echo $GIVEN_CFLAGS | sed -e "s#-I$dir ##"`
30926   done
30927   AALIB_CFLAGS=$GIVEN_CFLAGS
30928
30929
30930
30931   LIBS=$gst_check_save_LIBS
30932   LDFLAGS=$gst_check_save_LDFLAGS
30933   CFLAGS=$gst_check_save_CFLAGS
30934   CPPFLAGS=$gst_check_save_CPPFLAGS
30935   CXXFLAGS=$gst_check_save_CXXFLAGS
30936
30937     if test x$HAVE_AALIB = xno; then
30938     USE_AALIB=no
30939   else
30940     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: aasink" >&5
30941 $as_echo "$as_me: *** These plugins will be built: aasink" >&6;}
30942   fi
30943 fi
30944 if test x$USE_AALIB = xyes; then
30945   :
30946   if test "xaasink" != "x"; then
30947     GST_PLUGINS_YES="\taasink\n$GST_PLUGINS_YES"
30948   fi
30949
30950 $as_echo "#define HAVE_AALIB /**/" >>confdefs.h
30951
30952 else
30953   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: aasink" >&5
30954 $as_echo "$as_me: *** These plugins will not be built: aasink" >&6;}
30955   if test "xaasink" != "x"; then
30956     GST_PLUGINS_NO="\taasink\n$GST_PLUGINS_NO"
30957   fi
30958   :
30959 fi
30960  if test x$USE_AALIB = xyes; then
30961   USE_AALIB_TRUE=
30962   USE_AALIB_FALSE='#'
30963 else
30964   USE_AALIB_TRUE='#'
30965   USE_AALIB_FALSE=
30966 fi
30967
30968
30969
30970 echo
30971 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: XML library ***" >&5
30972 $as_echo "$as_me: *** checking feature: XML library ***" >&6;}
30973 if test "xannodex" != "x"
30974 then
30975   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: annodex ***" >&5
30976 $as_echo "$as_me: *** for plug-ins: annodex ***" >&6;}
30977 fi
30978 NOUSE=
30979 if test "x$USE_ANNODEX" = "xno"; then
30980   NOUSE="yes"
30981 fi
30982 # Check whether --enable-annodex was given.
30983 if test "${enable_annodex+set}" = set; then :
30984   enableval=$enable_annodex;  case "${enableval}" in
30985       yes) USE_ANNODEX=yes;;
30986       no) USE_ANNODEX=no;;
30987       *) as_fn_error $? "bad value ${enableval} for --enable-annodex" "$LINENO" 5 ;;
30988     esac
30989 else
30990    USE_ANNODEX=yes
30991 fi
30992
30993 if test "x$NOUSE" = "xyes"; then
30994   USE_ANNODEX="no"
30995   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** annodex pre-configured not to be built" >&5
30996 $as_echo "$as_me: WARNING: *** annodex pre-configured not to be built" >&2;}
30997 fi
30998 NOUSE=
30999
31000
31001 if test x$USE_ANNODEX = xyes; then
31002
31003   gst_check_save_LIBS=$LIBS
31004   gst_check_save_LDFLAGS=$LDFLAGS
31005   gst_check_save_CFLAGS=$CFLAGS
31006   gst_check_save_CPPFLAGS=$CPPFLAGS
31007   gst_check_save_CXXFLAGS=$CXXFLAGS
31008
31009   HAVE_ANNODEX=no
31010
31011
31012   which="libxml-2.0 >= 2.4.9"
31013     required="no"
31014
31015
31016 pkg_failed=no
31017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANNODEX" >&5
31018 $as_echo_n "checking for ANNODEX... " >&6; }
31019
31020 if test -n "$PKG_CONFIG"; then
31021     if test -n "$ANNODEX_CFLAGS"; then
31022         pkg_cv_ANNODEX_CFLAGS="$ANNODEX_CFLAGS"
31023     else
31024         if test -n "$PKG_CONFIG" && \
31025     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
31026   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
31027   ac_status=$?
31028   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31029   test $ac_status = 0; }; then
31030   pkg_cv_ANNODEX_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
31031 else
31032   pkg_failed=yes
31033 fi
31034     fi
31035 else
31036         pkg_failed=untried
31037 fi
31038 if test -n "$PKG_CONFIG"; then
31039     if test -n "$ANNODEX_LIBS"; then
31040         pkg_cv_ANNODEX_LIBS="$ANNODEX_LIBS"
31041     else
31042         if test -n "$PKG_CONFIG" && \
31043     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
31044   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
31045   ac_status=$?
31046   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31047   test $ac_status = 0; }; then
31048   pkg_cv_ANNODEX_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
31049 else
31050   pkg_failed=yes
31051 fi
31052     fi
31053 else
31054         pkg_failed=untried
31055 fi
31056
31057
31058
31059 if test $pkg_failed = yes; then
31060
31061 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31062         _pkg_short_errors_supported=yes
31063 else
31064         _pkg_short_errors_supported=no
31065 fi
31066         if test $_pkg_short_errors_supported = yes; then
31067                 ANNODEX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
31068         else
31069                 ANNODEX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
31070         fi
31071         # Put the nasty error message in config.log where it belongs
31072         echo "$ANNODEX_PKG_ERRORS" >&5
31073
31074         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31075 $as_echo "no" >&6; }
31076
31077       HAVE_ANNODEX="no"
31078       if test "x$required" = "xyes"; then
31079         as_fn_error $? "$ANNODEX_PKG_ERRORS" "$LINENO" 5
31080       else
31081         { $as_echo "$as_me:${as_lineno-$LINENO}: $ANNODEX_PKG_ERRORS" >&5
31082 $as_echo "$as_me: $ANNODEX_PKG_ERRORS" >&6;}
31083       fi
31084
31085 elif test $pkg_failed = untried; then
31086
31087       HAVE_ANNODEX="no"
31088       if test "x$required" = "xyes"; then
31089         as_fn_error $? "$ANNODEX_PKG_ERRORS" "$LINENO" 5
31090       else
31091         { $as_echo "$as_me:${as_lineno-$LINENO}: $ANNODEX_PKG_ERRORS" >&5
31092 $as_echo "$as_me: $ANNODEX_PKG_ERRORS" >&6;}
31093       fi
31094
31095 else
31096         ANNODEX_CFLAGS=$pkg_cv_ANNODEX_CFLAGS
31097         ANNODEX_LIBS=$pkg_cv_ANNODEX_LIBS
31098         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31099 $as_echo "yes" >&6; }
31100
31101       HAVE_ANNODEX="yes"
31102
31103 fi
31104
31105
31106
31107
31108   LIBS=$gst_check_save_LIBS
31109   LDFLAGS=$gst_check_save_LDFLAGS
31110   CFLAGS=$gst_check_save_CFLAGS
31111   CPPFLAGS=$gst_check_save_CPPFLAGS
31112   CXXFLAGS=$gst_check_save_CXXFLAGS
31113
31114     if test x$HAVE_ANNODEX = xno; then
31115     USE_ANNODEX=no
31116   else
31117     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: annodex" >&5
31118 $as_echo "$as_me: *** These plugins will be built: annodex" >&6;}
31119   fi
31120 fi
31121 if test x$USE_ANNODEX = xyes; then
31122   :
31123   if test "xannodex" != "x"; then
31124     GST_PLUGINS_YES="\tannodex\n$GST_PLUGINS_YES"
31125   fi
31126
31127 $as_echo "#define HAVE_ANNODEX /**/" >>confdefs.h
31128
31129 else
31130   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: annodex" >&5
31131 $as_echo "$as_me: *** These plugins will not be built: annodex" >&6;}
31132   if test "xannodex" != "x"; then
31133     GST_PLUGINS_NO="\tannodex\n$GST_PLUGINS_NO"
31134   fi
31135   :
31136 fi
31137  if test x$USE_ANNODEX = xyes; then
31138   USE_ANNODEX_TRUE=
31139   USE_ANNODEX_FALSE='#'
31140 else
31141   USE_ANNODEX_TRUE='#'
31142   USE_ANNODEX_FALSE=
31143 fi
31144
31145
31146
31147 echo
31148 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Cairo graphics rendering ***" >&5
31149 $as_echo "$as_me: *** checking feature: Cairo graphics rendering ***" >&6;}
31150 if test "xcairo" != "x"
31151 then
31152   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: cairo ***" >&5
31153 $as_echo "$as_me: *** for plug-ins: cairo ***" >&6;}
31154 fi
31155 NOUSE=
31156 if test "x$USE_CAIRO" = "xno"; then
31157   NOUSE="yes"
31158 fi
31159 # Check whether --enable-cairo was given.
31160 if test "${enable_cairo+set}" = set; then :
31161   enableval=$enable_cairo;  case "${enableval}" in
31162       yes) USE_CAIRO=yes;;
31163       no) USE_CAIRO=no;;
31164       *) as_fn_error $? "bad value ${enableval} for --enable-cairo" "$LINENO" 5 ;;
31165     esac
31166 else
31167    USE_CAIRO=yes
31168 fi
31169
31170 if test "x$NOUSE" = "xyes"; then
31171   USE_CAIRO="no"
31172   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** cairo pre-configured not to be built" >&5
31173 $as_echo "$as_me: WARNING: *** cairo pre-configured not to be built" >&2;}
31174 fi
31175 NOUSE=
31176
31177
31178 if test x$USE_CAIRO = xyes; then
31179
31180   gst_check_save_LIBS=$LIBS
31181   gst_check_save_LDFLAGS=$LDFLAGS
31182   gst_check_save_CFLAGS=$CFLAGS
31183   gst_check_save_CPPFLAGS=$CPPFLAGS
31184   gst_check_save_CXXFLAGS=$CXXFLAGS
31185
31186   HAVE_CAIRO=no
31187
31188
31189   which="cairo >= 1.0.0"
31190     required="no"
31191
31192
31193 pkg_failed=no
31194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5
31195 $as_echo_n "checking for CAIRO... " >&6; }
31196
31197 if test -n "$PKG_CONFIG"; then
31198     if test -n "$CAIRO_CFLAGS"; then
31199         pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
31200     else
31201         if test -n "$PKG_CONFIG" && \
31202     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
31203   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
31204   ac_status=$?
31205   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31206   test $ac_status = 0; }; then
31207   pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
31208 else
31209   pkg_failed=yes
31210 fi
31211     fi
31212 else
31213         pkg_failed=untried
31214 fi
31215 if test -n "$PKG_CONFIG"; then
31216     if test -n "$CAIRO_LIBS"; then
31217         pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
31218     else
31219         if test -n "$PKG_CONFIG" && \
31220     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
31221   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
31222   ac_status=$?
31223   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31224   test $ac_status = 0; }; then
31225   pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
31226 else
31227   pkg_failed=yes
31228 fi
31229     fi
31230 else
31231         pkg_failed=untried
31232 fi
31233
31234
31235
31236 if test $pkg_failed = yes; then
31237
31238 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31239         _pkg_short_errors_supported=yes
31240 else
31241         _pkg_short_errors_supported=no
31242 fi
31243         if test $_pkg_short_errors_supported = yes; then
31244                 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
31245         else
31246                 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
31247         fi
31248         # Put the nasty error message in config.log where it belongs
31249         echo "$CAIRO_PKG_ERRORS" >&5
31250
31251         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31252 $as_echo "no" >&6; }
31253
31254       HAVE_CAIRO="no"
31255       if test "x$required" = "xyes"; then
31256         as_fn_error $? "$CAIRO_PKG_ERRORS" "$LINENO" 5
31257       else
31258         { $as_echo "$as_me:${as_lineno-$LINENO}: $CAIRO_PKG_ERRORS" >&5
31259 $as_echo "$as_me: $CAIRO_PKG_ERRORS" >&6;}
31260       fi
31261
31262 elif test $pkg_failed = untried; then
31263
31264       HAVE_CAIRO="no"
31265       if test "x$required" = "xyes"; then
31266         as_fn_error $? "$CAIRO_PKG_ERRORS" "$LINENO" 5
31267       else
31268         { $as_echo "$as_me:${as_lineno-$LINENO}: $CAIRO_PKG_ERRORS" >&5
31269 $as_echo "$as_me: $CAIRO_PKG_ERRORS" >&6;}
31270       fi
31271
31272 else
31273         CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
31274         CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
31275         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31276 $as_echo "yes" >&6; }
31277
31278       HAVE_CAIRO="yes"
31279
31280 fi
31281
31282
31283
31284
31285   LIBS=$gst_check_save_LIBS
31286   LDFLAGS=$gst_check_save_LDFLAGS
31287   CFLAGS=$gst_check_save_CFLAGS
31288   CPPFLAGS=$gst_check_save_CPPFLAGS
31289   CXXFLAGS=$gst_check_save_CXXFLAGS
31290
31291     if test x$HAVE_CAIRO = xno; then
31292     USE_CAIRO=no
31293   else
31294     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: cairo" >&5
31295 $as_echo "$as_me: *** These plugins will be built: cairo" >&6;}
31296   fi
31297 fi
31298 if test x$USE_CAIRO = xyes; then
31299   :
31300   if test "xcairo" != "x"; then
31301     GST_PLUGINS_YES="\tcairo\n$GST_PLUGINS_YES"
31302   fi
31303
31304 $as_echo "#define HAVE_CAIRO /**/" >>confdefs.h
31305
31306 else
31307   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: cairo" >&5
31308 $as_echo "$as_me: *** These plugins will not be built: cairo" >&6;}
31309   if test "xcairo" != "x"; then
31310     GST_PLUGINS_NO="\tcairo\n$GST_PLUGINS_NO"
31311   fi
31312   :
31313 fi
31314  if test x$USE_CAIRO = xyes; then
31315   USE_CAIRO_TRUE=
31316   USE_CAIRO_FALSE='#'
31317 else
31318   USE_CAIRO_TRUE='#'
31319   USE_CAIRO_FALSE=
31320 fi
31321
31322
31323
31324 echo
31325 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Cairo graphics rendering gobject bindings ***" >&5
31326 $as_echo "$as_me: *** checking feature: Cairo graphics rendering gobject bindings ***" >&6;}
31327 if test "xcairooverlay" != "x"
31328 then
31329   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: cairooverlay ***" >&5
31330 $as_echo "$as_me: *** for plug-ins: cairooverlay ***" >&6;}
31331 fi
31332 NOUSE=
31333 if test "x$USE_CAIRO_GOBJECT" = "xno"; then
31334   NOUSE="yes"
31335 fi
31336 # Check whether --enable-cairo_gobject was given.
31337 if test "${enable_cairo_gobject+set}" = set; then :
31338   enableval=$enable_cairo_gobject;  case "${enableval}" in
31339       yes) USE_CAIRO_GOBJECT=yes;;
31340       no) USE_CAIRO_GOBJECT=no;;
31341       *) as_fn_error $? "bad value ${enableval} for --enable-cairo_gobject" "$LINENO" 5 ;;
31342     esac
31343 else
31344    USE_CAIRO_GOBJECT=yes
31345 fi
31346
31347 if test "x$NOUSE" = "xyes"; then
31348   USE_CAIRO_GOBJECT="no"
31349   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** cairooverlay pre-configured not to be built" >&5
31350 $as_echo "$as_me: WARNING: *** cairooverlay pre-configured not to be built" >&2;}
31351 fi
31352 NOUSE=
31353
31354
31355 if test x$USE_CAIRO_GOBJECT = xyes; then
31356
31357   gst_check_save_LIBS=$LIBS
31358   gst_check_save_LDFLAGS=$LDFLAGS
31359   gst_check_save_CFLAGS=$CFLAGS
31360   gst_check_save_CPPFLAGS=$CPPFLAGS
31361   gst_check_save_CXXFLAGS=$CXXFLAGS
31362
31363   HAVE_CAIRO_GOBJECT=no
31364
31365
31366   which="cairo-gobject >= 1.10.0"
31367     required="no"
31368
31369
31370 pkg_failed=no
31371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO_GOBJECT" >&5
31372 $as_echo_n "checking for CAIRO_GOBJECT... " >&6; }
31373
31374 if test -n "$PKG_CONFIG"; then
31375     if test -n "$CAIRO_GOBJECT_CFLAGS"; then
31376         pkg_cv_CAIRO_GOBJECT_CFLAGS="$CAIRO_GOBJECT_CFLAGS"
31377     else
31378         if test -n "$PKG_CONFIG" && \
31379     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
31380   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
31381   ac_status=$?
31382   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31383   test $ac_status = 0; }; then
31384   pkg_cv_CAIRO_GOBJECT_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
31385 else
31386   pkg_failed=yes
31387 fi
31388     fi
31389 else
31390         pkg_failed=untried
31391 fi
31392 if test -n "$PKG_CONFIG"; then
31393     if test -n "$CAIRO_GOBJECT_LIBS"; then
31394         pkg_cv_CAIRO_GOBJECT_LIBS="$CAIRO_GOBJECT_LIBS"
31395     else
31396         if test -n "$PKG_CONFIG" && \
31397     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
31398   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
31399   ac_status=$?
31400   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31401   test $ac_status = 0; }; then
31402   pkg_cv_CAIRO_GOBJECT_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
31403 else
31404   pkg_failed=yes
31405 fi
31406     fi
31407 else
31408         pkg_failed=untried
31409 fi
31410
31411
31412
31413 if test $pkg_failed = yes; then
31414
31415 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31416         _pkg_short_errors_supported=yes
31417 else
31418         _pkg_short_errors_supported=no
31419 fi
31420         if test $_pkg_short_errors_supported = yes; then
31421                 CAIRO_GOBJECT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
31422         else
31423                 CAIRO_GOBJECT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
31424         fi
31425         # Put the nasty error message in config.log where it belongs
31426         echo "$CAIRO_GOBJECT_PKG_ERRORS" >&5
31427
31428         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31429 $as_echo "no" >&6; }
31430
31431       HAVE_CAIRO_GOBJECT="no"
31432       if test "x$required" = "xyes"; then
31433         as_fn_error $? "$CAIRO_GOBJECT_PKG_ERRORS" "$LINENO" 5
31434       else
31435         { $as_echo "$as_me:${as_lineno-$LINENO}: $CAIRO_GOBJECT_PKG_ERRORS" >&5
31436 $as_echo "$as_me: $CAIRO_GOBJECT_PKG_ERRORS" >&6;}
31437       fi
31438
31439 elif test $pkg_failed = untried; then
31440
31441       HAVE_CAIRO_GOBJECT="no"
31442       if test "x$required" = "xyes"; then
31443         as_fn_error $? "$CAIRO_GOBJECT_PKG_ERRORS" "$LINENO" 5
31444       else
31445         { $as_echo "$as_me:${as_lineno-$LINENO}: $CAIRO_GOBJECT_PKG_ERRORS" >&5
31446 $as_echo "$as_me: $CAIRO_GOBJECT_PKG_ERRORS" >&6;}
31447       fi
31448
31449 else
31450         CAIRO_GOBJECT_CFLAGS=$pkg_cv_CAIRO_GOBJECT_CFLAGS
31451         CAIRO_GOBJECT_LIBS=$pkg_cv_CAIRO_GOBJECT_LIBS
31452         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31453 $as_echo "yes" >&6; }
31454
31455       HAVE_CAIRO_GOBJECT="yes"
31456
31457 fi
31458
31459
31460
31461
31462   LIBS=$gst_check_save_LIBS
31463   LDFLAGS=$gst_check_save_LDFLAGS
31464   CFLAGS=$gst_check_save_CFLAGS
31465   CPPFLAGS=$gst_check_save_CPPFLAGS
31466   CXXFLAGS=$gst_check_save_CXXFLAGS
31467
31468     if test x$HAVE_CAIRO_GOBJECT = xno; then
31469     USE_CAIRO_GOBJECT=no
31470   else
31471     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: cairooverlay" >&5
31472 $as_echo "$as_me: *** These plugins will be built: cairooverlay" >&6;}
31473   fi
31474 fi
31475 if test x$USE_CAIRO_GOBJECT = xyes; then
31476   :
31477   if test "xcairooverlay" != "x"; then
31478     GST_PLUGINS_YES="\tcairooverlay\n$GST_PLUGINS_YES"
31479   fi
31480
31481 $as_echo "#define HAVE_CAIRO_GOBJECT /**/" >>confdefs.h
31482
31483 else
31484   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: cairooverlay" >&5
31485 $as_echo "$as_me: *** These plugins will not be built: cairooverlay" >&6;}
31486   if test "xcairooverlay" != "x"; then
31487     GST_PLUGINS_NO="\tcairooverlay\n$GST_PLUGINS_NO"
31488   fi
31489   :
31490 fi
31491  if test x$USE_CAIRO_GOBJECT = xyes; then
31492   USE_CAIRO_GOBJECT_TRUE=
31493   USE_CAIRO_GOBJECT_FALSE='#'
31494 else
31495   USE_CAIRO_GOBJECT_TRUE='#'
31496   USE_CAIRO_GOBJECT_FALSE=
31497 fi
31498
31499
31500
31501 echo
31502 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: ESounD sound daemon ***" >&5
31503 $as_echo "$as_me: *** checking feature: ESounD sound daemon ***" >&6;}
31504 if test "xesdsink" != "x"
31505 then
31506   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: esdsink ***" >&5
31507 $as_echo "$as_me: *** for plug-ins: esdsink ***" >&6;}
31508 fi
31509 NOUSE=
31510 if test "x$USE_ESD" = "xno"; then
31511   NOUSE="yes"
31512 fi
31513 # Check whether --enable-esd was given.
31514 if test "${enable_esd+set}" = set; then :
31515   enableval=$enable_esd;  case "${enableval}" in
31516       yes) USE_ESD=yes;;
31517       no) USE_ESD=no;;
31518       *) as_fn_error $? "bad value ${enableval} for --enable-esd" "$LINENO" 5 ;;
31519     esac
31520 else
31521    USE_ESD=yes
31522 fi
31523
31524 if test "x$NOUSE" = "xyes"; then
31525   USE_ESD="no"
31526   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** esdsink pre-configured not to be built" >&5
31527 $as_echo "$as_me: WARNING: *** esdsink pre-configured not to be built" >&2;}
31528 fi
31529 NOUSE=
31530
31531
31532 if test x$USE_ESD = xyes; then
31533
31534   gst_check_save_LIBS=$LIBS
31535   gst_check_save_LDFLAGS=$LDFLAGS
31536   gst_check_save_CFLAGS=$CFLAGS
31537   gst_check_save_CPPFLAGS=$CPPFLAGS
31538   gst_check_save_CXXFLAGS=$CXXFLAGS
31539
31540   HAVE_ESD=no
31541
31542
31543   which="esound >= 0.2.12"
31544     required="no"
31545
31546
31547 pkg_failed=no
31548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ESD" >&5
31549 $as_echo_n "checking for ESD... " >&6; }
31550
31551 if test -n "$PKG_CONFIG"; then
31552     if test -n "$ESD_CFLAGS"; then
31553         pkg_cv_ESD_CFLAGS="$ESD_CFLAGS"
31554     else
31555         if test -n "$PKG_CONFIG" && \
31556     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
31557   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
31558   ac_status=$?
31559   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31560   test $ac_status = 0; }; then
31561   pkg_cv_ESD_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
31562 else
31563   pkg_failed=yes
31564 fi
31565     fi
31566 else
31567         pkg_failed=untried
31568 fi
31569 if test -n "$PKG_CONFIG"; then
31570     if test -n "$ESD_LIBS"; then
31571         pkg_cv_ESD_LIBS="$ESD_LIBS"
31572     else
31573         if test -n "$PKG_CONFIG" && \
31574     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
31575   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
31576   ac_status=$?
31577   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31578   test $ac_status = 0; }; then
31579   pkg_cv_ESD_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
31580 else
31581   pkg_failed=yes
31582 fi
31583     fi
31584 else
31585         pkg_failed=untried
31586 fi
31587
31588
31589
31590 if test $pkg_failed = yes; then
31591
31592 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31593         _pkg_short_errors_supported=yes
31594 else
31595         _pkg_short_errors_supported=no
31596 fi
31597         if test $_pkg_short_errors_supported = yes; then
31598                 ESD_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
31599         else
31600                 ESD_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
31601         fi
31602         # Put the nasty error message in config.log where it belongs
31603         echo "$ESD_PKG_ERRORS" >&5
31604
31605         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31606 $as_echo "no" >&6; }
31607
31608       HAVE_ESD="no"
31609       if test "x$required" = "xyes"; then
31610         as_fn_error $? "$ESD_PKG_ERRORS" "$LINENO" 5
31611       else
31612         { $as_echo "$as_me:${as_lineno-$LINENO}: $ESD_PKG_ERRORS" >&5
31613 $as_echo "$as_me: $ESD_PKG_ERRORS" >&6;}
31614       fi
31615
31616 elif test $pkg_failed = untried; then
31617
31618       HAVE_ESD="no"
31619       if test "x$required" = "xyes"; then
31620         as_fn_error $? "$ESD_PKG_ERRORS" "$LINENO" 5
31621       else
31622         { $as_echo "$as_me:${as_lineno-$LINENO}: $ESD_PKG_ERRORS" >&5
31623 $as_echo "$as_me: $ESD_PKG_ERRORS" >&6;}
31624       fi
31625
31626 else
31627         ESD_CFLAGS=$pkg_cv_ESD_CFLAGS
31628         ESD_LIBS=$pkg_cv_ESD_LIBS
31629         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31630 $as_echo "yes" >&6; }
31631
31632       HAVE_ESD="yes"
31633
31634 fi
31635
31636
31637   if test $HAVE_ESD = no
31638   then
31639
31640 # Check whether --with-esd-prefix was given.
31641 if test "${with_esd_prefix+set}" = set; then :
31642   withval=$with_esd_prefix; esd_prefix="$withval"
31643 else
31644   esd_prefix=""
31645 fi
31646
31647
31648
31649 # Check whether --with-esd-exec-prefix was given.
31650 if test "${with_esd_exec_prefix+set}" = set; then :
31651   withval=$with_esd_exec_prefix; esd_exec_prefix="$withval"
31652 else
31653   esd_exec_prefix=""
31654 fi
31655
31656
31657 # Check whether --enable-esdtest was given.
31658 if test "${enable_esdtest+set}" = set; then :
31659   enableval=$enable_esdtest;
31660 else
31661   enable_esdtest=yes
31662 fi
31663
31664
31665   if test x$esd_exec_prefix != x ; then
31666      esd_args="$esd_args --exec-prefix=$esd_exec_prefix"
31667      if test x${ESD_CONFIG+set} != xset ; then
31668         ESD_CONFIG=$esd_exec_prefix/bin/esd-config
31669      fi
31670   fi
31671   if test x$esd_prefix != x ; then
31672      esd_args="$esd_args --prefix=$esd_prefix"
31673      if test x${ESD_CONFIG+set} != xset ; then
31674         ESD_CONFIG=$esd_prefix/bin/esd-config
31675      fi
31676   fi
31677
31678   # Extract the first word of "esd-config", so it can be a program name with args.
31679 set dummy esd-config; ac_word=$2
31680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
31681 $as_echo_n "checking for $ac_word... " >&6; }
31682 if ${ac_cv_path_ESD_CONFIG+:} false; then :
31683   $as_echo_n "(cached) " >&6
31684 else
31685   case $ESD_CONFIG in
31686   [\\/]* | ?:[\\/]*)
31687   ac_cv_path_ESD_CONFIG="$ESD_CONFIG" # Let the user override the test with a path.
31688   ;;
31689   *)
31690   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31691 for as_dir in $PATH
31692 do
31693   IFS=$as_save_IFS
31694   test -z "$as_dir" && as_dir=.
31695     for ac_exec_ext in '' $ac_executable_extensions; do
31696   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31697     ac_cv_path_ESD_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31698     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
31699     break 2
31700   fi
31701 done
31702   done
31703 IFS=$as_save_IFS
31704
31705   test -z "$ac_cv_path_ESD_CONFIG" && ac_cv_path_ESD_CONFIG="no"
31706   ;;
31707 esac
31708 fi
31709 ESD_CONFIG=$ac_cv_path_ESD_CONFIG
31710 if test -n "$ESD_CONFIG"; then
31711   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ESD_CONFIG" >&5
31712 $as_echo "$ESD_CONFIG" >&6; }
31713 else
31714   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31715 $as_echo "no" >&6; }
31716 fi
31717
31718
31719   min_esd_version=0.2.12
31720   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ESD - version >= $min_esd_version" >&5
31721 $as_echo_n "checking for ESD - version >= $min_esd_version... " >&6; }
31722   no_esd=""
31723   if test "$ESD_CONFIG" = "no" ; then
31724     no_esd=yes
31725   else
31726
31727     ac_ext=c
31728 ac_cpp='$CPP $CPPFLAGS'
31729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31732
31733     ESD_CFLAGS=`$ESD_CONFIG $esdconf_args --cflags`
31734     ESD_LIBS=`$ESD_CONFIG $esdconf_args --libs`
31735
31736     esd_major_version=`$ESD_CONFIG $esd_args --version | \
31737            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
31738     esd_minor_version=`$ESD_CONFIG $esd_args --version | \
31739            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
31740     esd_micro_version=`$ESD_CONFIG $esd_config_args --version | \
31741            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
31742     if test "x$enable_esdtest" = "xyes" ; then
31743       ac_save_CFLAGS="$CFLAGS"
31744       ac_save_LIBS="$LIBS"
31745       CFLAGS="$CFLAGS $ESD_CFLAGS"
31746       LIBS="$LIBS $ESD_LIBS"
31747       rm -f conf.esdtest
31748       if test "$cross_compiling" = yes; then :
31749   echo $ac_n "cross compiling; assumed OK... $ac_c"
31750 else
31751   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31752 /* end confdefs.h.  */
31753
31754 #include <stdio.h>
31755 #include <stdlib.h>
31756 #include <string.h>
31757 #include <esd.h>
31758
31759 char*
31760 my_strdup (char *str)
31761 {
31762   char *new_str;
31763
31764   if (str)
31765     {
31766       new_str = malloc ((strlen (str) + 1) * sizeof(char));
31767       strcpy (new_str, str);
31768     }
31769   else
31770     new_str = NULL;
31771
31772   return new_str;
31773 }
31774
31775 int main ()
31776 {
31777   int major, minor, micro;
31778   char *tmp_version;
31779
31780   system ("touch conf.esdtest");
31781
31782   /* HP/UX 9 (%@#!) writes to sscanf strings */
31783   tmp_version = my_strdup("$min_esd_version");
31784   if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
31785      printf("%s, bad version string\n", "$min_esd_version");
31786      exit(1);
31787    }
31788
31789    if (($esd_major_version > major) ||
31790       (($esd_major_version == major) && ($esd_minor_version > minor)) ||
31791       (($esd_major_version == major) && ($esd_minor_version == minor) && ($esd_micro_version >= micro)))
31792     {
31793       return 0;
31794     }
31795   else
31796     {
31797       printf("\n*** 'esd-config --version' returned %d.%d.%d, but the minimum version\n", $esd_major_version, $esd_minor_version, $esd_micro_version);
31798       printf("*** of ESD required is %d.%d.%d. If esd-config is correct, then it is\n", major, minor, micro);
31799       printf("*** best to upgrade to the required version.\n");
31800       printf("*** If esd-config was wrong, set the environment variable ESD_CONFIG\n");
31801       printf("*** to point to the correct copy of esd-config, and remove the file\n");
31802       printf("*** config.cache before re-running configure\n");
31803       return 1;
31804     }
31805 }
31806
31807
31808 _ACEOF
31809 if ac_fn_c_try_run "$LINENO"; then :
31810
31811 else
31812   no_esd=yes
31813 fi
31814 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
31815   conftest.$ac_objext conftest.beam conftest.$ac_ext
31816 fi
31817
31818        CFLAGS="$ac_save_CFLAGS"
31819        LIBS="$ac_save_LIBS"
31820        ac_ext=c
31821 ac_cpp='$CPP $CPPFLAGS'
31822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31825
31826      fi
31827   fi
31828   if test "x$no_esd" = x ; then
31829      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31830 $as_echo "yes" >&6; }
31831      HAVE_ESD="yes"
31832   else
31833      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31834 $as_echo "no" >&6; }
31835      if test "$ESD_CONFIG" = "no" ; then
31836        echo "*** The esd-config script installed by ESD could not be found"
31837        echo "*** If ESD was installed in PREFIX, make sure PREFIX/bin is in"
31838        echo "*** your path, or set the ESD_CONFIG environment variable to the"
31839        echo "*** full path to esd-config."
31840      else
31841        if test -f conf.esdtest ; then
31842         :
31843        else
31844           echo "*** Could not run ESD test program, checking why..."
31845           CFLAGS="$CFLAGS $ESD_CFLAGS"
31846           LIBS="$LIBS $ESD_LIBS"
31847
31848           ac_ext=c
31849 ac_cpp='$CPP $CPPFLAGS'
31850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31853
31854           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31855 /* end confdefs.h.  */
31856
31857 #include <stdio.h>
31858 #include <esd.h>
31859
31860 int
31861 main ()
31862 {
31863  return 0;
31864   ;
31865   return 0;
31866 }
31867 _ACEOF
31868 if ac_fn_c_try_link "$LINENO"; then :
31869    echo "*** The test program compiled, but did not run. This usually means"
31870           echo "*** that the run-time linker is not finding ESD or finding the wrong"
31871           echo "*** version of ESD. If it is not finding ESD, you'll need to set your"
31872           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
31873           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
31874           echo "*** is required on your system"
31875           echo "***"
31876           echo "*** If you have an old version installed, it is best to remove it, although"
31877           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
31878 else
31879    echo "*** The test program failed to compile or link. See the file config.log for the"
31880           echo "*** exact error that occured. This usually means ESD was incorrectly installed"
31881           echo "*** or that you have moved ESD since it was installed. In the latter case, you"
31882           echo "*** may want to edit the esd-config script: $ESD_CONFIG"
31883 fi
31884 rm -f core conftest.err conftest.$ac_objext \
31885     conftest$ac_exeext conftest.$ac_ext
31886           CFLAGS="$ac_save_CFLAGS"
31887           LIBS="$ac_save_LIBS"
31888           ac_ext=c
31889 ac_cpp='$CPP $CPPFLAGS'
31890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31893
31894        fi
31895      fi
31896      ESD_CFLAGS=""
31897      ESD_LIBS=""
31898      :
31899   fi
31900
31901
31902   rm -f conf.esdtest
31903
31904
31905   GIVEN_CFLAGS=$ESD_CFLAGS
31906   INCLUDE_DIRS=`echo | cpp -v 2>&1`
31907
31908       INCLUDE_DIRS=`echo $INCLUDE_DIRS | sed -e 's/.*<...> search starts here://' | sed -e 's/End of search list.*//'`
31909   for dir in $INCLUDE_DIRS; do
31910         GIVEN_CFLAGS=`echo $GIVEN_CFLAGS | sed -e "s#-I$dir ##"`
31911   done
31912   ESD_CFLAGS=$GIVEN_CFLAGS
31913
31914   fi
31915
31916
31917   LIBS=$gst_check_save_LIBS
31918   LDFLAGS=$gst_check_save_LDFLAGS
31919   CFLAGS=$gst_check_save_CFLAGS
31920   CPPFLAGS=$gst_check_save_CPPFLAGS
31921   CXXFLAGS=$gst_check_save_CXXFLAGS
31922
31923     if test x$HAVE_ESD = xno; then
31924     USE_ESD=no
31925   else
31926     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: esdsink" >&5
31927 $as_echo "$as_me: *** These plugins will be built: esdsink" >&6;}
31928   fi
31929 fi
31930 if test x$USE_ESD = xyes; then
31931   :
31932   if test "xesdsink" != "x"; then
31933     GST_PLUGINS_YES="\tesdsink\n$GST_PLUGINS_YES"
31934   fi
31935
31936 $as_echo "#define HAVE_ESD /**/" >>confdefs.h
31937
31938 else
31939   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: esdsink" >&5
31940 $as_echo "$as_me: *** These plugins will not be built: esdsink" >&6;}
31941   if test "xesdsink" != "x"; then
31942     GST_PLUGINS_NO="\tesdsink\n$GST_PLUGINS_NO"
31943   fi
31944   :
31945 fi
31946  if test x$USE_ESD = xyes; then
31947   USE_ESD_TRUE=
31948   USE_ESD_FALSE='#'
31949 else
31950   USE_ESD_TRUE='#'
31951   USE_ESD_FALSE=
31952 fi
31953
31954
31955
31956 echo
31957 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: FLAC lossless audio ***" >&5
31958 $as_echo "$as_me: *** checking feature: FLAC lossless audio ***" >&6;}
31959 if test "xflac" != "x"
31960 then
31961   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: flac ***" >&5
31962 $as_echo "$as_me: *** for plug-ins: flac ***" >&6;}
31963 fi
31964 NOUSE=
31965 if test "x$USE_FLAC" = "xno"; then
31966   NOUSE="yes"
31967 fi
31968 # Check whether --enable-flac was given.
31969 if test "${enable_flac+set}" = set; then :
31970   enableval=$enable_flac;  case "${enableval}" in
31971       yes) USE_FLAC=yes;;
31972       no) USE_FLAC=no;;
31973       *) as_fn_error $? "bad value ${enableval} for --enable-flac" "$LINENO" 5 ;;
31974     esac
31975 else
31976    USE_FLAC=yes
31977 fi
31978
31979 if test "x$NOUSE" = "xyes"; then
31980   USE_FLAC="no"
31981   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** flac pre-configured not to be built" >&5
31982 $as_echo "$as_me: WARNING: *** flac pre-configured not to be built" >&2;}
31983 fi
31984 NOUSE=
31985
31986
31987 if test x$USE_FLAC = xyes; then
31988
31989   gst_check_save_LIBS=$LIBS
31990   gst_check_save_LDFLAGS=$LDFLAGS
31991   gst_check_save_CFLAGS=$CFLAGS
31992   gst_check_save_CPPFLAGS=$CPPFLAGS
31993   gst_check_save_CXXFLAGS=$CXXFLAGS
31994
31995   HAVE_FLAC=no
31996
31997
31998   which="flac >= 1.1.4"
31999     required="no"
32000
32001
32002 pkg_failed=no
32003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FLAC" >&5
32004 $as_echo_n "checking for FLAC... " >&6; }
32005
32006 if test -n "$PKG_CONFIG"; then
32007     if test -n "$FLAC_CFLAGS"; then
32008         pkg_cv_FLAC_CFLAGS="$FLAC_CFLAGS"
32009     else
32010         if test -n "$PKG_CONFIG" && \
32011     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
32012   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
32013   ac_status=$?
32014   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32015   test $ac_status = 0; }; then
32016   pkg_cv_FLAC_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
32017 else
32018   pkg_failed=yes
32019 fi
32020     fi
32021 else
32022         pkg_failed=untried
32023 fi
32024 if test -n "$PKG_CONFIG"; then
32025     if test -n "$FLAC_LIBS"; then
32026         pkg_cv_FLAC_LIBS="$FLAC_LIBS"
32027     else
32028         if test -n "$PKG_CONFIG" && \
32029     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
32030   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
32031   ac_status=$?
32032   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32033   test $ac_status = 0; }; then
32034   pkg_cv_FLAC_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
32035 else
32036   pkg_failed=yes
32037 fi
32038     fi
32039 else
32040         pkg_failed=untried
32041 fi
32042
32043
32044
32045 if test $pkg_failed = yes; then
32046
32047 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32048         _pkg_short_errors_supported=yes
32049 else
32050         _pkg_short_errors_supported=no
32051 fi
32052         if test $_pkg_short_errors_supported = yes; then
32053                 FLAC_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
32054         else
32055                 FLAC_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
32056         fi
32057         # Put the nasty error message in config.log where it belongs
32058         echo "$FLAC_PKG_ERRORS" >&5
32059
32060         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32061 $as_echo "no" >&6; }
32062
32063       HAVE_FLAC="no"
32064       if test "x$required" = "xyes"; then
32065         as_fn_error $? "$FLAC_PKG_ERRORS" "$LINENO" 5
32066       else
32067         { $as_echo "$as_me:${as_lineno-$LINENO}: $FLAC_PKG_ERRORS" >&5
32068 $as_echo "$as_me: $FLAC_PKG_ERRORS" >&6;}
32069       fi
32070
32071 elif test $pkg_failed = untried; then
32072
32073       HAVE_FLAC="no"
32074       if test "x$required" = "xyes"; then
32075         as_fn_error $? "$FLAC_PKG_ERRORS" "$LINENO" 5
32076       else
32077         { $as_echo "$as_me:${as_lineno-$LINENO}: $FLAC_PKG_ERRORS" >&5
32078 $as_echo "$as_me: $FLAC_PKG_ERRORS" >&6;}
32079       fi
32080
32081 else
32082         FLAC_CFLAGS=$pkg_cv_FLAC_CFLAGS
32083         FLAC_LIBS=$pkg_cv_FLAC_LIBS
32084         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32085 $as_echo "yes" >&6; }
32086
32087       HAVE_FLAC="yes"
32088
32089 fi
32090
32091
32092
32093
32094   LIBS=$gst_check_save_LIBS
32095   LDFLAGS=$gst_check_save_LDFLAGS
32096   CFLAGS=$gst_check_save_CFLAGS
32097   CPPFLAGS=$gst_check_save_CPPFLAGS
32098   CXXFLAGS=$gst_check_save_CXXFLAGS
32099
32100     if test x$HAVE_FLAC = xno; then
32101     USE_FLAC=no
32102   else
32103     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: flac" >&5
32104 $as_echo "$as_me: *** These plugins will be built: flac" >&6;}
32105   fi
32106 fi
32107 if test x$USE_FLAC = xyes; then
32108   :
32109   if test "xflac" != "x"; then
32110     GST_PLUGINS_YES="\tflac\n$GST_PLUGINS_YES"
32111   fi
32112
32113 $as_echo "#define HAVE_FLAC /**/" >>confdefs.h
32114
32115 else
32116   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: flac" >&5
32117 $as_echo "$as_me: *** These plugins will not be built: flac" >&6;}
32118   if test "xflac" != "x"; then
32119     GST_PLUGINS_NO="\tflac\n$GST_PLUGINS_NO"
32120   fi
32121   :
32122 fi
32123  if test x$USE_FLAC = xyes; then
32124   USE_FLAC_TRUE=
32125   USE_FLAC_FALSE='#'
32126 else
32127   USE_FLAC_TRUE='#'
32128   USE_FLAC_FALSE=
32129 fi
32130
32131
32132
32133 echo
32134 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: GConf libraries ***" >&5
32135 $as_echo "$as_me: *** checking feature: GConf libraries ***" >&6;}
32136 if test "xgconfelements" != "x"
32137 then
32138   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: gconfelements ***" >&5
32139 $as_echo "$as_me: *** for plug-ins: gconfelements ***" >&6;}
32140 fi
32141 NOUSE=
32142 if test "x$USE_GCONF" = "xno"; then
32143   NOUSE="yes"
32144 fi
32145 # Check whether --enable-gconf was given.
32146 if test "${enable_gconf+set}" = set; then :
32147   enableval=$enable_gconf;  case "${enableval}" in
32148       yes) USE_GCONF=yes;;
32149       no) USE_GCONF=no;;
32150       *) as_fn_error $? "bad value ${enableval} for --enable-gconf" "$LINENO" 5 ;;
32151     esac
32152 else
32153    USE_GCONF=yes
32154 fi
32155
32156 if test "x$NOUSE" = "xyes"; then
32157   USE_GCONF="no"
32158   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** gconfelements pre-configured not to be built" >&5
32159 $as_echo "$as_me: WARNING: *** gconfelements pre-configured not to be built" >&2;}
32160 fi
32161 NOUSE=
32162
32163
32164 if test x$USE_GCONF = xyes; then
32165
32166   gst_check_save_LIBS=$LIBS
32167   gst_check_save_LDFLAGS=$LDFLAGS
32168   gst_check_save_CFLAGS=$CFLAGS
32169   gst_check_save_CPPFLAGS=$CPPFLAGS
32170   gst_check_save_CXXFLAGS=$CXXFLAGS
32171
32172   HAVE_GCONF=no
32173
32174
32175   which="gconf-2.0"
32176     required="no"
32177
32178
32179 pkg_failed=no
32180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GCONF" >&5
32181 $as_echo_n "checking for GCONF... " >&6; }
32182
32183 if test -n "$PKG_CONFIG"; then
32184     if test -n "$GCONF_CFLAGS"; then
32185         pkg_cv_GCONF_CFLAGS="$GCONF_CFLAGS"
32186     else
32187         if test -n "$PKG_CONFIG" && \
32188     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
32189   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
32190   ac_status=$?
32191   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32192   test $ac_status = 0; }; then
32193   pkg_cv_GCONF_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
32194 else
32195   pkg_failed=yes
32196 fi
32197     fi
32198 else
32199         pkg_failed=untried
32200 fi
32201 if test -n "$PKG_CONFIG"; then
32202     if test -n "$GCONF_LIBS"; then
32203         pkg_cv_GCONF_LIBS="$GCONF_LIBS"
32204     else
32205         if test -n "$PKG_CONFIG" && \
32206     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
32207   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
32208   ac_status=$?
32209   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32210   test $ac_status = 0; }; then
32211   pkg_cv_GCONF_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
32212 else
32213   pkg_failed=yes
32214 fi
32215     fi
32216 else
32217         pkg_failed=untried
32218 fi
32219
32220
32221
32222 if test $pkg_failed = yes; then
32223
32224 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32225         _pkg_short_errors_supported=yes
32226 else
32227         _pkg_short_errors_supported=no
32228 fi
32229         if test $_pkg_short_errors_supported = yes; then
32230                 GCONF_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
32231         else
32232                 GCONF_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
32233         fi
32234         # Put the nasty error message in config.log where it belongs
32235         echo "$GCONF_PKG_ERRORS" >&5
32236
32237         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32238 $as_echo "no" >&6; }
32239
32240       HAVE_GCONF="no"
32241       if test "x$required" = "xyes"; then
32242         as_fn_error $? "$GCONF_PKG_ERRORS" "$LINENO" 5
32243       else
32244         { $as_echo "$as_me:${as_lineno-$LINENO}: $GCONF_PKG_ERRORS" >&5
32245 $as_echo "$as_me: $GCONF_PKG_ERRORS" >&6;}
32246       fi
32247
32248 elif test $pkg_failed = untried; then
32249
32250       HAVE_GCONF="no"
32251       if test "x$required" = "xyes"; then
32252         as_fn_error $? "$GCONF_PKG_ERRORS" "$LINENO" 5
32253       else
32254         { $as_echo "$as_me:${as_lineno-$LINENO}: $GCONF_PKG_ERRORS" >&5
32255 $as_echo "$as_me: $GCONF_PKG_ERRORS" >&6;}
32256       fi
32257
32258 else
32259         GCONF_CFLAGS=$pkg_cv_GCONF_CFLAGS
32260         GCONF_LIBS=$pkg_cv_GCONF_LIBS
32261         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32262 $as_echo "yes" >&6; }
32263
32264       HAVE_GCONF="yes"
32265
32266 fi
32267
32268
32269
32270
32271   LIBS=$gst_check_save_LIBS
32272   LDFLAGS=$gst_check_save_LDFLAGS
32273   CFLAGS=$gst_check_save_CFLAGS
32274   CPPFLAGS=$gst_check_save_CPPFLAGS
32275   CXXFLAGS=$gst_check_save_CXXFLAGS
32276
32277     if test x$HAVE_GCONF = xno; then
32278     USE_GCONF=no
32279   else
32280     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: gconfelements" >&5
32281 $as_echo "$as_me: *** These plugins will be built: gconfelements" >&6;}
32282   fi
32283 fi
32284 if test x$USE_GCONF = xyes; then
32285   :
32286   if test "xgconfelements" != "x"; then
32287     GST_PLUGINS_YES="\tgconfelements\n$GST_PLUGINS_YES"
32288   fi
32289
32290 $as_echo "#define HAVE_GCONF /**/" >>confdefs.h
32291
32292 else
32293   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: gconfelements" >&5
32294 $as_echo "$as_me: *** These plugins will not be built: gconfelements" >&6;}
32295   if test "xgconfelements" != "x"; then
32296     GST_PLUGINS_NO="\tgconfelements\n$GST_PLUGINS_NO"
32297   fi
32298   :
32299 fi
32300  if test x$USE_GCONF = xyes; then
32301   USE_GCONF_TRUE=
32302   USE_GCONF_FALSE='#'
32303 else
32304   USE_GCONF_TRUE='#'
32305   USE_GCONF_FALSE=
32306 fi
32307
32308
32309
32310 echo
32311 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: GDK pixbuf ***" >&5
32312 $as_echo "$as_me: *** checking feature: GDK pixbuf ***" >&6;}
32313 if test "xgdkpixbuf" != "x"
32314 then
32315   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: gdkpixbuf ***" >&5
32316 $as_echo "$as_me: *** for plug-ins: gdkpixbuf ***" >&6;}
32317 fi
32318 NOUSE=
32319 if test "x$USE_GDK_PIXBUF" = "xno"; then
32320   NOUSE="yes"
32321 fi
32322 # Check whether --enable-gdk_pixbuf was given.
32323 if test "${enable_gdk_pixbuf+set}" = set; then :
32324   enableval=$enable_gdk_pixbuf;  case "${enableval}" in
32325       yes) USE_GDK_PIXBUF=yes;;
32326       no) USE_GDK_PIXBUF=no;;
32327       *) as_fn_error $? "bad value ${enableval} for --enable-gdk_pixbuf" "$LINENO" 5 ;;
32328     esac
32329 else
32330    USE_GDK_PIXBUF=yes
32331 fi
32332
32333 if test "x$NOUSE" = "xyes"; then
32334   USE_GDK_PIXBUF="no"
32335   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** gdkpixbuf pre-configured not to be built" >&5
32336 $as_echo "$as_me: WARNING: *** gdkpixbuf pre-configured not to be built" >&2;}
32337 fi
32338 NOUSE=
32339
32340
32341 if test x$USE_GDK_PIXBUF = xyes; then
32342
32343   gst_check_save_LIBS=$LIBS
32344   gst_check_save_LDFLAGS=$LDFLAGS
32345   gst_check_save_CFLAGS=$CFLAGS
32346   gst_check_save_CPPFLAGS=$CPPFLAGS
32347   gst_check_save_CXXFLAGS=$CXXFLAGS
32348
32349   HAVE_GDK_PIXBUF=no
32350
32351
32352   which="gdk-pixbuf-2.0 >= 2.8.0"
32353     required="no"
32354
32355
32356 pkg_failed=no
32357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GDK_PIXBUF" >&5
32358 $as_echo_n "checking for GDK_PIXBUF... " >&6; }
32359
32360 if test -n "$PKG_CONFIG"; then
32361     if test -n "$GDK_PIXBUF_CFLAGS"; then
32362         pkg_cv_GDK_PIXBUF_CFLAGS="$GDK_PIXBUF_CFLAGS"
32363     else
32364         if test -n "$PKG_CONFIG" && \
32365     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
32366   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
32367   ac_status=$?
32368   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32369   test $ac_status = 0; }; then
32370   pkg_cv_GDK_PIXBUF_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
32371 else
32372   pkg_failed=yes
32373 fi
32374     fi
32375 else
32376         pkg_failed=untried
32377 fi
32378 if test -n "$PKG_CONFIG"; then
32379     if test -n "$GDK_PIXBUF_LIBS"; then
32380         pkg_cv_GDK_PIXBUF_LIBS="$GDK_PIXBUF_LIBS"
32381     else
32382         if test -n "$PKG_CONFIG" && \
32383     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
32384   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
32385   ac_status=$?
32386   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32387   test $ac_status = 0; }; then
32388   pkg_cv_GDK_PIXBUF_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
32389 else
32390   pkg_failed=yes
32391 fi
32392     fi
32393 else
32394         pkg_failed=untried
32395 fi
32396
32397
32398
32399 if test $pkg_failed = yes; then
32400
32401 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32402         _pkg_short_errors_supported=yes
32403 else
32404         _pkg_short_errors_supported=no
32405 fi
32406         if test $_pkg_short_errors_supported = yes; then
32407                 GDK_PIXBUF_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
32408         else
32409                 GDK_PIXBUF_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
32410         fi
32411         # Put the nasty error message in config.log where it belongs
32412         echo "$GDK_PIXBUF_PKG_ERRORS" >&5
32413
32414         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32415 $as_echo "no" >&6; }
32416
32417       HAVE_GDK_PIXBUF="no"
32418       if test "x$required" = "xyes"; then
32419         as_fn_error $? "$GDK_PIXBUF_PKG_ERRORS" "$LINENO" 5
32420       else
32421         { $as_echo "$as_me:${as_lineno-$LINENO}: $GDK_PIXBUF_PKG_ERRORS" >&5
32422 $as_echo "$as_me: $GDK_PIXBUF_PKG_ERRORS" >&6;}
32423       fi
32424
32425 elif test $pkg_failed = untried; then
32426
32427       HAVE_GDK_PIXBUF="no"
32428       if test "x$required" = "xyes"; then
32429         as_fn_error $? "$GDK_PIXBUF_PKG_ERRORS" "$LINENO" 5
32430       else
32431         { $as_echo "$as_me:${as_lineno-$LINENO}: $GDK_PIXBUF_PKG_ERRORS" >&5
32432 $as_echo "$as_me: $GDK_PIXBUF_PKG_ERRORS" >&6;}
32433       fi
32434
32435 else
32436         GDK_PIXBUF_CFLAGS=$pkg_cv_GDK_PIXBUF_CFLAGS
32437         GDK_PIXBUF_LIBS=$pkg_cv_GDK_PIXBUF_LIBS
32438         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32439 $as_echo "yes" >&6; }
32440
32441       HAVE_GDK_PIXBUF="yes"
32442
32443 fi
32444
32445
32446
32447
32448   LIBS=$gst_check_save_LIBS
32449   LDFLAGS=$gst_check_save_LDFLAGS
32450   CFLAGS=$gst_check_save_CFLAGS
32451   CPPFLAGS=$gst_check_save_CPPFLAGS
32452   CXXFLAGS=$gst_check_save_CXXFLAGS
32453
32454     if test x$HAVE_GDK_PIXBUF = xno; then
32455     USE_GDK_PIXBUF=no
32456   else
32457     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: gdkpixbuf" >&5
32458 $as_echo "$as_me: *** These plugins will be built: gdkpixbuf" >&6;}
32459   fi
32460 fi
32461 if test x$USE_GDK_PIXBUF = xyes; then
32462   :
32463   if test "xgdkpixbuf" != "x"; then
32464     GST_PLUGINS_YES="\tgdkpixbuf\n$GST_PLUGINS_YES"
32465   fi
32466
32467 $as_echo "#define HAVE_GDK_PIXBUF /**/" >>confdefs.h
32468
32469 else
32470   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: gdkpixbuf" >&5
32471 $as_echo "$as_me: *** These plugins will not be built: gdkpixbuf" >&6;}
32472   if test "xgdkpixbuf" != "x"; then
32473     GST_PLUGINS_NO="\tgdkpixbuf\n$GST_PLUGINS_NO"
32474   fi
32475   :
32476 fi
32477  if test x$USE_GDK_PIXBUF = xyes; then
32478   USE_GDK_PIXBUF_TRUE=
32479   USE_GDK_PIXBUF_FALSE='#'
32480 else
32481   USE_GDK_PIXBUF_TRUE='#'
32482   USE_GDK_PIXBUF_FALSE=
32483 fi
32484
32485
32486
32487 echo
32488 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: HAL libraries ***" >&5
32489 $as_echo "$as_me: *** checking feature: HAL libraries ***" >&6;}
32490 if test "xhalelements" != "x"
32491 then
32492   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: halelements ***" >&5
32493 $as_echo "$as_me: *** for plug-ins: halelements ***" >&6;}
32494 fi
32495 NOUSE=
32496 if test "x$USE_HAL" = "xno"; then
32497   NOUSE="yes"
32498 fi
32499 # Check whether --enable-hal was given.
32500 if test "${enable_hal+set}" = set; then :
32501   enableval=$enable_hal;  case "${enableval}" in
32502       yes) USE_HAL=yes;;
32503       no) USE_HAL=no;;
32504       *) as_fn_error $? "bad value ${enableval} for --enable-hal" "$LINENO" 5 ;;
32505     esac
32506 else
32507    USE_HAL=yes
32508 fi
32509
32510 if test "x$NOUSE" = "xyes"; then
32511   USE_HAL="no"
32512   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** halelements pre-configured not to be built" >&5
32513 $as_echo "$as_me: WARNING: *** halelements pre-configured not to be built" >&2;}
32514 fi
32515 NOUSE=
32516
32517
32518 if test x$USE_HAL = xyes; then
32519
32520   gst_check_save_LIBS=$LIBS
32521   gst_check_save_LDFLAGS=$LDFLAGS
32522   gst_check_save_CFLAGS=$CFLAGS
32523   gst_check_save_CPPFLAGS=$CPPFLAGS
32524   gst_check_save_CXXFLAGS=$CXXFLAGS
32525
32526   HAVE_HAL=no
32527
32528
32529   which="hal >= 0.5.6, dbus-1 >= 0.32"
32530     required="no"
32531
32532
32533 pkg_failed=no
32534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HAL" >&5
32535 $as_echo_n "checking for HAL... " >&6; }
32536
32537 if test -n "$PKG_CONFIG"; then
32538     if test -n "$HAL_CFLAGS"; then
32539         pkg_cv_HAL_CFLAGS="$HAL_CFLAGS"
32540     else
32541         if test -n "$PKG_CONFIG" && \
32542     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
32543   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
32544   ac_status=$?
32545   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32546   test $ac_status = 0; }; then
32547   pkg_cv_HAL_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
32548 else
32549   pkg_failed=yes
32550 fi
32551     fi
32552 else
32553         pkg_failed=untried
32554 fi
32555 if test -n "$PKG_CONFIG"; then
32556     if test -n "$HAL_LIBS"; then
32557         pkg_cv_HAL_LIBS="$HAL_LIBS"
32558     else
32559         if test -n "$PKG_CONFIG" && \
32560     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
32561   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
32562   ac_status=$?
32563   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32564   test $ac_status = 0; }; then
32565   pkg_cv_HAL_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
32566 else
32567   pkg_failed=yes
32568 fi
32569     fi
32570 else
32571         pkg_failed=untried
32572 fi
32573
32574
32575
32576 if test $pkg_failed = yes; then
32577
32578 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32579         _pkg_short_errors_supported=yes
32580 else
32581         _pkg_short_errors_supported=no
32582 fi
32583         if test $_pkg_short_errors_supported = yes; then
32584                 HAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
32585         else
32586                 HAL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
32587         fi
32588         # Put the nasty error message in config.log where it belongs
32589         echo "$HAL_PKG_ERRORS" >&5
32590
32591         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32592 $as_echo "no" >&6; }
32593
32594       HAVE_HAL="no"
32595       if test "x$required" = "xyes"; then
32596         as_fn_error $? "$HAL_PKG_ERRORS" "$LINENO" 5
32597       else
32598         { $as_echo "$as_me:${as_lineno-$LINENO}: $HAL_PKG_ERRORS" >&5
32599 $as_echo "$as_me: $HAL_PKG_ERRORS" >&6;}
32600       fi
32601
32602 elif test $pkg_failed = untried; then
32603
32604       HAVE_HAL="no"
32605       if test "x$required" = "xyes"; then
32606         as_fn_error $? "$HAL_PKG_ERRORS" "$LINENO" 5
32607       else
32608         { $as_echo "$as_me:${as_lineno-$LINENO}: $HAL_PKG_ERRORS" >&5
32609 $as_echo "$as_me: $HAL_PKG_ERRORS" >&6;}
32610       fi
32611
32612 else
32613         HAL_CFLAGS=$pkg_cv_HAL_CFLAGS
32614         HAL_LIBS=$pkg_cv_HAL_LIBS
32615         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32616 $as_echo "yes" >&6; }
32617
32618       HAVE_HAL="yes"
32619
32620 fi
32621
32622
32623
32624
32625   LIBS=$gst_check_save_LIBS
32626   LDFLAGS=$gst_check_save_LDFLAGS
32627   CFLAGS=$gst_check_save_CFLAGS
32628   CPPFLAGS=$gst_check_save_CPPFLAGS
32629   CXXFLAGS=$gst_check_save_CXXFLAGS
32630
32631     if test x$HAVE_HAL = xno; then
32632     USE_HAL=no
32633   else
32634     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: halelements" >&5
32635 $as_echo "$as_me: *** These plugins will be built: halelements" >&6;}
32636   fi
32637 fi
32638 if test x$USE_HAL = xyes; then
32639   :
32640   if test "xhalelements" != "x"; then
32641     GST_PLUGINS_YES="\thalelements\n$GST_PLUGINS_YES"
32642   fi
32643
32644 $as_echo "#define HAVE_HAL /**/" >>confdefs.h
32645
32646 else
32647   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: halelements" >&5
32648 $as_echo "$as_me: *** These plugins will not be built: halelements" >&6;}
32649   if test "xhalelements" != "x"; then
32650     GST_PLUGINS_NO="\thalelements\n$GST_PLUGINS_NO"
32651   fi
32652   :
32653 fi
32654  if test x$USE_HAL = xyes; then
32655   USE_HAL_TRUE=
32656   USE_HAL_FALSE='#'
32657 else
32658   USE_HAL_TRUE='#'
32659   USE_HAL_FALSE=
32660 fi
32661
32662
32663
32664 echo
32665 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Jack ***" >&5
32666 $as_echo "$as_me: *** checking feature: Jack ***" >&6;}
32667 if test "xjack" != "x"
32668 then
32669   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: jack ***" >&5
32670 $as_echo "$as_me: *** for plug-ins: jack ***" >&6;}
32671 fi
32672 NOUSE=
32673 if test "x$USE_JACK" = "xno"; then
32674   NOUSE="yes"
32675 fi
32676 # Check whether --enable-jack was given.
32677 if test "${enable_jack+set}" = set; then :
32678   enableval=$enable_jack;  case "${enableval}" in
32679       yes) USE_JACK=yes;;
32680       no) USE_JACK=no;;
32681       *) as_fn_error $? "bad value ${enableval} for --enable-jack" "$LINENO" 5 ;;
32682     esac
32683 else
32684    USE_JACK=yes
32685 fi
32686
32687 if test "x$NOUSE" = "xyes"; then
32688   USE_JACK="no"
32689   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** jack pre-configured not to be built" >&5
32690 $as_echo "$as_me: WARNING: *** jack pre-configured not to be built" >&2;}
32691 fi
32692 NOUSE=
32693
32694
32695 if test x$USE_JACK = xyes; then
32696
32697   gst_check_save_LIBS=$LIBS
32698   gst_check_save_LDFLAGS=$LDFLAGS
32699   gst_check_save_CFLAGS=$CFLAGS
32700   gst_check_save_CPPFLAGS=$CPPFLAGS
32701   gst_check_save_CXXFLAGS=$CXXFLAGS
32702
32703   HAVE_JACK=no
32704
32705
32706 pkg_failed=no
32707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JACK" >&5
32708 $as_echo_n "checking for JACK... " >&6; }
32709
32710 if test -n "$PKG_CONFIG"; then
32711     if test -n "$JACK_CFLAGS"; then
32712         pkg_cv_JACK_CFLAGS="$JACK_CFLAGS"
32713     else
32714         if test -n "$PKG_CONFIG" && \
32715     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jack >= 0.99.10\""; } >&5
32716   ($PKG_CONFIG --exists --print-errors "jack >= 0.99.10") 2>&5
32717   ac_status=$?
32718   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32719   test $ac_status = 0; }; then
32720   pkg_cv_JACK_CFLAGS=`$PKG_CONFIG --cflags "jack >= 0.99.10" 2>/dev/null`
32721 else
32722   pkg_failed=yes
32723 fi
32724     fi
32725 else
32726         pkg_failed=untried
32727 fi
32728 if test -n "$PKG_CONFIG"; then
32729     if test -n "$JACK_LIBS"; then
32730         pkg_cv_JACK_LIBS="$JACK_LIBS"
32731     else
32732         if test -n "$PKG_CONFIG" && \
32733     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jack >= 0.99.10\""; } >&5
32734   ($PKG_CONFIG --exists --print-errors "jack >= 0.99.10") 2>&5
32735   ac_status=$?
32736   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32737   test $ac_status = 0; }; then
32738   pkg_cv_JACK_LIBS=`$PKG_CONFIG --libs "jack >= 0.99.10" 2>/dev/null`
32739 else
32740   pkg_failed=yes
32741 fi
32742     fi
32743 else
32744         pkg_failed=untried
32745 fi
32746
32747
32748
32749 if test $pkg_failed = yes; then
32750
32751 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32752         _pkg_short_errors_supported=yes
32753 else
32754         _pkg_short_errors_supported=no
32755 fi
32756         if test $_pkg_short_errors_supported = yes; then
32757                 JACK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "jack >= 0.99.10"`
32758         else
32759                 JACK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "jack >= 0.99.10"`
32760         fi
32761         # Put the nasty error message in config.log where it belongs
32762         echo "$JACK_PKG_ERRORS" >&5
32763
32764         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32765 $as_echo "no" >&6; }
32766                 HAVE_JACK="no"
32767 elif test $pkg_failed = untried; then
32768         HAVE_JACK="no"
32769 else
32770         JACK_CFLAGS=$pkg_cv_JACK_CFLAGS
32771         JACK_LIBS=$pkg_cv_JACK_LIBS
32772         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32773 $as_echo "yes" >&6; }
32774         HAVE_JACK="yes"
32775 fi
32776
32777
32778
32779
32780   which="jack >= 0.120.1 jack < 1.0"
32781     required="no"
32782
32783
32784 pkg_failed=no
32785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JACK_0_120_1" >&5
32786 $as_echo_n "checking for JACK_0_120_1... " >&6; }
32787
32788 if test -n "$PKG_CONFIG"; then
32789     if test -n "$JACK_0_120_1_CFLAGS"; then
32790         pkg_cv_JACK_0_120_1_CFLAGS="$JACK_0_120_1_CFLAGS"
32791     else
32792         if test -n "$PKG_CONFIG" && \
32793     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
32794   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
32795   ac_status=$?
32796   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32797   test $ac_status = 0; }; then
32798   pkg_cv_JACK_0_120_1_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
32799 else
32800   pkg_failed=yes
32801 fi
32802     fi
32803 else
32804         pkg_failed=untried
32805 fi
32806 if test -n "$PKG_CONFIG"; then
32807     if test -n "$JACK_0_120_1_LIBS"; then
32808         pkg_cv_JACK_0_120_1_LIBS="$JACK_0_120_1_LIBS"
32809     else
32810         if test -n "$PKG_CONFIG" && \
32811     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
32812   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
32813   ac_status=$?
32814   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32815   test $ac_status = 0; }; then
32816   pkg_cv_JACK_0_120_1_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
32817 else
32818   pkg_failed=yes
32819 fi
32820     fi
32821 else
32822         pkg_failed=untried
32823 fi
32824
32825
32826
32827 if test $pkg_failed = yes; then
32828
32829 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32830         _pkg_short_errors_supported=yes
32831 else
32832         _pkg_short_errors_supported=no
32833 fi
32834         if test $_pkg_short_errors_supported = yes; then
32835                 JACK_0_120_1_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
32836         else
32837                 JACK_0_120_1_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
32838         fi
32839         # Put the nasty error message in config.log where it belongs
32840         echo "$JACK_0_120_1_PKG_ERRORS" >&5
32841
32842         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32843 $as_echo "no" >&6; }
32844
32845       HAVE_JACK_0_120_1="no"
32846       if test "x$required" = "xyes"; then
32847         as_fn_error $? "$JACK_0_120_1_PKG_ERRORS" "$LINENO" 5
32848       else
32849         { $as_echo "$as_me:${as_lineno-$LINENO}: $JACK_0_120_1_PKG_ERRORS" >&5
32850 $as_echo "$as_me: $JACK_0_120_1_PKG_ERRORS" >&6;}
32851       fi
32852
32853 elif test $pkg_failed = untried; then
32854
32855       HAVE_JACK_0_120_1="no"
32856       if test "x$required" = "xyes"; then
32857         as_fn_error $? "$JACK_0_120_1_PKG_ERRORS" "$LINENO" 5
32858       else
32859         { $as_echo "$as_me:${as_lineno-$LINENO}: $JACK_0_120_1_PKG_ERRORS" >&5
32860 $as_echo "$as_me: $JACK_0_120_1_PKG_ERRORS" >&6;}
32861       fi
32862
32863 else
32864         JACK_0_120_1_CFLAGS=$pkg_cv_JACK_0_120_1_CFLAGS
32865         JACK_0_120_1_LIBS=$pkg_cv_JACK_0_120_1_LIBS
32866         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32867 $as_echo "yes" >&6; }
32868
32869       HAVE_JACK_0_120_1="yes"
32870
32871 fi
32872
32873
32874   if test x$HAVE_JACK_0_120_1 = xyes; then
32875
32876 $as_echo "#define HAVE_JACK_0_120_1 1" >>confdefs.h
32877
32878   fi
32879
32880   which="jack >= 1.9.7"
32881     required="no"
32882
32883
32884 pkg_failed=no
32885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JACK_1_9_7" >&5
32886 $as_echo_n "checking for JACK_1_9_7... " >&6; }
32887
32888 if test -n "$PKG_CONFIG"; then
32889     if test -n "$JACK_1_9_7_CFLAGS"; then
32890         pkg_cv_JACK_1_9_7_CFLAGS="$JACK_1_9_7_CFLAGS"
32891     else
32892         if test -n "$PKG_CONFIG" && \
32893     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
32894   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
32895   ac_status=$?
32896   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32897   test $ac_status = 0; }; then
32898   pkg_cv_JACK_1_9_7_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
32899 else
32900   pkg_failed=yes
32901 fi
32902     fi
32903 else
32904         pkg_failed=untried
32905 fi
32906 if test -n "$PKG_CONFIG"; then
32907     if test -n "$JACK_1_9_7_LIBS"; then
32908         pkg_cv_JACK_1_9_7_LIBS="$JACK_1_9_7_LIBS"
32909     else
32910         if test -n "$PKG_CONFIG" && \
32911     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
32912   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
32913   ac_status=$?
32914   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32915   test $ac_status = 0; }; then
32916   pkg_cv_JACK_1_9_7_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
32917 else
32918   pkg_failed=yes
32919 fi
32920     fi
32921 else
32922         pkg_failed=untried
32923 fi
32924
32925
32926
32927 if test $pkg_failed = yes; then
32928
32929 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32930         _pkg_short_errors_supported=yes
32931 else
32932         _pkg_short_errors_supported=no
32933 fi
32934         if test $_pkg_short_errors_supported = yes; then
32935                 JACK_1_9_7_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
32936         else
32937                 JACK_1_9_7_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
32938         fi
32939         # Put the nasty error message in config.log where it belongs
32940         echo "$JACK_1_9_7_PKG_ERRORS" >&5
32941
32942         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32943 $as_echo "no" >&6; }
32944
32945       HAVE_JACK_1_9_7="no"
32946       if test "x$required" = "xyes"; then
32947         as_fn_error $? "$JACK_1_9_7_PKG_ERRORS" "$LINENO" 5
32948       else
32949         { $as_echo "$as_me:${as_lineno-$LINENO}: $JACK_1_9_7_PKG_ERRORS" >&5
32950 $as_echo "$as_me: $JACK_1_9_7_PKG_ERRORS" >&6;}
32951       fi
32952
32953 elif test $pkg_failed = untried; then
32954
32955       HAVE_JACK_1_9_7="no"
32956       if test "x$required" = "xyes"; then
32957         as_fn_error $? "$JACK_1_9_7_PKG_ERRORS" "$LINENO" 5
32958       else
32959         { $as_echo "$as_me:${as_lineno-$LINENO}: $JACK_1_9_7_PKG_ERRORS" >&5
32960 $as_echo "$as_me: $JACK_1_9_7_PKG_ERRORS" >&6;}
32961       fi
32962
32963 else
32964         JACK_1_9_7_CFLAGS=$pkg_cv_JACK_1_9_7_CFLAGS
32965         JACK_1_9_7_LIBS=$pkg_cv_JACK_1_9_7_LIBS
32966         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32967 $as_echo "yes" >&6; }
32968
32969       HAVE_JACK_1_9_7="yes"
32970
32971 fi
32972
32973
32974   if test x$HAVE_JACK_1_9_7 = xyes; then
32975
32976 $as_echo "#define HAVE_JACK_1_9_7 1" >>confdefs.h
32977
32978   fi
32979
32980
32981
32982   LIBS=$gst_check_save_LIBS
32983   LDFLAGS=$gst_check_save_LDFLAGS
32984   CFLAGS=$gst_check_save_CFLAGS
32985   CPPFLAGS=$gst_check_save_CPPFLAGS
32986   CXXFLAGS=$gst_check_save_CXXFLAGS
32987
32988     if test x$HAVE_JACK = xno; then
32989     USE_JACK=no
32990   else
32991     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: jack" >&5
32992 $as_echo "$as_me: *** These plugins will be built: jack" >&6;}
32993   fi
32994 fi
32995 if test x$USE_JACK = xyes; then
32996   :
32997   if test "xjack" != "x"; then
32998     GST_PLUGINS_YES="\tjack\n$GST_PLUGINS_YES"
32999   fi
33000
33001 $as_echo "#define HAVE_JACK /**/" >>confdefs.h
33002
33003 else
33004   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: jack" >&5
33005 $as_echo "$as_me: *** These plugins will not be built: jack" >&6;}
33006   if test "xjack" != "x"; then
33007     GST_PLUGINS_NO="\tjack\n$GST_PLUGINS_NO"
33008   fi
33009   :
33010 fi
33011  if test x$USE_JACK = xyes; then
33012   USE_JACK_TRUE=
33013   USE_JACK_FALSE='#'
33014 else
33015   USE_JACK_TRUE='#'
33016   USE_JACK_FALSE=
33017 fi
33018
33019
33020
33021 echo
33022 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: jpeg library ***" >&5
33023 $as_echo "$as_me: *** checking feature: jpeg library ***" >&6;}
33024 if test "xjpeg" != "x"
33025 then
33026   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: jpeg ***" >&5
33027 $as_echo "$as_me: *** for plug-ins: jpeg ***" >&6;}
33028 fi
33029 NOUSE=
33030 if test "x$USE_JPEG" = "xno"; then
33031   NOUSE="yes"
33032 fi
33033 # Check whether --enable-jpeg was given.
33034 if test "${enable_jpeg+set}" = set; then :
33035   enableval=$enable_jpeg;  case "${enableval}" in
33036       yes) USE_JPEG=yes;;
33037       no) USE_JPEG=no;;
33038       *) as_fn_error $? "bad value ${enableval} for --enable-jpeg" "$LINENO" 5 ;;
33039     esac
33040 else
33041    USE_JPEG=yes
33042 fi
33043
33044 if test "x$NOUSE" = "xyes"; then
33045   USE_JPEG="no"
33046   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** jpeg pre-configured not to be built" >&5
33047 $as_echo "$as_me: WARNING: *** jpeg pre-configured not to be built" >&2;}
33048 fi
33049 NOUSE=
33050
33051
33052 if test x$USE_JPEG = xyes; then
33053
33054   gst_check_save_LIBS=$LIBS
33055   gst_check_save_LDFLAGS=$LDFLAGS
33056   gst_check_save_CFLAGS=$CFLAGS
33057   gst_check_save_CPPFLAGS=$CPPFLAGS
33058   gst_check_save_CXXFLAGS=$CXXFLAGS
33059
33060   HAVE_JPEG=no
33061
33062
33063 # Check whether --with-jpeg-mmx was given.
33064 if test "${with_jpeg_mmx+set}" = set; then :
33065   withval=$with_jpeg_mmx;
33066 fi
33067
33068   OLD_LIBS="$LIBS"
33069   if test x$with_jpeg_mmx != x; then
33070     LIBS="$LIBS -L$with_jpeg_mmx"
33071   fi
33072   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_set_defaults in -ljpeg-mmx" >&5
33073 $as_echo_n "checking for jpeg_set_defaults in -ljpeg-mmx... " >&6; }
33074 if ${ac_cv_lib_jpeg_mmx_jpeg_set_defaults+:} false; then :
33075   $as_echo_n "(cached) " >&6
33076 else
33077   ac_check_lib_save_LIBS=$LIBS
33078 LIBS="-ljpeg-mmx  $LIBS"
33079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33080 /* end confdefs.h.  */
33081
33082 /* Override any GCC internal prototype to avoid an error.
33083    Use char because int might match the return type of a GCC
33084    builtin and then its argument prototype would still apply.  */
33085 #ifdef __cplusplus
33086 extern "C"
33087 #endif
33088 char jpeg_set_defaults ();
33089 int
33090 main ()
33091 {
33092 return jpeg_set_defaults ();
33093   ;
33094   return 0;
33095 }
33096 _ACEOF
33097 if ac_fn_c_try_link "$LINENO"; then :
33098   ac_cv_lib_jpeg_mmx_jpeg_set_defaults=yes
33099 else
33100   ac_cv_lib_jpeg_mmx_jpeg_set_defaults=no
33101 fi
33102 rm -f core conftest.err conftest.$ac_objext \
33103     conftest$ac_exeext conftest.$ac_ext
33104 LIBS=$ac_check_lib_save_LIBS
33105 fi
33106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_mmx_jpeg_set_defaults" >&5
33107 $as_echo "$ac_cv_lib_jpeg_mmx_jpeg_set_defaults" >&6; }
33108 if test "x$ac_cv_lib_jpeg_mmx_jpeg_set_defaults" = xyes; then :
33109   HAVE_JPEG="yes"
33110 else
33111   HAVE_JPEG="no"
33112 fi
33113
33114   JPEG_LIBS="$LIBS -ljpeg-mmx"
33115   LIBS="$OLD_LIBS"
33116   if test x$HAVE_JPEG != xyes; then
33117     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_set_defaults in -ljpeg" >&5
33118 $as_echo_n "checking for jpeg_set_defaults in -ljpeg... " >&6; }
33119 if ${ac_cv_lib_jpeg_jpeg_set_defaults+:} false; then :
33120   $as_echo_n "(cached) " >&6
33121 else
33122   ac_check_lib_save_LIBS=$LIBS
33123 LIBS="-ljpeg  $LIBS"
33124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33125 /* end confdefs.h.  */
33126
33127 /* Override any GCC internal prototype to avoid an error.
33128    Use char because int might match the return type of a GCC
33129    builtin and then its argument prototype would still apply.  */
33130 #ifdef __cplusplus
33131 extern "C"
33132 #endif
33133 char jpeg_set_defaults ();
33134 int
33135 main ()
33136 {
33137 return jpeg_set_defaults ();
33138   ;
33139   return 0;
33140 }
33141 _ACEOF
33142 if ac_fn_c_try_link "$LINENO"; then :
33143   ac_cv_lib_jpeg_jpeg_set_defaults=yes
33144 else
33145   ac_cv_lib_jpeg_jpeg_set_defaults=no
33146 fi
33147 rm -f core conftest.err conftest.$ac_objext \
33148     conftest$ac_exeext conftest.$ac_ext
33149 LIBS=$ac_check_lib_save_LIBS
33150 fi
33151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_set_defaults" >&5
33152 $as_echo "$ac_cv_lib_jpeg_jpeg_set_defaults" >&6; }
33153 if test "x$ac_cv_lib_jpeg_jpeg_set_defaults" = xyes; then :
33154   HAVE_JPEG="yes"
33155 else
33156   HAVE_JPEG="no"
33157 fi
33158
33159     JPEG_LIBS="-ljpeg"
33160   fi
33161
33162
33163
33164   LIBS=$gst_check_save_LIBS
33165   LDFLAGS=$gst_check_save_LDFLAGS
33166   CFLAGS=$gst_check_save_CFLAGS
33167   CPPFLAGS=$gst_check_save_CPPFLAGS
33168   CXXFLAGS=$gst_check_save_CXXFLAGS
33169
33170     if test x$HAVE_JPEG = xno; then
33171     USE_JPEG=no
33172   else
33173     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: jpeg" >&5
33174 $as_echo "$as_me: *** These plugins will be built: jpeg" >&6;}
33175   fi
33176 fi
33177 if test x$USE_JPEG = xyes; then
33178   :
33179   if test "xjpeg" != "x"; then
33180     GST_PLUGINS_YES="\tjpeg\n$GST_PLUGINS_YES"
33181   fi
33182
33183 $as_echo "#define HAVE_JPEG /**/" >>confdefs.h
33184
33185 else
33186   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: jpeg" >&5
33187 $as_echo "$as_me: *** These plugins will not be built: jpeg" >&6;}
33188   if test "xjpeg" != "x"; then
33189     GST_PLUGINS_NO="\tjpeg\n$GST_PLUGINS_NO"
33190   fi
33191   :
33192 fi
33193  if test x$USE_JPEG = xyes; then
33194   USE_JPEG_TRUE=
33195   USE_JPEG_FALSE='#'
33196 else
33197   USE_JPEG_TRUE='#'
33198   USE_JPEG_FALSE=
33199 fi
33200
33201
33202
33203 echo
33204 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: libcaca coloured ASCII art ***" >&5
33205 $as_echo "$as_me: *** checking feature: libcaca coloured ASCII art ***" >&6;}
33206 if test "xcacasink" != "x"
33207 then
33208   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: cacasink ***" >&5
33209 $as_echo "$as_me: *** for plug-ins: cacasink ***" >&6;}
33210 fi
33211 NOUSE=
33212 if test "x$USE_LIBCACA" = "xno"; then
33213   NOUSE="yes"
33214 fi
33215 # Check whether --enable-libcaca was given.
33216 if test "${enable_libcaca+set}" = set; then :
33217   enableval=$enable_libcaca;  case "${enableval}" in
33218       yes) USE_LIBCACA=yes;;
33219       no) USE_LIBCACA=no;;
33220       *) as_fn_error $? "bad value ${enableval} for --enable-libcaca" "$LINENO" 5 ;;
33221     esac
33222 else
33223    USE_LIBCACA=yes
33224 fi
33225
33226 if test "x$NOUSE" = "xyes"; then
33227   USE_LIBCACA="no"
33228   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** cacasink pre-configured not to be built" >&5
33229 $as_echo "$as_me: WARNING: *** cacasink pre-configured not to be built" >&2;}
33230 fi
33231 NOUSE=
33232
33233
33234 if test x$USE_LIBCACA = xyes; then
33235
33236   gst_check_save_LIBS=$LIBS
33237   gst_check_save_LDFLAGS=$LDFLAGS
33238   gst_check_save_CFLAGS=$CFLAGS
33239   gst_check_save_CPPFLAGS=$CPPFLAGS
33240   gst_check_save_CXXFLAGS=$CXXFLAGS
33241
33242   HAVE_LIBCACA=no
33243
33244
33245   which="caca"
33246     required="no"
33247
33248
33249 pkg_failed=no
33250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBCACA" >&5
33251 $as_echo_n "checking for LIBCACA... " >&6; }
33252
33253 if test -n "$PKG_CONFIG"; then
33254     if test -n "$LIBCACA_CFLAGS"; then
33255         pkg_cv_LIBCACA_CFLAGS="$LIBCACA_CFLAGS"
33256     else
33257         if test -n "$PKG_CONFIG" && \
33258     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
33259   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
33260   ac_status=$?
33261   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33262   test $ac_status = 0; }; then
33263   pkg_cv_LIBCACA_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
33264 else
33265   pkg_failed=yes
33266 fi
33267     fi
33268 else
33269         pkg_failed=untried
33270 fi
33271 if test -n "$PKG_CONFIG"; then
33272     if test -n "$LIBCACA_LIBS"; then
33273         pkg_cv_LIBCACA_LIBS="$LIBCACA_LIBS"
33274     else
33275         if test -n "$PKG_CONFIG" && \
33276     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
33277   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
33278   ac_status=$?
33279   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33280   test $ac_status = 0; }; then
33281   pkg_cv_LIBCACA_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
33282 else
33283   pkg_failed=yes
33284 fi
33285     fi
33286 else
33287         pkg_failed=untried
33288 fi
33289
33290
33291
33292 if test $pkg_failed = yes; then
33293
33294 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33295         _pkg_short_errors_supported=yes
33296 else
33297         _pkg_short_errors_supported=no
33298 fi
33299         if test $_pkg_short_errors_supported = yes; then
33300                 LIBCACA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
33301         else
33302                 LIBCACA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
33303         fi
33304         # Put the nasty error message in config.log where it belongs
33305         echo "$LIBCACA_PKG_ERRORS" >&5
33306
33307         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33308 $as_echo "no" >&6; }
33309
33310       HAVE_LIBCACA="no"
33311       if test "x$required" = "xyes"; then
33312         as_fn_error $? "$LIBCACA_PKG_ERRORS" "$LINENO" 5
33313       else
33314         { $as_echo "$as_me:${as_lineno-$LINENO}: $LIBCACA_PKG_ERRORS" >&5
33315 $as_echo "$as_me: $LIBCACA_PKG_ERRORS" >&6;}
33316       fi
33317
33318 elif test $pkg_failed = untried; then
33319
33320       HAVE_LIBCACA="no"
33321       if test "x$required" = "xyes"; then
33322         as_fn_error $? "$LIBCACA_PKG_ERRORS" "$LINENO" 5
33323       else
33324         { $as_echo "$as_me:${as_lineno-$LINENO}: $LIBCACA_PKG_ERRORS" >&5
33325 $as_echo "$as_me: $LIBCACA_PKG_ERRORS" >&6;}
33326       fi
33327
33328 else
33329         LIBCACA_CFLAGS=$pkg_cv_LIBCACA_CFLAGS
33330         LIBCACA_LIBS=$pkg_cv_LIBCACA_LIBS
33331         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33332 $as_echo "yes" >&6; }
33333
33334       HAVE_LIBCACA="yes"
33335
33336 fi
33337
33338
33339
33340
33341   LIBS=$gst_check_save_LIBS
33342   LDFLAGS=$gst_check_save_LDFLAGS
33343   CFLAGS=$gst_check_save_CFLAGS
33344   CPPFLAGS=$gst_check_save_CPPFLAGS
33345   CXXFLAGS=$gst_check_save_CXXFLAGS
33346
33347     if test x$HAVE_LIBCACA = xno; then
33348     USE_LIBCACA=no
33349   else
33350     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: cacasink" >&5
33351 $as_echo "$as_me: *** These plugins will be built: cacasink" >&6;}
33352   fi
33353 fi
33354 if test x$USE_LIBCACA = xyes; then
33355   :
33356   if test "xcacasink" != "x"; then
33357     GST_PLUGINS_YES="\tcacasink\n$GST_PLUGINS_YES"
33358   fi
33359
33360 $as_echo "#define HAVE_LIBCACA /**/" >>confdefs.h
33361
33362 else
33363   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: cacasink" >&5
33364 $as_echo "$as_me: *** These plugins will not be built: cacasink" >&6;}
33365   if test "xcacasink" != "x"; then
33366     GST_PLUGINS_NO="\tcacasink\n$GST_PLUGINS_NO"
33367   fi
33368   :
33369 fi
33370  if test x$USE_LIBCACA = xyes; then
33371   USE_LIBCACA_TRUE=
33372   USE_LIBCACA_FALSE='#'
33373 else
33374   USE_LIBCACA_TRUE='#'
33375   USE_LIBCACA_FALSE=
33376 fi
33377
33378
33379
33380 echo
33381 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: libdv DV demuxer/decoder ***" >&5
33382 $as_echo "$as_me: *** checking feature: libdv DV demuxer/decoder ***" >&6;}
33383 if test "xdv" != "x"
33384 then
33385   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: dv ***" >&5
33386 $as_echo "$as_me: *** for plug-ins: dv ***" >&6;}
33387 fi
33388 NOUSE=
33389 if test "x$USE_LIBDV" = "xno"; then
33390   NOUSE="yes"
33391 fi
33392 # Check whether --enable-libdv was given.
33393 if test "${enable_libdv+set}" = set; then :
33394   enableval=$enable_libdv;  case "${enableval}" in
33395       yes) USE_LIBDV=yes;;
33396       no) USE_LIBDV=no;;
33397       *) as_fn_error $? "bad value ${enableval} for --enable-libdv" "$LINENO" 5 ;;
33398     esac
33399 else
33400    USE_LIBDV=yes
33401 fi
33402
33403 if test "x$NOUSE" = "xyes"; then
33404   USE_LIBDV="no"
33405   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** dv pre-configured not to be built" >&5
33406 $as_echo "$as_me: WARNING: *** dv pre-configured not to be built" >&2;}
33407 fi
33408 NOUSE=
33409
33410
33411 if test x$USE_LIBDV = xyes; then
33412
33413   gst_check_save_LIBS=$LIBS
33414   gst_check_save_LDFLAGS=$LDFLAGS
33415   gst_check_save_CFLAGS=$CFLAGS
33416   gst_check_save_CPPFLAGS=$CPPFLAGS
33417   gst_check_save_CXXFLAGS=$CXXFLAGS
33418
33419   HAVE_LIBDV=no
33420
33421
33422   which="libdv >= 0.100"
33423     required="no"
33424
33425
33426 pkg_failed=no
33427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBDV" >&5
33428 $as_echo_n "checking for LIBDV... " >&6; }
33429
33430 if test -n "$PKG_CONFIG"; then
33431     if test -n "$LIBDV_CFLAGS"; then
33432         pkg_cv_LIBDV_CFLAGS="$LIBDV_CFLAGS"
33433     else
33434         if test -n "$PKG_CONFIG" && \
33435     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
33436   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
33437   ac_status=$?
33438   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33439   test $ac_status = 0; }; then
33440   pkg_cv_LIBDV_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
33441 else
33442   pkg_failed=yes
33443 fi
33444     fi
33445 else
33446         pkg_failed=untried
33447 fi
33448 if test -n "$PKG_CONFIG"; then
33449     if test -n "$LIBDV_LIBS"; then
33450         pkg_cv_LIBDV_LIBS="$LIBDV_LIBS"
33451     else
33452         if test -n "$PKG_CONFIG" && \
33453     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
33454   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
33455   ac_status=$?
33456   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33457   test $ac_status = 0; }; then
33458   pkg_cv_LIBDV_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
33459 else
33460   pkg_failed=yes
33461 fi
33462     fi
33463 else
33464         pkg_failed=untried
33465 fi
33466
33467
33468
33469 if test $pkg_failed = yes; then
33470
33471 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33472         _pkg_short_errors_supported=yes
33473 else
33474         _pkg_short_errors_supported=no
33475 fi
33476         if test $_pkg_short_errors_supported = yes; then
33477                 LIBDV_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
33478         else
33479                 LIBDV_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
33480         fi
33481         # Put the nasty error message in config.log where it belongs
33482         echo "$LIBDV_PKG_ERRORS" >&5
33483
33484         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33485 $as_echo "no" >&6; }
33486
33487       HAVE_LIBDV="no"
33488       if test "x$required" = "xyes"; then
33489         as_fn_error $? "$LIBDV_PKG_ERRORS" "$LINENO" 5
33490       else
33491         { $as_echo "$as_me:${as_lineno-$LINENO}: $LIBDV_PKG_ERRORS" >&5
33492 $as_echo "$as_me: $LIBDV_PKG_ERRORS" >&6;}
33493       fi
33494
33495 elif test $pkg_failed = untried; then
33496
33497       HAVE_LIBDV="no"
33498       if test "x$required" = "xyes"; then
33499         as_fn_error $? "$LIBDV_PKG_ERRORS" "$LINENO" 5
33500       else
33501         { $as_echo "$as_me:${as_lineno-$LINENO}: $LIBDV_PKG_ERRORS" >&5
33502 $as_echo "$as_me: $LIBDV_PKG_ERRORS" >&6;}
33503       fi
33504
33505 else
33506         LIBDV_CFLAGS=$pkg_cv_LIBDV_CFLAGS
33507         LIBDV_LIBS=$pkg_cv_LIBDV_LIBS
33508         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33509 $as_echo "yes" >&6; }
33510
33511       HAVE_LIBDV="yes"
33512
33513 fi
33514
33515
33516
33517
33518   LIBS=$gst_check_save_LIBS
33519   LDFLAGS=$gst_check_save_LDFLAGS
33520   CFLAGS=$gst_check_save_CFLAGS
33521   CPPFLAGS=$gst_check_save_CPPFLAGS
33522   CXXFLAGS=$gst_check_save_CXXFLAGS
33523
33524     if test x$HAVE_LIBDV = xno; then
33525     USE_LIBDV=no
33526   else
33527     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: dv" >&5
33528 $as_echo "$as_me: *** These plugins will be built: dv" >&6;}
33529   fi
33530 fi
33531 if test x$USE_LIBDV = xyes; then
33532   :
33533   if test "xdv" != "x"; then
33534     GST_PLUGINS_YES="\tdv\n$GST_PLUGINS_YES"
33535   fi
33536
33537 $as_echo "#define HAVE_LIBDV /**/" >>confdefs.h
33538
33539 else
33540   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: dv" >&5
33541 $as_echo "$as_me: *** These plugins will not be built: dv" >&6;}
33542   if test "xdv" != "x"; then
33543     GST_PLUGINS_NO="\tdv\n$GST_PLUGINS_NO"
33544   fi
33545   :
33546 fi
33547  if test x$USE_LIBDV = xyes; then
33548   USE_LIBDV_TRUE=
33549   USE_LIBDV_FALSE='#'
33550 else
33551   USE_LIBDV_TRUE='#'
33552   USE_LIBDV_FALSE=
33553 fi
33554
33555
33556
33557 echo
33558 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Portable Network Graphics library ***" >&5
33559 $as_echo "$as_me: *** checking feature: Portable Network Graphics library ***" >&6;}
33560 if test "xpng" != "x"
33561 then
33562   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: png ***" >&5
33563 $as_echo "$as_me: *** for plug-ins: png ***" >&6;}
33564 fi
33565 NOUSE=
33566 if test "x$USE_LIBPNG" = "xno"; then
33567   NOUSE="yes"
33568 fi
33569 # Check whether --enable-libpng was given.
33570 if test "${enable_libpng+set}" = set; then :
33571   enableval=$enable_libpng;  case "${enableval}" in
33572       yes) USE_LIBPNG=yes;;
33573       no) USE_LIBPNG=no;;
33574       *) as_fn_error $? "bad value ${enableval} for --enable-libpng" "$LINENO" 5 ;;
33575     esac
33576 else
33577    USE_LIBPNG=yes
33578 fi
33579
33580 if test "x$NOUSE" = "xyes"; then
33581   USE_LIBPNG="no"
33582   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** png pre-configured not to be built" >&5
33583 $as_echo "$as_me: WARNING: *** png pre-configured not to be built" >&2;}
33584 fi
33585 NOUSE=
33586
33587
33588 if test x$USE_LIBPNG = xyes; then
33589
33590   gst_check_save_LIBS=$LIBS
33591   gst_check_save_LDFLAGS=$LDFLAGS
33592   gst_check_save_CFLAGS=$CFLAGS
33593   gst_check_save_CPPFLAGS=$CPPFLAGS
33594   gst_check_save_CXXFLAGS=$CXXFLAGS
33595
33596   HAVE_LIBPNG=no
33597
33598
33599   which="libpng >= 1.2"
33600     required="no"
33601
33602
33603 pkg_failed=no
33604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBPNG" >&5
33605 $as_echo_n "checking for LIBPNG... " >&6; }
33606
33607 if test -n "$PKG_CONFIG"; then
33608     if test -n "$LIBPNG_CFLAGS"; then
33609         pkg_cv_LIBPNG_CFLAGS="$LIBPNG_CFLAGS"
33610     else
33611         if test -n "$PKG_CONFIG" && \
33612     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
33613   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
33614   ac_status=$?
33615   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33616   test $ac_status = 0; }; then
33617   pkg_cv_LIBPNG_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
33618 else
33619   pkg_failed=yes
33620 fi
33621     fi
33622 else
33623         pkg_failed=untried
33624 fi
33625 if test -n "$PKG_CONFIG"; then
33626     if test -n "$LIBPNG_LIBS"; then
33627         pkg_cv_LIBPNG_LIBS="$LIBPNG_LIBS"
33628     else
33629         if test -n "$PKG_CONFIG" && \
33630     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
33631   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
33632   ac_status=$?
33633   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33634   test $ac_status = 0; }; then
33635   pkg_cv_LIBPNG_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
33636 else
33637   pkg_failed=yes
33638 fi
33639     fi
33640 else
33641         pkg_failed=untried
33642 fi
33643
33644
33645
33646 if test $pkg_failed = yes; then
33647
33648 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33649         _pkg_short_errors_supported=yes
33650 else
33651         _pkg_short_errors_supported=no
33652 fi
33653         if test $_pkg_short_errors_supported = yes; then
33654                 LIBPNG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
33655         else
33656                 LIBPNG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
33657         fi
33658         # Put the nasty error message in config.log where it belongs
33659         echo "$LIBPNG_PKG_ERRORS" >&5
33660
33661         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33662 $as_echo "no" >&6; }
33663
33664       HAVE_LIBPNG="no"
33665       if test "x$required" = "xyes"; then
33666         as_fn_error $? "$LIBPNG_PKG_ERRORS" "$LINENO" 5
33667       else
33668         { $as_echo "$as_me:${as_lineno-$LINENO}: $LIBPNG_PKG_ERRORS" >&5
33669 $as_echo "$as_me: $LIBPNG_PKG_ERRORS" >&6;}
33670       fi
33671
33672 elif test $pkg_failed = untried; then
33673
33674       HAVE_LIBPNG="no"
33675       if test "x$required" = "xyes"; then
33676         as_fn_error $? "$LIBPNG_PKG_ERRORS" "$LINENO" 5
33677       else
33678         { $as_echo "$as_me:${as_lineno-$LINENO}: $LIBPNG_PKG_ERRORS" >&5
33679 $as_echo "$as_me: $LIBPNG_PKG_ERRORS" >&6;}
33680       fi
33681
33682 else
33683         LIBPNG_CFLAGS=$pkg_cv_LIBPNG_CFLAGS
33684         LIBPNG_LIBS=$pkg_cv_LIBPNG_LIBS
33685         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33686 $as_echo "yes" >&6; }
33687
33688       HAVE_LIBPNG="yes"
33689
33690 fi
33691
33692
33693
33694
33695   LIBS=$gst_check_save_LIBS
33696   LDFLAGS=$gst_check_save_LDFLAGS
33697   CFLAGS=$gst_check_save_CFLAGS
33698   CPPFLAGS=$gst_check_save_CPPFLAGS
33699   CXXFLAGS=$gst_check_save_CXXFLAGS
33700
33701     if test x$HAVE_LIBPNG = xno; then
33702     USE_LIBPNG=no
33703   else
33704     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: png" >&5
33705 $as_echo "$as_me: *** These plugins will be built: png" >&6;}
33706   fi
33707 fi
33708 if test x$USE_LIBPNG = xyes; then
33709   :
33710   if test "xpng" != "x"; then
33711     GST_PLUGINS_YES="\tpng\n$GST_PLUGINS_YES"
33712   fi
33713
33714 $as_echo "#define HAVE_LIBPNG /**/" >>confdefs.h
33715
33716 else
33717   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: png" >&5
33718 $as_echo "$as_me: *** These plugins will not be built: png" >&6;}
33719   if test "xpng" != "x"; then
33720     GST_PLUGINS_NO="\tpng\n$GST_PLUGINS_NO"
33721   fi
33722   :
33723 fi
33724  if test x$USE_LIBPNG = xyes; then
33725   USE_LIBPNG_TRUE=
33726   USE_LIBPNG_FALSE='#'
33727 else
33728   USE_LIBPNG_TRUE='#'
33729   USE_LIBPNG_FALSE=
33730 fi
33731
33732
33733
33734 echo
33735 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: pulseaudio plug-in ***" >&5
33736 $as_echo "$as_me: *** checking feature: pulseaudio plug-in ***" >&6;}
33737 if test "xpulseaudio" != "x"
33738 then
33739   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: pulseaudio ***" >&5
33740 $as_echo "$as_me: *** for plug-ins: pulseaudio ***" >&6;}
33741 fi
33742 NOUSE=
33743 if test "x$USE_PULSE" = "xno"; then
33744   NOUSE="yes"
33745 fi
33746 # Check whether --enable-pulse was given.
33747 if test "${enable_pulse+set}" = set; then :
33748   enableval=$enable_pulse;  case "${enableval}" in
33749       yes) USE_PULSE=yes;;
33750       no) USE_PULSE=no;;
33751       *) as_fn_error $? "bad value ${enableval} for --enable-pulse" "$LINENO" 5 ;;
33752     esac
33753 else
33754    USE_PULSE=yes
33755 fi
33756
33757 if test "x$NOUSE" = "xyes"; then
33758   USE_PULSE="no"
33759   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** pulseaudio pre-configured not to be built" >&5
33760 $as_echo "$as_me: WARNING: *** pulseaudio pre-configured not to be built" >&2;}
33761 fi
33762 NOUSE=
33763
33764
33765 if test x$USE_PULSE = xyes; then
33766
33767   gst_check_save_LIBS=$LIBS
33768   gst_check_save_LDFLAGS=$LDFLAGS
33769   gst_check_save_CFLAGS=$CFLAGS
33770   gst_check_save_CPPFLAGS=$CPPFLAGS
33771   gst_check_save_CXXFLAGS=$CXXFLAGS
33772
33773   HAVE_PULSE=no
33774
33775
33776     for ac_header in process.h
33777 do :
33778   ac_fn_c_check_header_mongrel "$LINENO" "process.h" "ac_cv_header_process_h" "$ac_includes_default"
33779 if test "x$ac_cv_header_process_h" = xyes; then :
33780   cat >>confdefs.h <<_ACEOF
33781 #define HAVE_PROCESS_H 1
33782 _ACEOF
33783
33784 fi
33785
33786 done
33787
33788
33789
33790   which="libpulse >= 0.9.16"
33791     required="no"
33792
33793
33794 pkg_failed=no
33795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PULSE" >&5
33796 $as_echo_n "checking for PULSE... " >&6; }
33797
33798 if test -n "$PKG_CONFIG"; then
33799     if test -n "$PULSE_CFLAGS"; then
33800         pkg_cv_PULSE_CFLAGS="$PULSE_CFLAGS"
33801     else
33802         if test -n "$PKG_CONFIG" && \
33803     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
33804   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
33805   ac_status=$?
33806   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33807   test $ac_status = 0; }; then
33808   pkg_cv_PULSE_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
33809 else
33810   pkg_failed=yes
33811 fi
33812     fi
33813 else
33814         pkg_failed=untried
33815 fi
33816 if test -n "$PKG_CONFIG"; then
33817     if test -n "$PULSE_LIBS"; then
33818         pkg_cv_PULSE_LIBS="$PULSE_LIBS"
33819     else
33820         if test -n "$PKG_CONFIG" && \
33821     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
33822   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
33823   ac_status=$?
33824   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33825   test $ac_status = 0; }; then
33826   pkg_cv_PULSE_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
33827 else
33828   pkg_failed=yes
33829 fi
33830     fi
33831 else
33832         pkg_failed=untried
33833 fi
33834
33835
33836
33837 if test $pkg_failed = yes; then
33838
33839 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33840         _pkg_short_errors_supported=yes
33841 else
33842         _pkg_short_errors_supported=no
33843 fi
33844         if test $_pkg_short_errors_supported = yes; then
33845                 PULSE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
33846         else
33847                 PULSE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
33848         fi
33849         # Put the nasty error message in config.log where it belongs
33850         echo "$PULSE_PKG_ERRORS" >&5
33851
33852         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33853 $as_echo "no" >&6; }
33854
33855       HAVE_PULSE="no"
33856       if test "x$required" = "xyes"; then
33857         as_fn_error $? "$PULSE_PKG_ERRORS" "$LINENO" 5
33858       else
33859         { $as_echo "$as_me:${as_lineno-$LINENO}: $PULSE_PKG_ERRORS" >&5
33860 $as_echo "$as_me: $PULSE_PKG_ERRORS" >&6;}
33861       fi
33862
33863 elif test $pkg_failed = untried; then
33864
33865       HAVE_PULSE="no"
33866       if test "x$required" = "xyes"; then
33867         as_fn_error $? "$PULSE_PKG_ERRORS" "$LINENO" 5
33868       else
33869         { $as_echo "$as_me:${as_lineno-$LINENO}: $PULSE_PKG_ERRORS" >&5
33870 $as_echo "$as_me: $PULSE_PKG_ERRORS" >&6;}
33871       fi
33872
33873 else
33874         PULSE_CFLAGS=$pkg_cv_PULSE_CFLAGS
33875         PULSE_LIBS=$pkg_cv_PULSE_LIBS
33876         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33877 $as_echo "yes" >&6; }
33878
33879       HAVE_PULSE="yes"
33880
33881 fi
33882
33883
33884
33885   which="libpulse >= 0.9.20"
33886     required="no"
33887
33888
33889 pkg_failed=no
33890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PULSE_0_9_20" >&5
33891 $as_echo_n "checking for PULSE_0_9_20... " >&6; }
33892
33893 if test -n "$PKG_CONFIG"; then
33894     if test -n "$PULSE_0_9_20_CFLAGS"; then
33895         pkg_cv_PULSE_0_9_20_CFLAGS="$PULSE_0_9_20_CFLAGS"
33896     else
33897         if test -n "$PKG_CONFIG" && \
33898     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
33899   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
33900   ac_status=$?
33901   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33902   test $ac_status = 0; }; then
33903   pkg_cv_PULSE_0_9_20_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
33904 else
33905   pkg_failed=yes
33906 fi
33907     fi
33908 else
33909         pkg_failed=untried
33910 fi
33911 if test -n "$PKG_CONFIG"; then
33912     if test -n "$PULSE_0_9_20_LIBS"; then
33913         pkg_cv_PULSE_0_9_20_LIBS="$PULSE_0_9_20_LIBS"
33914     else
33915         if test -n "$PKG_CONFIG" && \
33916     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
33917   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
33918   ac_status=$?
33919   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33920   test $ac_status = 0; }; then
33921   pkg_cv_PULSE_0_9_20_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
33922 else
33923   pkg_failed=yes
33924 fi
33925     fi
33926 else
33927         pkg_failed=untried
33928 fi
33929
33930
33931
33932 if test $pkg_failed = yes; then
33933
33934 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33935         _pkg_short_errors_supported=yes
33936 else
33937         _pkg_short_errors_supported=no
33938 fi
33939         if test $_pkg_short_errors_supported = yes; then
33940                 PULSE_0_9_20_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
33941         else
33942                 PULSE_0_9_20_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
33943         fi
33944         # Put the nasty error message in config.log where it belongs
33945         echo "$PULSE_0_9_20_PKG_ERRORS" >&5
33946
33947         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33948 $as_echo "no" >&6; }
33949
33950       HAVE_PULSE_0_9_20="no"
33951       if test "x$required" = "xyes"; then
33952         as_fn_error $? "$PULSE_0_9_20_PKG_ERRORS" "$LINENO" 5
33953       else
33954         { $as_echo "$as_me:${as_lineno-$LINENO}: $PULSE_0_9_20_PKG_ERRORS" >&5
33955 $as_echo "$as_me: $PULSE_0_9_20_PKG_ERRORS" >&6;}
33956       fi
33957
33958 elif test $pkg_failed = untried; then
33959
33960       HAVE_PULSE_0_9_20="no"
33961       if test "x$required" = "xyes"; then
33962         as_fn_error $? "$PULSE_0_9_20_PKG_ERRORS" "$LINENO" 5
33963       else
33964         { $as_echo "$as_me:${as_lineno-$LINENO}: $PULSE_0_9_20_PKG_ERRORS" >&5
33965 $as_echo "$as_me: $PULSE_0_9_20_PKG_ERRORS" >&6;}
33966       fi
33967
33968 else
33969         PULSE_0_9_20_CFLAGS=$pkg_cv_PULSE_0_9_20_CFLAGS
33970         PULSE_0_9_20_LIBS=$pkg_cv_PULSE_0_9_20_LIBS
33971         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33972 $as_echo "yes" >&6; }
33973
33974       HAVE_PULSE_0_9_20="yes"
33975
33976 fi
33977
33978
33979   if test x$HAVE_PULSE_0_9_20 = xyes; then
33980
33981 $as_echo "#define HAVE_PULSE_0_9_20 1" >>confdefs.h
33982
33983   fi
33984
33985   which="libpulse >= 0.98"
33986     required="no"
33987
33988
33989 pkg_failed=no
33990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PULSE_1_0" >&5
33991 $as_echo_n "checking for PULSE_1_0... " >&6; }
33992
33993 if test -n "$PKG_CONFIG"; then
33994     if test -n "$PULSE_1_0_CFLAGS"; then
33995         pkg_cv_PULSE_1_0_CFLAGS="$PULSE_1_0_CFLAGS"
33996     else
33997         if test -n "$PKG_CONFIG" && \
33998     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
33999   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
34000   ac_status=$?
34001   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34002   test $ac_status = 0; }; then
34003   pkg_cv_PULSE_1_0_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
34004 else
34005   pkg_failed=yes
34006 fi
34007     fi
34008 else
34009         pkg_failed=untried
34010 fi
34011 if test -n "$PKG_CONFIG"; then
34012     if test -n "$PULSE_1_0_LIBS"; then
34013         pkg_cv_PULSE_1_0_LIBS="$PULSE_1_0_LIBS"
34014     else
34015         if test -n "$PKG_CONFIG" && \
34016     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
34017   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
34018   ac_status=$?
34019   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34020   test $ac_status = 0; }; then
34021   pkg_cv_PULSE_1_0_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
34022 else
34023   pkg_failed=yes
34024 fi
34025     fi
34026 else
34027         pkg_failed=untried
34028 fi
34029
34030
34031
34032 if test $pkg_failed = yes; then
34033
34034 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34035         _pkg_short_errors_supported=yes
34036 else
34037         _pkg_short_errors_supported=no
34038 fi
34039         if test $_pkg_short_errors_supported = yes; then
34040                 PULSE_1_0_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
34041         else
34042                 PULSE_1_0_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
34043         fi
34044         # Put the nasty error message in config.log where it belongs
34045         echo "$PULSE_1_0_PKG_ERRORS" >&5
34046
34047         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34048 $as_echo "no" >&6; }
34049
34050       HAVE_PULSE_1_0="no"
34051       if test "x$required" = "xyes"; then
34052         as_fn_error $? "$PULSE_1_0_PKG_ERRORS" "$LINENO" 5
34053       else
34054         { $as_echo "$as_me:${as_lineno-$LINENO}: $PULSE_1_0_PKG_ERRORS" >&5
34055 $as_echo "$as_me: $PULSE_1_0_PKG_ERRORS" >&6;}
34056       fi
34057
34058 elif test $pkg_failed = untried; then
34059
34060       HAVE_PULSE_1_0="no"
34061       if test "x$required" = "xyes"; then
34062         as_fn_error $? "$PULSE_1_0_PKG_ERRORS" "$LINENO" 5
34063       else
34064         { $as_echo "$as_me:${as_lineno-$LINENO}: $PULSE_1_0_PKG_ERRORS" >&5
34065 $as_echo "$as_me: $PULSE_1_0_PKG_ERRORS" >&6;}
34066       fi
34067
34068 else
34069         PULSE_1_0_CFLAGS=$pkg_cv_PULSE_1_0_CFLAGS
34070         PULSE_1_0_LIBS=$pkg_cv_PULSE_1_0_LIBS
34071         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34072 $as_echo "yes" >&6; }
34073
34074       HAVE_PULSE_1_0="yes"
34075
34076 fi
34077
34078
34079   if test x$HAVE_PULSE_1_0 = xyes; then
34080
34081 $as_echo "#define HAVE_PULSE_1_0 1" >>confdefs.h
34082
34083   fi
34084
34085
34086   LIBS=$gst_check_save_LIBS
34087   LDFLAGS=$gst_check_save_LDFLAGS
34088   CFLAGS=$gst_check_save_CFLAGS
34089   CPPFLAGS=$gst_check_save_CPPFLAGS
34090   CXXFLAGS=$gst_check_save_CXXFLAGS
34091
34092     if test x$HAVE_PULSE = xno; then
34093     USE_PULSE=no
34094   else
34095     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: pulseaudio" >&5
34096 $as_echo "$as_me: *** These plugins will be built: pulseaudio" >&6;}
34097   fi
34098 fi
34099 if test x$USE_PULSE = xyes; then
34100   :
34101   if test "xpulseaudio" != "x"; then
34102     GST_PLUGINS_YES="\tpulseaudio\n$GST_PLUGINS_YES"
34103   fi
34104
34105 $as_echo "#define HAVE_PULSE /**/" >>confdefs.h
34106
34107 else
34108   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: pulseaudio" >&5
34109 $as_echo "$as_me: *** These plugins will not be built: pulseaudio" >&6;}
34110   if test "xpulseaudio" != "x"; then
34111     GST_PLUGINS_NO="\tpulseaudio\n$GST_PLUGINS_NO"
34112   fi
34113   :
34114 fi
34115  if test x$USE_PULSE = xyes; then
34116   USE_PULSE_TRUE=
34117   USE_PULSE_FALSE='#'
34118 else
34119   USE_PULSE_TRUE='#'
34120   USE_PULSE_FALSE=
34121 fi
34122
34123
34124
34125 echo
34126 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: raw1394 and avc1394 library ***" >&5
34127 $as_echo "$as_me: *** checking feature: raw1394 and avc1394 library ***" >&6;}
34128 if test "x1394" != "x"
34129 then
34130   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: 1394 ***" >&5
34131 $as_echo "$as_me: *** for plug-ins: 1394 ***" >&6;}
34132 fi
34133 NOUSE=
34134 if test "x$USE_DV1394" = "xno"; then
34135   NOUSE="yes"
34136 fi
34137 # Check whether --enable-dv1394 was given.
34138 if test "${enable_dv1394+set}" = set; then :
34139   enableval=$enable_dv1394;  case "${enableval}" in
34140       yes) USE_DV1394=yes;;
34141       no) USE_DV1394=no;;
34142       *) as_fn_error $? "bad value ${enableval} for --enable-dv1394" "$LINENO" 5 ;;
34143     esac
34144 else
34145    USE_DV1394=yes
34146 fi
34147
34148 if test "x$NOUSE" = "xyes"; then
34149   USE_DV1394="no"
34150   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** 1394 pre-configured not to be built" >&5
34151 $as_echo "$as_me: WARNING: *** 1394 pre-configured not to be built" >&2;}
34152 fi
34153 NOUSE=
34154
34155
34156 if test x$USE_DV1394 = xyes; then
34157
34158   gst_check_save_LIBS=$LIBS
34159   gst_check_save_LDFLAGS=$LDFLAGS
34160   gst_check_save_CFLAGS=$CFLAGS
34161   gst_check_save_CPPFLAGS=$CPPFLAGS
34162   gst_check_save_CXXFLAGS=$CXXFLAGS
34163
34164   HAVE_DV1394=no
34165
34166
34167   which="libraw1394 >= 2.0.0"
34168     required="no"
34169
34170
34171 pkg_failed=no
34172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RAW1394" >&5
34173 $as_echo_n "checking for RAW1394... " >&6; }
34174
34175 if test -n "$PKG_CONFIG"; then
34176     if test -n "$RAW1394_CFLAGS"; then
34177         pkg_cv_RAW1394_CFLAGS="$RAW1394_CFLAGS"
34178     else
34179         if test -n "$PKG_CONFIG" && \
34180     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
34181   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
34182   ac_status=$?
34183   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34184   test $ac_status = 0; }; then
34185   pkg_cv_RAW1394_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
34186 else
34187   pkg_failed=yes
34188 fi
34189     fi
34190 else
34191         pkg_failed=untried
34192 fi
34193 if test -n "$PKG_CONFIG"; then
34194     if test -n "$RAW1394_LIBS"; then
34195         pkg_cv_RAW1394_LIBS="$RAW1394_LIBS"
34196     else
34197         if test -n "$PKG_CONFIG" && \
34198     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
34199   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
34200   ac_status=$?
34201   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34202   test $ac_status = 0; }; then
34203   pkg_cv_RAW1394_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
34204 else
34205   pkg_failed=yes
34206 fi
34207     fi
34208 else
34209         pkg_failed=untried
34210 fi
34211
34212
34213
34214 if test $pkg_failed = yes; then
34215
34216 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34217         _pkg_short_errors_supported=yes
34218 else
34219         _pkg_short_errors_supported=no
34220 fi
34221         if test $_pkg_short_errors_supported = yes; then
34222                 RAW1394_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
34223         else
34224                 RAW1394_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
34225         fi
34226         # Put the nasty error message in config.log where it belongs
34227         echo "$RAW1394_PKG_ERRORS" >&5
34228
34229         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34230 $as_echo "no" >&6; }
34231
34232       HAVE_RAW1394="no"
34233       if test "x$required" = "xyes"; then
34234         as_fn_error $? "$RAW1394_PKG_ERRORS" "$LINENO" 5
34235       else
34236         { $as_echo "$as_me:${as_lineno-$LINENO}: $RAW1394_PKG_ERRORS" >&5
34237 $as_echo "$as_me: $RAW1394_PKG_ERRORS" >&6;}
34238       fi
34239
34240 elif test $pkg_failed = untried; then
34241
34242       HAVE_RAW1394="no"
34243       if test "x$required" = "xyes"; then
34244         as_fn_error $? "$RAW1394_PKG_ERRORS" "$LINENO" 5
34245       else
34246         { $as_echo "$as_me:${as_lineno-$LINENO}: $RAW1394_PKG_ERRORS" >&5
34247 $as_echo "$as_me: $RAW1394_PKG_ERRORS" >&6;}
34248       fi
34249
34250 else
34251         RAW1394_CFLAGS=$pkg_cv_RAW1394_CFLAGS
34252         RAW1394_LIBS=$pkg_cv_RAW1394_LIBS
34253         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34254 $as_echo "yes" >&6; }
34255
34256       HAVE_RAW1394="yes"
34257
34258 fi
34259
34260
34261
34262   which="libiec61883 >= 1.0.0"
34263     required="no"
34264
34265
34266 pkg_failed=no
34267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBIEC61883" >&5
34268 $as_echo_n "checking for LIBIEC61883... " >&6; }
34269
34270 if test -n "$PKG_CONFIG"; then
34271     if test -n "$LIBIEC61883_CFLAGS"; then
34272         pkg_cv_LIBIEC61883_CFLAGS="$LIBIEC61883_CFLAGS"
34273     else
34274         if test -n "$PKG_CONFIG" && \
34275     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
34276   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
34277   ac_status=$?
34278   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34279   test $ac_status = 0; }; then
34280   pkg_cv_LIBIEC61883_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
34281 else
34282   pkg_failed=yes
34283 fi
34284     fi
34285 else
34286         pkg_failed=untried
34287 fi
34288 if test -n "$PKG_CONFIG"; then
34289     if test -n "$LIBIEC61883_LIBS"; then
34290         pkg_cv_LIBIEC61883_LIBS="$LIBIEC61883_LIBS"
34291     else
34292         if test -n "$PKG_CONFIG" && \
34293     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
34294   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
34295   ac_status=$?
34296   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34297   test $ac_status = 0; }; then
34298   pkg_cv_LIBIEC61883_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
34299 else
34300   pkg_failed=yes
34301 fi
34302     fi
34303 else
34304         pkg_failed=untried
34305 fi
34306
34307
34308
34309 if test $pkg_failed = yes; then
34310
34311 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34312         _pkg_short_errors_supported=yes
34313 else
34314         _pkg_short_errors_supported=no
34315 fi
34316         if test $_pkg_short_errors_supported = yes; then
34317                 LIBIEC61883_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
34318         else
34319                 LIBIEC61883_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
34320         fi
34321         # Put the nasty error message in config.log where it belongs
34322         echo "$LIBIEC61883_PKG_ERRORS" >&5
34323
34324         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34325 $as_echo "no" >&6; }
34326
34327       HAVE_LIBIEC61883="no"
34328       if test "x$required" = "xyes"; then
34329         as_fn_error $? "$LIBIEC61883_PKG_ERRORS" "$LINENO" 5
34330       else
34331         { $as_echo "$as_me:${as_lineno-$LINENO}: $LIBIEC61883_PKG_ERRORS" >&5
34332 $as_echo "$as_me: $LIBIEC61883_PKG_ERRORS" >&6;}
34333       fi
34334
34335 elif test $pkg_failed = untried; then
34336
34337       HAVE_LIBIEC61883="no"
34338       if test "x$required" = "xyes"; then
34339         as_fn_error $? "$LIBIEC61883_PKG_ERRORS" "$LINENO" 5
34340       else
34341         { $as_echo "$as_me:${as_lineno-$LINENO}: $LIBIEC61883_PKG_ERRORS" >&5
34342 $as_echo "$as_me: $LIBIEC61883_PKG_ERRORS" >&6;}
34343       fi
34344
34345 else
34346         LIBIEC61883_CFLAGS=$pkg_cv_LIBIEC61883_CFLAGS
34347         LIBIEC61883_LIBS=$pkg_cv_LIBIEC61883_LIBS
34348         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34349 $as_echo "yes" >&6; }
34350
34351       HAVE_LIBIEC61883="yes"
34352
34353 fi
34354
34355
34356     if test x$HAVE_RAW1394 = xyes && \
34357      test x$HAVE_LIBIEC61883 = xyes; then
34358
34359   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avc1394_send_command in -lavc1394" >&5
34360 $as_echo_n "checking for avc1394_send_command in -lavc1394... " >&6; }
34361 if ${ac_cv_lib_avc1394_avc1394_send_command+:} false; then :
34362   $as_echo_n "(cached) " >&6
34363 else
34364   ac_check_lib_save_LIBS=$LIBS
34365 LIBS="-lavc1394 $RAW1394_LIBS $LIBS"
34366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34367 /* end confdefs.h.  */
34368
34369 /* Override any GCC internal prototype to avoid an error.
34370    Use char because int might match the return type of a GCC
34371    builtin and then its argument prototype would still apply.  */
34372 #ifdef __cplusplus
34373 extern "C"
34374 #endif
34375 char avc1394_send_command ();
34376 int
34377 main ()
34378 {
34379 return avc1394_send_command ();
34380   ;
34381   return 0;
34382 }
34383 _ACEOF
34384 if ac_fn_c_try_link "$LINENO"; then :
34385   ac_cv_lib_avc1394_avc1394_send_command=yes
34386 else
34387   ac_cv_lib_avc1394_avc1394_send_command=no
34388 fi
34389 rm -f core conftest.err conftest.$ac_objext \
34390     conftest$ac_exeext conftest.$ac_ext
34391 LIBS=$ac_check_lib_save_LIBS
34392 fi
34393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avc1394_avc1394_send_command" >&5
34394 $as_echo "$ac_cv_lib_avc1394_avc1394_send_command" >&6; }
34395 if test "x$ac_cv_lib_avc1394_avc1394_send_command" = xyes; then :
34396   HAVE_AVC1394=yes
34397 else
34398   HAVE_AVC1394=no
34399 fi
34400
34401   if test "x$HAVE_AVC1394" = "xyes"; then
34402     ac_fn_c_check_header_mongrel "$LINENO" "libavc1394/avc1394.h" "ac_cv_header_libavc1394_avc1394_h" "$ac_includes_default"
34403 if test "x$ac_cv_header_libavc1394_avc1394_h" = xyes; then :
34404   :
34405 else
34406   HAVE_AVC1394=no
34407 fi
34408
34409
34410     if test "x$HAVE_AVC1394" = "xyes"; then
34411             AVC1394_LIBS="-lavc1394"
34412     else
34413       :
34414     fi
34415   else
34416     :
34417   fi
34418
34419
34420
34421
34422   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rom1394_free_directory in -lrom1394" >&5
34423 $as_echo_n "checking for rom1394_free_directory in -lrom1394... " >&6; }
34424 if ${ac_cv_lib_rom1394_rom1394_free_directory+:} false; then :
34425   $as_echo_n "(cached) " >&6
34426 else
34427   ac_check_lib_save_LIBS=$LIBS
34428 LIBS="-lrom1394 $RAW1394_LIBS $LIBS"
34429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34430 /* end confdefs.h.  */
34431
34432 /* Override any GCC internal prototype to avoid an error.
34433    Use char because int might match the return type of a GCC
34434    builtin and then its argument prototype would still apply.  */
34435 #ifdef __cplusplus
34436 extern "C"
34437 #endif
34438 char rom1394_free_directory ();
34439 int
34440 main ()
34441 {
34442 return rom1394_free_directory ();
34443   ;
34444   return 0;
34445 }
34446 _ACEOF
34447 if ac_fn_c_try_link "$LINENO"; then :
34448   ac_cv_lib_rom1394_rom1394_free_directory=yes
34449 else
34450   ac_cv_lib_rom1394_rom1394_free_directory=no
34451 fi
34452 rm -f core conftest.err conftest.$ac_objext \
34453     conftest$ac_exeext conftest.$ac_ext
34454 LIBS=$ac_check_lib_save_LIBS
34455 fi
34456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rom1394_rom1394_free_directory" >&5
34457 $as_echo "$ac_cv_lib_rom1394_rom1394_free_directory" >&6; }
34458 if test "x$ac_cv_lib_rom1394_rom1394_free_directory" = xyes; then :
34459   HAVE_ROM1394=yes
34460 else
34461   HAVE_ROM1394=no
34462 fi
34463
34464   if test "x$HAVE_ROM1394" = "xyes"; then
34465     ac_fn_c_check_header_mongrel "$LINENO" "libavc1394/rom1394.h" "ac_cv_header_libavc1394_rom1394_h" "$ac_includes_default"
34466 if test "x$ac_cv_header_libavc1394_rom1394_h" = xyes; then :
34467   :
34468 else
34469   HAVE_ROM1394=no
34470 fi
34471
34472
34473     if test "x$HAVE_ROM1394" = "xyes"; then
34474             ROM1394_LIBS="-lrom1394"
34475     else
34476       :
34477     fi
34478   else
34479     :
34480   fi
34481
34482
34483
34484        if test x$HAVE_AVC1394 = xyes && \
34485           test x$HAVE_AVC1394 = xyes && \
34486           test x$HAVE_ROM1394 = xyes; then
34487           HAVE_DV1394=yes
34488           DV1394_LIBS="$RAW1394_LIBS $AVC1394_LIBS $ROM1394_LIBS $LIBIEC61883_LIBS"
34489           DV1394_CFLAGS="$RAW1394_CFLAGS $LIBIEC61883_CFLAGS -DHAVE_LIBIEC61883"
34490
34491
34492         fi
34493   else
34494        if test x$HAVE_RAW1394 = xno; then
34495
34496   which="libraw1394 >= 1.1.0"
34497     required="no"
34498
34499
34500 pkg_failed=no
34501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RAW1394" >&5
34502 $as_echo_n "checking for RAW1394... " >&6; }
34503
34504 if test -n "$PKG_CONFIG"; then
34505     if test -n "$RAW1394_CFLAGS"; then
34506         pkg_cv_RAW1394_CFLAGS="$RAW1394_CFLAGS"
34507     else
34508         if test -n "$PKG_CONFIG" && \
34509     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
34510   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
34511   ac_status=$?
34512   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34513   test $ac_status = 0; }; then
34514   pkg_cv_RAW1394_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
34515 else
34516   pkg_failed=yes
34517 fi
34518     fi
34519 else
34520         pkg_failed=untried
34521 fi
34522 if test -n "$PKG_CONFIG"; then
34523     if test -n "$RAW1394_LIBS"; then
34524         pkg_cv_RAW1394_LIBS="$RAW1394_LIBS"
34525     else
34526         if test -n "$PKG_CONFIG" && \
34527     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
34528   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
34529   ac_status=$?
34530   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34531   test $ac_status = 0; }; then
34532   pkg_cv_RAW1394_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
34533 else
34534   pkg_failed=yes
34535 fi
34536     fi
34537 else
34538         pkg_failed=untried
34539 fi
34540
34541
34542
34543 if test $pkg_failed = yes; then
34544
34545 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34546         _pkg_short_errors_supported=yes
34547 else
34548         _pkg_short_errors_supported=no
34549 fi
34550         if test $_pkg_short_errors_supported = yes; then
34551                 RAW1394_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
34552         else
34553                 RAW1394_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
34554         fi
34555         # Put the nasty error message in config.log where it belongs
34556         echo "$RAW1394_PKG_ERRORS" >&5
34557
34558         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34559 $as_echo "no" >&6; }
34560
34561       HAVE_RAW1394="no"
34562       if test "x$required" = "xyes"; then
34563         as_fn_error $? "$RAW1394_PKG_ERRORS" "$LINENO" 5
34564       else
34565         { $as_echo "$as_me:${as_lineno-$LINENO}: $RAW1394_PKG_ERRORS" >&5
34566 $as_echo "$as_me: $RAW1394_PKG_ERRORS" >&6;}
34567       fi
34568
34569 elif test $pkg_failed = untried; then
34570
34571       HAVE_RAW1394="no"
34572       if test "x$required" = "xyes"; then
34573         as_fn_error $? "$RAW1394_PKG_ERRORS" "$LINENO" 5
34574       else
34575         { $as_echo "$as_me:${as_lineno-$LINENO}: $RAW1394_PKG_ERRORS" >&5
34576 $as_echo "$as_me: $RAW1394_PKG_ERRORS" >&6;}
34577       fi
34578
34579 else
34580         RAW1394_CFLAGS=$pkg_cv_RAW1394_CFLAGS
34581         RAW1394_LIBS=$pkg_cv_RAW1394_LIBS
34582         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34583 $as_echo "yes" >&6; }
34584
34585       HAVE_RAW1394="yes"
34586
34587 fi
34588
34589
34590
34591   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avc1394_send_command in -lavc1394" >&5
34592 $as_echo_n "checking for avc1394_send_command in -lavc1394... " >&6; }
34593 if ${ac_cv_lib_avc1394_avc1394_send_command+:} false; then :
34594   $as_echo_n "(cached) " >&6
34595 else
34596   ac_check_lib_save_LIBS=$LIBS
34597 LIBS="-lavc1394 $RAW1394_LIBS $LIBS"
34598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34599 /* end confdefs.h.  */
34600
34601 /* Override any GCC internal prototype to avoid an error.
34602    Use char because int might match the return type of a GCC
34603    builtin and then its argument prototype would still apply.  */
34604 #ifdef __cplusplus
34605 extern "C"
34606 #endif
34607 char avc1394_send_command ();
34608 int
34609 main ()
34610 {
34611 return avc1394_send_command ();
34612   ;
34613   return 0;
34614 }
34615 _ACEOF
34616 if ac_fn_c_try_link "$LINENO"; then :
34617   ac_cv_lib_avc1394_avc1394_send_command=yes
34618 else
34619   ac_cv_lib_avc1394_avc1394_send_command=no
34620 fi
34621 rm -f core conftest.err conftest.$ac_objext \
34622     conftest$ac_exeext conftest.$ac_ext
34623 LIBS=$ac_check_lib_save_LIBS
34624 fi
34625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avc1394_avc1394_send_command" >&5
34626 $as_echo "$ac_cv_lib_avc1394_avc1394_send_command" >&6; }
34627 if test "x$ac_cv_lib_avc1394_avc1394_send_command" = xyes; then :
34628   HAVE_AVC1394=yes
34629 else
34630   HAVE_AVC1394=no
34631 fi
34632
34633   if test "x$HAVE_AVC1394" = "xyes"; then
34634     ac_fn_c_check_header_mongrel "$LINENO" "libavc1394/avc1394.h" "ac_cv_header_libavc1394_avc1394_h" "$ac_includes_default"
34635 if test "x$ac_cv_header_libavc1394_avc1394_h" = xyes; then :
34636   :
34637 else
34638   HAVE_AVC1394=no
34639 fi
34640
34641
34642     if test "x$HAVE_AVC1394" = "xyes"; then
34643             AVC1394_LIBS="-lavc1394"
34644     else
34645       :
34646     fi
34647   else
34648     :
34649   fi
34650
34651
34652
34653
34654   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rom1394_free_directory in -lrom1394" >&5
34655 $as_echo_n "checking for rom1394_free_directory in -lrom1394... " >&6; }
34656 if ${ac_cv_lib_rom1394_rom1394_free_directory+:} false; then :
34657   $as_echo_n "(cached) " >&6
34658 else
34659   ac_check_lib_save_LIBS=$LIBS
34660 LIBS="-lrom1394 $RAW1394_LIBS $LIBS"
34661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34662 /* end confdefs.h.  */
34663
34664 /* Override any GCC internal prototype to avoid an error.
34665    Use char because int might match the return type of a GCC
34666    builtin and then its argument prototype would still apply.  */
34667 #ifdef __cplusplus
34668 extern "C"
34669 #endif
34670 char rom1394_free_directory ();
34671 int
34672 main ()
34673 {
34674 return rom1394_free_directory ();
34675   ;
34676   return 0;
34677 }
34678 _ACEOF
34679 if ac_fn_c_try_link "$LINENO"; then :
34680   ac_cv_lib_rom1394_rom1394_free_directory=yes
34681 else
34682   ac_cv_lib_rom1394_rom1394_free_directory=no
34683 fi
34684 rm -f core conftest.err conftest.$ac_objext \
34685     conftest$ac_exeext conftest.$ac_ext
34686 LIBS=$ac_check_lib_save_LIBS
34687 fi
34688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rom1394_rom1394_free_directory" >&5
34689 $as_echo "$ac_cv_lib_rom1394_rom1394_free_directory" >&6; }
34690 if test "x$ac_cv_lib_rom1394_rom1394_free_directory" = xyes; then :
34691   HAVE_ROM1394=yes
34692 else
34693   HAVE_ROM1394=no
34694 fi
34695
34696   if test "x$HAVE_ROM1394" = "xyes"; then
34697     ac_fn_c_check_header_mongrel "$LINENO" "libavc1394/rom1394.h" "ac_cv_header_libavc1394_rom1394_h" "$ac_includes_default"
34698 if test "x$ac_cv_header_libavc1394_rom1394_h" = xyes; then :
34699   :
34700 else
34701   HAVE_ROM1394=no
34702 fi
34703
34704
34705     if test "x$HAVE_ROM1394" = "xyes"; then
34706             ROM1394_LIBS="-lrom1394"
34707     else
34708       :
34709     fi
34710   else
34711     :
34712   fi
34713
34714
34715
34716           if test x$HAVE_RAW1394 = xyes && \
34717              test x$HAVE_AVC1394 = xyes && \
34718              test x$HAVE_ROM1394 = xyes; then
34719              HAVE_DV1394=yes
34720              DV1394_LIBS="$RAW1394_LIBS $AVC1394_LIBS $ROM1394_LIBS"
34721              DV1394_CFLAGS="$RAW1394_CFLAGS"
34722              if test x$HAVE_LIBIEC61883 = xyes; then
34723                DV1394_CFLAGS="$RAW1394_CFLAGS $LIBIEC61883_CFLAGS -DHAVE_LIBIEC61883"
34724                DV1394_LIBS="$DV1394_LIBS $LIBIEC61883_LIBS"
34725              fi
34726
34727
34728            fi
34729          fi
34730   fi
34731
34732
34733   LIBS=$gst_check_save_LIBS
34734   LDFLAGS=$gst_check_save_LDFLAGS
34735   CFLAGS=$gst_check_save_CFLAGS
34736   CPPFLAGS=$gst_check_save_CPPFLAGS
34737   CXXFLAGS=$gst_check_save_CXXFLAGS
34738
34739     if test x$HAVE_DV1394 = xno; then
34740     USE_DV1394=no
34741   else
34742     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: 1394" >&5
34743 $as_echo "$as_me: *** These plugins will be built: 1394" >&6;}
34744   fi
34745 fi
34746 if test x$USE_DV1394 = xyes; then
34747   :
34748   if test "x1394" != "x"; then
34749     GST_PLUGINS_YES="\t1394\n$GST_PLUGINS_YES"
34750   fi
34751
34752 $as_echo "#define HAVE_DV1394 /**/" >>confdefs.h
34753
34754 else
34755   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: 1394" >&5
34756 $as_echo "$as_me: *** These plugins will not be built: 1394" >&6;}
34757   if test "x1394" != "x"; then
34758     GST_PLUGINS_NO="\t1394\n$GST_PLUGINS_NO"
34759   fi
34760   :
34761 fi
34762  if test x$USE_DV1394 = xyes; then
34763   USE_DV1394_TRUE=
34764   USE_DV1394_FALSE='#'
34765 else
34766   USE_DV1394_TRUE='#'
34767   USE_DV1394_FALSE=
34768 fi
34769
34770
34771  if  test "x${HAVE_LIBIEC61883}" = xyes  ; then
34772   USE_LIBIEC61883_TRUE=
34773   USE_LIBIEC61883_FALSE='#'
34774 else
34775   USE_LIBIEC61883_TRUE='#'
34776   USE_LIBIEC61883_FALSE=
34777 fi
34778
34779
34780 echo
34781 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Shoutcast/Icecast client library ***" >&5
34782 $as_echo "$as_me: *** checking feature: Shoutcast/Icecast client library ***" >&6;}
34783 if test "xshout2" != "x"
34784 then
34785   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: shout2 ***" >&5
34786 $as_echo "$as_me: *** for plug-ins: shout2 ***" >&6;}
34787 fi
34788 NOUSE=
34789 if test "x$USE_SHOUT2" = "xno"; then
34790   NOUSE="yes"
34791 fi
34792 # Check whether --enable-shout2 was given.
34793 if test "${enable_shout2+set}" = set; then :
34794   enableval=$enable_shout2;  case "${enableval}" in
34795       yes) USE_SHOUT2=yes;;
34796       no) USE_SHOUT2=no;;
34797       *) as_fn_error $? "bad value ${enableval} for --enable-shout2" "$LINENO" 5 ;;
34798     esac
34799 else
34800    USE_SHOUT2=yes
34801 fi
34802
34803 if test "x$NOUSE" = "xyes"; then
34804   USE_SHOUT2="no"
34805   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** shout2 pre-configured not to be built" >&5
34806 $as_echo "$as_me: WARNING: *** shout2 pre-configured not to be built" >&2;}
34807 fi
34808 NOUSE=
34809
34810
34811 if test x$USE_SHOUT2 = xyes; then
34812
34813   gst_check_save_LIBS=$LIBS
34814   gst_check_save_LDFLAGS=$LDFLAGS
34815   gst_check_save_CFLAGS=$CFLAGS
34816   gst_check_save_CPPFLAGS=$CPPFLAGS
34817   gst_check_save_CXXFLAGS=$CXXFLAGS
34818
34819   HAVE_SHOUT2=no
34820
34821
34822   which="shout >= 2.0"
34823     required="no"
34824
34825
34826 pkg_failed=no
34827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHOUT2" >&5
34828 $as_echo_n "checking for SHOUT2... " >&6; }
34829
34830 if test -n "$PKG_CONFIG"; then
34831     if test -n "$SHOUT2_CFLAGS"; then
34832         pkg_cv_SHOUT2_CFLAGS="$SHOUT2_CFLAGS"
34833     else
34834         if test -n "$PKG_CONFIG" && \
34835     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
34836   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
34837   ac_status=$?
34838   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34839   test $ac_status = 0; }; then
34840   pkg_cv_SHOUT2_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
34841 else
34842   pkg_failed=yes
34843 fi
34844     fi
34845 else
34846         pkg_failed=untried
34847 fi
34848 if test -n "$PKG_CONFIG"; then
34849     if test -n "$SHOUT2_LIBS"; then
34850         pkg_cv_SHOUT2_LIBS="$SHOUT2_LIBS"
34851     else
34852         if test -n "$PKG_CONFIG" && \
34853     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
34854   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
34855   ac_status=$?
34856   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34857   test $ac_status = 0; }; then
34858   pkg_cv_SHOUT2_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
34859 else
34860   pkg_failed=yes
34861 fi
34862     fi
34863 else
34864         pkg_failed=untried
34865 fi
34866
34867
34868
34869 if test $pkg_failed = yes; then
34870
34871 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34872         _pkg_short_errors_supported=yes
34873 else
34874         _pkg_short_errors_supported=no
34875 fi
34876         if test $_pkg_short_errors_supported = yes; then
34877                 SHOUT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
34878         else
34879                 SHOUT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
34880         fi
34881         # Put the nasty error message in config.log where it belongs
34882         echo "$SHOUT2_PKG_ERRORS" >&5
34883
34884         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34885 $as_echo "no" >&6; }
34886
34887       HAVE_SHOUT2="no"
34888       if test "x$required" = "xyes"; then
34889         as_fn_error $? "$SHOUT2_PKG_ERRORS" "$LINENO" 5
34890       else
34891         { $as_echo "$as_me:${as_lineno-$LINENO}: $SHOUT2_PKG_ERRORS" >&5
34892 $as_echo "$as_me: $SHOUT2_PKG_ERRORS" >&6;}
34893       fi
34894
34895 elif test $pkg_failed = untried; then
34896
34897       HAVE_SHOUT2="no"
34898       if test "x$required" = "xyes"; then
34899         as_fn_error $? "$SHOUT2_PKG_ERRORS" "$LINENO" 5
34900       else
34901         { $as_echo "$as_me:${as_lineno-$LINENO}: $SHOUT2_PKG_ERRORS" >&5
34902 $as_echo "$as_me: $SHOUT2_PKG_ERRORS" >&6;}
34903       fi
34904
34905 else
34906         SHOUT2_CFLAGS=$pkg_cv_SHOUT2_CFLAGS
34907         SHOUT2_LIBS=$pkg_cv_SHOUT2_LIBS
34908         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34909 $as_echo "yes" >&6; }
34910
34911       HAVE_SHOUT2="yes"
34912
34913 fi
34914
34915
34916
34917
34918   LIBS=$gst_check_save_LIBS
34919   LDFLAGS=$gst_check_save_LDFLAGS
34920   CFLAGS=$gst_check_save_CFLAGS
34921   CPPFLAGS=$gst_check_save_CPPFLAGS
34922   CXXFLAGS=$gst_check_save_CXXFLAGS
34923
34924     if test x$HAVE_SHOUT2 = xno; then
34925     USE_SHOUT2=no
34926   else
34927     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: shout2" >&5
34928 $as_echo "$as_me: *** These plugins will be built: shout2" >&6;}
34929   fi
34930 fi
34931 if test x$USE_SHOUT2 = xyes; then
34932   :
34933   if test "xshout2" != "x"; then
34934     GST_PLUGINS_YES="\tshout2\n$GST_PLUGINS_YES"
34935   fi
34936
34937 $as_echo "#define HAVE_SHOUT2 /**/" >>confdefs.h
34938
34939 else
34940   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: shout2" >&5
34941 $as_echo "$as_me: *** These plugins will not be built: shout2" >&6;}
34942   if test "xshout2" != "x"; then
34943     GST_PLUGINS_NO="\tshout2\n$GST_PLUGINS_NO"
34944   fi
34945   :
34946 fi
34947  if test x$USE_SHOUT2 = xyes; then
34948   USE_SHOUT2_TRUE=
34949   USE_SHOUT2_FALSE='#'
34950 else
34951   USE_SHOUT2_TRUE='#'
34952   USE_SHOUT2_FALSE=
34953 fi
34954
34955
34956
34957 echo
34958 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: soup http client plugin (2.4) ***" >&5
34959 $as_echo "$as_me: *** checking feature: soup http client plugin (2.4) ***" >&6;}
34960 if test "xsouphttpsrc" != "x"
34961 then
34962   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: souphttpsrc ***" >&5
34963 $as_echo "$as_me: *** for plug-ins: souphttpsrc ***" >&6;}
34964 fi
34965 NOUSE=
34966 if test "x$USE_SOUP" = "xno"; then
34967   NOUSE="yes"
34968 fi
34969 # Check whether --enable-soup was given.
34970 if test "${enable_soup+set}" = set; then :
34971   enableval=$enable_soup;  case "${enableval}" in
34972       yes) USE_SOUP=yes;;
34973       no) USE_SOUP=no;;
34974       *) as_fn_error $? "bad value ${enableval} for --enable-soup" "$LINENO" 5 ;;
34975     esac
34976 else
34977    USE_SOUP=yes
34978 fi
34979
34980 if test "x$NOUSE" = "xyes"; then
34981   USE_SOUP="no"
34982   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** souphttpsrc pre-configured not to be built" >&5
34983 $as_echo "$as_me: WARNING: *** souphttpsrc pre-configured not to be built" >&2;}
34984 fi
34985 NOUSE=
34986
34987
34988 if test x$USE_SOUP = xyes; then
34989
34990   gst_check_save_LIBS=$LIBS
34991   gst_check_save_LDFLAGS=$LDFLAGS
34992   gst_check_save_CFLAGS=$CFLAGS
34993   gst_check_save_CPPFLAGS=$CPPFLAGS
34994   gst_check_save_CXXFLAGS=$CXXFLAGS
34995
34996   HAVE_SOUP=no
34997
34998
34999 pkg_failed=no
35000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUP" >&5
35001 $as_echo_n "checking for SOUP... " >&6; }
35002
35003 if test -n "$PKG_CONFIG"; then
35004     if test -n "$SOUP_CFLAGS"; then
35005         pkg_cv_SOUP_CFLAGS="$SOUP_CFLAGS"
35006     else
35007         if test -n "$PKG_CONFIG" && \
35008     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-gnome-2.4 >= 2.3.2\""; } >&5
35009   ($PKG_CONFIG --exists --print-errors "libsoup-gnome-2.4 >= 2.3.2") 2>&5
35010   ac_status=$?
35011   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35012   test $ac_status = 0; }; then
35013   pkg_cv_SOUP_CFLAGS=`$PKG_CONFIG --cflags "libsoup-gnome-2.4 >= 2.3.2" 2>/dev/null`
35014 else
35015   pkg_failed=yes
35016 fi
35017     fi
35018 else
35019         pkg_failed=untried
35020 fi
35021 if test -n "$PKG_CONFIG"; then
35022     if test -n "$SOUP_LIBS"; then
35023         pkg_cv_SOUP_LIBS="$SOUP_LIBS"
35024     else
35025         if test -n "$PKG_CONFIG" && \
35026     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-gnome-2.4 >= 2.3.2\""; } >&5
35027   ($PKG_CONFIG --exists --print-errors "libsoup-gnome-2.4 >= 2.3.2") 2>&5
35028   ac_status=$?
35029   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35030   test $ac_status = 0; }; then
35031   pkg_cv_SOUP_LIBS=`$PKG_CONFIG --libs "libsoup-gnome-2.4 >= 2.3.2" 2>/dev/null`
35032 else
35033   pkg_failed=yes
35034 fi
35035     fi
35036 else
35037         pkg_failed=untried
35038 fi
35039
35040
35041
35042 if test $pkg_failed = yes; then
35043
35044 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
35045         _pkg_short_errors_supported=yes
35046 else
35047         _pkg_short_errors_supported=no
35048 fi
35049         if test $_pkg_short_errors_supported = yes; then
35050                 SOUP_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libsoup-gnome-2.4 >= 2.3.2"`
35051         else
35052                 SOUP_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libsoup-gnome-2.4 >= 2.3.2"`
35053         fi
35054         # Put the nasty error message in config.log where it belongs
35055         echo "$SOUP_PKG_ERRORS" >&5
35056
35057         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35058 $as_echo "no" >&6; }
35059
35060
35061 pkg_failed=no
35062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUP" >&5
35063 $as_echo_n "checking for SOUP... " >&6; }
35064
35065 if test -n "$PKG_CONFIG"; then
35066     if test -n "$SOUP_CFLAGS"; then
35067         pkg_cv_SOUP_CFLAGS="$SOUP_CFLAGS"
35068     else
35069         if test -n "$PKG_CONFIG" && \
35070     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4 >= 2.26\""; } >&5
35071   ($PKG_CONFIG --exists --print-errors "libsoup-2.4 >= 2.26") 2>&5
35072   ac_status=$?
35073   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35074   test $ac_status = 0; }; then
35075   pkg_cv_SOUP_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.4 >= 2.26" 2>/dev/null`
35076 else
35077   pkg_failed=yes
35078 fi
35079     fi
35080 else
35081         pkg_failed=untried
35082 fi
35083 if test -n "$PKG_CONFIG"; then
35084     if test -n "$SOUP_LIBS"; then
35085         pkg_cv_SOUP_LIBS="$SOUP_LIBS"
35086     else
35087         if test -n "$PKG_CONFIG" && \
35088     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4 >= 2.26\""; } >&5
35089   ($PKG_CONFIG --exists --print-errors "libsoup-2.4 >= 2.26") 2>&5
35090   ac_status=$?
35091   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35092   test $ac_status = 0; }; then
35093   pkg_cv_SOUP_LIBS=`$PKG_CONFIG --libs "libsoup-2.4 >= 2.26" 2>/dev/null`
35094 else
35095   pkg_failed=yes
35096 fi
35097     fi
35098 else
35099         pkg_failed=untried
35100 fi
35101
35102
35103
35104 if test $pkg_failed = yes; then
35105
35106 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
35107         _pkg_short_errors_supported=yes
35108 else
35109         _pkg_short_errors_supported=no
35110 fi
35111         if test $_pkg_short_errors_supported = yes; then
35112                 SOUP_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libsoup-2.4 >= 2.26"`
35113         else
35114                 SOUP_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libsoup-2.4 >= 2.26"`
35115         fi
35116         # Put the nasty error message in config.log where it belongs
35117         echo "$SOUP_PKG_ERRORS" >&5
35118
35119         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35120 $as_echo "no" >&6; }
35121
35122       HAVE_SOUP="no"
35123
35124 elif test $pkg_failed = untried; then
35125
35126       HAVE_SOUP="no"
35127
35128 else
35129         SOUP_CFLAGS=$pkg_cv_SOUP_CFLAGS
35130         SOUP_LIBS=$pkg_cv_SOUP_LIBS
35131         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35132 $as_echo "yes" >&6; }
35133         HAVE_SOUP="yes"
35134 fi
35135
35136 elif test $pkg_failed = untried; then
35137
35138
35139 pkg_failed=no
35140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUP" >&5
35141 $as_echo_n "checking for SOUP... " >&6; }
35142
35143 if test -n "$PKG_CONFIG"; then
35144     if test -n "$SOUP_CFLAGS"; then
35145         pkg_cv_SOUP_CFLAGS="$SOUP_CFLAGS"
35146     else
35147         if test -n "$PKG_CONFIG" && \
35148     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4 >= 2.26\""; } >&5
35149   ($PKG_CONFIG --exists --print-errors "libsoup-2.4 >= 2.26") 2>&5
35150   ac_status=$?
35151   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35152   test $ac_status = 0; }; then
35153   pkg_cv_SOUP_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.4 >= 2.26" 2>/dev/null`
35154 else
35155   pkg_failed=yes
35156 fi
35157     fi
35158 else
35159         pkg_failed=untried
35160 fi
35161 if test -n "$PKG_CONFIG"; then
35162     if test -n "$SOUP_LIBS"; then
35163         pkg_cv_SOUP_LIBS="$SOUP_LIBS"
35164     else
35165         if test -n "$PKG_CONFIG" && \
35166     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4 >= 2.26\""; } >&5
35167   ($PKG_CONFIG --exists --print-errors "libsoup-2.4 >= 2.26") 2>&5
35168   ac_status=$?
35169   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35170   test $ac_status = 0; }; then
35171   pkg_cv_SOUP_LIBS=`$PKG_CONFIG --libs "libsoup-2.4 >= 2.26" 2>/dev/null`
35172 else
35173   pkg_failed=yes
35174 fi
35175     fi
35176 else
35177         pkg_failed=untried
35178 fi
35179
35180
35181
35182 if test $pkg_failed = yes; then
35183
35184 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
35185         _pkg_short_errors_supported=yes
35186 else
35187         _pkg_short_errors_supported=no
35188 fi
35189         if test $_pkg_short_errors_supported = yes; then
35190                 SOUP_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libsoup-2.4 >= 2.26"`
35191         else
35192                 SOUP_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libsoup-2.4 >= 2.26"`
35193         fi
35194         # Put the nasty error message in config.log where it belongs
35195         echo "$SOUP_PKG_ERRORS" >&5
35196
35197         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35198 $as_echo "no" >&6; }
35199
35200       HAVE_SOUP="no"
35201
35202 elif test $pkg_failed = untried; then
35203
35204       HAVE_SOUP="no"
35205
35206 else
35207         SOUP_CFLAGS=$pkg_cv_SOUP_CFLAGS
35208         SOUP_LIBS=$pkg_cv_SOUP_LIBS
35209         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35210 $as_echo "yes" >&6; }
35211         HAVE_SOUP="yes"
35212 fi
35213
35214 else
35215         SOUP_CFLAGS=$pkg_cv_SOUP_CFLAGS
35216         SOUP_LIBS=$pkg_cv_SOUP_LIBS
35217         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35218 $as_echo "yes" >&6; }
35219
35220     HAVE_SOUP="yes"
35221
35222 $as_echo "#define HAVE_LIBSOUP_GNOME 1" >>confdefs.h
35223
35224
35225 fi
35226
35227
35228
35229
35230   LIBS=$gst_check_save_LIBS
35231   LDFLAGS=$gst_check_save_LDFLAGS
35232   CFLAGS=$gst_check_save_CFLAGS
35233   CPPFLAGS=$gst_check_save_CPPFLAGS
35234   CXXFLAGS=$gst_check_save_CXXFLAGS
35235
35236     if test x$HAVE_SOUP = xno; then
35237     USE_SOUP=no
35238   else
35239     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: souphttpsrc" >&5
35240 $as_echo "$as_me: *** These plugins will be built: souphttpsrc" >&6;}
35241   fi
35242 fi
35243 if test x$USE_SOUP = xyes; then
35244   :
35245   if test "xsouphttpsrc" != "x"; then
35246     GST_PLUGINS_YES="\tsouphttpsrc\n$GST_PLUGINS_YES"
35247   fi
35248
35249 $as_echo "#define HAVE_SOUP /**/" >>confdefs.h
35250
35251 else
35252   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: souphttpsrc" >&5
35253 $as_echo "$as_me: *** These plugins will not be built: souphttpsrc" >&6;}
35254   if test "xsouphttpsrc" != "x"; then
35255     GST_PLUGINS_NO="\tsouphttpsrc\n$GST_PLUGINS_NO"
35256   fi
35257   :
35258 fi
35259  if test x$USE_SOUP = xyes; then
35260   USE_SOUP_TRUE=
35261   USE_SOUP_FALSE='#'
35262 else
35263   USE_SOUP_TRUE='#'
35264   USE_SOUP_FALSE=
35265 fi
35266
35267
35268
35269 echo
35270 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: speex speech codec ***" >&5
35271 $as_echo "$as_me: *** checking feature: speex speech codec ***" >&6;}
35272 if test "xspeex" != "x"
35273 then
35274   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: speex ***" >&5
35275 $as_echo "$as_me: *** for plug-ins: speex ***" >&6;}
35276 fi
35277 NOUSE=
35278 if test "x$USE_SPEEX" = "xno"; then
35279   NOUSE="yes"
35280 fi
35281 # Check whether --enable-speex was given.
35282 if test "${enable_speex+set}" = set; then :
35283   enableval=$enable_speex;  case "${enableval}" in
35284       yes) USE_SPEEX=yes;;
35285       no) USE_SPEEX=no;;
35286       *) as_fn_error $? "bad value ${enableval} for --enable-speex" "$LINENO" 5 ;;
35287     esac
35288 else
35289    USE_SPEEX=yes
35290 fi
35291
35292 if test "x$NOUSE" = "xyes"; then
35293   USE_SPEEX="no"
35294   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** speex pre-configured not to be built" >&5
35295 $as_echo "$as_me: WARNING: *** speex pre-configured not to be built" >&2;}
35296 fi
35297 NOUSE=
35298
35299
35300 if test x$USE_SPEEX = xyes; then
35301
35302   gst_check_save_LIBS=$LIBS
35303   gst_check_save_LDFLAGS=$LDFLAGS
35304   gst_check_save_CFLAGS=$CFLAGS
35305   gst_check_save_CPPFLAGS=$CPPFLAGS
35306   gst_check_save_CXXFLAGS=$CXXFLAGS
35307
35308   HAVE_SPEEX=no
35309
35310
35311   which="speex >= 1.1.6"
35312     required="no"
35313
35314
35315 pkg_failed=no
35316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SPEEX" >&5
35317 $as_echo_n "checking for SPEEX... " >&6; }
35318
35319 if test -n "$PKG_CONFIG"; then
35320     if test -n "$SPEEX_CFLAGS"; then
35321         pkg_cv_SPEEX_CFLAGS="$SPEEX_CFLAGS"
35322     else
35323         if test -n "$PKG_CONFIG" && \
35324     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
35325   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
35326   ac_status=$?
35327   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35328   test $ac_status = 0; }; then
35329   pkg_cv_SPEEX_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
35330 else
35331   pkg_failed=yes
35332 fi
35333     fi
35334 else
35335         pkg_failed=untried
35336 fi
35337 if test -n "$PKG_CONFIG"; then
35338     if test -n "$SPEEX_LIBS"; then
35339         pkg_cv_SPEEX_LIBS="$SPEEX_LIBS"
35340     else
35341         if test -n "$PKG_CONFIG" && \
35342     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
35343   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
35344   ac_status=$?
35345   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35346   test $ac_status = 0; }; then
35347   pkg_cv_SPEEX_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
35348 else
35349   pkg_failed=yes
35350 fi
35351     fi
35352 else
35353         pkg_failed=untried
35354 fi
35355
35356
35357
35358 if test $pkg_failed = yes; then
35359
35360 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
35361         _pkg_short_errors_supported=yes
35362 else
35363         _pkg_short_errors_supported=no
35364 fi
35365         if test $_pkg_short_errors_supported = yes; then
35366                 SPEEX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
35367         else
35368                 SPEEX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
35369         fi
35370         # Put the nasty error message in config.log where it belongs
35371         echo "$SPEEX_PKG_ERRORS" >&5
35372
35373         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35374 $as_echo "no" >&6; }
35375
35376       HAVE_SPEEX="no"
35377       if test "x$required" = "xyes"; then
35378         as_fn_error $? "$SPEEX_PKG_ERRORS" "$LINENO" 5
35379       else
35380         { $as_echo "$as_me:${as_lineno-$LINENO}: $SPEEX_PKG_ERRORS" >&5
35381 $as_echo "$as_me: $SPEEX_PKG_ERRORS" >&6;}
35382       fi
35383
35384 elif test $pkg_failed = untried; then
35385
35386       HAVE_SPEEX="no"
35387       if test "x$required" = "xyes"; then
35388         as_fn_error $? "$SPEEX_PKG_ERRORS" "$LINENO" 5
35389       else
35390         { $as_echo "$as_me:${as_lineno-$LINENO}: $SPEEX_PKG_ERRORS" >&5
35391 $as_echo "$as_me: $SPEEX_PKG_ERRORS" >&6;}
35392       fi
35393
35394 else
35395         SPEEX_CFLAGS=$pkg_cv_SPEEX_CFLAGS
35396         SPEEX_LIBS=$pkg_cv_SPEEX_LIBS
35397         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35398 $as_echo "yes" >&6; }
35399
35400       HAVE_SPEEX="yes"
35401
35402 fi
35403
35404
35405   if test $HAVE_SPEEX = no
35406   then
35407
35408   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for speex_bits_init in -lspeex" >&5
35409 $as_echo_n "checking for speex_bits_init in -lspeex... " >&6; }
35410 if ${ac_cv_lib_speex_speex_bits_init+:} false; then :
35411   $as_echo_n "(cached) " >&6
35412 else
35413   ac_check_lib_save_LIBS=$LIBS
35414 LIBS="-lspeex  $LIBS"
35415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35416 /* end confdefs.h.  */
35417
35418 /* Override any GCC internal prototype to avoid an error.
35419    Use char because int might match the return type of a GCC
35420    builtin and then its argument prototype would still apply.  */
35421 #ifdef __cplusplus
35422 extern "C"
35423 #endif
35424 char speex_bits_init ();
35425 int
35426 main ()
35427 {
35428 return speex_bits_init ();
35429   ;
35430   return 0;
35431 }
35432 _ACEOF
35433 if ac_fn_c_try_link "$LINENO"; then :
35434   ac_cv_lib_speex_speex_bits_init=yes
35435 else
35436   ac_cv_lib_speex_speex_bits_init=no
35437 fi
35438 rm -f core conftest.err conftest.$ac_objext \
35439     conftest$ac_exeext conftest.$ac_ext
35440 LIBS=$ac_check_lib_save_LIBS
35441 fi
35442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_speex_speex_bits_init" >&5
35443 $as_echo "$ac_cv_lib_speex_speex_bits_init" >&6; }
35444 if test "x$ac_cv_lib_speex_speex_bits_init" = xyes; then :
35445   HAVE_SPEEX=yes
35446 else
35447   HAVE_SPEEX=no
35448 fi
35449
35450   if test "x$HAVE_SPEEX" = "xyes"; then
35451     ac_fn_c_check_header_mongrel "$LINENO" "speex/speex.h" "ac_cv_header_speex_speex_h" "$ac_includes_default"
35452 if test "x$ac_cv_header_speex_speex_h" = xyes; then :
35453   :
35454 else
35455   HAVE_SPEEX=no
35456 fi
35457
35458
35459     if test "x$HAVE_SPEEX" = "xyes"; then
35460
35461       ac_fn_c_check_header_mongrel "$LINENO" "speex/speex_jitter.h" "ac_cv_header_speex_speex_jitter_h" "$ac_includes_default"
35462 if test "x$ac_cv_header_speex_speex_jitter_h" = xyes; then :
35463
35464
35465   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for speex_encode_int in -lspeex" >&5
35466 $as_echo_n "checking for speex_encode_int in -lspeex... " >&6; }
35467 if ${ac_cv_lib_speex_speex_encode_int+:} false; then :
35468   $as_echo_n "(cached) " >&6
35469 else
35470   ac_check_lib_save_LIBS=$LIBS
35471 LIBS="-lspeex  $LIBS"
35472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35473 /* end confdefs.h.  */
35474
35475 /* Override any GCC internal prototype to avoid an error.
35476    Use char because int might match the return type of a GCC
35477    builtin and then its argument prototype would still apply.  */
35478 #ifdef __cplusplus
35479 extern "C"
35480 #endif
35481 char speex_encode_int ();
35482 int
35483 main ()
35484 {
35485 return speex_encode_int ();
35486   ;
35487   return 0;
35488 }
35489 _ACEOF
35490 if ac_fn_c_try_link "$LINENO"; then :
35491   ac_cv_lib_speex_speex_encode_int=yes
35492 else
35493   ac_cv_lib_speex_speex_encode_int=no
35494 fi
35495 rm -f core conftest.err conftest.$ac_objext \
35496     conftest$ac_exeext conftest.$ac_ext
35497 LIBS=$ac_check_lib_save_LIBS
35498 fi
35499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_speex_speex_encode_int" >&5
35500 $as_echo "$ac_cv_lib_speex_speex_encode_int" >&6; }
35501 if test "x$ac_cv_lib_speex_speex_encode_int" = xyes; then :
35502   HAVE_SPEEX=yes
35503 else
35504   HAVE_SPEEX=no
35505 fi
35506
35507   if test "x$HAVE_SPEEX" = "xyes"; then
35508     ac_fn_c_check_header_mongrel "$LINENO" "speex/speex.h" "ac_cv_header_speex_speex_h" "$ac_includes_default"
35509 if test "x$ac_cv_header_speex_speex_h" = xyes; then :
35510   :
35511 else
35512   HAVE_SPEEX=no
35513 fi
35514
35515
35516     if test "x$HAVE_SPEEX" = "xyes"; then
35517
35518                     HAVE_SPEEX="yes"
35519           SPEEX_LIBS="-lspeex"
35520
35521
35522
35523     else
35524
35525           HAVE_SPEEX="no"
35526
35527     fi
35528   else
35529
35530           HAVE_SPEEX="no"
35531
35532   fi
35533
35534
35535
35536
35537 else
35538
35539                   ac_fn_c_check_decl "$LINENO" "SPEEX_GET_LOOKAHEAD" "ac_cv_have_decl_SPEEX_GET_LOOKAHEAD" "
35540 #include <speex/speex.h>
35541
35542 "
35543 if test "x$ac_cv_have_decl_SPEEX_GET_LOOKAHEAD" = xyes; then :
35544
35545                         HAVE_SPEEX="yes"
35546             SPEEX_LIBS="-lspeex"
35547
35548
35549
35550
35551 cat >>confdefs.h <<_ACEOF
35552 #define SPEEX_1_0 1
35553 _ACEOF
35554
35555
35556 else
35557
35558             HAVE_SPEEX="no"
35559             { $as_echo "$as_me:${as_lineno-$LINENO}: You need at least 1.0.4 to compile the speex plugin" >&5
35560 $as_echo "$as_me: You need at least 1.0.4 to compile the speex plugin" >&6;}
35561
35562 fi
35563
35564
35565 fi
35566
35567
35568
35569     else
35570       :
35571     fi
35572   else
35573     :
35574   fi
35575
35576
35577
35578   fi
35579
35580
35581   LIBS=$gst_check_save_LIBS
35582   LDFLAGS=$gst_check_save_LDFLAGS
35583   CFLAGS=$gst_check_save_CFLAGS
35584   CPPFLAGS=$gst_check_save_CPPFLAGS
35585   CXXFLAGS=$gst_check_save_CXXFLAGS
35586
35587     if test x$HAVE_SPEEX = xno; then
35588     USE_SPEEX=no
35589   else
35590     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: speex" >&5
35591 $as_echo "$as_me: *** These plugins will be built: speex" >&6;}
35592   fi
35593 fi
35594 if test x$USE_SPEEX = xyes; then
35595   :
35596   if test "xspeex" != "x"; then
35597     GST_PLUGINS_YES="\tspeex\n$GST_PLUGINS_YES"
35598   fi
35599
35600 $as_echo "#define HAVE_SPEEX /**/" >>confdefs.h
35601
35602 else
35603   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: speex" >&5
35604 $as_echo "$as_me: *** These plugins will not be built: speex" >&6;}
35605   if test "xspeex" != "x"; then
35606     GST_PLUGINS_NO="\tspeex\n$GST_PLUGINS_NO"
35607   fi
35608   :
35609 fi
35610  if test x$USE_SPEEX = xyes; then
35611   USE_SPEEX_TRUE=
35612   USE_SPEEX_FALSE='#'
35613 else
35614   USE_SPEEX_TRUE='#'
35615   USE_SPEEX_FALSE=
35616 fi
35617
35618
35619
35620 echo
35621 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: taglib tagging library ***" >&5
35622 $as_echo "$as_me: *** checking feature: taglib tagging library ***" >&6;}
35623 if test "xtaglib" != "x"
35624 then
35625   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: taglib ***" >&5
35626 $as_echo "$as_me: *** for plug-ins: taglib ***" >&6;}
35627 fi
35628 NOUSE=
35629 if test "x$USE_TAGLIB" = "xno"; then
35630   NOUSE="yes"
35631 fi
35632 # Check whether --enable-taglib was given.
35633 if test "${enable_taglib+set}" = set; then :
35634   enableval=$enable_taglib;  case "${enableval}" in
35635       yes) USE_TAGLIB=yes;;
35636       no) USE_TAGLIB=no;;
35637       *) as_fn_error $? "bad value ${enableval} for --enable-taglib" "$LINENO" 5 ;;
35638     esac
35639 else
35640    USE_TAGLIB=yes
35641 fi
35642
35643 if test "x$NOUSE" = "xyes"; then
35644   USE_TAGLIB="no"
35645   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** taglib pre-configured not to be built" >&5
35646 $as_echo "$as_me: WARNING: *** taglib pre-configured not to be built" >&2;}
35647 fi
35648 NOUSE=
35649
35650
35651 if test x$USE_TAGLIB = xyes; then
35652
35653   gst_check_save_LIBS=$LIBS
35654   gst_check_save_LDFLAGS=$LDFLAGS
35655   gst_check_save_CFLAGS=$CFLAGS
35656   gst_check_save_CPPFLAGS=$CPPFLAGS
35657   gst_check_save_CXXFLAGS=$CXXFLAGS
35658
35659   HAVE_TAGLIB=no
35660
35661
35662   which="taglib >= 1.5"
35663     required="no"
35664
35665
35666 pkg_failed=no
35667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TAGLIB" >&5
35668 $as_echo_n "checking for TAGLIB... " >&6; }
35669
35670 if test -n "$PKG_CONFIG"; then
35671     if test -n "$TAGLIB_CFLAGS"; then
35672         pkg_cv_TAGLIB_CFLAGS="$TAGLIB_CFLAGS"
35673     else
35674         if test -n "$PKG_CONFIG" && \
35675     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
35676   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
35677   ac_status=$?
35678   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35679   test $ac_status = 0; }; then
35680   pkg_cv_TAGLIB_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
35681 else
35682   pkg_failed=yes
35683 fi
35684     fi
35685 else
35686         pkg_failed=untried
35687 fi
35688 if test -n "$PKG_CONFIG"; then
35689     if test -n "$TAGLIB_LIBS"; then
35690         pkg_cv_TAGLIB_LIBS="$TAGLIB_LIBS"
35691     else
35692         if test -n "$PKG_CONFIG" && \
35693     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
35694   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
35695   ac_status=$?
35696   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35697   test $ac_status = 0; }; then
35698   pkg_cv_TAGLIB_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
35699 else
35700   pkg_failed=yes
35701 fi
35702     fi
35703 else
35704         pkg_failed=untried
35705 fi
35706
35707
35708
35709 if test $pkg_failed = yes; then
35710
35711 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
35712         _pkg_short_errors_supported=yes
35713 else
35714         _pkg_short_errors_supported=no
35715 fi
35716         if test $_pkg_short_errors_supported = yes; then
35717                 TAGLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
35718         else
35719                 TAGLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
35720         fi
35721         # Put the nasty error message in config.log where it belongs
35722         echo "$TAGLIB_PKG_ERRORS" >&5
35723
35724         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35725 $as_echo "no" >&6; }
35726
35727       HAVE_TAGLIB="no"
35728       if test "x$required" = "xyes"; then
35729         as_fn_error $? "$TAGLIB_PKG_ERRORS" "$LINENO" 5
35730       else
35731         { $as_echo "$as_me:${as_lineno-$LINENO}: $TAGLIB_PKG_ERRORS" >&5
35732 $as_echo "$as_me: $TAGLIB_PKG_ERRORS" >&6;}
35733       fi
35734
35735 elif test $pkg_failed = untried; then
35736
35737       HAVE_TAGLIB="no"
35738       if test "x$required" = "xyes"; then
35739         as_fn_error $? "$TAGLIB_PKG_ERRORS" "$LINENO" 5
35740       else
35741         { $as_echo "$as_me:${as_lineno-$LINENO}: $TAGLIB_PKG_ERRORS" >&5
35742 $as_echo "$as_me: $TAGLIB_PKG_ERRORS" >&6;}
35743       fi
35744
35745 else
35746         TAGLIB_CFLAGS=$pkg_cv_TAGLIB_CFLAGS
35747         TAGLIB_LIBS=$pkg_cv_TAGLIB_LIBS
35748         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35749 $as_echo "yes" >&6; }
35750
35751       HAVE_TAGLIB="yes"
35752
35753 fi
35754
35755
35756   if test "x$HAVE_CXX" != "xyes"; then
35757     USE_TAGLIB=false
35758     { $as_echo "$as_me:${as_lineno-$LINENO}: Not building taglib plugin: no C++ compiler found" >&5
35759 $as_echo "$as_me: Not building taglib plugin: no C++ compiler found" >&6;}
35760   else
35761
35762
35763
35764   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -Wno-attributes" >&5
35765 $as_echo_n "checking to see if c++ compiler understands -Wno-attributes... " >&6; }
35766
35767   save_CPPFLAGS="$CPPFLAGS"
35768   CPPFLAGS="$CPPFLAGS -Wno-attributes"
35769
35770   ac_ext=cpp
35771 ac_cpp='$CXXCPP $CPPFLAGS'
35772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35775
35776
35777   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35778 /* end confdefs.h.  */
35779
35780 int
35781 main ()
35782 {
35783
35784   ;
35785   return 0;
35786 }
35787 _ACEOF
35788 if ac_fn_cxx_try_compile "$LINENO"; then :
35789   flag_ok=yes
35790 else
35791   flag_ok=no
35792 fi
35793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35794   CPPFLAGS="$save_CPPFLAGS"
35795
35796   if test "X$flag_ok" = Xyes ; then
35797
35798         TAGLIB_CXXFLAGS="$TAGLIB_CFLAGS -Wno-attributes"
35799
35800     true
35801   else
35802
35803         TAGLIB_CXXFLAGS="$TAGLIB_CFLAGS"
35804
35805     true
35806   fi
35807
35808   ac_ext=c
35809 ac_cpp='$CPP $CPPFLAGS'
35810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35813
35814
35815   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
35816 $as_echo "$flag_ok" >&6; }
35817
35818
35819   fi
35820
35821
35822   LIBS=$gst_check_save_LIBS
35823   LDFLAGS=$gst_check_save_LDFLAGS
35824   CFLAGS=$gst_check_save_CFLAGS
35825   CPPFLAGS=$gst_check_save_CPPFLAGS
35826   CXXFLAGS=$gst_check_save_CXXFLAGS
35827
35828     if test x$HAVE_TAGLIB = xno; then
35829     USE_TAGLIB=no
35830   else
35831     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: taglib" >&5
35832 $as_echo "$as_me: *** These plugins will be built: taglib" >&6;}
35833   fi
35834 fi
35835 if test x$USE_TAGLIB = xyes; then
35836   :
35837   if test "xtaglib" != "x"; then
35838     GST_PLUGINS_YES="\ttaglib\n$GST_PLUGINS_YES"
35839   fi
35840
35841 $as_echo "#define HAVE_TAGLIB /**/" >>confdefs.h
35842
35843 else
35844   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: taglib" >&5
35845 $as_echo "$as_me: *** These plugins will not be built: taglib" >&6;}
35846   if test "xtaglib" != "x"; then
35847     GST_PLUGINS_NO="\ttaglib\n$GST_PLUGINS_NO"
35848   fi
35849   :
35850 fi
35851  if test x$USE_TAGLIB = xyes; then
35852   USE_TAGLIB_TRUE=
35853   USE_TAGLIB_FALSE='#'
35854 else
35855   USE_TAGLIB_TRUE='#'
35856   USE_TAGLIB_FALSE=
35857 fi
35858
35859
35860
35861 echo
35862 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: wavpack plug-in ***" >&5
35863 $as_echo "$as_me: *** checking feature: wavpack plug-in ***" >&6;}
35864 if test "xwavpack" != "x"
35865 then
35866   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: wavpack ***" >&5
35867 $as_echo "$as_me: *** for plug-ins: wavpack ***" >&6;}
35868 fi
35869 NOUSE=
35870 if test "x$USE_WAVPACK" = "xno"; then
35871   NOUSE="yes"
35872 fi
35873 # Check whether --enable-wavpack was given.
35874 if test "${enable_wavpack+set}" = set; then :
35875   enableval=$enable_wavpack;  case "${enableval}" in
35876       yes) USE_WAVPACK=yes;;
35877       no) USE_WAVPACK=no;;
35878       *) as_fn_error $? "bad value ${enableval} for --enable-wavpack" "$LINENO" 5 ;;
35879     esac
35880 else
35881    USE_WAVPACK=yes
35882 fi
35883
35884 if test "x$NOUSE" = "xyes"; then
35885   USE_WAVPACK="no"
35886   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** wavpack pre-configured not to be built" >&5
35887 $as_echo "$as_me: WARNING: *** wavpack pre-configured not to be built" >&2;}
35888 fi
35889 NOUSE=
35890
35891
35892 if test x$USE_WAVPACK = xyes; then
35893
35894   gst_check_save_LIBS=$LIBS
35895   gst_check_save_LDFLAGS=$LDFLAGS
35896   gst_check_save_CFLAGS=$CFLAGS
35897   gst_check_save_CPPFLAGS=$CPPFLAGS
35898   gst_check_save_CXXFLAGS=$CXXFLAGS
35899
35900   HAVE_WAVPACK=no
35901
35902
35903 pkg_failed=no
35904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WAVPACK" >&5
35905 $as_echo_n "checking for WAVPACK... " >&6; }
35906
35907 if test -n "$PKG_CONFIG"; then
35908     if test -n "$WAVPACK_CFLAGS"; then
35909         pkg_cv_WAVPACK_CFLAGS="$WAVPACK_CFLAGS"
35910     else
35911         if test -n "$PKG_CONFIG" && \
35912     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wavpack >= 4.40.0\""; } >&5
35913   ($PKG_CONFIG --exists --print-errors "wavpack >= 4.40.0") 2>&5
35914   ac_status=$?
35915   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35916   test $ac_status = 0; }; then
35917   pkg_cv_WAVPACK_CFLAGS=`$PKG_CONFIG --cflags "wavpack >= 4.40.0" 2>/dev/null`
35918 else
35919   pkg_failed=yes
35920 fi
35921     fi
35922 else
35923         pkg_failed=untried
35924 fi
35925 if test -n "$PKG_CONFIG"; then
35926     if test -n "$WAVPACK_LIBS"; then
35927         pkg_cv_WAVPACK_LIBS="$WAVPACK_LIBS"
35928     else
35929         if test -n "$PKG_CONFIG" && \
35930     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wavpack >= 4.40.0\""; } >&5
35931   ($PKG_CONFIG --exists --print-errors "wavpack >= 4.40.0") 2>&5
35932   ac_status=$?
35933   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35934   test $ac_status = 0; }; then
35935   pkg_cv_WAVPACK_LIBS=`$PKG_CONFIG --libs "wavpack >= 4.40.0" 2>/dev/null`
35936 else
35937   pkg_failed=yes
35938 fi
35939     fi
35940 else
35941         pkg_failed=untried
35942 fi
35943
35944
35945
35946 if test $pkg_failed = yes; then
35947
35948 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
35949         _pkg_short_errors_supported=yes
35950 else
35951         _pkg_short_errors_supported=no
35952 fi
35953         if test $_pkg_short_errors_supported = yes; then
35954                 WAVPACK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "wavpack >= 4.40.0"`
35955         else
35956                 WAVPACK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "wavpack >= 4.40.0"`
35957         fi
35958         # Put the nasty error message in config.log where it belongs
35959         echo "$WAVPACK_PKG_ERRORS" >&5
35960
35961         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35962 $as_echo "no" >&6; }
35963
35964
35965 pkg_failed=no
35966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WAVPACK" >&5
35967 $as_echo_n "checking for WAVPACK... " >&6; }
35968
35969 if test -n "$PKG_CONFIG"; then
35970     if test -n "$WAVPACK_CFLAGS"; then
35971         pkg_cv_WAVPACK_CFLAGS="$WAVPACK_CFLAGS"
35972     else
35973         if test -n "$PKG_CONFIG" && \
35974     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wavpack >= 4.20\""; } >&5
35975   ($PKG_CONFIG --exists --print-errors "wavpack >= 4.20") 2>&5
35976   ac_status=$?
35977   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35978   test $ac_status = 0; }; then
35979   pkg_cv_WAVPACK_CFLAGS=`$PKG_CONFIG --cflags "wavpack >= 4.20" 2>/dev/null`
35980 else
35981   pkg_failed=yes
35982 fi
35983     fi
35984 else
35985         pkg_failed=untried
35986 fi
35987 if test -n "$PKG_CONFIG"; then
35988     if test -n "$WAVPACK_LIBS"; then
35989         pkg_cv_WAVPACK_LIBS="$WAVPACK_LIBS"
35990     else
35991         if test -n "$PKG_CONFIG" && \
35992     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wavpack >= 4.20\""; } >&5
35993   ($PKG_CONFIG --exists --print-errors "wavpack >= 4.20") 2>&5
35994   ac_status=$?
35995   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35996   test $ac_status = 0; }; then
35997   pkg_cv_WAVPACK_LIBS=`$PKG_CONFIG --libs "wavpack >= 4.20" 2>/dev/null`
35998 else
35999   pkg_failed=yes
36000 fi
36001     fi
36002 else
36003         pkg_failed=untried
36004 fi
36005
36006
36007
36008 if test $pkg_failed = yes; then
36009
36010 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36011         _pkg_short_errors_supported=yes
36012 else
36013         _pkg_short_errors_supported=no
36014 fi
36015         if test $_pkg_short_errors_supported = yes; then
36016                 WAVPACK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "wavpack >= 4.20"`
36017         else
36018                 WAVPACK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "wavpack >= 4.20"`
36019         fi
36020         # Put the nasty error message in config.log where it belongs
36021         echo "$WAVPACK_PKG_ERRORS" >&5
36022
36023         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36024 $as_echo "no" >&6; }
36025
36026       HAVE_WAVPACK=no
36027
36028 elif test $pkg_failed = untried; then
36029
36030       HAVE_WAVPACK=no
36031
36032 else
36033         WAVPACK_CFLAGS=$pkg_cv_WAVPACK_CFLAGS
36034         WAVPACK_LIBS=$pkg_cv_WAVPACK_LIBS
36035         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36036 $as_echo "yes" >&6; }
36037
36038       HAVE_WAVPACK=yes
36039
36040 $as_echo "#define WAVPACK_OLD_API 1" >>confdefs.h
36041
36042
36043 fi
36044
36045 elif test $pkg_failed = untried; then
36046
36047
36048 pkg_failed=no
36049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WAVPACK" >&5
36050 $as_echo_n "checking for WAVPACK... " >&6; }
36051
36052 if test -n "$PKG_CONFIG"; then
36053     if test -n "$WAVPACK_CFLAGS"; then
36054         pkg_cv_WAVPACK_CFLAGS="$WAVPACK_CFLAGS"
36055     else
36056         if test -n "$PKG_CONFIG" && \
36057     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wavpack >= 4.20\""; } >&5
36058   ($PKG_CONFIG --exists --print-errors "wavpack >= 4.20") 2>&5
36059   ac_status=$?
36060   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36061   test $ac_status = 0; }; then
36062   pkg_cv_WAVPACK_CFLAGS=`$PKG_CONFIG --cflags "wavpack >= 4.20" 2>/dev/null`
36063 else
36064   pkg_failed=yes
36065 fi
36066     fi
36067 else
36068         pkg_failed=untried
36069 fi
36070 if test -n "$PKG_CONFIG"; then
36071     if test -n "$WAVPACK_LIBS"; then
36072         pkg_cv_WAVPACK_LIBS="$WAVPACK_LIBS"
36073     else
36074         if test -n "$PKG_CONFIG" && \
36075     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wavpack >= 4.20\""; } >&5
36076   ($PKG_CONFIG --exists --print-errors "wavpack >= 4.20") 2>&5
36077   ac_status=$?
36078   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36079   test $ac_status = 0; }; then
36080   pkg_cv_WAVPACK_LIBS=`$PKG_CONFIG --libs "wavpack >= 4.20" 2>/dev/null`
36081 else
36082   pkg_failed=yes
36083 fi
36084     fi
36085 else
36086         pkg_failed=untried
36087 fi
36088
36089
36090
36091 if test $pkg_failed = yes; then
36092
36093 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36094         _pkg_short_errors_supported=yes
36095 else
36096         _pkg_short_errors_supported=no
36097 fi
36098         if test $_pkg_short_errors_supported = yes; then
36099                 WAVPACK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "wavpack >= 4.20"`
36100         else
36101                 WAVPACK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "wavpack >= 4.20"`
36102         fi
36103         # Put the nasty error message in config.log where it belongs
36104         echo "$WAVPACK_PKG_ERRORS" >&5
36105
36106         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36107 $as_echo "no" >&6; }
36108
36109       HAVE_WAVPACK=no
36110
36111 elif test $pkg_failed = untried; then
36112
36113       HAVE_WAVPACK=no
36114
36115 else
36116         WAVPACK_CFLAGS=$pkg_cv_WAVPACK_CFLAGS
36117         WAVPACK_LIBS=$pkg_cv_WAVPACK_LIBS
36118         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36119 $as_echo "yes" >&6; }
36120
36121       HAVE_WAVPACK=yes
36122
36123 $as_echo "#define WAVPACK_OLD_API 1" >>confdefs.h
36124
36125
36126 fi
36127
36128 else
36129         WAVPACK_CFLAGS=$pkg_cv_WAVPACK_CFLAGS
36130         WAVPACK_LIBS=$pkg_cv_WAVPACK_LIBS
36131         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36132 $as_echo "yes" >&6; }
36133         HAVE_WAVPACK=yes
36134 fi
36135
36136
36137
36138
36139   LIBS=$gst_check_save_LIBS
36140   LDFLAGS=$gst_check_save_LDFLAGS
36141   CFLAGS=$gst_check_save_CFLAGS
36142   CPPFLAGS=$gst_check_save_CPPFLAGS
36143   CXXFLAGS=$gst_check_save_CXXFLAGS
36144
36145     if test x$HAVE_WAVPACK = xno; then
36146     USE_WAVPACK=no
36147   else
36148     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: wavpack" >&5
36149 $as_echo "$as_me: *** These plugins will be built: wavpack" >&6;}
36150   fi
36151 fi
36152 if test x$USE_WAVPACK = xyes; then
36153   :
36154   if test "xwavpack" != "x"; then
36155     GST_PLUGINS_YES="\twavpack\n$GST_PLUGINS_YES"
36156   fi
36157
36158 $as_echo "#define HAVE_WAVPACK /**/" >>confdefs.h
36159
36160 else
36161   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: wavpack" >&5
36162 $as_echo "$as_me: *** These plugins will not be built: wavpack" >&6;}
36163   if test "xwavpack" != "x"; then
36164     GST_PLUGINS_NO="\twavpack\n$GST_PLUGINS_NO"
36165   fi
36166   :
36167 fi
36168  if test x$USE_WAVPACK = xyes; then
36169   USE_WAVPACK_TRUE=
36170   USE_WAVPACK_FALSE='#'
36171 else
36172   USE_WAVPACK_TRUE='#'
36173   USE_WAVPACK_FALSE=
36174 fi
36175
36176
36177
36178 echo
36179 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: zlib support for qtdemux/matroska ***" >&5
36180 $as_echo "$as_me: *** checking feature: zlib support for qtdemux/matroska ***" >&6;}
36181 if test "x" != "x"
36182 then
36183   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins:  ***" >&5
36184 $as_echo "$as_me: *** for plug-ins:  ***" >&6;}
36185 fi
36186 NOUSE=
36187 if test "x$USE_ZLIB" = "xno"; then
36188   NOUSE="yes"
36189 fi
36190 # Check whether --enable-zlib was given.
36191 if test "${enable_zlib+set}" = set; then :
36192   enableval=$enable_zlib;  case "${enableval}" in
36193       yes) USE_ZLIB=yes;;
36194       no) USE_ZLIB=no;;
36195       *) as_fn_error $? "bad value ${enableval} for --enable-zlib" "$LINENO" 5 ;;
36196     esac
36197 else
36198    USE_ZLIB=yes
36199 fi
36200
36201 if test "x$NOUSE" = "xyes"; then
36202   USE_ZLIB="no"
36203   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ***  pre-configured not to be built" >&5
36204 $as_echo "$as_me: WARNING: ***  pre-configured not to be built" >&2;}
36205 fi
36206 NOUSE=
36207
36208
36209 if test x$USE_ZLIB = xyes; then
36210
36211   gst_check_save_LIBS=$LIBS
36212   gst_check_save_LDFLAGS=$LDFLAGS
36213   gst_check_save_CFLAGS=$CFLAGS
36214   gst_check_save_CPPFLAGS=$CPPFLAGS
36215   gst_check_save_CXXFLAGS=$CXXFLAGS
36216
36217   HAVE_ZLIB=no
36218
36219
36220   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uncompress in -lz" >&5
36221 $as_echo_n "checking for uncompress in -lz... " >&6; }
36222 if ${ac_cv_lib_z_uncompress+:} false; then :
36223   $as_echo_n "(cached) " >&6
36224 else
36225   ac_check_lib_save_LIBS=$LIBS
36226 LIBS="-lz  $LIBS"
36227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36228 /* end confdefs.h.  */
36229
36230 /* Override any GCC internal prototype to avoid an error.
36231    Use char because int might match the return type of a GCC
36232    builtin and then its argument prototype would still apply.  */
36233 #ifdef __cplusplus
36234 extern "C"
36235 #endif
36236 char uncompress ();
36237 int
36238 main ()
36239 {
36240 return uncompress ();
36241   ;
36242   return 0;
36243 }
36244 _ACEOF
36245 if ac_fn_c_try_link "$LINENO"; then :
36246   ac_cv_lib_z_uncompress=yes
36247 else
36248   ac_cv_lib_z_uncompress=no
36249 fi
36250 rm -f core conftest.err conftest.$ac_objext \
36251     conftest$ac_exeext conftest.$ac_ext
36252 LIBS=$ac_check_lib_save_LIBS
36253 fi
36254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_uncompress" >&5
36255 $as_echo "$ac_cv_lib_z_uncompress" >&6; }
36256 if test "x$ac_cv_lib_z_uncompress" = xyes; then :
36257   HAVE_ZLIB=yes
36258 else
36259   HAVE_ZLIB=no
36260 fi
36261
36262   if test "x$HAVE_ZLIB" = "xyes"; then
36263     ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
36264 if test "x$ac_cv_header_zlib_h" = xyes; then :
36265   :
36266 else
36267   HAVE_ZLIB=no
36268 fi
36269
36270
36271     if test "x$HAVE_ZLIB" = "xyes"; then
36272
36273     HAVE_ZLIB="yes"
36274     ZLIB_LIBS="-lz"
36275
36276
36277     else
36278       :
36279     fi
36280   else
36281     :
36282   fi
36283
36284
36285
36286
36287
36288   LIBS=$gst_check_save_LIBS
36289   LDFLAGS=$gst_check_save_LDFLAGS
36290   CFLAGS=$gst_check_save_CFLAGS
36291   CPPFLAGS=$gst_check_save_CPPFLAGS
36292   CXXFLAGS=$gst_check_save_CXXFLAGS
36293
36294     if test x$HAVE_ZLIB = xno; then
36295     USE_ZLIB=no
36296   else
36297     :
36298   fi
36299 fi
36300 if test x$USE_ZLIB = xyes; then
36301   :
36302   if test "x" != "x"; then
36303     GST_PLUGINS_YES="\t\n$GST_PLUGINS_YES"
36304   fi
36305
36306 $as_echo "#define HAVE_ZLIB /**/" >>confdefs.h
36307
36308 else
36309   :
36310   if test "x" != "x"; then
36311     GST_PLUGINS_NO="\t\n$GST_PLUGINS_NO"
36312   fi
36313   :
36314 fi
36315  if test x$USE_ZLIB = xyes; then
36316   USE_ZLIB_TRUE=
36317   USE_ZLIB_FALSE='#'
36318 else
36319   USE_ZLIB_TRUE='#'
36320   USE_ZLIB_FALSE=
36321 fi
36322
36323
36324
36325 echo
36326 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: bz2 library for matroska  ***" >&5
36327 $as_echo "$as_me: *** checking feature: bz2 library for matroska  ***" >&6;}
36328 if test "x" != "x"
36329 then
36330   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins:  ***" >&5
36331 $as_echo "$as_me: *** for plug-ins:  ***" >&6;}
36332 fi
36333 NOUSE=
36334 if test "x$USE_BZ2" = "xno"; then
36335   NOUSE="yes"
36336 fi
36337 # Check whether --enable-bz2 was given.
36338 if test "${enable_bz2+set}" = set; then :
36339   enableval=$enable_bz2;  case "${enableval}" in
36340       yes) USE_BZ2=yes;;
36341       no) USE_BZ2=no;;
36342       *) as_fn_error $? "bad value ${enableval} for --enable-bz2" "$LINENO" 5 ;;
36343     esac
36344 else
36345    USE_BZ2=yes
36346 fi
36347
36348 if test "x$NOUSE" = "xyes"; then
36349   USE_BZ2="no"
36350   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ***  pre-configured not to be built" >&5
36351 $as_echo "$as_me: WARNING: ***  pre-configured not to be built" >&2;}
36352 fi
36353 NOUSE=
36354
36355
36356 if test x$USE_BZ2 = xyes; then
36357
36358   gst_check_save_LIBS=$LIBS
36359   gst_check_save_LDFLAGS=$LDFLAGS
36360   gst_check_save_CFLAGS=$CFLAGS
36361   gst_check_save_CPPFLAGS=$CPPFLAGS
36362   gst_check_save_CXXFLAGS=$CXXFLAGS
36363
36364   HAVE_BZ2=no
36365
36366
36367   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BZ2_bzCompress in -lbz2" >&5
36368 $as_echo_n "checking for BZ2_bzCompress in -lbz2... " >&6; }
36369 if ${ac_cv_lib_bz2_BZ2_bzCompress+:} false; then :
36370   $as_echo_n "(cached) " >&6
36371 else
36372   ac_check_lib_save_LIBS=$LIBS
36373 LIBS="-lbz2  $LIBS"
36374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36375 /* end confdefs.h.  */
36376
36377 /* Override any GCC internal prototype to avoid an error.
36378    Use char because int might match the return type of a GCC
36379    builtin and then its argument prototype would still apply.  */
36380 #ifdef __cplusplus
36381 extern "C"
36382 #endif
36383 char BZ2_bzCompress ();
36384 int
36385 main ()
36386 {
36387 return BZ2_bzCompress ();
36388   ;
36389   return 0;
36390 }
36391 _ACEOF
36392 if ac_fn_c_try_link "$LINENO"; then :
36393   ac_cv_lib_bz2_BZ2_bzCompress=yes
36394 else
36395   ac_cv_lib_bz2_BZ2_bzCompress=no
36396 fi
36397 rm -f core conftest.err conftest.$ac_objext \
36398     conftest$ac_exeext conftest.$ac_ext
36399 LIBS=$ac_check_lib_save_LIBS
36400 fi
36401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bz2_BZ2_bzCompress" >&5
36402 $as_echo "$ac_cv_lib_bz2_BZ2_bzCompress" >&6; }
36403 if test "x$ac_cv_lib_bz2_BZ2_bzCompress" = xyes; then :
36404   HAVE_BZ2=yes
36405 else
36406   HAVE_BZ2=no
36407 fi
36408
36409   if test "x$HAVE_BZ2" = "xyes"; then
36410     ac_fn_c_check_header_mongrel "$LINENO" "bzlib.h" "ac_cv_header_bzlib_h" "$ac_includes_default"
36411 if test "x$ac_cv_header_bzlib_h" = xyes; then :
36412   :
36413 else
36414   HAVE_BZ2=no
36415 fi
36416
36417
36418     if test "x$HAVE_BZ2" = "xyes"; then
36419             BZ2_LIBS="-lbz2"
36420     else
36421       :
36422     fi
36423   else
36424     :
36425   fi
36426
36427
36428
36429
36430
36431
36432   LIBS=$gst_check_save_LIBS
36433   LDFLAGS=$gst_check_save_LDFLAGS
36434   CFLAGS=$gst_check_save_CFLAGS
36435   CPPFLAGS=$gst_check_save_CPPFLAGS
36436   CXXFLAGS=$gst_check_save_CXXFLAGS
36437
36438     if test x$HAVE_BZ2 = xno; then
36439     USE_BZ2=no
36440   else
36441     :
36442   fi
36443 fi
36444 if test x$USE_BZ2 = xyes; then
36445   :
36446   if test "x" != "x"; then
36447     GST_PLUGINS_YES="\t\n$GST_PLUGINS_YES"
36448   fi
36449
36450 $as_echo "#define HAVE_BZ2 /**/" >>confdefs.h
36451
36452 else
36453   :
36454   if test "x" != "x"; then
36455     GST_PLUGINS_NO="\t\n$GST_PLUGINS_NO"
36456   fi
36457   :
36458 fi
36459  if test x$USE_BZ2 = xyes; then
36460   USE_BZ2_TRUE=
36461   USE_BZ2_FALSE='#'
36462 else
36463   USE_BZ2_TRUE='#'
36464   USE_BZ2_FALSE=
36465 fi
36466
36467
36468
36469 else
36470
36471  if false; then
36472   USE_AALIB_TRUE=
36473   USE_AALIB_FALSE='#'
36474 else
36475   USE_AALIB_TRUE='#'
36476   USE_AALIB_FALSE=
36477 fi
36478
36479  if false; then
36480   USE_ANNODEX_TRUE=
36481   USE_ANNODEX_FALSE='#'
36482 else
36483   USE_ANNODEX_TRUE='#'
36484   USE_ANNODEX_FALSE=
36485 fi
36486
36487  if false; then
36488   USE_BZ2_TRUE=
36489   USE_BZ2_FALSE='#'
36490 else
36491   USE_BZ2_TRUE='#'
36492   USE_BZ2_FALSE=
36493 fi
36494
36495  if false; then
36496   USE_CAIRO_TRUE=
36497   USE_CAIRO_FALSE='#'
36498 else
36499   USE_CAIRO_TRUE='#'
36500   USE_CAIRO_FALSE=
36501 fi
36502
36503  if false; then
36504   USE_CAIRO_GOBJECT_TRUE=
36505   USE_CAIRO_GOBJECT_FALSE='#'
36506 else
36507   USE_CAIRO_GOBJECT_TRUE='#'
36508   USE_CAIRO_GOBJECT_FALSE=
36509 fi
36510
36511  if false; then
36512   USE_DIRECTSOUND_TRUE=
36513   USE_DIRECTSOUND_FALSE='#'
36514 else
36515   USE_DIRECTSOUND_TRUE='#'
36516   USE_DIRECTSOUND_FALSE=
36517 fi
36518
36519  if false; then
36520   USE_DV1394_TRUE=
36521   USE_DV1394_FALSE='#'
36522 else
36523   USE_DV1394_TRUE='#'
36524   USE_DV1394_FALSE=
36525 fi
36526
36527  if false; then
36528   USE_ESD_TRUE=
36529   USE_ESD_FALSE='#'
36530 else
36531   USE_ESD_TRUE='#'
36532   USE_ESD_FALSE=
36533 fi
36534
36535  if false; then
36536   USE_FLAC_TRUE=
36537   USE_FLAC_FALSE='#'
36538 else
36539   USE_FLAC_TRUE='#'
36540   USE_FLAC_FALSE=
36541 fi
36542
36543  if false; then
36544   USE_GCONF_TRUE=
36545   USE_GCONF_FALSE='#'
36546 else
36547   USE_GCONF_TRUE='#'
36548   USE_GCONF_FALSE=
36549 fi
36550
36551  if false; then
36552   USE_GCONFTOOL_TRUE=
36553   USE_GCONFTOOL_FALSE='#'
36554 else
36555   USE_GCONFTOOL_TRUE='#'
36556   USE_GCONFTOOL_FALSE=
36557 fi
36558
36559  if false; then
36560   USE_GDK_PIXBUF_TRUE=
36561   USE_GDK_PIXBUF_FALSE='#'
36562 else
36563   USE_GDK_PIXBUF_TRUE='#'
36564   USE_GDK_PIXBUF_FALSE=
36565 fi
36566
36567  if false; then
36568   USE_GST_V4L2_TRUE=
36569   USE_GST_V4L2_FALSE='#'
36570 else
36571   USE_GST_V4L2_TRUE='#'
36572   USE_GST_V4L2_FALSE=
36573 fi
36574
36575  if false; then
36576   USE_HAL_TRUE=
36577   USE_HAL_FALSE='#'
36578 else
36579   USE_HAL_TRUE='#'
36580   USE_HAL_FALSE=
36581 fi
36582
36583  if false; then
36584   USE_JACK_TRUE=
36585   USE_JACK_FALSE='#'
36586 else
36587   USE_JACK_TRUE='#'
36588   USE_JACK_FALSE=
36589 fi
36590
36591  if false; then
36592   USE_JPEG_TRUE=
36593   USE_JPEG_FALSE='#'
36594 else
36595   USE_JPEG_TRUE='#'
36596   USE_JPEG_FALSE=
36597 fi
36598
36599  if false; then
36600   USE_LIBCACA_TRUE=
36601   USE_LIBCACA_FALSE='#'
36602 else
36603   USE_LIBCACA_TRUE='#'
36604   USE_LIBCACA_FALSE=
36605 fi
36606
36607  if false; then
36608   USE_LIBDV_TRUE=
36609   USE_LIBDV_FALSE='#'
36610 else
36611   USE_LIBDV_TRUE='#'
36612   USE_LIBDV_FALSE=
36613 fi
36614
36615  if false; then
36616   USE_LIBIEC61883_TRUE=
36617   USE_LIBIEC61883_FALSE='#'
36618 else
36619   USE_LIBIEC61883_TRUE='#'
36620   USE_LIBIEC61883_FALSE=
36621 fi
36622
36623  if false; then
36624   USE_LIBPNG_TRUE=
36625   USE_LIBPNG_FALSE='#'
36626 else
36627   USE_LIBPNG_TRUE='#'
36628   USE_LIBPNG_FALSE=
36629 fi
36630
36631  if false; then
36632   USE_OSS_TRUE=
36633   USE_OSS_FALSE='#'
36634 else
36635   USE_OSS_TRUE='#'
36636   USE_OSS_FALSE=
36637 fi
36638
36639  if false; then
36640   USE_OSS4_TRUE=
36641   USE_OSS4_FALSE='#'
36642 else
36643   USE_OSS4_TRUE='#'
36644   USE_OSS4_FALSE=
36645 fi
36646
36647  if false; then
36648   USE_OSX_AUDIO_TRUE=
36649   USE_OSX_AUDIO_FALSE='#'
36650 else
36651   USE_OSX_AUDIO_TRUE='#'
36652   USE_OSX_AUDIO_FALSE=
36653 fi
36654
36655  if false; then
36656   USE_OSX_VIDEO_TRUE=
36657   USE_OSX_VIDEO_FALSE='#'
36658 else
36659   USE_OSX_VIDEO_TRUE='#'
36660   USE_OSX_VIDEO_FALSE=
36661 fi
36662
36663  if false; then
36664   USE_PULSE_TRUE=
36665   USE_PULSE_FALSE='#'
36666 else
36667   USE_PULSE_TRUE='#'
36668   USE_PULSE_FALSE=
36669 fi
36670
36671  if false; then
36672   USE_SHOUT2_TRUE=
36673   USE_SHOUT2_FALSE='#'
36674 else
36675   USE_SHOUT2_TRUE='#'
36676   USE_SHOUT2_FALSE=
36677 fi
36678
36679  if false; then
36680   USE_SOUP_TRUE=
36681   USE_SOUP_FALSE='#'
36682 else
36683   USE_SOUP_TRUE='#'
36684   USE_SOUP_FALSE=
36685 fi
36686
36687  if false; then
36688   USE_SPEEX_TRUE=
36689   USE_SPEEX_FALSE='#'
36690 else
36691   USE_SPEEX_TRUE='#'
36692   USE_SPEEX_FALSE=
36693 fi
36694
36695  if false; then
36696   USE_SUNAUDIO_TRUE=
36697   USE_SUNAUDIO_FALSE='#'
36698 else
36699   USE_SUNAUDIO_TRUE='#'
36700   USE_SUNAUDIO_FALSE=
36701 fi
36702
36703  if false; then
36704   USE_TAGLIB_TRUE=
36705   USE_TAGLIB_FALSE='#'
36706 else
36707   USE_TAGLIB_TRUE='#'
36708   USE_TAGLIB_FALSE=
36709 fi
36710
36711  if false; then
36712   USE_WAVPACK_TRUE=
36713   USE_WAVPACK_FALSE='#'
36714 else
36715   USE_WAVPACK_TRUE='#'
36716   USE_WAVPACK_FALSE=
36717 fi
36718
36719  if false; then
36720   USE_X_TRUE=
36721   USE_X_FALSE='#'
36722 else
36723   USE_X_TRUE='#'
36724   USE_X_FALSE=
36725 fi
36726
36727  if false; then
36728   USE_XSHM_TRUE=
36729   USE_XSHM_FALSE='#'
36730 else
36731   USE_XSHM_TRUE='#'
36732   USE_XSHM_FALSE=
36733 fi
36734
36735  if false; then
36736   USE_XVIDEO_TRUE=
36737   USE_XVIDEO_FALSE='#'
36738 else
36739   USE_XVIDEO_TRUE='#'
36740   USE_XVIDEO_FALSE=
36741 fi
36742
36743  if false; then
36744   USE_ZLIB_TRUE=
36745   USE_ZLIB_FALSE='#'
36746 else
36747   USE_ZLIB_TRUE='#'
36748   USE_ZLIB_FALSE=
36749 fi
36750
36751
36752 fi
36753
36754
36755 if test "x$USE_DEBUG" = xyes; then
36756    PROFILE_CFLAGS="-g"
36757 fi
36758
36759
36760 if test "x$PACKAGE_VERSION_NANO" = "x1"; then
36761     DEPRECATED_CFLAGS="-DGST_DISABLE_DEPRECATED"
36762 else
36763   DEPRECATED_CFLAGS=""
36764 fi
36765
36766
36767 GST_OPTION_CFLAGS="\$(WARNING_CFLAGS) \$(ERROR_CFLAGS) \$(DEBUG_CFLAGS) \$(PROFILE_CFLAGS) \$(GCOV_CFLAGS) \$(OPT_CFLAGS) \$(DEPRECATED_CFLAGS)"
36768 GST_OPTION_CXXFLAGS="\$(WARNING_CXXFLAGS) \$(ERROR_CXXFLAGS) \$(DEBUG_CFLAGS) \$(PROFILE_CFLAGS) \$(GCOV_CFLAGS) \$(OPT_CFLAGS) \$(DEPRECATED_CFLAGS)"
36769
36770
36771
36772
36773
36774 GST_CXXFLAGS="-I\$(top_srcdir)/gst-libs $GST_CFLAGS $GLIB_EXTRA_CFLAGS \$(GST_OPTION_CXXFLAGS)"
36775 GST_CFLAGS="-I\$(top_srcdir)/gst-libs $GST_CFLAGS $GLIB_EXTRA_CFLAGS \$(GST_OPTION_CFLAGS)"
36776
36777
36778
36779
36780 GST_ALL_LDFLAGS="-no-undefined"
36781
36782
36783 GST_PLUGIN_LDFLAGS="-module -avoid-version -export-symbols-regex '^_*gst_plugin_desc.*' $GST_ALL_LDFLAGS"
36784
36785
36786
36787 ac_config_files="$ac_config_files Makefile gst/Makefile gst/alpha/Makefile gst/apetag/Makefile gst/audiofx/Makefile gst/audioparsers/Makefile gst/auparse/Makefile gst/autodetect/Makefile gst/avi/Makefile gst/cutter/Makefile gst/deinterlace/Makefile gst/debugutils/Makefile gst/effectv/Makefile gst/equalizer/Makefile gst/flv/Makefile gst/goom/Makefile gst/goom2k1/Makefile gst/id3demux/Makefile gst/icydemux/Makefile gst/imagefreeze/Makefile gst/interleave/Makefile gst/isomp4/Makefile gst/law/Makefile gst/level/Makefile gst/matroska/Makefile gst/monoscope/Makefile gst/multifile/Makefile gst/multipart/Makefile gst/replaygain/Makefile gst/rtp/Makefile gst/rtpmanager/Makefile gst/rtsp/Makefile gst/shapewipe/Makefile gst/smpte/Makefile gst/spectrum/Makefile gst/udp/Makefile gst/videobox/Makefile gst/videocrop/Makefile gst/videofilter/Makefile gst/videomixer/Makefile gst/wavenc/Makefile gst/wavparse/Makefile gst/flx/Makefile gst/y4m/Makefile ext/Makefile ext/aalib/Makefile ext/annodex/Makefile ext/cairo/Makefile ext/dv/Makefile ext/esd/Makefile ext/flac/Makefile ext/gconf/Makefile ext/gdk_pixbuf/Makefile ext/hal/Makefile ext/jack/Makefile ext/jpeg/Makefile ext/libcaca/Makefile ext/libpng/Makefile ext/pulse/Makefile ext/raw1394/Makefile ext/shout2/Makefile ext/soup/Makefile ext/speex/Makefile ext/taglib/Makefile ext/wavpack/Makefile sys/Makefile sys/directsound/Makefile sys/oss/Makefile sys/oss4/Makefile sys/osxaudio/Makefile sys/osxvideo/Makefile sys/sunaudio/Makefile sys/v4l2/Makefile sys/waveform/Makefile sys/ximage/Makefile po/Makefile.in tests/Makefile tests/check/Makefile tests/examples/Makefile tests/examples/audiofx/Makefile tests/examples/cairo/Makefile tests/examples/equalizer/Makefile tests/examples/jack/Makefile tests/examples/level/Makefile tests/examples/pulse/Makefile tests/examples/rtp/Makefile tests/examples/shapewipe/Makefile tests/examples/spectrum/Makefile tests/examples/v4l2/Makefile tests/files/Makefile tests/icles/Makefile gconf/Makefile gconf/gstreamer.schemas common/Makefile common/m4/Makefile m4/Makefile docs/Makefile docs/plugins/Makefile docs/version.entities pkgconfig/Makefile pkgconfig/gstreamer-plugins-good-uninstalled.pc gst-plugins-good.spec"
36788
36789
36790 sed \
36791     -e 's/.*config.h.in.*autoheader.*/\/* Autogenerated config.h created for win32 Visual Studio builds *\/\n\n\/* PREFIX -- specifically added for Windows for easier moving *\/\n#define PREFIX "C:\\\\gstreamer"\n\n#define GST_INSTALL_PLUGINS_HELPER PREFIX "\\\\libexec\\\\gst-install-plugins-helper.exe"/' \
36792     -e 's/.* GETTEXT_PACKAGE$/#define GETTEXT_PACKAGE "'$GETTEXT_PACKAGE'"/' \
36793     -e 's/.* GST_DATADIR$/#define GST_DATADIR PREFIX "\\\\share"/' \
36794     -e 's/.* GST_LEVEL_DEFAULT$/#define GST_LEVEL_DEFAULT GST_LEVEL_ERROR/' \
36795     -e 's/.* GST_LICENSE$/#define GST_LICENSE "'$GST_LICENSE'"/' \
36796     -e 's/.* GST_MAJORMINOR$/#define GST_MAJORMINOR "'$GST_MAJORMINOR'"/' \
36797     -e "s,.* GST_PACKAGE_NAME$,#define GST_PACKAGE_NAME \"${GST_PACKAGE_NAME}\"," \
36798     -e 's/.* GST_PACKAGE_ORIGIN$/#define GST_PACKAGE_ORIGIN "Unknown package origin"/' \
36799     -e "s,.* GST_PACKAGE_RELEASE_DATETIME$,#define GST_PACKAGE_RELEASE_DATETIME \"${GST_PACKAGE_RELEASE_DATETIME}\"," \
36800     -e 's/.* HAVE_CPU_I386$/#define HAVE_CPU_I386 1/' \
36801     -e 's/.* HAVE_FGETPOS$/#define HAVE_FGETPOS 1/' \
36802     -e 's/.* HAVE_FSETPOS$/#define HAVE_FSETPOS 1/' \
36803     -e 's/.* HAVE_LIBXML2$/#define HAVE_LIBXML2 1/' \
36804     -e 's/.* HAVE_PROCESS_H$/#define HAVE_PROCESS_H 1/' \
36805     -e 's/.* HAVE_STDLIB_H$/#define HAVE_STDLIB_H 1/' \
36806     -e 's/.* HAVE_STRING_H$/#define HAVE_STRING_H 1/' \
36807     -e 's/.* HAVE_SYS_STAT_H$/#define HAVE_SYS_STAT_H 1/' \
36808     -e 's/.* HAVE_SYS_TYPES_H$/#define HAVE_SYS_TYPES_H 1/' \
36809     -e 's/.* HAVE_WIN32$/#define HAVE_WIN32 1/' \
36810     -e 's/.* HAVE_WINSOCK2_H$/#define HAVE_WINSOCK2_H 1/' \
36811     -e 's/.* HOST_CPU$/#define HOST_CPU "i686"/' \
36812     -e 's/.* LIBDIR$/#ifdef _DEBUG\n#  define LIBDIR PREFIX "\\\\debug\\\\lib"\n#else\n#  define LIBDIR PREFIX "\\\\lib"\n#endif/' \
36813     -e 's/.* LOCALEDIR$/#define LOCALEDIR PREFIX "\\\\share\\\\locale"/' \
36814     -e "s/.* PACKAGE$/#define PACKAGE \"$PACKAGE\"/" \
36815     -e 's/.* PACKAGE_BUGREPORT$/#define PACKAGE_BUGREPORT "http:\/\/bugzilla.gnome.org\/enter_bug.cgi?product=GStreamer"/' \
36816     -e "s/.* PACKAGE_NAME$/#define PACKAGE_NAME \"$PACKAGE_NAME\"/" \
36817     -e "s/.* PACKAGE_STRING$/#define PACKAGE_STRING \"$PACKAGE_STRING\"/" \
36818     -e 's/.* PACKAGE_TARNAME$/#define PACKAGE_TARNAME "'$PACKAGE_TARNAME'"/' \
36819     -e 's/.* PACKAGE_VERSION$/#define PACKAGE_VERSION "'$PACKAGE_VERSION'"/' \
36820     -e 's/.* PLUGINDIR$/#ifdef _DEBUG\n#  define PLUGINDIR PREFIX "\\\\debug\\\\lib\\\\gstreamer-0.10"\n#else\n#  define PLUGINDIR PREFIX "\\\\lib\\\\gstreamer-0.10"\n#endif/' \
36821     -e 's/.* USE_BINARY_REGISTRY$/#define USE_BINARY_REGISTRY/' \
36822     -e 's/.* VERSION$/#define VERSION "'$VERSION'"/' \
36823     -e "s/.* DEFAULT_AUDIOSINK$/#define DEFAULT_AUDIOSINK \"directsoundsink\"/" \
36824     -e "s/.* DEFAULT_AUDIOSRC$/#define DEFAULT_AUDIOSRC \"audiotestsrc\"/" \
36825     -e "s/.* DEFAULT_VIDEOSRC$/#define DEFAULT_VIDEOSRC \"videotestsrc\"/" \
36826     -e "s/.* DEFAULT_VISUALIZER$/#define DEFAULT_VISUALIZER \"goom\"/" \
36827     config.h.in >win32/common/config.h-new
36828
36829 cat >confcache <<\_ACEOF
36830 # This file is a shell script that caches the results of configure
36831 # tests run on this system so they can be shared between configure
36832 # scripts and configure runs, see configure's option --config-cache.
36833 # It is not useful on other systems.  If it contains results you don't
36834 # want to keep, you may remove or edit it.
36835 #
36836 # config.status only pays attention to the cache file if you give it
36837 # the --recheck option to rerun configure.
36838 #
36839 # `ac_cv_env_foo' variables (set or unset) will be overridden when
36840 # loading this file, other *unset* `ac_cv_foo' will be assigned the
36841 # following values.
36842
36843 _ACEOF
36844
36845 # The following way of writing the cache mishandles newlines in values,
36846 # but we know of no workaround that is simple, portable, and efficient.
36847 # So, we kill variables containing newlines.
36848 # Ultrix sh set writes to stderr and can't be redirected directly,
36849 # and sets the high bit in the cache file unless we assign to the vars.
36850 (
36851   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
36852     eval ac_val=\$$ac_var
36853     case $ac_val in #(
36854     *${as_nl}*)
36855       case $ac_var in #(
36856       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
36857 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
36858       esac
36859       case $ac_var in #(
36860       _ | IFS | as_nl) ;; #(
36861       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
36862       *) { eval $ac_var=; unset $ac_var;} ;;
36863       esac ;;
36864     esac
36865   done
36866
36867   (set) 2>&1 |
36868     case $as_nl`(ac_space=' '; set) 2>&1` in #(
36869     *${as_nl}ac_space=\ *)
36870       # `set' does not quote correctly, so add quotes: double-quote
36871       # substitution turns \\\\ into \\, and sed turns \\ into \.
36872       sed -n \
36873         "s/'/'\\\\''/g;
36874           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
36875       ;; #(
36876     *)
36877       # `set' quotes correctly as required by POSIX, so do not add quotes.
36878       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
36879       ;;
36880     esac |
36881     sort
36882 ) |
36883   sed '
36884      /^ac_cv_env_/b end
36885      t clear
36886      :clear
36887      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
36888      t end
36889      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
36890      :end' >>confcache
36891 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
36892   if test -w "$cache_file"; then
36893     if test "x$cache_file" != "x/dev/null"; then
36894       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
36895 $as_echo "$as_me: updating cache $cache_file" >&6;}
36896       if test ! -f "$cache_file" || test -h "$cache_file"; then
36897         cat confcache >"$cache_file"
36898       else
36899         case $cache_file in #(
36900         */* | ?:*)
36901           mv -f confcache "$cache_file"$$ &&
36902           mv -f "$cache_file"$$ "$cache_file" ;; #(
36903         *)
36904           mv -f confcache "$cache_file" ;;
36905         esac
36906       fi
36907     fi
36908   else
36909     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
36910 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
36911   fi
36912 fi
36913 rm -f confcache
36914
36915 test "x$prefix" = xNONE && prefix=$ac_default_prefix
36916 # Let make expand exec_prefix.
36917 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
36918
36919 DEFS=-DHAVE_CONFIG_H
36920
36921 ac_libobjs=
36922 ac_ltlibobjs=
36923 U=
36924 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
36925   # 1. Remove the extension, and $U if already installed.
36926   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
36927   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
36928   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
36929   #    will be set to the directory where LIBOBJS objects are built.
36930   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
36931   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
36932 done
36933 LIBOBJS=$ac_libobjs
36934
36935 LTLIBOBJS=$ac_ltlibobjs
36936
36937
36938  if test -n "$EXEEXT"; then
36939   am__EXEEXT_TRUE=
36940   am__EXEEXT_FALSE='#'
36941 else
36942   am__EXEEXT_TRUE='#'
36943   am__EXEEXT_FALSE=
36944 fi
36945
36946 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
36947   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
36948 Usually this means the macro was only invoked conditionally." "$LINENO" 5
36949 fi
36950 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
36951   as_fn_error $? "conditional \"AMDEP\" was never defined.
36952 Usually this means the macro was only invoked conditionally." "$LINENO" 5
36953 fi
36954 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
36955   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
36956 Usually this means the macro was only invoked conditionally." "$LINENO" 5
36957 fi
36958 if test -z "${GST_GCOV_ENABLED_TRUE}" && test -z "${GST_GCOV_ENABLED_FALSE}"; then
36959   as_fn_error $? "conditional \"GST_GCOV_ENABLED\" was never defined.
36960 Usually this means the macro was only invoked conditionally." "$LINENO" 5
36961 fi
36962 if test -z "${BUILD_EXAMPLES_TRUE}" && test -z "${BUILD_EXAMPLES_FALSE}"; then
36963   as_fn_error $? "conditional \"BUILD_EXAMPLES\" was never defined.
36964 Usually this means the macro was only invoked conditionally." "$LINENO" 5
36965 fi
36966 if test -z "${USE_EXTERNAL_TRUE}" && test -z "${USE_EXTERNAL_FALSE}"; then
36967   as_fn_error $? "conditional \"USE_EXTERNAL\" was never defined.
36968 Usually this means the macro was only invoked conditionally." "$LINENO" 5
36969 fi
36970 if test -z "${BUILD_EXTERNAL_TRUE}" && test -z "${BUILD_EXTERNAL_FALSE}"; then
36971   as_fn_error $? "conditional \"BUILD_EXTERNAL\" was never defined.
36972 Usually this means the macro was only invoked conditionally." "$LINENO" 5
36973 fi
36974 if test -z "${USE_EXPERIMENTAL_TRUE}" && test -z "${USE_EXPERIMENTAL_FALSE}"; then
36975   as_fn_error $? "conditional \"USE_EXPERIMENTAL\" was never defined.
36976 Usually this means the macro was only invoked conditionally." "$LINENO" 5
36977 fi
36978 if test -z "${BUILD_EXPERIMENTAL_TRUE}" && test -z "${BUILD_EXPERIMENTAL_FALSE}"; then
36979   as_fn_error $? "conditional \"BUILD_EXPERIMENTAL\" was never defined.
36980 Usually this means the macro was only invoked conditionally." "$LINENO" 5
36981 fi
36982
36983 if test -z "${HAVE_CPU_I386_TRUE}" && test -z "${HAVE_CPU_I386_FALSE}"; then
36984   as_fn_error $? "conditional \"HAVE_CPU_I386\" was never defined.
36985 Usually this means the macro was only invoked conditionally." "$LINENO" 5
36986 fi
36987 if test -z "${HAVE_CPU_PPC_TRUE}" && test -z "${HAVE_CPU_PPC_FALSE}"; then
36988   as_fn_error $? "conditional \"HAVE_CPU_PPC\" was never defined.
36989 Usually this means the macro was only invoked conditionally." "$LINENO" 5
36990 fi
36991 if test -z "${HAVE_CPU_PPC64_TRUE}" && test -z "${HAVE_CPU_PPC64_FALSE}"; then
36992   as_fn_error $? "conditional \"HAVE_CPU_PPC64\" was never defined.
36993 Usually this means the macro was only invoked conditionally." "$LINENO" 5
36994 fi
36995 if test -z "${HAVE_CPU_ALPHA_TRUE}" && test -z "${HAVE_CPU_ALPHA_FALSE}"; then
36996   as_fn_error $? "conditional \"HAVE_CPU_ALPHA\" was never defined.
36997 Usually this means the macro was only invoked conditionally." "$LINENO" 5
36998 fi
36999 if test -z "${HAVE_CPU_ARM_TRUE}" && test -z "${HAVE_CPU_ARM_FALSE}"; then
37000   as_fn_error $? "conditional \"HAVE_CPU_ARM\" was never defined.
37001 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37002 fi
37003 if test -z "${HAVE_CPU_SPARC_TRUE}" && test -z "${HAVE_CPU_SPARC_FALSE}"; then
37004   as_fn_error $? "conditional \"HAVE_CPU_SPARC\" was never defined.
37005 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37006 fi
37007 if test -z "${HAVE_CPU_HPPA_TRUE}" && test -z "${HAVE_CPU_HPPA_FALSE}"; then
37008   as_fn_error $? "conditional \"HAVE_CPU_HPPA\" was never defined.
37009 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37010 fi
37011 if test -z "${HAVE_CPU_MIPS_TRUE}" && test -z "${HAVE_CPU_MIPS_FALSE}"; then
37012   as_fn_error $? "conditional \"HAVE_CPU_MIPS\" was never defined.
37013 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37014 fi
37015 if test -z "${HAVE_CPU_S390_TRUE}" && test -z "${HAVE_CPU_S390_FALSE}"; then
37016   as_fn_error $? "conditional \"HAVE_CPU_S390\" was never defined.
37017 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37018 fi
37019 if test -z "${HAVE_CPU_IA64_TRUE}" && test -z "${HAVE_CPU_IA64_FALSE}"; then
37020   as_fn_error $? "conditional \"HAVE_CPU_IA64\" was never defined.
37021 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37022 fi
37023 if test -z "${HAVE_CPU_M68K_TRUE}" && test -z "${HAVE_CPU_M68K_FALSE}"; then
37024   as_fn_error $? "conditional \"HAVE_CPU_M68K\" was never defined.
37025 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37026 fi
37027 if test -z "${HAVE_CPU_X86_64_TRUE}" && test -z "${HAVE_CPU_X86_64_FALSE}"; then
37028   as_fn_error $? "conditional \"HAVE_CPU_X86_64\" was never defined.
37029 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37030 fi
37031 if test -z "${HAVE_CPU_CRIS_TRUE}" && test -z "${HAVE_CPU_CRIS_FALSE}"; then
37032   as_fn_error $? "conditional \"HAVE_CPU_CRIS\" was never defined.
37033 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37034 fi
37035 if test -z "${HAVE_CPU_CRISV32_TRUE}" && test -z "${HAVE_CPU_CRISV32_FALSE}"; then
37036   as_fn_error $? "conditional \"HAVE_CPU_CRISV32\" was never defined.
37037 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37038 fi
37039
37040 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
37041   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
37042 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37043 fi
37044 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
37045   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
37046 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37047 fi
37048 if test -z "${am__fastdepOBJC_TRUE}" && test -z "${am__fastdepOBJC_FALSE}"; then
37049   as_fn_error $? "conditional \"am__fastdepOBJC\" was never defined.
37050 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37051 fi
37052 if test -z "${am__fastdepOBJC_TRUE}" && test -z "${am__fastdepOBJC_FALSE}"; then
37053   as_fn_error $? "conditional \"am__fastdepOBJC\" was never defined.
37054 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37055 fi
37056 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
37057   as_fn_error $? "conditional \"am__fastdepCCAS\" was never defined.
37058 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37059 fi
37060 if test -z "${HAVE_VALGRIND_TRUE}" && test -z "${HAVE_VALGRIND_FALSE}"; then
37061   as_fn_error $? "conditional \"HAVE_VALGRIND\" was never defined.
37062 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37063 fi
37064 if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then
37065   as_fn_error $? "conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
37066 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37067 fi
37068 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
37069   as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
37070 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37071 fi
37072 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
37073   as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
37074 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37075 fi
37076 if test -z "${ENABLE_PLUGIN_DOCS_TRUE}" && test -z "${ENABLE_PLUGIN_DOCS_FALSE}"; then
37077   as_fn_error $? "conditional \"ENABLE_PLUGIN_DOCS\" was never defined.
37078 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37079 fi
37080 if test -z "${HAVE_WINSOCK2_H_TRUE}" && test -z "${HAVE_WINSOCK2_H_FALSE}"; then
37081   as_fn_error $? "conditional \"HAVE_WINSOCK2_H\" was never defined.
37082 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37083 fi
37084 if test -z "${HAVE_GCC_ASM_TRUE}" && test -z "${HAVE_GCC_ASM_FALSE}"; then
37085   as_fn_error $? "conditional \"HAVE_GCC_ASM\" was never defined.
37086 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37087 fi
37088 if test -z "${GST_HAVE_MMAP_TRUE}" && test -z "${GST_HAVE_MMAP_FALSE}"; then
37089   as_fn_error $? "conditional \"GST_HAVE_MMAP\" was never defined.
37090 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37091 fi
37092 if test -z "${HAVE_ORC_TRUE}" && test -z "${HAVE_ORC_FALSE}"; then
37093   as_fn_error $? "conditional \"HAVE_ORC\" was never defined.
37094 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37095 fi
37096 if test -z "${HAVE_ORCC_TRUE}" && test -z "${HAVE_ORCC_FALSE}"; then
37097   as_fn_error $? "conditional \"HAVE_ORCC\" was never defined.
37098 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37099 fi
37100 if test -z "${HAVE_GST_CHECK_TRUE}" && test -z "${HAVE_GST_CHECK_FALSE}"; then
37101   as_fn_error $? "conditional \"HAVE_GST_CHECK\" was never defined.
37102 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37103 fi
37104 if test -z "${HAVE_GTK_TRUE}" && test -z "${HAVE_GTK_FALSE}"; then
37105   as_fn_error $? "conditional \"HAVE_GTK\" was never defined.
37106 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37107 fi
37108 if test -z "${HAVE_GTK_X11_TRUE}" && test -z "${HAVE_GTK_X11_FALSE}"; then
37109   as_fn_error $? "conditional \"HAVE_GTK_X11\" was never defined.
37110 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37111 fi
37112 if test -z "${USE_GCONFTOOL_TRUE}" && test -z "${USE_GCONFTOOL_FALSE}"; then
37113   as_fn_error $? "conditional \"USE_GCONFTOOL\" was never defined.
37114 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37115 fi
37116 if test -z "${USE_PLUGIN_VIDEOFILTER_TRUE}" && test -z "${USE_PLUGIN_VIDEOFILTER_FALSE}"; then
37117   as_fn_error $? "conditional \"USE_PLUGIN_VIDEOFILTER\" was never defined.
37118 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37119 fi
37120 if test -z "${USE_PLUGIN_ALPHA_TRUE}" && test -z "${USE_PLUGIN_ALPHA_FALSE}"; then
37121   as_fn_error $? "conditional \"USE_PLUGIN_ALPHA\" was never defined.
37122 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37123 fi
37124 if test -z "${USE_PLUGIN_APETAG_TRUE}" && test -z "${USE_PLUGIN_APETAG_FALSE}"; then
37125   as_fn_error $? "conditional \"USE_PLUGIN_APETAG\" was never defined.
37126 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37127 fi
37128 if test -z "${USE_PLUGIN_AUDIOFX_TRUE}" && test -z "${USE_PLUGIN_AUDIOFX_FALSE}"; then
37129   as_fn_error $? "conditional \"USE_PLUGIN_AUDIOFX\" was never defined.
37130 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37131 fi
37132 if test -z "${USE_PLUGIN_AUDIOPARSERS_TRUE}" && test -z "${USE_PLUGIN_AUDIOPARSERS_FALSE}"; then
37133   as_fn_error $? "conditional \"USE_PLUGIN_AUDIOPARSERS\" was never defined.
37134 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37135 fi
37136 if test -z "${USE_PLUGIN_AUPARSE_TRUE}" && test -z "${USE_PLUGIN_AUPARSE_FALSE}"; then
37137   as_fn_error $? "conditional \"USE_PLUGIN_AUPARSE\" was never defined.
37138 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37139 fi
37140 if test -z "${USE_PLUGIN_AUTODETECT_TRUE}" && test -z "${USE_PLUGIN_AUTODETECT_FALSE}"; then
37141   as_fn_error $? "conditional \"USE_PLUGIN_AUTODETECT\" was never defined.
37142 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37143 fi
37144 if test -z "${USE_PLUGIN_AVI_TRUE}" && test -z "${USE_PLUGIN_AVI_FALSE}"; then
37145   as_fn_error $? "conditional \"USE_PLUGIN_AVI\" was never defined.
37146 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37147 fi
37148 if test -z "${USE_PLUGIN_CUTTER_TRUE}" && test -z "${USE_PLUGIN_CUTTER_FALSE}"; then
37149   as_fn_error $? "conditional \"USE_PLUGIN_CUTTER\" was never defined.
37150 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37151 fi
37152 if test -z "${USE_PLUGIN_DEBUGUTILS_TRUE}" && test -z "${USE_PLUGIN_DEBUGUTILS_FALSE}"; then
37153   as_fn_error $? "conditional \"USE_PLUGIN_DEBUGUTILS\" was never defined.
37154 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37155 fi
37156 if test -z "${USE_PLUGIN_DEINTERLACE_TRUE}" && test -z "${USE_PLUGIN_DEINTERLACE_FALSE}"; then
37157   as_fn_error $? "conditional \"USE_PLUGIN_DEINTERLACE\" was never defined.
37158 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37159 fi
37160 if test -z "${USE_PLUGIN_EFFECTV_TRUE}" && test -z "${USE_PLUGIN_EFFECTV_FALSE}"; then
37161   as_fn_error $? "conditional \"USE_PLUGIN_EFFECTV\" was never defined.
37162 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37163 fi
37164 if test -z "${USE_PLUGIN_EQUALIZER_TRUE}" && test -z "${USE_PLUGIN_EQUALIZER_FALSE}"; then
37165   as_fn_error $? "conditional \"USE_PLUGIN_EQUALIZER\" was never defined.
37166 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37167 fi
37168 if test -z "${USE_PLUGIN_FLV_TRUE}" && test -z "${USE_PLUGIN_FLV_FALSE}"; then
37169   as_fn_error $? "conditional \"USE_PLUGIN_FLV\" was never defined.
37170 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37171 fi
37172 if test -z "${USE_PLUGIN_ID3DEMUX_TRUE}" && test -z "${USE_PLUGIN_ID3DEMUX_FALSE}"; then
37173   as_fn_error $? "conditional \"USE_PLUGIN_ID3DEMUX\" was never defined.
37174 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37175 fi
37176 if test -z "${USE_PLUGIN_ICYDEMUX_TRUE}" && test -z "${USE_PLUGIN_ICYDEMUX_FALSE}"; then
37177   as_fn_error $? "conditional \"USE_PLUGIN_ICYDEMUX\" was never defined.
37178 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37179 fi
37180 if test -z "${USE_PLUGIN_INTERLEAVE_TRUE}" && test -z "${USE_PLUGIN_INTERLEAVE_FALSE}"; then
37181   as_fn_error $? "conditional \"USE_PLUGIN_INTERLEAVE\" was never defined.
37182 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37183 fi
37184 if test -z "${USE_PLUGIN_FLX_TRUE}" && test -z "${USE_PLUGIN_FLX_FALSE}"; then
37185   as_fn_error $? "conditional \"USE_PLUGIN_FLX\" was never defined.
37186 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37187 fi
37188 if test -z "${USE_PLUGIN_GOOM_TRUE}" && test -z "${USE_PLUGIN_GOOM_FALSE}"; then
37189   as_fn_error $? "conditional \"USE_PLUGIN_GOOM\" was never defined.
37190 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37191 fi
37192 if test -z "${USE_PLUGIN_GOOM2K1_TRUE}" && test -z "${USE_PLUGIN_GOOM2K1_FALSE}"; then
37193   as_fn_error $? "conditional \"USE_PLUGIN_GOOM2K1\" was never defined.
37194 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37195 fi
37196 if test -z "${USE_PLUGIN_IMAGEFREEZE_TRUE}" && test -z "${USE_PLUGIN_IMAGEFREEZE_FALSE}"; then
37197   as_fn_error $? "conditional \"USE_PLUGIN_IMAGEFREEZE\" was never defined.
37198 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37199 fi
37200 if test -z "${USE_PLUGIN_ISOMP4_TRUE}" && test -z "${USE_PLUGIN_ISOMP4_FALSE}"; then
37201   as_fn_error $? "conditional \"USE_PLUGIN_ISOMP4\" was never defined.
37202 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37203 fi
37204 if test -z "${USE_PLUGIN_LAW_TRUE}" && test -z "${USE_PLUGIN_LAW_FALSE}"; then
37205   as_fn_error $? "conditional \"USE_PLUGIN_LAW\" was never defined.
37206 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37207 fi
37208 if test -z "${USE_PLUGIN_LEVEL_TRUE}" && test -z "${USE_PLUGIN_LEVEL_FALSE}"; then
37209   as_fn_error $? "conditional \"USE_PLUGIN_LEVEL\" was never defined.
37210 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37211 fi
37212 if test -z "${USE_PLUGIN_MATROSKA_TRUE}" && test -z "${USE_PLUGIN_MATROSKA_FALSE}"; then
37213   as_fn_error $? "conditional \"USE_PLUGIN_MATROSKA\" was never defined.
37214 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37215 fi
37216 if test -z "${USE_PLUGIN_MONOSCOPE_TRUE}" && test -z "${USE_PLUGIN_MONOSCOPE_FALSE}"; then
37217   as_fn_error $? "conditional \"USE_PLUGIN_MONOSCOPE\" was never defined.
37218 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37219 fi
37220 if test -z "${USE_PLUGIN_MULTIFILE_TRUE}" && test -z "${USE_PLUGIN_MULTIFILE_FALSE}"; then
37221   as_fn_error $? "conditional \"USE_PLUGIN_MULTIFILE\" was never defined.
37222 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37223 fi
37224 if test -z "${USE_PLUGIN_MULTIPART_TRUE}" && test -z "${USE_PLUGIN_MULTIPART_FALSE}"; then
37225   as_fn_error $? "conditional \"USE_PLUGIN_MULTIPART\" was never defined.
37226 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37227 fi
37228 if test -z "${USE_PLUGIN_REPLAYGAIN_TRUE}" && test -z "${USE_PLUGIN_REPLAYGAIN_FALSE}"; then
37229   as_fn_error $? "conditional \"USE_PLUGIN_REPLAYGAIN\" was never defined.
37230 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37231 fi
37232 if test -z "${USE_PLUGIN_RTP_TRUE}" && test -z "${USE_PLUGIN_RTP_FALSE}"; then
37233   as_fn_error $? "conditional \"USE_PLUGIN_RTP\" was never defined.
37234 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37235 fi
37236 if test -z "${USE_PLUGIN_RTPMANAGER_TRUE}" && test -z "${USE_PLUGIN_RTPMANAGER_FALSE}"; then
37237   as_fn_error $? "conditional \"USE_PLUGIN_RTPMANAGER\" was never defined.
37238 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37239 fi
37240 if test -z "${USE_PLUGIN_RTSP_TRUE}" && test -z "${USE_PLUGIN_RTSP_FALSE}"; then
37241   as_fn_error $? "conditional \"USE_PLUGIN_RTSP\" was never defined.
37242 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37243 fi
37244 if test -z "${USE_PLUGIN_SHAPEWIPE_TRUE}" && test -z "${USE_PLUGIN_SHAPEWIPE_FALSE}"; then
37245   as_fn_error $? "conditional \"USE_PLUGIN_SHAPEWIPE\" was never defined.
37246 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37247 fi
37248 if test -z "${USE_PLUGIN_SMPTE_TRUE}" && test -z "${USE_PLUGIN_SMPTE_FALSE}"; then
37249   as_fn_error $? "conditional \"USE_PLUGIN_SMPTE\" was never defined.
37250 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37251 fi
37252 if test -z "${USE_PLUGIN_SPECTRUM_TRUE}" && test -z "${USE_PLUGIN_SPECTRUM_FALSE}"; then
37253   as_fn_error $? "conditional \"USE_PLUGIN_SPECTRUM\" was never defined.
37254 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37255 fi
37256 if test -z "${USE_PLUGIN_UDP_TRUE}" && test -z "${USE_PLUGIN_UDP_FALSE}"; then
37257   as_fn_error $? "conditional \"USE_PLUGIN_UDP\" was never defined.
37258 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37259 fi
37260 if test -z "${USE_PLUGIN_VIDEOBOX_TRUE}" && test -z "${USE_PLUGIN_VIDEOBOX_FALSE}"; then
37261   as_fn_error $? "conditional \"USE_PLUGIN_VIDEOBOX\" was never defined.
37262 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37263 fi
37264 if test -z "${USE_PLUGIN_VIDEOCROP_TRUE}" && test -z "${USE_PLUGIN_VIDEOCROP_FALSE}"; then
37265   as_fn_error $? "conditional \"USE_PLUGIN_VIDEOCROP\" was never defined.
37266 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37267 fi
37268 if test -z "${USE_PLUGIN_VIDEOMIXER_TRUE}" && test -z "${USE_PLUGIN_VIDEOMIXER_FALSE}"; then
37269   as_fn_error $? "conditional \"USE_PLUGIN_VIDEOMIXER\" was never defined.
37270 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37271 fi
37272 if test -z "${USE_PLUGIN_WAVENC_TRUE}" && test -z "${USE_PLUGIN_WAVENC_FALSE}"; then
37273   as_fn_error $? "conditional \"USE_PLUGIN_WAVENC\" was never defined.
37274 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37275 fi
37276 if test -z "${USE_PLUGIN_WAVPARSE_TRUE}" && test -z "${USE_PLUGIN_WAVPARSE_FALSE}"; then
37277   as_fn_error $? "conditional \"USE_PLUGIN_WAVPARSE\" was never defined.
37278 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37279 fi
37280 if test -z "${USE_PLUGIN_Y4M_TRUE}" && test -z "${USE_PLUGIN_Y4M_FALSE}"; then
37281   as_fn_error $? "conditional \"USE_PLUGIN_Y4M\" was never defined.
37282 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37283 fi
37284 if test -z "${USE_PLUGIN_UDP_TRUE}" && test -z "${USE_PLUGIN_UDP_FALSE}"; then
37285   as_fn_error $? "conditional \"USE_PLUGIN_UDP\" was never defined.
37286 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37287 fi
37288 if test -z "${USE_PLUGIN_RTSP_TRUE}" && test -z "${USE_PLUGIN_RTSP_FALSE}"; then
37289   as_fn_error $? "conditional \"USE_PLUGIN_RTSP\" was never defined.
37290 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37291 fi
37292 if test -z "${USE_PLUGIN_MONOSCOPE_TRUE}" && test -z "${USE_PLUGIN_MONOSCOPE_FALSE}"; then
37293   as_fn_error $? "conditional \"USE_PLUGIN_MONOSCOPE\" was never defined.
37294 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37295 fi
37296 if test -z "${USE_DIRECTSOUND_TRUE}" && test -z "${USE_DIRECTSOUND_FALSE}"; then
37297   as_fn_error $? "conditional \"USE_DIRECTSOUND\" was never defined.
37298 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37299 fi
37300 if test -z "${USE_OSS_TRUE}" && test -z "${USE_OSS_FALSE}"; then
37301   as_fn_error $? "conditional \"USE_OSS\" was never defined.
37302 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37303 fi
37304 if test -z "${USE_OSS4_TRUE}" && test -z "${USE_OSS4_FALSE}"; then
37305   as_fn_error $? "conditional \"USE_OSS4\" was never defined.
37306 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37307 fi
37308 if test -z "${USE_SUNAUDIO_TRUE}" && test -z "${USE_SUNAUDIO_FALSE}"; then
37309   as_fn_error $? "conditional \"USE_SUNAUDIO\" was never defined.
37310 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37311 fi
37312 if test -z "${USE_OSX_AUDIO_TRUE}" && test -z "${USE_OSX_AUDIO_FALSE}"; then
37313   as_fn_error $? "conditional \"USE_OSX_AUDIO\" was never defined.
37314 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37315 fi
37316 if test -z "${USE_OSX_VIDEO_TRUE}" && test -z "${USE_OSX_VIDEO_FALSE}"; then
37317   as_fn_error $? "conditional \"USE_OSX_VIDEO\" was never defined.
37318 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37319 fi
37320 if test -z "${USE_GST_V4L2_TRUE}" && test -z "${USE_GST_V4L2_FALSE}"; then
37321   as_fn_error $? "conditional \"USE_GST_V4L2\" was never defined.
37322 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37323 fi
37324 if test -z "${USE_X_TRUE}" && test -z "${USE_X_FALSE}"; then
37325   as_fn_error $? "conditional \"USE_X\" was never defined.
37326 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37327 fi
37328 if test -z "${USE_XSHM_TRUE}" && test -z "${USE_XSHM_FALSE}"; then
37329   as_fn_error $? "conditional \"USE_XSHM\" was never defined.
37330 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37331 fi
37332 if test -z "${USE_XVIDEO_TRUE}" && test -z "${USE_XVIDEO_FALSE}"; then
37333   as_fn_error $? "conditional \"USE_XVIDEO\" was never defined.
37334 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37335 fi
37336 if test -z "${USE_AALIB_TRUE}" && test -z "${USE_AALIB_FALSE}"; then
37337   as_fn_error $? "conditional \"USE_AALIB\" was never defined.
37338 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37339 fi
37340 if test -z "${USE_ANNODEX_TRUE}" && test -z "${USE_ANNODEX_FALSE}"; then
37341   as_fn_error $? "conditional \"USE_ANNODEX\" was never defined.
37342 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37343 fi
37344 if test -z "${USE_CAIRO_TRUE}" && test -z "${USE_CAIRO_FALSE}"; then
37345   as_fn_error $? "conditional \"USE_CAIRO\" was never defined.
37346 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37347 fi
37348 if test -z "${USE_CAIRO_GOBJECT_TRUE}" && test -z "${USE_CAIRO_GOBJECT_FALSE}"; then
37349   as_fn_error $? "conditional \"USE_CAIRO_GOBJECT\" was never defined.
37350 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37351 fi
37352 if test -z "${USE_ESD_TRUE}" && test -z "${USE_ESD_FALSE}"; then
37353   as_fn_error $? "conditional \"USE_ESD\" was never defined.
37354 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37355 fi
37356 if test -z "${USE_FLAC_TRUE}" && test -z "${USE_FLAC_FALSE}"; then
37357   as_fn_error $? "conditional \"USE_FLAC\" was never defined.
37358 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37359 fi
37360 if test -z "${USE_GCONF_TRUE}" && test -z "${USE_GCONF_FALSE}"; then
37361   as_fn_error $? "conditional \"USE_GCONF\" was never defined.
37362 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37363 fi
37364 if test -z "${USE_GDK_PIXBUF_TRUE}" && test -z "${USE_GDK_PIXBUF_FALSE}"; then
37365   as_fn_error $? "conditional \"USE_GDK_PIXBUF\" was never defined.
37366 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37367 fi
37368 if test -z "${USE_HAL_TRUE}" && test -z "${USE_HAL_FALSE}"; then
37369   as_fn_error $? "conditional \"USE_HAL\" was never defined.
37370 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37371 fi
37372 if test -z "${USE_JACK_TRUE}" && test -z "${USE_JACK_FALSE}"; then
37373   as_fn_error $? "conditional \"USE_JACK\" was never defined.
37374 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37375 fi
37376 if test -z "${USE_JPEG_TRUE}" && test -z "${USE_JPEG_FALSE}"; then
37377   as_fn_error $? "conditional \"USE_JPEG\" was never defined.
37378 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37379 fi
37380 if test -z "${USE_LIBCACA_TRUE}" && test -z "${USE_LIBCACA_FALSE}"; then
37381   as_fn_error $? "conditional \"USE_LIBCACA\" was never defined.
37382 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37383 fi
37384 if test -z "${USE_LIBDV_TRUE}" && test -z "${USE_LIBDV_FALSE}"; then
37385   as_fn_error $? "conditional \"USE_LIBDV\" was never defined.
37386 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37387 fi
37388 if test -z "${USE_LIBPNG_TRUE}" && test -z "${USE_LIBPNG_FALSE}"; then
37389   as_fn_error $? "conditional \"USE_LIBPNG\" was never defined.
37390 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37391 fi
37392 if test -z "${USE_PULSE_TRUE}" && test -z "${USE_PULSE_FALSE}"; then
37393   as_fn_error $? "conditional \"USE_PULSE\" was never defined.
37394 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37395 fi
37396 if test -z "${USE_DV1394_TRUE}" && test -z "${USE_DV1394_FALSE}"; then
37397   as_fn_error $? "conditional \"USE_DV1394\" was never defined.
37398 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37399 fi
37400 if test -z "${USE_LIBIEC61883_TRUE}" && test -z "${USE_LIBIEC61883_FALSE}"; then
37401   as_fn_error $? "conditional \"USE_LIBIEC61883\" was never defined.
37402 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37403 fi
37404 if test -z "${USE_SHOUT2_TRUE}" && test -z "${USE_SHOUT2_FALSE}"; then
37405   as_fn_error $? "conditional \"USE_SHOUT2\" was never defined.
37406 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37407 fi
37408 if test -z "${USE_SOUP_TRUE}" && test -z "${USE_SOUP_FALSE}"; then
37409   as_fn_error $? "conditional \"USE_SOUP\" was never defined.
37410 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37411 fi
37412 if test -z "${USE_SPEEX_TRUE}" && test -z "${USE_SPEEX_FALSE}"; then
37413   as_fn_error $? "conditional \"USE_SPEEX\" was never defined.
37414 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37415 fi
37416 if test -z "${USE_TAGLIB_TRUE}" && test -z "${USE_TAGLIB_FALSE}"; then
37417   as_fn_error $? "conditional \"USE_TAGLIB\" was never defined.
37418 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37419 fi
37420 if test -z "${USE_WAVPACK_TRUE}" && test -z "${USE_WAVPACK_FALSE}"; then
37421   as_fn_error $? "conditional \"USE_WAVPACK\" was never defined.
37422 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37423 fi
37424 if test -z "${USE_ZLIB_TRUE}" && test -z "${USE_ZLIB_FALSE}"; then
37425   as_fn_error $? "conditional \"USE_ZLIB\" was never defined.
37426 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37427 fi
37428 if test -z "${USE_BZ2_TRUE}" && test -z "${USE_BZ2_FALSE}"; then
37429   as_fn_error $? "conditional \"USE_BZ2\" was never defined.
37430 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37431 fi
37432 if test -z "${USE_AALIB_TRUE}" && test -z "${USE_AALIB_FALSE}"; then
37433   as_fn_error $? "conditional \"USE_AALIB\" was never defined.
37434 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37435 fi
37436 if test -z "${USE_ANNODEX_TRUE}" && test -z "${USE_ANNODEX_FALSE}"; then
37437   as_fn_error $? "conditional \"USE_ANNODEX\" was never defined.
37438 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37439 fi
37440 if test -z "${USE_BZ2_TRUE}" && test -z "${USE_BZ2_FALSE}"; then
37441   as_fn_error $? "conditional \"USE_BZ2\" was never defined.
37442 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37443 fi
37444 if test -z "${USE_CAIRO_TRUE}" && test -z "${USE_CAIRO_FALSE}"; then
37445   as_fn_error $? "conditional \"USE_CAIRO\" was never defined.
37446 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37447 fi
37448 if test -z "${USE_CAIRO_GOBJECT_TRUE}" && test -z "${USE_CAIRO_GOBJECT_FALSE}"; then
37449   as_fn_error $? "conditional \"USE_CAIRO_GOBJECT\" was never defined.
37450 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37451 fi
37452 if test -z "${USE_DIRECTSOUND_TRUE}" && test -z "${USE_DIRECTSOUND_FALSE}"; then
37453   as_fn_error $? "conditional \"USE_DIRECTSOUND\" was never defined.
37454 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37455 fi
37456 if test -z "${USE_DV1394_TRUE}" && test -z "${USE_DV1394_FALSE}"; then
37457   as_fn_error $? "conditional \"USE_DV1394\" was never defined.
37458 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37459 fi
37460 if test -z "${USE_ESD_TRUE}" && test -z "${USE_ESD_FALSE}"; then
37461   as_fn_error $? "conditional \"USE_ESD\" was never defined.
37462 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37463 fi
37464 if test -z "${USE_FLAC_TRUE}" && test -z "${USE_FLAC_FALSE}"; then
37465   as_fn_error $? "conditional \"USE_FLAC\" was never defined.
37466 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37467 fi
37468 if test -z "${USE_GCONF_TRUE}" && test -z "${USE_GCONF_FALSE}"; then
37469   as_fn_error $? "conditional \"USE_GCONF\" was never defined.
37470 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37471 fi
37472 if test -z "${USE_GCONFTOOL_TRUE}" && test -z "${USE_GCONFTOOL_FALSE}"; then
37473   as_fn_error $? "conditional \"USE_GCONFTOOL\" was never defined.
37474 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37475 fi
37476 if test -z "${USE_GDK_PIXBUF_TRUE}" && test -z "${USE_GDK_PIXBUF_FALSE}"; then
37477   as_fn_error $? "conditional \"USE_GDK_PIXBUF\" was never defined.
37478 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37479 fi
37480 if test -z "${USE_GST_V4L2_TRUE}" && test -z "${USE_GST_V4L2_FALSE}"; then
37481   as_fn_error $? "conditional \"USE_GST_V4L2\" was never defined.
37482 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37483 fi
37484 if test -z "${USE_HAL_TRUE}" && test -z "${USE_HAL_FALSE}"; then
37485   as_fn_error $? "conditional \"USE_HAL\" was never defined.
37486 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37487 fi
37488 if test -z "${USE_JACK_TRUE}" && test -z "${USE_JACK_FALSE}"; then
37489   as_fn_error $? "conditional \"USE_JACK\" was never defined.
37490 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37491 fi
37492 if test -z "${USE_JPEG_TRUE}" && test -z "${USE_JPEG_FALSE}"; then
37493   as_fn_error $? "conditional \"USE_JPEG\" was never defined.
37494 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37495 fi
37496 if test -z "${USE_LIBCACA_TRUE}" && test -z "${USE_LIBCACA_FALSE}"; then
37497   as_fn_error $? "conditional \"USE_LIBCACA\" was never defined.
37498 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37499 fi
37500 if test -z "${USE_LIBDV_TRUE}" && test -z "${USE_LIBDV_FALSE}"; then
37501   as_fn_error $? "conditional \"USE_LIBDV\" was never defined.
37502 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37503 fi
37504 if test -z "${USE_LIBIEC61883_TRUE}" && test -z "${USE_LIBIEC61883_FALSE}"; then
37505   as_fn_error $? "conditional \"USE_LIBIEC61883\" was never defined.
37506 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37507 fi
37508 if test -z "${USE_LIBPNG_TRUE}" && test -z "${USE_LIBPNG_FALSE}"; then
37509   as_fn_error $? "conditional \"USE_LIBPNG\" was never defined.
37510 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37511 fi
37512 if test -z "${USE_OSS_TRUE}" && test -z "${USE_OSS_FALSE}"; then
37513   as_fn_error $? "conditional \"USE_OSS\" was never defined.
37514 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37515 fi
37516 if test -z "${USE_OSS4_TRUE}" && test -z "${USE_OSS4_FALSE}"; then
37517   as_fn_error $? "conditional \"USE_OSS4\" was never defined.
37518 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37519 fi
37520 if test -z "${USE_OSX_AUDIO_TRUE}" && test -z "${USE_OSX_AUDIO_FALSE}"; then
37521   as_fn_error $? "conditional \"USE_OSX_AUDIO\" was never defined.
37522 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37523 fi
37524 if test -z "${USE_OSX_VIDEO_TRUE}" && test -z "${USE_OSX_VIDEO_FALSE}"; then
37525   as_fn_error $? "conditional \"USE_OSX_VIDEO\" was never defined.
37526 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37527 fi
37528 if test -z "${USE_PULSE_TRUE}" && test -z "${USE_PULSE_FALSE}"; then
37529   as_fn_error $? "conditional \"USE_PULSE\" was never defined.
37530 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37531 fi
37532 if test -z "${USE_SHOUT2_TRUE}" && test -z "${USE_SHOUT2_FALSE}"; then
37533   as_fn_error $? "conditional \"USE_SHOUT2\" was never defined.
37534 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37535 fi
37536 if test -z "${USE_SOUP_TRUE}" && test -z "${USE_SOUP_FALSE}"; then
37537   as_fn_error $? "conditional \"USE_SOUP\" was never defined.
37538 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37539 fi
37540 if test -z "${USE_SPEEX_TRUE}" && test -z "${USE_SPEEX_FALSE}"; then
37541   as_fn_error $? "conditional \"USE_SPEEX\" was never defined.
37542 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37543 fi
37544 if test -z "${USE_SUNAUDIO_TRUE}" && test -z "${USE_SUNAUDIO_FALSE}"; then
37545   as_fn_error $? "conditional \"USE_SUNAUDIO\" was never defined.
37546 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37547 fi
37548 if test -z "${USE_TAGLIB_TRUE}" && test -z "${USE_TAGLIB_FALSE}"; then
37549   as_fn_error $? "conditional \"USE_TAGLIB\" was never defined.
37550 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37551 fi
37552 if test -z "${USE_WAVPACK_TRUE}" && test -z "${USE_WAVPACK_FALSE}"; then
37553   as_fn_error $? "conditional \"USE_WAVPACK\" was never defined.
37554 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37555 fi
37556 if test -z "${USE_X_TRUE}" && test -z "${USE_X_FALSE}"; then
37557   as_fn_error $? "conditional \"USE_X\" was never defined.
37558 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37559 fi
37560 if test -z "${USE_XSHM_TRUE}" && test -z "${USE_XSHM_FALSE}"; then
37561   as_fn_error $? "conditional \"USE_XSHM\" was never defined.
37562 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37563 fi
37564 if test -z "${USE_XVIDEO_TRUE}" && test -z "${USE_XVIDEO_FALSE}"; then
37565   as_fn_error $? "conditional \"USE_XVIDEO\" was never defined.
37566 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37567 fi
37568 if test -z "${USE_ZLIB_TRUE}" && test -z "${USE_ZLIB_FALSE}"; then
37569   as_fn_error $? "conditional \"USE_ZLIB\" was never defined.
37570 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37571 fi
37572
37573 : "${CONFIG_STATUS=./config.status}"
37574 ac_write_fail=0
37575 ac_clean_files_save=$ac_clean_files
37576 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
37577 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
37578 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
37579 as_write_fail=0
37580 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
37581 #! $SHELL
37582 # Generated by $as_me.
37583 # Run this file to recreate the current configuration.
37584 # Compiler output produced by configure, useful for debugging
37585 # configure, is in config.log if it exists.
37586
37587 debug=false
37588 ac_cs_recheck=false
37589 ac_cs_silent=false
37590
37591 SHELL=\${CONFIG_SHELL-$SHELL}
37592 export SHELL
37593 _ASEOF
37594 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
37595 ## -------------------- ##
37596 ## M4sh Initialization. ##
37597 ## -------------------- ##
37598
37599 # Be more Bourne compatible
37600 DUALCASE=1; export DUALCASE # for MKS sh
37601 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
37602   emulate sh
37603   NULLCMD=:
37604   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
37605   # is contrary to our usage.  Disable this feature.
37606   alias -g '${1+"$@"}'='"$@"'
37607   setopt NO_GLOB_SUBST
37608 else
37609   case `(set -o) 2>/dev/null` in #(
37610   *posix*) :
37611     set -o posix ;; #(
37612   *) :
37613      ;;
37614 esac
37615 fi
37616
37617
37618 as_nl='
37619 '
37620 export as_nl
37621 # Printing a long string crashes Solaris 7 /usr/bin/printf.
37622 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
37623 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
37624 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
37625 # Prefer a ksh shell builtin over an external printf program on Solaris,
37626 # but without wasting forks for bash or zsh.
37627 if test -z "$BASH_VERSION$ZSH_VERSION" \
37628     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
37629   as_echo='print -r --'
37630   as_echo_n='print -rn --'
37631 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
37632   as_echo='printf %s\n'
37633   as_echo_n='printf %s'
37634 else
37635   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
37636     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
37637     as_echo_n='/usr/ucb/echo -n'
37638   else
37639     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
37640     as_echo_n_body='eval
37641       arg=$1;
37642       case $arg in #(
37643       *"$as_nl"*)
37644         expr "X$arg" : "X\\(.*\\)$as_nl";
37645         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
37646       esac;
37647       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
37648     '
37649     export as_echo_n_body
37650     as_echo_n='sh -c $as_echo_n_body as_echo'
37651   fi
37652   export as_echo_body
37653   as_echo='sh -c $as_echo_body as_echo'
37654 fi
37655
37656 # The user is always right.
37657 if test "${PATH_SEPARATOR+set}" != set; then
37658   PATH_SEPARATOR=:
37659   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
37660     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
37661       PATH_SEPARATOR=';'
37662   }
37663 fi
37664
37665
37666 # IFS
37667 # We need space, tab and new line, in precisely that order.  Quoting is
37668 # there to prevent editors from complaining about space-tab.
37669 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
37670 # splitting by setting IFS to empty value.)
37671 IFS=" ""        $as_nl"
37672
37673 # Find who we are.  Look in the path if we contain no directory separator.
37674 as_myself=
37675 case $0 in #((
37676   *[\\/]* ) as_myself=$0 ;;
37677   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37678 for as_dir in $PATH
37679 do
37680   IFS=$as_save_IFS
37681   test -z "$as_dir" && as_dir=.
37682     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
37683   done
37684 IFS=$as_save_IFS
37685
37686      ;;
37687 esac
37688 # We did not find ourselves, most probably we were run as `sh COMMAND'
37689 # in which case we are not to be found in the path.
37690 if test "x$as_myself" = x; then
37691   as_myself=$0
37692 fi
37693 if test ! -f "$as_myself"; then
37694   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
37695   exit 1
37696 fi
37697
37698 # Unset variables that we do not need and which cause bugs (e.g. in
37699 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
37700 # suppresses any "Segmentation fault" message there.  '((' could
37701 # trigger a bug in pdksh 5.2.14.
37702 for as_var in BASH_ENV ENV MAIL MAILPATH
37703 do eval test x\${$as_var+set} = xset \
37704   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
37705 done
37706 PS1='$ '
37707 PS2='> '
37708 PS4='+ '
37709
37710 # NLS nuisances.
37711 LC_ALL=C
37712 export LC_ALL
37713 LANGUAGE=C
37714 export LANGUAGE
37715
37716 # CDPATH.
37717 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
37718
37719
37720 # as_fn_error STATUS ERROR [LINENO LOG_FD]
37721 # ----------------------------------------
37722 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
37723 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
37724 # script with STATUS, using 1 if that was 0.
37725 as_fn_error ()
37726 {
37727   as_status=$1; test $as_status -eq 0 && as_status=1
37728   if test "$4"; then
37729     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
37730     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
37731   fi
37732   $as_echo "$as_me: error: $2" >&2
37733   as_fn_exit $as_status
37734 } # as_fn_error
37735
37736
37737 # as_fn_set_status STATUS
37738 # -----------------------
37739 # Set $? to STATUS, without forking.
37740 as_fn_set_status ()
37741 {
37742   return $1
37743 } # as_fn_set_status
37744
37745 # as_fn_exit STATUS
37746 # -----------------
37747 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
37748 as_fn_exit ()
37749 {
37750   set +e
37751   as_fn_set_status $1
37752   exit $1
37753 } # as_fn_exit
37754
37755 # as_fn_unset VAR
37756 # ---------------
37757 # Portably unset VAR.
37758 as_fn_unset ()
37759 {
37760   { eval $1=; unset $1;}
37761 }
37762 as_unset=as_fn_unset
37763 # as_fn_append VAR VALUE
37764 # ----------------------
37765 # Append the text in VALUE to the end of the definition contained in VAR. Take
37766 # advantage of any shell optimizations that allow amortized linear growth over
37767 # repeated appends, instead of the typical quadratic growth present in naive
37768 # implementations.
37769 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
37770   eval 'as_fn_append ()
37771   {
37772     eval $1+=\$2
37773   }'
37774 else
37775   as_fn_append ()
37776   {
37777     eval $1=\$$1\$2
37778   }
37779 fi # as_fn_append
37780
37781 # as_fn_arith ARG...
37782 # ------------------
37783 # Perform arithmetic evaluation on the ARGs, and store the result in the
37784 # global $as_val. Take advantage of shells that can avoid forks. The arguments
37785 # must be portable across $(()) and expr.
37786 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
37787   eval 'as_fn_arith ()
37788   {
37789     as_val=$(( $* ))
37790   }'
37791 else
37792   as_fn_arith ()
37793   {
37794     as_val=`expr "$@" || test $? -eq 1`
37795   }
37796 fi # as_fn_arith
37797
37798
37799 if expr a : '\(a\)' >/dev/null 2>&1 &&
37800    test "X`expr 00001 : '.*\(...\)'`" = X001; then
37801   as_expr=expr
37802 else
37803   as_expr=false
37804 fi
37805
37806 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
37807   as_basename=basename
37808 else
37809   as_basename=false
37810 fi
37811
37812 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
37813   as_dirname=dirname
37814 else
37815   as_dirname=false
37816 fi
37817
37818 as_me=`$as_basename -- "$0" ||
37819 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
37820          X"$0" : 'X\(//\)$' \| \
37821          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
37822 $as_echo X/"$0" |
37823     sed '/^.*\/\([^/][^/]*\)\/*$/{
37824             s//\1/
37825             q
37826           }
37827           /^X\/\(\/\/\)$/{
37828             s//\1/
37829             q
37830           }
37831           /^X\/\(\/\).*/{
37832             s//\1/
37833             q
37834           }
37835           s/.*/./; q'`
37836
37837 # Avoid depending upon Character Ranges.
37838 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37839 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
37840 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37841 as_cr_digits='0123456789'
37842 as_cr_alnum=$as_cr_Letters$as_cr_digits
37843
37844 ECHO_C= ECHO_N= ECHO_T=
37845 case `echo -n x` in #(((((
37846 -n*)
37847   case `echo 'xy\c'` in
37848   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
37849   xy)  ECHO_C='\c';;
37850   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
37851        ECHO_T=' ';;
37852   esac;;
37853 *)
37854   ECHO_N='-n';;
37855 esac
37856
37857 rm -f conf$$ conf$$.exe conf$$.file
37858 if test -d conf$$.dir; then
37859   rm -f conf$$.dir/conf$$.file
37860 else
37861   rm -f conf$$.dir
37862   mkdir conf$$.dir 2>/dev/null
37863 fi
37864 if (echo >conf$$.file) 2>/dev/null; then
37865   if ln -s conf$$.file conf$$ 2>/dev/null; then
37866     as_ln_s='ln -s'
37867     # ... but there are two gotchas:
37868     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
37869     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
37870     # In both cases, we have to default to `cp -p'.
37871     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
37872       as_ln_s='cp -p'
37873   elif ln conf$$.file conf$$ 2>/dev/null; then
37874     as_ln_s=ln
37875   else
37876     as_ln_s='cp -p'
37877   fi
37878 else
37879   as_ln_s='cp -p'
37880 fi
37881 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
37882 rmdir conf$$.dir 2>/dev/null
37883
37884
37885 # as_fn_mkdir_p
37886 # -------------
37887 # Create "$as_dir" as a directory, including parents if necessary.
37888 as_fn_mkdir_p ()
37889 {
37890
37891   case $as_dir in #(
37892   -*) as_dir=./$as_dir;;
37893   esac
37894   test -d "$as_dir" || eval $as_mkdir_p || {
37895     as_dirs=
37896     while :; do
37897       case $as_dir in #(
37898       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
37899       *) as_qdir=$as_dir;;
37900       esac
37901       as_dirs="'$as_qdir' $as_dirs"
37902       as_dir=`$as_dirname -- "$as_dir" ||
37903 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37904          X"$as_dir" : 'X\(//\)[^/]' \| \
37905          X"$as_dir" : 'X\(//\)$' \| \
37906          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
37907 $as_echo X"$as_dir" |
37908     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
37909             s//\1/
37910             q
37911           }
37912           /^X\(\/\/\)[^/].*/{
37913             s//\1/
37914             q
37915           }
37916           /^X\(\/\/\)$/{
37917             s//\1/
37918             q
37919           }
37920           /^X\(\/\).*/{
37921             s//\1/
37922             q
37923           }
37924           s/.*/./; q'`
37925       test -d "$as_dir" && break
37926     done
37927     test -z "$as_dirs" || eval "mkdir $as_dirs"
37928   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
37929
37930
37931 } # as_fn_mkdir_p
37932 if mkdir -p . 2>/dev/null; then
37933   as_mkdir_p='mkdir -p "$as_dir"'
37934 else
37935   test -d ./-p && rmdir ./-p
37936   as_mkdir_p=false
37937 fi
37938
37939 if test -x / >/dev/null 2>&1; then
37940   as_test_x='test -x'
37941 else
37942   if ls -dL / >/dev/null 2>&1; then
37943     as_ls_L_option=L
37944   else
37945     as_ls_L_option=
37946   fi
37947   as_test_x='
37948     eval sh -c '\''
37949       if test -d "$1"; then
37950         test -d "$1/.";
37951       else
37952         case $1 in #(
37953         -*)set "./$1";;
37954         esac;
37955         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
37956         ???[sx]*):;;*)false;;esac;fi
37957     '\'' sh
37958   '
37959 fi
37960 as_executable_p=$as_test_x
37961
37962 # Sed expression to map a string onto a valid CPP name.
37963 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
37964
37965 # Sed expression to map a string onto a valid variable name.
37966 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
37967
37968
37969 exec 6>&1
37970 ## ----------------------------------- ##
37971 ## Main body of $CONFIG_STATUS script. ##
37972 ## ----------------------------------- ##
37973 _ASEOF
37974 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
37975
37976 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
37977 # Save the log message, to keep $0 and so on meaningful, and to
37978 # report actual input values of CONFIG_FILES etc. instead of their
37979 # values after options handling.
37980 ac_log="
37981 This file was extended by GStreamer Good Plug-ins $as_me 0.10.31, which was
37982 generated by GNU Autoconf 2.68.  Invocation command line was
37983
37984   CONFIG_FILES    = $CONFIG_FILES
37985   CONFIG_HEADERS  = $CONFIG_HEADERS
37986   CONFIG_LINKS    = $CONFIG_LINKS
37987   CONFIG_COMMANDS = $CONFIG_COMMANDS
37988   $ $0 $@
37989
37990 on `(hostname || uname -n) 2>/dev/null | sed 1q`
37991 "
37992
37993 _ACEOF
37994
37995 case $ac_config_files in *"
37996 "*) set x $ac_config_files; shift; ac_config_files=$*;;
37997 esac
37998
37999 case $ac_config_headers in *"
38000 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
38001 esac
38002
38003
38004 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
38005 # Files that config.status was made for.
38006 config_files="$ac_config_files"
38007 config_headers="$ac_config_headers"
38008 config_commands="$ac_config_commands"
38009
38010 _ACEOF
38011
38012 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
38013 ac_cs_usage="\
38014 \`$as_me' instantiates files and other configuration actions
38015 from templates according to the current configuration.  Unless the files
38016 and actions are specified as TAGs, all are instantiated by default.
38017
38018 Usage: $0 [OPTION]... [TAG]...
38019
38020   -h, --help       print this help, then exit
38021   -V, --version    print version number and configuration settings, then exit
38022       --config     print configuration, then exit
38023   -q, --quiet, --silent
38024                    do not print progress messages
38025   -d, --debug      don't remove temporary files
38026       --recheck    update $as_me by reconfiguring in the same conditions
38027       --file=FILE[:TEMPLATE]
38028                    instantiate the configuration file FILE
38029       --header=FILE[:TEMPLATE]
38030                    instantiate the configuration header FILE
38031
38032 Configuration files:
38033 $config_files
38034
38035 Configuration headers:
38036 $config_headers
38037
38038 Configuration commands:
38039 $config_commands
38040
38041 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer>."
38042
38043 _ACEOF
38044 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
38045 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
38046 ac_cs_version="\\
38047 GStreamer Good Plug-ins config.status 0.10.31
38048 configured by $0, generated by GNU Autoconf 2.68,
38049   with options \\"\$ac_cs_config\\"
38050
38051 Copyright (C) 2010 Free Software Foundation, Inc.
38052 This config.status script is free software; the Free Software Foundation
38053 gives unlimited permission to copy, distribute and modify it."
38054
38055 ac_pwd='$ac_pwd'
38056 srcdir='$srcdir'
38057 INSTALL='$INSTALL'
38058 MKDIR_P='$MKDIR_P'
38059 AWK='$AWK'
38060 test -n "\$AWK" || AWK=awk
38061 _ACEOF
38062
38063 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
38064 # The default lists apply if the user does not specify any file.
38065 ac_need_defaults=:
38066 while test $# != 0
38067 do
38068   case $1 in
38069   --*=?*)
38070     ac_option=`expr "X$1" : 'X\([^=]*\)='`
38071     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
38072     ac_shift=:
38073     ;;
38074   --*=)
38075     ac_option=`expr "X$1" : 'X\([^=]*\)='`
38076     ac_optarg=
38077     ac_shift=:
38078     ;;
38079   *)
38080     ac_option=$1
38081     ac_optarg=$2
38082     ac_shift=shift
38083     ;;
38084   esac
38085
38086   case $ac_option in
38087   # Handling of the options.
38088   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
38089     ac_cs_recheck=: ;;
38090   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
38091     $as_echo "$ac_cs_version"; exit ;;
38092   --config | --confi | --conf | --con | --co | --c )
38093     $as_echo "$ac_cs_config"; exit ;;
38094   --debug | --debu | --deb | --de | --d | -d )
38095     debug=: ;;
38096   --file | --fil | --fi | --f )
38097     $ac_shift
38098     case $ac_optarg in
38099     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
38100     '') as_fn_error $? "missing file argument" ;;
38101     esac
38102     as_fn_append CONFIG_FILES " '$ac_optarg'"
38103     ac_need_defaults=false;;
38104   --header | --heade | --head | --hea )
38105     $ac_shift
38106     case $ac_optarg in
38107     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
38108     esac
38109     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
38110     ac_need_defaults=false;;
38111   --he | --h)
38112     # Conflict between --help and --header
38113     as_fn_error $? "ambiguous option: \`$1'
38114 Try \`$0 --help' for more information.";;
38115   --help | --hel | -h )
38116     $as_echo "$ac_cs_usage"; exit ;;
38117   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
38118   | -silent | --silent | --silen | --sile | --sil | --si | --s)
38119     ac_cs_silent=: ;;
38120
38121   # This is an error.
38122   -*) as_fn_error $? "unrecognized option: \`$1'
38123 Try \`$0 --help' for more information." ;;
38124
38125   *) as_fn_append ac_config_targets " $1"
38126      ac_need_defaults=false ;;
38127
38128   esac
38129   shift
38130 done
38131
38132 ac_configure_extra_args=
38133
38134 if $ac_cs_silent; then
38135   exec 6>/dev/null
38136   ac_configure_extra_args="$ac_configure_extra_args --silent"
38137 fi
38138
38139 _ACEOF
38140 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
38141 if \$ac_cs_recheck; then
38142   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
38143   shift
38144   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
38145   CONFIG_SHELL='$SHELL'
38146   export CONFIG_SHELL
38147   exec "\$@"
38148 fi
38149
38150 _ACEOF
38151 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
38152 exec 5>>config.log
38153 {
38154   echo
38155   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
38156 ## Running $as_me. ##
38157 _ASBOX
38158   $as_echo "$ac_log"
38159 } >&5
38160
38161 _ACEOF
38162 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
38163 #
38164 # INIT-COMMANDS
38165 #
38166 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
38167
38168
38169 # The HP-UX ksh and POSIX shell print the target directory to stdout
38170 # if CDPATH is set.
38171 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
38172
38173 sed_quote_subst='$sed_quote_subst'
38174 double_quote_subst='$double_quote_subst'
38175 delay_variable_subst='$delay_variable_subst'
38176 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
38177 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
38178 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
38179 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
38180 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
38181 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
38182 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
38183 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
38184 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
38185 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
38186 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
38187 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
38188 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
38189 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
38190 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
38191 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
38192 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
38193 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
38194 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
38195 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
38196 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
38197 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
38198 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
38199 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
38200 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
38201 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
38202 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
38203 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
38204 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
38205 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
38206 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
38207 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
38208 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
38209 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
38210 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
38211 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
38212 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
38213 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
38214 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
38215 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
38216 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
38217 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
38218 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
38219 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
38220 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
38221 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
38222 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
38223 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
38224 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
38225 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
38226 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
38227 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
38228 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
38229 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
38230 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
38231 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
38232 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
38233 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"`'
38234 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
38235 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
38236 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
38237 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
38238 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
38239 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
38240 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
38241 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
38242 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
38243 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
38244 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
38245 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
38246 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
38247 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
38248 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
38249 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
38250 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
38251 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
38252 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
38253 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
38254 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
38255 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
38256 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
38257 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
38258 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
38259 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
38260 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
38261 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
38262 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
38263 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
38264 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
38265 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
38266 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
38267 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
38268 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
38269 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
38270 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
38271 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
38272 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
38273 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
38274 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
38275 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
38276 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
38277 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
38278 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
38279 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
38280 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
38281 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
38282 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
38283 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
38284 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
38285 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
38286 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
38287 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
38288 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
38289 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
38290 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
38291 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
38292 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
38293 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
38294 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
38295 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
38296 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
38297 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
38298 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
38299 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
38300 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
38301 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
38302 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
38303 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
38304 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
38305 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
38306 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
38307 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
38308 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
38309 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
38310 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
38311 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
38312 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
38313 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
38314 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
38315 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
38316 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
38317 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
38318 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
38319 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
38320 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
38321 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
38322 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
38323 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
38324 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
38325 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
38326 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
38327 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
38328 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
38329 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
38330 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
38331 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
38332 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
38333 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
38334 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
38335 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
38336 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
38337 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
38338 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
38339 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
38340 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
38341 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
38342 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
38343 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
38344 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
38345 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
38346 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
38347 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
38348 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
38349 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
38350 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
38351 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
38352 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
38353 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
38354 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
38355 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
38356 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
38357 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
38358 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
38359 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
38360 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
38361
38362 LTCC='$LTCC'
38363 LTCFLAGS='$LTCFLAGS'
38364 compiler='$compiler_DEFAULT'
38365
38366 # A function that is used when there is no print builtin or printf.
38367 func_fallback_echo ()
38368 {
38369   eval 'cat <<_LTECHO_EOF
38370 \$1
38371 _LTECHO_EOF'
38372 }
38373
38374 # Quote evaled strings.
38375 for var in AS \
38376 DLLTOOL \
38377 OBJDUMP \
38378 SHELL \
38379 ECHO \
38380 PATH_SEPARATOR \
38381 SED \
38382 GREP \
38383 EGREP \
38384 FGREP \
38385 LD \
38386 NM \
38387 LN_S \
38388 lt_SP2NL \
38389 lt_NL2SP \
38390 reload_flag \
38391 deplibs_check_method \
38392 file_magic_cmd \
38393 file_magic_glob \
38394 want_nocaseglob \
38395 sharedlib_from_linklib_cmd \
38396 AR \
38397 AR_FLAGS \
38398 archiver_list_spec \
38399 STRIP \
38400 RANLIB \
38401 CC \
38402 CFLAGS \
38403 compiler \
38404 lt_cv_sys_global_symbol_pipe \
38405 lt_cv_sys_global_symbol_to_cdecl \
38406 lt_cv_sys_global_symbol_to_c_name_address \
38407 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
38408 nm_file_list_spec \
38409 lt_prog_compiler_no_builtin_flag \
38410 lt_prog_compiler_pic \
38411 lt_prog_compiler_wl \
38412 lt_prog_compiler_static \
38413 lt_cv_prog_compiler_c_o \
38414 need_locks \
38415 MANIFEST_TOOL \
38416 DSYMUTIL \
38417 NMEDIT \
38418 LIPO \
38419 OTOOL \
38420 OTOOL64 \
38421 shrext_cmds \
38422 export_dynamic_flag_spec \
38423 whole_archive_flag_spec \
38424 compiler_needs_object \
38425 with_gnu_ld \
38426 allow_undefined_flag \
38427 no_undefined_flag \
38428 hardcode_libdir_flag_spec \
38429 hardcode_libdir_separator \
38430 exclude_expsyms \
38431 include_expsyms \
38432 file_list_spec \
38433 variables_saved_for_relink \
38434 libname_spec \
38435 library_names_spec \
38436 soname_spec \
38437 install_override_mode \
38438 finish_eval \
38439 old_striplib \
38440 striplib \
38441 compiler_lib_search_dirs \
38442 predep_objects \
38443 postdep_objects \
38444 predeps \
38445 postdeps \
38446 compiler_lib_search_path \
38447 LD_CXX \
38448 reload_flag_CXX \
38449 compiler_CXX \
38450 lt_prog_compiler_no_builtin_flag_CXX \
38451 lt_prog_compiler_pic_CXX \
38452 lt_prog_compiler_wl_CXX \
38453 lt_prog_compiler_static_CXX \
38454 lt_cv_prog_compiler_c_o_CXX \
38455 export_dynamic_flag_spec_CXX \
38456 whole_archive_flag_spec_CXX \
38457 compiler_needs_object_CXX \
38458 with_gnu_ld_CXX \
38459 allow_undefined_flag_CXX \
38460 no_undefined_flag_CXX \
38461 hardcode_libdir_flag_spec_CXX \
38462 hardcode_libdir_separator_CXX \
38463 exclude_expsyms_CXX \
38464 include_expsyms_CXX \
38465 file_list_spec_CXX \
38466 compiler_lib_search_dirs_CXX \
38467 predep_objects_CXX \
38468 postdep_objects_CXX \
38469 predeps_CXX \
38470 postdeps_CXX \
38471 compiler_lib_search_path_CXX; do
38472     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
38473     *[\\\\\\\`\\"\\\$]*)
38474       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
38475       ;;
38476     *)
38477       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
38478       ;;
38479     esac
38480 done
38481
38482 # Double-quote double-evaled strings.
38483 for var in reload_cmds \
38484 old_postinstall_cmds \
38485 old_postuninstall_cmds \
38486 old_archive_cmds \
38487 extract_expsyms_cmds \
38488 old_archive_from_new_cmds \
38489 old_archive_from_expsyms_cmds \
38490 archive_cmds \
38491 archive_expsym_cmds \
38492 module_cmds \
38493 module_expsym_cmds \
38494 export_symbols_cmds \
38495 prelink_cmds \
38496 postlink_cmds \
38497 postinstall_cmds \
38498 postuninstall_cmds \
38499 finish_cmds \
38500 sys_lib_search_path_spec \
38501 sys_lib_dlsearch_path_spec \
38502 reload_cmds_CXX \
38503 old_archive_cmds_CXX \
38504 old_archive_from_new_cmds_CXX \
38505 old_archive_from_expsyms_cmds_CXX \
38506 archive_cmds_CXX \
38507 archive_expsym_cmds_CXX \
38508 module_cmds_CXX \
38509 module_expsym_cmds_CXX \
38510 export_symbols_cmds_CXX \
38511 prelink_cmds_CXX \
38512 postlink_cmds_CXX; do
38513     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
38514     *[\\\\\\\`\\"\\\$]*)
38515       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
38516       ;;
38517     *)
38518       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
38519       ;;
38520     esac
38521 done
38522
38523 ac_aux_dir='$ac_aux_dir'
38524 xsi_shell='$xsi_shell'
38525 lt_shell_append='$lt_shell_append'
38526
38527 # See if we are running on zsh, and set the options which allow our
38528 # commands through without removal of \ escapes INIT.
38529 if test -n "\${ZSH_VERSION+set}" ; then
38530    setopt NO_GLOB_SUBST
38531 fi
38532
38533
38534     PACKAGE='$PACKAGE'
38535     VERSION='$VERSION'
38536     TIMESTAMP='$TIMESTAMP'
38537     RM='$RM'
38538     ofile='$ofile'
38539
38540
38541
38542
38543
38544 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
38545     # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
38546     # from automake < 1.5.
38547     eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
38548     # Capture the value of LINGUAS because we need it to compute CATALOGS.
38549     LINGUAS="${LINGUAS-%UNSET%}"
38550
38551 # variables for create stdint.h replacement
38552 PACKAGE="$PACKAGE"
38553 VERSION="$VERSION"
38554 ac_stdint_h="$ac_stdint_h"
38555 _ac_stdint_h=`$as_echo "_$PACKAGE-$ac_stdint_h" | $as_tr_cpp`
38556 ac_cv_stdint_message="$ac_cv_stdint_message"
38557 ac_cv_header_stdint_t="$ac_cv_header_stdint_t"
38558 ac_cv_header_stdint_x="$ac_cv_header_stdint_x"
38559 ac_cv_header_stdint_o="$ac_cv_header_stdint_o"
38560 ac_cv_header_stdint_u="$ac_cv_header_stdint_u"
38561 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
38562 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
38563 ac_cv_char_data_model="$ac_cv_char_data_model"
38564 ac_cv_long_data_model="$ac_cv_long_data_model"
38565 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
38566 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
38567 ac_cv_type_intmax_t="$ac_cv_type_intmax_t"
38568
38569
38570 _ACEOF
38571
38572 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
38573
38574 # Handling of arguments.
38575 for ac_config_target in $ac_config_targets
38576 do
38577   case $ac_config_target in
38578     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
38579     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
38580     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
38581     "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
38582     "$ac_stdint_h") CONFIG_COMMANDS="$CONFIG_COMMANDS $ac_stdint_h" ;;
38583     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
38584     "gst/Makefile") CONFIG_FILES="$CONFIG_FILES gst/Makefile" ;;
38585     "gst/alpha/Makefile") CONFIG_FILES="$CONFIG_FILES gst/alpha/Makefile" ;;
38586     "gst/apetag/Makefile") CONFIG_FILES="$CONFIG_FILES gst/apetag/Makefile" ;;
38587     "gst/audiofx/Makefile") CONFIG_FILES="$CONFIG_FILES gst/audiofx/Makefile" ;;
38588     "gst/audioparsers/Makefile") CONFIG_FILES="$CONFIG_FILES gst/audioparsers/Makefile" ;;
38589     "gst/auparse/Makefile") CONFIG_FILES="$CONFIG_FILES gst/auparse/Makefile" ;;
38590     "gst/autodetect/Makefile") CONFIG_FILES="$CONFIG_FILES gst/autodetect/Makefile" ;;
38591     "gst/avi/Makefile") CONFIG_FILES="$CONFIG_FILES gst/avi/Makefile" ;;
38592     "gst/cutter/Makefile") CONFIG_FILES="$CONFIG_FILES gst/cutter/Makefile" ;;
38593     "gst/deinterlace/Makefile") CONFIG_FILES="$CONFIG_FILES gst/deinterlace/Makefile" ;;
38594     "gst/debugutils/Makefile") CONFIG_FILES="$CONFIG_FILES gst/debugutils/Makefile" ;;
38595     "gst/effectv/Makefile") CONFIG_FILES="$CONFIG_FILES gst/effectv/Makefile" ;;
38596     "gst/equalizer/Makefile") CONFIG_FILES="$CONFIG_FILES gst/equalizer/Makefile" ;;
38597     "gst/flv/Makefile") CONFIG_FILES="$CONFIG_FILES gst/flv/Makefile" ;;
38598     "gst/goom/Makefile") CONFIG_FILES="$CONFIG_FILES gst/goom/Makefile" ;;
38599     "gst/goom2k1/Makefile") CONFIG_FILES="$CONFIG_FILES gst/goom2k1/Makefile" ;;
38600     "gst/id3demux/Makefile") CONFIG_FILES="$CONFIG_FILES gst/id3demux/Makefile" ;;
38601     "gst/icydemux/Makefile") CONFIG_FILES="$CONFIG_FILES gst/icydemux/Makefile" ;;
38602     "gst/imagefreeze/Makefile") CONFIG_FILES="$CONFIG_FILES gst/imagefreeze/Makefile" ;;
38603     "gst/interleave/Makefile") CONFIG_FILES="$CONFIG_FILES gst/interleave/Makefile" ;;
38604     "gst/isomp4/Makefile") CONFIG_FILES="$CONFIG_FILES gst/isomp4/Makefile" ;;
38605     "gst/law/Makefile") CONFIG_FILES="$CONFIG_FILES gst/law/Makefile" ;;
38606     "gst/level/Makefile") CONFIG_FILES="$CONFIG_FILES gst/level/Makefile" ;;
38607     "gst/matroska/Makefile") CONFIG_FILES="$CONFIG_FILES gst/matroska/Makefile" ;;
38608     "gst/monoscope/Makefile") CONFIG_FILES="$CONFIG_FILES gst/monoscope/Makefile" ;;
38609     "gst/multifile/Makefile") CONFIG_FILES="$CONFIG_FILES gst/multifile/Makefile" ;;
38610     "gst/multipart/Makefile") CONFIG_FILES="$CONFIG_FILES gst/multipart/Makefile" ;;
38611     "gst/replaygain/Makefile") CONFIG_FILES="$CONFIG_FILES gst/replaygain/Makefile" ;;
38612     "gst/rtp/Makefile") CONFIG_FILES="$CONFIG_FILES gst/rtp/Makefile" ;;
38613     "gst/rtpmanager/Makefile") CONFIG_FILES="$CONFIG_FILES gst/rtpmanager/Makefile" ;;
38614     "gst/rtsp/Makefile") CONFIG_FILES="$CONFIG_FILES gst/rtsp/Makefile" ;;
38615     "gst/shapewipe/Makefile") CONFIG_FILES="$CONFIG_FILES gst/shapewipe/Makefile" ;;
38616     "gst/smpte/Makefile") CONFIG_FILES="$CONFIG_FILES gst/smpte/Makefile" ;;
38617     "gst/spectrum/Makefile") CONFIG_FILES="$CONFIG_FILES gst/spectrum/Makefile" ;;
38618     "gst/udp/Makefile") CONFIG_FILES="$CONFIG_FILES gst/udp/Makefile" ;;
38619     "gst/videobox/Makefile") CONFIG_FILES="$CONFIG_FILES gst/videobox/Makefile" ;;
38620     "gst/videocrop/Makefile") CONFIG_FILES="$CONFIG_FILES gst/videocrop/Makefile" ;;
38621     "gst/videofilter/Makefile") CONFIG_FILES="$CONFIG_FILES gst/videofilter/Makefile" ;;
38622     "gst/videomixer/Makefile") CONFIG_FILES="$CONFIG_FILES gst/videomixer/Makefile" ;;
38623     "gst/wavenc/Makefile") CONFIG_FILES="$CONFIG_FILES gst/wavenc/Makefile" ;;
38624     "gst/wavparse/Makefile") CONFIG_FILES="$CONFIG_FILES gst/wavparse/Makefile" ;;
38625     "gst/flx/Makefile") CONFIG_FILES="$CONFIG_FILES gst/flx/Makefile" ;;
38626     "gst/y4m/Makefile") CONFIG_FILES="$CONFIG_FILES gst/y4m/Makefile" ;;
38627     "ext/Makefile") CONFIG_FILES="$CONFIG_FILES ext/Makefile" ;;
38628     "ext/aalib/Makefile") CONFIG_FILES="$CONFIG_FILES ext/aalib/Makefile" ;;
38629     "ext/annodex/Makefile") CONFIG_FILES="$CONFIG_FILES ext/annodex/Makefile" ;;
38630     "ext/cairo/Makefile") CONFIG_FILES="$CONFIG_FILES ext/cairo/Makefile" ;;
38631     "ext/dv/Makefile") CONFIG_FILES="$CONFIG_FILES ext/dv/Makefile" ;;
38632     "ext/esd/Makefile") CONFIG_FILES="$CONFIG_FILES ext/esd/Makefile" ;;
38633     "ext/flac/Makefile") CONFIG_FILES="$CONFIG_FILES ext/flac/Makefile" ;;
38634     "ext/gconf/Makefile") CONFIG_FILES="$CONFIG_FILES ext/gconf/Makefile" ;;
38635     "ext/gdk_pixbuf/Makefile") CONFIG_FILES="$CONFIG_FILES ext/gdk_pixbuf/Makefile" ;;
38636     "ext/hal/Makefile") CONFIG_FILES="$CONFIG_FILES ext/hal/Makefile" ;;
38637     "ext/jack/Makefile") CONFIG_FILES="$CONFIG_FILES ext/jack/Makefile" ;;
38638     "ext/jpeg/Makefile") CONFIG_FILES="$CONFIG_FILES ext/jpeg/Makefile" ;;
38639     "ext/libcaca/Makefile") CONFIG_FILES="$CONFIG_FILES ext/libcaca/Makefile" ;;
38640     "ext/libpng/Makefile") CONFIG_FILES="$CONFIG_FILES ext/libpng/Makefile" ;;
38641     "ext/pulse/Makefile") CONFIG_FILES="$CONFIG_FILES ext/pulse/Makefile" ;;
38642     "ext/raw1394/Makefile") CONFIG_FILES="$CONFIG_FILES ext/raw1394/Makefile" ;;
38643     "ext/shout2/Makefile") CONFIG_FILES="$CONFIG_FILES ext/shout2/Makefile" ;;
38644     "ext/soup/Makefile") CONFIG_FILES="$CONFIG_FILES ext/soup/Makefile" ;;
38645     "ext/speex/Makefile") CONFIG_FILES="$CONFIG_FILES ext/speex/Makefile" ;;
38646     "ext/taglib/Makefile") CONFIG_FILES="$CONFIG_FILES ext/taglib/Makefile" ;;
38647     "ext/wavpack/Makefile") CONFIG_FILES="$CONFIG_FILES ext/wavpack/Makefile" ;;
38648     "sys/Makefile") CONFIG_FILES="$CONFIG_FILES sys/Makefile" ;;
38649     "sys/directsound/Makefile") CONFIG_FILES="$CONFIG_FILES sys/directsound/Makefile" ;;
38650     "sys/oss/Makefile") CONFIG_FILES="$CONFIG_FILES sys/oss/Makefile" ;;
38651     "sys/oss4/Makefile") CONFIG_FILES="$CONFIG_FILES sys/oss4/Makefile" ;;
38652     "sys/osxaudio/Makefile") CONFIG_FILES="$CONFIG_FILES sys/osxaudio/Makefile" ;;
38653     "sys/osxvideo/Makefile") CONFIG_FILES="$CONFIG_FILES sys/osxvideo/Makefile" ;;
38654     "sys/sunaudio/Makefile") CONFIG_FILES="$CONFIG_FILES sys/sunaudio/Makefile" ;;
38655     "sys/v4l2/Makefile") CONFIG_FILES="$CONFIG_FILES sys/v4l2/Makefile" ;;
38656     "sys/waveform/Makefile") CONFIG_FILES="$CONFIG_FILES sys/waveform/Makefile" ;;
38657     "sys/ximage/Makefile") CONFIG_FILES="$CONFIG_FILES sys/ximage/Makefile" ;;
38658     "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
38659     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
38660     "tests/check/Makefile") CONFIG_FILES="$CONFIG_FILES tests/check/Makefile" ;;
38661     "tests/examples/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/Makefile" ;;
38662     "tests/examples/audiofx/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/audiofx/Makefile" ;;
38663     "tests/examples/cairo/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/cairo/Makefile" ;;
38664     "tests/examples/equalizer/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/equalizer/Makefile" ;;
38665     "tests/examples/jack/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/jack/Makefile" ;;
38666     "tests/examples/level/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/level/Makefile" ;;
38667     "tests/examples/pulse/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/pulse/Makefile" ;;
38668     "tests/examples/rtp/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/rtp/Makefile" ;;
38669     "tests/examples/shapewipe/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/shapewipe/Makefile" ;;
38670     "tests/examples/spectrum/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/spectrum/Makefile" ;;
38671     "tests/examples/v4l2/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/v4l2/Makefile" ;;
38672     "tests/files/Makefile") CONFIG_FILES="$CONFIG_FILES tests/files/Makefile" ;;
38673     "tests/icles/Makefile") CONFIG_FILES="$CONFIG_FILES tests/icles/Makefile" ;;
38674     "gconf/Makefile") CONFIG_FILES="$CONFIG_FILES gconf/Makefile" ;;
38675     "gconf/gstreamer.schemas") CONFIG_FILES="$CONFIG_FILES gconf/gstreamer.schemas" ;;
38676     "common/Makefile") CONFIG_FILES="$CONFIG_FILES common/Makefile" ;;
38677     "common/m4/Makefile") CONFIG_FILES="$CONFIG_FILES common/m4/Makefile" ;;
38678     "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
38679     "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
38680     "docs/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES docs/plugins/Makefile" ;;
38681     "docs/version.entities") CONFIG_FILES="$CONFIG_FILES docs/version.entities" ;;
38682     "pkgconfig/Makefile") CONFIG_FILES="$CONFIG_FILES pkgconfig/Makefile" ;;
38683     "pkgconfig/gstreamer-plugins-good-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-plugins-good-uninstalled.pc" ;;
38684     "gst-plugins-good.spec") CONFIG_FILES="$CONFIG_FILES gst-plugins-good.spec" ;;
38685
38686   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
38687   esac
38688 done
38689
38690
38691 # If the user did not use the arguments to specify the items to instantiate,
38692 # then the envvar interface is used.  Set only those that are not.
38693 # We use the long form for the default assignment because of an extremely
38694 # bizarre bug on SunOS 4.1.3.
38695 if $ac_need_defaults; then
38696   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
38697   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
38698   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
38699 fi
38700
38701 # Have a temporary directory for convenience.  Make it in the build tree
38702 # simply because there is no reason against having it here, and in addition,
38703 # creating and moving files from /tmp can sometimes cause problems.
38704 # Hook for its removal unless debugging.
38705 # Note that there is a small window in which the directory will not be cleaned:
38706 # after its creation but before its name has been assigned to `$tmp'.
38707 $debug ||
38708 {
38709   tmp= ac_tmp=
38710   trap 'exit_status=$?
38711   : "${ac_tmp:=$tmp}"
38712   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
38713 ' 0
38714   trap 'as_fn_exit 1' 1 2 13 15
38715 }
38716 # Create a (secure) tmp directory for tmp files.
38717
38718 {
38719   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
38720   test -d "$tmp"
38721 }  ||
38722 {
38723   tmp=./conf$$-$RANDOM
38724   (umask 077 && mkdir "$tmp")
38725 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
38726 ac_tmp=$tmp
38727
38728 # Set up the scripts for CONFIG_FILES section.
38729 # No need to generate them if there are no CONFIG_FILES.
38730 # This happens for instance with `./config.status config.h'.
38731 if test -n "$CONFIG_FILES"; then
38732
38733
38734 ac_cr=`echo X | tr X '\015'`
38735 # On cygwin, bash can eat \r inside `` if the user requested igncr.
38736 # But we know of no other shell where ac_cr would be empty at this
38737 # point, so we can use a bashism as a fallback.
38738 if test "x$ac_cr" = x; then
38739   eval ac_cr=\$\'\\r\'
38740 fi
38741 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
38742 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
38743   ac_cs_awk_cr='\\r'
38744 else
38745   ac_cs_awk_cr=$ac_cr
38746 fi
38747
38748 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
38749 _ACEOF
38750
38751
38752 {
38753   echo "cat >conf$$subs.awk <<_ACEOF" &&
38754   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
38755   echo "_ACEOF"
38756 } >conf$$subs.sh ||
38757   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
38758 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
38759 ac_delim='%!_!# '
38760 for ac_last_try in false false false false false :; do
38761   . ./conf$$subs.sh ||
38762     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
38763
38764   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
38765   if test $ac_delim_n = $ac_delim_num; then
38766     break
38767   elif $ac_last_try; then
38768     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
38769   else
38770     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
38771   fi
38772 done
38773 rm -f conf$$subs.sh
38774
38775 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
38776 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
38777 _ACEOF
38778 sed -n '
38779 h
38780 s/^/S["/; s/!.*/"]=/
38781 p
38782 g
38783 s/^[^!]*!//
38784 :repl
38785 t repl
38786 s/'"$ac_delim"'$//
38787 t delim
38788 :nl
38789 h
38790 s/\(.\{148\}\)..*/\1/
38791 t more1
38792 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
38793 p
38794 n
38795 b repl
38796 :more1
38797 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
38798 p
38799 g
38800 s/.\{148\}//
38801 t nl
38802 :delim
38803 h
38804 s/\(.\{148\}\)..*/\1/
38805 t more2
38806 s/["\\]/\\&/g; s/^/"/; s/$/"/
38807 p
38808 b
38809 :more2
38810 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
38811 p
38812 g
38813 s/.\{148\}//
38814 t delim
38815 ' <conf$$subs.awk | sed '
38816 /^[^""]/{
38817   N
38818   s/\n//
38819 }
38820 ' >>$CONFIG_STATUS || ac_write_fail=1
38821 rm -f conf$$subs.awk
38822 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
38823 _ACAWK
38824 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
38825   for (key in S) S_is_set[key] = 1
38826   FS = "\a"
38827
38828 }
38829 {
38830   line = $ 0
38831   nfields = split(line, field, "@")
38832   substed = 0
38833   len = length(field[1])
38834   for (i = 2; i < nfields; i++) {
38835     key = field[i]
38836     keylen = length(key)
38837     if (S_is_set[key]) {
38838       value = S[key]
38839       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
38840       len += length(value) + length(field[++i])
38841       substed = 1
38842     } else
38843       len += 1 + keylen
38844   }
38845
38846   print line
38847 }
38848
38849 _ACAWK
38850 _ACEOF
38851 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
38852 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
38853   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
38854 else
38855   cat
38856 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
38857   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
38858 _ACEOF
38859
38860 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
38861 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
38862 # trailing colons and then remove the whole line if VPATH becomes empty
38863 # (actually we leave an empty line to preserve line numbers).
38864 if test "x$srcdir" = x.; then
38865   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
38866 h
38867 s///
38868 s/^/:/
38869 s/[      ]*$/:/
38870 s/:\$(srcdir):/:/g
38871 s/:\${srcdir}:/:/g
38872 s/:@srcdir@:/:/g
38873 s/^:*//
38874 s/:*$//
38875 x
38876 s/\(=[   ]*\).*/\1/
38877 G
38878 s/\n//
38879 s/^[^=]*=[       ]*$//
38880 }'
38881 fi
38882
38883 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
38884 fi # test -n "$CONFIG_FILES"
38885
38886 # Set up the scripts for CONFIG_HEADERS section.
38887 # No need to generate them if there are no CONFIG_HEADERS.
38888 # This happens for instance with `./config.status Makefile'.
38889 if test -n "$CONFIG_HEADERS"; then
38890 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
38891 BEGIN {
38892 _ACEOF
38893
38894 # Transform confdefs.h into an awk script `defines.awk', embedded as
38895 # here-document in config.status, that substitutes the proper values into
38896 # config.h.in to produce config.h.
38897
38898 # Create a delimiter string that does not exist in confdefs.h, to ease
38899 # handling of long lines.
38900 ac_delim='%!_!# '
38901 for ac_last_try in false false :; do
38902   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
38903   if test -z "$ac_tt"; then
38904     break
38905   elif $ac_last_try; then
38906     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
38907   else
38908     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
38909   fi
38910 done
38911
38912 # For the awk script, D is an array of macro values keyed by name,
38913 # likewise P contains macro parameters if any.  Preserve backslash
38914 # newline sequences.
38915
38916 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
38917 sed -n '
38918 s/.\{148\}/&'"$ac_delim"'/g
38919 t rset
38920 :rset
38921 s/^[     ]*#[    ]*define[       ][      ]*/ /
38922 t def
38923 d
38924 :def
38925 s/\\$//
38926 t bsnl
38927 s/["\\]/\\&/g
38928 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
38929 D["\1"]=" \3"/p
38930 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
38931 d
38932 :bsnl
38933 s/["\\]/\\&/g
38934 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
38935 D["\1"]=" \3\\\\\\n"\\/p
38936 t cont
38937 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
38938 t cont
38939 d
38940 :cont
38941 n
38942 s/.\{148\}/&'"$ac_delim"'/g
38943 t clear
38944 :clear
38945 s/\\$//
38946 t bsnlc
38947 s/["\\]/\\&/g; s/^/"/; s/$/"/p
38948 d
38949 :bsnlc
38950 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
38951 b cont
38952 ' <confdefs.h | sed '
38953 s/'"$ac_delim"'/"\\\
38954 "/g' >>$CONFIG_STATUS || ac_write_fail=1
38955
38956 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
38957   for (key in D) D_is_set[key] = 1
38958   FS = "\a"
38959 }
38960 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
38961   line = \$ 0
38962   split(line, arg, " ")
38963   if (arg[1] == "#") {
38964     defundef = arg[2]
38965     mac1 = arg[3]
38966   } else {
38967     defundef = substr(arg[1], 2)
38968     mac1 = arg[2]
38969   }
38970   split(mac1, mac2, "(") #)
38971   macro = mac2[1]
38972   prefix = substr(line, 1, index(line, defundef) - 1)
38973   if (D_is_set[macro]) {
38974     # Preserve the white space surrounding the "#".
38975     print prefix "define", macro P[macro] D[macro]
38976     next
38977   } else {
38978     # Replace #undef with comments.  This is necessary, for example,
38979     # in the case of _POSIX_SOURCE, which is predefined and required
38980     # on some systems where configure will not decide to define it.
38981     if (defundef == "undef") {
38982       print "/*", prefix defundef, macro, "*/"
38983       next
38984     }
38985   }
38986 }
38987 { print }
38988 _ACAWK
38989 _ACEOF
38990 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
38991   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
38992 fi # test -n "$CONFIG_HEADERS"
38993
38994
38995 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
38996 shift
38997 for ac_tag
38998 do
38999   case $ac_tag in
39000   :[FHLC]) ac_mode=$ac_tag; continue;;
39001   esac
39002   case $ac_mode$ac_tag in
39003   :[FHL]*:*);;
39004   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
39005   :[FH]-) ac_tag=-:-;;
39006   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
39007   esac
39008   ac_save_IFS=$IFS
39009   IFS=:
39010   set x $ac_tag
39011   IFS=$ac_save_IFS
39012   shift
39013   ac_file=$1
39014   shift
39015
39016   case $ac_mode in
39017   :L) ac_source=$1;;
39018   :[FH])
39019     ac_file_inputs=
39020     for ac_f
39021     do
39022       case $ac_f in
39023       -) ac_f="$ac_tmp/stdin";;
39024       *) # Look for the file first in the build tree, then in the source tree
39025          # (if the path is not absolute).  The absolute path cannot be DOS-style,
39026          # because $ac_f cannot contain `:'.
39027          test -f "$ac_f" ||
39028            case $ac_f in
39029            [\\/$]*) false;;
39030            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
39031            esac ||
39032            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
39033       esac
39034       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
39035       as_fn_append ac_file_inputs " '$ac_f'"
39036     done
39037
39038     # Let's still pretend it is `configure' which instantiates (i.e., don't
39039     # use $as_me), people would be surprised to read:
39040     #    /* config.h.  Generated by config.status.  */
39041     configure_input='Generated from '`
39042           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
39043         `' by configure.'
39044     if test x"$ac_file" != x-; then
39045       configure_input="$ac_file.  $configure_input"
39046       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
39047 $as_echo "$as_me: creating $ac_file" >&6;}
39048     fi
39049     # Neutralize special characters interpreted by sed in replacement strings.
39050     case $configure_input in #(
39051     *\&* | *\|* | *\\* )
39052        ac_sed_conf_input=`$as_echo "$configure_input" |
39053        sed 's/[\\\\&|]/\\\\&/g'`;; #(
39054     *) ac_sed_conf_input=$configure_input;;
39055     esac
39056
39057     case $ac_tag in
39058     *:-:* | *:-) cat >"$ac_tmp/stdin" \
39059       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
39060     esac
39061     ;;
39062   esac
39063
39064   ac_dir=`$as_dirname -- "$ac_file" ||
39065 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
39066          X"$ac_file" : 'X\(//\)[^/]' \| \
39067          X"$ac_file" : 'X\(//\)$' \| \
39068          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
39069 $as_echo X"$ac_file" |
39070     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
39071             s//\1/
39072             q
39073           }
39074           /^X\(\/\/\)[^/].*/{
39075             s//\1/
39076             q
39077           }
39078           /^X\(\/\/\)$/{
39079             s//\1/
39080             q
39081           }
39082           /^X\(\/\).*/{
39083             s//\1/
39084             q
39085           }
39086           s/.*/./; q'`
39087   as_dir="$ac_dir"; as_fn_mkdir_p
39088   ac_builddir=.
39089
39090 case "$ac_dir" in
39091 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
39092 *)
39093   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
39094   # A ".." for each directory in $ac_dir_suffix.
39095   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
39096   case $ac_top_builddir_sub in
39097   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
39098   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
39099   esac ;;
39100 esac
39101 ac_abs_top_builddir=$ac_pwd
39102 ac_abs_builddir=$ac_pwd$ac_dir_suffix
39103 # for backward compatibility:
39104 ac_top_builddir=$ac_top_build_prefix
39105
39106 case $srcdir in
39107   .)  # We are building in place.
39108     ac_srcdir=.
39109     ac_top_srcdir=$ac_top_builddir_sub
39110     ac_abs_top_srcdir=$ac_pwd ;;
39111   [\\/]* | ?:[\\/]* )  # Absolute name.
39112     ac_srcdir=$srcdir$ac_dir_suffix;
39113     ac_top_srcdir=$srcdir
39114     ac_abs_top_srcdir=$srcdir ;;
39115   *) # Relative name.
39116     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
39117     ac_top_srcdir=$ac_top_build_prefix$srcdir
39118     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
39119 esac
39120 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
39121
39122
39123   case $ac_mode in
39124   :F)
39125   #
39126   # CONFIG_FILE
39127   #
39128
39129   case $INSTALL in
39130   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
39131   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
39132   esac
39133   ac_MKDIR_P=$MKDIR_P
39134   case $MKDIR_P in
39135   [\\/$]* | ?:[\\/]* ) ;;
39136   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
39137   esac
39138 _ACEOF
39139
39140 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
39141 # If the template does not know about datarootdir, expand it.
39142 # FIXME: This hack should be removed a few years after 2.60.
39143 ac_datarootdir_hack=; ac_datarootdir_seen=
39144 ac_sed_dataroot='
39145 /datarootdir/ {
39146   p
39147   q
39148 }
39149 /@datadir@/p
39150 /@docdir@/p
39151 /@infodir@/p
39152 /@localedir@/p
39153 /@mandir@/p'
39154 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
39155 *datarootdir*) ac_datarootdir_seen=yes;;
39156 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
39157   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
39158 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
39159 _ACEOF
39160 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
39161   ac_datarootdir_hack='
39162   s&@datadir@&$datadir&g
39163   s&@docdir@&$docdir&g
39164   s&@infodir@&$infodir&g
39165   s&@localedir@&$localedir&g
39166   s&@mandir@&$mandir&g
39167   s&\\\${datarootdir}&$datarootdir&g' ;;
39168 esac
39169 _ACEOF
39170
39171 # Neutralize VPATH when `$srcdir' = `.'.
39172 # Shell code in configure.ac might set extrasub.
39173 # FIXME: do we really want to maintain this feature?
39174 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
39175 ac_sed_extra="$ac_vpsub
39176 $extrasub
39177 _ACEOF
39178 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
39179 :t
39180 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
39181 s|@configure_input@|$ac_sed_conf_input|;t t
39182 s&@top_builddir@&$ac_top_builddir_sub&;t t
39183 s&@top_build_prefix@&$ac_top_build_prefix&;t t
39184 s&@srcdir@&$ac_srcdir&;t t
39185 s&@abs_srcdir@&$ac_abs_srcdir&;t t
39186 s&@top_srcdir@&$ac_top_srcdir&;t t
39187 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
39188 s&@builddir@&$ac_builddir&;t t
39189 s&@abs_builddir@&$ac_abs_builddir&;t t
39190 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
39191 s&@INSTALL@&$ac_INSTALL&;t t
39192 s&@MKDIR_P@&$ac_MKDIR_P&;t t
39193 $ac_datarootdir_hack
39194 "
39195 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
39196   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
39197
39198 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
39199   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
39200   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
39201       "$ac_tmp/out"`; test -z "$ac_out"; } &&
39202   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
39203 which seems to be undefined.  Please make sure it is defined" >&5
39204 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
39205 which seems to be undefined.  Please make sure it is defined" >&2;}
39206
39207   rm -f "$ac_tmp/stdin"
39208   case $ac_file in
39209   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
39210   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
39211   esac \
39212   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
39213  ;;
39214   :H)
39215   #
39216   # CONFIG_HEADER
39217   #
39218   if test x"$ac_file" != x-; then
39219     {
39220       $as_echo "/* $configure_input  */" \
39221       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
39222     } >"$ac_tmp/config.h" \
39223       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
39224     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
39225       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
39226 $as_echo "$as_me: $ac_file is unchanged" >&6;}
39227     else
39228       rm -f "$ac_file"
39229       mv "$ac_tmp/config.h" "$ac_file" \
39230         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
39231     fi
39232   else
39233     $as_echo "/* $configure_input  */" \
39234       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
39235       || as_fn_error $? "could not create -" "$LINENO" 5
39236   fi
39237 # Compute "$ac_file"'s index in $config_headers.
39238 _am_arg="$ac_file"
39239 _am_stamp_count=1
39240 for _am_header in $config_headers :; do
39241   case $_am_header in
39242     $_am_arg | $_am_arg:* )
39243       break ;;
39244     * )
39245       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
39246   esac
39247 done
39248 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
39249 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
39250          X"$_am_arg" : 'X\(//\)[^/]' \| \
39251          X"$_am_arg" : 'X\(//\)$' \| \
39252          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
39253 $as_echo X"$_am_arg" |
39254     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
39255             s//\1/
39256             q
39257           }
39258           /^X\(\/\/\)[^/].*/{
39259             s//\1/
39260             q
39261           }
39262           /^X\(\/\/\)$/{
39263             s//\1/
39264             q
39265           }
39266           /^X\(\/\).*/{
39267             s//\1/
39268             q
39269           }
39270           s/.*/./; q'`/stamp-h$_am_stamp_count
39271  ;;
39272
39273   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
39274 $as_echo "$as_me: executing $ac_file commands" >&6;}
39275  ;;
39276   esac
39277
39278
39279   case $ac_file$ac_mode in
39280     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
39281   # Autoconf 2.62 quotes --file arguments for eval, but not when files
39282   # are listed without --file.  Let's play safe and only enable the eval
39283   # if we detect the quoting.
39284   case $CONFIG_FILES in
39285   *\'*) eval set x "$CONFIG_FILES" ;;
39286   *)   set x $CONFIG_FILES ;;
39287   esac
39288   shift
39289   for mf
39290   do
39291     # Strip MF so we end up with the name of the file.
39292     mf=`echo "$mf" | sed -e 's/:.*$//'`
39293     # Check whether this is an Automake generated Makefile or not.
39294     # We used to match only the files named `Makefile.in', but
39295     # some people rename them; so instead we look at the file content.
39296     # Grep'ing the first line is not enough: some people post-process
39297     # each Makefile.in and add a new line on top of each file to say so.
39298     # Grep'ing the whole file is not good either: AIX grep has a line
39299     # limit of 2048, but all sed's we know have understand at least 4000.
39300     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
39301       dirpart=`$as_dirname -- "$mf" ||
39302 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
39303          X"$mf" : 'X\(//\)[^/]' \| \
39304          X"$mf" : 'X\(//\)$' \| \
39305          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
39306 $as_echo X"$mf" |
39307     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
39308             s//\1/
39309             q
39310           }
39311           /^X\(\/\/\)[^/].*/{
39312             s//\1/
39313             q
39314           }
39315           /^X\(\/\/\)$/{
39316             s//\1/
39317             q
39318           }
39319           /^X\(\/\).*/{
39320             s//\1/
39321             q
39322           }
39323           s/.*/./; q'`
39324     else
39325       continue
39326     fi
39327     # Extract the definition of DEPDIR, am__include, and am__quote
39328     # from the Makefile without running `make'.
39329     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
39330     test -z "$DEPDIR" && continue
39331     am__include=`sed -n 's/^am__include = //p' < "$mf"`
39332     test -z "am__include" && continue
39333     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
39334     # When using ansi2knr, U may be empty or an underscore; expand it
39335     U=`sed -n 's/^U = //p' < "$mf"`
39336     # Find all dependency output files, they are included files with
39337     # $(DEPDIR) in their names.  We invoke sed twice because it is the
39338     # simplest approach to changing $(DEPDIR) to its actual value in the
39339     # expansion.
39340     for file in `sed -n "
39341       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
39342          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
39343       # Make sure the directory exists.
39344       test -f "$dirpart/$file" && continue
39345       fdir=`$as_dirname -- "$file" ||
39346 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
39347          X"$file" : 'X\(//\)[^/]' \| \
39348          X"$file" : 'X\(//\)$' \| \
39349          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
39350 $as_echo X"$file" |
39351     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
39352             s//\1/
39353             q
39354           }
39355           /^X\(\/\/\)[^/].*/{
39356             s//\1/
39357             q
39358           }
39359           /^X\(\/\/\)$/{
39360             s//\1/
39361             q
39362           }
39363           /^X\(\/\).*/{
39364             s//\1/
39365             q
39366           }
39367           s/.*/./; q'`
39368       as_dir=$dirpart/$fdir; as_fn_mkdir_p
39369       # echo "creating $dirpart/$file"
39370       echo '# dummy' > "$dirpart/$file"
39371     done
39372   done
39373 }
39374  ;;
39375     "libtool":C)
39376
39377     # See if we are running on zsh, and set the options which allow our
39378     # commands through without removal of \ escapes.
39379     if test -n "${ZSH_VERSION+set}" ; then
39380       setopt NO_GLOB_SUBST
39381     fi
39382
39383     cfgfile="${ofile}T"
39384     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
39385     $RM "$cfgfile"
39386
39387     cat <<_LT_EOF >> "$cfgfile"
39388 #! $SHELL
39389
39390 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
39391 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
39392 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
39393 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
39394 #
39395 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
39396 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
39397 #                 Foundation, Inc.
39398 #   Written by Gordon Matzigkeit, 1996
39399 #
39400 #   This file is part of GNU Libtool.
39401 #
39402 # GNU Libtool is free software; you can redistribute it and/or
39403 # modify it under the terms of the GNU General Public License as
39404 # published by the Free Software Foundation; either version 2 of
39405 # the License, or (at your option) any later version.
39406 #
39407 # As a special exception to the GNU General Public License,
39408 # if you distribute this file as part of a program or library that
39409 # is built using GNU Libtool, you may include this file under the
39410 # same distribution terms that you use for the rest of that program.
39411 #
39412 # GNU Libtool is distributed in the hope that it will be useful,
39413 # but WITHOUT ANY WARRANTY; without even the implied warranty of
39414 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
39415 # GNU General Public License for more details.
39416 #
39417 # You should have received a copy of the GNU General Public License
39418 # along with GNU Libtool; see the file COPYING.  If not, a copy
39419 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
39420 # obtained by writing to the Free Software Foundation, Inc.,
39421 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
39422
39423
39424 # The names of the tagged configurations supported by this script.
39425 available_tags="CXX "
39426
39427 # ### BEGIN LIBTOOL CONFIG
39428
39429 # Assembler program.
39430 AS=$lt_AS
39431
39432 # DLL creation program.
39433 DLLTOOL=$lt_DLLTOOL
39434
39435 # Object dumper program.
39436 OBJDUMP=$lt_OBJDUMP
39437
39438 # Which release of libtool.m4 was used?
39439 macro_version=$macro_version
39440 macro_revision=$macro_revision
39441
39442 # Whether or not to build shared libraries.
39443 build_libtool_libs=$enable_shared
39444
39445 # Whether or not to build static libraries.
39446 build_old_libs=$enable_static
39447
39448 # What type of objects to build.
39449 pic_mode=$pic_mode
39450
39451 # Whether or not to optimize for fast installation.
39452 fast_install=$enable_fast_install
39453
39454 # Shell to use when invoking shell scripts.
39455 SHELL=$lt_SHELL
39456
39457 # An echo program that protects backslashes.
39458 ECHO=$lt_ECHO
39459
39460 # The PATH separator for the build system.
39461 PATH_SEPARATOR=$lt_PATH_SEPARATOR
39462
39463 # The host system.
39464 host_alias=$host_alias
39465 host=$host
39466 host_os=$host_os
39467
39468 # The build system.
39469 build_alias=$build_alias
39470 build=$build
39471 build_os=$build_os
39472
39473 # A sed program that does not truncate output.
39474 SED=$lt_SED
39475
39476 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
39477 Xsed="\$SED -e 1s/^X//"
39478
39479 # A grep program that handles long lines.
39480 GREP=$lt_GREP
39481
39482 # An ERE matcher.
39483 EGREP=$lt_EGREP
39484
39485 # A literal string matcher.
39486 FGREP=$lt_FGREP
39487
39488 # A BSD- or MS-compatible name lister.
39489 NM=$lt_NM
39490
39491 # Whether we need soft or hard links.
39492 LN_S=$lt_LN_S
39493
39494 # What is the maximum length of a command?
39495 max_cmd_len=$max_cmd_len
39496
39497 # Object file suffix (normally "o").
39498 objext=$ac_objext
39499
39500 # Executable file suffix (normally "").
39501 exeext=$exeext
39502
39503 # whether the shell understands "unset".
39504 lt_unset=$lt_unset
39505
39506 # turn spaces into newlines.
39507 SP2NL=$lt_lt_SP2NL
39508
39509 # turn newlines into spaces.
39510 NL2SP=$lt_lt_NL2SP
39511
39512 # convert \$build file names to \$host format.
39513 to_host_file_cmd=$lt_cv_to_host_file_cmd
39514
39515 # convert \$build files to toolchain format.
39516 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
39517
39518 # Method to check whether dependent libraries are shared objects.
39519 deplibs_check_method=$lt_deplibs_check_method
39520
39521 # Command to use when deplibs_check_method = "file_magic".
39522 file_magic_cmd=$lt_file_magic_cmd
39523
39524 # How to find potential files when deplibs_check_method = "file_magic".
39525 file_magic_glob=$lt_file_magic_glob
39526
39527 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
39528 want_nocaseglob=$lt_want_nocaseglob
39529
39530 # Command to associate shared and link libraries.
39531 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
39532
39533 # The archiver.
39534 AR=$lt_AR
39535
39536 # Flags to create an archive.
39537 AR_FLAGS=$lt_AR_FLAGS
39538
39539 # How to feed a file listing to the archiver.
39540 archiver_list_spec=$lt_archiver_list_spec
39541
39542 # A symbol stripping program.
39543 STRIP=$lt_STRIP
39544
39545 # Commands used to install an old-style archive.
39546 RANLIB=$lt_RANLIB
39547 old_postinstall_cmds=$lt_old_postinstall_cmds
39548 old_postuninstall_cmds=$lt_old_postuninstall_cmds
39549
39550 # Whether to use a lock for old archive extraction.
39551 lock_old_archive_extraction=$lock_old_archive_extraction
39552
39553 # A C compiler.
39554 LTCC=$lt_CC
39555
39556 # LTCC compiler flags.
39557 LTCFLAGS=$lt_CFLAGS
39558
39559 # Take the output of nm and produce a listing of raw symbols and C names.
39560 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
39561
39562 # Transform the output of nm in a proper C declaration.
39563 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
39564
39565 # Transform the output of nm in a C name address pair.
39566 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
39567
39568 # Transform the output of nm in a C name address pair when lib prefix is needed.
39569 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
39570
39571 # Specify filename containing input files for \$NM.
39572 nm_file_list_spec=$lt_nm_file_list_spec
39573
39574 # The root where to search for dependent libraries,and in which our libraries should be installed.
39575 lt_sysroot=$lt_sysroot
39576
39577 # The name of the directory that contains temporary libtool files.
39578 objdir=$objdir
39579
39580 # Used to examine libraries when file_magic_cmd begins with "file".
39581 MAGIC_CMD=$MAGIC_CMD
39582
39583 # Must we lock files when doing compilation?
39584 need_locks=$lt_need_locks
39585
39586 # Manifest tool.
39587 MANIFEST_TOOL=$lt_MANIFEST_TOOL
39588
39589 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
39590 DSYMUTIL=$lt_DSYMUTIL
39591
39592 # Tool to change global to local symbols on Mac OS X.
39593 NMEDIT=$lt_NMEDIT
39594
39595 # Tool to manipulate fat objects and archives on Mac OS X.
39596 LIPO=$lt_LIPO
39597
39598 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
39599 OTOOL=$lt_OTOOL
39600
39601 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
39602 OTOOL64=$lt_OTOOL64
39603
39604 # Old archive suffix (normally "a").
39605 libext=$libext
39606
39607 # Shared library suffix (normally ".so").
39608 shrext_cmds=$lt_shrext_cmds
39609
39610 # The commands to extract the exported symbol list from a shared archive.
39611 extract_expsyms_cmds=$lt_extract_expsyms_cmds
39612
39613 # Variables whose values should be saved in libtool wrapper scripts and
39614 # restored at link time.
39615 variables_saved_for_relink=$lt_variables_saved_for_relink
39616
39617 # Do we need the "lib" prefix for modules?
39618 need_lib_prefix=$need_lib_prefix
39619
39620 # Do we need a version for libraries?
39621 need_version=$need_version
39622
39623 # Library versioning type.
39624 version_type=$version_type
39625
39626 # Shared library runtime path variable.
39627 runpath_var=$runpath_var
39628
39629 # Shared library path variable.
39630 shlibpath_var=$shlibpath_var
39631
39632 # Is shlibpath searched before the hard-coded library search path?
39633 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
39634
39635 # Format of library name prefix.
39636 libname_spec=$lt_libname_spec
39637
39638 # List of archive names.  First name is the real one, the rest are links.
39639 # The last name is the one that the linker finds with -lNAME
39640 library_names_spec=$lt_library_names_spec
39641
39642 # The coded name of the library, if different from the real name.
39643 soname_spec=$lt_soname_spec
39644
39645 # Permission mode override for installation of shared libraries.
39646 install_override_mode=$lt_install_override_mode
39647
39648 # Command to use after installation of a shared archive.
39649 postinstall_cmds=$lt_postinstall_cmds
39650
39651 # Command to use after uninstallation of a shared archive.
39652 postuninstall_cmds=$lt_postuninstall_cmds
39653
39654 # Commands used to finish a libtool library installation in a directory.
39655 finish_cmds=$lt_finish_cmds
39656
39657 # As "finish_cmds", except a single script fragment to be evaled but
39658 # not shown.
39659 finish_eval=$lt_finish_eval
39660
39661 # Whether we should hardcode library paths into libraries.
39662 hardcode_into_libs=$hardcode_into_libs
39663
39664 # Compile-time system search path for libraries.
39665 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
39666
39667 # Run-time system search path for libraries.
39668 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
39669
39670 # Whether dlopen is supported.
39671 dlopen_support=$enable_dlopen
39672
39673 # Whether dlopen of programs is supported.
39674 dlopen_self=$enable_dlopen_self
39675
39676 # Whether dlopen of statically linked programs is supported.
39677 dlopen_self_static=$enable_dlopen_self_static
39678
39679 # Commands to strip libraries.
39680 old_striplib=$lt_old_striplib
39681 striplib=$lt_striplib
39682
39683
39684 # The linker used to build libraries.
39685 LD=$lt_LD
39686
39687 # How to create reloadable object files.
39688 reload_flag=$lt_reload_flag
39689 reload_cmds=$lt_reload_cmds
39690
39691 # Commands used to build an old-style archive.
39692 old_archive_cmds=$lt_old_archive_cmds
39693
39694 # A language specific compiler.
39695 CC=$lt_compiler
39696
39697 # Is the compiler the GNU compiler?
39698 with_gcc=$GCC
39699
39700 # Compiler flag to turn off builtin functions.
39701 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
39702
39703 # Additional compiler flags for building library objects.
39704 pic_flag=$lt_lt_prog_compiler_pic
39705
39706 # How to pass a linker flag through the compiler.
39707 wl=$lt_lt_prog_compiler_wl
39708
39709 # Compiler flag to prevent dynamic linking.
39710 link_static_flag=$lt_lt_prog_compiler_static
39711
39712 # Does compiler simultaneously support -c and -o options?
39713 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
39714
39715 # Whether or not to add -lc for building shared libraries.
39716 build_libtool_need_lc=$archive_cmds_need_lc
39717
39718 # Whether or not to disallow shared libs when runtime libs are static.
39719 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
39720
39721 # Compiler flag to allow reflexive dlopens.
39722 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
39723
39724 # Compiler flag to generate shared objects directly from archives.
39725 whole_archive_flag_spec=$lt_whole_archive_flag_spec
39726
39727 # Whether the compiler copes with passing no objects directly.
39728 compiler_needs_object=$lt_compiler_needs_object
39729
39730 # Create an old-style archive from a shared archive.
39731 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
39732
39733 # Create a temporary old-style archive to link instead of a shared archive.
39734 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
39735
39736 # Commands used to build a shared archive.
39737 archive_cmds=$lt_archive_cmds
39738 archive_expsym_cmds=$lt_archive_expsym_cmds
39739
39740 # Commands used to build a loadable module if different from building
39741 # a shared archive.
39742 module_cmds=$lt_module_cmds
39743 module_expsym_cmds=$lt_module_expsym_cmds
39744
39745 # Whether we are building with GNU ld or not.
39746 with_gnu_ld=$lt_with_gnu_ld
39747
39748 # Flag that allows shared libraries with undefined symbols to be built.
39749 allow_undefined_flag=$lt_allow_undefined_flag
39750
39751 # Flag that enforces no undefined symbols.
39752 no_undefined_flag=$lt_no_undefined_flag
39753
39754 # Flag to hardcode \$libdir into a binary during linking.
39755 # This must work even if \$libdir does not exist
39756 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
39757
39758 # Whether we need a single "-rpath" flag with a separated argument.
39759 hardcode_libdir_separator=$lt_hardcode_libdir_separator
39760
39761 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
39762 # DIR into the resulting binary.
39763 hardcode_direct=$hardcode_direct
39764
39765 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
39766 # DIR into the resulting binary and the resulting library dependency is
39767 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
39768 # library is relocated.
39769 hardcode_direct_absolute=$hardcode_direct_absolute
39770
39771 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
39772 # into the resulting binary.
39773 hardcode_minus_L=$hardcode_minus_L
39774
39775 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
39776 # into the resulting binary.
39777 hardcode_shlibpath_var=$hardcode_shlibpath_var
39778
39779 # Set to "yes" if building a shared library automatically hardcodes DIR
39780 # into the library and all subsequent libraries and executables linked
39781 # against it.
39782 hardcode_automatic=$hardcode_automatic
39783
39784 # Set to yes if linker adds runtime paths of dependent libraries
39785 # to runtime path list.
39786 inherit_rpath=$inherit_rpath
39787
39788 # Whether libtool must link a program against all its dependency libraries.
39789 link_all_deplibs=$link_all_deplibs
39790
39791 # Set to "yes" if exported symbols are required.
39792 always_export_symbols=$always_export_symbols
39793
39794 # The commands to list exported symbols.
39795 export_symbols_cmds=$lt_export_symbols_cmds
39796
39797 # Symbols that should not be listed in the preloaded symbols.
39798 exclude_expsyms=$lt_exclude_expsyms
39799
39800 # Symbols that must always be exported.
39801 include_expsyms=$lt_include_expsyms
39802
39803 # Commands necessary for linking programs (against libraries) with templates.
39804 prelink_cmds=$lt_prelink_cmds
39805
39806 # Commands necessary for finishing linking programs.
39807 postlink_cmds=$lt_postlink_cmds
39808
39809 # Specify filename containing input files.
39810 file_list_spec=$lt_file_list_spec
39811
39812 # How to hardcode a shared library path into an executable.
39813 hardcode_action=$hardcode_action
39814
39815 # The directories searched by this compiler when creating a shared library.
39816 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
39817
39818 # Dependencies to place before and after the objects being linked to
39819 # create a shared library.
39820 predep_objects=$lt_predep_objects
39821 postdep_objects=$lt_postdep_objects
39822 predeps=$lt_predeps
39823 postdeps=$lt_postdeps
39824
39825 # The library search path used internally by the compiler when linking
39826 # a shared library.
39827 compiler_lib_search_path=$lt_compiler_lib_search_path
39828
39829 # ### END LIBTOOL CONFIG
39830
39831 _LT_EOF
39832
39833   case $host_os in
39834   aix3*)
39835     cat <<\_LT_EOF >> "$cfgfile"
39836 # AIX sometimes has problems with the GCC collect2 program.  For some
39837 # reason, if we set the COLLECT_NAMES environment variable, the problems
39838 # vanish in a puff of smoke.
39839 if test "X${COLLECT_NAMES+set}" != Xset; then
39840   COLLECT_NAMES=
39841   export COLLECT_NAMES
39842 fi
39843 _LT_EOF
39844     ;;
39845   esac
39846
39847
39848 ltmain="$ac_aux_dir/ltmain.sh"
39849
39850
39851   # We use sed instead of cat because bash on DJGPP gets confused if
39852   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
39853   # text mode, it properly converts lines to CR/LF.  This bash problem
39854   # is reportedly fixed, but why not run on old versions too?
39855   sed '$q' "$ltmain" >> "$cfgfile" \
39856      || (rm -f "$cfgfile"; exit 1)
39857
39858   if test x"$xsi_shell" = xyes; then
39859   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
39860 func_dirname ()\
39861 {\
39862 \    case ${1} in\
39863 \      */*) func_dirname_result="${1%/*}${2}" ;;\
39864 \      *  ) func_dirname_result="${3}" ;;\
39865 \    esac\
39866 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
39867   && mv -f "$cfgfile.tmp" "$cfgfile" \
39868     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
39869 test 0 -eq $? || _lt_function_replace_fail=:
39870
39871
39872   sed -e '/^func_basename ()$/,/^} # func_basename /c\
39873 func_basename ()\
39874 {\
39875 \    func_basename_result="${1##*/}"\
39876 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
39877   && mv -f "$cfgfile.tmp" "$cfgfile" \
39878     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
39879 test 0 -eq $? || _lt_function_replace_fail=:
39880
39881
39882   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
39883 func_dirname_and_basename ()\
39884 {\
39885 \    case ${1} in\
39886 \      */*) func_dirname_result="${1%/*}${2}" ;;\
39887 \      *  ) func_dirname_result="${3}" ;;\
39888 \    esac\
39889 \    func_basename_result="${1##*/}"\
39890 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
39891   && mv -f "$cfgfile.tmp" "$cfgfile" \
39892     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
39893 test 0 -eq $? || _lt_function_replace_fail=:
39894
39895
39896   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
39897 func_stripname ()\
39898 {\
39899 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
39900 \    # positional parameters, so assign one to ordinary parameter first.\
39901 \    func_stripname_result=${3}\
39902 \    func_stripname_result=${func_stripname_result#"${1}"}\
39903 \    func_stripname_result=${func_stripname_result%"${2}"}\
39904 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
39905   && mv -f "$cfgfile.tmp" "$cfgfile" \
39906     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
39907 test 0 -eq $? || _lt_function_replace_fail=:
39908
39909
39910   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
39911 func_split_long_opt ()\
39912 {\
39913 \    func_split_long_opt_name=${1%%=*}\
39914 \    func_split_long_opt_arg=${1#*=}\
39915 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
39916   && mv -f "$cfgfile.tmp" "$cfgfile" \
39917     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
39918 test 0 -eq $? || _lt_function_replace_fail=:
39919
39920
39921   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
39922 func_split_short_opt ()\
39923 {\
39924 \    func_split_short_opt_arg=${1#??}\
39925 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
39926 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
39927   && mv -f "$cfgfile.tmp" "$cfgfile" \
39928     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
39929 test 0 -eq $? || _lt_function_replace_fail=:
39930
39931
39932   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
39933 func_lo2o ()\
39934 {\
39935 \    case ${1} in\
39936 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
39937 \      *)    func_lo2o_result=${1} ;;\
39938 \    esac\
39939 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
39940   && mv -f "$cfgfile.tmp" "$cfgfile" \
39941     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
39942 test 0 -eq $? || _lt_function_replace_fail=:
39943
39944
39945   sed -e '/^func_xform ()$/,/^} # func_xform /c\
39946 func_xform ()\
39947 {\
39948     func_xform_result=${1%.*}.lo\
39949 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
39950   && mv -f "$cfgfile.tmp" "$cfgfile" \
39951     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
39952 test 0 -eq $? || _lt_function_replace_fail=:
39953
39954
39955   sed -e '/^func_arith ()$/,/^} # func_arith /c\
39956 func_arith ()\
39957 {\
39958     func_arith_result=$(( $* ))\
39959 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
39960   && mv -f "$cfgfile.tmp" "$cfgfile" \
39961     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
39962 test 0 -eq $? || _lt_function_replace_fail=:
39963
39964
39965   sed -e '/^func_len ()$/,/^} # func_len /c\
39966 func_len ()\
39967 {\
39968     func_len_result=${#1}\
39969 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
39970   && mv -f "$cfgfile.tmp" "$cfgfile" \
39971     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
39972 test 0 -eq $? || _lt_function_replace_fail=:
39973
39974 fi
39975
39976 if test x"$lt_shell_append" = xyes; then
39977   sed -e '/^func_append ()$/,/^} # func_append /c\
39978 func_append ()\
39979 {\
39980     eval "${1}+=\\${2}"\
39981 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
39982   && mv -f "$cfgfile.tmp" "$cfgfile" \
39983     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
39984 test 0 -eq $? || _lt_function_replace_fail=:
39985
39986
39987   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
39988 func_append_quoted ()\
39989 {\
39990 \    func_quote_for_eval "${2}"\
39991 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
39992 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
39993   && mv -f "$cfgfile.tmp" "$cfgfile" \
39994     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
39995 test 0 -eq $? || _lt_function_replace_fail=:
39996
39997
39998   # Save a `func_append' function call where possible by direct use of '+='
39999   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
40000     && mv -f "$cfgfile.tmp" "$cfgfile" \
40001       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
40002   test 0 -eq $? || _lt_function_replace_fail=:
40003 else
40004   # Save a `func_append' function call even when '+=' is not available
40005   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
40006     && mv -f "$cfgfile.tmp" "$cfgfile" \
40007       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
40008   test 0 -eq $? || _lt_function_replace_fail=:
40009 fi
40010
40011 if test x"$_lt_function_replace_fail" = x":"; then
40012   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
40013 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
40014 fi
40015
40016
40017    mv -f "$cfgfile" "$ofile" ||
40018     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
40019   chmod +x "$ofile"
40020
40021
40022     cat <<_LT_EOF >> "$ofile"
40023
40024 # ### BEGIN LIBTOOL TAG CONFIG: CXX
40025
40026 # The linker used to build libraries.
40027 LD=$lt_LD_CXX
40028
40029 # How to create reloadable object files.
40030 reload_flag=$lt_reload_flag_CXX
40031 reload_cmds=$lt_reload_cmds_CXX
40032
40033 # Commands used to build an old-style archive.
40034 old_archive_cmds=$lt_old_archive_cmds_CXX
40035
40036 # A language specific compiler.
40037 CC=$lt_compiler_CXX
40038
40039 # Is the compiler the GNU compiler?
40040 with_gcc=$GCC_CXX
40041
40042 # Compiler flag to turn off builtin functions.
40043 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
40044
40045 # Additional compiler flags for building library objects.
40046 pic_flag=$lt_lt_prog_compiler_pic_CXX
40047
40048 # How to pass a linker flag through the compiler.
40049 wl=$lt_lt_prog_compiler_wl_CXX
40050
40051 # Compiler flag to prevent dynamic linking.
40052 link_static_flag=$lt_lt_prog_compiler_static_CXX
40053
40054 # Does compiler simultaneously support -c and -o options?
40055 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
40056
40057 # Whether or not to add -lc for building shared libraries.
40058 build_libtool_need_lc=$archive_cmds_need_lc_CXX
40059
40060 # Whether or not to disallow shared libs when runtime libs are static.
40061 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
40062
40063 # Compiler flag to allow reflexive dlopens.
40064 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
40065
40066 # Compiler flag to generate shared objects directly from archives.
40067 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
40068
40069 # Whether the compiler copes with passing no objects directly.
40070 compiler_needs_object=$lt_compiler_needs_object_CXX
40071
40072 # Create an old-style archive from a shared archive.
40073 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
40074
40075 # Create a temporary old-style archive to link instead of a shared archive.
40076 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
40077
40078 # Commands used to build a shared archive.
40079 archive_cmds=$lt_archive_cmds_CXX
40080 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
40081
40082 # Commands used to build a loadable module if different from building
40083 # a shared archive.
40084 module_cmds=$lt_module_cmds_CXX
40085 module_expsym_cmds=$lt_module_expsym_cmds_CXX
40086
40087 # Whether we are building with GNU ld or not.
40088 with_gnu_ld=$lt_with_gnu_ld_CXX
40089
40090 # Flag that allows shared libraries with undefined symbols to be built.
40091 allow_undefined_flag=$lt_allow_undefined_flag_CXX
40092
40093 # Flag that enforces no undefined symbols.
40094 no_undefined_flag=$lt_no_undefined_flag_CXX
40095
40096 # Flag to hardcode \$libdir into a binary during linking.
40097 # This must work even if \$libdir does not exist
40098 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
40099
40100 # Whether we need a single "-rpath" flag with a separated argument.
40101 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
40102
40103 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
40104 # DIR into the resulting binary.
40105 hardcode_direct=$hardcode_direct_CXX
40106
40107 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
40108 # DIR into the resulting binary and the resulting library dependency is
40109 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
40110 # library is relocated.
40111 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
40112
40113 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
40114 # into the resulting binary.
40115 hardcode_minus_L=$hardcode_minus_L_CXX
40116
40117 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
40118 # into the resulting binary.
40119 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
40120
40121 # Set to "yes" if building a shared library automatically hardcodes DIR
40122 # into the library and all subsequent libraries and executables linked
40123 # against it.
40124 hardcode_automatic=$hardcode_automatic_CXX
40125
40126 # Set to yes if linker adds runtime paths of dependent libraries
40127 # to runtime path list.
40128 inherit_rpath=$inherit_rpath_CXX
40129
40130 # Whether libtool must link a program against all its dependency libraries.
40131 link_all_deplibs=$link_all_deplibs_CXX
40132
40133 # Set to "yes" if exported symbols are required.
40134 always_export_symbols=$always_export_symbols_CXX
40135
40136 # The commands to list exported symbols.
40137 export_symbols_cmds=$lt_export_symbols_cmds_CXX
40138
40139 # Symbols that should not be listed in the preloaded symbols.
40140 exclude_expsyms=$lt_exclude_expsyms_CXX
40141
40142 # Symbols that must always be exported.
40143 include_expsyms=$lt_include_expsyms_CXX
40144
40145 # Commands necessary for linking programs (against libraries) with templates.
40146 prelink_cmds=$lt_prelink_cmds_CXX
40147
40148 # Commands necessary for finishing linking programs.
40149 postlink_cmds=$lt_postlink_cmds_CXX
40150
40151 # Specify filename containing input files.
40152 file_list_spec=$lt_file_list_spec_CXX
40153
40154 # How to hardcode a shared library path into an executable.
40155 hardcode_action=$hardcode_action_CXX
40156
40157 # The directories searched by this compiler when creating a shared library.
40158 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
40159
40160 # Dependencies to place before and after the objects being linked to
40161 # create a shared library.
40162 predep_objects=$lt_predep_objects_CXX
40163 postdep_objects=$lt_postdep_objects_CXX
40164 predeps=$lt_predeps_CXX
40165 postdeps=$lt_postdeps_CXX
40166
40167 # The library search path used internally by the compiler when linking
40168 # a shared library.
40169 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
40170
40171 # ### END LIBTOOL TAG CONFIG: CXX
40172 _LT_EOF
40173
40174  ;;
40175     "po-directories":C)
40176     for ac_file in $CONFIG_FILES; do
40177       # Support "outfile[:infile[:infile...]]"
40178       case "$ac_file" in
40179         *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
40180       esac
40181       # PO directories have a Makefile.in generated from Makefile.in.in.
40182       case "$ac_file" in */Makefile.in)
40183         # Adjust a relative srcdir.
40184         ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
40185         ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
40186         ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
40187         # In autoconf-2.13 it is called $ac_given_srcdir.
40188         # In autoconf-2.50 it is called $srcdir.
40189         test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
40190         case "$ac_given_srcdir" in
40191           .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
40192           /*) top_srcdir="$ac_given_srcdir" ;;
40193           *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
40194         esac
40195         # Treat a directory as a PO directory if and only if it has a
40196         # POTFILES.in file. This allows packages to have multiple PO
40197         # directories under different names or in different locations.
40198         if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
40199           rm -f "$ac_dir/POTFILES"
40200           test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
40201           cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[   ]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
40202           POMAKEFILEDEPS="POTFILES.in"
40203           # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
40204           # on $ac_dir but don't depend on user-specified configuration
40205           # parameters.
40206           if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
40207             # The LINGUAS file contains the set of available languages.
40208             if test -n "$OBSOLETE_ALL_LINGUAS"; then
40209               test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
40210             fi
40211             ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
40212             # Hide the ALL_LINGUAS assigment from automake < 1.5.
40213             eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
40214             POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
40215           else
40216             # The set of available languages was given in configure.in.
40217             # Hide the ALL_LINGUAS assigment from automake < 1.5.
40218             eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
40219           fi
40220           # Compute POFILES
40221           # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
40222           # Compute UPDATEPOFILES
40223           # as      $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
40224           # Compute DUMMYPOFILES
40225           # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
40226           # Compute GMOFILES
40227           # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
40228           case "$ac_given_srcdir" in
40229             .) srcdirpre= ;;
40230             *) srcdirpre='$(srcdir)/' ;;
40231           esac
40232           POFILES=
40233           UPDATEPOFILES=
40234           DUMMYPOFILES=
40235           GMOFILES=
40236           for lang in $ALL_LINGUAS; do
40237             POFILES="$POFILES $srcdirpre$lang.po"
40238             UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
40239             DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
40240             GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
40241           done
40242           # CATALOGS depends on both $ac_dir and the user's LINGUAS
40243           # environment variable.
40244           INST_LINGUAS=
40245           if test -n "$ALL_LINGUAS"; then
40246             for presentlang in $ALL_LINGUAS; do
40247               useit=no
40248               if test "%UNSET%" != "$LINGUAS"; then
40249                 desiredlanguages="$LINGUAS"
40250               else
40251                 desiredlanguages="$ALL_LINGUAS"
40252               fi
40253               for desiredlang in $desiredlanguages; do
40254                 # Use the presentlang catalog if desiredlang is
40255                 #   a. equal to presentlang, or
40256                 #   b. a variant of presentlang (because in this case,
40257                 #      presentlang can be used as a fallback for messages
40258                 #      which are not translated in the desiredlang catalog).
40259                 case "$desiredlang" in
40260                   "$presentlang"*) useit=yes;;
40261                 esac
40262               done
40263               if test $useit = yes; then
40264                 INST_LINGUAS="$INST_LINGUAS $presentlang"
40265               fi
40266             done
40267           fi
40268           CATALOGS=
40269           if test -n "$INST_LINGUAS"; then
40270             for lang in $INST_LINGUAS; do
40271               CATALOGS="$CATALOGS $lang.gmo"
40272             done
40273           fi
40274           test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
40275           sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
40276           for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
40277             if test -f "$f"; then
40278               case "$f" in
40279                 *.orig | *.bak | *~) ;;
40280                 *) cat "$f" >> "$ac_dir/Makefile" ;;
40281               esac
40282             fi
40283           done
40284         fi
40285         ;;
40286       esac
40287     done ;;
40288     "$ac_stdint_h":C)
40289 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_stdint_h : $_ac_stdint_h" >&5
40290 $as_echo "$as_me: creating $ac_stdint_h : $_ac_stdint_h" >&6;}
40291 ac_stdint=$tmp/_stdint.h
40292
40293 echo "#ifndef" $_ac_stdint_h >$ac_stdint
40294 echo "#define" $_ac_stdint_h "1" >>$ac_stdint
40295 echo "#ifndef" _GENERATED_STDINT_H >>$ac_stdint
40296 echo "#define" _GENERATED_STDINT_H '"'$PACKAGE $VERSION'"' >>$ac_stdint
40297 echo "/* generated $ac_cv_stdint_message */" >>$ac_stdint
40298 if test "_$ac_cv_header_stdint_t" != "_" ; then
40299 echo "#define _STDINT_HAVE_STDINT_H" "1" >>$ac_stdint
40300 echo "#include <stdint.h>" >>$ac_stdint
40301 echo "#endif" >>$ac_stdint
40302 echo "#endif" >>$ac_stdint
40303 else
40304
40305 cat >>$ac_stdint <<STDINT_EOF
40306
40307 /* ................... shortcircuit part ........................... */
40308
40309 #if defined HAVE_STDINT_H || defined _STDINT_HAVE_STDINT_H
40310 #include <stdint.h>
40311 #else
40312 #include <stddef.h>
40313
40314 /* .................... configured part ............................ */
40315
40316 STDINT_EOF
40317
40318 echo "/* whether we have a C99 compatible stdint header file */" >>$ac_stdint
40319 if test "_$ac_cv_header_stdint_x" != "_" ; then
40320   ac_header="$ac_cv_header_stdint_x"
40321   echo "#define _STDINT_HEADER_INTPTR" '"'"$ac_header"'"' >>$ac_stdint
40322 else
40323   echo "/* #undef _STDINT_HEADER_INTPTR */" >>$ac_stdint
40324 fi
40325
40326 echo "/* whether we have a C96 compatible inttypes header file */" >>$ac_stdint
40327 if  test "_$ac_cv_header_stdint_o" != "_" ; then
40328   ac_header="$ac_cv_header_stdint_o"
40329   echo "#define _STDINT_HEADER_UINT32" '"'"$ac_header"'"' >>$ac_stdint
40330 else
40331   echo "/* #undef _STDINT_HEADER_UINT32 */" >>$ac_stdint
40332 fi
40333
40334 echo "/* whether we have a BSD compatible inet types header */" >>$ac_stdint
40335 if  test "_$ac_cv_header_stdint_u" != "_" ; then
40336   ac_header="$ac_cv_header_stdint_u"
40337   echo "#define _STDINT_HEADER_U_INT32" '"'"$ac_header"'"' >>$ac_stdint
40338 else
40339   echo "/* #undef _STDINT_HEADER_U_INT32 */" >>$ac_stdint
40340 fi
40341
40342 echo "" >>$ac_stdint
40343
40344 if test "_$ac_header" != "_" ; then if test "$ac_header" != "stddef.h" ; then
40345   echo "#include <$ac_header>" >>$ac_stdint
40346   echo "" >>$ac_stdint
40347 fi fi
40348
40349 echo "/* which 64bit typedef has been found */" >>$ac_stdint
40350 if test "$ac_cv_type_uint64_t" = "yes" ; then
40351 echo "#define   _STDINT_HAVE_UINT64_T" "1"  >>$ac_stdint
40352 else
40353 echo "/* #undef _STDINT_HAVE_UINT64_T */" >>$ac_stdint
40354 fi
40355 if test "$ac_cv_type_u_int64_t" = "yes" ; then
40356 echo "#define   _STDINT_HAVE_U_INT64_T" "1"  >>$ac_stdint
40357 else
40358 echo "/* #undef _STDINT_HAVE_U_INT64_T */" >>$ac_stdint
40359 fi
40360 echo "" >>$ac_stdint
40361
40362 echo "/* which type model has been detected */" >>$ac_stdint
40363 if test "_$ac_cv_char_data_model" != "_" ; then
40364 echo "#define   _STDINT_CHAR_MODEL" "$ac_cv_char_data_model" >>$ac_stdint
40365 echo "#define   _STDINT_LONG_MODEL" "$ac_cv_long_data_model" >>$ac_stdint
40366 else
40367 echo "/* #undef _STDINT_CHAR_MODEL // skipped */" >>$ac_stdint
40368 echo "/* #undef _STDINT_LONG_MODEL // skipped */" >>$ac_stdint
40369 fi
40370 echo "" >>$ac_stdint
40371
40372 echo "/* whether int_least types were detected */" >>$ac_stdint
40373 if test "$ac_cv_type_int_least32_t" = "yes"; then
40374 echo "#define   _STDINT_HAVE_INT_LEAST32_T" "1"  >>$ac_stdint
40375 else
40376 echo "/* #undef _STDINT_HAVE_INT_LEAST32_T */" >>$ac_stdint
40377 fi
40378 echo "/* whether int_fast types were detected */" >>$ac_stdint
40379 if test "$ac_cv_type_int_fast32_t" = "yes"; then
40380 echo "#define   _STDINT_HAVE_INT_FAST32_T" "1" >>$ac_stdint
40381 else
40382 echo "/* #undef _STDINT_HAVE_INT_FAST32_T */" >>$ac_stdint
40383 fi
40384 echo "/* whether intmax_t type was detected */" >>$ac_stdint
40385 if test "$ac_cv_type_intmax_t" = "yes"; then
40386 echo "#define   _STDINT_HAVE_INTMAX_T" "1" >>$ac_stdint
40387 else
40388 echo "/* #undef _STDINT_HAVE_INTMAX_T */" >>$ac_stdint
40389 fi
40390 echo "" >>$ac_stdint
40391
40392   cat >>$ac_stdint <<STDINT_EOF
40393 /* .................... detections part ............................ */
40394
40395 /* whether we need to define bitspecific types from compiler base types */
40396 #ifndef _STDINT_HEADER_INTPTR
40397 #ifndef _STDINT_HEADER_UINT32
40398 #ifndef _STDINT_HEADER_U_INT32
40399 #define _STDINT_NEED_INT_MODEL_T
40400 #else
40401 #define _STDINT_HAVE_U_INT_TYPES
40402 #endif
40403 #endif
40404 #endif
40405
40406 #ifdef _STDINT_HAVE_U_INT_TYPES
40407 #undef _STDINT_NEED_INT_MODEL_T
40408 #endif
40409
40410 #ifdef  _STDINT_CHAR_MODEL
40411 #if     _STDINT_CHAR_MODEL+0 == 122 || _STDINT_CHAR_MODEL+0 == 124
40412 #ifndef _STDINT_BYTE_MODEL
40413 #define _STDINT_BYTE_MODEL 12
40414 #endif
40415 #endif
40416 #endif
40417
40418 #ifndef _STDINT_HAVE_INT_LEAST32_T
40419 #define _STDINT_NEED_INT_LEAST_T
40420 #endif
40421
40422 #ifndef _STDINT_HAVE_INT_FAST32_T
40423 #define _STDINT_NEED_INT_FAST_T
40424 #endif
40425
40426 #ifndef _STDINT_HEADER_INTPTR
40427 #define _STDINT_NEED_INTPTR_T
40428 #ifndef _STDINT_HAVE_INTMAX_T
40429 #define _STDINT_NEED_INTMAX_T
40430 #endif
40431 #endif
40432
40433
40434 /* .................... definition part ............................ */
40435
40436 /* some system headers have good uint64_t */
40437 #ifndef _HAVE_UINT64_T
40438 #if     defined _STDINT_HAVE_UINT64_T  || defined HAVE_UINT64_T
40439 #define _HAVE_UINT64_T
40440 #elif   defined _STDINT_HAVE_U_INT64_T || defined HAVE_U_INT64_T
40441 #define _HAVE_UINT64_T
40442 typedef u_int64_t uint64_t;
40443 #endif
40444 #endif
40445
40446 #ifndef _HAVE_UINT64_T
40447 /* .. here are some common heuristics using compiler runtime specifics */
40448 #if defined __STDC_VERSION__ && defined __STDC_VERSION__ >= 199901L
40449 #define _HAVE_UINT64_T
40450 #define _HAVE_LONGLONG_UINT64_T
40451 typedef long long int64_t;
40452 typedef unsigned long long uint64_t;
40453
40454 #elif !defined __STRICT_ANSI__
40455 #if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
40456 #define _HAVE_UINT64_T
40457 typedef __int64 int64_t;
40458 typedef unsigned __int64 uint64_t;
40459
40460 #elif defined __GNUC__ || defined __MWERKS__ || defined __ELF__
40461 /* note: all ELF-systems seem to have loff-support which needs 64-bit */
40462 #if !defined _NO_LONGLONG
40463 #define _HAVE_UINT64_T
40464 #define _HAVE_LONGLONG_UINT64_T
40465 typedef long long int64_t;
40466 typedef unsigned long long uint64_t;
40467 #endif
40468
40469 #elif defined __alpha || (defined __mips && defined _ABIN32)
40470 #if !defined _NO_LONGLONG
40471 typedef long int64_t;
40472 typedef unsigned long uint64_t;
40473 #endif
40474   /* compiler/cpu type to define int64_t */
40475 #endif
40476 #endif
40477 #endif
40478
40479 #if defined _STDINT_HAVE_U_INT_TYPES
40480 /* int8_t int16_t int32_t defined by inet code, redeclare the u_intXX types */
40481 typedef u_int8_t uint8_t;
40482 typedef u_int16_t uint16_t;
40483 typedef u_int32_t uint32_t;
40484
40485 /* glibc compatibility */
40486 #ifndef __int8_t_defined
40487 #define __int8_t_defined
40488 #endif
40489 #endif
40490
40491 #ifdef _STDINT_NEED_INT_MODEL_T
40492 /* we must guess all the basic types. Apart from byte-adressable system, */
40493 /* there a few 32-bit-only dsp-systems that we guard with BYTE_MODEL 8-} */
40494 /* (btw, those nibble-addressable systems are way off, or so we assume) */
40495
40496
40497 #if defined _STDINT_BYTE_MODEL
40498 #if _STDINT_LONG_MODEL+0 == 242
40499 /* 2:4:2 =  IP16 = a normal 16-bit system                */
40500 typedef unsigned char   uint8_t;
40501 typedef unsigned short  uint16_t;
40502 typedef unsigned long   uint32_t;
40503 #ifndef __int8_t_defined
40504 #define __int8_t_defined
40505 typedef          char    int8_t;
40506 typedef          short   int16_t;
40507 typedef          long    int32_t;
40508 #endif
40509 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL == 444
40510 /* 2:4:4 =  LP32 = a 32-bit system derived from a 16-bit */
40511 /* 4:4:4 = ILP32 = a normal 32-bit system                */
40512 typedef unsigned char   uint8_t;
40513 typedef unsigned short  uint16_t;
40514 typedef unsigned int    uint32_t;
40515 #ifndef __int8_t_defined
40516 #define __int8_t_defined
40517 typedef          char    int8_t;
40518 typedef          short   int16_t;
40519 typedef          int     int32_t;
40520 #endif
40521 #elif _STDINT_LONG_MODEL+0 == 484 || _STDINT_LONG_MODEL+0 == 488
40522 /* 4:8:4 =  IP32 = a 32-bit system prepared for 64-bit    */
40523 /* 4:8:8 =  LP64 = a normal 64-bit system                 */
40524 typedef unsigned char   uint8_t;
40525 typedef unsigned short  uint16_t;
40526 typedef unsigned int    uint32_t;
40527 #ifndef __int8_t_defined
40528 #define __int8_t_defined
40529 typedef          char    int8_t;
40530 typedef          short   int16_t;
40531 typedef          int     int32_t;
40532 #endif
40533 /* this system has a "long" of 64bit */
40534 #ifndef _HAVE_UINT64_T
40535 #define _HAVE_UINT64_T
40536 typedef unsigned long   uint64_t;
40537 typedef          long    int64_t;
40538 #endif
40539 #elif _STDINT_LONG_MODEL+0 == 448
40540 /*      LLP64   a 64-bit system derived from a 32-bit system */
40541 typedef unsigned char   uint8_t;
40542 typedef unsigned short  uint16_t;
40543 typedef unsigned int    uint32_t;
40544 #ifndef __int8_t_defined
40545 #define __int8_t_defined
40546 typedef          char    int8_t;
40547 typedef          short   int16_t;
40548 typedef          int     int32_t;
40549 #endif
40550 /* assuming the system has a "long long" */
40551 #ifndef _HAVE_UINT64_T
40552 #define _HAVE_UINT64_T
40553 #define _HAVE_LONGLONG_UINT64_T
40554 typedef unsigned long long uint64_t;
40555 typedef          long long  int64_t;
40556 #endif
40557 #else
40558 #define _STDINT_NO_INT32_T
40559 #endif
40560 #else
40561 #define _STDINT_NO_INT8_T
40562 #define _STDINT_NO_INT32_T
40563 #endif
40564 #endif
40565
40566 /*
40567  * quote from SunOS-5.8 sys/inttypes.h:
40568  * Use at your own risk.  As of February 1996, the committee is squarely
40569  * behind the fixed sized types; the "least" and "fast" types are still being
40570  * discussed.  The probability that the "fast" types may be removed before
40571  * the standard is finalized is high enough that they are not currently
40572  * implemented.
40573  */
40574
40575 #if defined _STDINT_NEED_INT_LEAST_T
40576 typedef  int8_t    int_least8_t;
40577 typedef  int16_t   int_least16_t;
40578 typedef  int32_t   int_least32_t;
40579 #ifdef _HAVE_UINT64_T
40580 typedef  int64_t   int_least64_t;
40581 #endif
40582
40583 typedef uint8_t   uint_least8_t;
40584 typedef uint16_t  uint_least16_t;
40585 typedef uint32_t  uint_least32_t;
40586 #ifdef _HAVE_UINT64_T
40587 typedef uint64_t  uint_least64_t;
40588 #endif
40589   /* least types */
40590 #endif
40591
40592 #if defined _STDINT_NEED_INT_FAST_T
40593 typedef  int8_t    int_fast8_t;
40594 typedef  int       int_fast16_t;
40595 typedef  int32_t   int_fast32_t;
40596 #ifdef _HAVE_UINT64_T
40597 typedef  int64_t   int_fast64_t;
40598 #endif
40599
40600 typedef uint8_t   uint_fast8_t;
40601 typedef unsigned  uint_fast16_t;
40602 typedef uint32_t  uint_fast32_t;
40603 #ifdef _HAVE_UINT64_T
40604 typedef uint64_t  uint_fast64_t;
40605 #endif
40606   /* fast types */
40607 #endif
40608
40609 #ifdef _STDINT_NEED_INTMAX_T
40610 #ifdef _HAVE_UINT64_T
40611 typedef  int64_t       intmax_t;
40612 typedef uint64_t      uintmax_t;
40613 #else
40614 typedef          long  intmax_t;
40615 typedef unsigned long uintmax_t;
40616 #endif
40617 #endif
40618
40619 #ifdef _STDINT_NEED_INTPTR_T
40620 #ifndef __intptr_t_defined
40621 #define __intptr_t_defined
40622 /* we encourage using "long" to store pointer values, never use "int" ! */
40623 #if   _STDINT_LONG_MODEL+0 == 242 || _STDINT_LONG_MODEL+0 == 484
40624 typedef  unsigned int   uintptr_t;
40625 typedef           int    intptr_t;
40626 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL+0 == 444
40627 typedef  unsigned long  uintptr_t;
40628 typedef           long   intptr_t;
40629 #elif _STDINT_LONG_MODEL+0 == 448 && defined _HAVE_UINT64_T
40630 typedef        uint64_t uintptr_t;
40631 typedef         int64_t  intptr_t;
40632 #else /* matches typical system types ILP32 and LP64 - but not IP16 or LLP64 */
40633 typedef  unsigned long  uintptr_t;
40634 typedef           long   intptr_t;
40635 #endif
40636 #endif
40637 #endif
40638
40639 /* The ISO C99 standard specifies that in C++ implementations these
40640    should only be defined if explicitly requested.  */
40641 #if !defined __cplusplus || defined __STDC_CONSTANT_MACROS
40642 #ifndef UINT32_C
40643
40644 /* Signed.  */
40645 # define INT8_C(c)      c
40646 # define INT16_C(c)     c
40647 # define INT32_C(c)     c
40648 # ifdef _HAVE_LONGLONG_UINT64_T
40649 #  define INT64_C(c)    c ## L
40650 # else
40651 #  define INT64_C(c)    c ## LL
40652 # endif
40653
40654 /* Unsigned.  */
40655 # define UINT8_C(c)     c ## U
40656 # define UINT16_C(c)    c ## U
40657 # define UINT32_C(c)    c ## U
40658 # ifdef _HAVE_LONGLONG_UINT64_T
40659 #  define UINT64_C(c)   c ## UL
40660 # else
40661 #  define UINT64_C(c)   c ## ULL
40662 # endif
40663
40664 /* Maximal type.  */
40665 # ifdef _HAVE_LONGLONG_UINT64_T
40666 #  define INTMAX_C(c)   c ## L
40667 #  define UINTMAX_C(c)  c ## UL
40668 # else
40669 #  define INTMAX_C(c)   c ## LL
40670 #  define UINTMAX_C(c)  c ## ULL
40671 # endif
40672
40673   /* literalnumbers */
40674 #endif
40675 #endif
40676
40677 /* These limits are merily those of a two complement byte-oriented system */
40678
40679 /* Minimum of signed integral types.  */
40680 # define INT8_MIN               (-128)
40681 # define INT16_MIN              (-32767-1)
40682 # define INT32_MIN              (-2147483647-1)
40683 # define INT64_MIN              (-__INT64_C(9223372036854775807)-1)
40684 /* Maximum of signed integral types.  */
40685 # define INT8_MAX               (127)
40686 # define INT16_MAX              (32767)
40687 # define INT32_MAX              (2147483647)
40688 # define INT64_MAX              (__INT64_C(9223372036854775807))
40689
40690 /* Maximum of unsigned integral types.  */
40691 # define UINT8_MAX              (255)
40692 # define UINT16_MAX             (65535)
40693 # define UINT32_MAX             (4294967295U)
40694 # define UINT64_MAX             (__UINT64_C(18446744073709551615))
40695
40696 /* Minimum of signed integral types having a minimum size.  */
40697 # define INT_LEAST8_MIN         INT8_MIN
40698 # define INT_LEAST16_MIN        INT16_MIN
40699 # define INT_LEAST32_MIN        INT32_MIN
40700 # define INT_LEAST64_MIN        INT64_MIN
40701 /* Maximum of signed integral types having a minimum size.  */
40702 # define INT_LEAST8_MAX         INT8_MAX
40703 # define INT_LEAST16_MAX        INT16_MAX
40704 # define INT_LEAST32_MAX        INT32_MAX
40705 # define INT_LEAST64_MAX        INT64_MAX
40706
40707 /* Maximum of unsigned integral types having a minimum size.  */
40708 # define UINT_LEAST8_MAX        UINT8_MAX
40709 # define UINT_LEAST16_MAX       UINT16_MAX
40710 # define UINT_LEAST32_MAX       UINT32_MAX
40711 # define UINT_LEAST64_MAX       UINT64_MAX
40712
40713   /* shortcircuit*/
40714 #endif
40715   /* once */
40716 #endif
40717 #endif
40718 STDINT_EOF
40719 fi
40720     if cmp -s $ac_stdint_h $ac_stdint 2>/dev/null; then
40721       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_stdint_h is unchanged" >&5
40722 $as_echo "$as_me: $ac_stdint_h is unchanged" >&6;}
40723     else
40724       ac_dir=`$as_dirname -- "$ac_stdint_h" ||
40725 $as_expr X"$ac_stdint_h" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40726          X"$ac_stdint_h" : 'X\(//\)[^/]' \| \
40727          X"$ac_stdint_h" : 'X\(//\)$' \| \
40728          X"$ac_stdint_h" : 'X\(/\)' \| . 2>/dev/null ||
40729 $as_echo X"$ac_stdint_h" |
40730     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
40731             s//\1/
40732             q
40733           }
40734           /^X\(\/\/\)[^/].*/{
40735             s//\1/
40736             q
40737           }
40738           /^X\(\/\/\)$/{
40739             s//\1/
40740             q
40741           }
40742           /^X\(\/\).*/{
40743             s//\1/
40744             q
40745           }
40746           s/.*/./; q'`
40747       as_dir="$ac_dir"; as_fn_mkdir_p
40748       rm -f $ac_stdint_h
40749       mv $ac_stdint $ac_stdint_h
40750     fi
40751  ;;
40752
40753   esac
40754 done # for ac_tag
40755
40756
40757 as_fn_exit 0
40758 _ACEOF
40759 ac_clean_files=$ac_clean_files_save
40760
40761 test $ac_write_fail = 0 ||
40762   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
40763
40764
40765 # configure is writing to config.log, and then calls config.status.
40766 # config.status does its own redirection, appending to config.log.
40767 # Unfortunately, on DOS this fails, as config.log is still kept open
40768 # by configure, so config.status won't be able to write to it; its
40769 # output is simply discarded.  So we exec the FD to /dev/null,
40770 # effectively closing config.log, so it can be properly (re)opened and
40771 # appended to by config.status.  When coming back to configure, we
40772 # need to make the FD available again.
40773 if test "$no_create" != yes; then
40774   ac_cs_success=:
40775   ac_config_status_args=
40776   test "$silent" = yes &&
40777     ac_config_status_args="$ac_config_status_args --quiet"
40778   exec 5>/dev/null
40779   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
40780   exec 5>>config.log
40781   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
40782   # would make configure fail if this is the last instruction.
40783   $ac_cs_success || as_fn_exit 1
40784 fi
40785 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
40786   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
40787 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
40788 fi
40789
40790
40791
40792
40793 printf "configure: *** Plug-ins without external dependencies that will be built:\n"
40794 ( for i in $GST_PLUGINS_SELECTED; do printf '\t'$i'\n'; done ) | sort
40795 printf "\n"
40796
40797 printf "configure: *** Plug-ins without external dependencies that will NOT be built:\n"
40798 ( for i in $GST_PLUGINS_ALL; do
40799     case " $GST_PLUGINS_SELECTED " in
40800       *\ $i\ *)
40801         ;;
40802       *)
40803         printf '\t'$i'\n'
40804         ;;
40805     esac
40806   done ) | sort
40807 printf "\n"
40808
40809 if test "x$BUILD_EXTERNAL" = "xno"; then
40810   printf "configure: *** No plug-ins with external dependencies will be built\n"
40811 else
40812   printf "configure: *** Plug-ins with dependencies that will be built:"
40813   printf "$GST_PLUGINS_YES\n" | sort
40814   printf "\n"
40815   printf "configure: *** Plug-ins with dependencies that will NOT be built:"
40816   printf "$GST_PLUGINS_NO\n" | sort
40817   printf "\n"
40818 fi
40819
40820
40821   if test "$HAVE_ORC" = yes ; then
40822     printf "configure: *** Orc acceleration enabled.\n"
40823   else
40824     if test "x$enable_orc" = "xno" ; then
40825       printf "configure: *** Orc acceleration disabled by --disable-orc.  Slower code paths\n"
40826       printf "               will be used.\n"
40827     else
40828       printf "configure: *** Orc acceleration disabled.  Requires Orc >= $ORC_REQ, which was\n"
40829       printf "               not found.  Slower code paths will be used.\n"
40830     fi
40831   fi
40832   printf "\n"
40833
40834