fix build failure
[profile/ivi/gst-plugins-bad0.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 Bad Plug-ins 0.10.23.
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 Bad Plug-ins'
573 PACKAGE_TARNAME='gst-plugins-bad'
574 PACKAGE_VERSION='0.10.23'
575 PACKAGE_STRING='GStreamer Bad Plug-ins 0.10.23'
576 PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer'
577 PACKAGE_URL=''
578
579 ac_unique_file="docs/plugins/gst-plugins-bad-plugins-docs.sgml"
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_LIB_LDFLAGS
624 GST_ALL_LDFLAGS
625 GST_PLUGINS_BAD_CXXFLAGS
626 GST_PLUGINS_BAD_CFLAGS
627 GST_CXXFLAGS
628 GST_OPTION_CXXFLAGS
629 GST_OPTION_CFLAGS
630 DEPRECATED_CFLAGS
631 PROFILE_CFLAGS
632 USE_GSETTINGS_FALSE
633 USE_GSETTINGS_TRUE
634 GSETTINGS_RULES
635 GLIB_COMPILE_SCHEMAS
636 gsettingsschemadir
637 GSETTINGS_DISABLE_SCHEMAS_COMPILE
638 GSETTINGS_LIBS
639 GSETTINGS_CFLAGS
640 USE_SPANDSP_FALSE
641 USE_SPANDSP_TRUE
642 SPANDSP_LIBS
643 SPANDSP_CFLAGS
644 USE_RTMP_FALSE
645 USE_RTMP_TRUE
646 RTMP_LIBS
647 RTMP_CFLAGS
648 USE_VP8_FALSE
649 USE_VP8_TRUE
650 VPX_LIBS
651 HAVE_VPX
652 USE_ZBAR_FALSE
653 USE_ZBAR_TRUE
654 ZBAR_LIBS
655 ZBAR_CFLAGS
656 USE_SCHRO_FALSE
657 USE_SCHRO_TRUE
658 SCHRO_LIBS
659 SCHRO_CFLAGS
660 USE_VDPAU_FALSE
661 USE_VDPAU_TRUE
662 VDPAU_LIBS
663 VDPAU_CFLAGS
664 USE_ACM_FALSE
665 USE_ACM_TRUE
666 ACMMP3DEC_CFLAGS
667 ACMENC_CFLAGS
668 USE_WININET_FALSE
669 USE_WININET_TRUE
670 USE_DVB_FALSE
671 USE_DVB_TRUE
672 USE_XVID_FALSE
673 USE_XVID_TRUE
674 XVID_LIBS
675 USE_SWFDEC_FALSE
676 USE_SWFDEC_TRUE
677 SWFDEC_LIBS
678 SWFDEC_CFLAGS
679 USE_GME_FALSE
680 USE_GME_TRUE
681 GME_LIBS
682 USE_SPC_FALSE
683 USE_SPC_TRUE
684 SPC_LIBS
685 USE_SOUNDTOUCH_FALSE
686 USE_SOUNDTOUCH_TRUE
687 SOUNDTOUCH_LIBS
688 SOUNDTOUCH_CFLAGS
689 USE_SNDFILE_FALSE
690 USE_SNDFILE_TRUE
691 SNDFILE_LIBS
692 SNDFILE_CFLAGS
693 USE_SDL_FALSE
694 USE_SDL_TRUE
695 SDL_LIBS
696 SDL_CFLAGS
697 SDL_CONFIG
698 USE_WILDMIDI_FALSE
699 USE_WILDMIDI_TRUE
700 WILDMIDI_LIBS
701 WILDMIDI_CFLAGS
702 HAVE_WILDMIDI
703 USE_TELETEXTDEC_FALSE
704 USE_TELETEXTDEC_TRUE
705 TELETEXTDEC_LIBS
706 TELETEXTDEC_CFLAGS
707 USE_TIMIDITY_FALSE
708 USE_TIMIDITY_TRUE
709 TIMIDITY_LIBS
710 TIMIDITY_CFLAGS
711 USE_RSVG_FALSE
712 USE_RSVG_TRUE
713 RSVG_LIBS
714 RSVG_CFLAGS
715 USE_PVR_FALSE
716 USE_PVR_TRUE
717 PVR_LIBS
718 PVR_CFLAGS
719 USE_OPUS_FALSE
720 USE_OPUS_TRUE
721 OPUS_LIBS
722 OPUS_CFLAGS
723 USE_OPENCV_FALSE
724 USE_OPENCV_TRUE
725 OPENCV_LIBS
726 OPENCV_CFLAGS
727 USE_OPENAL_FALSE
728 USE_OPENAL_TRUE
729 OPENAL_LIBS
730 OPENAL_CFLAGS
731 USE_OFA_FALSE
732 USE_OFA_TRUE
733 OFA_LIBS
734 OFA_CFLAGS
735 USE_NEON_FALSE
736 USE_NEON_TRUE
737 NEON_LIBS
738 NEON_CFLAGS
739 USE_NAS_FALSE
740 USE_NAS_TRUE
741 NAS_LIBS
742 NAS_CFLAGS
743 HAVE_NAS
744 HAVE_X
745 X_EXTRA_LIBS
746 X_LIBS
747 X_PRE_LIBS
748 X_CFLAGS
749 XMKMF
750 USE_MYTHTV_FALSE
751 USE_MYTHTV_TRUE
752 GMYTH_LIBS
753 GMYTH_CFLAGS
754 USE_MUSICBRAINZ_FALSE
755 USE_MUSICBRAINZ_TRUE
756 MUSICBRAINZ_LIBS
757 MUSICBRAINZ_CFLAGS
758 USE_MUSEPACK_FALSE
759 USE_MUSEPACK_TRUE
760 MUSEPACK_LIBS
761 USE_MPLEX_FALSE
762 USE_MPLEX_TRUE
763 MPLEX_LDFLAGS
764 MPLEX_LIBS
765 MPLEX_CFLAGS
766 USE_MPEG2ENC_FALSE
767 USE_MPEG2ENC_TRUE
768 MPEG2ENC_LIBS
769 MPEG2ENC_CFLAGS
770 MJPEG_LIBS
771 MJPEG_CFLAGS
772 USE_MIMIC_FALSE
773 USE_MIMIC_TRUE
774 MIMIC_LIBS
775 MIMIC_CFLAGS
776 USE_MODPLUG_FALSE
777 USE_MODPLUG_TRUE
778 MODPLUG_LIBS
779 MODPLUG_CFLAGS
780 USE_LINSYS_FALSE
781 USE_LINSYS_TRUE
782 USE_LIBMMS_FALSE
783 USE_LIBMMS_TRUE
784 LIBMMS_LIBS
785 LIBMMS_CFLAGS
786 USE_LV2_FALSE
787 USE_LV2_TRUE
788 SLV2_LIBS
789 SLV2_CFLAGS
790 USE_LADSPA_FALSE
791 USE_LADSPA_TRUE
792 LRDF_LIBS
793 LRDF_CFLAGS
794 USE_KATE_FALSE
795 USE_KATE_TRUE
796 USE_TIGER_FALSE
797 USE_TIGER_TRUE
798 TIGER_LIBS
799 TIGER_CFLAGS
800 KATE_LIBS
801 KATE_CFLAGS
802 USE_JP2K_FALSE
803 USE_JP2K_TRUE
804 JP2K_LIBS
805 HAVE_JP2K
806 USE_GSM_FALSE
807 USE_GSM_TRUE
808 GSM_LIBS
809 HAVE_GSM
810 USE_FLITE_FALSE
811 USE_FLITE_TRUE
812 FLITE_LIBS
813 FLITE_CFLAGS
814 HAVE_FLITE
815 USE_FBDEV_FALSE
816 USE_FBDEV_TRUE
817 USE_FAAD_FALSE
818 USE_FAAD_TRUE
819 FAAD_IS_NEAAC
820 FAAD_LIBS
821 HAVE_FAAD
822 USE_FAAC_FALSE
823 USE_FAAC_TRUE
824 FAAC_LIBS
825 HAVE_FAAC
826 USE_RESINDVD_FALSE
827 USE_RESINDVD_TRUE
828 DVDNAV_LIBS
829 DVDNAV_CFLAGS
830 USE_DIVX_FALSE
831 USE_DIVX_TRUE
832 DIVXDEC_LIBS
833 DIVXENC_LIBS
834 USE_DTS_FALSE
835 USE_DTS_TRUE
836 DTS_LIBS
837 HAVE_DTS
838 USE_DIRAC_FALSE
839 USE_DIRAC_TRUE
840 DIRAC_LIBS
841 DIRAC_CFLAGS
842 USE_DIRECTFB_FALSE
843 USE_DIRECTFB_TRUE
844 DIRECTFB_LIBS
845 DIRECTFB_CFLAGS
846 USE_DECKLINK_FALSE
847 USE_DECKLINK_TRUE
848 DECKLINK_LIBS
849 DECKLINK_CXXFLAGS
850 USE_DC1394_FALSE
851 USE_DC1394_TRUE
852 LIBDC1394_LIBS
853 LIBDC1394_CFLAGS
854 USE_CURL_FALSE
855 USE_CURL_TRUE
856 CURL_LIBS
857 CURL_CFLAGS
858 USE_COG_FALSE
859 USE_COG_TRUE
860 COG_LIBS
861 COG_CFLAGS
862 USE_CELT_FALSE
863 USE_CELT_TRUE
864 CELT_0_11_LIBS
865 CELT_0_11_CFLAGS
866 CELT_0_8_LIBS
867 CELT_0_8_CFLAGS
868 CELT_0_7_LIBS
869 CELT_0_7_CFLAGS
870 CELT_LIBS
871 CELT_CFLAGS
872 USE_CDAUDIO_FALSE
873 USE_CDAUDIO_TRUE
874 CDAUDIO_LIBS
875 CDAUDIO_CFLAGS
876 USE_BZ2_FALSE
877 USE_BZ2_TRUE
878 BZ2_LIBS
879 HAVE_BZ2
880 USE_APEXSINK_FALSE
881 USE_APEXSINK_TRUE
882 APEXSINK_LIBS
883 APEXSINK_CFLAGS
884 USE_VOAACENC_FALSE
885 USE_VOAACENC_TRUE
886 VOAACENC_LIBS
887 VOAACENC_CFLAGS
888 USE_VOAMRWBENC_FALSE
889 USE_VOAMRWBENC_TRUE
890 VOAMRWBENC_LIBS
891 VOAMRWBENC_CFLAGS
892 USE_ASSRENDER_FALSE
893 USE_ASSRENDER_TRUE
894 ASSRENDER_LIBS
895 ASSRENDER_CFLAGS
896 USE_VCD_FALSE
897 USE_VCD_TRUE
898 USE_SHM_FALSE
899 USE_SHM_TRUE
900 USE_QUICKTIME_FALSE
901 USE_QUICKTIME_TRUE
902 USE_AVC_FALSE
903 USE_AVC_TRUE
904 USE_OSX_VIDEO_FALSE
905 USE_OSX_VIDEO_TRUE
906 HAVE_IOS_FALSE
907 HAVE_IOS_TRUE
908 USE_APPLE_MEDIA_FALSE
909 USE_APPLE_MEDIA_TRUE
910 USE_DIRECTDRAW_FALSE
911 USE_DIRECTDRAW_TRUE
912 HAVE_DIRECTDRAW
913 DIRECTDRAW_LIBS
914 USE_DIRECT3D_FALSE
915 USE_DIRECT3D_TRUE
916 HAVE_DIRECT3D
917 DIRECT3D_LIBS
918 USE_DIRECTSOUND_FALSE
919 USE_DIRECTSOUND_TRUE
920 HAVE_DIRECTSOUND
921 DIRECTSOUND_LIBS
922 DIRECTX_LDFLAGS
923 DIRECTX_CFLAGS
924 XDG_LIBS
925 DCCP_LIBS
926 HAVE_WINSOCK2_H_FALSE
927 HAVE_WINSOCK2_H_TRUE
928 WIN32_LIBS
929 GIO_LIBS
930 GIO_CFLAGS
931 USE_PLUGIN_Y4M_FALSE
932 USE_PLUGIN_Y4M_TRUE
933 USE_PLUGIN_VMNC_FALSE
934 USE_PLUGIN_VMNC_TRUE
935 USE_PLUGIN_VIDEOSIGNAL_FALSE
936 USE_PLUGIN_VIDEOSIGNAL_TRUE
937 USE_PLUGIN_VIDEOPARSERS_FALSE
938 USE_PLUGIN_VIDEOPARSERS_TRUE
939 USE_PLUGIN_VIDEOMEASURE_FALSE
940 USE_PLUGIN_VIDEOMEASURE_TRUE
941 USE_PLUGIN_VIDEOMAXRATE_FALSE
942 USE_PLUGIN_VIDEOMAXRATE_TRUE
943 USE_PLUGIN_VIDEOFILTERS_FALSE
944 USE_PLUGIN_VIDEOFILTERS_TRUE
945 USE_PLUGIN_TTA_FALSE
946 USE_PLUGIN_TTA_TRUE
947 USE_PLUGIN_STEREO_FALSE
948 USE_PLUGIN_STEREO_TRUE
949 USE_PLUGIN_SUBENC_FALSE
950 USE_PLUGIN_SUBENC_TRUE
951 USE_PLUGIN_SPEED_FALSE
952 USE_PLUGIN_SPEED_TRUE
953 USE_PLUGIN_SMOOTH_FALSE
954 USE_PLUGIN_SMOOTH_TRUE
955 USE_PLUGIN_SIREN_FALSE
956 USE_PLUGIN_SIREN_TRUE
957 USE_PLUGIN_SEGMENTCLIP_FALSE
958 USE_PLUGIN_SEGMENTCLIP_TRUE
959 USE_PLUGIN_SDP_FALSE
960 USE_PLUGIN_SDP_TRUE
961 USE_PLUGIN_SDI_FALSE
962 USE_PLUGIN_SDI_TRUE
963 USE_PLUGIN_SCALETEMPO_FALSE
964 USE_PLUGIN_SCALETEMPO_TRUE
965 USE_PLUGIN_RTPVP8_FALSE
966 USE_PLUGIN_RTPVP8_TRUE
967 USE_PLUGIN_RTPMUX_FALSE
968 USE_PLUGIN_RTPMUX_TRUE
969 USE_PLUGIN_REMOVESILENCE_FALSE
970 USE_PLUGIN_REMOVESILENCE_TRUE
971 USE_PLUGIN_REAL_FALSE
972 USE_PLUGIN_REAL_TRUE
973 USE_PLUGIN_RAWPARSE_FALSE
974 USE_PLUGIN_RAWPARSE_TRUE
975 USE_PLUGIN_PNM_FALSE
976 USE_PLUGIN_PNM_TRUE
977 USE_PLUGIN_PCAPPARSE_FALSE
978 USE_PLUGIN_PCAPPARSE_TRUE
979 USE_PLUGIN_PATCHDETECT_FALSE
980 USE_PLUGIN_PATCHDETECT_TRUE
981 USE_PLUGIN_NUVDEMUX_FALSE
982 USE_PLUGIN_NUVDEMUX_TRUE
983 USE_PLUGIN_NSF_FALSE
984 USE_PLUGIN_NSF_TRUE
985 USE_PLUGIN_MXF_FALSE
986 USE_PLUGIN_MXF_TRUE
987 USE_PLUGIN_MVE_FALSE
988 USE_PLUGIN_MVE_TRUE
989 USE_PLUGIN_MPEGVIDEOPARSE_FALSE
990 USE_PLUGIN_MPEGVIDEOPARSE_TRUE
991 USE_PLUGIN_MPEGPSMUX_FALSE
992 USE_PLUGIN_MPEGPSMUX_TRUE
993 USE_PLUGIN_MPEGTSMUX_FALSE
994 USE_PLUGIN_MPEGTSMUX_TRUE
995 USE_PLUGIN_MPEGTSDEMUX_FALSE
996 USE_PLUGIN_MPEGTSDEMUX_TRUE
997 USE_PLUGIN_MPEGDEMUX_FALSE
998 USE_PLUGIN_MPEGDEMUX_TRUE
999 USE_PLUGIN_LIVEADDER_FALSE
1000 USE_PLUGIN_LIVEADDER_TRUE
1001 USE_PLUGIN_LIBRFB_FALSE
1002 USE_PLUGIN_LIBRFB_TRUE
1003 USE_PLUGIN_LEGACYRESAMPLE_FALSE
1004 USE_PLUGIN_LEGACYRESAMPLE_TRUE
1005 USE_PLUGIN_JPEGFORMAT_FALSE
1006 USE_PLUGIN_JPEGFORMAT_TRUE
1007 USE_PLUGIN_JP2KDECIMATOR_FALSE
1008 USE_PLUGIN_JP2KDECIMATOR_TRUE
1009 USE_PLUGIN_IVFPARSE_FALSE
1010 USE_PLUGIN_IVFPARSE_TRUE
1011 USE_PLUGIN_INTERLACE_FALSE
1012 USE_PLUGIN_INTERLACE_TRUE
1013 USE_PLUGIN_INTER_FALSE
1014 USE_PLUGIN_INTER_TRUE
1015 USE_PLUGIN_ID3TAG_FALSE
1016 USE_PLUGIN_ID3TAG_TRUE
1017 USE_PLUGIN_HLS_FALSE
1018 USE_PLUGIN_HLS_TRUE
1019 USE_PLUGIN_HDVPARSE_FALSE
1020 USE_PLUGIN_HDVPARSE_TRUE
1021 USE_PLUGIN_H264PARSE_FALSE
1022 USE_PLUGIN_H264PARSE_TRUE
1023 USE_PLUGIN_GEOMETRICTRANSFORM_FALSE
1024 USE_PLUGIN_GEOMETRICTRANSFORM_TRUE
1025 USE_PLUGIN_GAUDIEFFECTS_FALSE
1026 USE_PLUGIN_GAUDIEFFECTS_TRUE
1027 USE_PLUGIN_FREI0R_FALSE
1028 USE_PLUGIN_FREI0R_TRUE
1029 USE_PLUGIN_FREEVERB_FALSE
1030 USE_PLUGIN_FREEVERB_TRUE
1031 USE_PLUGIN_FREEZE_FALSE
1032 USE_PLUGIN_FREEZE_TRUE
1033 USE_PLUGIN_FIELDANALYSIS_FALSE
1034 USE_PLUGIN_FIELDANALYSIS_TRUE
1035 USE_PLUGIN_FESTIVAL_FALSE
1036 USE_PLUGIN_FESTIVAL_TRUE
1037 USE_PLUGIN_FACEOVERLAY_FALSE
1038 USE_PLUGIN_FACEOVERLAY_TRUE
1039 USE_PLUGIN_DVDSPU_FALSE
1040 USE_PLUGIN_DVDSPU_TRUE
1041 USE_PLUGIN_DVBSUBOVERLAY_FALSE
1042 USE_PLUGIN_DVBSUBOVERLAY_TRUE
1043 USE_PLUGIN_DTMF_FALSE
1044 USE_PLUGIN_DTMF_TRUE
1045 USE_PLUGIN_DEBUGUTILS_FALSE
1046 USE_PLUGIN_DEBUGUTILS_TRUE
1047 USE_PLUGIN_DCCP_FALSE
1048 USE_PLUGIN_DCCP_TRUE
1049 USE_PLUGIN_DATAURISRC_FALSE
1050 USE_PLUGIN_DATAURISRC_TRUE
1051 USE_PLUGIN_COLORSPACE_FALSE
1052 USE_PLUGIN_COLORSPACE_TRUE
1053 USE_PLUGIN_COLOREFFECTS_FALSE
1054 USE_PLUGIN_COLOREFFECTS_TRUE
1055 USE_PLUGIN_CDXAPARSE_FALSE
1056 USE_PLUGIN_CDXAPARSE_TRUE
1057 USE_PLUGIN_CAMERABIN2_FALSE
1058 USE_PLUGIN_CAMERABIN2_TRUE
1059 USE_PLUGIN_CAMERABIN_FALSE
1060 USE_PLUGIN_CAMERABIN_TRUE
1061 USE_PLUGIN_BAYER_FALSE
1062 USE_PLUGIN_BAYER_TRUE
1063 USE_PLUGIN_AUTOCONVERT_FALSE
1064 USE_PLUGIN_AUTOCONVERT_TRUE
1065 USE_PLUGIN_AUDIOVISUALIZERS_FALSE
1066 USE_PLUGIN_AUDIOVISUALIZERS_TRUE
1067 USE_PLUGIN_ASFMUX_FALSE
1068 USE_PLUGIN_ASFMUX_TRUE
1069 USE_PLUGIN_AIFF_FALSE
1070 USE_PLUGIN_AIFF_TRUE
1071 USE_PLUGIN_ADPCMENC_FALSE
1072 USE_PLUGIN_ADPCMENC_TRUE
1073 USE_PLUGIN_ADPCMDEC_FALSE
1074 USE_PLUGIN_ADPCMDEC_TRUE
1075 DEFAULT_VISUALIZER
1076 DEFAULT_VIDEOSRC
1077 DEFAULT_VIDEOSINK
1078 DEFAULT_AUDIOSRC
1079 DEFAULT_AUDIOSINK
1080 GST_LEVEL_DEFAULT
1081 ERROR_CXXFLAGS
1082 WARNING_CXXFLAGS
1083 ERROR_CFLAGS
1084 WARNING_CFLAGS
1085 plugindir
1086 PLUGINDIR
1087 LIBDIR
1088 GST_LICENSE
1089 HAVE_ORCC_FALSE
1090 HAVE_ORCC_TRUE
1091 HAVE_ORC_FALSE
1092 HAVE_ORC_TRUE
1093 ORCC_FLAGS
1094 ORCC
1095 ORC_LIBS
1096 ORC_CFLAGS
1097 USE_EXIF_FALSE
1098 USE_EXIF_TRUE
1099 EXIF_LIBS
1100 EXIF_CFLAGS
1101 HAVE_X11_FALSE
1102 HAVE_X11_TRUE
1103 HAVE_X11
1104 X11_LIBS
1105 X11_CFLAGS
1106 GMODULE_EXPORT_LIBS
1107 GMODULE_EXPORT_CFLAGS
1108 HAVE_GTK_FALSE
1109 HAVE_GTK_TRUE
1110 GTK_LIBS
1111 GTK_CFLAGS
1112 GSTPB_PREFIX
1113 GST_PREFIX
1114 GLIB_PREFIX
1115 GST_PLUGINS_FFMPEG_DIR
1116 GST_PLUGINS_FFMPEG_LIBS
1117 GST_PLUGINS_FFMPEG_CFLAGS
1118 GST_PLUGINS_UGLY_DIR
1119 GST_PLUGINS_UGLY_LIBS
1120 GST_PLUGINS_UGLY_CFLAGS
1121 GST_PLUGINS_GOOD_DIR
1122 GST_PLUGINS_GOOD_LIBS
1123 GST_PLUGINS_GOOD_CFLAGS
1124 GSTPB_PLUGINS_DIR
1125 GST_PLUGINS_BASE_DIR
1126 GST_PLUGINS_BASE_LIBS
1127 GST_PLUGINS_BASE_CFLAGS
1128 HAVE_GST_CHECK_FALSE
1129 HAVE_GST_CHECK_TRUE
1130 GST_CONTROLLER_LIBS
1131 GST_CONTROLLER_CFLAGS
1132 GST_CHECK_LIBS
1133 GST_CHECK_CFLAGS
1134 GST_GDP_LIBS
1135 GST_GDP_CFLAGS
1136 GST_BASE_LIBS
1137 GST_BASE_CFLAGS
1138 GST_PLUGINS_DIR
1139 GST_TOOLS_DIR
1140 GST_LIBS
1141 GST_CFLAGS
1142 GLIB_EXTRA_CFLAGS
1143 GLIB_LIBS
1144 GLIB_CFLAGS
1145 GLIB_REQ
1146 HAVE_PTHREAD_H_FALSE
1147 HAVE_PTHREAD_H_TRUE
1148 HAVE_UNISTD_H_FALSE
1149 HAVE_UNISTD_H_TRUE
1150 LIBM
1151 ENABLE_PLUGIN_DOCS_FALSE
1152 ENABLE_PLUGIN_DOCS_TRUE
1153 pkgpyexecdir
1154 pyexecdir
1155 pkgpythondir
1156 pythondir
1157 PYTHON_PLATFORM
1158 PYTHON_EXEC_PREFIX
1159 PYTHON_PREFIX
1160 PYTHON_VERSION
1161 PYTHON
1162 GTK_DOC_USE_LIBTOOL_FALSE
1163 GTK_DOC_USE_LIBTOOL_TRUE
1164 ENABLE_GTK_DOC_FALSE
1165 ENABLE_GTK_DOC_TRUE
1166 GTKDOC_CHECK
1167 HTML_DIR
1168 HAVE_VALGRIND_FALSE
1169 HAVE_VALGRIND_TRUE
1170 VALGRIND_PATH
1171 am__fastdepOBJC_FALSE
1172 am__fastdepOBJC_TRUE
1173 OBJCDEPMODE
1174 OBJC_LDFLAGS
1175 ac_ct_OBJC
1176 OBJC
1177 HAVE_CXX
1178 CXXCPP
1179 am__fastdepCXX_FALSE
1180 am__fastdepCXX_TRUE
1181 CXXDEPMODE
1182 ac_ct_CXX
1183 CXX
1184 HAVE_CPU_CRISV32_FALSE
1185 HAVE_CPU_CRISV32_TRUE
1186 HAVE_CPU_CRIS_FALSE
1187 HAVE_CPU_CRIS_TRUE
1188 HAVE_CPU_X86_64_FALSE
1189 HAVE_CPU_X86_64_TRUE
1190 HAVE_CPU_M68K_FALSE
1191 HAVE_CPU_M68K_TRUE
1192 HAVE_CPU_IA64_FALSE
1193 HAVE_CPU_IA64_TRUE
1194 HAVE_CPU_S390_FALSE
1195 HAVE_CPU_S390_TRUE
1196 HAVE_CPU_MIPS_FALSE
1197 HAVE_CPU_MIPS_TRUE
1198 HAVE_CPU_HPPA_FALSE
1199 HAVE_CPU_HPPA_TRUE
1200 HAVE_CPU_SPARC_FALSE
1201 HAVE_CPU_SPARC_TRUE
1202 HAVE_CPU_ARM_FALSE
1203 HAVE_CPU_ARM_TRUE
1204 HAVE_CPU_ALPHA_FALSE
1205 HAVE_CPU_ALPHA_TRUE
1206 HAVE_CPU_PPC64_FALSE
1207 HAVE_CPU_PPC64_TRUE
1208 HAVE_CPU_PPC_FALSE
1209 HAVE_CPU_PPC_TRUE
1210 HAVE_CPU_I386_FALSE
1211 HAVE_CPU_I386_TRUE
1212 BUILD_EXPERIMENTAL_FALSE
1213 BUILD_EXPERIMENTAL_TRUE
1214 USE_EXPERIMENTAL_FALSE
1215 USE_EXPERIMENTAL_TRUE
1216 BUILD_EXTERNAL_FALSE
1217 BUILD_EXTERNAL_TRUE
1218 USE_EXTERNAL_FALSE
1219 USE_EXTERNAL_TRUE
1220 GST_PLUGINS_SELECTED
1221 GST_PLUGINS_ALL
1222 GST_PACKAGE_ORIGIN
1223 GST_PACKAGE_NAME
1224 BUILD_EXAMPLES_FALSE
1225 BUILD_EXAMPLES_TRUE
1226 GST_GCOV_ENABLED_FALSE
1227 GST_GCOV_ENABLED_TRUE
1228 CCASFLAGS
1229 FFLAGS
1230 CXXFLAGS
1231 GCOV
1232 GCOV_LIBS
1233 GCOV_CFLAGS
1234 VALGRIND_LIBS
1235 VALGRIND_CFLAGS
1236 PKG_CONFIG
1237 LOCALEDIR
1238 GETTEXT_PACKAGE
1239 POSUB
1240 LTLIBINTL
1241 LIBINTL
1242 INTLLIBS
1243 LTLIBICONV
1244 LIBICONV
1245 INTL_MACOSX_LIBS
1246 XGETTEXT_EXTRA_OPTIONS
1247 MSGMERGE
1248 XGETTEXT_015
1249 XGETTEXT
1250 GMSGFMT_015
1251 MSGFMT_015
1252 GMSGFMT
1253 MSGFMT
1254 GETTEXT_MACRO_VERSION
1255 USE_NLS
1256 ACLOCAL_AMFLAGS
1257 CPP
1258 OTOOL64
1259 OTOOL
1260 LIPO
1261 NMEDIT
1262 DSYMUTIL
1263 MANIFEST_TOOL
1264 RANLIB
1265 ac_ct_AR
1266 AR
1267 LN_S
1268 NM
1269 ac_ct_DUMPBIN
1270 DUMPBIN
1271 LD
1272 FGREP
1273 EGREP
1274 GREP
1275 SED
1276 am__fastdepCC_FALSE
1277 am__fastdepCC_TRUE
1278 CCDEPMODE
1279 am__nodep
1280 AMDEPBACKSLASH
1281 AMDEP_FALSE
1282 AMDEP_TRUE
1283 am__quote
1284 am__include
1285 DEPDIR
1286 OBJEXT
1287 EXEEXT
1288 ac_ct_CC
1289 CPPFLAGS
1290 LDFLAGS
1291 CFLAGS
1292 CC
1293 LIBTOOL
1294 OBJDUMP
1295 DLLTOOL
1296 AS
1297 GST_LT_LDFLAGS
1298 GST_LIBVERSION
1299 GST_AGE
1300 GST_REVISION
1301 GST_CURRENT
1302 GST_MAJORMINOR
1303 AM_BACKSLASH
1304 AM_DEFAULT_VERBOSITY
1305 AM_DEFAULT_V
1306 AM_V
1307 host_os
1308 host_vendor
1309 host_cpu
1310 host
1311 build_os
1312 build_vendor
1313 build_cpu
1314 build
1315 MAINT
1316 MAINTAINER_MODE_FALSE
1317 MAINTAINER_MODE_TRUE
1318 PACKAGE_VERSION_RELEASE
1319 PACKAGE_VERSION_NANO
1320 PACKAGE_VERSION_MICRO
1321 PACKAGE_VERSION_MINOR
1322 PACKAGE_VERSION_MAJOR
1323 am__untar
1324 am__tar
1325 AMTAR
1326 am__leading_dot
1327 SET_MAKE
1328 AWK
1329 mkdir_p
1330 MKDIR_P
1331 INSTALL_STRIP_PROGRAM
1332 STRIP
1333 install_sh
1334 MAKEINFO
1335 AUTOHEADER
1336 AUTOMAKE
1337 AUTOCONF
1338 ACLOCAL
1339 VERSION
1340 PACKAGE
1341 CYGPATH_W
1342 am__isrc
1343 INSTALL_DATA
1344 INSTALL_SCRIPT
1345 INSTALL_PROGRAM
1346 target_alias
1347 host_alias
1348 build_alias
1349 LIBS
1350 ECHO_T
1351 ECHO_N
1352 ECHO_C
1353 DEFS
1354 mandir
1355 localedir
1356 libdir
1357 psdir
1358 pdfdir
1359 dvidir
1360 htmldir
1361 infodir
1362 docdir
1363 oldincludedir
1364 includedir
1365 localstatedir
1366 sharedstatedir
1367 sysconfdir
1368 datadir
1369 datarootdir
1370 libexecdir
1371 sbindir
1372 bindir
1373 program_transform_name
1374 prefix
1375 exec_prefix
1376 PACKAGE_URL
1377 PACKAGE_BUGREPORT
1378 PACKAGE_STRING
1379 PACKAGE_VERSION
1380 PACKAGE_TARNAME
1381 PACKAGE_NAME
1382 PATH_SEPARATOR
1383 SHELL'
1384 ac_subst_files=''
1385 ac_user_opts='
1386 enable_option_checking
1387 enable_maintainer_mode
1388 enable_silent_rules
1389 enable_shared
1390 enable_static
1391 with_pic
1392 enable_fast_install
1393 enable_dependency_tracking
1394 with_gnu_ld
1395 with_sysroot
1396 enable_libtool_lock
1397 with_autoconf
1398 with_autoheader
1399 with_automake
1400 with_aclocal
1401 enable_nls
1402 enable_rpath
1403 with_libiconv_prefix
1404 with_libintl_prefix
1405 enable_debug
1406 enable_profiling
1407 enable_valgrind
1408 enable_gcov
1409 enable_examples
1410 with_pkg_config_path
1411 with_package_name
1412 with_package_origin
1413 with_plugins
1414 enable_external
1415 enable_experimental
1416 with_html_dir
1417 enable_gtk_doc
1418 enable_gobject_cast_checks
1419 enable_glib_asserts
1420 with_gtk
1421 enable_orc
1422 with_default_audiosink
1423 with_default_audiosrc
1424 with_default_videosink
1425 with_default_videosrc
1426 with_default_visualizer
1427 enable_adpcmdec
1428 enable_adpcmenc
1429 enable_aiff
1430 enable_asfmux
1431 enable_audiovisualizers
1432 enable_autoconvert
1433 enable_bayer
1434 enable_camerabin
1435 enable_camerabin2
1436 enable_cdxaparse
1437 enable_coloreffects
1438 enable_colorspace
1439 enable_dataurisrc
1440 enable_dccp
1441 enable_debugutils
1442 enable_dtmf
1443 enable_dvbsuboverlay
1444 enable_dvdspu
1445 enable_faceoverlay
1446 enable_festival
1447 enable_fieldanalysis
1448 enable_freeze
1449 enable_freeverb
1450 enable_frei0r
1451 enable_gaudieffects
1452 enable_geometrictransform
1453 enable_h264parse
1454 enable_hdvparse
1455 enable_hls
1456 enable_id3tag
1457 enable_inter
1458 enable_interlace
1459 enable_ivfparse
1460 enable_jp2kdecimator
1461 enable_jpegformat
1462 enable_legacyresample
1463 enable_librfb
1464 enable_liveadder
1465 enable_mpegdemux
1466 enable_mpegtsdemux
1467 enable_mpegtsmux
1468 enable_mpegpsmux
1469 enable_mpegvideoparse
1470 enable_mve
1471 enable_mxf
1472 enable_nsf
1473 enable_nuvdemux
1474 enable_patchdetect
1475 enable_pcapparse
1476 enable_pnm
1477 enable_rawparse
1478 enable_real
1479 enable_removesilence
1480 enable_rtpmux
1481 enable_rtpvp8
1482 enable_scaletempo
1483 enable_sdi
1484 enable_sdp
1485 enable_segmentclip
1486 enable_siren
1487 enable_smooth
1488 enable_speed
1489 enable_subenc
1490 enable_stereo
1491 enable_tta
1492 enable_videofilters
1493 enable_videomaxrate
1494 enable_videomeasure
1495 enable_videoparsers
1496 enable_videosignal
1497 enable_vmnc
1498 enable_y4m
1499 enable_directsound
1500 enable_direct3d
1501 enable_directdraw
1502 enable_apple_media
1503 enable_osx_video
1504 enable_avc
1505 enable_quicktime
1506 enable_shm
1507 enable_vcd
1508 enable_assrender
1509 enable_voamrwbenc
1510 enable_voaacenc
1511 enable_apexsink
1512 enable_bz2
1513 enable_cdaudio
1514 enable_celt
1515 enable_cog
1516 enable_curl
1517 enable_dc1394
1518 enable_decklink
1519 enable_directfb
1520 enable_dirac
1521 enable_dts
1522 enable_divx
1523 enable_resindvd
1524 enable_faac
1525 enable_faad
1526 enable_fbdev
1527 enable_flite
1528 enable_gsm
1529 enable_jp2k
1530 enable_kate
1531 enable_ladspa
1532 enable_lv2
1533 enable_libmms
1534 enable_linsys
1535 enable_modplug
1536 enable_mimic
1537 enable_mpeg2enc
1538 enable_mplex
1539 enable_musepack
1540 enable_musicbrainz
1541 enable_mythtv
1542 enable_nas
1543 with_x
1544 enable_neon
1545 enable_ofa
1546 enable_openal
1547 enable_opencv
1548 enable_opus
1549 enable_pvr
1550 with_pvr_external_headers
1551 enable_rsvg
1552 enable_timidity
1553 enable_teletextdec
1554 enable_wildmidi
1555 enable_sdl
1556 with_sdl_prefix
1557 with_sdl_exec_prefix
1558 enable_sdltest
1559 enable_sndfile
1560 enable_soundtouch
1561 enable_spc
1562 enable_gme
1563 enable_swfdec
1564 enable_xvid
1565 enable_dvb
1566 enable_wininet
1567 enable_acm
1568 enable_vdpau
1569 enable_schro
1570 enable_zbar
1571 enable_vp8
1572 enable_rtmp
1573 enable_spandsp
1574 enable_gsettings
1575 enable_schemas_compile
1576 '
1577       ac_precious_vars='build_alias
1578 host_alias
1579 target_alias
1580 CC
1581 CFLAGS
1582 LDFLAGS
1583 LIBS
1584 CPPFLAGS
1585 CPP
1586 PKG_CONFIG
1587 VALGRIND_CFLAGS
1588 VALGRIND_LIBS
1589 CXX
1590 CXXFLAGS
1591 CCC
1592 CXXCPP
1593 GLIB_CFLAGS
1594 GLIB_LIBS
1595 GST_CFLAGS
1596 GST_LIBS
1597 GST_BASE_CFLAGS
1598 GST_BASE_LIBS
1599 GST_GDP_CFLAGS
1600 GST_GDP_LIBS
1601 GST_CHECK_CFLAGS
1602 GST_CHECK_LIBS
1603 GST_CONTROLLER_CFLAGS
1604 GST_CONTROLLER_LIBS
1605 GST_PLUGINS_BASE_CFLAGS
1606 GST_PLUGINS_BASE_LIBS
1607 GST_PLUGINS_GOOD_CFLAGS
1608 GST_PLUGINS_GOOD_LIBS
1609 GST_PLUGINS_UGLY_CFLAGS
1610 GST_PLUGINS_UGLY_LIBS
1611 GST_PLUGINS_FFMPEG_CFLAGS
1612 GST_PLUGINS_FFMPEG_LIBS
1613 GTK_CFLAGS
1614 GTK_LIBS
1615 GMODULE_EXPORT_CFLAGS
1616 GMODULE_EXPORT_LIBS
1617 X11_CFLAGS
1618 X11_LIBS
1619 EXIF_CFLAGS
1620 EXIF_LIBS
1621 ORC_CFLAGS
1622 ORC_LIBS
1623 GIO_CFLAGS
1624 GIO_LIBS
1625 ASSRENDER_CFLAGS
1626 ASSRENDER_LIBS
1627 VOAMRWBENC_CFLAGS
1628 VOAMRWBENC_LIBS
1629 VOAACENC_CFLAGS
1630 VOAACENC_LIBS
1631 APEXSINK_CFLAGS
1632 APEXSINK_LIBS
1633 CDAUDIO_CFLAGS
1634 CDAUDIO_LIBS
1635 CELT_CFLAGS
1636 CELT_LIBS
1637 CELT_0_7_CFLAGS
1638 CELT_0_7_LIBS
1639 CELT_0_8_CFLAGS
1640 CELT_0_8_LIBS
1641 CELT_0_11_CFLAGS
1642 CELT_0_11_LIBS
1643 COG_CFLAGS
1644 COG_LIBS
1645 CURL_CFLAGS
1646 CURL_LIBS
1647 LIBDC1394_CFLAGS
1648 LIBDC1394_LIBS
1649 DIRECTFB_CFLAGS
1650 DIRECTFB_LIBS
1651 DIRAC_CFLAGS
1652 DIRAC_LIBS
1653 DVDNAV_CFLAGS
1654 DVDNAV_LIBS
1655 KATE_CFLAGS
1656 KATE_LIBS
1657 TIGER_CFLAGS
1658 TIGER_LIBS
1659 LRDF_CFLAGS
1660 LRDF_LIBS
1661 SLV2_CFLAGS
1662 SLV2_LIBS
1663 LIBMMS_CFLAGS
1664 LIBMMS_LIBS
1665 MODPLUG_CFLAGS
1666 MODPLUG_LIBS
1667 MIMIC_CFLAGS
1668 MIMIC_LIBS
1669 MJPEG_CFLAGS
1670 MJPEG_LIBS
1671 MPEG2ENC_CFLAGS
1672 MPEG2ENC_LIBS
1673 MPLEX_CFLAGS
1674 MPLEX_LIBS
1675 MUSICBRAINZ_CFLAGS
1676 MUSICBRAINZ_LIBS
1677 GMYTH_CFLAGS
1678 GMYTH_LIBS
1679 XMKMF
1680 NEON_CFLAGS
1681 NEON_LIBS
1682 OFA_CFLAGS
1683 OFA_LIBS
1684 OPENAL_CFLAGS
1685 OPENAL_LIBS
1686 OPENCV_CFLAGS
1687 OPENCV_LIBS
1688 OPUS_CFLAGS
1689 OPUS_LIBS
1690 PVR_CFLAGS
1691 PVR_LIBS
1692 RSVG_CFLAGS
1693 RSVG_LIBS
1694 TIMIDITY_CFLAGS
1695 TIMIDITY_LIBS
1696 TELETEXTDEC_CFLAGS
1697 TELETEXTDEC_LIBS
1698 SNDFILE_CFLAGS
1699 SNDFILE_LIBS
1700 SOUNDTOUCH_CFLAGS
1701 SOUNDTOUCH_LIBS
1702 SWFDEC_CFLAGS
1703 SWFDEC_LIBS
1704 VDPAU_CFLAGS
1705 VDPAU_LIBS
1706 SCHRO_CFLAGS
1707 SCHRO_LIBS
1708 ZBAR_CFLAGS
1709 ZBAR_LIBS
1710 RTMP_CFLAGS
1711 RTMP_LIBS
1712 SPANDSP_CFLAGS
1713 SPANDSP_LIBS
1714 GSETTINGS_CFLAGS
1715 GSETTINGS_LIBS'
1716
1717
1718 # Initialize some variables set by options.
1719 ac_init_help=
1720 ac_init_version=false
1721 ac_unrecognized_opts=
1722 ac_unrecognized_sep=
1723 # The variables have the same names as the options, with
1724 # dashes changed to underlines.
1725 cache_file=/dev/null
1726 exec_prefix=NONE
1727 no_create=
1728 no_recursion=
1729 prefix=NONE
1730 program_prefix=NONE
1731 program_suffix=NONE
1732 program_transform_name=s,x,x,
1733 silent=
1734 site=
1735 srcdir=
1736 verbose=
1737 x_includes=NONE
1738 x_libraries=NONE
1739
1740 # Installation directory options.
1741 # These are left unexpanded so users can "make install exec_prefix=/foo"
1742 # and all the variables that are supposed to be based on exec_prefix
1743 # by default will actually change.
1744 # Use braces instead of parens because sh, perl, etc. also accept them.
1745 # (The list follows the same order as the GNU Coding Standards.)
1746 bindir='${exec_prefix}/bin'
1747 sbindir='${exec_prefix}/sbin'
1748 libexecdir='${exec_prefix}/libexec'
1749 datarootdir='${prefix}/share'
1750 datadir='${datarootdir}'
1751 sysconfdir='${prefix}/etc'
1752 sharedstatedir='${prefix}/com'
1753 localstatedir='${prefix}/var'
1754 includedir='${prefix}/include'
1755 oldincludedir='/usr/include'
1756 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1757 infodir='${datarootdir}/info'
1758 htmldir='${docdir}'
1759 dvidir='${docdir}'
1760 pdfdir='${docdir}'
1761 psdir='${docdir}'
1762 libdir='${exec_prefix}/lib'
1763 localedir='${datarootdir}/locale'
1764 mandir='${datarootdir}/man'
1765
1766 ac_prev=
1767 ac_dashdash=
1768 for ac_option
1769 do
1770   # If the previous option needs an argument, assign it.
1771   if test -n "$ac_prev"; then
1772     eval $ac_prev=\$ac_option
1773     ac_prev=
1774     continue
1775   fi
1776
1777   case $ac_option in
1778   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1779   *=)   ac_optarg= ;;
1780   *)    ac_optarg=yes ;;
1781   esac
1782
1783   # Accept the important Cygnus configure options, so we can diagnose typos.
1784
1785   case $ac_dashdash$ac_option in
1786   --)
1787     ac_dashdash=yes ;;
1788
1789   -bindir | --bindir | --bindi | --bind | --bin | --bi)
1790     ac_prev=bindir ;;
1791   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1792     bindir=$ac_optarg ;;
1793
1794   -build | --build | --buil | --bui | --bu)
1795     ac_prev=build_alias ;;
1796   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1797     build_alias=$ac_optarg ;;
1798
1799   -cache-file | --cache-file | --cache-fil | --cache-fi \
1800   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1801     ac_prev=cache_file ;;
1802   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1803   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1804     cache_file=$ac_optarg ;;
1805
1806   --config-cache | -C)
1807     cache_file=config.cache ;;
1808
1809   -datadir | --datadir | --datadi | --datad)
1810     ac_prev=datadir ;;
1811   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1812     datadir=$ac_optarg ;;
1813
1814   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1815   | --dataroo | --dataro | --datar)
1816     ac_prev=datarootdir ;;
1817   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1818   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1819     datarootdir=$ac_optarg ;;
1820
1821   -disable-* | --disable-*)
1822     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1823     # Reject names that are not valid shell variable names.
1824     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1825       as_fn_error $? "invalid feature name: $ac_useropt"
1826     ac_useropt_orig=$ac_useropt
1827     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1828     case $ac_user_opts in
1829       *"
1830 "enable_$ac_useropt"
1831 "*) ;;
1832       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1833          ac_unrecognized_sep=', ';;
1834     esac
1835     eval enable_$ac_useropt=no ;;
1836
1837   -docdir | --docdir | --docdi | --doc | --do)
1838     ac_prev=docdir ;;
1839   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1840     docdir=$ac_optarg ;;
1841
1842   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1843     ac_prev=dvidir ;;
1844   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1845     dvidir=$ac_optarg ;;
1846
1847   -enable-* | --enable-*)
1848     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1849     # Reject names that are not valid shell variable names.
1850     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1851       as_fn_error $? "invalid feature name: $ac_useropt"
1852     ac_useropt_orig=$ac_useropt
1853     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1854     case $ac_user_opts in
1855       *"
1856 "enable_$ac_useropt"
1857 "*) ;;
1858       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1859          ac_unrecognized_sep=', ';;
1860     esac
1861     eval enable_$ac_useropt=\$ac_optarg ;;
1862
1863   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1864   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1865   | --exec | --exe | --ex)
1866     ac_prev=exec_prefix ;;
1867   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1868   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1869   | --exec=* | --exe=* | --ex=*)
1870     exec_prefix=$ac_optarg ;;
1871
1872   -gas | --gas | --ga | --g)
1873     # Obsolete; use --with-gas.
1874     with_gas=yes ;;
1875
1876   -help | --help | --hel | --he | -h)
1877     ac_init_help=long ;;
1878   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1879     ac_init_help=recursive ;;
1880   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1881     ac_init_help=short ;;
1882
1883   -host | --host | --hos | --ho)
1884     ac_prev=host_alias ;;
1885   -host=* | --host=* | --hos=* | --ho=*)
1886     host_alias=$ac_optarg ;;
1887
1888   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1889     ac_prev=htmldir ;;
1890   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1891   | --ht=*)
1892     htmldir=$ac_optarg ;;
1893
1894   -includedir | --includedir | --includedi | --included | --include \
1895   | --includ | --inclu | --incl | --inc)
1896     ac_prev=includedir ;;
1897   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1898   | --includ=* | --inclu=* | --incl=* | --inc=*)
1899     includedir=$ac_optarg ;;
1900
1901   -infodir | --infodir | --infodi | --infod | --info | --inf)
1902     ac_prev=infodir ;;
1903   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1904     infodir=$ac_optarg ;;
1905
1906   -libdir | --libdir | --libdi | --libd)
1907     ac_prev=libdir ;;
1908   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1909     libdir=$ac_optarg ;;
1910
1911   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1912   | --libexe | --libex | --libe)
1913     ac_prev=libexecdir ;;
1914   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1915   | --libexe=* | --libex=* | --libe=*)
1916     libexecdir=$ac_optarg ;;
1917
1918   -localedir | --localedir | --localedi | --localed | --locale)
1919     ac_prev=localedir ;;
1920   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1921     localedir=$ac_optarg ;;
1922
1923   -localstatedir | --localstatedir | --localstatedi | --localstated \
1924   | --localstate | --localstat | --localsta | --localst | --locals)
1925     ac_prev=localstatedir ;;
1926   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1927   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1928     localstatedir=$ac_optarg ;;
1929
1930   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1931     ac_prev=mandir ;;
1932   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1933     mandir=$ac_optarg ;;
1934
1935   -nfp | --nfp | --nf)
1936     # Obsolete; use --without-fp.
1937     with_fp=no ;;
1938
1939   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1940   | --no-cr | --no-c | -n)
1941     no_create=yes ;;
1942
1943   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1944   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1945     no_recursion=yes ;;
1946
1947   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1948   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1949   | --oldin | --oldi | --old | --ol | --o)
1950     ac_prev=oldincludedir ;;
1951   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1952   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1953   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1954     oldincludedir=$ac_optarg ;;
1955
1956   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1957     ac_prev=prefix ;;
1958   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1959     prefix=$ac_optarg ;;
1960
1961   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1962   | --program-pre | --program-pr | --program-p)
1963     ac_prev=program_prefix ;;
1964   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1965   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1966     program_prefix=$ac_optarg ;;
1967
1968   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1969   | --program-suf | --program-su | --program-s)
1970     ac_prev=program_suffix ;;
1971   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1972   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1973     program_suffix=$ac_optarg ;;
1974
1975   -program-transform-name | --program-transform-name \
1976   | --program-transform-nam | --program-transform-na \
1977   | --program-transform-n | --program-transform- \
1978   | --program-transform | --program-transfor \
1979   | --program-transfo | --program-transf \
1980   | --program-trans | --program-tran \
1981   | --progr-tra | --program-tr | --program-t)
1982     ac_prev=program_transform_name ;;
1983   -program-transform-name=* | --program-transform-name=* \
1984   | --program-transform-nam=* | --program-transform-na=* \
1985   | --program-transform-n=* | --program-transform-=* \
1986   | --program-transform=* | --program-transfor=* \
1987   | --program-transfo=* | --program-transf=* \
1988   | --program-trans=* | --program-tran=* \
1989   | --progr-tra=* | --program-tr=* | --program-t=*)
1990     program_transform_name=$ac_optarg ;;
1991
1992   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1993     ac_prev=pdfdir ;;
1994   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1995     pdfdir=$ac_optarg ;;
1996
1997   -psdir | --psdir | --psdi | --psd | --ps)
1998     ac_prev=psdir ;;
1999   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2000     psdir=$ac_optarg ;;
2001
2002   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2003   | -silent | --silent | --silen | --sile | --sil)
2004     silent=yes ;;
2005
2006   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2007     ac_prev=sbindir ;;
2008   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2009   | --sbi=* | --sb=*)
2010     sbindir=$ac_optarg ;;
2011
2012   -sharedstatedir | --sharedstatedir | --sharedstatedi \
2013   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2014   | --sharedst | --shareds | --shared | --share | --shar \
2015   | --sha | --sh)
2016     ac_prev=sharedstatedir ;;
2017   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2018   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2019   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2020   | --sha=* | --sh=*)
2021     sharedstatedir=$ac_optarg ;;
2022
2023   -site | --site | --sit)
2024     ac_prev=site ;;
2025   -site=* | --site=* | --sit=*)
2026     site=$ac_optarg ;;
2027
2028   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2029     ac_prev=srcdir ;;
2030   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2031     srcdir=$ac_optarg ;;
2032
2033   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2034   | --syscon | --sysco | --sysc | --sys | --sy)
2035     ac_prev=sysconfdir ;;
2036   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2037   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2038     sysconfdir=$ac_optarg ;;
2039
2040   -target | --target | --targe | --targ | --tar | --ta | --t)
2041     ac_prev=target_alias ;;
2042   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2043     target_alias=$ac_optarg ;;
2044
2045   -v | -verbose | --verbose | --verbos | --verbo | --verb)
2046     verbose=yes ;;
2047
2048   -version | --version | --versio | --versi | --vers | -V)
2049     ac_init_version=: ;;
2050
2051   -with-* | --with-*)
2052     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2053     # Reject names that are not valid shell variable names.
2054     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2055       as_fn_error $? "invalid package name: $ac_useropt"
2056     ac_useropt_orig=$ac_useropt
2057     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2058     case $ac_user_opts in
2059       *"
2060 "with_$ac_useropt"
2061 "*) ;;
2062       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2063          ac_unrecognized_sep=', ';;
2064     esac
2065     eval with_$ac_useropt=\$ac_optarg ;;
2066
2067   -without-* | --without-*)
2068     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2069     # Reject names that are not valid shell variable names.
2070     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2071       as_fn_error $? "invalid package name: $ac_useropt"
2072     ac_useropt_orig=$ac_useropt
2073     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2074     case $ac_user_opts in
2075       *"
2076 "with_$ac_useropt"
2077 "*) ;;
2078       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2079          ac_unrecognized_sep=', ';;
2080     esac
2081     eval with_$ac_useropt=no ;;
2082
2083   --x)
2084     # Obsolete; use --with-x.
2085     with_x=yes ;;
2086
2087   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2088   | --x-incl | --x-inc | --x-in | --x-i)
2089     ac_prev=x_includes ;;
2090   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2091   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2092     x_includes=$ac_optarg ;;
2093
2094   -x-libraries | --x-libraries | --x-librarie | --x-librari \
2095   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2096     ac_prev=x_libraries ;;
2097   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2098   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2099     x_libraries=$ac_optarg ;;
2100
2101   -*) as_fn_error $? "unrecognized option: \`$ac_option'
2102 Try \`$0 --help' for more information"
2103     ;;
2104
2105   *=*)
2106     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2107     # Reject names that are not valid shell variable names.
2108     case $ac_envvar in #(
2109       '' | [0-9]* | *[!_$as_cr_alnum]* )
2110       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2111     esac
2112     eval $ac_envvar=\$ac_optarg
2113     export $ac_envvar ;;
2114
2115   *)
2116     # FIXME: should be removed in autoconf 3.0.
2117     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2118     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2119       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2120     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2121     ;;
2122
2123   esac
2124 done
2125
2126 if test -n "$ac_prev"; then
2127   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2128   as_fn_error $? "missing argument to $ac_option"
2129 fi
2130
2131 if test -n "$ac_unrecognized_opts"; then
2132   case $enable_option_checking in
2133     no) ;;
2134     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2135     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2136   esac
2137 fi
2138
2139 # Check all directory arguments for consistency.
2140 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
2141                 datadir sysconfdir sharedstatedir localstatedir includedir \
2142                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2143                 libdir localedir mandir
2144 do
2145   eval ac_val=\$$ac_var
2146   # Remove trailing slashes.
2147   case $ac_val in
2148     */ )
2149       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2150       eval $ac_var=\$ac_val;;
2151   esac
2152   # Be sure to have absolute directory names.
2153   case $ac_val in
2154     [\\/$]* | ?:[\\/]* )  continue;;
2155     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2156   esac
2157   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2158 done
2159
2160 # There might be people who depend on the old broken behavior: `$host'
2161 # used to hold the argument of --host etc.
2162 # FIXME: To remove some day.
2163 build=$build_alias
2164 host=$host_alias
2165 target=$target_alias
2166
2167 # FIXME: To remove some day.
2168 if test "x$host_alias" != x; then
2169   if test "x$build_alias" = x; then
2170     cross_compiling=maybe
2171     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
2172     If a cross compiler is detected then cross compile mode will be used" >&2
2173   elif test "x$build_alias" != "x$host_alias"; then
2174     cross_compiling=yes
2175   fi
2176 fi
2177
2178 ac_tool_prefix=
2179 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2180
2181 test "$silent" = yes && exec 6>/dev/null
2182
2183
2184 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2185 ac_ls_di=`ls -di .` &&
2186 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2187   as_fn_error $? "working directory cannot be determined"
2188 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2189   as_fn_error $? "pwd does not report name of working directory"
2190
2191
2192 # Find the source files, if location was not specified.
2193 if test -z "$srcdir"; then
2194   ac_srcdir_defaulted=yes
2195   # Try the directory containing this script, then the parent directory.
2196   ac_confdir=`$as_dirname -- "$as_myself" ||
2197 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2198          X"$as_myself" : 'X\(//\)[^/]' \| \
2199          X"$as_myself" : 'X\(//\)$' \| \
2200          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2201 $as_echo X"$as_myself" |
2202     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2203             s//\1/
2204             q
2205           }
2206           /^X\(\/\/\)[^/].*/{
2207             s//\1/
2208             q
2209           }
2210           /^X\(\/\/\)$/{
2211             s//\1/
2212             q
2213           }
2214           /^X\(\/\).*/{
2215             s//\1/
2216             q
2217           }
2218           s/.*/./; q'`
2219   srcdir=$ac_confdir
2220   if test ! -r "$srcdir/$ac_unique_file"; then
2221     srcdir=..
2222   fi
2223 else
2224   ac_srcdir_defaulted=no
2225 fi
2226 if test ! -r "$srcdir/$ac_unique_file"; then
2227   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2228   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2229 fi
2230 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2231 ac_abs_confdir=`(
2232         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2233         pwd)`
2234 # When building in place, set srcdir=.
2235 if test "$ac_abs_confdir" = "$ac_pwd"; then
2236   srcdir=.
2237 fi
2238 # Remove unnecessary trailing slashes from srcdir.
2239 # Double slashes in file names in object file debugging info
2240 # mess up M-x gdb in Emacs.
2241 case $srcdir in
2242 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2243 esac
2244 for ac_var in $ac_precious_vars; do
2245   eval ac_env_${ac_var}_set=\${${ac_var}+set}
2246   eval ac_env_${ac_var}_value=\$${ac_var}
2247   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2248   eval ac_cv_env_${ac_var}_value=\$${ac_var}
2249 done
2250
2251 #
2252 # Report the --help message.
2253 #
2254 if test "$ac_init_help" = "long"; then
2255   # Omit some internal or obsolete options to make the list less imposing.
2256   # This message is too long to be a string in the A/UX 3.1 sh.
2257   cat <<_ACEOF
2258 \`configure' configures GStreamer Bad Plug-ins 0.10.23 to adapt to many kinds of systems.
2259
2260 Usage: $0 [OPTION]... [VAR=VALUE]...
2261
2262 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2263 VAR=VALUE.  See below for descriptions of some of the useful variables.
2264
2265 Defaults for the options are specified in brackets.
2266
2267 Configuration:
2268   -h, --help              display this help and exit
2269       --help=short        display options specific to this package
2270       --help=recursive    display the short help of all the included packages
2271   -V, --version           display version information and exit
2272   -q, --quiet, --silent   do not print \`checking ...' messages
2273       --cache-file=FILE   cache test results in FILE [disabled]
2274   -C, --config-cache      alias for \`--cache-file=config.cache'
2275   -n, --no-create         do not create output files
2276       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
2277
2278 Installation directories:
2279   --prefix=PREFIX         install architecture-independent files in PREFIX
2280                           [$ac_default_prefix]
2281   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
2282                           [PREFIX]
2283
2284 By default, \`make install' will install all the files in
2285 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
2286 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2287 for instance \`--prefix=\$HOME'.
2288
2289 For better control, use the options below.
2290
2291 Fine tuning of the installation directories:
2292   --bindir=DIR            user executables [EPREFIX/bin]
2293   --sbindir=DIR           system admin executables [EPREFIX/sbin]
2294   --libexecdir=DIR        program executables [EPREFIX/libexec]
2295   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
2296   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
2297   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
2298   --libdir=DIR            object code libraries [EPREFIX/lib]
2299   --includedir=DIR        C header files [PREFIX/include]
2300   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
2301   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
2302   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
2303   --infodir=DIR           info documentation [DATAROOTDIR/info]
2304   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
2305   --mandir=DIR            man documentation [DATAROOTDIR/man]
2306   --docdir=DIR            documentation root [DATAROOTDIR/doc/gst-plugins-bad]
2307   --htmldir=DIR           html documentation [DOCDIR]
2308   --dvidir=DIR            dvi documentation [DOCDIR]
2309   --pdfdir=DIR            pdf documentation [DOCDIR]
2310   --psdir=DIR             ps documentation [DOCDIR]
2311 _ACEOF
2312
2313   cat <<\_ACEOF
2314
2315 Program names:
2316   --program-prefix=PREFIX            prepend PREFIX to installed program names
2317   --program-suffix=SUFFIX            append SUFFIX to installed program names
2318   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
2319
2320 X features:
2321   --x-includes=DIR    X include files are in DIR
2322   --x-libraries=DIR   X library files are in DIR
2323
2324 System types:
2325   --build=BUILD     configure for building on BUILD [guessed]
2326   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
2327 _ACEOF
2328 fi
2329
2330 if test -n "$ac_init_help"; then
2331   case $ac_init_help in
2332      short | recursive ) echo "Configuration of GStreamer Bad Plug-ins 0.10.23:";;
2333    esac
2334   cat <<\_ACEOF
2335
2336 Optional Features:
2337   --disable-option-checking  ignore unrecognized --enable/--with options
2338   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
2339   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
2340   --enable-maintainer-mode  enable make rules and dependencies not useful
2341                           (and sometimes confusing) to the casual installer
2342   --enable-silent-rules          less verbose build output (undo: `make V=1')
2343   --disable-silent-rules         verbose build output (undo: `make V=0')
2344   --enable-shared[=PKGS]  build shared libraries [default=yes]
2345   --enable-static[=PKGS]  build static libraries [default=yes]
2346   --enable-fast-install[=PKGS]
2347                           optimize for fast installation [default=yes]
2348   --disable-dependency-tracking  speeds up one-time build
2349   --enable-dependency-tracking   do not reject slow dependency extractors
2350   --disable-libtool-lock  avoid locking (might break parallel builds)
2351   --disable-nls           do not use Native Language Support
2352   --disable-rpath         do not hardcode runtime library paths
2353   --disable-debug         disable addition of -g debugging info
2354   --enable-profiling      adds -pg to compiler commandline, for profiling
2355   --disable-valgrind      disable run-time valgrind detection
2356   --enable-gcov           compile with coverage profiling instrumentation (gcc
2357                           only)
2358   --disable-examples      disable building examples
2359   --disable-external           disable building of plug-ins with external deps
2360   --enable-experimental        enable building of experimental plug-ins
2361   --enable-gtk-doc        use gtk-doc to build documentation [[default=no]]
2362   --enable-gobject-cast-checks=[no/auto/yes]
2363                           Enable GObject cast checks
2364   --enable-glib-asserts=[no/auto/yes]
2365                           Enable GLib assertion
2366   --enable-orc            use Orc if installed
2367   --disable-adpcmdec      disable dependency-less adpcmdec plugin
2368   --disable-adpcmenc      disable dependency-less adpcmenc plugin
2369   --disable-aiff          disable dependency-less aiff plugin
2370   --disable-asfmux        disable dependency-less asfmux plugin
2371   --disable-audiovisualizers
2372                           disable dependency-less audiovisualizers plugin
2373   --disable-autoconvert   disable dependency-less autoconvert plugin
2374   --disable-bayer         disable dependency-less bayer plugin
2375   --disable-camerabin     disable dependency-less camerabin plugin
2376   --disable-camerabin2    disable dependency-less camerabin2 plugin
2377   --disable-cdxaparse     disable dependency-less cdxaparse plugin
2378   --disable-coloreffects  disable dependency-less coloreffects plugin
2379   --disable-colorspace    disable dependency-less colorspace plugin
2380   --disable-dataurisrc    disable dependency-less dataurisrc plugin
2381   --disable-dccp          disable dependency-less dccp plugin
2382   --disable-debugutils    disable dependency-less debugutils plugin
2383   --disable-dtmf          disable dependency-less dtmf plugin
2384   --disable-dvbsuboverlay disable dependency-less dvbsuboverlay plugin
2385   --disable-dvdspu        disable dependency-less dvdspu plugin
2386   --disable-faceoverlay   disable dependency-less faceoverlay plugin
2387   --disable-festival      disable dependency-less festival plugin
2388   --disable-fieldanalysis disable dependency-less fieldanalysis plugin
2389   --disable-freeze        disable dependency-less freeze plugin
2390   --disable-freeverb      disable dependency-less freeverb plugin
2391   --disable-frei0r        disable dependency-less frei0r plugin
2392   --disable-gaudieffects  disable dependency-less gaudieffects plugin
2393   --disable-geometrictransform
2394                           disable dependency-less geometrictransform plugin
2395   --disable-h264parse     disable dependency-less h264parse plugin
2396   --disable-hdvparse      disable dependency-less hdvparse plugin
2397   --disable-hls           disable dependency-less hls plugin
2398   --disable-id3tag        disable dependency-less id3tag plugin
2399   --disable-inter         disable dependency-less inter plugin
2400   --disable-interlace     disable dependency-less interlace plugin
2401   --disable-ivfparse      disable dependency-less ivfparse plugin
2402   --disable-jp2kdecimator disable dependency-less jp2kdecimator plugin
2403   --disable-jpegformat    disable dependency-less jpegformat plugin
2404   --disable-legacyresample
2405                           disable dependency-less legacyresample plugin
2406   --disable-librfb        disable dependency-less librfb plugin
2407   --disable-liveadder     disable dependency-less liveadder plugin
2408   --disable-mpegdemux     disable dependency-less mpegdemux plugin
2409   --disable-mpegtsdemux   disable dependency-less mpegtsdemux plugin
2410   --disable-mpegtsmux     disable dependency-less mpegtsmux plugin
2411   --disable-mpegpsmux     disable dependency-less mpegpsmux plugin
2412   --disable-mpegvideoparse
2413                           disable dependency-less mpegvideoparse plugin
2414   --disable-mve           disable dependency-less mve plugin
2415   --disable-mxf           disable dependency-less mxf plugin
2416   --disable-nsf           disable dependency-less nsf plugin
2417   --disable-nuvdemux      disable dependency-less nuvdemux plugin
2418   --disable-patchdetect   disable dependency-less patchdetect plugin
2419   --disable-pcapparse     disable dependency-less pcapparse plugin
2420   --disable-pnm           disable dependency-less pnm plugin
2421   --disable-rawparse      disable dependency-less rawparse plugin
2422   --disable-real          disable dependency-less real plugin
2423   --disable-removesilence disable dependency-less removesilence plugin
2424   --disable-rtpmux        disable dependency-less rtpmux plugin
2425   --disable-rtpvp8        disable dependency-less rtpvp8 plugin
2426   --disable-scaletempo    disable dependency-less scaletempo plugin
2427   --disable-sdi           disable dependency-less sdi plugin
2428   --disable-sdp           disable dependency-less sdp plugin
2429   --disable-segmentclip   disable dependency-less segmentclip plugin
2430   --disable-siren         disable dependency-less siren plugin
2431   --disable-smooth        disable dependency-less smooth plugin
2432   --disable-speed         disable dependency-less speed plugin
2433   --disable-subenc        disable dependency-less subenc plugin
2434   --disable-stereo        disable dependency-less stereo plugin
2435   --disable-tta           disable dependency-less tta plugin
2436   --disable-videofilters  disable dependency-less videofilters plugin
2437   --disable-videomaxrate  disable dependency-less videomaxrate plugin
2438   --disable-videomeasure  disable dependency-less videomeasure plugin
2439   --disable-videoparsers  disable dependency-less videoparsers plugin
2440   --disable-videosignal   disable dependency-less videosignal plugin
2441   --disable-vmnc          disable dependency-less vmnc plugin
2442   --disable-y4m           disable dependency-less y4m plugin
2443   --disable-directsound        disable DirectSound: directsoundsrc
2444   --disable-direct3d           disable Direct3D plug-in: direct3dsink
2445   --disable-directdraw         disable DirectDraw plug-in: directdrawsink
2446   --disable-apple_media        disable Apple video: applemedia
2447   --disable-osx_video          disable OSX video: osxvideosrc
2448   --disable-avc                disable AVC Video Services: avcsrc
2449   --disable-quicktime          disable QuickTime wrapper: qtwrapper
2450   --disable-shm                disable POSIX shared memory source and sink: shm
2451   --disable-vcd                disable Video CD: vcdsrc
2452   --disable-assrender          disable ASS/SSA renderer: assrender
2453   --disable-voamrwbenc         disable vo-amrwbenc library: vo-amrwbenc
2454   --disable-voaacenc           disable vo-aacenc library: vo-aacenc
2455   --disable-apexsink           disable AirPort Express Wireless sink: apexsink
2456   --disable-bz2                disable bz2 library: bz2
2457   --disable-cdaudio            disable cdaudio: cdaudio
2458   --disable-celt               disable celt: celt
2459   --disable-cog                disable Cog plugin: cog
2460   --disable-curl               disable Curl plugin: curl
2461   --disable-dc1394             disable libdc1394: dc1394
2462   --disable-decklink           disable decklink: decklink
2463   --disable-directfb           disable directfb: dfbvideosink
2464   --disable-dirac              disable dirac: dirac
2465   --disable-dts                disable dts library: dtsdec
2466   --disable-divx               disable divx plugins: divx
2467   --disable-resindvd           disable resindvd plugin: resindvd
2468   --disable-faac               disable AAC encoder plug-in: faac
2469   --disable-faad               disable AAC decoder plug-in: faad
2470   --disable-fbdev              disable linux framebuffer: fbdevsink
2471   --disable-flite              disable Flite plugin: flite
2472   --disable-gsm                disable GSM library: gsmenc gsmdec
2473   --disable-jp2k               disable jp2k: jp2kdec jp2kenc
2474   --disable-kate               disable Kate: kate
2475   --disable-ladspa             disable ladspa: ladspa
2476   --disable-lv2                disable lv2: lv2
2477   --disable-libmms             disable mms protocol library: libmms
2478   --disable-linsys             disable Linear Systems SDI plugin: linsys
2479   --disable-modplug            disable modplug: modplug
2480   --disable-mimic              disable libmimic library: mimic
2481   --disable-mpeg2enc           disable mpeg2enc: mpeg2enc
2482   --disable-mplex              disable mplex: mplex
2483   --disable-musepack           disable musepackdec: musepack
2484   --disable-musicbrainz        disable musicbrainz tag generation: musicbrainz
2485   --disable-mythtv             disable MythTV client plugins: mythtvsrc
2486   --disable-nas                disable nas plug-in: nassink
2487   --disable-neon               disable neon http client plugins: neonhttpsrc
2488   --disable-ofa                disable ofa plugins: ofa
2489   --disable-openal             disable OpenAL plugin: openal
2490   --disable-opencv             disable opencv plugins: opencv
2491   --disable-opus               disable opus: opus
2492   --disable-pvr                disable pvrvideosink: pvr
2493   --disable-rsvg               disable rsvg decoder: rsvg
2494   --disable-timidity           disable timidity midi soft synth plugin: timidity
2495   --disable-teletextdec        disable Teletext decoder: teletextdec
2496   --disable-wildmidi           disable wildmidi midi soft synth plugin: wildmidi
2497   --disable-sdl                disable SDL plug-in: sdlvideosink sdlaudiosink
2498   --disable-sdltest       do not try to compile and run a test SDL program
2499   --disable-sndfile            disable sndfile plug-in: sfsrc sfsink
2500   --disable-soundtouch         disable soundtouch plug-in: soundtouch
2501   --disable-spc                disable spc decoder: spc
2502   --disable-gme                disable gme decoder: gme
2503   --disable-swfdec             disable swfdec plug-in: swfdec
2504   --disable-xvid               disable xvid plugins: xvid
2505   --disable-dvb                disable DVB Source: dvb
2506   --disable-wininet            disable Windows internet library: wininet
2507   --disable-acm                disable Windows ACM library: acm
2508   --disable-vdpau              disable VDPAU: vdpau
2509   --disable-schro              disable Schroedinger video codec: schro
2510   --disable-zbar               disable ZBar barcode detector: zbar
2511   --disable-vp8                disable VP8 decoder: vp8
2512   --disable-rtmp               disable rtmp library: rtmp
2513   --disable-spandsp            disable Spandsp: spandsp
2514   --disable-gsettings          disable GSettings plugin: gsettings
2515   --disable-schemas-compile
2516                           Disable regeneration of gschemas.compiled on install
2517
2518 Optional Packages:
2519   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
2520   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
2521   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
2522                           both]
2523   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
2524   --with-sysroot=DIR Search for dependent libraries within DIR
2525                         (or the compiler's sysroot if not specified).
2526   --with-autoconf         use a different autoconf for regeneration of
2527                           Makefiles
2528   --with-autoheader       use a different autoheader for regeneration of
2529                           Makefiles
2530   --with-automake         use a different automake for regeneration of
2531                           Makefiles
2532   --with-aclocal          use a different aclocal for regeneration of
2533                           Makefiles
2534   --with-gnu-ld           assume the C compiler uses GNU ld default=no
2535   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
2536   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
2537   --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
2538   --without-libintl-prefix     don't search for libintl in includedir and libdir
2539   --with-pkg-config-path  colon-separated list of pkg-config(1) dirs
2540   --with-package-name     specify package name to use in plugins
2541   --with-package-origin   specify package origin URL to use in plugins
2542   --with-plugins          comma-separated list of dependencyless plug-ins to
2543                           compile
2544   --with-html-dir=PATH    path to installed docs
2545   --with-gtk=3.0|2.0      which gtk+ version to compile against (default: 2.0)
2546   --with-default-audiosink
2547                           specify default audio sink
2548   --with-default-audiosrc specify default audio source
2549   --with-default-videosink
2550                           specify default video sink
2551   --with-default-videosrc specify default video source
2552   --with-default-visualizer
2553                           specify default visualizer
2554   --with-x                use the X Window System
2555   --with-pvr-external-headers
2556                           Use system installed PVR2D headers
2557   --with-sdl-prefix=PFX   prefix where SDL is installed (optional)
2558   --with-sdl-exec-prefix=PFX
2559                           exec prefix where SDL is installed (optional)
2560
2561 Some influential environment variables:
2562   CC          C compiler command
2563   CFLAGS      C compiler flags
2564   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
2565               nonstandard directory <lib dir>
2566   LIBS        libraries to pass to the linker, e.g. -l<library>
2567   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2568               you have headers in a nonstandard directory <include dir>
2569   CPP         C preprocessor
2570   PKG_CONFIG  path to pkg-config utility
2571   VALGRIND_CFLAGS
2572               C compiler flags for VALGRIND, overriding pkg-config
2573   VALGRIND_LIBS
2574               linker flags for VALGRIND, overriding pkg-config
2575   CXX         C++ compiler command
2576   CXXFLAGS    C++ compiler flags
2577   CXXCPP      C++ preprocessor
2578   GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
2579   GLIB_LIBS   linker flags for GLIB, overriding pkg-config
2580   GST_CFLAGS  C compiler flags for GST, overriding pkg-config
2581   GST_LIBS    linker flags for GST, overriding pkg-config
2582   GST_BASE_CFLAGS
2583               C compiler flags for GST_BASE, overriding pkg-config
2584   GST_BASE_LIBS
2585               linker flags for GST_BASE, overriding pkg-config
2586   GST_GDP_CFLAGS
2587               C compiler flags for GST_GDP, overriding pkg-config
2588   GST_GDP_LIBS
2589               linker flags for GST_GDP, overriding pkg-config
2590   GST_CHECK_CFLAGS
2591               C compiler flags for GST_CHECK, overriding pkg-config
2592   GST_CHECK_LIBS
2593               linker flags for GST_CHECK, overriding pkg-config
2594   GST_CONTROLLER_CFLAGS
2595               C compiler flags for GST_CONTROLLER, overriding pkg-config
2596   GST_CONTROLLER_LIBS
2597               linker flags for GST_CONTROLLER, overriding pkg-config
2598   GST_PLUGINS_BASE_CFLAGS
2599               C compiler flags for GST_PLUGINS_BASE, overriding pkg-config
2600   GST_PLUGINS_BASE_LIBS
2601               linker flags for GST_PLUGINS_BASE, overriding pkg-config
2602   GST_PLUGINS_GOOD_CFLAGS
2603               C compiler flags for GST_PLUGINS_GOOD, overriding pkg-config
2604   GST_PLUGINS_GOOD_LIBS
2605               linker flags for GST_PLUGINS_GOOD, overriding pkg-config
2606   GST_PLUGINS_UGLY_CFLAGS
2607               C compiler flags for GST_PLUGINS_UGLY, overriding pkg-config
2608   GST_PLUGINS_UGLY_LIBS
2609               linker flags for GST_PLUGINS_UGLY, overriding pkg-config
2610   GST_PLUGINS_FFMPEG_CFLAGS
2611               C compiler flags for GST_PLUGINS_FFMPEG, overriding pkg-config
2612   GST_PLUGINS_FFMPEG_LIBS
2613               linker flags for GST_PLUGINS_FFMPEG, overriding pkg-config
2614   GTK_CFLAGS  C compiler flags for GTK, overriding pkg-config
2615   GTK_LIBS    linker flags for GTK, overriding pkg-config
2616   GMODULE_EXPORT_CFLAGS
2617               C compiler flags for GMODULE_EXPORT, overriding pkg-config
2618   GMODULE_EXPORT_LIBS
2619               linker flags for GMODULE_EXPORT, overriding pkg-config
2620   X11_CFLAGS  C compiler flags for X11, overriding pkg-config
2621   X11_LIBS    linker flags for X11, overriding pkg-config
2622   EXIF_CFLAGS C compiler flags for EXIF, overriding pkg-config
2623   EXIF_LIBS   linker flags for EXIF, overriding pkg-config
2624   ORC_CFLAGS  C compiler flags for ORC, overriding pkg-config
2625   ORC_LIBS    linker flags for ORC, overriding pkg-config
2626   GIO_CFLAGS  C compiler flags for GIO, overriding pkg-config
2627   GIO_LIBS    linker flags for GIO, overriding pkg-config
2628   ASSRENDER_CFLAGS
2629               C compiler flags for ASSRENDER, overriding pkg-config
2630   ASSRENDER_LIBS
2631               linker flags for ASSRENDER, overriding pkg-config
2632   VOAMRWBENC_CFLAGS
2633               C compiler flags for VOAMRWBENC, overriding pkg-config
2634   VOAMRWBENC_LIBS
2635               linker flags for VOAMRWBENC, overriding pkg-config
2636   VOAACENC_CFLAGS
2637               C compiler flags for VOAACENC, overriding pkg-config
2638   VOAACENC_LIBS
2639               linker flags for VOAACENC, overriding pkg-config
2640   APEXSINK_CFLAGS
2641               C compiler flags for APEXSINK, overriding pkg-config
2642   APEXSINK_LIBS
2643               linker flags for APEXSINK, overriding pkg-config
2644   CDAUDIO_CFLAGS
2645               C compiler flags for CDAUDIO, overriding pkg-config
2646   CDAUDIO_LIBS
2647               linker flags for CDAUDIO, overriding pkg-config
2648   CELT_CFLAGS C compiler flags for CELT, overriding pkg-config
2649   CELT_LIBS   linker flags for CELT, overriding pkg-config
2650   CELT_0_7_CFLAGS
2651               C compiler flags for CELT_0_7, overriding pkg-config
2652   CELT_0_7_LIBS
2653               linker flags for CELT_0_7, overriding pkg-config
2654   CELT_0_8_CFLAGS
2655               C compiler flags for CELT_0_8, overriding pkg-config
2656   CELT_0_8_LIBS
2657               linker flags for CELT_0_8, overriding pkg-config
2658   CELT_0_11_CFLAGS
2659               C compiler flags for CELT_0_11, overriding pkg-config
2660   CELT_0_11_LIBS
2661               linker flags for CELT_0_11, overriding pkg-config
2662   COG_CFLAGS  C compiler flags for COG, overriding pkg-config
2663   COG_LIBS    linker flags for COG, overriding pkg-config
2664   CURL_CFLAGS C compiler flags for CURL, overriding pkg-config
2665   CURL_LIBS   linker flags for CURL, overriding pkg-config
2666   LIBDC1394_CFLAGS
2667               C compiler flags for LIBDC1394, overriding pkg-config
2668   LIBDC1394_LIBS
2669               linker flags for LIBDC1394, overriding pkg-config
2670   DIRECTFB_CFLAGS
2671               C compiler flags for DIRECTFB, overriding pkg-config
2672   DIRECTFB_LIBS
2673               linker flags for DIRECTFB, overriding pkg-config
2674   DIRAC_CFLAGS
2675               C compiler flags for DIRAC, overriding pkg-config
2676   DIRAC_LIBS  linker flags for DIRAC, overriding pkg-config
2677   DVDNAV_CFLAGS
2678               C compiler flags for DVDNAV, overriding pkg-config
2679   DVDNAV_LIBS linker flags for DVDNAV, overriding pkg-config
2680   KATE_CFLAGS C compiler flags for KATE, overriding pkg-config
2681   KATE_LIBS   linker flags for KATE, overriding pkg-config
2682   TIGER_CFLAGS
2683               C compiler flags for TIGER, overriding pkg-config
2684   TIGER_LIBS  linker flags for TIGER, overriding pkg-config
2685   LRDF_CFLAGS C compiler flags for LRDF, overriding pkg-config
2686   LRDF_LIBS   linker flags for LRDF, overriding pkg-config
2687   SLV2_CFLAGS C compiler flags for SLV2, overriding pkg-config
2688   SLV2_LIBS   linker flags for SLV2, overriding pkg-config
2689   LIBMMS_CFLAGS
2690               C compiler flags for LIBMMS, overriding pkg-config
2691   LIBMMS_LIBS linker flags for LIBMMS, overriding pkg-config
2692   MODPLUG_CFLAGS
2693               C compiler flags for MODPLUG, overriding pkg-config
2694   MODPLUG_LIBS
2695               linker flags for MODPLUG, overriding pkg-config
2696   MIMIC_CFLAGS
2697               C compiler flags for MIMIC, overriding pkg-config
2698   MIMIC_LIBS  linker flags for MIMIC, overriding pkg-config
2699   MJPEG_CFLAGS
2700               C compiler flags for MJPEG, overriding pkg-config
2701   MJPEG_LIBS  linker flags for MJPEG, overriding pkg-config
2702   MPEG2ENC_CFLAGS
2703               C compiler flags for MPEG2ENC, overriding pkg-config
2704   MPEG2ENC_LIBS
2705               linker flags for MPEG2ENC, overriding pkg-config
2706   MPLEX_CFLAGS
2707               C compiler flags for MPLEX, overriding pkg-config
2708   MPLEX_LIBS  linker flags for MPLEX, overriding pkg-config
2709   MUSICBRAINZ_CFLAGS
2710               C compiler flags for MUSICBRAINZ, overriding pkg-config
2711   MUSICBRAINZ_LIBS
2712               linker flags for MUSICBRAINZ, overriding pkg-config
2713   GMYTH_CFLAGS
2714               C compiler flags for GMYTH, overriding pkg-config
2715   GMYTH_LIBS  linker flags for GMYTH, overriding pkg-config
2716   XMKMF       Path to xmkmf, Makefile generator for X Window System
2717   NEON_CFLAGS C compiler flags for NEON, overriding pkg-config
2718   NEON_LIBS   linker flags for NEON, overriding pkg-config
2719   OFA_CFLAGS  C compiler flags for OFA, overriding pkg-config
2720   OFA_LIBS    linker flags for OFA, overriding pkg-config
2721   OPENAL_CFLAGS
2722               C compiler flags for OPENAL, overriding pkg-config
2723   OPENAL_LIBS linker flags for OPENAL, overriding pkg-config
2724   OPENCV_CFLAGS
2725               C compiler flags for OPENCV, overriding pkg-config
2726   OPENCV_LIBS linker flags for OPENCV, overriding pkg-config
2727   OPUS_CFLAGS C compiler flags for OPUS, overriding pkg-config
2728   OPUS_LIBS   linker flags for OPUS, overriding pkg-config
2729   PVR_CFLAGS  C compiler flags for PVR, overriding pkg-config
2730   PVR_LIBS    linker flags for PVR, overriding pkg-config
2731   RSVG_CFLAGS C compiler flags for RSVG, overriding pkg-config
2732   RSVG_LIBS   linker flags for RSVG, overriding pkg-config
2733   TIMIDITY_CFLAGS
2734               C compiler flags for TIMIDITY, overriding pkg-config
2735   TIMIDITY_LIBS
2736               linker flags for TIMIDITY, overriding pkg-config
2737   TELETEXTDEC_CFLAGS
2738               C compiler flags for TELETEXTDEC, overriding pkg-config
2739   TELETEXTDEC_LIBS
2740               linker flags for TELETEXTDEC, overriding pkg-config
2741   SNDFILE_CFLAGS
2742               C compiler flags for SNDFILE, overriding pkg-config
2743   SNDFILE_LIBS
2744               linker flags for SNDFILE, overriding pkg-config
2745   SOUNDTOUCH_CFLAGS
2746               C compiler flags for SOUNDTOUCH, overriding pkg-config
2747   SOUNDTOUCH_LIBS
2748               linker flags for SOUNDTOUCH, overriding pkg-config
2749   SWFDEC_CFLAGS
2750               C compiler flags for SWFDEC, overriding pkg-config
2751   SWFDEC_LIBS linker flags for SWFDEC, overriding pkg-config
2752   VDPAU_CFLAGS
2753               C compiler flags for VDPAU, overriding pkg-config
2754   VDPAU_LIBS  linker flags for VDPAU, overriding pkg-config
2755   SCHRO_CFLAGS
2756               C compiler flags for SCHRO, overriding pkg-config
2757   SCHRO_LIBS  linker flags for SCHRO, overriding pkg-config
2758   ZBAR_CFLAGS C compiler flags for ZBAR, overriding pkg-config
2759   ZBAR_LIBS   linker flags for ZBAR, overriding pkg-config
2760   RTMP_CFLAGS C compiler flags for RTMP, overriding pkg-config
2761   RTMP_LIBS   linker flags for RTMP, overriding pkg-config
2762   SPANDSP_CFLAGS
2763               C compiler flags for SPANDSP, overriding pkg-config
2764   SPANDSP_LIBS
2765               linker flags for SPANDSP, overriding pkg-config
2766   GSETTINGS_CFLAGS
2767               C compiler flags for GSETTINGS, overriding pkg-config
2768   GSETTINGS_LIBS
2769               linker flags for GSETTINGS, overriding pkg-config
2770
2771 Use these variables to override the choices made by `configure' or to help
2772 it to find libraries and programs with nonstandard names/locations.
2773
2774 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer>.
2775 _ACEOF
2776 ac_status=$?
2777 fi
2778
2779 if test "$ac_init_help" = "recursive"; then
2780   # If there are subdirs, report their specific --help.
2781   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2782     test -d "$ac_dir" ||
2783       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2784       continue
2785     ac_builddir=.
2786
2787 case "$ac_dir" in
2788 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2789 *)
2790   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2791   # A ".." for each directory in $ac_dir_suffix.
2792   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2793   case $ac_top_builddir_sub in
2794   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2795   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2796   esac ;;
2797 esac
2798 ac_abs_top_builddir=$ac_pwd
2799 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2800 # for backward compatibility:
2801 ac_top_builddir=$ac_top_build_prefix
2802
2803 case $srcdir in
2804   .)  # We are building in place.
2805     ac_srcdir=.
2806     ac_top_srcdir=$ac_top_builddir_sub
2807     ac_abs_top_srcdir=$ac_pwd ;;
2808   [\\/]* | ?:[\\/]* )  # Absolute name.
2809     ac_srcdir=$srcdir$ac_dir_suffix;
2810     ac_top_srcdir=$srcdir
2811     ac_abs_top_srcdir=$srcdir ;;
2812   *) # Relative name.
2813     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2814     ac_top_srcdir=$ac_top_build_prefix$srcdir
2815     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2816 esac
2817 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2818
2819     cd "$ac_dir" || { ac_status=$?; continue; }
2820     # Check for guested configure.
2821     if test -f "$ac_srcdir/configure.gnu"; then
2822       echo &&
2823       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2824     elif test -f "$ac_srcdir/configure"; then
2825       echo &&
2826       $SHELL "$ac_srcdir/configure" --help=recursive
2827     else
2828       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2829     fi || ac_status=$?
2830     cd "$ac_pwd" || { ac_status=$?; break; }
2831   done
2832 fi
2833
2834 test -n "$ac_init_help" && exit $ac_status
2835 if $ac_init_version; then
2836   cat <<\_ACEOF
2837 GStreamer Bad Plug-ins configure 0.10.23
2838 generated by GNU Autoconf 2.68
2839
2840 Copyright (C) 2010 Free Software Foundation, Inc.
2841 This configure script is free software; the Free Software Foundation
2842 gives unlimited permission to copy, distribute and modify it.
2843 _ACEOF
2844   exit
2845 fi
2846
2847 ## ------------------------ ##
2848 ## Autoconf initialization. ##
2849 ## ------------------------ ##
2850
2851 # ac_fn_c_try_compile LINENO
2852 # --------------------------
2853 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2854 ac_fn_c_try_compile ()
2855 {
2856   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2857   rm -f conftest.$ac_objext
2858   if { { ac_try="$ac_compile"
2859 case "(($ac_try" in
2860   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2861   *) ac_try_echo=$ac_try;;
2862 esac
2863 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2864 $as_echo "$ac_try_echo"; } >&5
2865   (eval "$ac_compile") 2>conftest.err
2866   ac_status=$?
2867   if test -s conftest.err; then
2868     grep -v '^ *+' conftest.err >conftest.er1
2869     cat conftest.er1 >&5
2870     mv -f conftest.er1 conftest.err
2871   fi
2872   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2873   test $ac_status = 0; } && {
2874          test -z "$ac_c_werror_flag" ||
2875          test ! -s conftest.err
2876        } && test -s conftest.$ac_objext; then :
2877   ac_retval=0
2878 else
2879   $as_echo "$as_me: failed program was:" >&5
2880 sed 's/^/| /' conftest.$ac_ext >&5
2881
2882         ac_retval=1
2883 fi
2884   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2885   as_fn_set_status $ac_retval
2886
2887 } # ac_fn_c_try_compile
2888
2889 # ac_fn_c_try_link LINENO
2890 # -----------------------
2891 # Try to link conftest.$ac_ext, and return whether this succeeded.
2892 ac_fn_c_try_link ()
2893 {
2894   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2895   rm -f conftest.$ac_objext conftest$ac_exeext
2896   if { { ac_try="$ac_link"
2897 case "(($ac_try" in
2898   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2899   *) ac_try_echo=$ac_try;;
2900 esac
2901 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2902 $as_echo "$ac_try_echo"; } >&5
2903   (eval "$ac_link") 2>conftest.err
2904   ac_status=$?
2905   if test -s conftest.err; then
2906     grep -v '^ *+' conftest.err >conftest.er1
2907     cat conftest.er1 >&5
2908     mv -f conftest.er1 conftest.err
2909   fi
2910   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2911   test $ac_status = 0; } && {
2912          test -z "$ac_c_werror_flag" ||
2913          test ! -s conftest.err
2914        } && test -s conftest$ac_exeext && {
2915          test "$cross_compiling" = yes ||
2916          $as_test_x conftest$ac_exeext
2917        }; then :
2918   ac_retval=0
2919 else
2920   $as_echo "$as_me: failed program was:" >&5
2921 sed 's/^/| /' conftest.$ac_ext >&5
2922
2923         ac_retval=1
2924 fi
2925   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2926   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2927   # interfere with the next link command; also delete a directory that is
2928   # left behind by Apple's compiler.  We do this before executing the actions.
2929   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2930   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2931   as_fn_set_status $ac_retval
2932
2933 } # ac_fn_c_try_link
2934
2935 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2936 # -------------------------------------------------------
2937 # Tests whether HEADER exists and can be compiled using the include files in
2938 # INCLUDES, setting the cache variable VAR accordingly.
2939 ac_fn_c_check_header_compile ()
2940 {
2941   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2942   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2943 $as_echo_n "checking for $2... " >&6; }
2944 if eval \${$3+:} false; then :
2945   $as_echo_n "(cached) " >&6
2946 else
2947   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2948 /* end confdefs.h.  */
2949 $4
2950 #include <$2>
2951 _ACEOF
2952 if ac_fn_c_try_compile "$LINENO"; then :
2953   eval "$3=yes"
2954 else
2955   eval "$3=no"
2956 fi
2957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2958 fi
2959 eval ac_res=\$$3
2960                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2961 $as_echo "$ac_res" >&6; }
2962   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2963
2964 } # ac_fn_c_check_header_compile
2965
2966 # ac_fn_c_try_cpp LINENO
2967 # ----------------------
2968 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2969 ac_fn_c_try_cpp ()
2970 {
2971   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2972   if { { ac_try="$ac_cpp conftest.$ac_ext"
2973 case "(($ac_try" in
2974   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2975   *) ac_try_echo=$ac_try;;
2976 esac
2977 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2978 $as_echo "$ac_try_echo"; } >&5
2979   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2980   ac_status=$?
2981   if test -s conftest.err; then
2982     grep -v '^ *+' conftest.err >conftest.er1
2983     cat conftest.er1 >&5
2984     mv -f conftest.er1 conftest.err
2985   fi
2986   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2987   test $ac_status = 0; } > conftest.i && {
2988          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2989          test ! -s conftest.err
2990        }; then :
2991   ac_retval=0
2992 else
2993   $as_echo "$as_me: failed program was:" >&5
2994 sed 's/^/| /' conftest.$ac_ext >&5
2995
2996     ac_retval=1
2997 fi
2998   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2999   as_fn_set_status $ac_retval
3000
3001 } # ac_fn_c_try_cpp
3002
3003 # ac_fn_c_try_run LINENO
3004 # ----------------------
3005 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3006 # that executables *can* be run.
3007 ac_fn_c_try_run ()
3008 {
3009   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3010   if { { ac_try="$ac_link"
3011 case "(($ac_try" in
3012   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3013   *) ac_try_echo=$ac_try;;
3014 esac
3015 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3016 $as_echo "$ac_try_echo"; } >&5
3017   (eval "$ac_link") 2>&5
3018   ac_status=$?
3019   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3020   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3021   { { case "(($ac_try" in
3022   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3023   *) ac_try_echo=$ac_try;;
3024 esac
3025 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3026 $as_echo "$ac_try_echo"; } >&5
3027   (eval "$ac_try") 2>&5
3028   ac_status=$?
3029   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3030   test $ac_status = 0; }; }; then :
3031   ac_retval=0
3032 else
3033   $as_echo "$as_me: program exited with status $ac_status" >&5
3034        $as_echo "$as_me: failed program was:" >&5
3035 sed 's/^/| /' conftest.$ac_ext >&5
3036
3037        ac_retval=$ac_status
3038 fi
3039   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3040   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3041   as_fn_set_status $ac_retval
3042
3043 } # ac_fn_c_try_run
3044
3045 # ac_fn_c_check_func LINENO FUNC VAR
3046 # ----------------------------------
3047 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3048 ac_fn_c_check_func ()
3049 {
3050   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3051   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3052 $as_echo_n "checking for $2... " >&6; }
3053 if eval \${$3+:} false; then :
3054   $as_echo_n "(cached) " >&6
3055 else
3056   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3057 /* end confdefs.h.  */
3058 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3059    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
3060 #define $2 innocuous_$2
3061
3062 /* System header to define __stub macros and hopefully few prototypes,
3063     which can conflict with char $2 (); below.
3064     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3065     <limits.h> exists even on freestanding compilers.  */
3066
3067 #ifdef __STDC__
3068 # include <limits.h>
3069 #else
3070 # include <assert.h>
3071 #endif
3072
3073 #undef $2
3074
3075 /* Override any GCC internal prototype to avoid an error.
3076    Use char because int might match the return type of a GCC
3077    builtin and then its argument prototype would still apply.  */
3078 #ifdef __cplusplus
3079 extern "C"
3080 #endif
3081 char $2 ();
3082 /* The GNU C library defines this for functions which it implements
3083     to always fail with ENOSYS.  Some functions are actually named
3084     something starting with __ and the normal name is an alias.  */
3085 #if defined __stub_$2 || defined __stub___$2
3086 choke me
3087 #endif
3088
3089 int
3090 main ()
3091 {
3092 return $2 ();
3093   ;
3094   return 0;
3095 }
3096 _ACEOF
3097 if ac_fn_c_try_link "$LINENO"; then :
3098   eval "$3=yes"
3099 else
3100   eval "$3=no"
3101 fi
3102 rm -f core conftest.err conftest.$ac_objext \
3103     conftest$ac_exeext conftest.$ac_ext
3104 fi
3105 eval ac_res=\$$3
3106                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3107 $as_echo "$ac_res" >&6; }
3108   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3109
3110 } # ac_fn_c_check_func
3111
3112 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
3113 # ---------------------------------------------
3114 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
3115 # accordingly.
3116 ac_fn_c_check_decl ()
3117 {
3118   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3119   as_decl_name=`echo $2|sed 's/ *(.*//'`
3120   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
3121   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
3122 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
3123 if eval \${$3+:} false; then :
3124   $as_echo_n "(cached) " >&6
3125 else
3126   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3127 /* end confdefs.h.  */
3128 $4
3129 int
3130 main ()
3131 {
3132 #ifndef $as_decl_name
3133 #ifdef __cplusplus
3134   (void) $as_decl_use;
3135 #else
3136   (void) $as_decl_name;
3137 #endif
3138 #endif
3139
3140   ;
3141   return 0;
3142 }
3143 _ACEOF
3144 if ac_fn_c_try_compile "$LINENO"; then :
3145   eval "$3=yes"
3146 else
3147   eval "$3=no"
3148 fi
3149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3155
3156 } # ac_fn_c_check_decl
3157
3158 # ac_fn_cxx_try_compile LINENO
3159 # ----------------------------
3160 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3161 ac_fn_cxx_try_compile ()
3162 {
3163   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3164   rm -f conftest.$ac_objext
3165   if { { ac_try="$ac_compile"
3166 case "(($ac_try" in
3167   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3168   *) ac_try_echo=$ac_try;;
3169 esac
3170 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3171 $as_echo "$ac_try_echo"; } >&5
3172   (eval "$ac_compile") 2>conftest.err
3173   ac_status=$?
3174   if test -s conftest.err; then
3175     grep -v '^ *+' conftest.err >conftest.er1
3176     cat conftest.er1 >&5
3177     mv -f conftest.er1 conftest.err
3178   fi
3179   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3180   test $ac_status = 0; } && {
3181          test -z "$ac_cxx_werror_flag" ||
3182          test ! -s conftest.err
3183        } && test -s conftest.$ac_objext; then :
3184   ac_retval=0
3185 else
3186   $as_echo "$as_me: failed program was:" >&5
3187 sed 's/^/| /' conftest.$ac_ext >&5
3188
3189         ac_retval=1
3190 fi
3191   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3192   as_fn_set_status $ac_retval
3193
3194 } # ac_fn_cxx_try_compile
3195
3196 # ac_fn_cxx_try_cpp LINENO
3197 # ------------------------
3198 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3199 ac_fn_cxx_try_cpp ()
3200 {
3201   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3202   if { { ac_try="$ac_cpp conftest.$ac_ext"
3203 case "(($ac_try" in
3204   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3205   *) ac_try_echo=$ac_try;;
3206 esac
3207 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3208 $as_echo "$ac_try_echo"; } >&5
3209   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3210   ac_status=$?
3211   if test -s conftest.err; then
3212     grep -v '^ *+' conftest.err >conftest.er1
3213     cat conftest.er1 >&5
3214     mv -f conftest.er1 conftest.err
3215   fi
3216   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3217   test $ac_status = 0; } > conftest.i && {
3218          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
3219          test ! -s conftest.err
3220        }; then :
3221   ac_retval=0
3222 else
3223   $as_echo "$as_me: failed program was:" >&5
3224 sed 's/^/| /' conftest.$ac_ext >&5
3225
3226     ac_retval=1
3227 fi
3228   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3229   as_fn_set_status $ac_retval
3230
3231 } # ac_fn_cxx_try_cpp
3232
3233 # ac_fn_cxx_try_link LINENO
3234 # -------------------------
3235 # Try to link conftest.$ac_ext, and return whether this succeeded.
3236 ac_fn_cxx_try_link ()
3237 {
3238   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3239   rm -f conftest.$ac_objext conftest$ac_exeext
3240   if { { ac_try="$ac_link"
3241 case "(($ac_try" in
3242   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3243   *) ac_try_echo=$ac_try;;
3244 esac
3245 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3246 $as_echo "$ac_try_echo"; } >&5
3247   (eval "$ac_link") 2>conftest.err
3248   ac_status=$?
3249   if test -s conftest.err; then
3250     grep -v '^ *+' conftest.err >conftest.er1
3251     cat conftest.er1 >&5
3252     mv -f conftest.er1 conftest.err
3253   fi
3254   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3255   test $ac_status = 0; } && {
3256          test -z "$ac_cxx_werror_flag" ||
3257          test ! -s conftest.err
3258        } && test -s conftest$ac_exeext && {
3259          test "$cross_compiling" = yes ||
3260          $as_test_x conftest$ac_exeext
3261        }; then :
3262   ac_retval=0
3263 else
3264   $as_echo "$as_me: failed program was:" >&5
3265 sed 's/^/| /' conftest.$ac_ext >&5
3266
3267         ac_retval=1
3268 fi
3269   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
3270   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
3271   # interfere with the next link command; also delete a directory that is
3272   # left behind by Apple's compiler.  We do this before executing the actions.
3273   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3274   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3275   as_fn_set_status $ac_retval
3276
3277 } # ac_fn_cxx_try_link
3278
3279 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
3280 # -------------------------------------------------------
3281 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3282 # the include files in INCLUDES and setting the cache variable VAR
3283 # accordingly.
3284 ac_fn_c_check_header_mongrel ()
3285 {
3286   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3287   if eval \${$3+:} false; then :
3288   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3289 $as_echo_n "checking for $2... " >&6; }
3290 if eval \${$3+:} false; then :
3291   $as_echo_n "(cached) " >&6
3292 fi
3293 eval ac_res=\$$3
3294                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3295 $as_echo "$ac_res" >&6; }
3296 else
3297   # Is the header compilable?
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3299 $as_echo_n "checking $2 usability... " >&6; }
3300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3301 /* end confdefs.h.  */
3302 $4
3303 #include <$2>
3304 _ACEOF
3305 if ac_fn_c_try_compile "$LINENO"; then :
3306   ac_header_compiler=yes
3307 else
3308   ac_header_compiler=no
3309 fi
3310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3312 $as_echo "$ac_header_compiler" >&6; }
3313
3314 # Is the header present?
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3316 $as_echo_n "checking $2 presence... " >&6; }
3317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3318 /* end confdefs.h.  */
3319 #include <$2>
3320 _ACEOF
3321 if ac_fn_c_try_cpp "$LINENO"; then :
3322   ac_header_preproc=yes
3323 else
3324   ac_header_preproc=no
3325 fi
3326 rm -f conftest.err conftest.i conftest.$ac_ext
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3328 $as_echo "$ac_header_preproc" >&6; }
3329
3330 # So?  What about this header?
3331 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3332   yes:no: )
3333     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3334 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3335     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3336 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3337     ;;
3338   no:yes:* )
3339     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3340 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3341     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
3342 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
3343     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3344 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3345     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
3346 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
3347     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3348 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3349 ( $as_echo "## ------------------------------------------------------------------------ ##
3350 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer ##
3351 ## ------------------------------------------------------------------------ ##"
3352      ) | sed "s/^/$as_me: WARNING:     /" >&2
3353     ;;
3354 esac
3355   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3356 $as_echo_n "checking for $2... " >&6; }
3357 if eval \${$3+:} false; then :
3358   $as_echo_n "(cached) " >&6
3359 else
3360   eval "$3=\$ac_header_compiler"
3361 fi
3362 eval ac_res=\$$3
3363                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3364 $as_echo "$ac_res" >&6; }
3365 fi
3366   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3367
3368 } # ac_fn_c_check_header_mongrel
3369
3370 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3371 # -------------------------------------------
3372 # Tests whether TYPE exists after having included INCLUDES, setting cache
3373 # variable VAR accordingly.
3374 ac_fn_c_check_type ()
3375 {
3376   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3377   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3378 $as_echo_n "checking for $2... " >&6; }
3379 if eval \${$3+:} false; then :
3380   $as_echo_n "(cached) " >&6
3381 else
3382   eval "$3=no"
3383   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3384 /* end confdefs.h.  */
3385 $4
3386 int
3387 main ()
3388 {
3389 if (sizeof ($2))
3390          return 0;
3391   ;
3392   return 0;
3393 }
3394 _ACEOF
3395 if ac_fn_c_try_compile "$LINENO"; then :
3396   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3397 /* end confdefs.h.  */
3398 $4
3399 int
3400 main ()
3401 {
3402 if (sizeof (($2)))
3403             return 0;
3404   ;
3405   return 0;
3406 }
3407 _ACEOF
3408 if ac_fn_c_try_compile "$LINENO"; then :
3409
3410 else
3411   eval "$3=yes"
3412 fi
3413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3414 fi
3415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3416 fi
3417 eval ac_res=\$$3
3418                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3419 $as_echo "$ac_res" >&6; }
3420   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3421
3422 } # ac_fn_c_check_type
3423
3424 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
3425 # --------------------------------------------
3426 # Tries to find the compile-time value of EXPR in a program that includes
3427 # INCLUDES, setting VAR accordingly. Returns whether the value could be
3428 # computed
3429 ac_fn_c_compute_int ()
3430 {
3431   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3432   if test "$cross_compiling" = yes; then
3433     # Depending upon the size, compute the lo and hi bounds.
3434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3435 /* end confdefs.h.  */
3436 $4
3437 int
3438 main ()
3439 {
3440 static int test_array [1 - 2 * !(($2) >= 0)];
3441 test_array [0] = 0
3442
3443   ;
3444   return 0;
3445 }
3446 _ACEOF
3447 if ac_fn_c_try_compile "$LINENO"; then :
3448   ac_lo=0 ac_mid=0
3449   while :; do
3450     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3451 /* end confdefs.h.  */
3452 $4
3453 int
3454 main ()
3455 {
3456 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
3457 test_array [0] = 0
3458
3459   ;
3460   return 0;
3461 }
3462 _ACEOF
3463 if ac_fn_c_try_compile "$LINENO"; then :
3464   ac_hi=$ac_mid; break
3465 else
3466   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
3467                         if test $ac_lo -le $ac_mid; then
3468                           ac_lo= ac_hi=
3469                           break
3470                         fi
3471                         as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
3472 fi
3473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3474   done
3475 else
3476   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3477 /* end confdefs.h.  */
3478 $4
3479 int
3480 main ()
3481 {
3482 static int test_array [1 - 2 * !(($2) < 0)];
3483 test_array [0] = 0
3484
3485   ;
3486   return 0;
3487 }
3488 _ACEOF
3489 if ac_fn_c_try_compile "$LINENO"; then :
3490   ac_hi=-1 ac_mid=-1
3491   while :; do
3492     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3493 /* end confdefs.h.  */
3494 $4
3495 int
3496 main ()
3497 {
3498 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
3499 test_array [0] = 0
3500
3501   ;
3502   return 0;
3503 }
3504 _ACEOF
3505 if ac_fn_c_try_compile "$LINENO"; then :
3506   ac_lo=$ac_mid; break
3507 else
3508   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
3509                         if test $ac_mid -le $ac_hi; then
3510                           ac_lo= ac_hi=
3511                           break
3512                         fi
3513                         as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
3514 fi
3515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3516   done
3517 else
3518   ac_lo= ac_hi=
3519 fi
3520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3521 fi
3522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3523 # Binary search between lo and hi bounds.
3524 while test "x$ac_lo" != "x$ac_hi"; do
3525   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
3526   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3527 /* end confdefs.h.  */
3528 $4
3529 int
3530 main ()
3531 {
3532 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
3533 test_array [0] = 0
3534
3535   ;
3536   return 0;
3537 }
3538 _ACEOF
3539 if ac_fn_c_try_compile "$LINENO"; then :
3540   ac_hi=$ac_mid
3541 else
3542   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
3543 fi
3544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3545 done
3546 case $ac_lo in #((
3547 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
3548 '') ac_retval=1 ;;
3549 esac
3550   else
3551     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3552 /* end confdefs.h.  */
3553 $4
3554 static long int longval () { return $2; }
3555 static unsigned long int ulongval () { return $2; }
3556 #include <stdio.h>
3557 #include <stdlib.h>
3558 int
3559 main ()
3560 {
3561
3562   FILE *f = fopen ("conftest.val", "w");
3563   if (! f)
3564     return 1;
3565   if (($2) < 0)
3566     {
3567       long int i = longval ();
3568       if (i != ($2))
3569         return 1;
3570       fprintf (f, "%ld", i);
3571     }
3572   else
3573     {
3574       unsigned long int i = ulongval ();
3575       if (i != ($2))
3576         return 1;
3577       fprintf (f, "%lu", i);
3578     }
3579   /* Do not output a trailing newline, as this causes \r\n confusion
3580      on some platforms.  */
3581   return ferror (f) || fclose (f) != 0;
3582
3583   ;
3584   return 0;
3585 }
3586 _ACEOF
3587 if ac_fn_c_try_run "$LINENO"; then :
3588   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
3589 else
3590   ac_retval=1
3591 fi
3592 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3593   conftest.$ac_objext conftest.beam conftest.$ac_ext
3594 rm -f conftest.val
3595
3596   fi
3597   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3598   as_fn_set_status $ac_retval
3599
3600 } # ac_fn_c_compute_int
3601
3602 # ac_fn_c_check_header_preproc LINENO HEADER VAR
3603 # ----------------------------------------------
3604 # Tests whether HEADER is present, setting the cache variable VAR accordingly.
3605 ac_fn_c_check_header_preproc ()
3606 {
3607   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3608   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3609 $as_echo_n "checking for $2... " >&6; }
3610 if eval \${$3+:} false; then :
3611   $as_echo_n "(cached) " >&6
3612 else
3613   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3614 /* end confdefs.h.  */
3615 #include <$2>
3616 _ACEOF
3617 if ac_fn_c_try_cpp "$LINENO"; then :
3618   eval "$3=yes"
3619 else
3620   eval "$3=no"
3621 fi
3622 rm -f conftest.err conftest.i conftest.$ac_ext
3623 fi
3624 eval ac_res=\$$3
3625                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3626 $as_echo "$ac_res" >&6; }
3627   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3628
3629 } # ac_fn_c_check_header_preproc
3630
3631 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
3632 # ---------------------------------------------------------
3633 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3634 # the include files in INCLUDES and setting the cache variable VAR
3635 # accordingly.
3636 ac_fn_cxx_check_header_mongrel ()
3637 {
3638   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3639   if eval \${$3+:} false; then :
3640   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3641 $as_echo_n "checking for $2... " >&6; }
3642 if eval \${$3+:} false; then :
3643   $as_echo_n "(cached) " >&6
3644 fi
3645 eval ac_res=\$$3
3646                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3647 $as_echo "$ac_res" >&6; }
3648 else
3649   # Is the header compilable?
3650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3651 $as_echo_n "checking $2 usability... " >&6; }
3652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3653 /* end confdefs.h.  */
3654 $4
3655 #include <$2>
3656 _ACEOF
3657 if ac_fn_cxx_try_compile "$LINENO"; then :
3658   ac_header_compiler=yes
3659 else
3660   ac_header_compiler=no
3661 fi
3662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3664 $as_echo "$ac_header_compiler" >&6; }
3665
3666 # Is the header present?
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3668 $as_echo_n "checking $2 presence... " >&6; }
3669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3670 /* end confdefs.h.  */
3671 #include <$2>
3672 _ACEOF
3673 if ac_fn_cxx_try_cpp "$LINENO"; then :
3674   ac_header_preproc=yes
3675 else
3676   ac_header_preproc=no
3677 fi
3678 rm -f conftest.err conftest.i conftest.$ac_ext
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3680 $as_echo "$ac_header_preproc" >&6; }
3681
3682 # So?  What about this header?
3683 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
3684   yes:no: )
3685     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3686 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3687     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3688 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3689     ;;
3690   no:yes:* )
3691     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3692 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3693     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
3694 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
3695     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3696 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3697     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
3698 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
3699     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3700 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3701 ( $as_echo "## ------------------------------------------------------------------------ ##
3702 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer ##
3703 ## ------------------------------------------------------------------------ ##"
3704      ) | sed "s/^/$as_me: WARNING:     /" >&2
3705     ;;
3706 esac
3707   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3708 $as_echo_n "checking for $2... " >&6; }
3709 if eval \${$3+:} false; then :
3710   $as_echo_n "(cached) " >&6
3711 else
3712   eval "$3=\$ac_header_compiler"
3713 fi
3714 eval ac_res=\$$3
3715                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3716 $as_echo "$ac_res" >&6; }
3717 fi
3718   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3719
3720 } # ac_fn_cxx_check_header_mongrel
3721
3722 # ac_fn_cxx_try_run LINENO
3723 # ------------------------
3724 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3725 # that executables *can* be run.
3726 ac_fn_cxx_try_run ()
3727 {
3728   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3729   if { { ac_try="$ac_link"
3730 case "(($ac_try" in
3731   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3732   *) ac_try_echo=$ac_try;;
3733 esac
3734 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3735 $as_echo "$ac_try_echo"; } >&5
3736   (eval "$ac_link") 2>&5
3737   ac_status=$?
3738   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3739   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3740   { { case "(($ac_try" in
3741   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3742   *) ac_try_echo=$ac_try;;
3743 esac
3744 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3745 $as_echo "$ac_try_echo"; } >&5
3746   (eval "$ac_try") 2>&5
3747   ac_status=$?
3748   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3749   test $ac_status = 0; }; }; then :
3750   ac_retval=0
3751 else
3752   $as_echo "$as_me: program exited with status $ac_status" >&5
3753        $as_echo "$as_me: failed program was:" >&5
3754 sed 's/^/| /' conftest.$ac_ext >&5
3755
3756        ac_retval=$ac_status
3757 fi
3758   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3759   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3760   as_fn_set_status $ac_retval
3761
3762 } # ac_fn_cxx_try_run
3763 cat >config.log <<_ACEOF
3764 This file contains any messages produced by compilers while
3765 running configure, to aid debugging if configure makes a mistake.
3766
3767 It was created by GStreamer Bad Plug-ins $as_me 0.10.23, which was
3768 generated by GNU Autoconf 2.68.  Invocation command line was
3769
3770   $ $0 $@
3771
3772 _ACEOF
3773 exec 5>>config.log
3774 {
3775 cat <<_ASUNAME
3776 ## --------- ##
3777 ## Platform. ##
3778 ## --------- ##
3779
3780 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3781 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3782 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3783 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3784 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3785
3786 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3787 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
3788
3789 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
3790 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
3791 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3792 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
3793 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
3794 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
3795 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
3796
3797 _ASUNAME
3798
3799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3800 for as_dir in $PATH
3801 do
3802   IFS=$as_save_IFS
3803   test -z "$as_dir" && as_dir=.
3804     $as_echo "PATH: $as_dir"
3805   done
3806 IFS=$as_save_IFS
3807
3808 } >&5
3809
3810 cat >&5 <<_ACEOF
3811
3812
3813 ## ----------- ##
3814 ## Core tests. ##
3815 ## ----------- ##
3816
3817 _ACEOF
3818
3819
3820 # Keep a trace of the command line.
3821 # Strip out --no-create and --no-recursion so they do not pile up.
3822 # Strip out --silent because we don't want to record it for future runs.
3823 # Also quote any args containing shell meta-characters.
3824 # Make two passes to allow for proper duplicate-argument suppression.
3825 ac_configure_args=
3826 ac_configure_args0=
3827 ac_configure_args1=
3828 ac_must_keep_next=false
3829 for ac_pass in 1 2
3830 do
3831   for ac_arg
3832   do
3833     case $ac_arg in
3834     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3835     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3836     | -silent | --silent | --silen | --sile | --sil)
3837       continue ;;
3838     *\'*)
3839       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3840     esac
3841     case $ac_pass in
3842     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3843     2)
3844       as_fn_append ac_configure_args1 " '$ac_arg'"
3845       if test $ac_must_keep_next = true; then
3846         ac_must_keep_next=false # Got value, back to normal.
3847       else
3848         case $ac_arg in
3849           *=* | --config-cache | -C | -disable-* | --disable-* \
3850           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3851           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3852           | -with-* | --with-* | -without-* | --without-* | --x)
3853             case "$ac_configure_args0 " in
3854               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3855             esac
3856             ;;
3857           -* ) ac_must_keep_next=true ;;
3858         esac
3859       fi
3860       as_fn_append ac_configure_args " '$ac_arg'"
3861       ;;
3862     esac
3863   done
3864 done
3865 { ac_configure_args0=; unset ac_configure_args0;}
3866 { ac_configure_args1=; unset ac_configure_args1;}
3867
3868 # When interrupted or exit'd, cleanup temporary files, and complete
3869 # config.log.  We remove comments because anyway the quotes in there
3870 # would cause problems or look ugly.
3871 # WARNING: Use '\'' to represent an apostrophe within the trap.
3872 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3873 trap 'exit_status=$?
3874   # Save into config.log some information that might help in debugging.
3875   {
3876     echo
3877
3878     $as_echo "## ---------------- ##
3879 ## Cache variables. ##
3880 ## ---------------- ##"
3881     echo
3882     # The following way of writing the cache mishandles newlines in values,
3883 (
3884   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3885     eval ac_val=\$$ac_var
3886     case $ac_val in #(
3887     *${as_nl}*)
3888       case $ac_var in #(
3889       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3890 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3891       esac
3892       case $ac_var in #(
3893       _ | IFS | as_nl) ;; #(
3894       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3895       *) { eval $ac_var=; unset $ac_var;} ;;
3896       esac ;;
3897     esac
3898   done
3899   (set) 2>&1 |
3900     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3901     *${as_nl}ac_space=\ *)
3902       sed -n \
3903         "s/'\''/'\''\\\\'\'''\''/g;
3904           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3905       ;; #(
3906     *)
3907       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3908       ;;
3909     esac |
3910     sort
3911 )
3912     echo
3913
3914     $as_echo "## ----------------- ##
3915 ## Output variables. ##
3916 ## ----------------- ##"
3917     echo
3918     for ac_var in $ac_subst_vars
3919     do
3920       eval ac_val=\$$ac_var
3921       case $ac_val in
3922       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3923       esac
3924       $as_echo "$ac_var='\''$ac_val'\''"
3925     done | sort
3926     echo
3927
3928     if test -n "$ac_subst_files"; then
3929       $as_echo "## ------------------- ##
3930 ## File substitutions. ##
3931 ## ------------------- ##"
3932       echo
3933       for ac_var in $ac_subst_files
3934       do
3935         eval ac_val=\$$ac_var
3936         case $ac_val in
3937         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3938         esac
3939         $as_echo "$ac_var='\''$ac_val'\''"
3940       done | sort
3941       echo
3942     fi
3943
3944     if test -s confdefs.h; then
3945       $as_echo "## ----------- ##
3946 ## confdefs.h. ##
3947 ## ----------- ##"
3948       echo
3949       cat confdefs.h
3950       echo
3951     fi
3952     test "$ac_signal" != 0 &&
3953       $as_echo "$as_me: caught signal $ac_signal"
3954     $as_echo "$as_me: exit $exit_status"
3955   } >&5
3956   rm -f core *.core core.conftest.* &&
3957     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3958     exit $exit_status
3959 ' 0
3960 for ac_signal in 1 2 13 15; do
3961   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3962 done
3963 ac_signal=0
3964
3965 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3966 rm -f -r conftest* confdefs.h
3967
3968 $as_echo "/* confdefs.h */" > confdefs.h
3969
3970 # Predefined preprocessor variables.
3971
3972 cat >>confdefs.h <<_ACEOF
3973 #define PACKAGE_NAME "$PACKAGE_NAME"
3974 _ACEOF
3975
3976 cat >>confdefs.h <<_ACEOF
3977 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3978 _ACEOF
3979
3980 cat >>confdefs.h <<_ACEOF
3981 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3982 _ACEOF
3983
3984 cat >>confdefs.h <<_ACEOF
3985 #define PACKAGE_STRING "$PACKAGE_STRING"
3986 _ACEOF
3987
3988 cat >>confdefs.h <<_ACEOF
3989 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3990 _ACEOF
3991
3992 cat >>confdefs.h <<_ACEOF
3993 #define PACKAGE_URL "$PACKAGE_URL"
3994 _ACEOF
3995
3996
3997 # Let the site file select an alternate cache file if it wants to.
3998 # Prefer an explicitly selected file to automatically selected ones.
3999 ac_site_file1=NONE
4000 ac_site_file2=NONE
4001 if test -n "$CONFIG_SITE"; then
4002   # We do not want a PATH search for config.site.
4003   case $CONFIG_SITE in #((
4004     -*)  ac_site_file1=./$CONFIG_SITE;;
4005     */*) ac_site_file1=$CONFIG_SITE;;
4006     *)   ac_site_file1=./$CONFIG_SITE;;
4007   esac
4008 elif test "x$prefix" != xNONE; then
4009   ac_site_file1=$prefix/share/config.site
4010   ac_site_file2=$prefix/etc/config.site
4011 else
4012   ac_site_file1=$ac_default_prefix/share/config.site
4013   ac_site_file2=$ac_default_prefix/etc/config.site
4014 fi
4015 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
4016 do
4017   test "x$ac_site_file" = xNONE && continue
4018   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
4019     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
4020 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
4021     sed 's/^/| /' "$ac_site_file" >&5
4022     . "$ac_site_file" \
4023       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4024 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4025 as_fn_error $? "failed to load site script $ac_site_file
4026 See \`config.log' for more details" "$LINENO" 5; }
4027   fi
4028 done
4029
4030 if test -r "$cache_file"; then
4031   # Some versions of bash will fail to source /dev/null (special files
4032   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
4033   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
4034     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
4035 $as_echo "$as_me: loading cache $cache_file" >&6;}
4036     case $cache_file in
4037       [\\/]* | ?:[\\/]* ) . "$cache_file";;
4038       *)                      . "./$cache_file";;
4039     esac
4040   fi
4041 else
4042   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
4043 $as_echo "$as_me: creating cache $cache_file" >&6;}
4044   >$cache_file
4045 fi
4046
4047 gt_needs="$gt_needs "
4048 as_fn_append ac_header_list " stdlib.h"
4049 as_fn_append ac_header_list " unistd.h"
4050 as_fn_append ac_header_list " sys/param.h"
4051 # Check that the precious variables saved in the cache have kept the same
4052 # value.
4053 ac_cache_corrupted=false
4054 for ac_var in $ac_precious_vars; do
4055   eval ac_old_set=\$ac_cv_env_${ac_var}_set
4056   eval ac_new_set=\$ac_env_${ac_var}_set
4057   eval ac_old_val=\$ac_cv_env_${ac_var}_value
4058   eval ac_new_val=\$ac_env_${ac_var}_value
4059   case $ac_old_set,$ac_new_set in
4060     set,)
4061       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4062 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4063       ac_cache_corrupted=: ;;
4064     ,set)
4065       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4066 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4067       ac_cache_corrupted=: ;;
4068     ,);;
4069     *)
4070       if test "x$ac_old_val" != "x$ac_new_val"; then
4071         # differences in whitespace do not lead to failure.
4072         ac_old_val_w=`echo x $ac_old_val`
4073         ac_new_val_w=`echo x $ac_new_val`
4074         if test "$ac_old_val_w" != "$ac_new_val_w"; then
4075           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4076 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4077           ac_cache_corrupted=:
4078         else
4079           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4080 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4081           eval $ac_var=\$ac_old_val
4082         fi
4083         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
4084 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
4085         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
4086 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
4087       fi;;
4088   esac
4089   # Pass precious variables to config.status.
4090   if test "$ac_new_set" = set; then
4091     case $ac_new_val in
4092     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4093     *) ac_arg=$ac_var=$ac_new_val ;;
4094     esac
4095     case " $ac_configure_args " in
4096       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
4097       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4098     esac
4099   fi
4100 done
4101 if $ac_cache_corrupted; then
4102   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4103 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4104   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4105 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
4106   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
4107 fi
4108 ## -------------------- ##
4109 ## Main body of script. ##
4110 ## -------------------- ##
4111
4112 ac_ext=c
4113 ac_cpp='$CPP $CPPFLAGS'
4114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4117
4118
4119
4120
4121
4122
4123
4124 am__api_version='1.11'
4125
4126 ac_aux_dir=
4127 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
4128   if test -f "$ac_dir/install-sh"; then
4129     ac_aux_dir=$ac_dir
4130     ac_install_sh="$ac_aux_dir/install-sh -c"
4131     break
4132   elif test -f "$ac_dir/install.sh"; then
4133     ac_aux_dir=$ac_dir
4134     ac_install_sh="$ac_aux_dir/install.sh -c"
4135     break
4136   elif test -f "$ac_dir/shtool"; then
4137     ac_aux_dir=$ac_dir
4138     ac_install_sh="$ac_aux_dir/shtool install -c"
4139     break
4140   fi
4141 done
4142 if test -z "$ac_aux_dir"; then
4143   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
4144 fi
4145
4146 # These three variables are undocumented and unsupported,
4147 # and are intended to be withdrawn in a future Autoconf release.
4148 # They can cause serious problems if a builder's source tree is in a directory
4149 # whose full name contains unusual characters.
4150 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
4151 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
4152 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
4153
4154
4155 # Find a good install program.  We prefer a C program (faster),
4156 # so one script is as good as another.  But avoid the broken or
4157 # incompatible versions:
4158 # SysV /etc/install, /usr/sbin/install
4159 # SunOS /usr/etc/install
4160 # IRIX /sbin/install
4161 # AIX /bin/install
4162 # AmigaOS /C/install, which installs bootblocks on floppy discs
4163 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4164 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4165 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4166 # OS/2's system install, which has a completely different semantic
4167 # ./install, which can be erroneously created by make from ./install.sh.
4168 # Reject install programs that cannot install multiple files.
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4170 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4171 if test -z "$INSTALL"; then
4172 if ${ac_cv_path_install+:} false; then :
4173   $as_echo_n "(cached) " >&6
4174 else
4175   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4176 for as_dir in $PATH
4177 do
4178   IFS=$as_save_IFS
4179   test -z "$as_dir" && as_dir=.
4180     # Account for people who put trailing slashes in PATH elements.
4181 case $as_dir/ in #((
4182   ./ | .// | /[cC]/* | \
4183   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4184   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
4185   /usr/ucb/* ) ;;
4186   *)
4187     # OSF1 and SCO ODT 3.0 have their own names for install.
4188     # Don't use installbsd from OSF since it installs stuff as root
4189     # by default.
4190     for ac_prog in ginstall scoinst install; do
4191       for ac_exec_ext in '' $ac_executable_extensions; do
4192         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4193           if test $ac_prog = install &&
4194             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4195             # AIX install.  It has an incompatible calling convention.
4196             :
4197           elif test $ac_prog = install &&
4198             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4199             # program-specific install script used by HP pwplus--don't use.
4200             :
4201           else
4202             rm -rf conftest.one conftest.two conftest.dir
4203             echo one > conftest.one
4204             echo two > conftest.two
4205             mkdir conftest.dir
4206             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
4207               test -s conftest.one && test -s conftest.two &&
4208               test -s conftest.dir/conftest.one &&
4209               test -s conftest.dir/conftest.two
4210             then
4211               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4212               break 3
4213             fi
4214           fi
4215         fi
4216       done
4217     done
4218     ;;
4219 esac
4220
4221   done
4222 IFS=$as_save_IFS
4223
4224 rm -rf conftest.one conftest.two conftest.dir
4225
4226 fi
4227   if test "${ac_cv_path_install+set}" = set; then
4228     INSTALL=$ac_cv_path_install
4229   else
4230     # As a last resort, use the slow shell script.  Don't cache a
4231     # value for INSTALL within a source directory, because that will
4232     # break other packages using the cache if that directory is
4233     # removed, or if the value is a relative name.
4234     INSTALL=$ac_install_sh
4235   fi
4236 fi
4237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4238 $as_echo "$INSTALL" >&6; }
4239
4240 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4241 # It thinks the first close brace ends the variable substitution.
4242 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4243
4244 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4245
4246 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4247
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
4249 $as_echo_n "checking whether build environment is sane... " >&6; }
4250 # Just in case
4251 sleep 1
4252 echo timestamp > conftest.file
4253 # Reject unsafe characters in $srcdir or the absolute working directory
4254 # name.  Accept space and tab only in the latter.
4255 am_lf='
4256 '
4257 case `pwd` in
4258   *[\\\"\#\$\&\'\`$am_lf]*)
4259     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
4260 esac
4261 case $srcdir in
4262   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
4263     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
4264 esac
4265
4266 # Do `set' in a subshell so we don't clobber the current shell's
4267 # arguments.  Must try -L first in case configure is actually a
4268 # symlink; some systems play weird games with the mod time of symlinks
4269 # (eg FreeBSD returns the mod time of the symlink's containing
4270 # directory).
4271 if (
4272    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4273    if test "$*" = "X"; then
4274       # -L didn't work.
4275       set X `ls -t "$srcdir/configure" conftest.file`
4276    fi
4277    rm -f conftest.file
4278    if test "$*" != "X $srcdir/configure conftest.file" \
4279       && test "$*" != "X conftest.file $srcdir/configure"; then
4280
4281       # If neither matched, then we have a broken ls.  This can happen
4282       # if, for instance, CONFIG_SHELL is bash and it inherits a
4283       # broken ls alias from the environment.  This has actually
4284       # happened.  Such a system could not be considered "sane".
4285       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
4286 alias in your environment" "$LINENO" 5
4287    fi
4288
4289    test "$2" = conftest.file
4290    )
4291 then
4292    # Ok.
4293    :
4294 else
4295    as_fn_error $? "newly created file is older than distributed files!
4296 Check your system clock" "$LINENO" 5
4297 fi
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4299 $as_echo "yes" >&6; }
4300 test "$program_prefix" != NONE &&
4301   program_transform_name="s&^&$program_prefix&;$program_transform_name"
4302 # Use a double $ so make ignores it.
4303 test "$program_suffix" != NONE &&
4304   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
4305 # Double any \ or $.
4306 # By default was `s,x,x', remove it if useless.
4307 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
4308 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
4309
4310 # expand $ac_aux_dir to an absolute path
4311 am_aux_dir=`cd $ac_aux_dir && pwd`
4312
4313 if test x"${MISSING+set}" != xset; then
4314   case $am_aux_dir in
4315   *\ * | *\     *)
4316     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
4317   *)
4318     MISSING="\${SHELL} $am_aux_dir/missing" ;;
4319   esac
4320 fi
4321 # Use eval to expand $SHELL
4322 if eval "$MISSING --run true"; then
4323   am_missing_run="$MISSING --run "
4324 else
4325   am_missing_run=
4326   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
4327 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
4328 fi
4329
4330 if test x"${install_sh}" != xset; then
4331   case $am_aux_dir in
4332   *\ * | *\     *)
4333     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
4334   *)
4335     install_sh="\${SHELL} $am_aux_dir/install-sh"
4336   esac
4337 fi
4338
4339 # Installed binaries are usually stripped using `strip' when the user
4340 # run `make install-strip'.  However `strip' might not be the right
4341 # tool to use in cross-compilation environments, therefore Automake
4342 # will honor the `STRIP' environment variable to overrule this program.
4343 if test "$cross_compiling" != no; then
4344   if test -n "$ac_tool_prefix"; then
4345   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4346 set dummy ${ac_tool_prefix}strip; ac_word=$2
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4348 $as_echo_n "checking for $ac_word... " >&6; }
4349 if ${ac_cv_prog_STRIP+:} false; then :
4350   $as_echo_n "(cached) " >&6
4351 else
4352   if test -n "$STRIP"; then
4353   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4354 else
4355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4356 for as_dir in $PATH
4357 do
4358   IFS=$as_save_IFS
4359   test -z "$as_dir" && as_dir=.
4360     for ac_exec_ext in '' $ac_executable_extensions; do
4361   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4362     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4363     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4364     break 2
4365   fi
4366 done
4367   done
4368 IFS=$as_save_IFS
4369
4370 fi
4371 fi
4372 STRIP=$ac_cv_prog_STRIP
4373 if test -n "$STRIP"; then
4374   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4375 $as_echo "$STRIP" >&6; }
4376 else
4377   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4378 $as_echo "no" >&6; }
4379 fi
4380
4381
4382 fi
4383 if test -z "$ac_cv_prog_STRIP"; then
4384   ac_ct_STRIP=$STRIP
4385   # Extract the first word of "strip", so it can be a program name with args.
4386 set dummy strip; ac_word=$2
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4388 $as_echo_n "checking for $ac_word... " >&6; }
4389 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
4390   $as_echo_n "(cached) " >&6
4391 else
4392   if test -n "$ac_ct_STRIP"; then
4393   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4394 else
4395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4396 for as_dir in $PATH
4397 do
4398   IFS=$as_save_IFS
4399   test -z "$as_dir" && as_dir=.
4400     for ac_exec_ext in '' $ac_executable_extensions; do
4401   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4402     ac_cv_prog_ac_ct_STRIP="strip"
4403     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4404     break 2
4405   fi
4406 done
4407   done
4408 IFS=$as_save_IFS
4409
4410 fi
4411 fi
4412 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4413 if test -n "$ac_ct_STRIP"; then
4414   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4415 $as_echo "$ac_ct_STRIP" >&6; }
4416 else
4417   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4418 $as_echo "no" >&6; }
4419 fi
4420
4421   if test "x$ac_ct_STRIP" = x; then
4422     STRIP=":"
4423   else
4424     case $cross_compiling:$ac_tool_warned in
4425 yes:)
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4427 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4428 ac_tool_warned=yes ;;
4429 esac
4430     STRIP=$ac_ct_STRIP
4431   fi
4432 else
4433   STRIP="$ac_cv_prog_STRIP"
4434 fi
4435
4436 fi
4437 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
4438
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4440 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4441 if test -z "$MKDIR_P"; then
4442   if ${ac_cv_path_mkdir+:} false; then :
4443   $as_echo_n "(cached) " >&6
4444 else
4445   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4446 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
4447 do
4448   IFS=$as_save_IFS
4449   test -z "$as_dir" && as_dir=.
4450     for ac_prog in mkdir gmkdir; do
4451          for ac_exec_ext in '' $ac_executable_extensions; do
4452            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
4453            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4454              'mkdir (GNU coreutils) '* | \
4455              'mkdir (coreutils) '* | \
4456              'mkdir (fileutils) '4.1*)
4457                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
4458                break 3;;
4459            esac
4460          done
4461        done
4462   done
4463 IFS=$as_save_IFS
4464
4465 fi
4466
4467   test -d ./--version && rmdir ./--version
4468   if test "${ac_cv_path_mkdir+set}" = set; then
4469     MKDIR_P="$ac_cv_path_mkdir -p"
4470   else
4471     # As a last resort, use the slow shell script.  Don't cache a
4472     # value for MKDIR_P within a source directory, because that will
4473     # break other packages using the cache if that directory is
4474     # removed, or if the value is a relative name.
4475     MKDIR_P="$ac_install_sh -d"
4476   fi
4477 fi
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4479 $as_echo "$MKDIR_P" >&6; }
4480
4481 mkdir_p="$MKDIR_P"
4482 case $mkdir_p in
4483   [\\/$]* | ?:[\\/]*) ;;
4484   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
4485 esac
4486
4487 for ac_prog in gawk mawk nawk awk
4488 do
4489   # Extract the first word of "$ac_prog", so it can be a program name with args.
4490 set dummy $ac_prog; ac_word=$2
4491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4492 $as_echo_n "checking for $ac_word... " >&6; }
4493 if ${ac_cv_prog_AWK+:} false; then :
4494   $as_echo_n "(cached) " >&6
4495 else
4496   if test -n "$AWK"; then
4497   ac_cv_prog_AWK="$AWK" # Let the user override the test.
4498 else
4499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4500 for as_dir in $PATH
4501 do
4502   IFS=$as_save_IFS
4503   test -z "$as_dir" && as_dir=.
4504     for ac_exec_ext in '' $ac_executable_extensions; do
4505   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4506     ac_cv_prog_AWK="$ac_prog"
4507     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4508     break 2
4509   fi
4510 done
4511   done
4512 IFS=$as_save_IFS
4513
4514 fi
4515 fi
4516 AWK=$ac_cv_prog_AWK
4517 if test -n "$AWK"; then
4518   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4519 $as_echo "$AWK" >&6; }
4520 else
4521   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4522 $as_echo "no" >&6; }
4523 fi
4524
4525
4526   test -n "$AWK" && break
4527 done
4528
4529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4530 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4531 set x ${MAKE-make}
4532 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4533 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4534   $as_echo_n "(cached) " >&6
4535 else
4536   cat >conftest.make <<\_ACEOF
4537 SHELL = /bin/sh
4538 all:
4539         @echo '@@@%%%=$(MAKE)=@@@%%%'
4540 _ACEOF
4541 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4542 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4543   *@@@%%%=?*=@@@%%%*)
4544     eval ac_cv_prog_make_${ac_make}_set=yes;;
4545   *)
4546     eval ac_cv_prog_make_${ac_make}_set=no;;
4547 esac
4548 rm -f conftest.make
4549 fi
4550 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4551   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4552 $as_echo "yes" >&6; }
4553   SET_MAKE=
4554 else
4555   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4556 $as_echo "no" >&6; }
4557   SET_MAKE="MAKE=${MAKE-make}"
4558 fi
4559
4560 rm -rf .tst 2>/dev/null
4561 mkdir .tst 2>/dev/null
4562 if test -d .tst; then
4563   am__leading_dot=.
4564 else
4565   am__leading_dot=_
4566 fi
4567 rmdir .tst 2>/dev/null
4568
4569 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4570   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4571   # is not polluted with repeated "-I."
4572   am__isrc=' -I$(srcdir)'
4573   # test to see if srcdir already configured
4574   if test -f $srcdir/config.status; then
4575     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4576   fi
4577 fi
4578
4579 # test whether we have cygpath
4580 if test -z "$CYGPATH_W"; then
4581   if (cygpath --version) >/dev/null 2>/dev/null; then
4582     CYGPATH_W='cygpath -w'
4583   else
4584     CYGPATH_W=echo
4585   fi
4586 fi
4587
4588
4589 # Define the identity of the package.
4590  PACKAGE='gst-plugins-bad'
4591  VERSION='0.10.23'
4592
4593
4594 cat >>confdefs.h <<_ACEOF
4595 #define PACKAGE "$PACKAGE"
4596 _ACEOF
4597
4598
4599 cat >>confdefs.h <<_ACEOF
4600 #define VERSION "$VERSION"
4601 _ACEOF
4602
4603 # Some tools Automake needs.
4604
4605 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4606
4607
4608 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
4609
4610
4611 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4612
4613
4614 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
4615
4616
4617 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
4618
4619 # We need awk for the "check" target.  The system "awk" is bad on
4620 # some platforms.
4621 # Always define AMTAR for backward compatibility.  Yes, it's still used
4622 # in the wild :-(  We should find a proper way to deprecate it ...
4623 AMTAR='$${TAR-tar}'
4624
4625 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
4626
4627
4628
4629
4630
4631
4632
4633   PACKAGE_VERSION_MAJOR=$(echo 0.10.23 | cut -d'.' -f1)
4634   PACKAGE_VERSION_MINOR=$(echo 0.10.23 | cut -d'.' -f2)
4635   PACKAGE_VERSION_MICRO=$(echo 0.10.23 | cut -d'.' -f3)
4636
4637
4638
4639
4640
4641
4642
4643   { $as_echo "$as_me:${as_lineno-$LINENO}: checking nano version" >&5
4644 $as_echo_n "checking nano version... " >&6; }
4645
4646   NANO=$(echo 0.10.23 | cut -d'.' -f4)
4647
4648   if test x"$NANO" = x || test "x$NANO" = "x0" ; then
4649     { $as_echo "$as_me:${as_lineno-$LINENO}: result: 0 (release)" >&5
4650 $as_echo "0 (release)" >&6; }
4651     NANO=0
4652     PACKAGE_VERSION_RELEASE=1
4653     GST_GIT="no"
4654   else
4655     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NANO" >&5
4656 $as_echo "$NANO" >&6; }
4657     PACKAGE_VERSION_RELEASE=0.`date +%Y%m%d.%H%M%S`
4658     if test "x$NANO" != "x1" ; then
4659        GST_GIT="no"
4660     else
4661        GST_GIT="yes"
4662     fi
4663   fi
4664   PACKAGE_VERSION_NANO=$NANO
4665
4666
4667
4668
4669
4670
4671 ac_config_headers="$ac_config_headers config.h"
4672
4673
4674
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4676 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4677     # Check whether --enable-maintainer-mode was given.
4678 if test "${enable_maintainer_mode+set}" = set; then :
4679   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
4680 else
4681   USE_MAINTAINER_MODE=no
4682 fi
4683
4684   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4685 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4686    if test $USE_MAINTAINER_MODE = yes; then
4687   MAINTAINER_MODE_TRUE=
4688   MAINTAINER_MODE_FALSE='#'
4689 else
4690   MAINTAINER_MODE_TRUE='#'
4691   MAINTAINER_MODE_FALSE=
4692 fi
4693
4694   MAINT=$MAINTAINER_MODE_TRUE
4695
4696
4697
4698 # Make sure we can run config.sub.
4699 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4700   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4701
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4703 $as_echo_n "checking build system type... " >&6; }
4704 if ${ac_cv_build+:} false; then :
4705   $as_echo_n "(cached) " >&6
4706 else
4707   ac_build_alias=$build_alias
4708 test "x$ac_build_alias" = x &&
4709   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4710 test "x$ac_build_alias" = x &&
4711   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4712 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4713   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4714
4715 fi
4716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4717 $as_echo "$ac_cv_build" >&6; }
4718 case $ac_cv_build in
4719 *-*-*) ;;
4720 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4721 esac
4722 build=$ac_cv_build
4723 ac_save_IFS=$IFS; IFS='-'
4724 set x $ac_cv_build
4725 shift
4726 build_cpu=$1
4727 build_vendor=$2
4728 shift; shift
4729 # Remember, the first character of IFS is used to create $*,
4730 # except with old shells:
4731 build_os=$*
4732 IFS=$ac_save_IFS
4733 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4734
4735
4736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4737 $as_echo_n "checking host system type... " >&6; }
4738 if ${ac_cv_host+:} false; then :
4739   $as_echo_n "(cached) " >&6
4740 else
4741   if test "x$host_alias" = x; then
4742   ac_cv_host=$ac_cv_build
4743 else
4744   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4745     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4746 fi
4747
4748 fi
4749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4750 $as_echo "$ac_cv_host" >&6; }
4751 case $ac_cv_host in
4752 *-*-*) ;;
4753 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4754 esac
4755 host=$ac_cv_host
4756 ac_save_IFS=$IFS; IFS='-'
4757 set x $ac_cv_host
4758 shift
4759 host_cpu=$1
4760 host_vendor=$2
4761 shift; shift
4762 # Remember, the first character of IFS is used to create $*,
4763 # except with old shells:
4764 host_os=$*
4765 IFS=$ac_save_IFS
4766 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4767
4768
4769
4770 # Check whether --enable-silent-rules was given.
4771 if test "${enable_silent_rules+set}" = set; then :
4772   enableval=$enable_silent_rules;
4773 fi
4774
4775 case $enable_silent_rules in
4776 yes) AM_DEFAULT_VERBOSITY=0;;
4777 no)  AM_DEFAULT_VERBOSITY=1;;
4778 *)   AM_DEFAULT_VERBOSITY=0;;
4779 esac
4780 am_make=${MAKE-make}
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4782 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4783 if ${am_cv_make_support_nested_variables+:} false; then :
4784   $as_echo_n "(cached) " >&6
4785 else
4786   if $as_echo 'TRUE=$(BAR$(V))
4787 BAR0=false
4788 BAR1=true
4789 V=1
4790 am__doit:
4791         @$(TRUE)
4792 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
4793   am_cv_make_support_nested_variables=yes
4794 else
4795   am_cv_make_support_nested_variables=no
4796 fi
4797 fi
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4799 $as_echo "$am_cv_make_support_nested_variables" >&6; }
4800 if test $am_cv_make_support_nested_variables = yes; then
4801     AM_V='$(V)'
4802   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
4803 else
4804   AM_V=$AM_DEFAULT_VERBOSITY
4805   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
4806 fi
4807 AM_BACKSLASH='\'
4808
4809
4810 GST_MAJORMINOR=$GST_PLUGINS_BAD_VERSION_MAJOR.$GST_PLUGINS_BAD_VERSION_MINOR
4811 GST_MAJORMINOR=0.10
4812
4813
4814
4815   GST_CURRENT=23
4816   GST_REVISION=0
4817   GST_AGE=0
4818   GST_LIBVERSION=23:0:0
4819
4820
4821
4822
4823
4824   GST_LT_LDFLAGS="$GST_LT_LDFLAGS -version-info $GST_LIBVERSION"
4825   if test ! -z ""
4826   then
4827     GST_LT_LDFLAGS="$GST_LT_LDFLAGS -release "
4828   fi
4829
4830
4831   enable_dlopen=yes
4832
4833
4834
4835
4836
4837
4838         case $host_os in
4839   cygwin* | mingw*)
4840     lt_cv_deplibs_check_method=pass_all
4841     ;;
4842   esac
4843
4844
4845
4846 enable_win32_dll=yes
4847
4848 case $host in
4849 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
4850   if test -n "$ac_tool_prefix"; then
4851   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4852 set dummy ${ac_tool_prefix}as; ac_word=$2
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4854 $as_echo_n "checking for $ac_word... " >&6; }
4855 if ${ac_cv_prog_AS+:} false; then :
4856   $as_echo_n "(cached) " >&6
4857 else
4858   if test -n "$AS"; then
4859   ac_cv_prog_AS="$AS" # Let the user override the test.
4860 else
4861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4862 for as_dir in $PATH
4863 do
4864   IFS=$as_save_IFS
4865   test -z "$as_dir" && as_dir=.
4866     for ac_exec_ext in '' $ac_executable_extensions; do
4867   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4868     ac_cv_prog_AS="${ac_tool_prefix}as"
4869     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4870     break 2
4871   fi
4872 done
4873   done
4874 IFS=$as_save_IFS
4875
4876 fi
4877 fi
4878 AS=$ac_cv_prog_AS
4879 if test -n "$AS"; then
4880   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4881 $as_echo "$AS" >&6; }
4882 else
4883   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4884 $as_echo "no" >&6; }
4885 fi
4886
4887
4888 fi
4889 if test -z "$ac_cv_prog_AS"; then
4890   ac_ct_AS=$AS
4891   # Extract the first word of "as", so it can be a program name with args.
4892 set dummy as; ac_word=$2
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4894 $as_echo_n "checking for $ac_word... " >&6; }
4895 if ${ac_cv_prog_ac_ct_AS+:} false; then :
4896   $as_echo_n "(cached) " >&6
4897 else
4898   if test -n "$ac_ct_AS"; then
4899   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4900 else
4901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4902 for as_dir in $PATH
4903 do
4904   IFS=$as_save_IFS
4905   test -z "$as_dir" && as_dir=.
4906     for ac_exec_ext in '' $ac_executable_extensions; do
4907   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4908     ac_cv_prog_ac_ct_AS="as"
4909     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4910     break 2
4911   fi
4912 done
4913   done
4914 IFS=$as_save_IFS
4915
4916 fi
4917 fi
4918 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4919 if test -n "$ac_ct_AS"; then
4920   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4921 $as_echo "$ac_ct_AS" >&6; }
4922 else
4923   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4924 $as_echo "no" >&6; }
4925 fi
4926
4927   if test "x$ac_ct_AS" = x; then
4928     AS="false"
4929   else
4930     case $cross_compiling:$ac_tool_warned in
4931 yes:)
4932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4933 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4934 ac_tool_warned=yes ;;
4935 esac
4936     AS=$ac_ct_AS
4937   fi
4938 else
4939   AS="$ac_cv_prog_AS"
4940 fi
4941
4942   if test -n "$ac_tool_prefix"; then
4943   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4944 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4946 $as_echo_n "checking for $ac_word... " >&6; }
4947 if ${ac_cv_prog_DLLTOOL+:} false; then :
4948   $as_echo_n "(cached) " >&6
4949 else
4950   if test -n "$DLLTOOL"; then
4951   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
4952 else
4953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4954 for as_dir in $PATH
4955 do
4956   IFS=$as_save_IFS
4957   test -z "$as_dir" && as_dir=.
4958     for ac_exec_ext in '' $ac_executable_extensions; do
4959   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4960     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
4961     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4962     break 2
4963   fi
4964 done
4965   done
4966 IFS=$as_save_IFS
4967
4968 fi
4969 fi
4970 DLLTOOL=$ac_cv_prog_DLLTOOL
4971 if test -n "$DLLTOOL"; then
4972   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
4973 $as_echo "$DLLTOOL" >&6; }
4974 else
4975   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4976 $as_echo "no" >&6; }
4977 fi
4978
4979
4980 fi
4981 if test -z "$ac_cv_prog_DLLTOOL"; then
4982   ac_ct_DLLTOOL=$DLLTOOL
4983   # Extract the first word of "dlltool", so it can be a program name with args.
4984 set dummy dlltool; ac_word=$2
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4986 $as_echo_n "checking for $ac_word... " >&6; }
4987 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
4988   $as_echo_n "(cached) " >&6
4989 else
4990   if test -n "$ac_ct_DLLTOOL"; then
4991   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
4992 else
4993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4994 for as_dir in $PATH
4995 do
4996   IFS=$as_save_IFS
4997   test -z "$as_dir" && as_dir=.
4998     for ac_exec_ext in '' $ac_executable_extensions; do
4999   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5000     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5001     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5002     break 2
5003   fi
5004 done
5005   done
5006 IFS=$as_save_IFS
5007
5008 fi
5009 fi
5010 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5011 if test -n "$ac_ct_DLLTOOL"; then
5012   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5013 $as_echo "$ac_ct_DLLTOOL" >&6; }
5014 else
5015   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5016 $as_echo "no" >&6; }
5017 fi
5018
5019   if test "x$ac_ct_DLLTOOL" = x; then
5020     DLLTOOL="false"
5021   else
5022     case $cross_compiling:$ac_tool_warned in
5023 yes:)
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5025 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5026 ac_tool_warned=yes ;;
5027 esac
5028     DLLTOOL=$ac_ct_DLLTOOL
5029   fi
5030 else
5031   DLLTOOL="$ac_cv_prog_DLLTOOL"
5032 fi
5033
5034   if test -n "$ac_tool_prefix"; then
5035   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5036 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5038 $as_echo_n "checking for $ac_word... " >&6; }
5039 if ${ac_cv_prog_OBJDUMP+:} false; then :
5040   $as_echo_n "(cached) " >&6
5041 else
5042   if test -n "$OBJDUMP"; then
5043   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5044 else
5045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5046 for as_dir in $PATH
5047 do
5048   IFS=$as_save_IFS
5049   test -z "$as_dir" && as_dir=.
5050     for ac_exec_ext in '' $ac_executable_extensions; do
5051   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5052     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5053     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5054     break 2
5055   fi
5056 done
5057   done
5058 IFS=$as_save_IFS
5059
5060 fi
5061 fi
5062 OBJDUMP=$ac_cv_prog_OBJDUMP
5063 if test -n "$OBJDUMP"; then
5064   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5065 $as_echo "$OBJDUMP" >&6; }
5066 else
5067   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5068 $as_echo "no" >&6; }
5069 fi
5070
5071
5072 fi
5073 if test -z "$ac_cv_prog_OBJDUMP"; then
5074   ac_ct_OBJDUMP=$OBJDUMP
5075   # Extract the first word of "objdump", so it can be a program name with args.
5076 set dummy objdump; ac_word=$2
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5078 $as_echo_n "checking for $ac_word... " >&6; }
5079 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5080   $as_echo_n "(cached) " >&6
5081 else
5082   if test -n "$ac_ct_OBJDUMP"; then
5083   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5084 else
5085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5086 for as_dir in $PATH
5087 do
5088   IFS=$as_save_IFS
5089   test -z "$as_dir" && as_dir=.
5090     for ac_exec_ext in '' $ac_executable_extensions; do
5091   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5092     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5093     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5094     break 2
5095   fi
5096 done
5097   done
5098 IFS=$as_save_IFS
5099
5100 fi
5101 fi
5102 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5103 if test -n "$ac_ct_OBJDUMP"; then
5104   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5105 $as_echo "$ac_ct_OBJDUMP" >&6; }
5106 else
5107   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5108 $as_echo "no" >&6; }
5109 fi
5110
5111   if test "x$ac_ct_OBJDUMP" = x; then
5112     OBJDUMP="false"
5113   else
5114     case $cross_compiling:$ac_tool_warned in
5115 yes:)
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5117 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5118 ac_tool_warned=yes ;;
5119 esac
5120     OBJDUMP=$ac_ct_OBJDUMP
5121   fi
5122 else
5123   OBJDUMP="$ac_cv_prog_OBJDUMP"
5124 fi
5125
5126   ;;
5127 esac
5128
5129 test -z "$AS" && AS=as
5130
5131
5132
5133
5134
5135 test -z "$DLLTOOL" && DLLTOOL=dlltool
5136
5137
5138
5139
5140
5141 test -z "$OBJDUMP" && OBJDUMP=objdump
5142
5143
5144
5145
5146
5147
5148
5149 case `pwd` in
5150   *\ * | *\     *)
5151     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5152 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5153 esac
5154
5155
5156
5157 macro_version='2.4.2'
5158 macro_revision='1.3337'
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172 ltmain="$ac_aux_dir/ltmain.sh"
5173
5174 # Backslashify metacharacters that are still active within
5175 # double-quoted strings.
5176 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5177
5178 # Same as above, but do not quote variable references.
5179 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5180
5181 # Sed substitution to delay expansion of an escaped shell variable in a
5182 # double_quote_subst'ed string.
5183 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5184
5185 # Sed substitution to delay expansion of an escaped single quote.
5186 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5187
5188 # Sed substitution to avoid accidental globbing in evaled expressions
5189 no_glob_subst='s/\*/\\\*/g'
5190
5191 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5192 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5193 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5194
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5196 $as_echo_n "checking how to print strings... " >&6; }
5197 # Test print first, because it will be a builtin if present.
5198 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5199    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5200   ECHO='print -r --'
5201 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5202   ECHO='printf %s\n'
5203 else
5204   # Use this function as a fallback that always works.
5205   func_fallback_echo ()
5206   {
5207     eval 'cat <<_LTECHO_EOF
5208 $1
5209 _LTECHO_EOF'
5210   }
5211   ECHO='func_fallback_echo'
5212 fi
5213
5214 # func_echo_all arg...
5215 # Invoke $ECHO with all args, space-separated.
5216 func_echo_all ()
5217 {
5218     $ECHO ""
5219 }
5220
5221 case "$ECHO" in
5222   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5223 $as_echo "printf" >&6; } ;;
5224   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5225 $as_echo "print -r" >&6; } ;;
5226   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5227 $as_echo "cat" >&6; } ;;
5228 esac
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243 DEPDIR="${am__leading_dot}deps"
5244
5245 ac_config_commands="$ac_config_commands depfiles"
5246
5247
5248 am_make=${MAKE-make}
5249 cat > confinc << 'END'
5250 am__doit:
5251         @echo this is the am__doit target
5252 .PHONY: am__doit
5253 END
5254 # If we don't find an include directive, just comment out the code.
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
5256 $as_echo_n "checking for style of include used by $am_make... " >&6; }
5257 am__include="#"
5258 am__quote=
5259 _am_result=none
5260 # First try GNU make style include.
5261 echo "include confinc" > confmf
5262 # Ignore all kinds of additional output from `make'.
5263 case `$am_make -s -f confmf 2> /dev/null` in #(
5264 *the\ am__doit\ target*)
5265   am__include=include
5266   am__quote=
5267   _am_result=GNU
5268   ;;
5269 esac
5270 # Now try BSD make style include.
5271 if test "$am__include" = "#"; then
5272    echo '.include "confinc"' > confmf
5273    case `$am_make -s -f confmf 2> /dev/null` in #(
5274    *the\ am__doit\ target*)
5275      am__include=.include
5276      am__quote="\""
5277      _am_result=BSD
5278      ;;
5279    esac
5280 fi
5281
5282
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
5284 $as_echo "$_am_result" >&6; }
5285 rm -f confinc confmf
5286
5287 # Check whether --enable-dependency-tracking was given.
5288 if test "${enable_dependency_tracking+set}" = set; then :
5289   enableval=$enable_dependency_tracking;
5290 fi
5291
5292 if test "x$enable_dependency_tracking" != xno; then
5293   am_depcomp="$ac_aux_dir/depcomp"
5294   AMDEPBACKSLASH='\'
5295   am__nodep='_no'
5296 fi
5297  if test "x$enable_dependency_tracking" != xno; then
5298   AMDEP_TRUE=
5299   AMDEP_FALSE='#'
5300 else
5301   AMDEP_TRUE='#'
5302   AMDEP_FALSE=
5303 fi
5304
5305
5306 ac_ext=c
5307 ac_cpp='$CPP $CPPFLAGS'
5308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5311 if test -n "$ac_tool_prefix"; then
5312   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5313 set dummy ${ac_tool_prefix}gcc; ac_word=$2
5314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5315 $as_echo_n "checking for $ac_word... " >&6; }
5316 if ${ac_cv_prog_CC+:} false; then :
5317   $as_echo_n "(cached) " >&6
5318 else
5319   if test -n "$CC"; then
5320   ac_cv_prog_CC="$CC" # Let the user override the test.
5321 else
5322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5323 for as_dir in $PATH
5324 do
5325   IFS=$as_save_IFS
5326   test -z "$as_dir" && as_dir=.
5327     for ac_exec_ext in '' $ac_executable_extensions; do
5328   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5329     ac_cv_prog_CC="${ac_tool_prefix}gcc"
5330     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5331     break 2
5332   fi
5333 done
5334   done
5335 IFS=$as_save_IFS
5336
5337 fi
5338 fi
5339 CC=$ac_cv_prog_CC
5340 if test -n "$CC"; then
5341   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5342 $as_echo "$CC" >&6; }
5343 else
5344   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5345 $as_echo "no" >&6; }
5346 fi
5347
5348
5349 fi
5350 if test -z "$ac_cv_prog_CC"; then
5351   ac_ct_CC=$CC
5352   # Extract the first word of "gcc", so it can be a program name with args.
5353 set dummy gcc; ac_word=$2
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5355 $as_echo_n "checking for $ac_word... " >&6; }
5356 if ${ac_cv_prog_ac_ct_CC+:} false; then :
5357   $as_echo_n "(cached) " >&6
5358 else
5359   if test -n "$ac_ct_CC"; then
5360   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5361 else
5362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5363 for as_dir in $PATH
5364 do
5365   IFS=$as_save_IFS
5366   test -z "$as_dir" && as_dir=.
5367     for ac_exec_ext in '' $ac_executable_extensions; do
5368   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5369     ac_cv_prog_ac_ct_CC="gcc"
5370     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5371     break 2
5372   fi
5373 done
5374   done
5375 IFS=$as_save_IFS
5376
5377 fi
5378 fi
5379 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5380 if test -n "$ac_ct_CC"; then
5381   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5382 $as_echo "$ac_ct_CC" >&6; }
5383 else
5384   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5385 $as_echo "no" >&6; }
5386 fi
5387
5388   if test "x$ac_ct_CC" = x; then
5389     CC=""
5390   else
5391     case $cross_compiling:$ac_tool_warned in
5392 yes:)
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5394 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5395 ac_tool_warned=yes ;;
5396 esac
5397     CC=$ac_ct_CC
5398   fi
5399 else
5400   CC="$ac_cv_prog_CC"
5401 fi
5402
5403 if test -z "$CC"; then
5404           if test -n "$ac_tool_prefix"; then
5405     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5406 set dummy ${ac_tool_prefix}cc; ac_word=$2
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5408 $as_echo_n "checking for $ac_word... " >&6; }
5409 if ${ac_cv_prog_CC+:} false; then :
5410   $as_echo_n "(cached) " >&6
5411 else
5412   if test -n "$CC"; then
5413   ac_cv_prog_CC="$CC" # Let the user override the test.
5414 else
5415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5416 for as_dir in $PATH
5417 do
5418   IFS=$as_save_IFS
5419   test -z "$as_dir" && as_dir=.
5420     for ac_exec_ext in '' $ac_executable_extensions; do
5421   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5422     ac_cv_prog_CC="${ac_tool_prefix}cc"
5423     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5424     break 2
5425   fi
5426 done
5427   done
5428 IFS=$as_save_IFS
5429
5430 fi
5431 fi
5432 CC=$ac_cv_prog_CC
5433 if test -n "$CC"; then
5434   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5435 $as_echo "$CC" >&6; }
5436 else
5437   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5438 $as_echo "no" >&6; }
5439 fi
5440
5441
5442   fi
5443 fi
5444 if test -z "$CC"; then
5445   # Extract the first word of "cc", so it can be a program name with args.
5446 set dummy cc; ac_word=$2
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5448 $as_echo_n "checking for $ac_word... " >&6; }
5449 if ${ac_cv_prog_CC+:} false; then :
5450   $as_echo_n "(cached) " >&6
5451 else
5452   if test -n "$CC"; then
5453   ac_cv_prog_CC="$CC" # Let the user override the test.
5454 else
5455   ac_prog_rejected=no
5456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5457 for as_dir in $PATH
5458 do
5459   IFS=$as_save_IFS
5460   test -z "$as_dir" && as_dir=.
5461     for ac_exec_ext in '' $ac_executable_extensions; do
5462   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5463     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5464        ac_prog_rejected=yes
5465        continue
5466      fi
5467     ac_cv_prog_CC="cc"
5468     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5469     break 2
5470   fi
5471 done
5472   done
5473 IFS=$as_save_IFS
5474
5475 if test $ac_prog_rejected = yes; then
5476   # We found a bogon in the path, so make sure we never use it.
5477   set dummy $ac_cv_prog_CC
5478   shift
5479   if test $# != 0; then
5480     # We chose a different compiler from the bogus one.
5481     # However, it has the same basename, so the bogon will be chosen
5482     # first if we set CC to just the basename; use the full file name.
5483     shift
5484     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5485   fi
5486 fi
5487 fi
5488 fi
5489 CC=$ac_cv_prog_CC
5490 if test -n "$CC"; then
5491   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5492 $as_echo "$CC" >&6; }
5493 else
5494   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5495 $as_echo "no" >&6; }
5496 fi
5497
5498
5499 fi
5500 if test -z "$CC"; then
5501   if test -n "$ac_tool_prefix"; then
5502   for ac_prog in cl.exe
5503   do
5504     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5505 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5507 $as_echo_n "checking for $ac_word... " >&6; }
5508 if ${ac_cv_prog_CC+:} false; then :
5509   $as_echo_n "(cached) " >&6
5510 else
5511   if test -n "$CC"; then
5512   ac_cv_prog_CC="$CC" # Let the user override the test.
5513 else
5514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5515 for as_dir in $PATH
5516 do
5517   IFS=$as_save_IFS
5518   test -z "$as_dir" && as_dir=.
5519     for ac_exec_ext in '' $ac_executable_extensions; do
5520   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5521     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5522     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5523     break 2
5524   fi
5525 done
5526   done
5527 IFS=$as_save_IFS
5528
5529 fi
5530 fi
5531 CC=$ac_cv_prog_CC
5532 if test -n "$CC"; then
5533   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5534 $as_echo "$CC" >&6; }
5535 else
5536   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5537 $as_echo "no" >&6; }
5538 fi
5539
5540
5541     test -n "$CC" && break
5542   done
5543 fi
5544 if test -z "$CC"; then
5545   ac_ct_CC=$CC
5546   for ac_prog in cl.exe
5547 do
5548   # Extract the first word of "$ac_prog", so it can be a program name with args.
5549 set dummy $ac_prog; ac_word=$2
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5551 $as_echo_n "checking for $ac_word... " >&6; }
5552 if ${ac_cv_prog_ac_ct_CC+:} false; then :
5553   $as_echo_n "(cached) " >&6
5554 else
5555   if test -n "$ac_ct_CC"; then
5556   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5557 else
5558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5559 for as_dir in $PATH
5560 do
5561   IFS=$as_save_IFS
5562   test -z "$as_dir" && as_dir=.
5563     for ac_exec_ext in '' $ac_executable_extensions; do
5564   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5565     ac_cv_prog_ac_ct_CC="$ac_prog"
5566     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5567     break 2
5568   fi
5569 done
5570   done
5571 IFS=$as_save_IFS
5572
5573 fi
5574 fi
5575 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5576 if test -n "$ac_ct_CC"; then
5577   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5578 $as_echo "$ac_ct_CC" >&6; }
5579 else
5580   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5581 $as_echo "no" >&6; }
5582 fi
5583
5584
5585   test -n "$ac_ct_CC" && break
5586 done
5587
5588   if test "x$ac_ct_CC" = x; then
5589     CC=""
5590   else
5591     case $cross_compiling:$ac_tool_warned in
5592 yes:)
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5594 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5595 ac_tool_warned=yes ;;
5596 esac
5597     CC=$ac_ct_CC
5598   fi
5599 fi
5600
5601 fi
5602
5603
5604 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5605 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5606 as_fn_error $? "no acceptable C compiler found in \$PATH
5607 See \`config.log' for more details" "$LINENO" 5; }
5608
5609 # Provide some information about the compiler.
5610 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5611 set X $ac_compile
5612 ac_compiler=$2
5613 for ac_option in --version -v -V -qversion; do
5614   { { ac_try="$ac_compiler $ac_option >&5"
5615 case "(($ac_try" in
5616   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5617   *) ac_try_echo=$ac_try;;
5618 esac
5619 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5620 $as_echo "$ac_try_echo"; } >&5
5621   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5622   ac_status=$?
5623   if test -s conftest.err; then
5624     sed '10a\
5625 ... rest of stderr output deleted ...
5626          10q' conftest.err >conftest.er1
5627     cat conftest.er1 >&5
5628   fi
5629   rm -f conftest.er1 conftest.err
5630   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5631   test $ac_status = 0; }
5632 done
5633
5634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5635 /* end confdefs.h.  */
5636
5637 int
5638 main ()
5639 {
5640
5641   ;
5642   return 0;
5643 }
5644 _ACEOF
5645 ac_clean_files_save=$ac_clean_files
5646 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5647 # Try to create an executable without -o first, disregard a.out.
5648 # It will help us diagnose broken compilers, and finding out an intuition
5649 # of exeext.
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5651 $as_echo_n "checking whether the C compiler works... " >&6; }
5652 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5653
5654 # The possible output files:
5655 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5656
5657 ac_rmfiles=
5658 for ac_file in $ac_files
5659 do
5660   case $ac_file in
5661     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5662     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5663   esac
5664 done
5665 rm -f $ac_rmfiles
5666
5667 if { { ac_try="$ac_link_default"
5668 case "(($ac_try" in
5669   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5670   *) ac_try_echo=$ac_try;;
5671 esac
5672 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5673 $as_echo "$ac_try_echo"; } >&5
5674   (eval "$ac_link_default") 2>&5
5675   ac_status=$?
5676   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5677   test $ac_status = 0; }; then :
5678   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5679 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5680 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
5681 # so that the user can short-circuit this test for compilers unknown to
5682 # Autoconf.
5683 for ac_file in $ac_files ''
5684 do
5685   test -f "$ac_file" || continue
5686   case $ac_file in
5687     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5688         ;;
5689     [ab].out )
5690         # We found the default executable, but exeext='' is most
5691         # certainly right.
5692         break;;
5693     *.* )
5694         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
5695         then :; else
5696            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5697         fi
5698         # We set ac_cv_exeext here because the later test for it is not
5699         # safe: cross compilers may not add the suffix if given an `-o'
5700         # argument, so we may need to know it at that point already.
5701         # Even if this section looks crufty: it has the advantage of
5702         # actually working.
5703         break;;
5704     * )
5705         break;;
5706   esac
5707 done
5708 test "$ac_cv_exeext" = no && ac_cv_exeext=
5709
5710 else
5711   ac_file=''
5712 fi
5713 if test -z "$ac_file"; then :
5714   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5715 $as_echo "no" >&6; }
5716 $as_echo "$as_me: failed program was:" >&5
5717 sed 's/^/| /' conftest.$ac_ext >&5
5718
5719 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5720 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5721 as_fn_error 77 "C compiler cannot create executables
5722 See \`config.log' for more details" "$LINENO" 5; }
5723 else
5724   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5725 $as_echo "yes" >&6; }
5726 fi
5727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5728 $as_echo_n "checking for C compiler default output file name... " >&6; }
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5730 $as_echo "$ac_file" >&6; }
5731 ac_exeext=$ac_cv_exeext
5732
5733 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5734 ac_clean_files=$ac_clean_files_save
5735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5736 $as_echo_n "checking for suffix of executables... " >&6; }
5737 if { { ac_try="$ac_link"
5738 case "(($ac_try" in
5739   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5740   *) ac_try_echo=$ac_try;;
5741 esac
5742 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5743 $as_echo "$ac_try_echo"; } >&5
5744   (eval "$ac_link") 2>&5
5745   ac_status=$?
5746   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5747   test $ac_status = 0; }; then :
5748   # If both `conftest.exe' and `conftest' are `present' (well, observable)
5749 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
5750 # work properly (i.e., refer to `conftest.exe'), while it won't with
5751 # `rm'.
5752 for ac_file in conftest.exe conftest conftest.*; do
5753   test -f "$ac_file" || continue
5754   case $ac_file in
5755     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5756     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5757           break;;
5758     * ) break;;
5759   esac
5760 done
5761 else
5762   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5763 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5764 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5765 See \`config.log' for more details" "$LINENO" 5; }
5766 fi
5767 rm -f conftest conftest$ac_cv_exeext
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5769 $as_echo "$ac_cv_exeext" >&6; }
5770
5771 rm -f conftest.$ac_ext
5772 EXEEXT=$ac_cv_exeext
5773 ac_exeext=$EXEEXT
5774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5775 /* end confdefs.h.  */
5776 #include <stdio.h>
5777 int
5778 main ()
5779 {
5780 FILE *f = fopen ("conftest.out", "w");
5781  return ferror (f) || fclose (f) != 0;
5782
5783   ;
5784   return 0;
5785 }
5786 _ACEOF
5787 ac_clean_files="$ac_clean_files conftest.out"
5788 # Check that the compiler produces executables we can run.  If not, either
5789 # the compiler is broken, or we cross compile.
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5791 $as_echo_n "checking whether we are cross compiling... " >&6; }
5792 if test "$cross_compiling" != yes; then
5793   { { ac_try="$ac_link"
5794 case "(($ac_try" in
5795   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5796   *) ac_try_echo=$ac_try;;
5797 esac
5798 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5799 $as_echo "$ac_try_echo"; } >&5
5800   (eval "$ac_link") 2>&5
5801   ac_status=$?
5802   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5803   test $ac_status = 0; }
5804   if { ac_try='./conftest$ac_cv_exeext'
5805   { { case "(($ac_try" in
5806   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5807   *) ac_try_echo=$ac_try;;
5808 esac
5809 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5810 $as_echo "$ac_try_echo"; } >&5
5811   (eval "$ac_try") 2>&5
5812   ac_status=$?
5813   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5814   test $ac_status = 0; }; }; then
5815     cross_compiling=no
5816   else
5817     if test "$cross_compiling" = maybe; then
5818         cross_compiling=yes
5819     else
5820         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5821 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5822 as_fn_error $? "cannot run C compiled programs.
5823 If you meant to cross compile, use \`--host'.
5824 See \`config.log' for more details" "$LINENO" 5; }
5825     fi
5826   fi
5827 fi
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5829 $as_echo "$cross_compiling" >&6; }
5830
5831 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5832 ac_clean_files=$ac_clean_files_save
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5834 $as_echo_n "checking for suffix of object files... " >&6; }
5835 if ${ac_cv_objext+:} false; then :
5836   $as_echo_n "(cached) " >&6
5837 else
5838   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5839 /* end confdefs.h.  */
5840
5841 int
5842 main ()
5843 {
5844
5845   ;
5846   return 0;
5847 }
5848 _ACEOF
5849 rm -f conftest.o conftest.obj
5850 if { { ac_try="$ac_compile"
5851 case "(($ac_try" in
5852   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5853   *) ac_try_echo=$ac_try;;
5854 esac
5855 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5856 $as_echo "$ac_try_echo"; } >&5
5857   (eval "$ac_compile") 2>&5
5858   ac_status=$?
5859   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5860   test $ac_status = 0; }; then :
5861   for ac_file in conftest.o conftest.obj conftest.*; do
5862   test -f "$ac_file" || continue;
5863   case $ac_file in
5864     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5865     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5866        break;;
5867   esac
5868 done
5869 else
5870   $as_echo "$as_me: failed program was:" >&5
5871 sed 's/^/| /' conftest.$ac_ext >&5
5872
5873 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5874 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5875 as_fn_error $? "cannot compute suffix of object files: cannot compile
5876 See \`config.log' for more details" "$LINENO" 5; }
5877 fi
5878 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5879 fi
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5881 $as_echo "$ac_cv_objext" >&6; }
5882 OBJEXT=$ac_cv_objext
5883 ac_objext=$OBJEXT
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5885 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5886 if ${ac_cv_c_compiler_gnu+:} false; then :
5887   $as_echo_n "(cached) " >&6
5888 else
5889   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5890 /* end confdefs.h.  */
5891
5892 int
5893 main ()
5894 {
5895 #ifndef __GNUC__
5896        choke me
5897 #endif
5898
5899   ;
5900   return 0;
5901 }
5902 _ACEOF
5903 if ac_fn_c_try_compile "$LINENO"; then :
5904   ac_compiler_gnu=yes
5905 else
5906   ac_compiler_gnu=no
5907 fi
5908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5909 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5910
5911 fi
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5913 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5914 if test $ac_compiler_gnu = yes; then
5915   GCC=yes
5916 else
5917   GCC=
5918 fi
5919 ac_test_CFLAGS=${CFLAGS+set}
5920 ac_save_CFLAGS=$CFLAGS
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5922 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5923 if ${ac_cv_prog_cc_g+:} false; then :
5924   $as_echo_n "(cached) " >&6
5925 else
5926   ac_save_c_werror_flag=$ac_c_werror_flag
5927    ac_c_werror_flag=yes
5928    ac_cv_prog_cc_g=no
5929    CFLAGS="-g"
5930    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5931 /* end confdefs.h.  */
5932
5933 int
5934 main ()
5935 {
5936
5937   ;
5938   return 0;
5939 }
5940 _ACEOF
5941 if ac_fn_c_try_compile "$LINENO"; then :
5942   ac_cv_prog_cc_g=yes
5943 else
5944   CFLAGS=""
5945       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5946 /* end confdefs.h.  */
5947
5948 int
5949 main ()
5950 {
5951
5952   ;
5953   return 0;
5954 }
5955 _ACEOF
5956 if ac_fn_c_try_compile "$LINENO"; then :
5957
5958 else
5959   ac_c_werror_flag=$ac_save_c_werror_flag
5960          CFLAGS="-g"
5961          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5962 /* end confdefs.h.  */
5963
5964 int
5965 main ()
5966 {
5967
5968   ;
5969   return 0;
5970 }
5971 _ACEOF
5972 if ac_fn_c_try_compile "$LINENO"; then :
5973   ac_cv_prog_cc_g=yes
5974 fi
5975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5976 fi
5977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5978 fi
5979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5980    ac_c_werror_flag=$ac_save_c_werror_flag
5981 fi
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5983 $as_echo "$ac_cv_prog_cc_g" >&6; }
5984 if test "$ac_test_CFLAGS" = set; then
5985   CFLAGS=$ac_save_CFLAGS
5986 elif test $ac_cv_prog_cc_g = yes; then
5987   if test "$GCC" = yes; then
5988     CFLAGS="-g -O2"
5989   else
5990     CFLAGS="-g"
5991   fi
5992 else
5993   if test "$GCC" = yes; then
5994     CFLAGS="-O2"
5995   else
5996     CFLAGS=
5997   fi
5998 fi
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
6000 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
6001 if ${ac_cv_prog_cc_c89+:} false; then :
6002   $as_echo_n "(cached) " >&6
6003 else
6004   ac_cv_prog_cc_c89=no
6005 ac_save_CC=$CC
6006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6007 /* end confdefs.h.  */
6008 #include <stdarg.h>
6009 #include <stdio.h>
6010 #include <sys/types.h>
6011 #include <sys/stat.h>
6012 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
6013 struct buf { int x; };
6014 FILE * (*rcsopen) (struct buf *, struct stat *, int);
6015 static char *e (p, i)
6016      char **p;
6017      int i;
6018 {
6019   return p[i];
6020 }
6021 static char *f (char * (*g) (char **, int), char **p, ...)
6022 {
6023   char *s;
6024   va_list v;
6025   va_start (v,p);
6026   s = g (p, va_arg (v,int));
6027   va_end (v);
6028   return s;
6029 }
6030
6031 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
6032    function prototypes and stuff, but not '\xHH' hex character constants.
6033    These don't provoke an error unfortunately, instead are silently treated
6034    as 'x'.  The following induces an error, until -std is added to get
6035    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
6036    array size at least.  It's necessary to write '\x00'==0 to get something
6037    that's true only with -std.  */
6038 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
6039
6040 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
6041    inside strings and character constants.  */
6042 #define FOO(x) 'x'
6043 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
6044
6045 int test (int i, double x);
6046 struct s1 {int (*f) (int a);};
6047 struct s2 {int (*f) (double a);};
6048 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
6049 int argc;
6050 char **argv;
6051 int
6052 main ()
6053 {
6054 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
6055   ;
6056   return 0;
6057 }
6058 _ACEOF
6059 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
6060         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
6061 do
6062   CC="$ac_save_CC $ac_arg"
6063   if ac_fn_c_try_compile "$LINENO"; then :
6064   ac_cv_prog_cc_c89=$ac_arg
6065 fi
6066 rm -f core conftest.err conftest.$ac_objext
6067   test "x$ac_cv_prog_cc_c89" != "xno" && break
6068 done
6069 rm -f conftest.$ac_ext
6070 CC=$ac_save_CC
6071
6072 fi
6073 # AC_CACHE_VAL
6074 case "x$ac_cv_prog_cc_c89" in
6075   x)
6076     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6077 $as_echo "none needed" >&6; } ;;
6078   xno)
6079     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6080 $as_echo "unsupported" >&6; } ;;
6081   *)
6082     CC="$CC $ac_cv_prog_cc_c89"
6083     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
6084 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
6085 esac
6086 if test "x$ac_cv_prog_cc_c89" != xno; then :
6087
6088 fi
6089
6090 ac_ext=c
6091 ac_cpp='$CPP $CPPFLAGS'
6092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6095
6096 depcc="$CC"   am_compiler_list=
6097
6098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6099 $as_echo_n "checking dependency style of $depcc... " >&6; }
6100 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
6101   $as_echo_n "(cached) " >&6
6102 else
6103   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6104   # We make a subdir and do the tests there.  Otherwise we can end up
6105   # making bogus files that we don't know about and never remove.  For
6106   # instance it was reported that on HP-UX the gcc test will end up
6107   # making a dummy file named `D' -- because `-MD' means `put the output
6108   # in D'.
6109   rm -rf conftest.dir
6110   mkdir conftest.dir
6111   # Copy depcomp to subdir because otherwise we won't find it if we're
6112   # using a relative directory.
6113   cp "$am_depcomp" conftest.dir
6114   cd conftest.dir
6115   # We will build objects and dependencies in a subdirectory because
6116   # it helps to detect inapplicable dependency modes.  For instance
6117   # both Tru64's cc and ICC support -MD to output dependencies as a
6118   # side effect of compilation, but ICC will put the dependencies in
6119   # the current directory while Tru64 will put them in the object
6120   # directory.
6121   mkdir sub
6122
6123   am_cv_CC_dependencies_compiler_type=none
6124   if test "$am_compiler_list" = ""; then
6125      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6126   fi
6127   am__universal=false
6128   case " $depcc " in #(
6129      *\ -arch\ *\ -arch\ *) am__universal=true ;;
6130      esac
6131
6132   for depmode in $am_compiler_list; do
6133     # Setup a source with many dependencies, because some compilers
6134     # like to wrap large dependency lists on column 80 (with \), and
6135     # we should not choose a depcomp mode which is confused by this.
6136     #
6137     # We need to recreate these files for each test, as the compiler may
6138     # overwrite some of them when testing with obscure command lines.
6139     # This happens at least with the AIX C compiler.
6140     : > sub/conftest.c
6141     for i in 1 2 3 4 5 6; do
6142       echo '#include "conftst'$i'.h"' >> sub/conftest.c
6143       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6144       # Solaris 8's {/usr,}/bin/sh.
6145       touch sub/conftst$i.h
6146     done
6147     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6148
6149     # We check with `-c' and `-o' for the sake of the "dashmstdout"
6150     # mode.  It turns out that the SunPro C++ compiler does not properly
6151     # handle `-M -o', and we need to detect this.  Also, some Intel
6152     # versions had trouble with output in subdirs
6153     am__obj=sub/conftest.${OBJEXT-o}
6154     am__minus_obj="-o $am__obj"
6155     case $depmode in
6156     gcc)
6157       # This depmode causes a compiler race in universal mode.
6158       test "$am__universal" = false || continue
6159       ;;
6160     nosideeffect)
6161       # after this tag, mechanisms are not by side-effect, so they'll
6162       # only be used when explicitly requested
6163       if test "x$enable_dependency_tracking" = xyes; then
6164         continue
6165       else
6166         break
6167       fi
6168       ;;
6169     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
6170       # This compiler won't grok `-c -o', but also, the minuso test has
6171       # not run yet.  These depmodes are late enough in the game, and
6172       # so weak that their functioning should not be impacted.
6173       am__obj=conftest.${OBJEXT-o}
6174       am__minus_obj=
6175       ;;
6176     none) break ;;
6177     esac
6178     if depmode=$depmode \
6179        source=sub/conftest.c object=$am__obj \
6180        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6181        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
6182          >/dev/null 2>conftest.err &&
6183        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6184        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6185        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
6186        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6187       # icc doesn't choke on unknown options, it will just issue warnings
6188       # or remarks (even with -Werror).  So we grep stderr for any message
6189       # that says an option was ignored or not supported.
6190       # When given -MP, icc 7.0 and 7.1 complain thusly:
6191       #   icc: Command line warning: ignoring option '-M'; no argument required
6192       # The diagnosis changed in icc 8.0:
6193       #   icc: Command line remark: option '-MP' not supported
6194       if (grep 'ignoring option' conftest.err ||
6195           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6196         am_cv_CC_dependencies_compiler_type=$depmode
6197         break
6198       fi
6199     fi
6200   done
6201
6202   cd ..
6203   rm -rf conftest.dir
6204 else
6205   am_cv_CC_dependencies_compiler_type=none
6206 fi
6207
6208 fi
6209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
6210 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
6211 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
6212
6213  if
6214   test "x$enable_dependency_tracking" != xno \
6215   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
6216   am__fastdepCC_TRUE=
6217   am__fastdepCC_FALSE='#'
6218 else
6219   am__fastdepCC_TRUE='#'
6220   am__fastdepCC_FALSE=
6221 fi
6222
6223
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6225 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6226 if ${ac_cv_path_SED+:} false; then :
6227   $as_echo_n "(cached) " >&6
6228 else
6229             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6230      for ac_i in 1 2 3 4 5 6 7; do
6231        ac_script="$ac_script$as_nl$ac_script"
6232      done
6233      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6234      { ac_script=; unset ac_script;}
6235      if test -z "$SED"; then
6236   ac_path_SED_found=false
6237   # Loop through the user's path and test for each of PROGNAME-LIST
6238   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6239 for as_dir in $PATH
6240 do
6241   IFS=$as_save_IFS
6242   test -z "$as_dir" && as_dir=.
6243     for ac_prog in sed gsed; do
6244     for ac_exec_ext in '' $ac_executable_extensions; do
6245       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6246       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
6247 # Check for GNU ac_path_SED and select it if it is found.
6248   # Check for GNU $ac_path_SED
6249 case `"$ac_path_SED" --version 2>&1` in
6250 *GNU*)
6251   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6252 *)
6253   ac_count=0
6254   $as_echo_n 0123456789 >"conftest.in"
6255   while :
6256   do
6257     cat "conftest.in" "conftest.in" >"conftest.tmp"
6258     mv "conftest.tmp" "conftest.in"
6259     cp "conftest.in" "conftest.nl"
6260     $as_echo '' >> "conftest.nl"
6261     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6262     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6263     as_fn_arith $ac_count + 1 && ac_count=$as_val
6264     if test $ac_count -gt ${ac_path_SED_max-0}; then
6265       # Best one so far, save it but keep looking for a better one
6266       ac_cv_path_SED="$ac_path_SED"
6267       ac_path_SED_max=$ac_count
6268     fi
6269     # 10*(2^10) chars as input seems more than enough
6270     test $ac_count -gt 10 && break
6271   done
6272   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6273 esac
6274
6275       $ac_path_SED_found && break 3
6276     done
6277   done
6278   done
6279 IFS=$as_save_IFS
6280   if test -z "$ac_cv_path_SED"; then
6281     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6282   fi
6283 else
6284   ac_cv_path_SED=$SED
6285 fi
6286
6287 fi
6288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6289 $as_echo "$ac_cv_path_SED" >&6; }
6290  SED="$ac_cv_path_SED"
6291   rm -f conftest.sed
6292
6293 test -z "$SED" && SED=sed
6294 Xsed="$SED -e 1s/^X//"
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6307 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6308 if ${ac_cv_path_GREP+:} false; then :
6309   $as_echo_n "(cached) " >&6
6310 else
6311   if test -z "$GREP"; then
6312   ac_path_GREP_found=false
6313   # Loop through the user's path and test for each of PROGNAME-LIST
6314   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6315 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6316 do
6317   IFS=$as_save_IFS
6318   test -z "$as_dir" && as_dir=.
6319     for ac_prog in grep ggrep; do
6320     for ac_exec_ext in '' $ac_executable_extensions; do
6321       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6322       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
6323 # Check for GNU ac_path_GREP and select it if it is found.
6324   # Check for GNU $ac_path_GREP
6325 case `"$ac_path_GREP" --version 2>&1` in
6326 *GNU*)
6327   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6328 *)
6329   ac_count=0
6330   $as_echo_n 0123456789 >"conftest.in"
6331   while :
6332   do
6333     cat "conftest.in" "conftest.in" >"conftest.tmp"
6334     mv "conftest.tmp" "conftest.in"
6335     cp "conftest.in" "conftest.nl"
6336     $as_echo 'GREP' >> "conftest.nl"
6337     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6338     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6339     as_fn_arith $ac_count + 1 && ac_count=$as_val
6340     if test $ac_count -gt ${ac_path_GREP_max-0}; then
6341       # Best one so far, save it but keep looking for a better one
6342       ac_cv_path_GREP="$ac_path_GREP"
6343       ac_path_GREP_max=$ac_count
6344     fi
6345     # 10*(2^10) chars as input seems more than enough
6346     test $ac_count -gt 10 && break
6347   done
6348   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6349 esac
6350
6351       $ac_path_GREP_found && break 3
6352     done
6353   done
6354   done
6355 IFS=$as_save_IFS
6356   if test -z "$ac_cv_path_GREP"; then
6357     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6358   fi
6359 else
6360   ac_cv_path_GREP=$GREP
6361 fi
6362
6363 fi
6364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6365 $as_echo "$ac_cv_path_GREP" >&6; }
6366  GREP="$ac_cv_path_GREP"
6367
6368
6369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6370 $as_echo_n "checking for egrep... " >&6; }
6371 if ${ac_cv_path_EGREP+:} false; then :
6372   $as_echo_n "(cached) " >&6
6373 else
6374   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6375    then ac_cv_path_EGREP="$GREP -E"
6376    else
6377      if test -z "$EGREP"; then
6378   ac_path_EGREP_found=false
6379   # Loop through the user's path and test for each of PROGNAME-LIST
6380   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6381 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6382 do
6383   IFS=$as_save_IFS
6384   test -z "$as_dir" && as_dir=.
6385     for ac_prog in egrep; do
6386     for ac_exec_ext in '' $ac_executable_extensions; do
6387       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6388       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
6389 # Check for GNU ac_path_EGREP and select it if it is found.
6390   # Check for GNU $ac_path_EGREP
6391 case `"$ac_path_EGREP" --version 2>&1` in
6392 *GNU*)
6393   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6394 *)
6395   ac_count=0
6396   $as_echo_n 0123456789 >"conftest.in"
6397   while :
6398   do
6399     cat "conftest.in" "conftest.in" >"conftest.tmp"
6400     mv "conftest.tmp" "conftest.in"
6401     cp "conftest.in" "conftest.nl"
6402     $as_echo 'EGREP' >> "conftest.nl"
6403     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6404     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6405     as_fn_arith $ac_count + 1 && ac_count=$as_val
6406     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6407       # Best one so far, save it but keep looking for a better one
6408       ac_cv_path_EGREP="$ac_path_EGREP"
6409       ac_path_EGREP_max=$ac_count
6410     fi
6411     # 10*(2^10) chars as input seems more than enough
6412     test $ac_count -gt 10 && break
6413   done
6414   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6415 esac
6416
6417       $ac_path_EGREP_found && break 3
6418     done
6419   done
6420   done
6421 IFS=$as_save_IFS
6422   if test -z "$ac_cv_path_EGREP"; then
6423     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6424   fi
6425 else
6426   ac_cv_path_EGREP=$EGREP
6427 fi
6428
6429    fi
6430 fi
6431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6432 $as_echo "$ac_cv_path_EGREP" >&6; }
6433  EGREP="$ac_cv_path_EGREP"
6434
6435
6436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6437 $as_echo_n "checking for fgrep... " >&6; }
6438 if ${ac_cv_path_FGREP+:} false; then :
6439   $as_echo_n "(cached) " >&6
6440 else
6441   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6442    then ac_cv_path_FGREP="$GREP -F"
6443    else
6444      if test -z "$FGREP"; then
6445   ac_path_FGREP_found=false
6446   # Loop through the user's path and test for each of PROGNAME-LIST
6447   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6448 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6449 do
6450   IFS=$as_save_IFS
6451   test -z "$as_dir" && as_dir=.
6452     for ac_prog in fgrep; do
6453     for ac_exec_ext in '' $ac_executable_extensions; do
6454       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6455       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6456 # Check for GNU ac_path_FGREP and select it if it is found.
6457   # Check for GNU $ac_path_FGREP
6458 case `"$ac_path_FGREP" --version 2>&1` in
6459 *GNU*)
6460   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6461 *)
6462   ac_count=0
6463   $as_echo_n 0123456789 >"conftest.in"
6464   while :
6465   do
6466     cat "conftest.in" "conftest.in" >"conftest.tmp"
6467     mv "conftest.tmp" "conftest.in"
6468     cp "conftest.in" "conftest.nl"
6469     $as_echo 'FGREP' >> "conftest.nl"
6470     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6471     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6472     as_fn_arith $ac_count + 1 && ac_count=$as_val
6473     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6474       # Best one so far, save it but keep looking for a better one
6475       ac_cv_path_FGREP="$ac_path_FGREP"
6476       ac_path_FGREP_max=$ac_count
6477     fi
6478     # 10*(2^10) chars as input seems more than enough
6479     test $ac_count -gt 10 && break
6480   done
6481   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6482 esac
6483
6484       $ac_path_FGREP_found && break 3
6485     done
6486   done
6487   done
6488 IFS=$as_save_IFS
6489   if test -z "$ac_cv_path_FGREP"; then
6490     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6491   fi
6492 else
6493   ac_cv_path_FGREP=$FGREP
6494 fi
6495
6496    fi
6497 fi
6498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6499 $as_echo "$ac_cv_path_FGREP" >&6; }
6500  FGREP="$ac_cv_path_FGREP"
6501
6502
6503 test -z "$GREP" && GREP=grep
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523 # Check whether --with-gnu-ld was given.
6524 if test "${with_gnu_ld+set}" = set; then :
6525   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6526 else
6527   with_gnu_ld=no
6528 fi
6529
6530 ac_prog=ld
6531 if test "$GCC" = yes; then
6532   # Check if gcc -print-prog-name=ld gives a path.
6533   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6534 $as_echo_n "checking for ld used by $CC... " >&6; }
6535   case $host in
6536   *-*-mingw*)
6537     # gcc leaves a trailing carriage return which upsets mingw
6538     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6539   *)
6540     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6541   esac
6542   case $ac_prog in
6543     # Accept absolute paths.
6544     [\\/]* | ?:[\\/]*)
6545       re_direlt='/[^/][^/]*/\.\./'
6546       # Canonicalize the pathname of ld
6547       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6548       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6549         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6550       done
6551       test -z "$LD" && LD="$ac_prog"
6552       ;;
6553   "")
6554     # If it fails, then pretend we aren't using GCC.
6555     ac_prog=ld
6556     ;;
6557   *)
6558     # If it is relative, then search for the first ld in PATH.
6559     with_gnu_ld=unknown
6560     ;;
6561   esac
6562 elif test "$with_gnu_ld" = yes; then
6563   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6564 $as_echo_n "checking for GNU ld... " >&6; }
6565 else
6566   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6567 $as_echo_n "checking for non-GNU ld... " >&6; }
6568 fi
6569 if ${lt_cv_path_LD+:} false; then :
6570   $as_echo_n "(cached) " >&6
6571 else
6572   if test -z "$LD"; then
6573   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6574   for ac_dir in $PATH; do
6575     IFS="$lt_save_ifs"
6576     test -z "$ac_dir" && ac_dir=.
6577     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6578       lt_cv_path_LD="$ac_dir/$ac_prog"
6579       # Check to see if the program is GNU ld.  I'd rather use --version,
6580       # but apparently some variants of GNU ld only accept -v.
6581       # Break only if it was the GNU/non-GNU ld that we prefer.
6582       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6583       *GNU* | *'with BFD'*)
6584         test "$with_gnu_ld" != no && break
6585         ;;
6586       *)
6587         test "$with_gnu_ld" != yes && break
6588         ;;
6589       esac
6590     fi
6591   done
6592   IFS="$lt_save_ifs"
6593 else
6594   lt_cv_path_LD="$LD" # Let the user override the test with a path.
6595 fi
6596 fi
6597
6598 LD="$lt_cv_path_LD"
6599 if test -n "$LD"; then
6600   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6601 $as_echo "$LD" >&6; }
6602 else
6603   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6604 $as_echo "no" >&6; }
6605 fi
6606 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6608 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6609 if ${lt_cv_prog_gnu_ld+:} false; then :
6610   $as_echo_n "(cached) " >&6
6611 else
6612   # I'd rather use --version here, but apparently some GNU lds only accept -v.
6613 case `$LD -v 2>&1 </dev/null` in
6614 *GNU* | *'with BFD'*)
6615   lt_cv_prog_gnu_ld=yes
6616   ;;
6617 *)
6618   lt_cv_prog_gnu_ld=no
6619   ;;
6620 esac
6621 fi
6622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6623 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6624 with_gnu_ld=$lt_cv_prog_gnu_ld
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6635 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6636 if ${lt_cv_path_NM+:} false; then :
6637   $as_echo_n "(cached) " >&6
6638 else
6639   if test -n "$NM"; then
6640   # Let the user override the test.
6641   lt_cv_path_NM="$NM"
6642 else
6643   lt_nm_to_check="${ac_tool_prefix}nm"
6644   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6645     lt_nm_to_check="$lt_nm_to_check nm"
6646   fi
6647   for lt_tmp_nm in $lt_nm_to_check; do
6648     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6649     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6650       IFS="$lt_save_ifs"
6651       test -z "$ac_dir" && ac_dir=.
6652       tmp_nm="$ac_dir/$lt_tmp_nm"
6653       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6654         # Check to see if the nm accepts a BSD-compat flag.
6655         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6656         #   nm: unknown option "B" ignored
6657         # Tru64's nm complains that /dev/null is an invalid object file
6658         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6659         */dev/null* | *'Invalid file or object type'*)
6660           lt_cv_path_NM="$tmp_nm -B"
6661           break
6662           ;;
6663         *)
6664           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6665           */dev/null*)
6666             lt_cv_path_NM="$tmp_nm -p"
6667             break
6668             ;;
6669           *)
6670             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6671             continue # so that we can try to find one that supports BSD flags
6672             ;;
6673           esac
6674           ;;
6675         esac
6676       fi
6677     done
6678     IFS="$lt_save_ifs"
6679   done
6680   : ${lt_cv_path_NM=no}
6681 fi
6682 fi
6683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6684 $as_echo "$lt_cv_path_NM" >&6; }
6685 if test "$lt_cv_path_NM" != "no"; then
6686   NM="$lt_cv_path_NM"
6687 else
6688   # Didn't find any BSD compatible name lister, look for dumpbin.
6689   if test -n "$DUMPBIN"; then :
6690     # Let the user override the test.
6691   else
6692     if test -n "$ac_tool_prefix"; then
6693   for ac_prog in dumpbin "link -dump"
6694   do
6695     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6696 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6698 $as_echo_n "checking for $ac_word... " >&6; }
6699 if ${ac_cv_prog_DUMPBIN+:} false; then :
6700   $as_echo_n "(cached) " >&6
6701 else
6702   if test -n "$DUMPBIN"; then
6703   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6704 else
6705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6706 for as_dir in $PATH
6707 do
6708   IFS=$as_save_IFS
6709   test -z "$as_dir" && as_dir=.
6710     for ac_exec_ext in '' $ac_executable_extensions; do
6711   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6712     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6713     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6714     break 2
6715   fi
6716 done
6717   done
6718 IFS=$as_save_IFS
6719
6720 fi
6721 fi
6722 DUMPBIN=$ac_cv_prog_DUMPBIN
6723 if test -n "$DUMPBIN"; then
6724   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6725 $as_echo "$DUMPBIN" >&6; }
6726 else
6727   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6728 $as_echo "no" >&6; }
6729 fi
6730
6731
6732     test -n "$DUMPBIN" && break
6733   done
6734 fi
6735 if test -z "$DUMPBIN"; then
6736   ac_ct_DUMPBIN=$DUMPBIN
6737   for ac_prog in dumpbin "link -dump"
6738 do
6739   # Extract the first word of "$ac_prog", so it can be a program name with args.
6740 set dummy $ac_prog; ac_word=$2
6741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6742 $as_echo_n "checking for $ac_word... " >&6; }
6743 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6744   $as_echo_n "(cached) " >&6
6745 else
6746   if test -n "$ac_ct_DUMPBIN"; then
6747   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6748 else
6749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6750 for as_dir in $PATH
6751 do
6752   IFS=$as_save_IFS
6753   test -z "$as_dir" && as_dir=.
6754     for ac_exec_ext in '' $ac_executable_extensions; do
6755   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6756     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6757     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6758     break 2
6759   fi
6760 done
6761   done
6762 IFS=$as_save_IFS
6763
6764 fi
6765 fi
6766 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6767 if test -n "$ac_ct_DUMPBIN"; then
6768   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6769 $as_echo "$ac_ct_DUMPBIN" >&6; }
6770 else
6771   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6772 $as_echo "no" >&6; }
6773 fi
6774
6775
6776   test -n "$ac_ct_DUMPBIN" && break
6777 done
6778
6779   if test "x$ac_ct_DUMPBIN" = x; then
6780     DUMPBIN=":"
6781   else
6782     case $cross_compiling:$ac_tool_warned in
6783 yes:)
6784 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6785 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6786 ac_tool_warned=yes ;;
6787 esac
6788     DUMPBIN=$ac_ct_DUMPBIN
6789   fi
6790 fi
6791
6792     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6793     *COFF*)
6794       DUMPBIN="$DUMPBIN -symbols"
6795       ;;
6796     *)
6797       DUMPBIN=:
6798       ;;
6799     esac
6800   fi
6801
6802   if test "$DUMPBIN" != ":"; then
6803     NM="$DUMPBIN"
6804   fi
6805 fi
6806 test -z "$NM" && NM=nm
6807
6808
6809
6810
6811
6812
6813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6814 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6815 if ${lt_cv_nm_interface+:} false; then :
6816   $as_echo_n "(cached) " >&6
6817 else
6818   lt_cv_nm_interface="BSD nm"
6819   echo "int some_variable = 0;" > conftest.$ac_ext
6820   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6821   (eval "$ac_compile" 2>conftest.err)
6822   cat conftest.err >&5
6823   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6824   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6825   cat conftest.err >&5
6826   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6827   cat conftest.out >&5
6828   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6829     lt_cv_nm_interface="MS dumpbin"
6830   fi
6831   rm -f conftest*
6832 fi
6833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6834 $as_echo "$lt_cv_nm_interface" >&6; }
6835
6836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6837 $as_echo_n "checking whether ln -s works... " >&6; }
6838 LN_S=$as_ln_s
6839 if test "$LN_S" = "ln -s"; then
6840   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6841 $as_echo "yes" >&6; }
6842 else
6843   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6844 $as_echo "no, using $LN_S" >&6; }
6845 fi
6846
6847 # find the maximum length of command line arguments
6848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6849 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6850 if ${lt_cv_sys_max_cmd_len+:} false; then :
6851   $as_echo_n "(cached) " >&6
6852 else
6853     i=0
6854   teststring="ABCD"
6855
6856   case $build_os in
6857   msdosdjgpp*)
6858     # On DJGPP, this test can blow up pretty badly due to problems in libc
6859     # (any single argument exceeding 2000 bytes causes a buffer overrun
6860     # during glob expansion).  Even if it were fixed, the result of this
6861     # check would be larger than it should be.
6862     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6863     ;;
6864
6865   gnu*)
6866     # Under GNU Hurd, this test is not required because there is
6867     # no limit to the length of command line arguments.
6868     # Libtool will interpret -1 as no limit whatsoever
6869     lt_cv_sys_max_cmd_len=-1;
6870     ;;
6871
6872   cygwin* | mingw* | cegcc*)
6873     # On Win9x/ME, this test blows up -- it succeeds, but takes
6874     # about 5 minutes as the teststring grows exponentially.
6875     # Worse, since 9x/ME are not pre-emptively multitasking,
6876     # you end up with a "frozen" computer, even though with patience
6877     # the test eventually succeeds (with a max line length of 256k).
6878     # Instead, let's just punt: use the minimum linelength reported by
6879     # all of the supported platforms: 8192 (on NT/2K/XP).
6880     lt_cv_sys_max_cmd_len=8192;
6881     ;;
6882
6883   mint*)
6884     # On MiNT this can take a long time and run out of memory.
6885     lt_cv_sys_max_cmd_len=8192;
6886     ;;
6887
6888   amigaos*)
6889     # On AmigaOS with pdksh, this test takes hours, literally.
6890     # So we just punt and use a minimum line length of 8192.
6891     lt_cv_sys_max_cmd_len=8192;
6892     ;;
6893
6894   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6895     # This has been around since 386BSD, at least.  Likely further.
6896     if test -x /sbin/sysctl; then
6897       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6898     elif test -x /usr/sbin/sysctl; then
6899       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6900     else
6901       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
6902     fi
6903     # And add a safety zone
6904     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6905     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6906     ;;
6907
6908   interix*)
6909     # We know the value 262144 and hardcode it with a safety zone (like BSD)
6910     lt_cv_sys_max_cmd_len=196608
6911     ;;
6912
6913   os2*)
6914     # The test takes a long time on OS/2.
6915     lt_cv_sys_max_cmd_len=8192
6916     ;;
6917
6918   osf*)
6919     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6920     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6921     # nice to cause kernel panics so lets avoid the loop below.
6922     # First set a reasonable default.
6923     lt_cv_sys_max_cmd_len=16384
6924     #
6925     if test -x /sbin/sysconfig; then
6926       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6927         *1*) lt_cv_sys_max_cmd_len=-1 ;;
6928       esac
6929     fi
6930     ;;
6931   sco3.2v5*)
6932     lt_cv_sys_max_cmd_len=102400
6933     ;;
6934   sysv5* | sco5v6* | sysv4.2uw2*)
6935     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6936     if test -n "$kargmax"; then
6937       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
6938     else
6939       lt_cv_sys_max_cmd_len=32768
6940     fi
6941     ;;
6942   *)
6943     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6944     if test -n "$lt_cv_sys_max_cmd_len"; then
6945       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6946       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6947     else
6948       # Make teststring a little bigger before we do anything with it.
6949       # a 1K string should be a reasonable start.
6950       for i in 1 2 3 4 5 6 7 8 ; do
6951         teststring=$teststring$teststring
6952       done
6953       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6954       # If test is not a shell built-in, we'll probably end up computing a
6955       # maximum length that is only half of the actual maximum length, but
6956       # we can't tell.
6957       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
6958                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6959               test $i != 17 # 1/2 MB should be enough
6960       do
6961         i=`expr $i + 1`
6962         teststring=$teststring$teststring
6963       done
6964       # Only check the string length outside the loop.
6965       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6966       teststring=
6967       # Add a significant safety factor because C++ compilers can tack on
6968       # massive amounts of additional arguments before passing them to the
6969       # linker.  It appears as though 1/2 is a usable value.
6970       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6971     fi
6972     ;;
6973   esac
6974
6975 fi
6976
6977 if test -n $lt_cv_sys_max_cmd_len ; then
6978   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6979 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6980 else
6981   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6982 $as_echo "none" >&6; }
6983 fi
6984 max_cmd_len=$lt_cv_sys_max_cmd_len
6985
6986
6987
6988
6989
6990
6991 : ${CP="cp -f"}
6992 : ${MV="mv -f"}
6993 : ${RM="rm -f"}
6994
6995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6996 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6997 # Try some XSI features
6998 xsi_shell=no
6999 ( _lt_dummy="a/b/c"
7000   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
7001       = c,a/b,b/c, \
7002     && eval 'test $(( 1 + 1 )) -eq 2 \
7003     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
7004   && xsi_shell=yes
7005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
7006 $as_echo "$xsi_shell" >&6; }
7007
7008
7009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
7010 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
7011 lt_shell_append=no
7012 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
7013     >/dev/null 2>&1 \
7014   && lt_shell_append=yes
7015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
7016 $as_echo "$lt_shell_append" >&6; }
7017
7018
7019 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7020   lt_unset=unset
7021 else
7022   lt_unset=false
7023 fi
7024
7025
7026
7027
7028
7029 # test EBCDIC or ASCII
7030 case `echo X|tr X '\101'` in
7031  A) # ASCII based system
7032     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7033   lt_SP2NL='tr \040 \012'
7034   lt_NL2SP='tr \015\012 \040\040'
7035   ;;
7036  *) # EBCDIC based system
7037   lt_SP2NL='tr \100 \n'
7038   lt_NL2SP='tr \r\n \100\100'
7039   ;;
7040 esac
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
7051 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
7052 if ${lt_cv_to_host_file_cmd+:} false; then :
7053   $as_echo_n "(cached) " >&6
7054 else
7055   case $host in
7056   *-*-mingw* )
7057     case $build in
7058       *-*-mingw* ) # actually msys
7059         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
7060         ;;
7061       *-*-cygwin* )
7062         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
7063         ;;
7064       * ) # otherwise, assume *nix
7065         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
7066         ;;
7067     esac
7068     ;;
7069   *-*-cygwin* )
7070     case $build in
7071       *-*-mingw* ) # actually msys
7072         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
7073         ;;
7074       *-*-cygwin* )
7075         lt_cv_to_host_file_cmd=func_convert_file_noop
7076         ;;
7077       * ) # otherwise, assume *nix
7078         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
7079         ;;
7080     esac
7081     ;;
7082   * ) # unhandled hosts (and "normal" native builds)
7083     lt_cv_to_host_file_cmd=func_convert_file_noop
7084     ;;
7085 esac
7086
7087 fi
7088
7089 to_host_file_cmd=$lt_cv_to_host_file_cmd
7090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
7091 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
7092
7093
7094
7095
7096
7097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
7098 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
7099 if ${lt_cv_to_tool_file_cmd+:} false; then :
7100   $as_echo_n "(cached) " >&6
7101 else
7102   #assume ordinary cross tools, or native build.
7103 lt_cv_to_tool_file_cmd=func_convert_file_noop
7104 case $host in
7105   *-*-mingw* )
7106     case $build in
7107       *-*-mingw* ) # actually msys
7108         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
7109         ;;
7110     esac
7111     ;;
7112 esac
7113
7114 fi
7115
7116 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
7117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
7118 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
7119
7120
7121
7122
7123
7124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7125 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7126 if ${lt_cv_ld_reload_flag+:} false; then :
7127   $as_echo_n "(cached) " >&6
7128 else
7129   lt_cv_ld_reload_flag='-r'
7130 fi
7131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7132 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7133 reload_flag=$lt_cv_ld_reload_flag
7134 case $reload_flag in
7135 "" | " "*) ;;
7136 *) reload_flag=" $reload_flag" ;;
7137 esac
7138 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7139 case $host_os in
7140   cygwin* | mingw* | pw32* | cegcc*)
7141     if test "$GCC" != yes; then
7142       reload_cmds=false
7143     fi
7144     ;;
7145   darwin*)
7146     if test "$GCC" = yes; then
7147       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7148     else
7149       reload_cmds='$LD$reload_flag -o $output$reload_objs'
7150     fi
7151     ;;
7152 esac
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162 if test -n "$ac_tool_prefix"; then
7163   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7164 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7166 $as_echo_n "checking for $ac_word... " >&6; }
7167 if ${ac_cv_prog_OBJDUMP+:} false; then :
7168   $as_echo_n "(cached) " >&6
7169 else
7170   if test -n "$OBJDUMP"; then
7171   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7172 else
7173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7174 for as_dir in $PATH
7175 do
7176   IFS=$as_save_IFS
7177   test -z "$as_dir" && as_dir=.
7178     for ac_exec_ext in '' $ac_executable_extensions; do
7179   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7180     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7181     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7182     break 2
7183   fi
7184 done
7185   done
7186 IFS=$as_save_IFS
7187
7188 fi
7189 fi
7190 OBJDUMP=$ac_cv_prog_OBJDUMP
7191 if test -n "$OBJDUMP"; then
7192   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7193 $as_echo "$OBJDUMP" >&6; }
7194 else
7195   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7196 $as_echo "no" >&6; }
7197 fi
7198
7199
7200 fi
7201 if test -z "$ac_cv_prog_OBJDUMP"; then
7202   ac_ct_OBJDUMP=$OBJDUMP
7203   # Extract the first word of "objdump", so it can be a program name with args.
7204 set dummy objdump; ac_word=$2
7205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7206 $as_echo_n "checking for $ac_word... " >&6; }
7207 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7208   $as_echo_n "(cached) " >&6
7209 else
7210   if test -n "$ac_ct_OBJDUMP"; then
7211   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7212 else
7213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7214 for as_dir in $PATH
7215 do
7216   IFS=$as_save_IFS
7217   test -z "$as_dir" && as_dir=.
7218     for ac_exec_ext in '' $ac_executable_extensions; do
7219   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7220     ac_cv_prog_ac_ct_OBJDUMP="objdump"
7221     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7222     break 2
7223   fi
7224 done
7225   done
7226 IFS=$as_save_IFS
7227
7228 fi
7229 fi
7230 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7231 if test -n "$ac_ct_OBJDUMP"; then
7232   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7233 $as_echo "$ac_ct_OBJDUMP" >&6; }
7234 else
7235   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7236 $as_echo "no" >&6; }
7237 fi
7238
7239   if test "x$ac_ct_OBJDUMP" = x; then
7240     OBJDUMP="false"
7241   else
7242     case $cross_compiling:$ac_tool_warned in
7243 yes:)
7244 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7245 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7246 ac_tool_warned=yes ;;
7247 esac
7248     OBJDUMP=$ac_ct_OBJDUMP
7249   fi
7250 else
7251   OBJDUMP="$ac_cv_prog_OBJDUMP"
7252 fi
7253
7254 test -z "$OBJDUMP" && OBJDUMP=objdump
7255
7256
7257
7258
7259
7260
7261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7262 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
7263 if ${lt_cv_deplibs_check_method+:} false; then :
7264   $as_echo_n "(cached) " >&6
7265 else
7266   lt_cv_file_magic_cmd='$MAGIC_CMD'
7267 lt_cv_file_magic_test_file=
7268 lt_cv_deplibs_check_method='unknown'
7269 # Need to set the preceding variable on all platforms that support
7270 # interlibrary dependencies.
7271 # 'none' -- dependencies not supported.
7272 # `unknown' -- same as none, but documents that we really don't know.
7273 # 'pass_all' -- all dependencies passed with no checks.
7274 # 'test_compile' -- check by making test program.
7275 # 'file_magic [[regex]]' -- check by looking for files in library path
7276 # which responds to the $file_magic_cmd with a given extended regex.
7277 # If you have `file' or equivalent on your system and you're not sure
7278 # whether `pass_all' will *always* work, you probably want this one.
7279
7280 case $host_os in
7281 aix[4-9]*)
7282   lt_cv_deplibs_check_method=pass_all
7283   ;;
7284
7285 beos*)
7286   lt_cv_deplibs_check_method=pass_all
7287   ;;
7288
7289 bsdi[45]*)
7290   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7291   lt_cv_file_magic_cmd='/usr/bin/file -L'
7292   lt_cv_file_magic_test_file=/shlib/libc.so
7293   ;;
7294
7295 cygwin*)
7296   # func_win32_libid is a shell function defined in ltmain.sh
7297   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7298   lt_cv_file_magic_cmd='func_win32_libid'
7299   ;;
7300
7301 mingw* | pw32*)
7302   # Base MSYS/MinGW do not provide the 'file' command needed by
7303   # func_win32_libid shell function, so use a weaker test based on 'objdump',
7304   # unless we find 'file', for example because we are cross-compiling.
7305   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7306   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
7307     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7308     lt_cv_file_magic_cmd='func_win32_libid'
7309   else
7310     # Keep this pattern in sync with the one in func_win32_libid.
7311     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
7312     lt_cv_file_magic_cmd='$OBJDUMP -f'
7313   fi
7314   ;;
7315
7316 cegcc*)
7317   # use the weaker test based on 'objdump'. See mingw*.
7318   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7319   lt_cv_file_magic_cmd='$OBJDUMP -f'
7320   ;;
7321
7322 darwin* | rhapsody*)
7323   lt_cv_deplibs_check_method=pass_all
7324   ;;
7325
7326 freebsd* | dragonfly*)
7327   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7328     case $host_cpu in
7329     i*86 )
7330       # Not sure whether the presence of OpenBSD here was a mistake.
7331       # Let's accept both of them until this is cleared up.
7332       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7333       lt_cv_file_magic_cmd=/usr/bin/file
7334       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7335       ;;
7336     esac
7337   else
7338     lt_cv_deplibs_check_method=pass_all
7339   fi
7340   ;;
7341
7342 gnu*)
7343   lt_cv_deplibs_check_method=pass_all
7344   ;;
7345
7346 haiku*)
7347   lt_cv_deplibs_check_method=pass_all
7348   ;;
7349
7350 hpux10.20* | hpux11*)
7351   lt_cv_file_magic_cmd=/usr/bin/file
7352   case $host_cpu in
7353   ia64*)
7354     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7355     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7356     ;;
7357   hppa*64*)
7358     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]'
7359     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7360     ;;
7361   *)
7362     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7363     lt_cv_file_magic_test_file=/usr/lib/libc.sl
7364     ;;
7365   esac
7366   ;;
7367
7368 interix[3-9]*)
7369   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7370   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7371   ;;
7372
7373 irix5* | irix6* | nonstopux*)
7374   case $LD in
7375   *-32|*"-32 ") libmagic=32-bit;;
7376   *-n32|*"-n32 ") libmagic=N32;;
7377   *-64|*"-64 ") libmagic=64-bit;;
7378   *) libmagic=never-match;;
7379   esac
7380   lt_cv_deplibs_check_method=pass_all
7381   ;;
7382
7383 # This must be glibc/ELF.
7384 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7385   lt_cv_deplibs_check_method=pass_all
7386   ;;
7387
7388 netbsd* | netbsdelf*-gnu)
7389   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7390     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7391   else
7392     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7393   fi
7394   ;;
7395
7396 newos6*)
7397   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7398   lt_cv_file_magic_cmd=/usr/bin/file
7399   lt_cv_file_magic_test_file=/usr/lib/libnls.so
7400   ;;
7401
7402 *nto* | *qnx*)
7403   lt_cv_deplibs_check_method=pass_all
7404   ;;
7405
7406 openbsd*)
7407   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7408     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7409   else
7410     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7411   fi
7412   ;;
7413
7414 osf3* | osf4* | osf5*)
7415   lt_cv_deplibs_check_method=pass_all
7416   ;;
7417
7418 rdos*)
7419   lt_cv_deplibs_check_method=pass_all
7420   ;;
7421
7422 solaris*)
7423   lt_cv_deplibs_check_method=pass_all
7424   ;;
7425
7426 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7427   lt_cv_deplibs_check_method=pass_all
7428   ;;
7429
7430 sysv4 | sysv4.3*)
7431   case $host_vendor in
7432   motorola)
7433     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]'
7434     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7435     ;;
7436   ncr)
7437     lt_cv_deplibs_check_method=pass_all
7438     ;;
7439   sequent)
7440     lt_cv_file_magic_cmd='/bin/file'
7441     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7442     ;;
7443   sni)
7444     lt_cv_file_magic_cmd='/bin/file'
7445     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7446     lt_cv_file_magic_test_file=/lib/libc.so
7447     ;;
7448   siemens)
7449     lt_cv_deplibs_check_method=pass_all
7450     ;;
7451   pc)
7452     lt_cv_deplibs_check_method=pass_all
7453     ;;
7454   esac
7455   ;;
7456
7457 tpf*)
7458   lt_cv_deplibs_check_method=pass_all
7459   ;;
7460 esac
7461
7462 fi
7463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7464 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7465
7466 file_magic_glob=
7467 want_nocaseglob=no
7468 if test "$build" = "$host"; then
7469   case $host_os in
7470   mingw* | pw32*)
7471     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
7472       want_nocaseglob=yes
7473     else
7474       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
7475     fi
7476     ;;
7477   esac
7478 fi
7479
7480 file_magic_cmd=$lt_cv_file_magic_cmd
7481 deplibs_check_method=$lt_cv_deplibs_check_method
7482 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505 if test -n "$ac_tool_prefix"; then
7506   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7507 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7509 $as_echo_n "checking for $ac_word... " >&6; }
7510 if ${ac_cv_prog_DLLTOOL+:} false; then :
7511   $as_echo_n "(cached) " >&6
7512 else
7513   if test -n "$DLLTOOL"; then
7514   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7515 else
7516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7517 for as_dir in $PATH
7518 do
7519   IFS=$as_save_IFS
7520   test -z "$as_dir" && as_dir=.
7521     for ac_exec_ext in '' $ac_executable_extensions; do
7522   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7523     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7524     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7525     break 2
7526   fi
7527 done
7528   done
7529 IFS=$as_save_IFS
7530
7531 fi
7532 fi
7533 DLLTOOL=$ac_cv_prog_DLLTOOL
7534 if test -n "$DLLTOOL"; then
7535   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7536 $as_echo "$DLLTOOL" >&6; }
7537 else
7538   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7539 $as_echo "no" >&6; }
7540 fi
7541
7542
7543 fi
7544 if test -z "$ac_cv_prog_DLLTOOL"; then
7545   ac_ct_DLLTOOL=$DLLTOOL
7546   # Extract the first word of "dlltool", so it can be a program name with args.
7547 set dummy dlltool; ac_word=$2
7548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7549 $as_echo_n "checking for $ac_word... " >&6; }
7550 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7551   $as_echo_n "(cached) " >&6
7552 else
7553   if test -n "$ac_ct_DLLTOOL"; then
7554   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7555 else
7556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7557 for as_dir in $PATH
7558 do
7559   IFS=$as_save_IFS
7560   test -z "$as_dir" && as_dir=.
7561     for ac_exec_ext in '' $ac_executable_extensions; do
7562   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7563     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7564     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7565     break 2
7566   fi
7567 done
7568   done
7569 IFS=$as_save_IFS
7570
7571 fi
7572 fi
7573 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7574 if test -n "$ac_ct_DLLTOOL"; then
7575   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7576 $as_echo "$ac_ct_DLLTOOL" >&6; }
7577 else
7578   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7579 $as_echo "no" >&6; }
7580 fi
7581
7582   if test "x$ac_ct_DLLTOOL" = x; then
7583     DLLTOOL="false"
7584   else
7585     case $cross_compiling:$ac_tool_warned in
7586 yes:)
7587 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7588 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7589 ac_tool_warned=yes ;;
7590 esac
7591     DLLTOOL=$ac_ct_DLLTOOL
7592   fi
7593 else
7594   DLLTOOL="$ac_cv_prog_DLLTOOL"
7595 fi
7596
7597 test -z "$DLLTOOL" && DLLTOOL=dlltool
7598
7599
7600
7601
7602
7603
7604
7605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
7606 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
7607 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
7608   $as_echo_n "(cached) " >&6
7609 else
7610   lt_cv_sharedlib_from_linklib_cmd='unknown'
7611
7612 case $host_os in
7613 cygwin* | mingw* | pw32* | cegcc*)
7614   # two different shell functions defined in ltmain.sh
7615   # decide which to use based on capabilities of $DLLTOOL
7616   case `$DLLTOOL --help 2>&1` in
7617   *--identify-strict*)
7618     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
7619     ;;
7620   *)
7621     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
7622     ;;
7623   esac
7624   ;;
7625 *)
7626   # fallback: assume linklib IS sharedlib
7627   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
7628   ;;
7629 esac
7630
7631 fi
7632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
7633 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7634 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
7635 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
7636
7637
7638
7639
7640
7641
7642
7643
7644 if test -n "$ac_tool_prefix"; then
7645   for ac_prog in ar
7646   do
7647     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7648 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7650 $as_echo_n "checking for $ac_word... " >&6; }
7651 if ${ac_cv_prog_AR+:} false; then :
7652   $as_echo_n "(cached) " >&6
7653 else
7654   if test -n "$AR"; then
7655   ac_cv_prog_AR="$AR" # Let the user override the test.
7656 else
7657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7658 for as_dir in $PATH
7659 do
7660   IFS=$as_save_IFS
7661   test -z "$as_dir" && as_dir=.
7662     for ac_exec_ext in '' $ac_executable_extensions; do
7663   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7664     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
7665     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7666     break 2
7667   fi
7668 done
7669   done
7670 IFS=$as_save_IFS
7671
7672 fi
7673 fi
7674 AR=$ac_cv_prog_AR
7675 if test -n "$AR"; then
7676   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7677 $as_echo "$AR" >&6; }
7678 else
7679   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7680 $as_echo "no" >&6; }
7681 fi
7682
7683
7684     test -n "$AR" && break
7685   done
7686 fi
7687 if test -z "$AR"; then
7688   ac_ct_AR=$AR
7689   for ac_prog in ar
7690 do
7691   # Extract the first word of "$ac_prog", so it can be a program name with args.
7692 set dummy $ac_prog; ac_word=$2
7693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7694 $as_echo_n "checking for $ac_word... " >&6; }
7695 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7696   $as_echo_n "(cached) " >&6
7697 else
7698   if test -n "$ac_ct_AR"; then
7699   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7700 else
7701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7702 for as_dir in $PATH
7703 do
7704   IFS=$as_save_IFS
7705   test -z "$as_dir" && as_dir=.
7706     for ac_exec_ext in '' $ac_executable_extensions; do
7707   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7708     ac_cv_prog_ac_ct_AR="$ac_prog"
7709     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7710     break 2
7711   fi
7712 done
7713   done
7714 IFS=$as_save_IFS
7715
7716 fi
7717 fi
7718 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7719 if test -n "$ac_ct_AR"; then
7720   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7721 $as_echo "$ac_ct_AR" >&6; }
7722 else
7723   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7724 $as_echo "no" >&6; }
7725 fi
7726
7727
7728   test -n "$ac_ct_AR" && break
7729 done
7730
7731   if test "x$ac_ct_AR" = x; then
7732     AR="false"
7733   else
7734     case $cross_compiling:$ac_tool_warned in
7735 yes:)
7736 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7737 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7738 ac_tool_warned=yes ;;
7739 esac
7740     AR=$ac_ct_AR
7741   fi
7742 fi
7743
7744 : ${AR=ar}
7745 : ${AR_FLAGS=cru}
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7758 $as_echo_n "checking for archiver @FILE support... " >&6; }
7759 if ${lt_cv_ar_at_file+:} false; then :
7760   $as_echo_n "(cached) " >&6
7761 else
7762   lt_cv_ar_at_file=no
7763    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7764 /* end confdefs.h.  */
7765
7766 int
7767 main ()
7768 {
7769
7770   ;
7771   return 0;
7772 }
7773 _ACEOF
7774 if ac_fn_c_try_compile "$LINENO"; then :
7775   echo conftest.$ac_objext > conftest.lst
7776       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7777       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7778   (eval $lt_ar_try) 2>&5
7779   ac_status=$?
7780   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7781   test $ac_status = 0; }
7782       if test "$ac_status" -eq 0; then
7783         # Ensure the archiver fails upon bogus file names.
7784         rm -f conftest.$ac_objext libconftest.a
7785         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7786   (eval $lt_ar_try) 2>&5
7787   ac_status=$?
7788   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7789   test $ac_status = 0; }
7790         if test "$ac_status" -ne 0; then
7791           lt_cv_ar_at_file=@
7792         fi
7793       fi
7794       rm -f conftest.* libconftest.a
7795
7796 fi
7797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7798
7799 fi
7800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7801 $as_echo "$lt_cv_ar_at_file" >&6; }
7802
7803 if test "x$lt_cv_ar_at_file" = xno; then
7804   archiver_list_spec=
7805 else
7806   archiver_list_spec=$lt_cv_ar_at_file
7807 fi
7808
7809
7810
7811
7812
7813
7814
7815 if test -n "$ac_tool_prefix"; then
7816   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7817 set dummy ${ac_tool_prefix}strip; ac_word=$2
7818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7819 $as_echo_n "checking for $ac_word... " >&6; }
7820 if ${ac_cv_prog_STRIP+:} false; then :
7821   $as_echo_n "(cached) " >&6
7822 else
7823   if test -n "$STRIP"; then
7824   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7825 else
7826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7827 for as_dir in $PATH
7828 do
7829   IFS=$as_save_IFS
7830   test -z "$as_dir" && as_dir=.
7831     for ac_exec_ext in '' $ac_executable_extensions; do
7832   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7833     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7834     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7835     break 2
7836   fi
7837 done
7838   done
7839 IFS=$as_save_IFS
7840
7841 fi
7842 fi
7843 STRIP=$ac_cv_prog_STRIP
7844 if test -n "$STRIP"; then
7845   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7846 $as_echo "$STRIP" >&6; }
7847 else
7848   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7849 $as_echo "no" >&6; }
7850 fi
7851
7852
7853 fi
7854 if test -z "$ac_cv_prog_STRIP"; then
7855   ac_ct_STRIP=$STRIP
7856   # Extract the first word of "strip", so it can be a program name with args.
7857 set dummy strip; ac_word=$2
7858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7859 $as_echo_n "checking for $ac_word... " >&6; }
7860 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7861   $as_echo_n "(cached) " >&6
7862 else
7863   if test -n "$ac_ct_STRIP"; then
7864   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7865 else
7866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7867 for as_dir in $PATH
7868 do
7869   IFS=$as_save_IFS
7870   test -z "$as_dir" && as_dir=.
7871     for ac_exec_ext in '' $ac_executable_extensions; do
7872   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7873     ac_cv_prog_ac_ct_STRIP="strip"
7874     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7875     break 2
7876   fi
7877 done
7878   done
7879 IFS=$as_save_IFS
7880
7881 fi
7882 fi
7883 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7884 if test -n "$ac_ct_STRIP"; then
7885   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7886 $as_echo "$ac_ct_STRIP" >&6; }
7887 else
7888   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7889 $as_echo "no" >&6; }
7890 fi
7891
7892   if test "x$ac_ct_STRIP" = x; then
7893     STRIP=":"
7894   else
7895     case $cross_compiling:$ac_tool_warned in
7896 yes:)
7897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7898 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7899 ac_tool_warned=yes ;;
7900 esac
7901     STRIP=$ac_ct_STRIP
7902   fi
7903 else
7904   STRIP="$ac_cv_prog_STRIP"
7905 fi
7906
7907 test -z "$STRIP" && STRIP=:
7908
7909
7910
7911
7912
7913
7914 if test -n "$ac_tool_prefix"; then
7915   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7916 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7918 $as_echo_n "checking for $ac_word... " >&6; }
7919 if ${ac_cv_prog_RANLIB+:} false; then :
7920   $as_echo_n "(cached) " >&6
7921 else
7922   if test -n "$RANLIB"; then
7923   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7924 else
7925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7926 for as_dir in $PATH
7927 do
7928   IFS=$as_save_IFS
7929   test -z "$as_dir" && as_dir=.
7930     for ac_exec_ext in '' $ac_executable_extensions; do
7931   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7932     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7933     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7934     break 2
7935   fi
7936 done
7937   done
7938 IFS=$as_save_IFS
7939
7940 fi
7941 fi
7942 RANLIB=$ac_cv_prog_RANLIB
7943 if test -n "$RANLIB"; then
7944   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7945 $as_echo "$RANLIB" >&6; }
7946 else
7947   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7948 $as_echo "no" >&6; }
7949 fi
7950
7951
7952 fi
7953 if test -z "$ac_cv_prog_RANLIB"; then
7954   ac_ct_RANLIB=$RANLIB
7955   # Extract the first word of "ranlib", so it can be a program name with args.
7956 set dummy ranlib; ac_word=$2
7957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7958 $as_echo_n "checking for $ac_word... " >&6; }
7959 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7960   $as_echo_n "(cached) " >&6
7961 else
7962   if test -n "$ac_ct_RANLIB"; then
7963   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7964 else
7965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7966 for as_dir in $PATH
7967 do
7968   IFS=$as_save_IFS
7969   test -z "$as_dir" && as_dir=.
7970     for ac_exec_ext in '' $ac_executable_extensions; do
7971   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7972     ac_cv_prog_ac_ct_RANLIB="ranlib"
7973     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7974     break 2
7975   fi
7976 done
7977   done
7978 IFS=$as_save_IFS
7979
7980 fi
7981 fi
7982 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7983 if test -n "$ac_ct_RANLIB"; then
7984   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7985 $as_echo "$ac_ct_RANLIB" >&6; }
7986 else
7987   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7988 $as_echo "no" >&6; }
7989 fi
7990
7991   if test "x$ac_ct_RANLIB" = x; then
7992     RANLIB=":"
7993   else
7994     case $cross_compiling:$ac_tool_warned in
7995 yes:)
7996 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7997 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7998 ac_tool_warned=yes ;;
7999 esac
8000     RANLIB=$ac_ct_RANLIB
8001   fi
8002 else
8003   RANLIB="$ac_cv_prog_RANLIB"
8004 fi
8005
8006 test -z "$RANLIB" && RANLIB=:
8007
8008
8009
8010
8011
8012
8013 # Determine commands to create old-style static archives.
8014 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
8015 old_postinstall_cmds='chmod 644 $oldlib'
8016 old_postuninstall_cmds=
8017
8018 if test -n "$RANLIB"; then
8019   case $host_os in
8020   openbsd*)
8021     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
8022     ;;
8023   *)
8024     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
8025     ;;
8026   esac
8027   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
8028 fi
8029
8030 case $host_os in
8031   darwin*)
8032     lock_old_archive_extraction=yes ;;
8033   *)
8034     lock_old_archive_extraction=no ;;
8035 esac
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075 # If no C compiler was specified, use CC.
8076 LTCC=${LTCC-"$CC"}
8077
8078 # If no C compiler flags were specified, use CFLAGS.
8079 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8080
8081 # Allow CC to be a program name with arguments.
8082 compiler=$CC
8083
8084
8085 # Check for command to grab the raw symbol name followed by C symbol from nm.
8086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
8087 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
8088 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
8089   $as_echo_n "(cached) " >&6
8090 else
8091
8092 # These are sane defaults that work on at least a few old systems.
8093 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
8094
8095 # Character class describing NM global symbol codes.
8096 symcode='[BCDEGRST]'
8097
8098 # Regexp to match symbols that can be accessed directly from C.
8099 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
8100
8101 # Define system-specific variables.
8102 case $host_os in
8103 aix*)
8104   symcode='[BCDT]'
8105   ;;
8106 cygwin* | mingw* | pw32* | cegcc*)
8107   symcode='[ABCDGISTW]'
8108   ;;
8109 hpux*)
8110   if test "$host_cpu" = ia64; then
8111     symcode='[ABCDEGRST]'
8112   fi
8113   ;;
8114 irix* | nonstopux*)
8115   symcode='[BCDEGRST]'
8116   ;;
8117 osf*)
8118   symcode='[BCDEGQRST]'
8119   ;;
8120 solaris*)
8121   symcode='[BDRT]'
8122   ;;
8123 sco3.2v5*)
8124   symcode='[DT]'
8125   ;;
8126 sysv4.2uw2*)
8127   symcode='[DT]'
8128   ;;
8129 sysv5* | sco5v6* | unixware* | OpenUNIX*)
8130   symcode='[ABDT]'
8131   ;;
8132 sysv4)
8133   symcode='[DFNSTU]'
8134   ;;
8135 esac
8136
8137 # If we're using GNU nm, then use its standard symbol codes.
8138 case `$NM -V 2>&1` in
8139 *GNU* | *'with BFD'*)
8140   symcode='[ABCDGIRSTW]' ;;
8141 esac
8142
8143 # Transform an extracted symbol line into a proper C declaration.
8144 # Some systems (esp. on ia64) link data and code symbols differently,
8145 # so use this general approach.
8146 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8147
8148 # Transform an extracted symbol line into symbol name and symbol address
8149 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
8150 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'"
8151
8152 # Handle CRLF in mingw tool chain
8153 opt_cr=
8154 case $build_os in
8155 mingw*)
8156   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8157   ;;
8158 esac
8159
8160 # Try without a prefix underscore, then with it.
8161 for ac_symprfx in "" "_"; do
8162
8163   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8164   symxfrm="\\1 $ac_symprfx\\2 \\2"
8165
8166   # Write the raw and C identifiers.
8167   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8168     # Fake it for dumpbin and say T for any non-static function
8169     # and D for any global variable.
8170     # Also find C++ and __fastcall symbols from MSVC++,
8171     # which start with @ or ?.
8172     lt_cv_sys_global_symbol_pipe="$AWK '"\
8173 "     {last_section=section; section=\$ 3};"\
8174 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
8175 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8176 "     \$ 0!~/External *\|/{next};"\
8177 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8178 "     {if(hide[section]) next};"\
8179 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
8180 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
8181 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
8182 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
8183 "     ' prfx=^$ac_symprfx"
8184   else
8185     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8186   fi
8187   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
8188
8189   # Check to see that the pipe works correctly.
8190   pipe_works=no
8191
8192   rm -f conftest*
8193   cat > conftest.$ac_ext <<_LT_EOF
8194 #ifdef __cplusplus
8195 extern "C" {
8196 #endif
8197 char nm_test_var;
8198 void nm_test_func(void);
8199 void nm_test_func(void){}
8200 #ifdef __cplusplus
8201 }
8202 #endif
8203 int main(){nm_test_var='a';nm_test_func();return(0);}
8204 _LT_EOF
8205
8206   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8207   (eval $ac_compile) 2>&5
8208   ac_status=$?
8209   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8210   test $ac_status = 0; }; then
8211     # Now try to grab the symbols.
8212     nlist=conftest.nm
8213     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
8214   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
8215   ac_status=$?
8216   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8217   test $ac_status = 0; } && test -s "$nlist"; then
8218       # Try sorting and uniquifying the output.
8219       if sort "$nlist" | uniq > "$nlist"T; then
8220         mv -f "$nlist"T "$nlist"
8221       else
8222         rm -f "$nlist"T
8223       fi
8224
8225       # Make sure that we snagged all the symbols we need.
8226       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
8227         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
8228           cat <<_LT_EOF > conftest.$ac_ext
8229 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
8230 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
8231 /* DATA imports from DLLs on WIN32 con't be const, because runtime
8232    relocations are performed -- see ld's documentation on pseudo-relocs.  */
8233 # define LT_DLSYM_CONST
8234 #elif defined(__osf__)
8235 /* This system does not cope well with relocations in const data.  */
8236 # define LT_DLSYM_CONST
8237 #else
8238 # define LT_DLSYM_CONST const
8239 #endif
8240
8241 #ifdef __cplusplus
8242 extern "C" {
8243 #endif
8244
8245 _LT_EOF
8246           # Now generate the symbol file.
8247           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8248
8249           cat <<_LT_EOF >> conftest.$ac_ext
8250
8251 /* The mapping between symbol names and symbols.  */
8252 LT_DLSYM_CONST struct {
8253   const char *name;
8254   void       *address;
8255 }
8256 lt__PROGRAM__LTX_preloaded_symbols[] =
8257 {
8258   { "@PROGRAM@", (void *) 0 },
8259 _LT_EOF
8260           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
8261           cat <<\_LT_EOF >> conftest.$ac_ext
8262   {0, (void *) 0}
8263 };
8264
8265 /* This works around a problem in FreeBSD linker */
8266 #ifdef FREEBSD_WORKAROUND
8267 static const void *lt_preloaded_setup() {
8268   return lt__PROGRAM__LTX_preloaded_symbols;
8269 }
8270 #endif
8271
8272 #ifdef __cplusplus
8273 }
8274 #endif
8275 _LT_EOF
8276           # Now try linking the two files.
8277           mv conftest.$ac_objext conftstm.$ac_objext
8278           lt_globsym_save_LIBS=$LIBS
8279           lt_globsym_save_CFLAGS=$CFLAGS
8280           LIBS="conftstm.$ac_objext"
8281           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8282           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8283   (eval $ac_link) 2>&5
8284   ac_status=$?
8285   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8286   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
8287             pipe_works=yes
8288           fi
8289           LIBS=$lt_globsym_save_LIBS
8290           CFLAGS=$lt_globsym_save_CFLAGS
8291         else
8292           echo "cannot find nm_test_func in $nlist" >&5
8293         fi
8294       else
8295         echo "cannot find nm_test_var in $nlist" >&5
8296       fi
8297     else
8298       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8299     fi
8300   else
8301     echo "$progname: failed program was:" >&5
8302     cat conftest.$ac_ext >&5
8303   fi
8304   rm -rf conftest* conftst*
8305
8306   # Do not use the global_symbol_pipe unless it works.
8307   if test "$pipe_works" = yes; then
8308     break
8309   else
8310     lt_cv_sys_global_symbol_pipe=
8311   fi
8312 done
8313
8314 fi
8315
8316 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8317   lt_cv_sys_global_symbol_to_cdecl=
8318 fi
8319 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8320   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8321 $as_echo "failed" >&6; }
8322 else
8323   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8324 $as_echo "ok" >&6; }
8325 fi
8326
8327 # Response file support.
8328 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8329   nm_file_list_spec='@'
8330 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
8331   nm_file_list_spec='@'
8332 fi
8333
8334
8335
8336
8337
8338
8339
8340
8341
8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
8361 $as_echo_n "checking for sysroot... " >&6; }
8362
8363 # Check whether --with-sysroot was given.
8364 if test "${with_sysroot+set}" = set; then :
8365   withval=$with_sysroot;
8366 else
8367   with_sysroot=no
8368 fi
8369
8370
8371 lt_sysroot=
8372 case ${with_sysroot} in #(
8373  yes)
8374    if test "$GCC" = yes; then
8375      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
8376    fi
8377    ;; #(
8378  /*)
8379    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
8380    ;; #(
8381  no|'')
8382    ;; #(
8383  *)
8384    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
8385 $as_echo "${with_sysroot}" >&6; }
8386    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
8387    ;;
8388 esac
8389
8390  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
8391 $as_echo "${lt_sysroot:-no}" >&6; }
8392
8393
8394
8395
8396
8397 # Check whether --enable-libtool-lock was given.
8398 if test "${enable_libtool_lock+set}" = set; then :
8399   enableval=$enable_libtool_lock;
8400 fi
8401
8402 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8403
8404 # Some flags need to be propagated to the compiler or linker for good
8405 # libtool support.
8406 case $host in
8407 ia64-*-hpux*)
8408   # Find out which ABI we are using.
8409   echo 'int i;' > conftest.$ac_ext
8410   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8411   (eval $ac_compile) 2>&5
8412   ac_status=$?
8413   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8414   test $ac_status = 0; }; then
8415     case `/usr/bin/file conftest.$ac_objext` in
8416       *ELF-32*)
8417         HPUX_IA64_MODE="32"
8418         ;;
8419       *ELF-64*)
8420         HPUX_IA64_MODE="64"
8421         ;;
8422     esac
8423   fi
8424   rm -rf conftest*
8425   ;;
8426 *-*-irix6*)
8427   # Find out which ABI we are using.
8428   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8429   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8430   (eval $ac_compile) 2>&5
8431   ac_status=$?
8432   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8433   test $ac_status = 0; }; then
8434     if test "$lt_cv_prog_gnu_ld" = yes; then
8435       case `/usr/bin/file conftest.$ac_objext` in
8436         *32-bit*)
8437           LD="${LD-ld} -melf32bsmip"
8438           ;;
8439         *N32*)
8440           LD="${LD-ld} -melf32bmipn32"
8441           ;;
8442         *64-bit*)
8443           LD="${LD-ld} -melf64bmip"
8444         ;;
8445       esac
8446     else
8447       case `/usr/bin/file conftest.$ac_objext` in
8448         *32-bit*)
8449           LD="${LD-ld} -32"
8450           ;;
8451         *N32*)
8452           LD="${LD-ld} -n32"
8453           ;;
8454         *64-bit*)
8455           LD="${LD-ld} -64"
8456           ;;
8457       esac
8458     fi
8459   fi
8460   rm -rf conftest*
8461   ;;
8462
8463 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
8464 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8465   # Find out which ABI we are using.
8466   echo 'int i;' > conftest.$ac_ext
8467   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8468   (eval $ac_compile) 2>&5
8469   ac_status=$?
8470   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8471   test $ac_status = 0; }; then
8472     case `/usr/bin/file conftest.o` in
8473       *32-bit*)
8474         case $host in
8475           x86_64-*kfreebsd*-gnu)
8476             LD="${LD-ld} -m elf_i386_fbsd"
8477             ;;
8478           x86_64-*linux*)
8479             LD="${LD-ld} -m elf_i386"
8480             ;;
8481           ppc64-*linux*|powerpc64-*linux*)
8482             LD="${LD-ld} -m elf32ppclinux"
8483             ;;
8484           s390x-*linux*)
8485             LD="${LD-ld} -m elf_s390"
8486             ;;
8487           sparc64-*linux*)
8488             LD="${LD-ld} -m elf32_sparc"
8489             ;;
8490         esac
8491         ;;
8492       *64-bit*)
8493         case $host in
8494           x86_64-*kfreebsd*-gnu)
8495             LD="${LD-ld} -m elf_x86_64_fbsd"
8496             ;;
8497           x86_64-*linux*)
8498             LD="${LD-ld} -m elf_x86_64"
8499             ;;
8500           ppc*-*linux*|powerpc*-*linux*)
8501             LD="${LD-ld} -m elf64ppc"
8502             ;;
8503           s390*-*linux*|s390*-*tpf*)
8504             LD="${LD-ld} -m elf64_s390"
8505             ;;
8506           sparc*-*linux*)
8507             LD="${LD-ld} -m elf64_sparc"
8508             ;;
8509         esac
8510         ;;
8511     esac
8512   fi
8513   rm -rf conftest*
8514   ;;
8515
8516 *-*-sco3.2v5*)
8517   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8518   SAVE_CFLAGS="$CFLAGS"
8519   CFLAGS="$CFLAGS -belf"
8520   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8521 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8522 if ${lt_cv_cc_needs_belf+:} false; then :
8523   $as_echo_n "(cached) " >&6
8524 else
8525   ac_ext=c
8526 ac_cpp='$CPP $CPPFLAGS'
8527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8530
8531      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8532 /* end confdefs.h.  */
8533
8534 int
8535 main ()
8536 {
8537
8538   ;
8539   return 0;
8540 }
8541 _ACEOF
8542 if ac_fn_c_try_link "$LINENO"; then :
8543   lt_cv_cc_needs_belf=yes
8544 else
8545   lt_cv_cc_needs_belf=no
8546 fi
8547 rm -f core conftest.err conftest.$ac_objext \
8548     conftest$ac_exeext conftest.$ac_ext
8549      ac_ext=c
8550 ac_cpp='$CPP $CPPFLAGS'
8551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8554
8555 fi
8556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8557 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8558   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8559     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8560     CFLAGS="$SAVE_CFLAGS"
8561   fi
8562   ;;
8563 *-*solaris*)
8564   # Find out which ABI we are using.
8565   echo 'int i;' > conftest.$ac_ext
8566   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8567   (eval $ac_compile) 2>&5
8568   ac_status=$?
8569   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8570   test $ac_status = 0; }; then
8571     case `/usr/bin/file conftest.o` in
8572     *64-bit*)
8573       case $lt_cv_prog_gnu_ld in
8574       yes*)
8575         case $host in
8576         i?86-*-solaris*)
8577           LD="${LD-ld} -m elf_x86_64"
8578           ;;
8579         sparc*-*-solaris*)
8580           LD="${LD-ld} -m elf64_sparc"
8581           ;;
8582         esac
8583         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
8584         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
8585           LD="${LD-ld}_sol2"
8586         fi
8587         ;;
8588       *)
8589         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8590           LD="${LD-ld} -64"
8591         fi
8592         ;;
8593       esac
8594       ;;
8595     esac
8596   fi
8597   rm -rf conftest*
8598   ;;
8599 esac
8600
8601 need_locks="$enable_libtool_lock"
8602
8603 if test -n "$ac_tool_prefix"; then
8604   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
8605 set dummy ${ac_tool_prefix}mt; ac_word=$2
8606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8607 $as_echo_n "checking for $ac_word... " >&6; }
8608 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
8609   $as_echo_n "(cached) " >&6
8610 else
8611   if test -n "$MANIFEST_TOOL"; then
8612   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
8613 else
8614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8615 for as_dir in $PATH
8616 do
8617   IFS=$as_save_IFS
8618   test -z "$as_dir" && as_dir=.
8619     for ac_exec_ext in '' $ac_executable_extensions; do
8620   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8621     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
8622     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8623     break 2
8624   fi
8625 done
8626   done
8627 IFS=$as_save_IFS
8628
8629 fi
8630 fi
8631 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8632 if test -n "$MANIFEST_TOOL"; then
8633   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8634 $as_echo "$MANIFEST_TOOL" >&6; }
8635 else
8636   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8637 $as_echo "no" >&6; }
8638 fi
8639
8640
8641 fi
8642 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8643   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8644   # Extract the first word of "mt", so it can be a program name with args.
8645 set dummy mt; ac_word=$2
8646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8647 $as_echo_n "checking for $ac_word... " >&6; }
8648 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
8649   $as_echo_n "(cached) " >&6
8650 else
8651   if test -n "$ac_ct_MANIFEST_TOOL"; then
8652   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8653 else
8654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8655 for as_dir in $PATH
8656 do
8657   IFS=$as_save_IFS
8658   test -z "$as_dir" && as_dir=.
8659     for ac_exec_ext in '' $ac_executable_extensions; do
8660   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8661     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
8662     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8663     break 2
8664   fi
8665 done
8666   done
8667 IFS=$as_save_IFS
8668
8669 fi
8670 fi
8671 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8672 if test -n "$ac_ct_MANIFEST_TOOL"; then
8673   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8674 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8675 else
8676   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8677 $as_echo "no" >&6; }
8678 fi
8679
8680   if test "x$ac_ct_MANIFEST_TOOL" = x; then
8681     MANIFEST_TOOL=":"
8682   else
8683     case $cross_compiling:$ac_tool_warned in
8684 yes:)
8685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8686 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8687 ac_tool_warned=yes ;;
8688 esac
8689     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8690   fi
8691 else
8692   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8693 fi
8694
8695 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8697 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8698 if ${lt_cv_path_mainfest_tool+:} false; then :
8699   $as_echo_n "(cached) " >&6
8700 else
8701   lt_cv_path_mainfest_tool=no
8702   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8703   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8704   cat conftest.err >&5
8705   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8706     lt_cv_path_mainfest_tool=yes
8707   fi
8708   rm -f conftest*
8709 fi
8710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8711 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
8712 if test "x$lt_cv_path_mainfest_tool" != xyes; then
8713   MANIFEST_TOOL=:
8714 fi
8715
8716
8717
8718
8719
8720
8721   case $host_os in
8722     rhapsody* | darwin*)
8723     if test -n "$ac_tool_prefix"; then
8724   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8725 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8727 $as_echo_n "checking for $ac_word... " >&6; }
8728 if ${ac_cv_prog_DSYMUTIL+:} false; then :
8729   $as_echo_n "(cached) " >&6
8730 else
8731   if test -n "$DSYMUTIL"; then
8732   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8733 else
8734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8735 for as_dir in $PATH
8736 do
8737   IFS=$as_save_IFS
8738   test -z "$as_dir" && as_dir=.
8739     for ac_exec_ext in '' $ac_executable_extensions; do
8740   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8741     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8742     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8743     break 2
8744   fi
8745 done
8746   done
8747 IFS=$as_save_IFS
8748
8749 fi
8750 fi
8751 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8752 if test -n "$DSYMUTIL"; then
8753   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8754 $as_echo "$DSYMUTIL" >&6; }
8755 else
8756   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8757 $as_echo "no" >&6; }
8758 fi
8759
8760
8761 fi
8762 if test -z "$ac_cv_prog_DSYMUTIL"; then
8763   ac_ct_DSYMUTIL=$DSYMUTIL
8764   # Extract the first word of "dsymutil", so it can be a program name with args.
8765 set dummy dsymutil; ac_word=$2
8766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8767 $as_echo_n "checking for $ac_word... " >&6; }
8768 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8769   $as_echo_n "(cached) " >&6
8770 else
8771   if test -n "$ac_ct_DSYMUTIL"; then
8772   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8773 else
8774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8775 for as_dir in $PATH
8776 do
8777   IFS=$as_save_IFS
8778   test -z "$as_dir" && as_dir=.
8779     for ac_exec_ext in '' $ac_executable_extensions; do
8780   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8781     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8782     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8783     break 2
8784   fi
8785 done
8786   done
8787 IFS=$as_save_IFS
8788
8789 fi
8790 fi
8791 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8792 if test -n "$ac_ct_DSYMUTIL"; then
8793   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8794 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8795 else
8796   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8797 $as_echo "no" >&6; }
8798 fi
8799
8800   if test "x$ac_ct_DSYMUTIL" = x; then
8801     DSYMUTIL=":"
8802   else
8803     case $cross_compiling:$ac_tool_warned in
8804 yes:)
8805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8806 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8807 ac_tool_warned=yes ;;
8808 esac
8809     DSYMUTIL=$ac_ct_DSYMUTIL
8810   fi
8811 else
8812   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8813 fi
8814
8815     if test -n "$ac_tool_prefix"; then
8816   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8817 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8819 $as_echo_n "checking for $ac_word... " >&6; }
8820 if ${ac_cv_prog_NMEDIT+:} false; then :
8821   $as_echo_n "(cached) " >&6
8822 else
8823   if test -n "$NMEDIT"; then
8824   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8825 else
8826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8827 for as_dir in $PATH
8828 do
8829   IFS=$as_save_IFS
8830   test -z "$as_dir" && as_dir=.
8831     for ac_exec_ext in '' $ac_executable_extensions; do
8832   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8833     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8834     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8835     break 2
8836   fi
8837 done
8838   done
8839 IFS=$as_save_IFS
8840
8841 fi
8842 fi
8843 NMEDIT=$ac_cv_prog_NMEDIT
8844 if test -n "$NMEDIT"; then
8845   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8846 $as_echo "$NMEDIT" >&6; }
8847 else
8848   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8849 $as_echo "no" >&6; }
8850 fi
8851
8852
8853 fi
8854 if test -z "$ac_cv_prog_NMEDIT"; then
8855   ac_ct_NMEDIT=$NMEDIT
8856   # Extract the first word of "nmedit", so it can be a program name with args.
8857 set dummy nmedit; ac_word=$2
8858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8859 $as_echo_n "checking for $ac_word... " >&6; }
8860 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8861   $as_echo_n "(cached) " >&6
8862 else
8863   if test -n "$ac_ct_NMEDIT"; then
8864   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8865 else
8866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8867 for as_dir in $PATH
8868 do
8869   IFS=$as_save_IFS
8870   test -z "$as_dir" && as_dir=.
8871     for ac_exec_ext in '' $ac_executable_extensions; do
8872   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8873     ac_cv_prog_ac_ct_NMEDIT="nmedit"
8874     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8875     break 2
8876   fi
8877 done
8878   done
8879 IFS=$as_save_IFS
8880
8881 fi
8882 fi
8883 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8884 if test -n "$ac_ct_NMEDIT"; then
8885   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8886 $as_echo "$ac_ct_NMEDIT" >&6; }
8887 else
8888   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8889 $as_echo "no" >&6; }
8890 fi
8891
8892   if test "x$ac_ct_NMEDIT" = x; then
8893     NMEDIT=":"
8894   else
8895     case $cross_compiling:$ac_tool_warned in
8896 yes:)
8897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8898 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8899 ac_tool_warned=yes ;;
8900 esac
8901     NMEDIT=$ac_ct_NMEDIT
8902   fi
8903 else
8904   NMEDIT="$ac_cv_prog_NMEDIT"
8905 fi
8906
8907     if test -n "$ac_tool_prefix"; then
8908   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8909 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8911 $as_echo_n "checking for $ac_word... " >&6; }
8912 if ${ac_cv_prog_LIPO+:} false; then :
8913   $as_echo_n "(cached) " >&6
8914 else
8915   if test -n "$LIPO"; then
8916   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8917 else
8918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8919 for as_dir in $PATH
8920 do
8921   IFS=$as_save_IFS
8922   test -z "$as_dir" && as_dir=.
8923     for ac_exec_ext in '' $ac_executable_extensions; do
8924   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8925     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8926     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8927     break 2
8928   fi
8929 done
8930   done
8931 IFS=$as_save_IFS
8932
8933 fi
8934 fi
8935 LIPO=$ac_cv_prog_LIPO
8936 if test -n "$LIPO"; then
8937   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8938 $as_echo "$LIPO" >&6; }
8939 else
8940   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8941 $as_echo "no" >&6; }
8942 fi
8943
8944
8945 fi
8946 if test -z "$ac_cv_prog_LIPO"; then
8947   ac_ct_LIPO=$LIPO
8948   # Extract the first word of "lipo", so it can be a program name with args.
8949 set dummy lipo; ac_word=$2
8950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8951 $as_echo_n "checking for $ac_word... " >&6; }
8952 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8953   $as_echo_n "(cached) " >&6
8954 else
8955   if test -n "$ac_ct_LIPO"; then
8956   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8957 else
8958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8959 for as_dir in $PATH
8960 do
8961   IFS=$as_save_IFS
8962   test -z "$as_dir" && as_dir=.
8963     for ac_exec_ext in '' $ac_executable_extensions; do
8964   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8965     ac_cv_prog_ac_ct_LIPO="lipo"
8966     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8967     break 2
8968   fi
8969 done
8970   done
8971 IFS=$as_save_IFS
8972
8973 fi
8974 fi
8975 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8976 if test -n "$ac_ct_LIPO"; then
8977   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8978 $as_echo "$ac_ct_LIPO" >&6; }
8979 else
8980   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8981 $as_echo "no" >&6; }
8982 fi
8983
8984   if test "x$ac_ct_LIPO" = x; then
8985     LIPO=":"
8986   else
8987     case $cross_compiling:$ac_tool_warned in
8988 yes:)
8989 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8990 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8991 ac_tool_warned=yes ;;
8992 esac
8993     LIPO=$ac_ct_LIPO
8994   fi
8995 else
8996   LIPO="$ac_cv_prog_LIPO"
8997 fi
8998
8999     if test -n "$ac_tool_prefix"; then
9000   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9001 set dummy ${ac_tool_prefix}otool; ac_word=$2
9002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9003 $as_echo_n "checking for $ac_word... " >&6; }
9004 if ${ac_cv_prog_OTOOL+:} false; then :
9005   $as_echo_n "(cached) " >&6
9006 else
9007   if test -n "$OTOOL"; then
9008   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9009 else
9010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9011 for as_dir in $PATH
9012 do
9013   IFS=$as_save_IFS
9014   test -z "$as_dir" && as_dir=.
9015     for ac_exec_ext in '' $ac_executable_extensions; do
9016   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9017     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9018     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9019     break 2
9020   fi
9021 done
9022   done
9023 IFS=$as_save_IFS
9024
9025 fi
9026 fi
9027 OTOOL=$ac_cv_prog_OTOOL
9028 if test -n "$OTOOL"; then
9029   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9030 $as_echo "$OTOOL" >&6; }
9031 else
9032   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9033 $as_echo "no" >&6; }
9034 fi
9035
9036
9037 fi
9038 if test -z "$ac_cv_prog_OTOOL"; then
9039   ac_ct_OTOOL=$OTOOL
9040   # Extract the first word of "otool", so it can be a program name with args.
9041 set dummy otool; ac_word=$2
9042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9043 $as_echo_n "checking for $ac_word... " >&6; }
9044 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
9045   $as_echo_n "(cached) " >&6
9046 else
9047   if test -n "$ac_ct_OTOOL"; then
9048   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9049 else
9050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9051 for as_dir in $PATH
9052 do
9053   IFS=$as_save_IFS
9054   test -z "$as_dir" && as_dir=.
9055     for ac_exec_ext in '' $ac_executable_extensions; do
9056   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9057     ac_cv_prog_ac_ct_OTOOL="otool"
9058     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9059     break 2
9060   fi
9061 done
9062   done
9063 IFS=$as_save_IFS
9064
9065 fi
9066 fi
9067 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9068 if test -n "$ac_ct_OTOOL"; then
9069   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9070 $as_echo "$ac_ct_OTOOL" >&6; }
9071 else
9072   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9073 $as_echo "no" >&6; }
9074 fi
9075
9076   if test "x$ac_ct_OTOOL" = x; then
9077     OTOOL=":"
9078   else
9079     case $cross_compiling:$ac_tool_warned in
9080 yes:)
9081 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9082 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9083 ac_tool_warned=yes ;;
9084 esac
9085     OTOOL=$ac_ct_OTOOL
9086   fi
9087 else
9088   OTOOL="$ac_cv_prog_OTOOL"
9089 fi
9090
9091     if test -n "$ac_tool_prefix"; then
9092   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
9093 set dummy ${ac_tool_prefix}otool64; ac_word=$2
9094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9095 $as_echo_n "checking for $ac_word... " >&6; }
9096 if ${ac_cv_prog_OTOOL64+:} false; then :
9097   $as_echo_n "(cached) " >&6
9098 else
9099   if test -n "$OTOOL64"; then
9100   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
9101 else
9102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9103 for as_dir in $PATH
9104 do
9105   IFS=$as_save_IFS
9106   test -z "$as_dir" && as_dir=.
9107     for ac_exec_ext in '' $ac_executable_extensions; do
9108   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9109     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
9110     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9111     break 2
9112   fi
9113 done
9114   done
9115 IFS=$as_save_IFS
9116
9117 fi
9118 fi
9119 OTOOL64=$ac_cv_prog_OTOOL64
9120 if test -n "$OTOOL64"; then
9121   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
9122 $as_echo "$OTOOL64" >&6; }
9123 else
9124   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9125 $as_echo "no" >&6; }
9126 fi
9127
9128
9129 fi
9130 if test -z "$ac_cv_prog_OTOOL64"; then
9131   ac_ct_OTOOL64=$OTOOL64
9132   # Extract the first word of "otool64", so it can be a program name with args.
9133 set dummy otool64; ac_word=$2
9134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9135 $as_echo_n "checking for $ac_word... " >&6; }
9136 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
9137   $as_echo_n "(cached) " >&6
9138 else
9139   if test -n "$ac_ct_OTOOL64"; then
9140   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
9141 else
9142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9143 for as_dir in $PATH
9144 do
9145   IFS=$as_save_IFS
9146   test -z "$as_dir" && as_dir=.
9147     for ac_exec_ext in '' $ac_executable_extensions; do
9148   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9149     ac_cv_prog_ac_ct_OTOOL64="otool64"
9150     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9151     break 2
9152   fi
9153 done
9154   done
9155 IFS=$as_save_IFS
9156
9157 fi
9158 fi
9159 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
9160 if test -n "$ac_ct_OTOOL64"; then
9161   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
9162 $as_echo "$ac_ct_OTOOL64" >&6; }
9163 else
9164   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9165 $as_echo "no" >&6; }
9166 fi
9167
9168   if test "x$ac_ct_OTOOL64" = x; then
9169     OTOOL64=":"
9170   else
9171     case $cross_compiling:$ac_tool_warned in
9172 yes:)
9173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9174 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9175 ac_tool_warned=yes ;;
9176 esac
9177     OTOOL64=$ac_ct_OTOOL64
9178   fi
9179 else
9180   OTOOL64="$ac_cv_prog_OTOOL64"
9181 fi
9182
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192
9193
9194
9195
9196
9197
9198
9199
9200
9201
9202
9203
9204
9205
9206
9207
9208
9209     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
9210 $as_echo_n "checking for -single_module linker flag... " >&6; }
9211 if ${lt_cv_apple_cc_single_mod+:} false; then :
9212   $as_echo_n "(cached) " >&6
9213 else
9214   lt_cv_apple_cc_single_mod=no
9215       if test -z "${LT_MULTI_MODULE}"; then
9216         # By default we will add the -single_module flag. You can override
9217         # by either setting the environment variable LT_MULTI_MODULE
9218         # non-empty at configure time, or by adding -multi_module to the
9219         # link flags.
9220         rm -rf libconftest.dylib*
9221         echo "int foo(void){return 1;}" > conftest.c
9222         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9223 -dynamiclib -Wl,-single_module conftest.c" >&5
9224         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9225           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
9226         _lt_result=$?
9227         # If there is a non-empty error log, and "single_module"
9228         # appears in it, assume the flag caused a linker warning
9229         if test -s conftest.err && $GREP single_module conftest.err; then
9230           cat conftest.err >&5
9231         # Otherwise, if the output was created with a 0 exit code from
9232         # the compiler, it worked.
9233         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
9234           lt_cv_apple_cc_single_mod=yes
9235         else
9236           cat conftest.err >&5
9237         fi
9238         rm -rf libconftest.dylib*
9239         rm -f conftest.*
9240       fi
9241 fi
9242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
9243 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9244
9245     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
9246 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
9247 if ${lt_cv_ld_exported_symbols_list+:} false; then :
9248   $as_echo_n "(cached) " >&6
9249 else
9250   lt_cv_ld_exported_symbols_list=no
9251       save_LDFLAGS=$LDFLAGS
9252       echo "_main" > conftest.sym
9253       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9254       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9255 /* end confdefs.h.  */
9256
9257 int
9258 main ()
9259 {
9260
9261   ;
9262   return 0;
9263 }
9264 _ACEOF
9265 if ac_fn_c_try_link "$LINENO"; then :
9266   lt_cv_ld_exported_symbols_list=yes
9267 else
9268   lt_cv_ld_exported_symbols_list=no
9269 fi
9270 rm -f core conftest.err conftest.$ac_objext \
9271     conftest$ac_exeext conftest.$ac_ext
9272         LDFLAGS="$save_LDFLAGS"
9273
9274 fi
9275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
9276 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9277
9278     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
9279 $as_echo_n "checking for -force_load linker flag... " >&6; }
9280 if ${lt_cv_ld_force_load+:} false; then :
9281   $as_echo_n "(cached) " >&6
9282 else
9283   lt_cv_ld_force_load=no
9284       cat > conftest.c << _LT_EOF
9285 int forced_loaded() { return 2;}
9286 _LT_EOF
9287       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
9288       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
9289       echo "$AR cru libconftest.a conftest.o" >&5
9290       $AR cru libconftest.a conftest.o 2>&5
9291       echo "$RANLIB libconftest.a" >&5
9292       $RANLIB libconftest.a 2>&5
9293       cat > conftest.c << _LT_EOF
9294 int main() { return 0;}
9295 _LT_EOF
9296       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
9297       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
9298       _lt_result=$?
9299       if test -s conftest.err && $GREP force_load conftest.err; then
9300         cat conftest.err >&5
9301       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
9302         lt_cv_ld_force_load=yes
9303       else
9304         cat conftest.err >&5
9305       fi
9306         rm -f conftest.err libconftest.a conftest conftest.c
9307         rm -rf conftest.dSYM
9308
9309 fi
9310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
9311 $as_echo "$lt_cv_ld_force_load" >&6; }
9312     case $host_os in
9313     rhapsody* | darwin1.[012])
9314       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
9315     darwin1.*)
9316       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9317     darwin*) # darwin 5.x on
9318       # if running on 10.5 or later, the deployment target defaults
9319       # to the OS version, if on x86, and 10.4, the deployment
9320       # target defaults to 10.4. Don't you love it?
9321       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9322         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
9323           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9324         10.[012]*)
9325           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9326         10.*)
9327           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9328       esac
9329     ;;
9330   esac
9331     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9332       _lt_dar_single_mod='$single_module'
9333     fi
9334     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9335       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9336     else
9337       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9338     fi
9339     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
9340       _lt_dsymutil='~$DSYMUTIL $lib || :'
9341     else
9342       _lt_dsymutil=
9343     fi
9344     ;;
9345   esac
9346
9347 ac_ext=c
9348 ac_cpp='$CPP $CPPFLAGS'
9349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
9353 $as_echo_n "checking how to run the C preprocessor... " >&6; }
9354 # On Suns, sometimes $CPP names a directory.
9355 if test -n "$CPP" && test -d "$CPP"; then
9356   CPP=
9357 fi
9358 if test -z "$CPP"; then
9359   if ${ac_cv_prog_CPP+:} false; then :
9360   $as_echo_n "(cached) " >&6
9361 else
9362       # Double quotes because CPP needs to be expanded
9363     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
9364     do
9365       ac_preproc_ok=false
9366 for ac_c_preproc_warn_flag in '' yes
9367 do
9368   # Use a header file that comes with gcc, so configuring glibc
9369   # with a fresh cross-compiler works.
9370   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9371   # <limits.h> exists even on freestanding compilers.
9372   # On the NeXT, cc -E runs the code through the compiler's parser,
9373   # not just through cpp. "Syntax error" is here to catch this case.
9374   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9375 /* end confdefs.h.  */
9376 #ifdef __STDC__
9377 # include <limits.h>
9378 #else
9379 # include <assert.h>
9380 #endif
9381                      Syntax error
9382 _ACEOF
9383 if ac_fn_c_try_cpp "$LINENO"; then :
9384
9385 else
9386   # Broken: fails on valid input.
9387 continue
9388 fi
9389 rm -f conftest.err conftest.i conftest.$ac_ext
9390
9391   # OK, works on sane cases.  Now check whether nonexistent headers
9392   # can be detected and how.
9393   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9394 /* end confdefs.h.  */
9395 #include <ac_nonexistent.h>
9396 _ACEOF
9397 if ac_fn_c_try_cpp "$LINENO"; then :
9398   # Broken: success on invalid input.
9399 continue
9400 else
9401   # Passes both tests.
9402 ac_preproc_ok=:
9403 break
9404 fi
9405 rm -f conftest.err conftest.i conftest.$ac_ext
9406
9407 done
9408 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9409 rm -f conftest.i conftest.err conftest.$ac_ext
9410 if $ac_preproc_ok; then :
9411   break
9412 fi
9413
9414     done
9415     ac_cv_prog_CPP=$CPP
9416
9417 fi
9418   CPP=$ac_cv_prog_CPP
9419 else
9420   ac_cv_prog_CPP=$CPP
9421 fi
9422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
9423 $as_echo "$CPP" >&6; }
9424 ac_preproc_ok=false
9425 for ac_c_preproc_warn_flag in '' yes
9426 do
9427   # Use a header file that comes with gcc, so configuring glibc
9428   # with a fresh cross-compiler works.
9429   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9430   # <limits.h> exists even on freestanding compilers.
9431   # On the NeXT, cc -E runs the code through the compiler's parser,
9432   # not just through cpp. "Syntax error" is here to catch this case.
9433   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9434 /* end confdefs.h.  */
9435 #ifdef __STDC__
9436 # include <limits.h>
9437 #else
9438 # include <assert.h>
9439 #endif
9440                      Syntax error
9441 _ACEOF
9442 if ac_fn_c_try_cpp "$LINENO"; then :
9443
9444 else
9445   # Broken: fails on valid input.
9446 continue
9447 fi
9448 rm -f conftest.err conftest.i conftest.$ac_ext
9449
9450   # OK, works on sane cases.  Now check whether nonexistent headers
9451   # can be detected and how.
9452   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9453 /* end confdefs.h.  */
9454 #include <ac_nonexistent.h>
9455 _ACEOF
9456 if ac_fn_c_try_cpp "$LINENO"; then :
9457   # Broken: success on invalid input.
9458 continue
9459 else
9460   # Passes both tests.
9461 ac_preproc_ok=:
9462 break
9463 fi
9464 rm -f conftest.err conftest.i conftest.$ac_ext
9465
9466 done
9467 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9468 rm -f conftest.i conftest.err conftest.$ac_ext
9469 if $ac_preproc_ok; then :
9470
9471 else
9472   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
9473 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
9474 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
9475 See \`config.log' for more details" "$LINENO" 5; }
9476 fi
9477
9478 ac_ext=c
9479 ac_cpp='$CPP $CPPFLAGS'
9480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9483
9484
9485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
9486 $as_echo_n "checking for ANSI C header files... " >&6; }
9487 if ${ac_cv_header_stdc+:} false; then :
9488   $as_echo_n "(cached) " >&6
9489 else
9490   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9491 /* end confdefs.h.  */
9492 #include <stdlib.h>
9493 #include <stdarg.h>
9494 #include <string.h>
9495 #include <float.h>
9496
9497 int
9498 main ()
9499 {
9500
9501   ;
9502   return 0;
9503 }
9504 _ACEOF
9505 if ac_fn_c_try_compile "$LINENO"; then :
9506   ac_cv_header_stdc=yes
9507 else
9508   ac_cv_header_stdc=no
9509 fi
9510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9511
9512 if test $ac_cv_header_stdc = yes; then
9513   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9514   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9515 /* end confdefs.h.  */
9516 #include <string.h>
9517
9518 _ACEOF
9519 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9520   $EGREP "memchr" >/dev/null 2>&1; then :
9521
9522 else
9523   ac_cv_header_stdc=no
9524 fi
9525 rm -f conftest*
9526
9527 fi
9528
9529 if test $ac_cv_header_stdc = yes; then
9530   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9531   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9532 /* end confdefs.h.  */
9533 #include <stdlib.h>
9534
9535 _ACEOF
9536 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9537   $EGREP "free" >/dev/null 2>&1; then :
9538
9539 else
9540   ac_cv_header_stdc=no
9541 fi
9542 rm -f conftest*
9543
9544 fi
9545
9546 if test $ac_cv_header_stdc = yes; then
9547   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9548   if test "$cross_compiling" = yes; then :
9549   :
9550 else
9551   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9552 /* end confdefs.h.  */
9553 #include <ctype.h>
9554 #include <stdlib.h>
9555 #if ((' ' & 0x0FF) == 0x020)
9556 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9557 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9558 #else
9559 # define ISLOWER(c) \
9560                    (('a' <= (c) && (c) <= 'i') \
9561                      || ('j' <= (c) && (c) <= 'r') \
9562                      || ('s' <= (c) && (c) <= 'z'))
9563 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
9564 #endif
9565
9566 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9567 int
9568 main ()
9569 {
9570   int i;
9571   for (i = 0; i < 256; i++)
9572     if (XOR (islower (i), ISLOWER (i))
9573         || toupper (i) != TOUPPER (i))
9574       return 2;
9575   return 0;
9576 }
9577 _ACEOF
9578 if ac_fn_c_try_run "$LINENO"; then :
9579
9580 else
9581   ac_cv_header_stdc=no
9582 fi
9583 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9584   conftest.$ac_objext conftest.beam conftest.$ac_ext
9585 fi
9586
9587 fi
9588 fi
9589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
9590 $as_echo "$ac_cv_header_stdc" >&6; }
9591 if test $ac_cv_header_stdc = yes; then
9592
9593 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
9594
9595 fi
9596
9597 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
9598 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
9599                   inttypes.h stdint.h unistd.h
9600 do :
9601   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9602 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
9603 "
9604 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9605   cat >>confdefs.h <<_ACEOF
9606 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9607 _ACEOF
9608
9609 fi
9610
9611 done
9612
9613
9614 for ac_header in dlfcn.h
9615 do :
9616   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9617 "
9618 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
9619   cat >>confdefs.h <<_ACEOF
9620 #define HAVE_DLFCN_H 1
9621 _ACEOF
9622
9623 fi
9624
9625 done
9626
9627
9628
9629
9630
9631 # Set options
9632
9633
9634
9635
9636
9637             # Check whether --enable-shared was given.
9638 if test "${enable_shared+set}" = set; then :
9639   enableval=$enable_shared; p=${PACKAGE-default}
9640     case $enableval in
9641     yes) enable_shared=yes ;;
9642     no) enable_shared=no ;;
9643     *)
9644       enable_shared=no
9645       # Look at the argument we got.  We use all the common list separators.
9646       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9647       for pkg in $enableval; do
9648         IFS="$lt_save_ifs"
9649         if test "X$pkg" = "X$p"; then
9650           enable_shared=yes
9651         fi
9652       done
9653       IFS="$lt_save_ifs"
9654       ;;
9655     esac
9656 else
9657   enable_shared=yes
9658 fi
9659
9660
9661
9662
9663
9664
9665
9666
9667
9668   # Check whether --enable-static was given.
9669 if test "${enable_static+set}" = set; then :
9670   enableval=$enable_static; p=${PACKAGE-default}
9671     case $enableval in
9672     yes) enable_static=yes ;;
9673     no) enable_static=no ;;
9674     *)
9675      enable_static=no
9676       # Look at the argument we got.  We use all the common list separators.
9677       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9678       for pkg in $enableval; do
9679         IFS="$lt_save_ifs"
9680         if test "X$pkg" = "X$p"; then
9681           enable_static=yes
9682         fi
9683       done
9684       IFS="$lt_save_ifs"
9685       ;;
9686     esac
9687 else
9688   enable_static=yes
9689 fi
9690
9691
9692
9693
9694
9695
9696
9697
9698
9699
9700 # Check whether --with-pic was given.
9701 if test "${with_pic+set}" = set; then :
9702   withval=$with_pic; lt_p=${PACKAGE-default}
9703     case $withval in
9704     yes|no) pic_mode=$withval ;;
9705     *)
9706       pic_mode=default
9707       # Look at the argument we got.  We use all the common list separators.
9708       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9709       for lt_pkg in $withval; do
9710         IFS="$lt_save_ifs"
9711         if test "X$lt_pkg" = "X$lt_p"; then
9712           pic_mode=yes
9713         fi
9714       done
9715       IFS="$lt_save_ifs"
9716       ;;
9717     esac
9718 else
9719   pic_mode=default
9720 fi
9721
9722
9723 test -z "$pic_mode" && pic_mode=default
9724
9725
9726
9727
9728
9729
9730
9731   # Check whether --enable-fast-install was given.
9732 if test "${enable_fast_install+set}" = set; then :
9733   enableval=$enable_fast_install; p=${PACKAGE-default}
9734     case $enableval in
9735     yes) enable_fast_install=yes ;;
9736     no) enable_fast_install=no ;;
9737     *)
9738       enable_fast_install=no
9739       # Look at the argument we got.  We use all the common list separators.
9740       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9741       for pkg in $enableval; do
9742         IFS="$lt_save_ifs"
9743         if test "X$pkg" = "X$p"; then
9744           enable_fast_install=yes
9745         fi
9746       done
9747       IFS="$lt_save_ifs"
9748       ;;
9749     esac
9750 else
9751   enable_fast_install=yes
9752 fi
9753
9754
9755
9756
9757
9758
9759
9760
9761
9762
9763
9764 # This can be used to rebuild libtool when needed
9765 LIBTOOL_DEPS="$ltmain"
9766
9767 # Always use our own libtool.
9768 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9769
9770
9771
9772
9773
9774
9775
9776
9777
9778
9779
9780
9781
9782
9783
9784
9785
9786
9787
9788
9789
9790
9791
9792
9793
9794
9795
9796
9797
9798
9799 test -z "$LN_S" && LN_S="ln -s"
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809
9810
9811
9812
9813
9814 if test -n "${ZSH_VERSION+set}" ; then
9815    setopt NO_GLOB_SUBST
9816 fi
9817
9818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9819 $as_echo_n "checking for objdir... " >&6; }
9820 if ${lt_cv_objdir+:} false; then :
9821   $as_echo_n "(cached) " >&6
9822 else
9823   rm -f .libs 2>/dev/null
9824 mkdir .libs 2>/dev/null
9825 if test -d .libs; then
9826   lt_cv_objdir=.libs
9827 else
9828   # MS-DOS does not allow filenames that begin with a dot.
9829   lt_cv_objdir=_libs
9830 fi
9831 rmdir .libs 2>/dev/null
9832 fi
9833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9834 $as_echo "$lt_cv_objdir" >&6; }
9835 objdir=$lt_cv_objdir
9836
9837
9838
9839
9840
9841 cat >>confdefs.h <<_ACEOF
9842 #define LT_OBJDIR "$lt_cv_objdir/"
9843 _ACEOF
9844
9845
9846
9847
9848 case $host_os in
9849 aix3*)
9850   # AIX sometimes has problems with the GCC collect2 program.  For some
9851   # reason, if we set the COLLECT_NAMES environment variable, the problems
9852   # vanish in a puff of smoke.
9853   if test "X${COLLECT_NAMES+set}" != Xset; then
9854     COLLECT_NAMES=
9855     export COLLECT_NAMES
9856   fi
9857   ;;
9858 esac
9859
9860 # Global variables:
9861 ofile=libtool
9862 can_build_shared=yes
9863
9864 # All known linkers require a `.a' archive for static linking (except MSVC,
9865 # which needs '.lib').
9866 libext=a
9867
9868 with_gnu_ld="$lt_cv_prog_gnu_ld"
9869
9870 old_CC="$CC"
9871 old_CFLAGS="$CFLAGS"
9872
9873 # Set sane defaults for various variables
9874 test -z "$CC" && CC=cc
9875 test -z "$LTCC" && LTCC=$CC
9876 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9877 test -z "$LD" && LD=ld
9878 test -z "$ac_objext" && ac_objext=o
9879
9880 for cc_temp in $compiler""; do
9881   case $cc_temp in
9882     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9883     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9884     \-*) ;;
9885     *) break;;
9886   esac
9887 done
9888 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9889
9890
9891 # Only perform the check for file, if the check method requires it
9892 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9893 case $deplibs_check_method in
9894 file_magic*)
9895   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9896     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9897 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9898 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9899   $as_echo_n "(cached) " >&6
9900 else
9901   case $MAGIC_CMD in
9902 [\\/*] |  ?:[\\/]*)
9903   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9904   ;;
9905 *)
9906   lt_save_MAGIC_CMD="$MAGIC_CMD"
9907   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9908   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9909   for ac_dir in $ac_dummy; do
9910     IFS="$lt_save_ifs"
9911     test -z "$ac_dir" && ac_dir=.
9912     if test -f $ac_dir/${ac_tool_prefix}file; then
9913       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9914       if test -n "$file_magic_test_file"; then
9915         case $deplibs_check_method in
9916         "file_magic "*)
9917           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9918           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9919           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9920             $EGREP "$file_magic_regex" > /dev/null; then
9921             :
9922           else
9923             cat <<_LT_EOF 1>&2
9924
9925 *** Warning: the command libtool uses to detect shared libraries,
9926 *** $file_magic_cmd, produces output that libtool cannot recognize.
9927 *** The result is that libtool may fail to recognize shared libraries
9928 *** as such.  This will affect the creation of libtool libraries that
9929 *** depend on shared libraries, but programs linked with such libtool
9930 *** libraries will work regardless of this problem.  Nevertheless, you
9931 *** may want to report the problem to your system manager and/or to
9932 *** bug-libtool@gnu.org
9933
9934 _LT_EOF
9935           fi ;;
9936         esac
9937       fi
9938       break
9939     fi
9940   done
9941   IFS="$lt_save_ifs"
9942   MAGIC_CMD="$lt_save_MAGIC_CMD"
9943   ;;
9944 esac
9945 fi
9946
9947 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9948 if test -n "$MAGIC_CMD"; then
9949   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9950 $as_echo "$MAGIC_CMD" >&6; }
9951 else
9952   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9953 $as_echo "no" >&6; }
9954 fi
9955
9956
9957
9958
9959
9960 if test -z "$lt_cv_path_MAGIC_CMD"; then
9961   if test -n "$ac_tool_prefix"; then
9962     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9963 $as_echo_n "checking for file... " >&6; }
9964 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9965   $as_echo_n "(cached) " >&6
9966 else
9967   case $MAGIC_CMD in
9968 [\\/*] |  ?:[\\/]*)
9969   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9970   ;;
9971 *)
9972   lt_save_MAGIC_CMD="$MAGIC_CMD"
9973   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9974   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9975   for ac_dir in $ac_dummy; do
9976     IFS="$lt_save_ifs"
9977     test -z "$ac_dir" && ac_dir=.
9978     if test -f $ac_dir/file; then
9979       lt_cv_path_MAGIC_CMD="$ac_dir/file"
9980       if test -n "$file_magic_test_file"; then
9981         case $deplibs_check_method in
9982         "file_magic "*)
9983           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9984           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9985           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9986             $EGREP "$file_magic_regex" > /dev/null; then
9987             :
9988           else
9989             cat <<_LT_EOF 1>&2
9990
9991 *** Warning: the command libtool uses to detect shared libraries,
9992 *** $file_magic_cmd, produces output that libtool cannot recognize.
9993 *** The result is that libtool may fail to recognize shared libraries
9994 *** as such.  This will affect the creation of libtool libraries that
9995 *** depend on shared libraries, but programs linked with such libtool
9996 *** libraries will work regardless of this problem.  Nevertheless, you
9997 *** may want to report the problem to your system manager and/or to
9998 *** bug-libtool@gnu.org
9999
10000 _LT_EOF
10001           fi ;;
10002         esac
10003       fi
10004       break
10005     fi
10006   done
10007   IFS="$lt_save_ifs"
10008   MAGIC_CMD="$lt_save_MAGIC_CMD"
10009   ;;
10010 esac
10011 fi
10012
10013 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10014 if test -n "$MAGIC_CMD"; then
10015   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10016 $as_echo "$MAGIC_CMD" >&6; }
10017 else
10018   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10019 $as_echo "no" >&6; }
10020 fi
10021
10022
10023   else
10024     MAGIC_CMD=:
10025   fi
10026 fi
10027
10028   fi
10029   ;;
10030 esac
10031
10032 # Use C for the default configuration in the libtool script
10033
10034 lt_save_CC="$CC"
10035 ac_ext=c
10036 ac_cpp='$CPP $CPPFLAGS'
10037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10040
10041
10042 # Source file extension for C test sources.
10043 ac_ext=c
10044
10045 # Object file extension for compiled C test sources.
10046 objext=o
10047 objext=$objext
10048
10049 # Code to be used in simple compile tests
10050 lt_simple_compile_test_code="int some_variable = 0;"
10051
10052 # Code to be used in simple link tests
10053 lt_simple_link_test_code='int main(){return(0);}'
10054
10055
10056
10057
10058
10059
10060
10061 # If no C compiler was specified, use CC.
10062 LTCC=${LTCC-"$CC"}
10063
10064 # If no C compiler flags were specified, use CFLAGS.
10065 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10066
10067 # Allow CC to be a program name with arguments.
10068 compiler=$CC
10069
10070 # Save the default compiler, since it gets overwritten when the other
10071 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
10072 compiler_DEFAULT=$CC
10073
10074 # save warnings/boilerplate of simple test code
10075 ac_outfile=conftest.$ac_objext
10076 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10077 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10078 _lt_compiler_boilerplate=`cat conftest.err`
10079 $RM conftest*
10080
10081 ac_outfile=conftest.$ac_objext
10082 echo "$lt_simple_link_test_code" >conftest.$ac_ext
10083 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10084 _lt_linker_boilerplate=`cat conftest.err`
10085 $RM -r conftest*
10086
10087
10088 ## CAVEAT EMPTOR:
10089 ## There is no encapsulation within the following macros, do not change
10090 ## the running order or otherwise move them around unless you know exactly
10091 ## what you are doing...
10092 if test -n "$compiler"; then
10093
10094 lt_prog_compiler_no_builtin_flag=
10095
10096 if test "$GCC" = yes; then
10097   case $cc_basename in
10098   nvcc*)
10099     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
10100   *)
10101     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
10102   esac
10103
10104   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
10105 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
10106 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
10107   $as_echo_n "(cached) " >&6
10108 else
10109   lt_cv_prog_compiler_rtti_exceptions=no
10110    ac_outfile=conftest.$ac_objext
10111    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10112    lt_compiler_flag="-fno-rtti -fno-exceptions"
10113    # Insert the option either (1) after the last *FLAGS variable, or
10114    # (2) before a word containing "conftest.", or (3) at the end.
10115    # Note that $ac_compile itself does not contain backslashes and begins
10116    # with a dollar sign (not a hyphen), so the echo should work correctly.
10117    # The option is referenced via a variable to avoid confusing sed.
10118    lt_compile=`echo "$ac_compile" | $SED \
10119    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10120    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10121    -e 's:$: $lt_compiler_flag:'`
10122    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10123    (eval "$lt_compile" 2>conftest.err)
10124    ac_status=$?
10125    cat conftest.err >&5
10126    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10127    if (exit $ac_status) && test -s "$ac_outfile"; then
10128      # The compiler can only warn and ignore the option if not recognized
10129      # So say no if there are warnings other than the usual output.
10130      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10131      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10132      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10133        lt_cv_prog_compiler_rtti_exceptions=yes
10134      fi
10135    fi
10136    $RM conftest*
10137
10138 fi
10139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
10140 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
10141
10142 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
10143     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
10144 else
10145     :
10146 fi
10147
10148 fi
10149
10150
10151
10152
10153
10154
10155   lt_prog_compiler_wl=
10156 lt_prog_compiler_pic=
10157 lt_prog_compiler_static=
10158
10159
10160   if test "$GCC" = yes; then
10161     lt_prog_compiler_wl='-Wl,'
10162     lt_prog_compiler_static='-static'
10163
10164     case $host_os in
10165       aix*)
10166       # All AIX code is PIC.
10167       if test "$host_cpu" = ia64; then
10168         # AIX 5 now supports IA64 processor
10169         lt_prog_compiler_static='-Bstatic'
10170       fi
10171       ;;
10172
10173     amigaos*)
10174       case $host_cpu in
10175       powerpc)
10176             # see comment about AmigaOS4 .so support
10177             lt_prog_compiler_pic='-fPIC'
10178         ;;
10179       m68k)
10180             # FIXME: we need at least 68020 code to build shared libraries, but
10181             # adding the `-m68020' flag to GCC prevents building anything better,
10182             # like `-m68040'.
10183             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
10184         ;;
10185       esac
10186       ;;
10187
10188     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10189       # PIC is the default for these OSes.
10190       ;;
10191
10192     mingw* | cygwin* | pw32* | os2* | cegcc*)
10193       # This hack is so that the source file can tell whether it is being
10194       # built for inclusion in a dll (and should export symbols for example).
10195       # Although the cygwin gcc ignores -fPIC, still need this for old-style
10196       # (--disable-auto-import) libraries
10197       lt_prog_compiler_pic='-DDLL_EXPORT'
10198       ;;
10199
10200     darwin* | rhapsody*)
10201       # PIC is the default on this platform
10202       # Common symbols not allowed in MH_DYLIB files
10203       lt_prog_compiler_pic='-fno-common'
10204       ;;
10205
10206     haiku*)
10207       # PIC is the default for Haiku.
10208       # The "-static" flag exists, but is broken.
10209       lt_prog_compiler_static=
10210       ;;
10211
10212     hpux*)
10213       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
10214       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
10215       # sets the default TLS model and affects inlining.
10216       case $host_cpu in
10217       hppa*64*)
10218         # +Z the default
10219         ;;
10220       *)
10221         lt_prog_compiler_pic='-fPIC'
10222         ;;
10223       esac
10224       ;;
10225
10226     interix[3-9]*)
10227       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10228       # Instead, we relocate shared libraries at runtime.
10229       ;;
10230
10231     msdosdjgpp*)
10232       # Just because we use GCC doesn't mean we suddenly get shared libraries
10233       # on systems that don't support them.
10234       lt_prog_compiler_can_build_shared=no
10235       enable_shared=no
10236       ;;
10237
10238     *nto* | *qnx*)
10239       # QNX uses GNU C++, but need to define -shared option too, otherwise
10240       # it will coredump.
10241       lt_prog_compiler_pic='-fPIC -shared'
10242       ;;
10243
10244     sysv4*MP*)
10245       if test -d /usr/nec; then
10246         lt_prog_compiler_pic=-Kconform_pic
10247       fi
10248       ;;
10249
10250     *)
10251       lt_prog_compiler_pic='-fPIC'
10252       ;;
10253     esac
10254
10255     case $cc_basename in
10256     nvcc*) # Cuda Compiler Driver 2.2
10257       lt_prog_compiler_wl='-Xlinker '
10258       if test -n "$lt_prog_compiler_pic"; then
10259         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
10260       fi
10261       ;;
10262     esac
10263   else
10264     # PORTME Check for flag to pass linker flags through the system compiler.
10265     case $host_os in
10266     aix*)
10267       lt_prog_compiler_wl='-Wl,'
10268       if test "$host_cpu" = ia64; then
10269         # AIX 5 now supports IA64 processor
10270         lt_prog_compiler_static='-Bstatic'
10271       else
10272         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
10273       fi
10274       ;;
10275
10276     mingw* | cygwin* | pw32* | os2* | cegcc*)
10277       # This hack is so that the source file can tell whether it is being
10278       # built for inclusion in a dll (and should export symbols for example).
10279       lt_prog_compiler_pic='-DDLL_EXPORT'
10280       ;;
10281
10282     hpux9* | hpux10* | hpux11*)
10283       lt_prog_compiler_wl='-Wl,'
10284       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10285       # not for PA HP-UX.
10286       case $host_cpu in
10287       hppa*64*|ia64*)
10288         # +Z the default
10289         ;;
10290       *)
10291         lt_prog_compiler_pic='+Z'
10292         ;;
10293       esac
10294       # Is there a better lt_prog_compiler_static that works with the bundled CC?
10295       lt_prog_compiler_static='${wl}-a ${wl}archive'
10296       ;;
10297
10298     irix5* | irix6* | nonstopux*)
10299       lt_prog_compiler_wl='-Wl,'
10300       # PIC (with -KPIC) is the default.
10301       lt_prog_compiler_static='-non_shared'
10302       ;;
10303
10304     linux* | k*bsd*-gnu | kopensolaris*-gnu)
10305       case $cc_basename in
10306       # old Intel for x86_64 which still supported -KPIC.
10307       ecc*)
10308         lt_prog_compiler_wl='-Wl,'
10309         lt_prog_compiler_pic='-KPIC'
10310         lt_prog_compiler_static='-static'
10311         ;;
10312       # icc used to be incompatible with GCC.
10313       # ICC 10 doesn't accept -KPIC any more.
10314       icc* | ifort*)
10315         lt_prog_compiler_wl='-Wl,'
10316         lt_prog_compiler_pic='-fPIC'
10317         lt_prog_compiler_static='-static'
10318         ;;
10319       # Lahey Fortran 8.1.
10320       lf95*)
10321         lt_prog_compiler_wl='-Wl,'
10322         lt_prog_compiler_pic='--shared'
10323         lt_prog_compiler_static='--static'
10324         ;;
10325       nagfor*)
10326         # NAG Fortran compiler
10327         lt_prog_compiler_wl='-Wl,-Wl,,'
10328         lt_prog_compiler_pic='-PIC'
10329         lt_prog_compiler_static='-Bstatic'
10330         ;;
10331       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
10332         # Portland Group compilers (*not* the Pentium gcc compiler,
10333         # which looks to be a dead project)
10334         lt_prog_compiler_wl='-Wl,'
10335         lt_prog_compiler_pic='-fpic'
10336         lt_prog_compiler_static='-Bstatic'
10337         ;;
10338       ccc*)
10339         lt_prog_compiler_wl='-Wl,'
10340         # All Alpha code is PIC.
10341         lt_prog_compiler_static='-non_shared'
10342         ;;
10343       xl* | bgxl* | bgf* | mpixl*)
10344         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
10345         lt_prog_compiler_wl='-Wl,'
10346         lt_prog_compiler_pic='-qpic'
10347         lt_prog_compiler_static='-qstaticlink'
10348         ;;
10349       *)
10350         case `$CC -V 2>&1 | sed 5q` in
10351         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
10352           # Sun Fortran 8.3 passes all unrecognized flags to the linker
10353           lt_prog_compiler_pic='-KPIC'
10354           lt_prog_compiler_static='-Bstatic'
10355           lt_prog_compiler_wl=''
10356           ;;
10357         *Sun\ F* | *Sun*Fortran*)
10358           lt_prog_compiler_pic='-KPIC'
10359           lt_prog_compiler_static='-Bstatic'
10360           lt_prog_compiler_wl='-Qoption ld '
10361           ;;
10362         *Sun\ C*)
10363           # Sun C 5.9
10364           lt_prog_compiler_pic='-KPIC'
10365           lt_prog_compiler_static='-Bstatic'
10366           lt_prog_compiler_wl='-Wl,'
10367           ;;
10368         *Intel*\ [CF]*Compiler*)
10369           lt_prog_compiler_wl='-Wl,'
10370           lt_prog_compiler_pic='-fPIC'
10371           lt_prog_compiler_static='-static'
10372           ;;
10373         *Portland\ Group*)
10374           lt_prog_compiler_wl='-Wl,'
10375           lt_prog_compiler_pic='-fpic'
10376           lt_prog_compiler_static='-Bstatic'
10377           ;;
10378         esac
10379         ;;
10380       esac
10381       ;;
10382
10383     newsos6)
10384       lt_prog_compiler_pic='-KPIC'
10385       lt_prog_compiler_static='-Bstatic'
10386       ;;
10387
10388     *nto* | *qnx*)
10389       # QNX uses GNU C++, but need to define -shared option too, otherwise
10390       # it will coredump.
10391       lt_prog_compiler_pic='-fPIC -shared'
10392       ;;
10393
10394     osf3* | osf4* | osf5*)
10395       lt_prog_compiler_wl='-Wl,'
10396       # All OSF/1 code is PIC.
10397       lt_prog_compiler_static='-non_shared'
10398       ;;
10399
10400     rdos*)
10401       lt_prog_compiler_static='-non_shared'
10402       ;;
10403
10404     solaris*)
10405       lt_prog_compiler_pic='-KPIC'
10406       lt_prog_compiler_static='-Bstatic'
10407       case $cc_basename in
10408       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
10409         lt_prog_compiler_wl='-Qoption ld ';;
10410       *)
10411         lt_prog_compiler_wl='-Wl,';;
10412       esac
10413       ;;
10414
10415     sunos4*)
10416       lt_prog_compiler_wl='-Qoption ld '
10417       lt_prog_compiler_pic='-PIC'
10418       lt_prog_compiler_static='-Bstatic'
10419       ;;
10420
10421     sysv4 | sysv4.2uw2* | sysv4.3*)
10422       lt_prog_compiler_wl='-Wl,'
10423       lt_prog_compiler_pic='-KPIC'
10424       lt_prog_compiler_static='-Bstatic'
10425       ;;
10426
10427     sysv4*MP*)
10428       if test -d /usr/nec ;then
10429         lt_prog_compiler_pic='-Kconform_pic'
10430         lt_prog_compiler_static='-Bstatic'
10431       fi
10432       ;;
10433
10434     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10435       lt_prog_compiler_wl='-Wl,'
10436       lt_prog_compiler_pic='-KPIC'
10437       lt_prog_compiler_static='-Bstatic'
10438       ;;
10439
10440     unicos*)
10441       lt_prog_compiler_wl='-Wl,'
10442       lt_prog_compiler_can_build_shared=no
10443       ;;
10444
10445     uts4*)
10446       lt_prog_compiler_pic='-pic'
10447       lt_prog_compiler_static='-Bstatic'
10448       ;;
10449
10450     *)
10451       lt_prog_compiler_can_build_shared=no
10452       ;;
10453     esac
10454   fi
10455
10456 case $host_os in
10457   # For platforms which do not support PIC, -DPIC is meaningless:
10458   *djgpp*)
10459     lt_prog_compiler_pic=
10460     ;;
10461   *)
10462     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10463     ;;
10464 esac
10465
10466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10467 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
10468 if ${lt_cv_prog_compiler_pic+:} false; then :
10469   $as_echo_n "(cached) " >&6
10470 else
10471   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
10472 fi
10473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
10474 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
10475 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
10476
10477 #
10478 # Check to make sure the PIC flag actually works.
10479 #
10480 if test -n "$lt_prog_compiler_pic"; then
10481   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10482 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10483 if ${lt_cv_prog_compiler_pic_works+:} false; then :
10484   $as_echo_n "(cached) " >&6
10485 else
10486   lt_cv_prog_compiler_pic_works=no
10487    ac_outfile=conftest.$ac_objext
10488    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10489    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
10490    # Insert the option either (1) after the last *FLAGS variable, or
10491    # (2) before a word containing "conftest.", or (3) at the end.
10492    # Note that $ac_compile itself does not contain backslashes and begins
10493    # with a dollar sign (not a hyphen), so the echo should work correctly.
10494    # The option is referenced via a variable to avoid confusing sed.
10495    lt_compile=`echo "$ac_compile" | $SED \
10496    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10497    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10498    -e 's:$: $lt_compiler_flag:'`
10499    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10500    (eval "$lt_compile" 2>conftest.err)
10501    ac_status=$?
10502    cat conftest.err >&5
10503    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10504    if (exit $ac_status) && test -s "$ac_outfile"; then
10505      # The compiler can only warn and ignore the option if not recognized
10506      # So say no if there are warnings other than the usual output.
10507      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10508      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10509      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10510        lt_cv_prog_compiler_pic_works=yes
10511      fi
10512    fi
10513    $RM conftest*
10514
10515 fi
10516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10517 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10518
10519 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
10520     case $lt_prog_compiler_pic in
10521      "" | " "*) ;;
10522      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10523      esac
10524 else
10525     lt_prog_compiler_pic=
10526      lt_prog_compiler_can_build_shared=no
10527 fi
10528
10529 fi
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541 #
10542 # Check to make sure the static flag actually works.
10543 #
10544 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10546 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10547 if ${lt_cv_prog_compiler_static_works+:} false; then :
10548   $as_echo_n "(cached) " >&6
10549 else
10550   lt_cv_prog_compiler_static_works=no
10551    save_LDFLAGS="$LDFLAGS"
10552    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10553    echo "$lt_simple_link_test_code" > conftest.$ac_ext
10554    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10555      # The linker can only warn and ignore the option if not recognized
10556      # So say no if there are warnings
10557      if test -s conftest.err; then
10558        # Append any errors to the config.log.
10559        cat conftest.err 1>&5
10560        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10561        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10562        if diff conftest.exp conftest.er2 >/dev/null; then
10563          lt_cv_prog_compiler_static_works=yes
10564        fi
10565      else
10566        lt_cv_prog_compiler_static_works=yes
10567      fi
10568    fi
10569    $RM -r conftest*
10570    LDFLAGS="$save_LDFLAGS"
10571
10572 fi
10573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10574 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10575
10576 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
10577     :
10578 else
10579     lt_prog_compiler_static=
10580 fi
10581
10582
10583
10584
10585
10586
10587
10588   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10589 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10590 if ${lt_cv_prog_compiler_c_o+:} false; then :
10591   $as_echo_n "(cached) " >&6
10592 else
10593   lt_cv_prog_compiler_c_o=no
10594    $RM -r conftest 2>/dev/null
10595    mkdir conftest
10596    cd conftest
10597    mkdir out
10598    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10599
10600    lt_compiler_flag="-o out/conftest2.$ac_objext"
10601    # Insert the option either (1) after the last *FLAGS variable, or
10602    # (2) before a word containing "conftest.", or (3) at the end.
10603    # Note that $ac_compile itself does not contain backslashes and begins
10604    # with a dollar sign (not a hyphen), so the echo should work correctly.
10605    lt_compile=`echo "$ac_compile" | $SED \
10606    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10607    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10608    -e 's:$: $lt_compiler_flag:'`
10609    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10610    (eval "$lt_compile" 2>out/conftest.err)
10611    ac_status=$?
10612    cat out/conftest.err >&5
10613    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10614    if (exit $ac_status) && test -s out/conftest2.$ac_objext
10615    then
10616      # The compiler can only warn and ignore the option if not recognized
10617      # So say no if there are warnings
10618      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10619      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10620      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10621        lt_cv_prog_compiler_c_o=yes
10622      fi
10623    fi
10624    chmod u+w . 2>&5
10625    $RM conftest*
10626    # SGI C++ compiler will create directory out/ii_files/ for
10627    # template instantiation
10628    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10629    $RM out/* && rmdir out
10630    cd ..
10631    $RM -r conftest
10632    $RM conftest*
10633
10634 fi
10635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10636 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10637
10638
10639
10640
10641
10642
10643   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10644 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10645 if ${lt_cv_prog_compiler_c_o+:} false; then :
10646   $as_echo_n "(cached) " >&6
10647 else
10648   lt_cv_prog_compiler_c_o=no
10649    $RM -r conftest 2>/dev/null
10650    mkdir conftest
10651    cd conftest
10652    mkdir out
10653    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10654
10655    lt_compiler_flag="-o out/conftest2.$ac_objext"
10656    # Insert the option either (1) after the last *FLAGS variable, or
10657    # (2) before a word containing "conftest.", or (3) at the end.
10658    # Note that $ac_compile itself does not contain backslashes and begins
10659    # with a dollar sign (not a hyphen), so the echo should work correctly.
10660    lt_compile=`echo "$ac_compile" | $SED \
10661    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10662    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10663    -e 's:$: $lt_compiler_flag:'`
10664    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10665    (eval "$lt_compile" 2>out/conftest.err)
10666    ac_status=$?
10667    cat out/conftest.err >&5
10668    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10669    if (exit $ac_status) && test -s out/conftest2.$ac_objext
10670    then
10671      # The compiler can only warn and ignore the option if not recognized
10672      # So say no if there are warnings
10673      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10674      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10675      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10676        lt_cv_prog_compiler_c_o=yes
10677      fi
10678    fi
10679    chmod u+w . 2>&5
10680    $RM conftest*
10681    # SGI C++ compiler will create directory out/ii_files/ for
10682    # template instantiation
10683    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10684    $RM out/* && rmdir out
10685    cd ..
10686    $RM -r conftest
10687    $RM conftest*
10688
10689 fi
10690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10691 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10692
10693
10694
10695
10696 hard_links="nottested"
10697 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10698   # do not overwrite the value of need_locks provided by the user
10699   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10700 $as_echo_n "checking if we can lock with hard links... " >&6; }
10701   hard_links=yes
10702   $RM conftest*
10703   ln conftest.a conftest.b 2>/dev/null && hard_links=no
10704   touch conftest.a
10705   ln conftest.a conftest.b 2>&5 || hard_links=no
10706   ln conftest.a conftest.b 2>/dev/null && hard_links=no
10707   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10708 $as_echo "$hard_links" >&6; }
10709   if test "$hard_links" = no; then
10710     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10711 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10712     need_locks=warn
10713   fi
10714 else
10715   need_locks=no
10716 fi
10717
10718
10719
10720
10721
10722
10723   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10724 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10725
10726   runpath_var=
10727   allow_undefined_flag=
10728   always_export_symbols=no
10729   archive_cmds=
10730   archive_expsym_cmds=
10731   compiler_needs_object=no
10732   enable_shared_with_static_runtimes=no
10733   export_dynamic_flag_spec=
10734   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10735   hardcode_automatic=no
10736   hardcode_direct=no
10737   hardcode_direct_absolute=no
10738   hardcode_libdir_flag_spec=
10739   hardcode_libdir_separator=
10740   hardcode_minus_L=no
10741   hardcode_shlibpath_var=unsupported
10742   inherit_rpath=no
10743   link_all_deplibs=unknown
10744   module_cmds=
10745   module_expsym_cmds=
10746   old_archive_from_new_cmds=
10747   old_archive_from_expsyms_cmds=
10748   thread_safe_flag_spec=
10749   whole_archive_flag_spec=
10750   # include_expsyms should be a list of space-separated symbols to be *always*
10751   # included in the symbol list
10752   include_expsyms=
10753   # exclude_expsyms can be an extended regexp of symbols to exclude
10754   # it will be wrapped by ` (' and `)$', so one must not match beginning or
10755   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10756   # as well as any symbol that contains `d'.
10757   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10758   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10759   # platforms (ab)use it in PIC code, but their linkers get confused if
10760   # the symbol is explicitly referenced.  Since portable code cannot
10761   # rely on this symbol name, it's probably fine to never include it in
10762   # preloaded symbol tables.
10763   # Exclude shared library initialization/finalization symbols.
10764   extract_expsyms_cmds=
10765
10766   case $host_os in
10767   cygwin* | mingw* | pw32* | cegcc*)
10768     # FIXME: the MSVC++ port hasn't been tested in a loooong time
10769     # When not using gcc, we currently assume that we are using
10770     # Microsoft Visual C++.
10771     if test "$GCC" != yes; then
10772       with_gnu_ld=no
10773     fi
10774     ;;
10775   interix*)
10776     # we just hope/assume this is gcc and not c89 (= MSVC++)
10777     with_gnu_ld=yes
10778     ;;
10779   openbsd*)
10780     with_gnu_ld=no
10781     ;;
10782   linux* | k*bsd*-gnu | gnu*)
10783     link_all_deplibs=no
10784     ;;
10785   esac
10786
10787   ld_shlibs=yes
10788
10789   # On some targets, GNU ld is compatible enough with the native linker
10790   # that we're better off using the native interface for both.
10791   lt_use_gnu_ld_interface=no
10792   if test "$with_gnu_ld" = yes; then
10793     case $host_os in
10794       aix*)
10795         # The AIX port of GNU ld has always aspired to compatibility
10796         # with the native linker.  However, as the warning in the GNU ld
10797         # block says, versions before 2.19.5* couldn't really create working
10798         # shared libraries, regardless of the interface used.
10799         case `$LD -v 2>&1` in
10800           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10801           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10802           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10803           *)
10804             lt_use_gnu_ld_interface=yes
10805             ;;
10806         esac
10807         ;;
10808       *)
10809         lt_use_gnu_ld_interface=yes
10810         ;;
10811     esac
10812   fi
10813
10814   if test "$lt_use_gnu_ld_interface" = yes; then
10815     # If archive_cmds runs LD, not CC, wlarc should be empty
10816     wlarc='${wl}'
10817
10818     # Set some defaults for GNU ld with shared library support. These
10819     # are reset later if shared libraries are not supported. Putting them
10820     # here allows them to be overridden if necessary.
10821     runpath_var=LD_RUN_PATH
10822     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10823     export_dynamic_flag_spec='${wl}--export-dynamic'
10824     # ancient GNU ld didn't support --whole-archive et. al.
10825     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10826       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10827     else
10828       whole_archive_flag_spec=
10829     fi
10830     supports_anon_versioning=no
10831     case `$LD -v 2>&1` in
10832       *GNU\ gold*) supports_anon_versioning=yes ;;
10833       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10834       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10835       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10836       *\ 2.11.*) ;; # other 2.11 versions
10837       *) supports_anon_versioning=yes ;;
10838     esac
10839
10840     # See if GNU ld supports shared libraries.
10841     case $host_os in
10842     aix[3-9]*)
10843       # On AIX/PPC, the GNU linker is very broken
10844       if test "$host_cpu" != ia64; then
10845         ld_shlibs=no
10846         cat <<_LT_EOF 1>&2
10847
10848 *** Warning: the GNU linker, at least up to release 2.19, is reported
10849 *** to be unable to reliably create shared libraries on AIX.
10850 *** Therefore, libtool is disabling shared libraries support.  If you
10851 *** really care for shared libraries, you may want to install binutils
10852 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10853 *** You will then need to restart the configuration process.
10854
10855 _LT_EOF
10856       fi
10857       ;;
10858
10859     amigaos*)
10860       case $host_cpu in
10861       powerpc)
10862             # see comment about AmigaOS4 .so support
10863             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10864             archive_expsym_cmds=''
10865         ;;
10866       m68k)
10867             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)'
10868             hardcode_libdir_flag_spec='-L$libdir'
10869             hardcode_minus_L=yes
10870         ;;
10871       esac
10872       ;;
10873
10874     beos*)
10875       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10876         allow_undefined_flag=unsupported
10877         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10878         # support --undefined.  This deserves some investigation.  FIXME
10879         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10880       else
10881         ld_shlibs=no
10882       fi
10883       ;;
10884
10885     cygwin* | mingw* | pw32* | cegcc*)
10886       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10887       # as there is no search path for DLLs.
10888       hardcode_libdir_flag_spec='-L$libdir'
10889       export_dynamic_flag_spec='${wl}--export-all-symbols'
10890       allow_undefined_flag=unsupported
10891       always_export_symbols=no
10892       enable_shared_with_static_runtimes=yes
10893       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'
10894       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10895
10896       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10897         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10898         # If the export-symbols file already is a .def file (1st line
10899         # is EXPORTS), use it as is; otherwise, prepend...
10900         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10901           cp $export_symbols $output_objdir/$soname.def;
10902         else
10903           echo EXPORTS > $output_objdir/$soname.def;
10904           cat $export_symbols >> $output_objdir/$soname.def;
10905         fi~
10906         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10907       else
10908         ld_shlibs=no
10909       fi
10910       ;;
10911
10912     haiku*)
10913       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10914       link_all_deplibs=yes
10915       ;;
10916
10917     interix[3-9]*)
10918       hardcode_direct=no
10919       hardcode_shlibpath_var=no
10920       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10921       export_dynamic_flag_spec='${wl}-E'
10922       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10923       # Instead, shared libraries are loaded at an image base (0x10000000 by
10924       # default) and relocated if they conflict, which is a slow very memory
10925       # consuming and fragmenting process.  To avoid this, we pick a random,
10926       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10927       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
10928       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10929       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'
10930       ;;
10931
10932     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10933       tmp_diet=no
10934       if test "$host_os" = linux-dietlibc; then
10935         case $cc_basename in
10936           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
10937         esac
10938       fi
10939       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10940          && test "$tmp_diet" = no
10941       then
10942         tmp_addflag=' $pic_flag'
10943         tmp_sharedflag='-shared'
10944         case $cc_basename,$host_cpu in
10945         pgcc*)                          # Portland Group C compiler
10946           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'
10947           tmp_addflag=' $pic_flag'
10948           ;;
10949         pgf77* | pgf90* | pgf95* | pgfortran*)
10950                                         # Portland Group f77 and f90 compilers
10951           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'
10952           tmp_addflag=' $pic_flag -Mnomain' ;;
10953         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
10954           tmp_addflag=' -i_dynamic' ;;
10955         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
10956           tmp_addflag=' -i_dynamic -nofor_main' ;;
10957         ifc* | ifort*)                  # Intel Fortran compiler
10958           tmp_addflag=' -nofor_main' ;;
10959         lf95*)                          # Lahey Fortran 8.1
10960           whole_archive_flag_spec=
10961           tmp_sharedflag='--shared' ;;
10962         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10963           tmp_sharedflag='-qmkshrobj'
10964           tmp_addflag= ;;
10965         nvcc*)  # Cuda Compiler Driver 2.2
10966           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'
10967           compiler_needs_object=yes
10968           ;;
10969         esac
10970         case `$CC -V 2>&1 | sed 5q` in
10971         *Sun\ C*)                       # Sun C 5.9
10972           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'
10973           compiler_needs_object=yes
10974           tmp_sharedflag='-G' ;;
10975         *Sun\ F*)                       # Sun Fortran 8.3
10976           tmp_sharedflag='-G' ;;
10977         esac
10978         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10979
10980         if test "x$supports_anon_versioning" = xyes; then
10981           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10982             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10983             echo "local: *; };" >> $output_objdir/$libname.ver~
10984             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10985         fi
10986
10987         case $cc_basename in
10988         xlf* | bgf* | bgxlf* | mpixlf*)
10989           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10990           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10991           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10992           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10993           if test "x$supports_anon_versioning" = xyes; then
10994             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10995               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10996               echo "local: *; };" >> $output_objdir/$libname.ver~
10997               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10998           fi
10999           ;;
11000         esac
11001       else
11002         ld_shlibs=no
11003       fi
11004       ;;
11005
11006     netbsd* | netbsdelf*-gnu)
11007       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11008         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11009         wlarc=
11010       else
11011         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11012         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11013       fi
11014       ;;
11015
11016     solaris*)
11017       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
11018         ld_shlibs=no
11019         cat <<_LT_EOF 1>&2
11020
11021 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
11022 *** create shared libraries on Solaris systems.  Therefore, libtool
11023 *** is disabling shared libraries support.  We urge you to upgrade GNU
11024 *** binutils to release 2.9.1 or newer.  Another option is to modify
11025 *** your PATH or compiler configuration so that the native linker is
11026 *** used, and then restart.
11027
11028 _LT_EOF
11029       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11030         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11031         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11032       else
11033         ld_shlibs=no
11034       fi
11035       ;;
11036
11037     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
11038       case `$LD -v 2>&1` in
11039         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
11040         ld_shlibs=no
11041         cat <<_LT_EOF 1>&2
11042
11043 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
11044 *** reliably create shared libraries on SCO systems.  Therefore, libtool
11045 *** is disabling shared libraries support.  We urge you to upgrade GNU
11046 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
11047 *** your PATH or compiler configuration so that the native linker is
11048 *** used, and then restart.
11049
11050 _LT_EOF
11051         ;;
11052         *)
11053           # For security reasons, it is highly recommended that you always
11054           # use absolute paths for naming shared libraries, and exclude the
11055           # DT_RUNPATH tag from executables and libraries.  But doing so
11056           # requires that you compile everything twice, which is a pain.
11057           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11058             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11059             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11060             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11061           else
11062             ld_shlibs=no
11063           fi
11064         ;;
11065       esac
11066       ;;
11067
11068     sunos4*)
11069       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11070       wlarc=
11071       hardcode_direct=yes
11072       hardcode_shlibpath_var=no
11073       ;;
11074
11075     *)
11076       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11077         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11078         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11079       else
11080         ld_shlibs=no
11081       fi
11082       ;;
11083     esac
11084
11085     if test "$ld_shlibs" = no; then
11086       runpath_var=
11087       hardcode_libdir_flag_spec=
11088       export_dynamic_flag_spec=
11089       whole_archive_flag_spec=
11090     fi
11091   else
11092     # PORTME fill in a description of your system's linker (not GNU ld)
11093     case $host_os in
11094     aix3*)
11095       allow_undefined_flag=unsupported
11096       always_export_symbols=yes
11097       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'
11098       # Note: this linker hardcodes the directories in LIBPATH if there
11099       # are no directories specified by -L.
11100       hardcode_minus_L=yes
11101       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
11102         # Neither direct hardcoding nor static linking is supported with a
11103         # broken collect2.
11104         hardcode_direct=unsupported
11105       fi
11106       ;;
11107
11108     aix[4-9]*)
11109       if test "$host_cpu" = ia64; then
11110         # On IA64, the linker does run time linking by default, so we don't
11111         # have to do anything special.
11112         aix_use_runtimelinking=no
11113         exp_sym_flag='-Bexport'
11114         no_entry_flag=""
11115       else
11116         # If we're using GNU nm, then we don't want the "-C" option.
11117         # -C means demangle to AIX nm, but means don't demangle with GNU nm
11118         # Also, AIX nm treats weak defined symbols like other global
11119         # defined symbols, whereas GNU nm marks them as "W".
11120         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
11121           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'
11122         else
11123           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'
11124         fi
11125         aix_use_runtimelinking=no
11126
11127         # Test if we are trying to use run time linking or normal
11128         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11129         # need to do runtime linking.
11130         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11131           for ld_flag in $LDFLAGS; do
11132           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
11133             aix_use_runtimelinking=yes
11134             break
11135           fi
11136           done
11137           ;;
11138         esac
11139
11140         exp_sym_flag='-bexport'
11141         no_entry_flag='-bnoentry'
11142       fi
11143
11144       # When large executables or shared objects are built, AIX ld can
11145       # have problems creating the table of contents.  If linking a library
11146       # or program results in "error TOC overflow" add -mminimal-toc to
11147       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
11148       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11149
11150       archive_cmds=''
11151       hardcode_direct=yes
11152       hardcode_direct_absolute=yes
11153       hardcode_libdir_separator=':'
11154       link_all_deplibs=yes
11155       file_list_spec='${wl}-f,'
11156
11157       if test "$GCC" = yes; then
11158         case $host_os in aix4.[012]|aix4.[012].*)
11159         # We only want to do this on AIX 4.2 and lower, the check
11160         # below for broken collect2 doesn't work under 4.3+
11161           collect2name=`${CC} -print-prog-name=collect2`
11162           if test -f "$collect2name" &&
11163            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11164           then
11165           # We have reworked collect2
11166           :
11167           else
11168           # We have old collect2
11169           hardcode_direct=unsupported
11170           # It fails to find uninstalled libraries when the uninstalled
11171           # path is not listed in the libpath.  Setting hardcode_minus_L
11172           # to unsupported forces relinking
11173           hardcode_minus_L=yes
11174           hardcode_libdir_flag_spec='-L$libdir'
11175           hardcode_libdir_separator=
11176           fi
11177           ;;
11178         esac
11179         shared_flag='-shared'
11180         if test "$aix_use_runtimelinking" = yes; then
11181           shared_flag="$shared_flag "'${wl}-G'
11182         fi
11183         link_all_deplibs=no
11184       else
11185         # not using gcc
11186         if test "$host_cpu" = ia64; then
11187         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11188         # chokes on -Wl,-G. The following line is correct:
11189           shared_flag='-G'
11190         else
11191           if test "$aix_use_runtimelinking" = yes; then
11192             shared_flag='${wl}-G'
11193           else
11194             shared_flag='${wl}-bM:SRE'
11195           fi
11196         fi
11197       fi
11198
11199       export_dynamic_flag_spec='${wl}-bexpall'
11200       # It seems that -bexpall does not export symbols beginning with
11201       # underscore (_), so it is better to generate a list of symbols to export.
11202       always_export_symbols=yes
11203       if test "$aix_use_runtimelinking" = yes; then
11204         # Warning - without using the other runtime loading flags (-brtl),
11205         # -berok will link without error, but may produce a broken library.
11206         allow_undefined_flag='-berok'
11207         # Determine the default libpath from the value encoded in an
11208         # empty executable.
11209         if test "${lt_cv_aix_libpath+set}" = set; then
11210   aix_libpath=$lt_cv_aix_libpath
11211 else
11212   if ${lt_cv_aix_libpath_+:} false; then :
11213   $as_echo_n "(cached) " >&6
11214 else
11215   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11216 /* end confdefs.h.  */
11217
11218 int
11219 main ()
11220 {
11221
11222   ;
11223   return 0;
11224 }
11225 _ACEOF
11226 if ac_fn_c_try_link "$LINENO"; then :
11227
11228   lt_aix_libpath_sed='
11229       /Import File Strings/,/^$/ {
11230           /^0/ {
11231               s/^0  *\([^ ]*\) *$/\1/
11232               p
11233           }
11234       }'
11235   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11236   # Check for a 64-bit object if we didn't find anything.
11237   if test -z "$lt_cv_aix_libpath_"; then
11238     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11239   fi
11240 fi
11241 rm -f core conftest.err conftest.$ac_objext \
11242     conftest$ac_exeext conftest.$ac_ext
11243   if test -z "$lt_cv_aix_libpath_"; then
11244     lt_cv_aix_libpath_="/usr/lib:/lib"
11245   fi
11246
11247 fi
11248
11249   aix_libpath=$lt_cv_aix_libpath_
11250 fi
11251
11252         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
11253         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"
11254       else
11255         if test "$host_cpu" = ia64; then
11256           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
11257           allow_undefined_flag="-z nodefs"
11258           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"
11259         else
11260          # Determine the default libpath from the value encoded in an
11261          # empty executable.
11262          if test "${lt_cv_aix_libpath+set}" = set; then
11263   aix_libpath=$lt_cv_aix_libpath
11264 else
11265   if ${lt_cv_aix_libpath_+:} false; then :
11266   $as_echo_n "(cached) " >&6
11267 else
11268   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11269 /* end confdefs.h.  */
11270
11271 int
11272 main ()
11273 {
11274
11275   ;
11276   return 0;
11277 }
11278 _ACEOF
11279 if ac_fn_c_try_link "$LINENO"; then :
11280
11281   lt_aix_libpath_sed='
11282       /Import File Strings/,/^$/ {
11283           /^0/ {
11284               s/^0  *\([^ ]*\) *$/\1/
11285               p
11286           }
11287       }'
11288   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11289   # Check for a 64-bit object if we didn't find anything.
11290   if test -z "$lt_cv_aix_libpath_"; then
11291     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11292   fi
11293 fi
11294 rm -f core conftest.err conftest.$ac_objext \
11295     conftest$ac_exeext conftest.$ac_ext
11296   if test -z "$lt_cv_aix_libpath_"; then
11297     lt_cv_aix_libpath_="/usr/lib:/lib"
11298   fi
11299
11300 fi
11301
11302   aix_libpath=$lt_cv_aix_libpath_
11303 fi
11304
11305          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
11306           # Warning - without using the other run time loading flags,
11307           # -berok will link without error, but may produce a broken library.
11308           no_undefined_flag=' ${wl}-bernotok'
11309           allow_undefined_flag=' ${wl}-berok'
11310           if test "$with_gnu_ld" = yes; then
11311             # We only use this code for GNU lds that support --whole-archive.
11312             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11313           else
11314             # Exported symbols can be pulled into shared objects from archives
11315             whole_archive_flag_spec='$convenience'
11316           fi
11317           archive_cmds_need_lc=yes
11318           # This is similar to how AIX traditionally builds its shared libraries.
11319           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'
11320         fi
11321       fi
11322       ;;
11323
11324     amigaos*)
11325       case $host_cpu in
11326       powerpc)
11327             # see comment about AmigaOS4 .so support
11328             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11329             archive_expsym_cmds=''
11330         ;;
11331       m68k)
11332             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)'
11333             hardcode_libdir_flag_spec='-L$libdir'
11334             hardcode_minus_L=yes
11335         ;;
11336       esac
11337       ;;
11338
11339     bsdi[45]*)
11340       export_dynamic_flag_spec=-rdynamic
11341       ;;
11342
11343     cygwin* | mingw* | pw32* | cegcc*)
11344       # When not using gcc, we currently assume that we are using
11345       # Microsoft Visual C++.
11346       # hardcode_libdir_flag_spec is actually meaningless, as there is
11347       # no search path for DLLs.
11348       case $cc_basename in
11349       cl*)
11350         # Native MSVC
11351         hardcode_libdir_flag_spec=' '
11352         allow_undefined_flag=unsupported
11353         always_export_symbols=yes
11354         file_list_spec='@'
11355         # Tell ltmain to make .lib files, not .a files.
11356         libext=lib
11357         # Tell ltmain to make .dll files, not .so files.
11358         shrext_cmds=".dll"
11359         # FIXME: Setting linknames here is a bad hack.
11360         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
11361         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11362             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
11363           else
11364             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
11365           fi~
11366           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
11367           linknames='
11368         # The linker will not automatically build a static lib if we build a DLL.
11369         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
11370         enable_shared_with_static_runtimes=yes
11371         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
11372         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11373         # Don't use ranlib
11374         old_postinstall_cmds='chmod 644 $oldlib'
11375         postlink_cmds='lt_outputfile="@OUTPUT@"~
11376           lt_tool_outputfile="@TOOL_OUTPUT@"~
11377           case $lt_outputfile in
11378             *.exe|*.EXE) ;;
11379             *)
11380               lt_outputfile="$lt_outputfile.exe"
11381               lt_tool_outputfile="$lt_tool_outputfile.exe"
11382               ;;
11383           esac~
11384           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
11385             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
11386             $RM "$lt_outputfile.manifest";
11387           fi'
11388         ;;
11389       *)
11390         # Assume MSVC wrapper
11391         hardcode_libdir_flag_spec=' '
11392         allow_undefined_flag=unsupported
11393         # Tell ltmain to make .lib files, not .a files.
11394         libext=lib
11395         # Tell ltmain to make .dll files, not .so files.
11396         shrext_cmds=".dll"
11397         # FIXME: Setting linknames here is a bad hack.
11398         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11399         # The linker will automatically build a .lib file if we build a DLL.
11400         old_archive_from_new_cmds='true'
11401         # FIXME: Should let the user specify the lib program.
11402         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
11403         enable_shared_with_static_runtimes=yes
11404         ;;
11405       esac
11406       ;;
11407
11408     darwin* | rhapsody*)
11409
11410
11411   archive_cmds_need_lc=no
11412   hardcode_direct=no
11413   hardcode_automatic=yes
11414   hardcode_shlibpath_var=unsupported
11415   if test "$lt_cv_ld_force_load" = "yes"; then
11416     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\"`'
11417
11418   else
11419     whole_archive_flag_spec=''
11420   fi
11421   link_all_deplibs=yes
11422   allow_undefined_flag="$_lt_dar_allow_undefined"
11423   case $cc_basename in
11424      ifort*) _lt_dar_can_shared=yes ;;
11425      *) _lt_dar_can_shared=$GCC ;;
11426   esac
11427   if test "$_lt_dar_can_shared" = "yes"; then
11428     output_verbose_link_cmd=func_echo_all
11429     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
11430     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11431     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}"
11432     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}"
11433
11434   else
11435   ld_shlibs=no
11436   fi
11437
11438       ;;
11439
11440     dgux*)
11441       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11442       hardcode_libdir_flag_spec='-L$libdir'
11443       hardcode_shlibpath_var=no
11444       ;;
11445
11446     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11447     # support.  Future versions do this automatically, but an explicit c++rt0.o
11448     # does not break anything, and helps significantly (at the cost of a little
11449     # extra space).
11450     freebsd2.2*)
11451       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11452       hardcode_libdir_flag_spec='-R$libdir'
11453       hardcode_direct=yes
11454       hardcode_shlibpath_var=no
11455       ;;
11456
11457     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11458     freebsd2.*)
11459       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11460       hardcode_direct=yes
11461       hardcode_minus_L=yes
11462       hardcode_shlibpath_var=no
11463       ;;
11464
11465     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11466     freebsd* | dragonfly*)
11467       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11468       hardcode_libdir_flag_spec='-R$libdir'
11469       hardcode_direct=yes
11470       hardcode_shlibpath_var=no
11471       ;;
11472
11473     hpux9*)
11474       if test "$GCC" = yes; then
11475         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'
11476       else
11477         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'
11478       fi
11479       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11480       hardcode_libdir_separator=:
11481       hardcode_direct=yes
11482
11483       # hardcode_minus_L: Not really in the search PATH,
11484       # but as the default location of the library.
11485       hardcode_minus_L=yes
11486       export_dynamic_flag_spec='${wl}-E'
11487       ;;
11488
11489     hpux10*)
11490       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
11491         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11492       else
11493         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11494       fi
11495       if test "$with_gnu_ld" = no; then
11496         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11497         hardcode_libdir_separator=:
11498         hardcode_direct=yes
11499         hardcode_direct_absolute=yes
11500         export_dynamic_flag_spec='${wl}-E'
11501         # hardcode_minus_L: Not really in the search PATH,
11502         # but as the default location of the library.
11503         hardcode_minus_L=yes
11504       fi
11505       ;;
11506
11507     hpux11*)
11508       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
11509         case $host_cpu in
11510         hppa*64*)
11511           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11512           ;;
11513         ia64*)
11514           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11515           ;;
11516         *)
11517           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11518           ;;
11519         esac
11520       else
11521         case $host_cpu in
11522         hppa*64*)
11523           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11524           ;;
11525         ia64*)
11526           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11527           ;;
11528         *)
11529
11530           # Older versions of the 11.00 compiler do not understand -b yet
11531           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11532           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11533 $as_echo_n "checking if $CC understands -b... " >&6; }
11534 if ${lt_cv_prog_compiler__b+:} false; then :
11535   $as_echo_n "(cached) " >&6
11536 else
11537   lt_cv_prog_compiler__b=no
11538    save_LDFLAGS="$LDFLAGS"
11539    LDFLAGS="$LDFLAGS -b"
11540    echo "$lt_simple_link_test_code" > conftest.$ac_ext
11541    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11542      # The linker can only warn and ignore the option if not recognized
11543      # So say no if there are warnings
11544      if test -s conftest.err; then
11545        # Append any errors to the config.log.
11546        cat conftest.err 1>&5
11547        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11548        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11549        if diff conftest.exp conftest.er2 >/dev/null; then
11550          lt_cv_prog_compiler__b=yes
11551        fi
11552      else
11553        lt_cv_prog_compiler__b=yes
11554      fi
11555    fi
11556    $RM -r conftest*
11557    LDFLAGS="$save_LDFLAGS"
11558
11559 fi
11560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11561 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11562
11563 if test x"$lt_cv_prog_compiler__b" = xyes; then
11564     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11565 else
11566     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11567 fi
11568
11569           ;;
11570         esac
11571       fi
11572       if test "$with_gnu_ld" = no; then
11573         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11574         hardcode_libdir_separator=:
11575
11576         case $host_cpu in
11577         hppa*64*|ia64*)
11578           hardcode_direct=no
11579           hardcode_shlibpath_var=no
11580           ;;
11581         *)
11582           hardcode_direct=yes
11583           hardcode_direct_absolute=yes
11584           export_dynamic_flag_spec='${wl}-E'
11585
11586           # hardcode_minus_L: Not really in the search PATH,
11587           # but as the default location of the library.
11588           hardcode_minus_L=yes
11589           ;;
11590         esac
11591       fi
11592       ;;
11593
11594     irix5* | irix6* | nonstopux*)
11595       if test "$GCC" = yes; then
11596         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'
11597         # Try to use the -exported_symbol ld option, if it does not
11598         # work, assume that -exports_file does not work either and
11599         # implicitly export all symbols.
11600         # This should be the same for all languages, so no per-tag cache variable.
11601         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11602 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11603 if ${lt_cv_irix_exported_symbol+:} false; then :
11604   $as_echo_n "(cached) " >&6
11605 else
11606   save_LDFLAGS="$LDFLAGS"
11607            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11608            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11609 /* end confdefs.h.  */
11610 int foo (void) { return 0; }
11611 _ACEOF
11612 if ac_fn_c_try_link "$LINENO"; then :
11613   lt_cv_irix_exported_symbol=yes
11614 else
11615   lt_cv_irix_exported_symbol=no
11616 fi
11617 rm -f core conftest.err conftest.$ac_objext \
11618     conftest$ac_exeext conftest.$ac_ext
11619            LDFLAGS="$save_LDFLAGS"
11620 fi
11621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11622 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
11623         if test "$lt_cv_irix_exported_symbol" = yes; then
11624           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'
11625         fi
11626       else
11627         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'
11628         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'
11629       fi
11630       archive_cmds_need_lc='no'
11631       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11632       hardcode_libdir_separator=:
11633       inherit_rpath=yes
11634       link_all_deplibs=yes
11635       ;;
11636
11637     netbsd* | netbsdelf*-gnu)
11638       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11639         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
11640       else
11641         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
11642       fi
11643       hardcode_libdir_flag_spec='-R$libdir'
11644       hardcode_direct=yes
11645       hardcode_shlibpath_var=no
11646       ;;
11647
11648     newsos6)
11649       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11650       hardcode_direct=yes
11651       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11652       hardcode_libdir_separator=:
11653       hardcode_shlibpath_var=no
11654       ;;
11655
11656     *nto* | *qnx*)
11657       ;;
11658
11659     openbsd*)
11660       if test -f /usr/libexec/ld.so; then
11661         hardcode_direct=yes
11662         hardcode_shlibpath_var=no
11663         hardcode_direct_absolute=yes
11664         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11665           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11666           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11667           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11668           export_dynamic_flag_spec='${wl}-E'
11669         else
11670           case $host_os in
11671            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
11672              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11673              hardcode_libdir_flag_spec='-R$libdir'
11674              ;;
11675            *)
11676              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11677              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11678              ;;
11679           esac
11680         fi
11681       else
11682         ld_shlibs=no
11683       fi
11684       ;;
11685
11686     os2*)
11687       hardcode_libdir_flag_spec='-L$libdir'
11688       hardcode_minus_L=yes
11689       allow_undefined_flag=unsupported
11690       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'
11691       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11692       ;;
11693
11694     osf3*)
11695       if test "$GCC" = yes; then
11696         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11697         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'
11698       else
11699         allow_undefined_flag=' -expect_unresolved \*'
11700         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'
11701       fi
11702       archive_cmds_need_lc='no'
11703       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11704       hardcode_libdir_separator=:
11705       ;;
11706
11707     osf4* | osf5*)      # as osf3* with the addition of -msym flag
11708       if test "$GCC" = yes; then
11709         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11710         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'
11711         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11712       else
11713         allow_undefined_flag=' -expect_unresolved \*'
11714         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'
11715         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~
11716         $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'
11717
11718         # Both c and cxx compiler support -rpath directly
11719         hardcode_libdir_flag_spec='-rpath $libdir'
11720       fi
11721       archive_cmds_need_lc='no'
11722       hardcode_libdir_separator=:
11723       ;;
11724
11725     solaris*)
11726       no_undefined_flag=' -z defs'
11727       if test "$GCC" = yes; then
11728         wlarc='${wl}'
11729         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11730         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11731           $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'
11732       else
11733         case `$CC -V 2>&1` in
11734         *"Compilers 5.0"*)
11735           wlarc=''
11736           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11737           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11738           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11739           ;;
11740         *)
11741           wlarc='${wl}'
11742           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11743           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11744           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11745           ;;
11746         esac
11747       fi
11748       hardcode_libdir_flag_spec='-R$libdir'
11749       hardcode_shlibpath_var=no
11750       case $host_os in
11751       solaris2.[0-5] | solaris2.[0-5].*) ;;
11752       *)
11753         # The compiler driver will combine and reorder linker options,
11754         # but understands `-z linker_flag'.  GCC discards it without `$wl',
11755         # but is careful enough not to reorder.
11756         # Supported since Solaris 2.6 (maybe 2.5.1?)
11757         if test "$GCC" = yes; then
11758           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11759         else
11760           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11761         fi
11762         ;;
11763       esac
11764       link_all_deplibs=yes
11765       ;;
11766
11767     sunos4*)
11768       if test "x$host_vendor" = xsequent; then
11769         # Use $CC to link under sequent, because it throws in some extra .o
11770         # files that make .init and .fini sections work.
11771         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11772       else
11773         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11774       fi
11775       hardcode_libdir_flag_spec='-L$libdir'
11776       hardcode_direct=yes
11777       hardcode_minus_L=yes
11778       hardcode_shlibpath_var=no
11779       ;;
11780
11781     sysv4)
11782       case $host_vendor in
11783         sni)
11784           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11785           hardcode_direct=yes # is this really true???
11786         ;;
11787         siemens)
11788           ## LD is ld it makes a PLAMLIB
11789           ## CC just makes a GrossModule.
11790           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11791           reload_cmds='$CC -r -o $output$reload_objs'
11792           hardcode_direct=no
11793         ;;
11794         motorola)
11795           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11796           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11797         ;;
11798       esac
11799       runpath_var='LD_RUN_PATH'
11800       hardcode_shlibpath_var=no
11801       ;;
11802
11803     sysv4.3*)
11804       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11805       hardcode_shlibpath_var=no
11806       export_dynamic_flag_spec='-Bexport'
11807       ;;
11808
11809     sysv4*MP*)
11810       if test -d /usr/nec; then
11811         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11812         hardcode_shlibpath_var=no
11813         runpath_var=LD_RUN_PATH
11814         hardcode_runpath_var=yes
11815         ld_shlibs=yes
11816       fi
11817       ;;
11818
11819     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11820       no_undefined_flag='${wl}-z,text'
11821       archive_cmds_need_lc=no
11822       hardcode_shlibpath_var=no
11823       runpath_var='LD_RUN_PATH'
11824
11825       if test "$GCC" = yes; then
11826         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11827         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11828       else
11829         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11830         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11831       fi
11832       ;;
11833
11834     sysv5* | sco3.2v5* | sco5v6*)
11835       # Note: We can NOT use -z defs as we might desire, because we do not
11836       # link with -lc, and that would cause any symbols used from libc to
11837       # always be unresolved, which means just about no library would
11838       # ever link correctly.  If we're not using GNU ld we use -z text
11839       # though, which does catch some bad symbols but isn't as heavy-handed
11840       # as -z defs.
11841       no_undefined_flag='${wl}-z,text'
11842       allow_undefined_flag='${wl}-z,nodefs'
11843       archive_cmds_need_lc=no
11844       hardcode_shlibpath_var=no
11845       hardcode_libdir_flag_spec='${wl}-R,$libdir'
11846       hardcode_libdir_separator=':'
11847       link_all_deplibs=yes
11848       export_dynamic_flag_spec='${wl}-Bexport'
11849       runpath_var='LD_RUN_PATH'
11850
11851       if test "$GCC" = yes; then
11852         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11853         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11854       else
11855         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11856         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11857       fi
11858       ;;
11859
11860     uts4*)
11861       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11862       hardcode_libdir_flag_spec='-L$libdir'
11863       hardcode_shlibpath_var=no
11864       ;;
11865
11866     *)
11867       ld_shlibs=no
11868       ;;
11869     esac
11870
11871     if test x$host_vendor = xsni; then
11872       case $host in
11873       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11874         export_dynamic_flag_spec='${wl}-Blargedynsym'
11875         ;;
11876       esac
11877     fi
11878   fi
11879
11880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11881 $as_echo "$ld_shlibs" >&6; }
11882 test "$ld_shlibs" = no && can_build_shared=no
11883
11884 with_gnu_ld=$with_gnu_ld
11885
11886
11887
11888
11889
11890
11891
11892
11893
11894
11895
11896
11897
11898
11899
11900 #
11901 # Do we need to explicitly link libc?
11902 #
11903 case "x$archive_cmds_need_lc" in
11904 x|xyes)
11905   # Assume -lc should be added
11906   archive_cmds_need_lc=yes
11907
11908   if test "$enable_shared" = yes && test "$GCC" = yes; then
11909     case $archive_cmds in
11910     *'~'*)
11911       # FIXME: we may have to deal with multi-command sequences.
11912       ;;
11913     '$CC '*)
11914       # Test whether the compiler implicitly links with -lc since on some
11915       # systems, -lgcc has to come before -lc. If gcc already passes -lc
11916       # to ld, don't add -lc before -lgcc.
11917       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11918 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11919 if ${lt_cv_archive_cmds_need_lc+:} false; then :
11920   $as_echo_n "(cached) " >&6
11921 else
11922   $RM conftest*
11923         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11924
11925         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11926   (eval $ac_compile) 2>&5
11927   ac_status=$?
11928   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11929   test $ac_status = 0; } 2>conftest.err; then
11930           soname=conftest
11931           lib=conftest
11932           libobjs=conftest.$ac_objext
11933           deplibs=
11934           wl=$lt_prog_compiler_wl
11935           pic_flag=$lt_prog_compiler_pic
11936           compiler_flags=-v
11937           linker_flags=-v
11938           verstring=
11939           output_objdir=.
11940           libname=conftest
11941           lt_save_allow_undefined_flag=$allow_undefined_flag
11942           allow_undefined_flag=
11943           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11944   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11945   ac_status=$?
11946   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11947   test $ac_status = 0; }
11948           then
11949             lt_cv_archive_cmds_need_lc=no
11950           else
11951             lt_cv_archive_cmds_need_lc=yes
11952           fi
11953           allow_undefined_flag=$lt_save_allow_undefined_flag
11954         else
11955           cat conftest.err 1>&5
11956         fi
11957         $RM conftest*
11958
11959 fi
11960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11961 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11962       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11963       ;;
11964     esac
11965   fi
11966   ;;
11967 esac
11968
11969
11970
11971
11972
11973
11974
11975
11976
11977
11978
11979
11980
11981
11982
11983
11984
11985
11986
11987
11988
11989
11990
11991
11992
11993
11994
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
12005
12006
12007
12008
12009
12010
12011
12012
12013
12014
12015
12016
12017
12018
12019
12020
12021
12022
12023
12024
12025
12026
12027
12028
12029
12030
12031
12032
12033
12034
12035
12036
12037
12038
12039
12040
12041
12042
12043
12044
12045
12046
12047
12048
12049
12050
12051
12052
12053
12054
12055
12056
12057
12058
12059
12060
12061
12062
12063
12064
12065
12066
12067
12068
12069
12070
12071
12072
12073
12074
12075
12076
12077
12078
12079
12080
12081
12082
12083
12084
12085
12086
12087
12088
12089
12090
12091
12092
12093
12094
12095
12096
12097
12098
12099
12100
12101
12102
12103
12104
12105
12106
12107
12108
12109
12110
12111
12112
12113
12114
12115
12116
12117
12118
12119
12120   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
12121 $as_echo_n "checking dynamic linker characteristics... " >&6; }
12122
12123 if test "$GCC" = yes; then
12124   case $host_os in
12125     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
12126     *) lt_awk_arg="/^libraries:/" ;;
12127   esac
12128   case $host_os in
12129     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
12130     *) lt_sed_strip_eq="s,=/,/,g" ;;
12131   esac
12132   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
12133   case $lt_search_path_spec in
12134   *\;*)
12135     # if the path contains ";" then we assume it to be the separator
12136     # otherwise default to the standard path separator (i.e. ":") - it is
12137     # assumed that no part of a normal pathname contains ";" but that should
12138     # okay in the real world where ";" in dirpaths is itself problematic.
12139     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
12140     ;;
12141   *)
12142     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
12143     ;;
12144   esac
12145   # Ok, now we have the path, separated by spaces, we can step through it
12146   # and add multilib dir if necessary.
12147   lt_tmp_lt_search_path_spec=
12148   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
12149   for lt_sys_path in $lt_search_path_spec; do
12150     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
12151       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
12152     else
12153       test -d "$lt_sys_path" && \
12154         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
12155     fi
12156   done
12157   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
12158 BEGIN {RS=" "; FS="/|\n";} {
12159   lt_foo="";
12160   lt_count=0;
12161   for (lt_i = NF; lt_i > 0; lt_i--) {
12162     if ($lt_i != "" && $lt_i != ".") {
12163       if ($lt_i == "..") {
12164         lt_count++;
12165       } else {
12166         if (lt_count == 0) {
12167           lt_foo="/" $lt_i lt_foo;
12168         } else {
12169           lt_count--;
12170         }
12171       }
12172     }
12173   }
12174   if (lt_foo != "") { lt_freq[lt_foo]++; }
12175   if (lt_freq[lt_foo] == 1) { print lt_foo; }
12176 }'`
12177   # AWK program above erroneously prepends '/' to C:/dos/paths
12178   # for these hosts.
12179   case $host_os in
12180     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
12181       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
12182   esac
12183   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
12184 else
12185   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12186 fi
12187 library_names_spec=
12188 libname_spec='lib$name'
12189 soname_spec=
12190 shrext_cmds=".so"
12191 postinstall_cmds=
12192 postuninstall_cmds=
12193 finish_cmds=
12194 finish_eval=
12195 shlibpath_var=
12196 shlibpath_overrides_runpath=unknown
12197 version_type=none
12198 dynamic_linker="$host_os ld.so"
12199 sys_lib_dlsearch_path_spec="/lib /usr/lib"
12200 need_lib_prefix=unknown
12201 hardcode_into_libs=no
12202
12203 # when you set need_version to no, make sure it does not cause -set_version
12204 # flags to be left without arguments
12205 need_version=unknown
12206
12207 case $host_os in
12208 aix3*)
12209   version_type=linux # correct to gnu/linux during the next big refactor
12210   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
12211   shlibpath_var=LIBPATH
12212
12213   # AIX 3 has no versioning support, so we append a major version to the name.
12214   soname_spec='${libname}${release}${shared_ext}$major'
12215   ;;
12216
12217 aix[4-9]*)
12218   version_type=linux # correct to gnu/linux during the next big refactor
12219   need_lib_prefix=no
12220   need_version=no
12221   hardcode_into_libs=yes
12222   if test "$host_cpu" = ia64; then
12223     # AIX 5 supports IA64
12224     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12225     shlibpath_var=LD_LIBRARY_PATH
12226   else
12227     # With GCC up to 2.95.x, collect2 would create an import file
12228     # for dependence libraries.  The import file would start with
12229     # the line `#! .'.  This would cause the generated library to
12230     # depend on `.', always an invalid library.  This was fixed in
12231     # development snapshots of GCC prior to 3.0.
12232     case $host_os in
12233       aix4 | aix4.[01] | aix4.[01].*)
12234       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12235            echo ' yes '
12236            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
12237         :
12238       else
12239         can_build_shared=no
12240       fi
12241       ;;
12242     esac
12243     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12244     # soname into executable. Probably we can add versioning support to
12245     # collect2, so additional links can be useful in future.
12246     if test "$aix_use_runtimelinking" = yes; then
12247       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12248       # instead of lib<name>.a to let people know that these are not
12249       # typical AIX shared libraries.
12250       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12251     else
12252       # We preserve .a as extension for shared libraries through AIX4.2
12253       # and later when we are not doing run time linking.
12254       library_names_spec='${libname}${release}.a $libname.a'
12255       soname_spec='${libname}${release}${shared_ext}$major'
12256     fi
12257     shlibpath_var=LIBPATH
12258   fi
12259   ;;
12260
12261 amigaos*)
12262   case $host_cpu in
12263   powerpc)
12264     # Since July 2007 AmigaOS4 officially supports .so libraries.
12265     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12266     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12267     ;;
12268   m68k)
12269     library_names_spec='$libname.ixlibrary $libname.a'
12270     # Create ${libname}_ixlibrary.a entries in /sys/libs.
12271     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'
12272     ;;
12273   esac
12274   ;;
12275
12276 beos*)
12277   library_names_spec='${libname}${shared_ext}'
12278   dynamic_linker="$host_os ld.so"
12279   shlibpath_var=LIBRARY_PATH
12280   ;;
12281
12282 bsdi[45]*)
12283   version_type=linux # correct to gnu/linux during the next big refactor
12284   need_version=no
12285   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12286   soname_spec='${libname}${release}${shared_ext}$major'
12287   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12288   shlibpath_var=LD_LIBRARY_PATH
12289   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12290   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12291   # the default ld.so.conf also contains /usr/contrib/lib and
12292   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12293   # libtool to hard-code these into programs
12294   ;;
12295
12296 cygwin* | mingw* | pw32* | cegcc*)
12297   version_type=windows
12298   shrext_cmds=".dll"
12299   need_version=no
12300   need_lib_prefix=no
12301
12302   case $GCC,$cc_basename in
12303   yes,*)
12304     # gcc
12305     library_names_spec='$libname.dll.a'
12306     # DLL is installed to $(libdir)/../bin by postinstall_cmds
12307     postinstall_cmds='base_file=`basename \${file}`~
12308       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
12309       dldir=$destdir/`dirname \$dlpath`~
12310       test -d \$dldir || mkdir -p \$dldir~
12311       $install_prog $dir/$dlname \$dldir/$dlname~
12312       chmod a+x \$dldir/$dlname~
12313       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12314         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12315       fi'
12316     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12317       dlpath=$dir/\$dldll~
12318        $RM \$dlpath'
12319     shlibpath_overrides_runpath=yes
12320
12321     case $host_os in
12322     cygwin*)
12323       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12324       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12325
12326       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
12327       ;;
12328     mingw* | cegcc*)
12329       # MinGW DLLs use traditional 'lib' prefix
12330       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12331       ;;
12332     pw32*)
12333       # pw32 DLLs use 'pw' prefix rather than 'lib'
12334       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12335       ;;
12336     esac
12337     dynamic_linker='Win32 ld.exe'
12338     ;;
12339
12340   *,cl*)
12341     # Native MSVC
12342     libname_spec='$name'
12343     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12344     library_names_spec='${libname}.dll.lib'
12345
12346     case $build_os in
12347     mingw*)
12348       sys_lib_search_path_spec=
12349       lt_save_ifs=$IFS
12350       IFS=';'
12351       for lt_path in $LIB
12352       do
12353         IFS=$lt_save_ifs
12354         # Let DOS variable expansion print the short 8.3 style file name.
12355         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
12356         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
12357       done
12358       IFS=$lt_save_ifs
12359       # Convert to MSYS style.
12360       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
12361       ;;
12362     cygwin*)
12363       # Convert to unix form, then to dos form, then back to unix form
12364       # but this time dos style (no spaces!) so that the unix form looks
12365       # like /cygdrive/c/PROGRA~1:/cygdr...
12366       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
12367       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
12368       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12369       ;;
12370     *)
12371       sys_lib_search_path_spec="$LIB"
12372       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
12373         # It is most probably a Windows format PATH.
12374         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12375       else
12376         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12377       fi
12378       # FIXME: find the short name or the path components, as spaces are
12379       # common. (e.g. "Program Files" -> "PROGRA~1")
12380       ;;
12381     esac
12382
12383     # DLL is installed to $(libdir)/../bin by postinstall_cmds
12384     postinstall_cmds='base_file=`basename \${file}`~
12385       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
12386       dldir=$destdir/`dirname \$dlpath`~
12387       test -d \$dldir || mkdir -p \$dldir~
12388       $install_prog $dir/$dlname \$dldir/$dlname'
12389     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12390       dlpath=$dir/\$dldll~
12391        $RM \$dlpath'
12392     shlibpath_overrides_runpath=yes
12393     dynamic_linker='Win32 link.exe'
12394     ;;
12395
12396   *)
12397     # Assume MSVC wrapper
12398     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12399     dynamic_linker='Win32 ld.exe'
12400     ;;
12401   esac
12402   # FIXME: first we should search . and the directory the executable is in
12403   shlibpath_var=PATH
12404   ;;
12405
12406 darwin* | rhapsody*)
12407   dynamic_linker="$host_os dyld"
12408   version_type=darwin
12409   need_lib_prefix=no
12410   need_version=no
12411   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12412   soname_spec='${libname}${release}${major}$shared_ext'
12413   shlibpath_overrides_runpath=yes
12414   shlibpath_var=DYLD_LIBRARY_PATH
12415   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12416
12417   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
12418   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12419   ;;
12420
12421 dgux*)
12422   version_type=linux # correct to gnu/linux during the next big refactor
12423   need_lib_prefix=no
12424   need_version=no
12425   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12426   soname_spec='${libname}${release}${shared_ext}$major'
12427   shlibpath_var=LD_LIBRARY_PATH
12428   ;;
12429
12430 freebsd* | dragonfly*)
12431   # DragonFly does not have aout.  When/if they implement a new
12432   # versioning mechanism, adjust this.
12433   if test -x /usr/bin/objformat; then
12434     objformat=`/usr/bin/objformat`
12435   else
12436     case $host_os in
12437     freebsd[23].*) objformat=aout ;;
12438     *) objformat=elf ;;
12439     esac
12440   fi
12441   version_type=freebsd-$objformat
12442   case $version_type in
12443     freebsd-elf*)
12444       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12445       need_version=no
12446       need_lib_prefix=no
12447       ;;
12448     freebsd-*)
12449       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12450       need_version=yes
12451       ;;
12452   esac
12453   shlibpath_var=LD_LIBRARY_PATH
12454   case $host_os in
12455   freebsd2.*)
12456     shlibpath_overrides_runpath=yes
12457     ;;
12458   freebsd3.[01]* | freebsdelf3.[01]*)
12459     shlibpath_overrides_runpath=yes
12460     hardcode_into_libs=yes
12461     ;;
12462   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
12463   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12464     shlibpath_overrides_runpath=no
12465     hardcode_into_libs=yes
12466     ;;
12467   *) # from 4.6 on, and DragonFly
12468     shlibpath_overrides_runpath=yes
12469     hardcode_into_libs=yes
12470     ;;
12471   esac
12472   ;;
12473
12474 gnu*)
12475   version_type=linux # correct to gnu/linux during the next big refactor
12476   need_lib_prefix=no
12477   need_version=no
12478   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12479   soname_spec='${libname}${release}${shared_ext}$major'
12480   shlibpath_var=LD_LIBRARY_PATH
12481   shlibpath_overrides_runpath=no
12482   hardcode_into_libs=yes
12483   ;;
12484
12485 haiku*)
12486   version_type=linux # correct to gnu/linux during the next big refactor
12487   need_lib_prefix=no
12488   need_version=no
12489   dynamic_linker="$host_os runtime_loader"
12490   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12491   soname_spec='${libname}${release}${shared_ext}$major'
12492   shlibpath_var=LIBRARY_PATH
12493   shlibpath_overrides_runpath=yes
12494   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12495   hardcode_into_libs=yes
12496   ;;
12497
12498 hpux9* | hpux10* | hpux11*)
12499   # Give a soname corresponding to the major version so that dld.sl refuses to
12500   # link against other versions.
12501   version_type=sunos
12502   need_lib_prefix=no
12503   need_version=no
12504   case $host_cpu in
12505   ia64*)
12506     shrext_cmds='.so'
12507     hardcode_into_libs=yes
12508     dynamic_linker="$host_os dld.so"
12509     shlibpath_var=LD_LIBRARY_PATH
12510     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12511     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12512     soname_spec='${libname}${release}${shared_ext}$major'
12513     if test "X$HPUX_IA64_MODE" = X32; then
12514       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12515     else
12516       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12517     fi
12518     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12519     ;;
12520   hppa*64*)
12521     shrext_cmds='.sl'
12522     hardcode_into_libs=yes
12523     dynamic_linker="$host_os dld.sl"
12524     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12525     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12526     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12527     soname_spec='${libname}${release}${shared_ext}$major'
12528     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12529     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12530     ;;
12531   *)
12532     shrext_cmds='.sl'
12533     dynamic_linker="$host_os dld.sl"
12534     shlibpath_var=SHLIB_PATH
12535     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12536     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12537     soname_spec='${libname}${release}${shared_ext}$major'
12538     ;;
12539   esac
12540   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12541   postinstall_cmds='chmod 555 $lib'
12542   # or fails outright, so override atomically:
12543   install_override_mode=555
12544   ;;
12545
12546 interix[3-9]*)
12547   version_type=linux # correct to gnu/linux during the next big refactor
12548   need_lib_prefix=no
12549   need_version=no
12550   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12551   soname_spec='${libname}${release}${shared_ext}$major'
12552   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12553   shlibpath_var=LD_LIBRARY_PATH
12554   shlibpath_overrides_runpath=no
12555   hardcode_into_libs=yes
12556   ;;
12557
12558 irix5* | irix6* | nonstopux*)
12559   case $host_os in
12560     nonstopux*) version_type=nonstopux ;;
12561     *)
12562         if test "$lt_cv_prog_gnu_ld" = yes; then
12563                 version_type=linux # correct to gnu/linux during the next big refactor
12564         else
12565                 version_type=irix
12566         fi ;;
12567   esac
12568   need_lib_prefix=no
12569   need_version=no
12570   soname_spec='${libname}${release}${shared_ext}$major'
12571   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12572   case $host_os in
12573   irix5* | nonstopux*)
12574     libsuff= shlibsuff=
12575     ;;
12576   *)
12577     case $LD in # libtool.m4 will add one of these switches to LD
12578     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12579       libsuff= shlibsuff= libmagic=32-bit;;
12580     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12581       libsuff=32 shlibsuff=N32 libmagic=N32;;
12582     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12583       libsuff=64 shlibsuff=64 libmagic=64-bit;;
12584     *) libsuff= shlibsuff= libmagic=never-match;;
12585     esac
12586     ;;
12587   esac
12588   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12589   shlibpath_overrides_runpath=no
12590   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12591   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
12592   hardcode_into_libs=yes
12593   ;;
12594
12595 # No shared lib support for Linux oldld, aout, or coff.
12596 linux*oldld* | linux*aout* | linux*coff*)
12597   dynamic_linker=no
12598   ;;
12599
12600 # This must be glibc/ELF.
12601 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12602   version_type=linux # correct to gnu/linux during the next big refactor
12603   need_lib_prefix=no
12604   need_version=no
12605   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12606   soname_spec='${libname}${release}${shared_ext}$major'
12607   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12608   shlibpath_var=LD_LIBRARY_PATH
12609   shlibpath_overrides_runpath=no
12610
12611   # Some binutils ld are patched to set DT_RUNPATH
12612   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
12613   $as_echo_n "(cached) " >&6
12614 else
12615   lt_cv_shlibpath_overrides_runpath=no
12616     save_LDFLAGS=$LDFLAGS
12617     save_libdir=$libdir
12618     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12619          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12620     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12621 /* end confdefs.h.  */
12622
12623 int
12624 main ()
12625 {
12626
12627   ;
12628   return 0;
12629 }
12630 _ACEOF
12631 if ac_fn_c_try_link "$LINENO"; then :
12632   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12633   lt_cv_shlibpath_overrides_runpath=yes
12634 fi
12635 fi
12636 rm -f core conftest.err conftest.$ac_objext \
12637     conftest$ac_exeext conftest.$ac_ext
12638     LDFLAGS=$save_LDFLAGS
12639     libdir=$save_libdir
12640
12641 fi
12642
12643   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
12644
12645   # This implies no fast_install, which is unacceptable.
12646   # Some rework will be needed to allow for fast_install
12647   # before this can be enabled.
12648   hardcode_into_libs=yes
12649
12650   # Append ld.so.conf contents to the search path
12651   if test -f /etc/ld.so.conf; then
12652     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' ' '`
12653     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12654   fi
12655
12656   # We used to test for /lib/ld.so.1 and disable shared libraries on
12657   # powerpc, because MkLinux only supported shared libraries with the
12658   # GNU dynamic linker.  Since this was broken with cross compilers,
12659   # most powerpc-linux boxes support dynamic linking these days and
12660   # people can always --disable-shared, the test was removed, and we
12661   # assume the GNU/Linux dynamic linker is in use.
12662   dynamic_linker='GNU/Linux ld.so'
12663   ;;
12664
12665 netbsdelf*-gnu)
12666   version_type=linux
12667   need_lib_prefix=no
12668   need_version=no
12669   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12670   soname_spec='${libname}${release}${shared_ext}$major'
12671   shlibpath_var=LD_LIBRARY_PATH
12672   shlibpath_overrides_runpath=no
12673   hardcode_into_libs=yes
12674   dynamic_linker='NetBSD ld.elf_so'
12675   ;;
12676
12677 netbsd*)
12678   version_type=sunos
12679   need_lib_prefix=no
12680   need_version=no
12681   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12682     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12683     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12684     dynamic_linker='NetBSD (a.out) ld.so'
12685   else
12686     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12687     soname_spec='${libname}${release}${shared_ext}$major'
12688     dynamic_linker='NetBSD ld.elf_so'
12689   fi
12690   shlibpath_var=LD_LIBRARY_PATH
12691   shlibpath_overrides_runpath=yes
12692   hardcode_into_libs=yes
12693   ;;
12694
12695 newsos6)
12696   version_type=linux # correct to gnu/linux during the next big refactor
12697   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12698   shlibpath_var=LD_LIBRARY_PATH
12699   shlibpath_overrides_runpath=yes
12700   ;;
12701
12702 *nto* | *qnx*)
12703   version_type=qnx
12704   need_lib_prefix=no
12705   need_version=no
12706   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12707   soname_spec='${libname}${release}${shared_ext}$major'
12708   shlibpath_var=LD_LIBRARY_PATH
12709   shlibpath_overrides_runpath=no
12710   hardcode_into_libs=yes
12711   dynamic_linker='ldqnx.so'
12712   ;;
12713
12714 openbsd*)
12715   version_type=sunos
12716   sys_lib_dlsearch_path_spec="/usr/lib"
12717   need_lib_prefix=no
12718   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12719   case $host_os in
12720     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
12721     *)                          need_version=no  ;;
12722   esac
12723   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12724   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12725   shlibpath_var=LD_LIBRARY_PATH
12726   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12727     case $host_os in
12728       openbsd2.[89] | openbsd2.[89].*)
12729         shlibpath_overrides_runpath=no
12730         ;;
12731       *)
12732         shlibpath_overrides_runpath=yes
12733         ;;
12734       esac
12735   else
12736     shlibpath_overrides_runpath=yes
12737   fi
12738   ;;
12739
12740 os2*)
12741   libname_spec='$name'
12742   shrext_cmds=".dll"
12743   need_lib_prefix=no
12744   library_names_spec='$libname${shared_ext} $libname.a'
12745   dynamic_linker='OS/2 ld.exe'
12746   shlibpath_var=LIBPATH
12747   ;;
12748
12749 osf3* | osf4* | osf5*)
12750   version_type=osf
12751   need_lib_prefix=no
12752   need_version=no
12753   soname_spec='${libname}${release}${shared_ext}$major'
12754   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12755   shlibpath_var=LD_LIBRARY_PATH
12756   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12757   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
12758   ;;
12759
12760 rdos*)
12761   dynamic_linker=no
12762   ;;
12763
12764 solaris*)
12765   version_type=linux # correct to gnu/linux during the next big refactor
12766   need_lib_prefix=no
12767   need_version=no
12768   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12769   soname_spec='${libname}${release}${shared_ext}$major'
12770   shlibpath_var=LD_LIBRARY_PATH
12771   shlibpath_overrides_runpath=yes
12772   hardcode_into_libs=yes
12773   # ldd complains unless libraries are executable
12774   postinstall_cmds='chmod +x $lib'
12775   ;;
12776
12777 sunos4*)
12778   version_type=sunos
12779   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12780   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12781   shlibpath_var=LD_LIBRARY_PATH
12782   shlibpath_overrides_runpath=yes
12783   if test "$with_gnu_ld" = yes; then
12784     need_lib_prefix=no
12785   fi
12786   need_version=yes
12787   ;;
12788
12789 sysv4 | sysv4.3*)
12790   version_type=linux # correct to gnu/linux during the next big refactor
12791   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12792   soname_spec='${libname}${release}${shared_ext}$major'
12793   shlibpath_var=LD_LIBRARY_PATH
12794   case $host_vendor in
12795     sni)
12796       shlibpath_overrides_runpath=no
12797       need_lib_prefix=no
12798       runpath_var=LD_RUN_PATH
12799       ;;
12800     siemens)
12801       need_lib_prefix=no
12802       ;;
12803     motorola)
12804       need_lib_prefix=no
12805       need_version=no
12806       shlibpath_overrides_runpath=no
12807       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12808       ;;
12809   esac
12810   ;;
12811
12812 sysv4*MP*)
12813   if test -d /usr/nec ;then
12814     version_type=linux # correct to gnu/linux during the next big refactor
12815     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12816     soname_spec='$libname${shared_ext}.$major'
12817     shlibpath_var=LD_LIBRARY_PATH
12818   fi
12819   ;;
12820
12821 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12822   version_type=freebsd-elf
12823   need_lib_prefix=no
12824   need_version=no
12825   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12826   soname_spec='${libname}${release}${shared_ext}$major'
12827   shlibpath_var=LD_LIBRARY_PATH
12828   shlibpath_overrides_runpath=yes
12829   hardcode_into_libs=yes
12830   if test "$with_gnu_ld" = yes; then
12831     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12832   else
12833     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12834     case $host_os in
12835       sco3.2v5*)
12836         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12837         ;;
12838     esac
12839   fi
12840   sys_lib_dlsearch_path_spec='/usr/lib'
12841   ;;
12842
12843 tpf*)
12844   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
12845   version_type=linux # correct to gnu/linux during the next big refactor
12846   need_lib_prefix=no
12847   need_version=no
12848   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12849   shlibpath_var=LD_LIBRARY_PATH
12850   shlibpath_overrides_runpath=no
12851   hardcode_into_libs=yes
12852   ;;
12853
12854 uts4*)
12855   version_type=linux # correct to gnu/linux during the next big refactor
12856   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12857   soname_spec='${libname}${release}${shared_ext}$major'
12858   shlibpath_var=LD_LIBRARY_PATH
12859   ;;
12860
12861 *)
12862   dynamic_linker=no
12863   ;;
12864 esac
12865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12866 $as_echo "$dynamic_linker" >&6; }
12867 test "$dynamic_linker" = no && can_build_shared=no
12868
12869 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12870 if test "$GCC" = yes; then
12871   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12872 fi
12873
12874 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12875   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
12876 fi
12877 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12878   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
12879 fi
12880
12881
12882
12883
12884
12885
12886
12887
12888
12889
12890
12891
12892
12893
12894
12895
12896
12897
12898
12899
12900
12901
12902
12903
12904
12905
12906
12907
12908
12909
12910
12911
12912
12913
12914
12915
12916
12917
12918
12919
12920
12921
12922
12923
12924
12925
12926
12927
12928
12929
12930
12931
12932
12933
12934
12935
12936
12937
12938
12939
12940
12941
12942
12943
12944
12945
12946
12947
12948
12949
12950
12951
12952
12953
12954
12955
12956
12957
12958
12959
12960
12961
12962
12963
12964
12965
12966
12967
12968
12969
12970
12971
12972   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12973 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12974 hardcode_action=
12975 if test -n "$hardcode_libdir_flag_spec" ||
12976    test -n "$runpath_var" ||
12977    test "X$hardcode_automatic" = "Xyes" ; then
12978
12979   # We can hardcode non-existent directories.
12980   if test "$hardcode_direct" != no &&
12981      # If the only mechanism to avoid hardcoding is shlibpath_var, we
12982      # have to relink, otherwise we might link with an installed library
12983      # when we should be linking with a yet-to-be-installed one
12984      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12985      test "$hardcode_minus_L" != no; then
12986     # Linking always hardcodes the temporary library directory.
12987     hardcode_action=relink
12988   else
12989     # We can link without hardcoding, and we can hardcode nonexisting dirs.
12990     hardcode_action=immediate
12991   fi
12992 else
12993   # We cannot hardcode anything, or else we can only hardcode existing
12994   # directories.
12995   hardcode_action=unsupported
12996 fi
12997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12998 $as_echo "$hardcode_action" >&6; }
12999
13000 if test "$hardcode_action" = relink ||
13001    test "$inherit_rpath" = yes; then
13002   # Fast installation is not supported
13003   enable_fast_install=no
13004 elif test "$shlibpath_overrides_runpath" = yes ||
13005      test "$enable_shared" = no; then
13006   # Fast installation is not necessary
13007   enable_fast_install=needless
13008 fi
13009
13010
13011
13012
13013
13014
13015   if test "x$enable_dlopen" != xyes; then
13016   enable_dlopen=unknown
13017   enable_dlopen_self=unknown
13018   enable_dlopen_self_static=unknown
13019 else
13020   lt_cv_dlopen=no
13021   lt_cv_dlopen_libs=
13022
13023   case $host_os in
13024   beos*)
13025     lt_cv_dlopen="load_add_on"
13026     lt_cv_dlopen_libs=
13027     lt_cv_dlopen_self=yes
13028     ;;
13029
13030   mingw* | pw32* | cegcc*)
13031     lt_cv_dlopen="LoadLibrary"
13032     lt_cv_dlopen_libs=
13033     ;;
13034
13035   cygwin*)
13036     lt_cv_dlopen="dlopen"
13037     lt_cv_dlopen_libs=
13038     ;;
13039
13040   darwin*)
13041   # if libdl is installed we need to link against it
13042     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13043 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13044 if ${ac_cv_lib_dl_dlopen+:} false; then :
13045   $as_echo_n "(cached) " >&6
13046 else
13047   ac_check_lib_save_LIBS=$LIBS
13048 LIBS="-ldl  $LIBS"
13049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13050 /* end confdefs.h.  */
13051
13052 /* Override any GCC internal prototype to avoid an error.
13053    Use char because int might match the return type of a GCC
13054    builtin and then its argument prototype would still apply.  */
13055 #ifdef __cplusplus
13056 extern "C"
13057 #endif
13058 char dlopen ();
13059 int
13060 main ()
13061 {
13062 return dlopen ();
13063   ;
13064   return 0;
13065 }
13066 _ACEOF
13067 if ac_fn_c_try_link "$LINENO"; then :
13068   ac_cv_lib_dl_dlopen=yes
13069 else
13070   ac_cv_lib_dl_dlopen=no
13071 fi
13072 rm -f core conftest.err conftest.$ac_objext \
13073     conftest$ac_exeext conftest.$ac_ext
13074 LIBS=$ac_check_lib_save_LIBS
13075 fi
13076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13077 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13078 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13079   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
13080 else
13081
13082     lt_cv_dlopen="dyld"
13083     lt_cv_dlopen_libs=
13084     lt_cv_dlopen_self=yes
13085
13086 fi
13087
13088     ;;
13089
13090   *)
13091     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
13092 if test "x$ac_cv_func_shl_load" = xyes; then :
13093   lt_cv_dlopen="shl_load"
13094 else
13095   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
13096 $as_echo_n "checking for shl_load in -ldld... " >&6; }
13097 if ${ac_cv_lib_dld_shl_load+:} false; then :
13098   $as_echo_n "(cached) " >&6
13099 else
13100   ac_check_lib_save_LIBS=$LIBS
13101 LIBS="-ldld  $LIBS"
13102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13103 /* end confdefs.h.  */
13104
13105 /* Override any GCC internal prototype to avoid an error.
13106    Use char because int might match the return type of a GCC
13107    builtin and then its argument prototype would still apply.  */
13108 #ifdef __cplusplus
13109 extern "C"
13110 #endif
13111 char shl_load ();
13112 int
13113 main ()
13114 {
13115 return shl_load ();
13116   ;
13117   return 0;
13118 }
13119 _ACEOF
13120 if ac_fn_c_try_link "$LINENO"; then :
13121   ac_cv_lib_dld_shl_load=yes
13122 else
13123   ac_cv_lib_dld_shl_load=no
13124 fi
13125 rm -f core conftest.err conftest.$ac_objext \
13126     conftest$ac_exeext conftest.$ac_ext
13127 LIBS=$ac_check_lib_save_LIBS
13128 fi
13129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
13130 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
13131 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
13132   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
13133 else
13134   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
13135 if test "x$ac_cv_func_dlopen" = xyes; then :
13136   lt_cv_dlopen="dlopen"
13137 else
13138   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13139 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13140 if ${ac_cv_lib_dl_dlopen+:} false; then :
13141   $as_echo_n "(cached) " >&6
13142 else
13143   ac_check_lib_save_LIBS=$LIBS
13144 LIBS="-ldl  $LIBS"
13145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13146 /* end confdefs.h.  */
13147
13148 /* Override any GCC internal prototype to avoid an error.
13149    Use char because int might match the return type of a GCC
13150    builtin and then its argument prototype would still apply.  */
13151 #ifdef __cplusplus
13152 extern "C"
13153 #endif
13154 char dlopen ();
13155 int
13156 main ()
13157 {
13158 return dlopen ();
13159   ;
13160   return 0;
13161 }
13162 _ACEOF
13163 if ac_fn_c_try_link "$LINENO"; then :
13164   ac_cv_lib_dl_dlopen=yes
13165 else
13166   ac_cv_lib_dl_dlopen=no
13167 fi
13168 rm -f core conftest.err conftest.$ac_objext \
13169     conftest$ac_exeext conftest.$ac_ext
13170 LIBS=$ac_check_lib_save_LIBS
13171 fi
13172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13173 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13174 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13175   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
13176 else
13177   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
13178 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
13179 if ${ac_cv_lib_svld_dlopen+:} false; then :
13180   $as_echo_n "(cached) " >&6
13181 else
13182   ac_check_lib_save_LIBS=$LIBS
13183 LIBS="-lsvld  $LIBS"
13184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13185 /* end confdefs.h.  */
13186
13187 /* Override any GCC internal prototype to avoid an error.
13188    Use char because int might match the return type of a GCC
13189    builtin and then its argument prototype would still apply.  */
13190 #ifdef __cplusplus
13191 extern "C"
13192 #endif
13193 char dlopen ();
13194 int
13195 main ()
13196 {
13197 return dlopen ();
13198   ;
13199   return 0;
13200 }
13201 _ACEOF
13202 if ac_fn_c_try_link "$LINENO"; then :
13203   ac_cv_lib_svld_dlopen=yes
13204 else
13205   ac_cv_lib_svld_dlopen=no
13206 fi
13207 rm -f core conftest.err conftest.$ac_objext \
13208     conftest$ac_exeext conftest.$ac_ext
13209 LIBS=$ac_check_lib_save_LIBS
13210 fi
13211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13212 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13213 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
13214   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
13215 else
13216   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13217 $as_echo_n "checking for dld_link in -ldld... " >&6; }
13218 if ${ac_cv_lib_dld_dld_link+:} false; then :
13219   $as_echo_n "(cached) " >&6
13220 else
13221   ac_check_lib_save_LIBS=$LIBS
13222 LIBS="-ldld  $LIBS"
13223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13224 /* end confdefs.h.  */
13225
13226 /* Override any GCC internal prototype to avoid an error.
13227    Use char because int might match the return type of a GCC
13228    builtin and then its argument prototype would still apply.  */
13229 #ifdef __cplusplus
13230 extern "C"
13231 #endif
13232 char dld_link ();
13233 int
13234 main ()
13235 {
13236 return dld_link ();
13237   ;
13238   return 0;
13239 }
13240 _ACEOF
13241 if ac_fn_c_try_link "$LINENO"; then :
13242   ac_cv_lib_dld_dld_link=yes
13243 else
13244   ac_cv_lib_dld_dld_link=no
13245 fi
13246 rm -f core conftest.err conftest.$ac_objext \
13247     conftest$ac_exeext conftest.$ac_ext
13248 LIBS=$ac_check_lib_save_LIBS
13249 fi
13250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13251 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13252 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
13253   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
13254 fi
13255
13256
13257 fi
13258
13259
13260 fi
13261
13262
13263 fi
13264
13265
13266 fi
13267
13268
13269 fi
13270
13271     ;;
13272   esac
13273
13274   if test "x$lt_cv_dlopen" != xno; then
13275     enable_dlopen=yes
13276   else
13277     enable_dlopen=no
13278   fi
13279
13280   case $lt_cv_dlopen in
13281   dlopen)
13282     save_CPPFLAGS="$CPPFLAGS"
13283     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
13284
13285     save_LDFLAGS="$LDFLAGS"
13286     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
13287
13288     save_LIBS="$LIBS"
13289     LIBS="$lt_cv_dlopen_libs $LIBS"
13290
13291     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13292 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
13293 if ${lt_cv_dlopen_self+:} false; then :
13294   $as_echo_n "(cached) " >&6
13295 else
13296           if test "$cross_compiling" = yes; then :
13297   lt_cv_dlopen_self=cross
13298 else
13299   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13300   lt_status=$lt_dlunknown
13301   cat > conftest.$ac_ext <<_LT_EOF
13302 #line $LINENO "configure"
13303 #include "confdefs.h"
13304
13305 #if HAVE_DLFCN_H
13306 #include <dlfcn.h>
13307 #endif
13308
13309 #include <stdio.h>
13310
13311 #ifdef RTLD_GLOBAL
13312 #  define LT_DLGLOBAL           RTLD_GLOBAL
13313 #else
13314 #  ifdef DL_GLOBAL
13315 #    define LT_DLGLOBAL         DL_GLOBAL
13316 #  else
13317 #    define LT_DLGLOBAL         0
13318 #  endif
13319 #endif
13320
13321 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13322    find out it does not work in some platform. */
13323 #ifndef LT_DLLAZY_OR_NOW
13324 #  ifdef RTLD_LAZY
13325 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
13326 #  else
13327 #    ifdef DL_LAZY
13328 #      define LT_DLLAZY_OR_NOW          DL_LAZY
13329 #    else
13330 #      ifdef RTLD_NOW
13331 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
13332 #      else
13333 #        ifdef DL_NOW
13334 #          define LT_DLLAZY_OR_NOW      DL_NOW
13335 #        else
13336 #          define LT_DLLAZY_OR_NOW      0
13337 #        endif
13338 #      endif
13339 #    endif
13340 #  endif
13341 #endif
13342
13343 /* When -fvisbility=hidden is used, assume the code has been annotated
13344    correspondingly for the symbols needed.  */
13345 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13346 int fnord () __attribute__((visibility("default")));
13347 #endif
13348
13349 int fnord () { return 42; }
13350 int main ()
13351 {
13352   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13353   int status = $lt_dlunknown;
13354
13355   if (self)
13356     {
13357       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13358       else
13359         {
13360           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
13361           else puts (dlerror ());
13362         }
13363       /* dlclose (self); */
13364     }
13365   else
13366     puts (dlerror ());
13367
13368   return status;
13369 }
13370 _LT_EOF
13371   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13372   (eval $ac_link) 2>&5
13373   ac_status=$?
13374   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13375   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
13376     (./conftest; exit; ) >&5 2>/dev/null
13377     lt_status=$?
13378     case x$lt_status in
13379       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
13380       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
13381       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
13382     esac
13383   else :
13384     # compilation failed
13385     lt_cv_dlopen_self=no
13386   fi
13387 fi
13388 rm -fr conftest*
13389
13390
13391 fi
13392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13393 $as_echo "$lt_cv_dlopen_self" >&6; }
13394
13395     if test "x$lt_cv_dlopen_self" = xyes; then
13396       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
13397       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13398 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13399 if ${lt_cv_dlopen_self_static+:} false; then :
13400   $as_echo_n "(cached) " >&6
13401 else
13402           if test "$cross_compiling" = yes; then :
13403   lt_cv_dlopen_self_static=cross
13404 else
13405   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13406   lt_status=$lt_dlunknown
13407   cat > conftest.$ac_ext <<_LT_EOF
13408 #line $LINENO "configure"
13409 #include "confdefs.h"
13410
13411 #if HAVE_DLFCN_H
13412 #include <dlfcn.h>
13413 #endif
13414
13415 #include <stdio.h>
13416
13417 #ifdef RTLD_GLOBAL
13418 #  define LT_DLGLOBAL           RTLD_GLOBAL
13419 #else
13420 #  ifdef DL_GLOBAL
13421 #    define LT_DLGLOBAL         DL_GLOBAL
13422 #  else
13423 #    define LT_DLGLOBAL         0
13424 #  endif
13425 #endif
13426
13427 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13428    find out it does not work in some platform. */
13429 #ifndef LT_DLLAZY_OR_NOW
13430 #  ifdef RTLD_LAZY
13431 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
13432 #  else
13433 #    ifdef DL_LAZY
13434 #      define LT_DLLAZY_OR_NOW          DL_LAZY
13435 #    else
13436 #      ifdef RTLD_NOW
13437 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
13438 #      else
13439 #        ifdef DL_NOW
13440 #          define LT_DLLAZY_OR_NOW      DL_NOW
13441 #        else
13442 #          define LT_DLLAZY_OR_NOW      0
13443 #        endif
13444 #      endif
13445 #    endif
13446 #  endif
13447 #endif
13448
13449 /* When -fvisbility=hidden is used, assume the code has been annotated
13450    correspondingly for the symbols needed.  */
13451 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13452 int fnord () __attribute__((visibility("default")));
13453 #endif
13454
13455 int fnord () { return 42; }
13456 int main ()
13457 {
13458   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13459   int status = $lt_dlunknown;
13460
13461   if (self)
13462     {
13463       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13464       else
13465         {
13466           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
13467           else puts (dlerror ());
13468         }
13469       /* dlclose (self); */
13470     }
13471   else
13472     puts (dlerror ());
13473
13474   return status;
13475 }
13476 _LT_EOF
13477   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13478   (eval $ac_link) 2>&5
13479   ac_status=$?
13480   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13481   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
13482     (./conftest; exit; ) >&5 2>/dev/null
13483     lt_status=$?
13484     case x$lt_status in
13485       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13486       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13487       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
13488     esac
13489   else :
13490     # compilation failed
13491     lt_cv_dlopen_self_static=no
13492   fi
13493 fi
13494 rm -fr conftest*
13495
13496
13497 fi
13498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13499 $as_echo "$lt_cv_dlopen_self_static" >&6; }
13500     fi
13501
13502     CPPFLAGS="$save_CPPFLAGS"
13503     LDFLAGS="$save_LDFLAGS"
13504     LIBS="$save_LIBS"
13505     ;;
13506   esac
13507
13508   case $lt_cv_dlopen_self in
13509   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13510   *) enable_dlopen_self=unknown ;;
13511   esac
13512
13513   case $lt_cv_dlopen_self_static in
13514   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13515   *) enable_dlopen_self_static=unknown ;;
13516   esac
13517 fi
13518
13519
13520
13521
13522
13523
13524
13525
13526
13527
13528
13529
13530
13531
13532
13533
13534
13535 striplib=
13536 old_striplib=
13537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13538 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13539 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13540   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13541   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13542   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13543 $as_echo "yes" >&6; }
13544 else
13545 # FIXME - insert some real tests, host_os isn't really good enough
13546   case $host_os in
13547   darwin*)
13548     if test -n "$STRIP" ; then
13549       striplib="$STRIP -x"
13550       old_striplib="$STRIP -S"
13551       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13552 $as_echo "yes" >&6; }
13553     else
13554       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13555 $as_echo "no" >&6; }
13556     fi
13557     ;;
13558   *)
13559     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13560 $as_echo "no" >&6; }
13561     ;;
13562   esac
13563 fi
13564
13565
13566
13567
13568
13569
13570
13571
13572
13573
13574
13575
13576   # Report which library types will actually be built
13577   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13578 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13579   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13580 $as_echo "$can_build_shared" >&6; }
13581
13582   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13583 $as_echo_n "checking whether to build shared libraries... " >&6; }
13584   test "$can_build_shared" = "no" && enable_shared=no
13585
13586   # On AIX, shared libraries and static libraries use the same namespace, and
13587   # are all built from PIC.
13588   case $host_os in
13589   aix3*)
13590     test "$enable_shared" = yes && enable_static=no
13591     if test -n "$RANLIB"; then
13592       archive_cmds="$archive_cmds~\$RANLIB \$lib"
13593       postinstall_cmds='$RANLIB $lib'
13594     fi
13595     ;;
13596
13597   aix[4-9]*)
13598     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13599       test "$enable_shared" = yes && enable_static=no
13600     fi
13601     ;;
13602   esac
13603   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13604 $as_echo "$enable_shared" >&6; }
13605
13606   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13607 $as_echo_n "checking whether to build static libraries... " >&6; }
13608   # Make sure either enable_shared or enable_static is yes.
13609   test "$enable_shared" = yes || enable_static=yes
13610   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13611 $as_echo "$enable_static" >&6; }
13612
13613
13614
13615
13616 fi
13617 ac_ext=c
13618 ac_cpp='$CPP $CPPFLAGS'
13619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13622
13623 CC="$lt_save_CC"
13624
13625
13626
13627
13628
13629
13630
13631
13632
13633
13634
13635
13636
13637
13638
13639         ac_config_commands="$ac_config_commands libtool"
13640
13641
13642
13643
13644 # Only expand once:
13645
13646
13647
13648 GST_REQ=0.10.36
13649 GSTPB_REQ=0.10.36
13650
13651
13652
13653
13654 # Check whether --with-autoconf was given.
13655 if test "${with_autoconf+set}" = set; then :
13656   withval=$with_autoconf;
13657       unset AUTOCONF
13658
13659 AUTOCONF=${AUTOCONF-"${am_missing_run}${withval}"}
13660
13661       { $as_echo "$as_me:${as_lineno-$LINENO}: Using $AUTOCONF as autoconf" >&5
13662 $as_echo "$as_me: Using $AUTOCONF as autoconf" >&6;}
13663
13664 fi
13665
13666
13667
13668 # Check whether --with-autoheader was given.
13669 if test "${with_autoheader+set}" = set; then :
13670   withval=$with_autoheader;
13671       unset AUTOHEADER
13672
13673 AUTOHEADER=${AUTOHEADER-"${am_missing_run}${withval}"}
13674
13675       { $as_echo "$as_me:${as_lineno-$LINENO}: Using $AUTOHEADER as autoheader" >&5
13676 $as_echo "$as_me: Using $AUTOHEADER as autoheader" >&6;}
13677
13678 fi
13679
13680
13681
13682 # Check whether --with-automake was given.
13683 if test "${with_automake+set}" = set; then :
13684   withval=$with_automake;
13685       unset AUTOMAKE
13686
13687 AUTOMAKE=${AUTOMAKE-"${am_missing_run}${withval}"}
13688
13689       { $as_echo "$as_me:${as_lineno-$LINENO}: Using $AUTOMAKE as automake" >&5
13690 $as_echo "$as_me: Using $AUTOMAKE as automake" >&6;}
13691
13692 fi
13693
13694
13695
13696 # Check whether --with-aclocal was given.
13697 if test "${with_aclocal+set}" = set; then :
13698   withval=$with_aclocal;
13699       unset ACLOCAL
13700
13701 ACLOCAL=${ACLOCAL-"${am_missing_run}${withval}"}
13702
13703       { $as_echo "$as_me:${as_lineno-$LINENO}: Using $ACLOCAL as aclocal" >&5
13704 $as_echo "$as_me: Using $ACLOCAL as aclocal" >&6;}
13705
13706 fi
13707
13708
13709
13710 ACLOCAL_AMFLAGS="-I m4 -I common/m4"
13711
13712
13713
13714
13715   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
13716 $as_echo_n "checking whether NLS is requested... " >&6; }
13717     # Check whether --enable-nls was given.
13718 if test "${enable_nls+set}" = set; then :
13719   enableval=$enable_nls; USE_NLS=$enableval
13720 else
13721   USE_NLS=yes
13722 fi
13723
13724   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
13725 $as_echo "$USE_NLS" >&6; }
13726
13727
13728
13729
13730       GETTEXT_MACRO_VERSION=0.17
13731
13732
13733
13734
13735 # Prepare PATH_SEPARATOR.
13736 # The user is always right.
13737 if test "${PATH_SEPARATOR+set}" != set; then
13738   echo "#! /bin/sh" >conf$$.sh
13739   echo  "exit 0"   >>conf$$.sh
13740   chmod +x conf$$.sh
13741   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13742     PATH_SEPARATOR=';'
13743   else
13744     PATH_SEPARATOR=:
13745   fi
13746   rm -f conf$$.sh
13747 fi
13748
13749 # Find out how to test for executable files. Don't use a zero-byte file,
13750 # as systems may use methods other than mode bits to determine executability.
13751 cat >conf$$.file <<_ASEOF
13752 #! /bin/sh
13753 exit 0
13754 _ASEOF
13755 chmod +x conf$$.file
13756 if test -x conf$$.file >/dev/null 2>&1; then
13757   ac_executable_p="test -x"
13758 else
13759   ac_executable_p="test -f"
13760 fi
13761 rm -f conf$$.file
13762
13763 # Extract the first word of "msgfmt", so it can be a program name with args.
13764 set dummy msgfmt; ac_word=$2
13765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13766 $as_echo_n "checking for $ac_word... " >&6; }
13767 if ${ac_cv_path_MSGFMT+:} false; then :
13768   $as_echo_n "(cached) " >&6
13769 else
13770   case "$MSGFMT" in
13771   [\\/]* | ?:[\\/]*)
13772     ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
13773     ;;
13774   *)
13775     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
13776     for ac_dir in $PATH; do
13777       IFS="$ac_save_IFS"
13778       test -z "$ac_dir" && ac_dir=.
13779       for ac_exec_ext in '' $ac_executable_extensions; do
13780         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13781           echo "$as_me: trying $ac_dir/$ac_word..." >&5
13782           if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
13783      (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
13784             ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
13785             break 2
13786           fi
13787         fi
13788       done
13789     done
13790     IFS="$ac_save_IFS"
13791   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
13792     ;;
13793 esac
13794 fi
13795 MSGFMT="$ac_cv_path_MSGFMT"
13796 if test "$MSGFMT" != ":"; then
13797   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
13798 $as_echo "$MSGFMT" >&6; }
13799 else
13800   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13801 $as_echo "no" >&6; }
13802 fi
13803
13804   # Extract the first word of "gmsgfmt", so it can be a program name with args.
13805 set dummy gmsgfmt; ac_word=$2
13806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13807 $as_echo_n "checking for $ac_word... " >&6; }
13808 if ${ac_cv_path_GMSGFMT+:} false; then :
13809   $as_echo_n "(cached) " >&6
13810 else
13811   case $GMSGFMT in
13812   [\\/]* | ?:[\\/]*)
13813   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
13814   ;;
13815   *)
13816   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13817 for as_dir in $PATH
13818 do
13819   IFS=$as_save_IFS
13820   test -z "$as_dir" && as_dir=.
13821     for ac_exec_ext in '' $ac_executable_extensions; do
13822   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13823     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
13824     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13825     break 2
13826   fi
13827 done
13828   done
13829 IFS=$as_save_IFS
13830
13831   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
13832   ;;
13833 esac
13834 fi
13835 GMSGFMT=$ac_cv_path_GMSGFMT
13836 if test -n "$GMSGFMT"; then
13837   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
13838 $as_echo "$GMSGFMT" >&6; }
13839 else
13840   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13841 $as_echo "no" >&6; }
13842 fi
13843
13844
13845
13846     case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
13847     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
13848     *) MSGFMT_015=$MSGFMT ;;
13849   esac
13850
13851   case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
13852     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
13853     *) GMSGFMT_015=$GMSGFMT ;;
13854   esac
13855
13856
13857
13858 # Prepare PATH_SEPARATOR.
13859 # The user is always right.
13860 if test "${PATH_SEPARATOR+set}" != set; then
13861   echo "#! /bin/sh" >conf$$.sh
13862   echo  "exit 0"   >>conf$$.sh
13863   chmod +x conf$$.sh
13864   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13865     PATH_SEPARATOR=';'
13866   else
13867     PATH_SEPARATOR=:
13868   fi
13869   rm -f conf$$.sh
13870 fi
13871
13872 # Find out how to test for executable files. Don't use a zero-byte file,
13873 # as systems may use methods other than mode bits to determine executability.
13874 cat >conf$$.file <<_ASEOF
13875 #! /bin/sh
13876 exit 0
13877 _ASEOF
13878 chmod +x conf$$.file
13879 if test -x conf$$.file >/dev/null 2>&1; then
13880   ac_executable_p="test -x"
13881 else
13882   ac_executable_p="test -f"
13883 fi
13884 rm -f conf$$.file
13885
13886 # Extract the first word of "xgettext", so it can be a program name with args.
13887 set dummy xgettext; ac_word=$2
13888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13889 $as_echo_n "checking for $ac_word... " >&6; }
13890 if ${ac_cv_path_XGETTEXT+:} false; then :
13891   $as_echo_n "(cached) " >&6
13892 else
13893   case "$XGETTEXT" in
13894   [\\/]* | ?:[\\/]*)
13895     ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
13896     ;;
13897   *)
13898     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
13899     for ac_dir in $PATH; do
13900       IFS="$ac_save_IFS"
13901       test -z "$ac_dir" && ac_dir=.
13902       for ac_exec_ext in '' $ac_executable_extensions; do
13903         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13904           echo "$as_me: trying $ac_dir/$ac_word..." >&5
13905           if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
13906      (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
13907             ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
13908             break 2
13909           fi
13910         fi
13911       done
13912     done
13913     IFS="$ac_save_IFS"
13914   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
13915     ;;
13916 esac
13917 fi
13918 XGETTEXT="$ac_cv_path_XGETTEXT"
13919 if test "$XGETTEXT" != ":"; then
13920   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
13921 $as_echo "$XGETTEXT" >&6; }
13922 else
13923   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13924 $as_echo "no" >&6; }
13925 fi
13926
13927     rm -f messages.po
13928
13929     case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
13930     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
13931     *) XGETTEXT_015=$XGETTEXT ;;
13932   esac
13933
13934
13935
13936 # Prepare PATH_SEPARATOR.
13937 # The user is always right.
13938 if test "${PATH_SEPARATOR+set}" != set; then
13939   echo "#! /bin/sh" >conf$$.sh
13940   echo  "exit 0"   >>conf$$.sh
13941   chmod +x conf$$.sh
13942   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13943     PATH_SEPARATOR=';'
13944   else
13945     PATH_SEPARATOR=:
13946   fi
13947   rm -f conf$$.sh
13948 fi
13949
13950 # Find out how to test for executable files. Don't use a zero-byte file,
13951 # as systems may use methods other than mode bits to determine executability.
13952 cat >conf$$.file <<_ASEOF
13953 #! /bin/sh
13954 exit 0
13955 _ASEOF
13956 chmod +x conf$$.file
13957 if test -x conf$$.file >/dev/null 2>&1; then
13958   ac_executable_p="test -x"
13959 else
13960   ac_executable_p="test -f"
13961 fi
13962 rm -f conf$$.file
13963
13964 # Extract the first word of "msgmerge", so it can be a program name with args.
13965 set dummy msgmerge; ac_word=$2
13966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13967 $as_echo_n "checking for $ac_word... " >&6; }
13968 if ${ac_cv_path_MSGMERGE+:} false; then :
13969   $as_echo_n "(cached) " >&6
13970 else
13971   case "$MSGMERGE" in
13972   [\\/]* | ?:[\\/]*)
13973     ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
13974     ;;
13975   *)
13976     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
13977     for ac_dir in $PATH; do
13978       IFS="$ac_save_IFS"
13979       test -z "$ac_dir" && ac_dir=.
13980       for ac_exec_ext in '' $ac_executable_extensions; do
13981         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13982           echo "$as_me: trying $ac_dir/$ac_word..." >&5
13983           if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
13984             ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
13985             break 2
13986           fi
13987         fi
13988       done
13989     done
13990     IFS="$ac_save_IFS"
13991   test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
13992     ;;
13993 esac
13994 fi
13995 MSGMERGE="$ac_cv_path_MSGMERGE"
13996 if test "$MSGMERGE" != ":"; then
13997   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
13998 $as_echo "$MSGMERGE" >&6; }
13999 else
14000   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14001 $as_echo "no" >&6; }
14002 fi
14003
14004
14005         test -n "$localedir" || localedir='${datadir}/locale'
14006
14007
14008     test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
14009
14010
14011   ac_config_commands="$ac_config_commands po-directories"
14012
14013
14014
14015       if test "X$prefix" = "XNONE"; then
14016     acl_final_prefix="$ac_default_prefix"
14017   else
14018     acl_final_prefix="$prefix"
14019   fi
14020   if test "X$exec_prefix" = "XNONE"; then
14021     acl_final_exec_prefix='${prefix}'
14022   else
14023     acl_final_exec_prefix="$exec_prefix"
14024   fi
14025   acl_save_prefix="$prefix"
14026   prefix="$acl_final_prefix"
14027   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
14028   prefix="$acl_save_prefix"
14029
14030
14031 # Check whether --with-gnu-ld was given.
14032 if test "${with_gnu_ld+set}" = set; then :
14033   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
14034 else
14035   with_gnu_ld=no
14036 fi
14037
14038 # Prepare PATH_SEPARATOR.
14039 # The user is always right.
14040 if test "${PATH_SEPARATOR+set}" != set; then
14041   echo "#! /bin/sh" >conf$$.sh
14042   echo  "exit 0"   >>conf$$.sh
14043   chmod +x conf$$.sh
14044   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
14045     PATH_SEPARATOR=';'
14046   else
14047     PATH_SEPARATOR=:
14048   fi
14049   rm -f conf$$.sh
14050 fi
14051 ac_prog=ld
14052 if test "$GCC" = yes; then
14053   # Check if gcc -print-prog-name=ld gives a path.
14054   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
14055 $as_echo_n "checking for ld used by GCC... " >&6; }
14056   case $host in
14057   *-*-mingw*)
14058     # gcc leaves a trailing carriage return which upsets mingw
14059     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
14060   *)
14061     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
14062   esac
14063   case $ac_prog in
14064     # Accept absolute paths.
14065     [\\/]* | [A-Za-z]:[\\/]*)
14066       re_direlt='/[^/][^/]*/\.\./'
14067       # Canonicalize the path of ld
14068       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
14069       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
14070         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
14071       done
14072       test -z "$LD" && LD="$ac_prog"
14073       ;;
14074   "")
14075     # If it fails, then pretend we aren't using GCC.
14076     ac_prog=ld
14077     ;;
14078   *)
14079     # If it is relative, then search for the first ld in PATH.
14080     with_gnu_ld=unknown
14081     ;;
14082   esac
14083 elif test "$with_gnu_ld" = yes; then
14084   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14085 $as_echo_n "checking for GNU ld... " >&6; }
14086 else
14087   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14088 $as_echo_n "checking for non-GNU ld... " >&6; }
14089 fi
14090 if ${acl_cv_path_LD+:} false; then :
14091   $as_echo_n "(cached) " >&6
14092 else
14093   if test -z "$LD"; then
14094   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
14095   for ac_dir in $PATH; do
14096     test -z "$ac_dir" && ac_dir=.
14097     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
14098       acl_cv_path_LD="$ac_dir/$ac_prog"
14099       # Check to see if the program is GNU ld.  I'd rather use --version,
14100       # but apparently some GNU ld's only accept -v.
14101       # Break only if it was the GNU/non-GNU ld that we prefer.
14102       case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
14103       *GNU* | *'with BFD'*)
14104         test "$with_gnu_ld" != no && break ;;
14105       *)
14106         test "$with_gnu_ld" != yes && break ;;
14107       esac
14108     fi
14109   done
14110   IFS="$ac_save_ifs"
14111 else
14112   acl_cv_path_LD="$LD" # Let the user override the test with a path.
14113 fi
14114 fi
14115
14116 LD="$acl_cv_path_LD"
14117 if test -n "$LD"; then
14118   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14119 $as_echo "$LD" >&6; }
14120 else
14121   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14122 $as_echo "no" >&6; }
14123 fi
14124 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
14125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14126 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14127 if ${acl_cv_prog_gnu_ld+:} false; then :
14128   $as_echo_n "(cached) " >&6
14129 else
14130   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
14131 case `$LD -v 2>&1 </dev/null` in
14132 *GNU* | *'with BFD'*)
14133   acl_cv_prog_gnu_ld=yes ;;
14134 *)
14135   acl_cv_prog_gnu_ld=no ;;
14136 esac
14137 fi
14138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
14139 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
14140 with_gnu_ld=$acl_cv_prog_gnu_ld
14141
14142
14143
14144
14145                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
14146 $as_echo_n "checking for shared library run path origin... " >&6; }
14147 if ${acl_cv_rpath+:} false; then :
14148   $as_echo_n "(cached) " >&6
14149 else
14150
14151     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
14152     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
14153     . ./conftest.sh
14154     rm -f ./conftest.sh
14155     acl_cv_rpath=done
14156
14157 fi
14158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
14159 $as_echo "$acl_cv_rpath" >&6; }
14160   wl="$acl_cv_wl"
14161   acl_libext="$acl_cv_libext"
14162   acl_shlibext="$acl_cv_shlibext"
14163   acl_libname_spec="$acl_cv_libname_spec"
14164   acl_library_names_spec="$acl_cv_library_names_spec"
14165   acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
14166   acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
14167   acl_hardcode_direct="$acl_cv_hardcode_direct"
14168   acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
14169     # Check whether --enable-rpath was given.
14170 if test "${enable_rpath+set}" = set; then :
14171   enableval=$enable_rpath; :
14172 else
14173   enable_rpath=yes
14174 fi
14175
14176
14177
14178                   acl_libdirstem=lib
14179   searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
14180   if test -n "$searchpath"; then
14181     acl_save_IFS="${IFS=        }"; IFS=":"
14182     for searchdir in $searchpath; do
14183       if test -d "$searchdir"; then
14184         case "$searchdir" in
14185           */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
14186           *) searchdir=`cd "$searchdir" && pwd`
14187              case "$searchdir" in
14188                */lib64 ) acl_libdirstem=lib64 ;;
14189              esac ;;
14190         esac
14191       fi
14192     done
14193     IFS="$acl_save_IFS"
14194   fi
14195
14196
14197
14198
14199
14200
14201
14202
14203
14204     use_additional=yes
14205
14206   acl_save_prefix="$prefix"
14207   prefix="$acl_final_prefix"
14208   acl_save_exec_prefix="$exec_prefix"
14209   exec_prefix="$acl_final_exec_prefix"
14210
14211     eval additional_includedir=\"$includedir\"
14212     eval additional_libdir=\"$libdir\"
14213
14214   exec_prefix="$acl_save_exec_prefix"
14215   prefix="$acl_save_prefix"
14216
14217
14218 # Check whether --with-libiconv-prefix was given.
14219 if test "${with_libiconv_prefix+set}" = set; then :
14220   withval=$with_libiconv_prefix;
14221     if test "X$withval" = "Xno"; then
14222       use_additional=no
14223     else
14224       if test "X$withval" = "X"; then
14225
14226   acl_save_prefix="$prefix"
14227   prefix="$acl_final_prefix"
14228   acl_save_exec_prefix="$exec_prefix"
14229   exec_prefix="$acl_final_exec_prefix"
14230
14231           eval additional_includedir=\"$includedir\"
14232           eval additional_libdir=\"$libdir\"
14233
14234   exec_prefix="$acl_save_exec_prefix"
14235   prefix="$acl_save_prefix"
14236
14237       else
14238         additional_includedir="$withval/include"
14239         additional_libdir="$withval/$acl_libdirstem"
14240       fi
14241     fi
14242
14243 fi
14244
14245       LIBICONV=
14246   LTLIBICONV=
14247   INCICONV=
14248   LIBICONV_PREFIX=
14249   rpathdirs=
14250   ltrpathdirs=
14251   names_already_handled=
14252   names_next_round='iconv '
14253   while test -n "$names_next_round"; do
14254     names_this_round="$names_next_round"
14255     names_next_round=
14256     for name in $names_this_round; do
14257       already_handled=
14258       for n in $names_already_handled; do
14259         if test "$n" = "$name"; then
14260           already_handled=yes
14261           break
14262         fi
14263       done
14264       if test -z "$already_handled"; then
14265         names_already_handled="$names_already_handled $name"
14266                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
14267         eval value=\"\$HAVE_LIB$uppername\"
14268         if test -n "$value"; then
14269           if test "$value" = yes; then
14270             eval value=\"\$LIB$uppername\"
14271             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
14272             eval value=\"\$LTLIB$uppername\"
14273             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
14274           else
14275                                     :
14276           fi
14277         else
14278                               found_dir=
14279           found_la=
14280           found_so=
14281           found_a=
14282           eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
14283           if test -n "$acl_shlibext"; then
14284             shrext=".$acl_shlibext"             # typically: shrext=.so
14285           else
14286             shrext=
14287           fi
14288           if test $use_additional = yes; then
14289             dir="$additional_libdir"
14290                                     if test -n "$acl_shlibext"; then
14291               if test -f "$dir/$libname$shrext"; then
14292                 found_dir="$dir"
14293                 found_so="$dir/$libname$shrext"
14294               else
14295                 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
14296                   ver=`(cd "$dir" && \
14297                         for f in "$libname$shrext".*; do echo "$f"; done \
14298                         | sed -e "s,^$libname$shrext\\\\.,," \
14299                         | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
14300                         | sed 1q ) 2>/dev/null`
14301                   if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
14302                     found_dir="$dir"
14303                     found_so="$dir/$libname$shrext.$ver"
14304                   fi
14305                 else
14306                   eval library_names=\"$acl_library_names_spec\"
14307                   for f in $library_names; do
14308                     if test -f "$dir/$f"; then
14309                       found_dir="$dir"
14310                       found_so="$dir/$f"
14311                       break
14312                     fi
14313                   done
14314                 fi
14315               fi
14316             fi
14317                         if test "X$found_dir" = "X"; then
14318               if test -f "$dir/$libname.$acl_libext"; then
14319                 found_dir="$dir"
14320                 found_a="$dir/$libname.$acl_libext"
14321               fi
14322             fi
14323             if test "X$found_dir" != "X"; then
14324               if test -f "$dir/$libname.la"; then
14325                 found_la="$dir/$libname.la"
14326               fi
14327             fi
14328           fi
14329           if test "X$found_dir" = "X"; then
14330             for x in $LDFLAGS $LTLIBICONV; do
14331
14332   acl_save_prefix="$prefix"
14333   prefix="$acl_final_prefix"
14334   acl_save_exec_prefix="$exec_prefix"
14335   exec_prefix="$acl_final_exec_prefix"
14336   eval x=\"$x\"
14337   exec_prefix="$acl_save_exec_prefix"
14338   prefix="$acl_save_prefix"
14339
14340               case "$x" in
14341                 -L*)
14342                   dir=`echo "X$x" | sed -e 's/^X-L//'`
14343                                     if test -n "$acl_shlibext"; then
14344                     if test -f "$dir/$libname$shrext"; then
14345                       found_dir="$dir"
14346                       found_so="$dir/$libname$shrext"
14347                     else
14348                       if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
14349                         ver=`(cd "$dir" && \
14350                               for f in "$libname$shrext".*; do echo "$f"; done \
14351                               | sed -e "s,^$libname$shrext\\\\.,," \
14352                               | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
14353                               | sed 1q ) 2>/dev/null`
14354                         if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
14355                           found_dir="$dir"
14356                           found_so="$dir/$libname$shrext.$ver"
14357                         fi
14358                       else
14359                         eval library_names=\"$acl_library_names_spec\"
14360                         for f in $library_names; do
14361                           if test -f "$dir/$f"; then
14362                             found_dir="$dir"
14363                             found_so="$dir/$f"
14364                             break
14365                           fi
14366                         done
14367                       fi
14368                     fi
14369                   fi
14370                                     if test "X$found_dir" = "X"; then
14371                     if test -f "$dir/$libname.$acl_libext"; then
14372                       found_dir="$dir"
14373                       found_a="$dir/$libname.$acl_libext"
14374                     fi
14375                   fi
14376                   if test "X$found_dir" != "X"; then
14377                     if test -f "$dir/$libname.la"; then
14378                       found_la="$dir/$libname.la"
14379                     fi
14380                   fi
14381                   ;;
14382               esac
14383               if test "X$found_dir" != "X"; then
14384                 break
14385               fi
14386             done
14387           fi
14388           if test "X$found_dir" != "X"; then
14389                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
14390             if test "X$found_so" != "X"; then
14391                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
14392                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
14393               else
14394                                                                                 haveit=
14395                 for x in $ltrpathdirs; do
14396                   if test "X$x" = "X$found_dir"; then
14397                     haveit=yes
14398                     break
14399                   fi
14400                 done
14401                 if test -z "$haveit"; then
14402                   ltrpathdirs="$ltrpathdirs $found_dir"
14403                 fi
14404                                 if test "$acl_hardcode_direct" = yes; then
14405                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
14406                 else
14407                   if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
14408                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
14409                                                             haveit=
14410                     for x in $rpathdirs; do
14411                       if test "X$x" = "X$found_dir"; then
14412                         haveit=yes
14413                         break
14414                       fi
14415                     done
14416                     if test -z "$haveit"; then
14417                       rpathdirs="$rpathdirs $found_dir"
14418                     fi
14419                   else
14420                                                                                 haveit=
14421                     for x in $LDFLAGS $LIBICONV; do
14422
14423   acl_save_prefix="$prefix"
14424   prefix="$acl_final_prefix"
14425   acl_save_exec_prefix="$exec_prefix"
14426   exec_prefix="$acl_final_exec_prefix"
14427   eval x=\"$x\"
14428   exec_prefix="$acl_save_exec_prefix"
14429   prefix="$acl_save_prefix"
14430
14431                       if test "X$x" = "X-L$found_dir"; then
14432                         haveit=yes
14433                         break
14434                       fi
14435                     done
14436                     if test -z "$haveit"; then
14437                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
14438                     fi
14439                     if test "$acl_hardcode_minus_L" != no; then
14440                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
14441                     else
14442                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
14443                     fi
14444                   fi
14445                 fi
14446               fi
14447             else
14448               if test "X$found_a" != "X"; then
14449                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
14450               else
14451                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
14452               fi
14453             fi
14454                         additional_includedir=
14455             case "$found_dir" in
14456               */$acl_libdirstem | */$acl_libdirstem/)
14457                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
14458                 LIBICONV_PREFIX="$basedir"
14459                 additional_includedir="$basedir/include"
14460                 ;;
14461             esac
14462             if test "X$additional_includedir" != "X"; then
14463                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
14464                 haveit=
14465                 if test "X$additional_includedir" = "X/usr/local/include"; then
14466                   if test -n "$GCC"; then
14467                     case $host_os in
14468                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
14469                     esac
14470                   fi
14471                 fi
14472                 if test -z "$haveit"; then
14473                   for x in $CPPFLAGS $INCICONV; do
14474
14475   acl_save_prefix="$prefix"
14476   prefix="$acl_final_prefix"
14477   acl_save_exec_prefix="$exec_prefix"
14478   exec_prefix="$acl_final_exec_prefix"
14479   eval x=\"$x\"
14480   exec_prefix="$acl_save_exec_prefix"
14481   prefix="$acl_save_prefix"
14482
14483                     if test "X$x" = "X-I$additional_includedir"; then
14484                       haveit=yes
14485                       break
14486                     fi
14487                   done
14488                   if test -z "$haveit"; then
14489                     if test -d "$additional_includedir"; then
14490                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
14491                     fi
14492                   fi
14493                 fi
14494               fi
14495             fi
14496                         if test -n "$found_la"; then
14497                                                         save_libdir="$libdir"
14498               case "$found_la" in
14499                 */* | *\\*) . "$found_la" ;;
14500                 *) . "./$found_la" ;;
14501               esac
14502               libdir="$save_libdir"
14503                             for dep in $dependency_libs; do
14504                 case "$dep" in
14505                   -L*)
14506                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
14507                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
14508                       haveit=
14509                       if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
14510                         if test -n "$GCC"; then
14511                           case $host_os in
14512                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
14513                           esac
14514                         fi
14515                       fi
14516                       if test -z "$haveit"; then
14517                         haveit=
14518                         for x in $LDFLAGS $LIBICONV; do
14519
14520   acl_save_prefix="$prefix"
14521   prefix="$acl_final_prefix"
14522   acl_save_exec_prefix="$exec_prefix"
14523   exec_prefix="$acl_final_exec_prefix"
14524   eval x=\"$x\"
14525   exec_prefix="$acl_save_exec_prefix"
14526   prefix="$acl_save_prefix"
14527
14528                           if test "X$x" = "X-L$additional_libdir"; then
14529                             haveit=yes
14530                             break
14531                           fi
14532                         done
14533                         if test -z "$haveit"; then
14534                           if test -d "$additional_libdir"; then
14535                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
14536                           fi
14537                         fi
14538                         haveit=
14539                         for x in $LDFLAGS $LTLIBICONV; do
14540
14541   acl_save_prefix="$prefix"
14542   prefix="$acl_final_prefix"
14543   acl_save_exec_prefix="$exec_prefix"
14544   exec_prefix="$acl_final_exec_prefix"
14545   eval x=\"$x\"
14546   exec_prefix="$acl_save_exec_prefix"
14547   prefix="$acl_save_prefix"
14548
14549                           if test "X$x" = "X-L$additional_libdir"; then
14550                             haveit=yes
14551                             break
14552                           fi
14553                         done
14554                         if test -z "$haveit"; then
14555                           if test -d "$additional_libdir"; then
14556                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
14557                           fi
14558                         fi
14559                       fi
14560                     fi
14561                     ;;
14562                   -R*)
14563                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
14564                     if test "$enable_rpath" != no; then
14565                                                                   haveit=
14566                       for x in $rpathdirs; do
14567                         if test "X$x" = "X$dir"; then
14568                           haveit=yes
14569                           break
14570                         fi
14571                       done
14572                       if test -z "$haveit"; then
14573                         rpathdirs="$rpathdirs $dir"
14574                       fi
14575                                                                   haveit=
14576                       for x in $ltrpathdirs; do
14577                         if test "X$x" = "X$dir"; then
14578                           haveit=yes
14579                           break
14580                         fi
14581                       done
14582                       if test -z "$haveit"; then
14583                         ltrpathdirs="$ltrpathdirs $dir"
14584                       fi
14585                     fi
14586                     ;;
14587                   -l*)
14588                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
14589                     ;;
14590                   *.la)
14591                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
14592                     ;;
14593                   *)
14594                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
14595                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
14596                     ;;
14597                 esac
14598               done
14599             fi
14600           else
14601                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
14602             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
14603           fi
14604         fi
14605       fi
14606     done
14607   done
14608   if test "X$rpathdirs" != "X"; then
14609     if test -n "$acl_hardcode_libdir_separator"; then
14610                         alldirs=
14611       for found_dir in $rpathdirs; do
14612         alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
14613       done
14614             acl_save_libdir="$libdir"
14615       libdir="$alldirs"
14616       eval flag=\"$acl_hardcode_libdir_flag_spec\"
14617       libdir="$acl_save_libdir"
14618       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
14619     else
14620             for found_dir in $rpathdirs; do
14621         acl_save_libdir="$libdir"
14622         libdir="$found_dir"
14623         eval flag=\"$acl_hardcode_libdir_flag_spec\"
14624         libdir="$acl_save_libdir"
14625         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
14626       done
14627     fi
14628   fi
14629   if test "X$ltrpathdirs" != "X"; then
14630             for found_dir in $ltrpathdirs; do
14631       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
14632     done
14633   fi
14634
14635
14636
14637
14638
14639
14640
14641
14642
14643
14644
14645
14646
14647
14648
14649
14650
14651
14652
14653
14654
14655
14656
14657
14658
14659     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
14660 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
14661 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
14662   $as_echo_n "(cached) " >&6
14663 else
14664   gt_save_LIBS="$LIBS"
14665      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
14666      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14667 /* end confdefs.h.  */
14668 #include <CoreFoundation/CFPreferences.h>
14669 int
14670 main ()
14671 {
14672 CFPreferencesCopyAppValue(NULL, NULL)
14673   ;
14674   return 0;
14675 }
14676 _ACEOF
14677 if ac_fn_c_try_link "$LINENO"; then :
14678   gt_cv_func_CFPreferencesCopyAppValue=yes
14679 else
14680   gt_cv_func_CFPreferencesCopyAppValue=no
14681 fi
14682 rm -f core conftest.err conftest.$ac_objext \
14683     conftest$ac_exeext conftest.$ac_ext
14684      LIBS="$gt_save_LIBS"
14685 fi
14686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
14687 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
14688   if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
14689
14690 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
14691
14692   fi
14693     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
14694 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
14695 if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
14696   $as_echo_n "(cached) " >&6
14697 else
14698   gt_save_LIBS="$LIBS"
14699      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
14700      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14701 /* end confdefs.h.  */
14702 #include <CoreFoundation/CFLocale.h>
14703 int
14704 main ()
14705 {
14706 CFLocaleCopyCurrent();
14707   ;
14708   return 0;
14709 }
14710 _ACEOF
14711 if ac_fn_c_try_link "$LINENO"; then :
14712   gt_cv_func_CFLocaleCopyCurrent=yes
14713 else
14714   gt_cv_func_CFLocaleCopyCurrent=no
14715 fi
14716 rm -f core conftest.err conftest.$ac_objext \
14717     conftest$ac_exeext conftest.$ac_ext
14718      LIBS="$gt_save_LIBS"
14719 fi
14720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
14721 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
14722   if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
14723
14724 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
14725
14726   fi
14727   INTL_MACOSX_LIBS=
14728   if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
14729     INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
14730   fi
14731
14732
14733
14734
14735
14736
14737   LIBINTL=
14738   LTLIBINTL=
14739   POSUB=
14740
14741     case " $gt_needs " in
14742     *" need-formatstring-macros "*) gt_api_version=3 ;;
14743     *" need-ngettext "*) gt_api_version=2 ;;
14744     *) gt_api_version=1 ;;
14745   esac
14746   gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
14747   gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
14748
14749     if test "$USE_NLS" = "yes"; then
14750     gt_use_preinstalled_gnugettext=no
14751
14752
14753         if test $gt_api_version -ge 3; then
14754           gt_revision_test_code='
14755 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
14756 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
14757 #endif
14758 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
14759 '
14760         else
14761           gt_revision_test_code=
14762         fi
14763         if test $gt_api_version -ge 2; then
14764           gt_expression_test_code=' + * ngettext ("", "", 0)'
14765         else
14766           gt_expression_test_code=
14767         fi
14768
14769         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
14770 $as_echo_n "checking for GNU gettext in libc... " >&6; }
14771 if eval \${$gt_func_gnugettext_libc+:} false; then :
14772   $as_echo_n "(cached) " >&6
14773 else
14774   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14775 /* end confdefs.h.  */
14776 #include <libintl.h>
14777 $gt_revision_test_code
14778 extern int _nl_msg_cat_cntr;
14779 extern int *_nl_domain_bindings;
14780 int
14781 main ()
14782 {
14783 bindtextdomain ("", "");
14784 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
14785   ;
14786   return 0;
14787 }
14788 _ACEOF
14789 if ac_fn_c_try_link "$LINENO"; then :
14790   eval "$gt_func_gnugettext_libc=yes"
14791 else
14792   eval "$gt_func_gnugettext_libc=no"
14793 fi
14794 rm -f core conftest.err conftest.$ac_objext \
14795     conftest$ac_exeext conftest.$ac_ext
14796 fi
14797 eval ac_res=\$$gt_func_gnugettext_libc
14798                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14799 $as_echo "$ac_res" >&6; }
14800
14801         if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
14802
14803
14804
14805
14806
14807           am_save_CPPFLAGS="$CPPFLAGS"
14808
14809   for element in $INCICONV; do
14810     haveit=
14811     for x in $CPPFLAGS; do
14812
14813   acl_save_prefix="$prefix"
14814   prefix="$acl_final_prefix"
14815   acl_save_exec_prefix="$exec_prefix"
14816   exec_prefix="$acl_final_exec_prefix"
14817   eval x=\"$x\"
14818   exec_prefix="$acl_save_exec_prefix"
14819   prefix="$acl_save_prefix"
14820
14821       if test "X$x" = "X$element"; then
14822         haveit=yes
14823         break
14824       fi
14825     done
14826     if test -z "$haveit"; then
14827       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
14828     fi
14829   done
14830
14831
14832   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
14833 $as_echo_n "checking for iconv... " >&6; }
14834 if ${am_cv_func_iconv+:} false; then :
14835   $as_echo_n "(cached) " >&6
14836 else
14837
14838     am_cv_func_iconv="no, consider installing GNU libiconv"
14839     am_cv_lib_iconv=no
14840     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14841 /* end confdefs.h.  */
14842 #include <stdlib.h>
14843 #include <iconv.h>
14844 int
14845 main ()
14846 {
14847 iconv_t cd = iconv_open("","");
14848        iconv(cd,NULL,NULL,NULL,NULL);
14849        iconv_close(cd);
14850   ;
14851   return 0;
14852 }
14853 _ACEOF
14854 if ac_fn_c_try_link "$LINENO"; then :
14855   am_cv_func_iconv=yes
14856 fi
14857 rm -f core conftest.err conftest.$ac_objext \
14858     conftest$ac_exeext conftest.$ac_ext
14859     if test "$am_cv_func_iconv" != yes; then
14860       am_save_LIBS="$LIBS"
14861       LIBS="$LIBS $LIBICONV"
14862       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14863 /* end confdefs.h.  */
14864 #include <stdlib.h>
14865 #include <iconv.h>
14866 int
14867 main ()
14868 {
14869 iconv_t cd = iconv_open("","");
14870          iconv(cd,NULL,NULL,NULL,NULL);
14871          iconv_close(cd);
14872   ;
14873   return 0;
14874 }
14875 _ACEOF
14876 if ac_fn_c_try_link "$LINENO"; then :
14877   am_cv_lib_iconv=yes
14878         am_cv_func_iconv=yes
14879 fi
14880 rm -f core conftest.err conftest.$ac_objext \
14881     conftest$ac_exeext conftest.$ac_ext
14882       LIBS="$am_save_LIBS"
14883     fi
14884
14885 fi
14886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
14887 $as_echo "$am_cv_func_iconv" >&6; }
14888   if test "$am_cv_func_iconv" = yes; then
14889     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
14890 $as_echo_n "checking for working iconv... " >&6; }
14891 if ${am_cv_func_iconv_works+:} false; then :
14892   $as_echo_n "(cached) " >&6
14893 else
14894
14895             am_save_LIBS="$LIBS"
14896       if test $am_cv_lib_iconv = yes; then
14897         LIBS="$LIBS $LIBICONV"
14898       fi
14899       if test "$cross_compiling" = yes; then :
14900   case "$host_os" in
14901            aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
14902            *)            am_cv_func_iconv_works="guessing yes" ;;
14903          esac
14904 else
14905   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14906 /* end confdefs.h.  */
14907
14908 #include <iconv.h>
14909 #include <string.h>
14910 int main ()
14911 {
14912   /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
14913      returns.  */
14914   {
14915     iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
14916     if (cd_utf8_to_88591 != (iconv_t)(-1))
14917       {
14918         static const char input[] = "\342\202\254"; /* EURO SIGN */
14919         char buf[10];
14920         const char *inptr = input;
14921         size_t inbytesleft = strlen (input);
14922         char *outptr = buf;
14923         size_t outbytesleft = sizeof (buf);
14924         size_t res = iconv (cd_utf8_to_88591,
14925                             (char **) &inptr, &inbytesleft,
14926                             &outptr, &outbytesleft);
14927         if (res == 0)
14928           return 1;
14929       }
14930   }
14931 #if 0 /* This bug could be worked around by the caller.  */
14932   /* Test against HP-UX 11.11 bug: Positive return value instead of 0.  */
14933   {
14934     iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
14935     if (cd_88591_to_utf8 != (iconv_t)(-1))
14936       {
14937         static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
14938         char buf[50];
14939         const char *inptr = input;
14940         size_t inbytesleft = strlen (input);
14941         char *outptr = buf;
14942         size_t outbytesleft = sizeof (buf);
14943         size_t res = iconv (cd_88591_to_utf8,
14944                             (char **) &inptr, &inbytesleft,
14945                             &outptr, &outbytesleft);
14946         if ((int)res > 0)
14947           return 1;
14948       }
14949   }
14950 #endif
14951   /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
14952      provided.  */
14953   if (/* Try standardized names.  */
14954       iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
14955       /* Try IRIX, OSF/1 names.  */
14956       && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
14957       /* Try AIX names.  */
14958       && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
14959       /* Try HP-UX names.  */
14960       && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
14961     return 1;
14962   return 0;
14963 }
14964 _ACEOF
14965 if ac_fn_c_try_run "$LINENO"; then :
14966   am_cv_func_iconv_works=yes
14967 else
14968   am_cv_func_iconv_works=no
14969 fi
14970 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14971   conftest.$ac_objext conftest.beam conftest.$ac_ext
14972 fi
14973
14974       LIBS="$am_save_LIBS"
14975
14976 fi
14977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
14978 $as_echo "$am_cv_func_iconv_works" >&6; }
14979     case "$am_cv_func_iconv_works" in
14980       *no) am_func_iconv=no am_cv_lib_iconv=no ;;
14981       *)   am_func_iconv=yes ;;
14982     esac
14983   else
14984     am_func_iconv=no am_cv_lib_iconv=no
14985   fi
14986   if test "$am_func_iconv" = yes; then
14987
14988 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
14989
14990   fi
14991   if test "$am_cv_lib_iconv" = yes; then
14992     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
14993 $as_echo_n "checking how to link with libiconv... " >&6; }
14994     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
14995 $as_echo "$LIBICONV" >&6; }
14996   else
14997             CPPFLAGS="$am_save_CPPFLAGS"
14998     LIBICONV=
14999     LTLIBICONV=
15000   fi
15001
15002
15003
15004
15005
15006
15007
15008
15009     use_additional=yes
15010
15011   acl_save_prefix="$prefix"
15012   prefix="$acl_final_prefix"
15013   acl_save_exec_prefix="$exec_prefix"
15014   exec_prefix="$acl_final_exec_prefix"
15015
15016     eval additional_includedir=\"$includedir\"
15017     eval additional_libdir=\"$libdir\"
15018
15019   exec_prefix="$acl_save_exec_prefix"
15020   prefix="$acl_save_prefix"
15021
15022
15023 # Check whether --with-libintl-prefix was given.
15024 if test "${with_libintl_prefix+set}" = set; then :
15025   withval=$with_libintl_prefix;
15026     if test "X$withval" = "Xno"; then
15027       use_additional=no
15028     else
15029       if test "X$withval" = "X"; then
15030
15031   acl_save_prefix="$prefix"
15032   prefix="$acl_final_prefix"
15033   acl_save_exec_prefix="$exec_prefix"
15034   exec_prefix="$acl_final_exec_prefix"
15035
15036           eval additional_includedir=\"$includedir\"
15037           eval additional_libdir=\"$libdir\"
15038
15039   exec_prefix="$acl_save_exec_prefix"
15040   prefix="$acl_save_prefix"
15041
15042       else
15043         additional_includedir="$withval/include"
15044         additional_libdir="$withval/$acl_libdirstem"
15045       fi
15046     fi
15047
15048 fi
15049
15050       LIBINTL=
15051   LTLIBINTL=
15052   INCINTL=
15053   LIBINTL_PREFIX=
15054   rpathdirs=
15055   ltrpathdirs=
15056   names_already_handled=
15057   names_next_round='intl '
15058   while test -n "$names_next_round"; do
15059     names_this_round="$names_next_round"
15060     names_next_round=
15061     for name in $names_this_round; do
15062       already_handled=
15063       for n in $names_already_handled; do
15064         if test "$n" = "$name"; then
15065           already_handled=yes
15066           break
15067         fi
15068       done
15069       if test -z "$already_handled"; then
15070         names_already_handled="$names_already_handled $name"
15071                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
15072         eval value=\"\$HAVE_LIB$uppername\"
15073         if test -n "$value"; then
15074           if test "$value" = yes; then
15075             eval value=\"\$LIB$uppername\"
15076             test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
15077             eval value=\"\$LTLIB$uppername\"
15078             test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
15079           else
15080                                     :
15081           fi
15082         else
15083                               found_dir=
15084           found_la=
15085           found_so=
15086           found_a=
15087           eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
15088           if test -n "$acl_shlibext"; then
15089             shrext=".$acl_shlibext"             # typically: shrext=.so
15090           else
15091             shrext=
15092           fi
15093           if test $use_additional = yes; then
15094             dir="$additional_libdir"
15095                                     if test -n "$acl_shlibext"; then
15096               if test -f "$dir/$libname$shrext"; then
15097                 found_dir="$dir"
15098                 found_so="$dir/$libname$shrext"
15099               else
15100                 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
15101                   ver=`(cd "$dir" && \
15102                         for f in "$libname$shrext".*; do echo "$f"; done \
15103                         | sed -e "s,^$libname$shrext\\\\.,," \
15104                         | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
15105                         | sed 1q ) 2>/dev/null`
15106                   if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
15107                     found_dir="$dir"
15108                     found_so="$dir/$libname$shrext.$ver"
15109                   fi
15110                 else
15111                   eval library_names=\"$acl_library_names_spec\"
15112                   for f in $library_names; do
15113                     if test -f "$dir/$f"; then
15114                       found_dir="$dir"
15115                       found_so="$dir/$f"
15116                       break
15117                     fi
15118                   done
15119                 fi
15120               fi
15121             fi
15122                         if test "X$found_dir" = "X"; then
15123               if test -f "$dir/$libname.$acl_libext"; then
15124                 found_dir="$dir"
15125                 found_a="$dir/$libname.$acl_libext"
15126               fi
15127             fi
15128             if test "X$found_dir" != "X"; then
15129               if test -f "$dir/$libname.la"; then
15130                 found_la="$dir/$libname.la"
15131               fi
15132             fi
15133           fi
15134           if test "X$found_dir" = "X"; then
15135             for x in $LDFLAGS $LTLIBINTL; do
15136
15137   acl_save_prefix="$prefix"
15138   prefix="$acl_final_prefix"
15139   acl_save_exec_prefix="$exec_prefix"
15140   exec_prefix="$acl_final_exec_prefix"
15141   eval x=\"$x\"
15142   exec_prefix="$acl_save_exec_prefix"
15143   prefix="$acl_save_prefix"
15144
15145               case "$x" in
15146                 -L*)
15147                   dir=`echo "X$x" | sed -e 's/^X-L//'`
15148                                     if test -n "$acl_shlibext"; then
15149                     if test -f "$dir/$libname$shrext"; then
15150                       found_dir="$dir"
15151                       found_so="$dir/$libname$shrext"
15152                     else
15153                       if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
15154                         ver=`(cd "$dir" && \
15155                               for f in "$libname$shrext".*; do echo "$f"; done \
15156                               | sed -e "s,^$libname$shrext\\\\.,," \
15157                               | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
15158                               | sed 1q ) 2>/dev/null`
15159                         if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
15160                           found_dir="$dir"
15161                           found_so="$dir/$libname$shrext.$ver"
15162                         fi
15163                       else
15164                         eval library_names=\"$acl_library_names_spec\"
15165                         for f in $library_names; do
15166                           if test -f "$dir/$f"; then
15167                             found_dir="$dir"
15168                             found_so="$dir/$f"
15169                             break
15170                           fi
15171                         done
15172                       fi
15173                     fi
15174                   fi
15175                                     if test "X$found_dir" = "X"; then
15176                     if test -f "$dir/$libname.$acl_libext"; then
15177                       found_dir="$dir"
15178                       found_a="$dir/$libname.$acl_libext"
15179                     fi
15180                   fi
15181                   if test "X$found_dir" != "X"; then
15182                     if test -f "$dir/$libname.la"; then
15183                       found_la="$dir/$libname.la"
15184                     fi
15185                   fi
15186                   ;;
15187               esac
15188               if test "X$found_dir" != "X"; then
15189                 break
15190               fi
15191             done
15192           fi
15193           if test "X$found_dir" != "X"; then
15194                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
15195             if test "X$found_so" != "X"; then
15196                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
15197                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
15198               else
15199                                                                                 haveit=
15200                 for x in $ltrpathdirs; do
15201                   if test "X$x" = "X$found_dir"; then
15202                     haveit=yes
15203                     break
15204                   fi
15205                 done
15206                 if test -z "$haveit"; then
15207                   ltrpathdirs="$ltrpathdirs $found_dir"
15208                 fi
15209                                 if test "$acl_hardcode_direct" = yes; then
15210                                                       LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
15211                 else
15212                   if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
15213                                                             LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
15214                                                             haveit=
15215                     for x in $rpathdirs; do
15216                       if test "X$x" = "X$found_dir"; then
15217                         haveit=yes
15218                         break
15219                       fi
15220                     done
15221                     if test -z "$haveit"; then
15222                       rpathdirs="$rpathdirs $found_dir"
15223                     fi
15224                   else
15225                                                                                 haveit=
15226                     for x in $LDFLAGS $LIBINTL; do
15227
15228   acl_save_prefix="$prefix"
15229   prefix="$acl_final_prefix"
15230   acl_save_exec_prefix="$exec_prefix"
15231   exec_prefix="$acl_final_exec_prefix"
15232   eval x=\"$x\"
15233   exec_prefix="$acl_save_exec_prefix"
15234   prefix="$acl_save_prefix"
15235
15236                       if test "X$x" = "X-L$found_dir"; then
15237                         haveit=yes
15238                         break
15239                       fi
15240                     done
15241                     if test -z "$haveit"; then
15242                       LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
15243                     fi
15244                     if test "$acl_hardcode_minus_L" != no; then
15245                                                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
15246                     else
15247                                                                                                                                                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
15248                     fi
15249                   fi
15250                 fi
15251               fi
15252             else
15253               if test "X$found_a" != "X"; then
15254                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
15255               else
15256                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
15257               fi
15258             fi
15259                         additional_includedir=
15260             case "$found_dir" in
15261               */$acl_libdirstem | */$acl_libdirstem/)
15262                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
15263                 LIBINTL_PREFIX="$basedir"
15264                 additional_includedir="$basedir/include"
15265                 ;;
15266             esac
15267             if test "X$additional_includedir" != "X"; then
15268                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
15269                 haveit=
15270                 if test "X$additional_includedir" = "X/usr/local/include"; then
15271                   if test -n "$GCC"; then
15272                     case $host_os in
15273                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
15274                     esac
15275                   fi
15276                 fi
15277                 if test -z "$haveit"; then
15278                   for x in $CPPFLAGS $INCINTL; do
15279
15280   acl_save_prefix="$prefix"
15281   prefix="$acl_final_prefix"
15282   acl_save_exec_prefix="$exec_prefix"
15283   exec_prefix="$acl_final_exec_prefix"
15284   eval x=\"$x\"
15285   exec_prefix="$acl_save_exec_prefix"
15286   prefix="$acl_save_prefix"
15287
15288                     if test "X$x" = "X-I$additional_includedir"; then
15289                       haveit=yes
15290                       break
15291                     fi
15292                   done
15293                   if test -z "$haveit"; then
15294                     if test -d "$additional_includedir"; then
15295                                             INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
15296                     fi
15297                   fi
15298                 fi
15299               fi
15300             fi
15301                         if test -n "$found_la"; then
15302                                                         save_libdir="$libdir"
15303               case "$found_la" in
15304                 */* | *\\*) . "$found_la" ;;
15305                 *) . "./$found_la" ;;
15306               esac
15307               libdir="$save_libdir"
15308                             for dep in $dependency_libs; do
15309                 case "$dep" in
15310                   -L*)
15311                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
15312                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
15313                       haveit=
15314                       if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
15315                         if test -n "$GCC"; then
15316                           case $host_os in
15317                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
15318                           esac
15319                         fi
15320                       fi
15321                       if test -z "$haveit"; then
15322                         haveit=
15323                         for x in $LDFLAGS $LIBINTL; do
15324
15325   acl_save_prefix="$prefix"
15326   prefix="$acl_final_prefix"
15327   acl_save_exec_prefix="$exec_prefix"
15328   exec_prefix="$acl_final_exec_prefix"
15329   eval x=\"$x\"
15330   exec_prefix="$acl_save_exec_prefix"
15331   prefix="$acl_save_prefix"
15332
15333                           if test "X$x" = "X-L$additional_libdir"; then
15334                             haveit=yes
15335                             break
15336                           fi
15337                         done
15338                         if test -z "$haveit"; then
15339                           if test -d "$additional_libdir"; then
15340                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
15341                           fi
15342                         fi
15343                         haveit=
15344                         for x in $LDFLAGS $LTLIBINTL; do
15345
15346   acl_save_prefix="$prefix"
15347   prefix="$acl_final_prefix"
15348   acl_save_exec_prefix="$exec_prefix"
15349   exec_prefix="$acl_final_exec_prefix"
15350   eval x=\"$x\"
15351   exec_prefix="$acl_save_exec_prefix"
15352   prefix="$acl_save_prefix"
15353
15354                           if test "X$x" = "X-L$additional_libdir"; then
15355                             haveit=yes
15356                             break
15357                           fi
15358                         done
15359                         if test -z "$haveit"; then
15360                           if test -d "$additional_libdir"; then
15361                                                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
15362                           fi
15363                         fi
15364                       fi
15365                     fi
15366                     ;;
15367                   -R*)
15368                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
15369                     if test "$enable_rpath" != no; then
15370                                                                   haveit=
15371                       for x in $rpathdirs; do
15372                         if test "X$x" = "X$dir"; then
15373                           haveit=yes
15374                           break
15375                         fi
15376                       done
15377                       if test -z "$haveit"; then
15378                         rpathdirs="$rpathdirs $dir"
15379                       fi
15380                                                                   haveit=
15381                       for x in $ltrpathdirs; do
15382                         if test "X$x" = "X$dir"; then
15383                           haveit=yes
15384                           break
15385                         fi
15386                       done
15387                       if test -z "$haveit"; then
15388                         ltrpathdirs="$ltrpathdirs $dir"
15389                       fi
15390                     fi
15391                     ;;
15392                   -l*)
15393                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
15394                     ;;
15395                   *.la)
15396                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
15397                     ;;
15398                   *)
15399                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
15400                     LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
15401                     ;;
15402                 esac
15403               done
15404             fi
15405           else
15406                                                             LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
15407             LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
15408           fi
15409         fi
15410       fi
15411     done
15412   done
15413   if test "X$rpathdirs" != "X"; then
15414     if test -n "$acl_hardcode_libdir_separator"; then
15415                         alldirs=
15416       for found_dir in $rpathdirs; do
15417         alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
15418       done
15419             acl_save_libdir="$libdir"
15420       libdir="$alldirs"
15421       eval flag=\"$acl_hardcode_libdir_flag_spec\"
15422       libdir="$acl_save_libdir"
15423       LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
15424     else
15425             for found_dir in $rpathdirs; do
15426         acl_save_libdir="$libdir"
15427         libdir="$found_dir"
15428         eval flag=\"$acl_hardcode_libdir_flag_spec\"
15429         libdir="$acl_save_libdir"
15430         LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
15431       done
15432     fi
15433   fi
15434   if test "X$ltrpathdirs" != "X"; then
15435             for found_dir in $ltrpathdirs; do
15436       LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
15437     done
15438   fi
15439
15440           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
15441 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
15442 if eval \${$gt_func_gnugettext_libintl+:} false; then :
15443   $as_echo_n "(cached) " >&6
15444 else
15445   gt_save_CPPFLAGS="$CPPFLAGS"
15446             CPPFLAGS="$CPPFLAGS $INCINTL"
15447             gt_save_LIBS="$LIBS"
15448             LIBS="$LIBS $LIBINTL"
15449                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15450 /* end confdefs.h.  */
15451 #include <libintl.h>
15452 $gt_revision_test_code
15453 extern int _nl_msg_cat_cntr;
15454 extern
15455 #ifdef __cplusplus
15456 "C"
15457 #endif
15458 const char *_nl_expand_alias (const char *);
15459 int
15460 main ()
15461 {
15462 bindtextdomain ("", "");
15463 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
15464   ;
15465   return 0;
15466 }
15467 _ACEOF
15468 if ac_fn_c_try_link "$LINENO"; then :
15469   eval "$gt_func_gnugettext_libintl=yes"
15470 else
15471   eval "$gt_func_gnugettext_libintl=no"
15472 fi
15473 rm -f core conftest.err conftest.$ac_objext \
15474     conftest$ac_exeext conftest.$ac_ext
15475                         if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
15476               LIBS="$LIBS $LIBICONV"
15477               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15478 /* end confdefs.h.  */
15479 #include <libintl.h>
15480 $gt_revision_test_code
15481 extern int _nl_msg_cat_cntr;
15482 extern
15483 #ifdef __cplusplus
15484 "C"
15485 #endif
15486 const char *_nl_expand_alias (const char *);
15487 int
15488 main ()
15489 {
15490 bindtextdomain ("", "");
15491 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
15492   ;
15493   return 0;
15494 }
15495 _ACEOF
15496 if ac_fn_c_try_link "$LINENO"; then :
15497   LIBINTL="$LIBINTL $LIBICONV"
15498                 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
15499                 eval "$gt_func_gnugettext_libintl=yes"
15500
15501 fi
15502 rm -f core conftest.err conftest.$ac_objext \
15503     conftest$ac_exeext conftest.$ac_ext
15504             fi
15505             CPPFLAGS="$gt_save_CPPFLAGS"
15506             LIBS="$gt_save_LIBS"
15507 fi
15508 eval ac_res=\$$gt_func_gnugettext_libintl
15509                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15510 $as_echo "$ac_res" >&6; }
15511         fi
15512
15513                                         if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
15514            || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
15515                 && test "$PACKAGE" != gettext-runtime \
15516                 && test "$PACKAGE" != gettext-tools; }; then
15517           gt_use_preinstalled_gnugettext=yes
15518         else
15519                     LIBINTL=
15520           LTLIBINTL=
15521           INCINTL=
15522         fi
15523
15524
15525
15526     if test -n "$INTL_MACOSX_LIBS"; then
15527       if test "$gt_use_preinstalled_gnugettext" = "yes" \
15528          || test "$nls_cv_use_gnu_gettext" = "yes"; then
15529                 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
15530         LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
15531       fi
15532     fi
15533
15534     if test "$gt_use_preinstalled_gnugettext" = "yes" \
15535        || test "$nls_cv_use_gnu_gettext" = "yes"; then
15536
15537 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
15538
15539     else
15540       USE_NLS=no
15541     fi
15542   fi
15543
15544   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
15545 $as_echo_n "checking whether to use NLS... " >&6; }
15546   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
15547 $as_echo "$USE_NLS" >&6; }
15548   if test "$USE_NLS" = "yes"; then
15549     { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
15550 $as_echo_n "checking where the gettext function comes from... " >&6; }
15551     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
15552       if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
15553         gt_source="external libintl"
15554       else
15555         gt_source="libc"
15556       fi
15557     else
15558       gt_source="included intl directory"
15559     fi
15560     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
15561 $as_echo "$gt_source" >&6; }
15562   fi
15563
15564   if test "$USE_NLS" = "yes"; then
15565
15566     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
15567       if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
15568         { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
15569 $as_echo_n "checking how to link with libintl... " >&6; }
15570         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
15571 $as_echo "$LIBINTL" >&6; }
15572
15573   for element in $INCINTL; do
15574     haveit=
15575     for x in $CPPFLAGS; do
15576
15577   acl_save_prefix="$prefix"
15578   prefix="$acl_final_prefix"
15579   acl_save_exec_prefix="$exec_prefix"
15580   exec_prefix="$acl_final_exec_prefix"
15581   eval x=\"$x\"
15582   exec_prefix="$acl_save_exec_prefix"
15583   prefix="$acl_save_prefix"
15584
15585       if test "X$x" = "X$element"; then
15586         haveit=yes
15587         break
15588       fi
15589     done
15590     if test -z "$haveit"; then
15591       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
15592     fi
15593   done
15594
15595       fi
15596
15597
15598 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
15599
15600
15601 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
15602
15603     fi
15604
15605         POSUB=po
15606   fi
15607
15608
15609
15610     INTLLIBS="$LIBINTL"
15611
15612
15613
15614
15615
15616
15617
15618   if test "$USE_NLS" = "yes"; then
15619     GETTEXT_PACKAGE=gst-plugins-bad-$GST_MAJORMINOR
15620   else
15621     GETTEXT_PACKAGE=NULL
15622   fi
15623
15624
15625 cat >>confdefs.h <<_ACEOF
15626 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
15627 _ACEOF
15628
15629
15630
15631   EXP_VAR=LOCALEDIR
15632   FROM_VAR=$datadir/locale
15633
15634     prefix_save=$prefix
15635   exec_prefix_save=$exec_prefix
15636
15637     if test "x$prefix" = "xNONE"; then
15638     prefix="$ac_default_prefix"
15639   fi
15640     if test "x$exec_prefix" = "xNONE"; then
15641     exec_prefix=$prefix
15642   fi
15643
15644   full_var="$FROM_VAR"
15645     while true; do
15646     new_full_var="`eval echo $full_var`"
15647     if test "x$new_full_var" = "x$full_var"; then break; fi
15648     full_var=$new_full_var
15649   done
15650
15651     full_var=$new_full_var
15652   LOCALEDIR="$full_var"
15653
15654
15655     prefix=$prefix_save
15656   exec_prefix=$exec_prefix_save
15657
15658
15659 cat >>confdefs.h <<_ACEOF
15660 #define LOCALEDIR "$LOCALEDIR"
15661 _ACEOF
15662
15663
15664
15665
15666
15667     # Check whether --enable-debug was given.
15668 if test "${enable_debug+set}" = set; then :
15669   enableval=$enable_debug;
15670       case "${enableval}" in
15671         yes) USE_DEBUG=yes ;;
15672         no)  USE_DEBUG=no ;;
15673         *)   as_fn_error $? "bad value ${enableval} for --enable-debug" "$LINENO" 5 ;;
15674       esac
15675
15676 else
15677   USE_DEBUG=yes
15678 fi
15679
15680
15681   # Check whether --enable-profiling was given.
15682 if test "${enable_profiling+set}" = set; then :
15683   enableval=$enable_profiling;
15684       case "${enableval}" in
15685         yes) USE_PROFILING=yes ;;
15686         no)  USE_PROFILING=no ;;
15687         *)   as_fn_error $? "bad value ${enableval} for --enable-profiling" "$LINENO" 5 ;;
15688       esac
15689
15690 else
15691   USE_PROFILING=no
15692 fi
15693
15694
15695
15696 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
15697         if test -n "$ac_tool_prefix"; then
15698   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
15699 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
15700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15701 $as_echo_n "checking for $ac_word... " >&6; }
15702 if ${ac_cv_path_PKG_CONFIG+:} false; then :
15703   $as_echo_n "(cached) " >&6
15704 else
15705   case $PKG_CONFIG in
15706   [\\/]* | ?:[\\/]*)
15707   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
15708   ;;
15709   *)
15710   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15711 for as_dir in $PATH
15712 do
15713   IFS=$as_save_IFS
15714   test -z "$as_dir" && as_dir=.
15715     for ac_exec_ext in '' $ac_executable_extensions; do
15716   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15717     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15718     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15719     break 2
15720   fi
15721 done
15722   done
15723 IFS=$as_save_IFS
15724
15725   ;;
15726 esac
15727 fi
15728 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
15729 if test -n "$PKG_CONFIG"; then
15730   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
15731 $as_echo "$PKG_CONFIG" >&6; }
15732 else
15733   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15734 $as_echo "no" >&6; }
15735 fi
15736
15737
15738 fi
15739 if test -z "$ac_cv_path_PKG_CONFIG"; then
15740   ac_pt_PKG_CONFIG=$PKG_CONFIG
15741   # Extract the first word of "pkg-config", so it can be a program name with args.
15742 set dummy pkg-config; ac_word=$2
15743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15744 $as_echo_n "checking for $ac_word... " >&6; }
15745 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
15746   $as_echo_n "(cached) " >&6
15747 else
15748   case $ac_pt_PKG_CONFIG in
15749   [\\/]* | ?:[\\/]*)
15750   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
15751   ;;
15752   *)
15753   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15754 for as_dir in $PATH
15755 do
15756   IFS=$as_save_IFS
15757   test -z "$as_dir" && as_dir=.
15758     for ac_exec_ext in '' $ac_executable_extensions; do
15759   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15760     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15761     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15762     break 2
15763   fi
15764 done
15765   done
15766 IFS=$as_save_IFS
15767
15768   ;;
15769 esac
15770 fi
15771 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
15772 if test -n "$ac_pt_PKG_CONFIG"; then
15773   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
15774 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
15775 else
15776   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15777 $as_echo "no" >&6; }
15778 fi
15779
15780   if test "x$ac_pt_PKG_CONFIG" = x; then
15781     PKG_CONFIG=""
15782   else
15783     case $cross_compiling:$ac_tool_warned in
15784 yes:)
15785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15786 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15787 ac_tool_warned=yes ;;
15788 esac
15789     PKG_CONFIG=$ac_pt_PKG_CONFIG
15790   fi
15791 else
15792   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
15793 fi
15794
15795 fi
15796 if test -n "$PKG_CONFIG"; then
15797         _pkg_min_version=0.9.0
15798         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
15799 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
15800         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
15801                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15802 $as_echo "yes" >&6; }
15803         else
15804                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15805 $as_echo "no" >&6; }
15806                 PKG_CONFIG=""
15807         fi
15808
15809 fi
15810
15811     # Check whether --enable-valgrind was given.
15812 if test "${enable_valgrind+set}" = set; then :
15813   enableval=$enable_valgrind;
15814       case "${enableval}" in
15815         yes) USE_VALGRIND="$USE_DEBUG" ;;
15816         no)  USE_VALGRIND=no ;;
15817         *)   as_fn_error $? "bad value ${enableval} for --enable-valgrind" "$LINENO" 5 ;;
15818       esac
15819
15820 else
15821   USE_VALGRIND="$USE_DEBUG"
15822 fi
15823    VALGRIND_REQ="3.0"
15824   if test "x$USE_VALGRIND" = xyes; then
15825
15826 pkg_failed=no
15827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for VALGRIND" >&5
15828 $as_echo_n "checking for VALGRIND... " >&6; }
15829
15830 if test -n "$PKG_CONFIG"; then
15831     if test -n "$VALGRIND_CFLAGS"; then
15832         pkg_cv_VALGRIND_CFLAGS="$VALGRIND_CFLAGS"
15833     else
15834         if test -n "$PKG_CONFIG" && \
15835     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= \$VALGRIND_REQ\""; } >&5
15836   ($PKG_CONFIG --exists --print-errors "valgrind >= $VALGRIND_REQ") 2>&5
15837   ac_status=$?
15838   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15839   test $ac_status = 0; }; then
15840   pkg_cv_VALGRIND_CFLAGS=`$PKG_CONFIG --cflags "valgrind >= $VALGRIND_REQ" 2>/dev/null`
15841 else
15842   pkg_failed=yes
15843 fi
15844     fi
15845 else
15846         pkg_failed=untried
15847 fi
15848 if test -n "$PKG_CONFIG"; then
15849     if test -n "$VALGRIND_LIBS"; then
15850         pkg_cv_VALGRIND_LIBS="$VALGRIND_LIBS"
15851     else
15852         if test -n "$PKG_CONFIG" && \
15853     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= \$VALGRIND_REQ\""; } >&5
15854   ($PKG_CONFIG --exists --print-errors "valgrind >= $VALGRIND_REQ") 2>&5
15855   ac_status=$?
15856   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15857   test $ac_status = 0; }; then
15858   pkg_cv_VALGRIND_LIBS=`$PKG_CONFIG --libs "valgrind >= $VALGRIND_REQ" 2>/dev/null`
15859 else
15860   pkg_failed=yes
15861 fi
15862     fi
15863 else
15864         pkg_failed=untried
15865 fi
15866
15867
15868
15869 if test $pkg_failed = yes; then
15870
15871 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15872         _pkg_short_errors_supported=yes
15873 else
15874         _pkg_short_errors_supported=no
15875 fi
15876         if test $_pkg_short_errors_supported = yes; then
15877                 VALGRIND_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "valgrind >= $VALGRIND_REQ"`
15878         else
15879                 VALGRIND_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "valgrind >= $VALGRIND_REQ"`
15880         fi
15881         # Put the nasty error message in config.log where it belongs
15882         echo "$VALGRIND_PKG_ERRORS" >&5
15883
15884         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15885 $as_echo "no" >&6; }
15886                 USE_VALGRIND="no"
15887 elif test $pkg_failed = untried; then
15888         USE_VALGRIND="no"
15889 else
15890         VALGRIND_CFLAGS=$pkg_cv_VALGRIND_CFLAGS
15891         VALGRIND_LIBS=$pkg_cv_VALGRIND_LIBS
15892         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15893 $as_echo "yes" >&6; }
15894         USE_VALGRIND="yes"
15895 fi
15896   fi
15897   if test "x$USE_VALGRIND" = xyes; then
15898
15899 $as_echo "#define HAVE_VALGRIND 1" >>confdefs.h
15900
15901     { $as_echo "$as_me:${as_lineno-$LINENO}: Using extra code paths for valgrind" >&5
15902 $as_echo "$as_me: Using extra code paths for valgrind" >&6;}
15903   fi
15904
15905
15906   # Check whether --enable-gcov was given.
15907 if test "${enable_gcov+set}" = set; then :
15908   enableval=$enable_gcov; enable_gcov=$enableval
15909 else
15910   enable_gcov=no
15911 fi
15912
15913   if test x$enable_gcov = xyes ; then
15914     if test "x$GCC" != "xyes"
15915     then
15916       as_fn_error $? "gcov only works if gcc is used" "$LINENO" 5
15917     fi
15918
15919
15920   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands \"-fprofile-arcs\"" >&5
15921 $as_echo_n "checking to see if compiler understands \"-fprofile-arcs\"... " >&6; }
15922
15923   save_CFLAGS="$CFLAGS"
15924   CFLAGS="$CFLAGS "-fprofile-arcs""
15925
15926   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15927 /* end confdefs.h.  */
15928
15929 int
15930 main ()
15931 {
15932
15933   ;
15934   return 0;
15935 }
15936 _ACEOF
15937 if ac_fn_c_try_compile "$LINENO"; then :
15938   flag_ok=yes
15939 else
15940   flag_ok=no
15941 fi
15942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15943   CFLAGS="$save_CFLAGS"
15944
15945   if test "X$flag_ok" = Xyes ; then
15946     GCOV_CFLAGS="$GCOV_CFLAGS -fprofile-arcs"
15947     true
15948   else
15949     true
15950     true
15951   fi
15952   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
15953 $as_echo "$flag_ok" >&6; }
15954
15955
15956   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands \"-ftest-coverage\"" >&5
15957 $as_echo_n "checking to see if compiler understands \"-ftest-coverage\"... " >&6; }
15958
15959   save_CFLAGS="$CFLAGS"
15960   CFLAGS="$CFLAGS "-ftest-coverage""
15961
15962   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15963 /* end confdefs.h.  */
15964
15965 int
15966 main ()
15967 {
15968
15969   ;
15970   return 0;
15971 }
15972 _ACEOF
15973 if ac_fn_c_try_compile "$LINENO"; then :
15974   flag_ok=yes
15975 else
15976   flag_ok=no
15977 fi
15978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15979   CFLAGS="$save_CFLAGS"
15980
15981   if test "X$flag_ok" = Xyes ; then
15982     GCOV_CFLAGS="$GCOV_CFLAGS -ftest-coverage"
15983     true
15984   else
15985     true
15986     true
15987   fi
15988   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
15989 $as_echo "$flag_ok" >&6; }
15990
15991         GCOV_CFLAGS=`echo "$GCOV_CFLAGS" | sed -e 's/-O[0-9]*//g'`
15992                 GCOV_LIBS=-lgcov
15993
15994
15995     GCOV=`echo $CC | sed s/gcc/gcov/g`
15996
15997
15998     GST_GCOV_ENABLED=yes
15999
16000 cat >>confdefs.h <<_ACEOF
16001 #define GST_GCOV_ENABLED 1
16002 _ACEOF
16003
16004         if test "x$GST_GCOV_ENABLED" = "xyes"
16005     then
16006       CFLAGS="-O0"
16007
16008       CXXFLAGS="-O0"
16009
16010       FFLAGS="-O0"
16011
16012       CCASFLAGS="-O0"
16013
16014       { $as_echo "$as_me:${as_lineno-$LINENO}: gcov enabled, setting CFLAGS and friends to $CFLAGS" >&5
16015 $as_echo "$as_me: gcov enabled, setting CFLAGS and friends to $CFLAGS" >&6;}
16016     fi
16017   fi
16018    if test x$enable_gcov = xyes; then
16019   GST_GCOV_ENABLED_TRUE=
16020   GST_GCOV_ENABLED_FALSE='#'
16021 else
16022   GST_GCOV_ENABLED_TRUE='#'
16023   GST_GCOV_ENABLED_FALSE=
16024 fi
16025
16026
16027
16028
16029   # Check whether --enable-examples was given.
16030 if test "${enable_examples+set}" = set; then :
16031   enableval=$enable_examples;
16032         case "${enableval}" in
16033           yes) BUILD_EXAMPLES=yes ;;
16034           no)  BUILD_EXAMPLES=no ;;
16035           *)   as_fn_error $? "bad value ${enableval} for --disable-examples" "$LINENO" 5 ;;
16036         esac
16037
16038 else
16039   BUILD_EXAMPLES=yes
16040 fi
16041     if test "x$BUILD_EXAMPLES" = "xyes"; then
16042   BUILD_EXAMPLES_TRUE=
16043   BUILD_EXAMPLES_FALSE='#'
16044 else
16045   BUILD_EXAMPLES_TRUE='#'
16046   BUILD_EXAMPLES_FALSE=
16047 fi
16048
16049
16050
16051
16052
16053 # Check whether --with-pkg-config-path was given.
16054 if test "${with_pkg_config_path+set}" = set; then :
16055   withval=$with_pkg_config_path;
16056        export PKG_CONFIG_PATH=${withval}
16057        { $as_echo "$as_me:${as_lineno-$LINENO}: Set PKG_CONFIG_PATH to $PKG_CONFIG_PATH" >&5
16058 $as_echo "$as_me: Set PKG_CONFIG_PATH to $PKG_CONFIG_PATH" >&6;}
16059
16060 fi
16061
16062
16063
16064
16065 # Check whether --with-package-name was given.
16066 if test "${with_package_name+set}" = set; then :
16067   withval=$with_package_name;
16068       case "${withval}" in
16069         yes) as_fn_error $? "bad value ${withval} for --with-package-name" "$LINENO" 5 ;;
16070         no)  as_fn_error $? "bad value ${withval} for --with-package-name" "$LINENO" 5 ;;
16071         *)   GST_PACKAGE_NAME="${withval}" ;;
16072       esac
16073
16074 else
16075
16076       P=
16077       if test "x$P" = "x"
16078       then
16079         P=$PACKAGE_NAME
16080       fi
16081
16082       if test "x$PACKAGE_VERSION_NANO" = "x0"
16083       then
16084         GST_PACKAGE_NAME="$P source release"
16085       else
16086         if test "x$PACKAGE_VERSION_NANO" = "x1"
16087         then
16088           GST_PACKAGE_NAME="$P git"
16089         else
16090           GST_PACKAGE_NAME="$P prerelease"
16091         fi
16092       fi
16093
16094
16095 fi
16096
16097   { $as_echo "$as_me:${as_lineno-$LINENO}: Using $GST_PACKAGE_NAME as package name" >&5
16098 $as_echo "$as_me: Using $GST_PACKAGE_NAME as package name" >&6;}
16099
16100 cat >>confdefs.h <<_ACEOF
16101 #define GST_PACKAGE_NAME "$GST_PACKAGE_NAME"
16102 _ACEOF
16103
16104
16105
16106
16107
16108 # Check whether --with-package-origin was given.
16109 if test "${with_package_origin+set}" = set; then :
16110   withval=$with_package_origin;
16111       case "${withval}" in
16112         yes) as_fn_error $? "bad value ${withval} for --with-package-origin" "$LINENO" 5 ;;
16113         no)  as_fn_error $? "bad value ${withval} for --with-package-origin" "$LINENO" 5 ;;
16114         *)   GST_PACKAGE_ORIGIN="${withval}" ;;
16115       esac
16116
16117 else
16118   GST_PACKAGE_ORIGIN="Unknown package origin"
16119 fi
16120
16121   { $as_echo "$as_me:${as_lineno-$LINENO}: Using $GST_PACKAGE_ORIGIN as package origin" >&5
16122 $as_echo "$as_me: Using $GST_PACKAGE_ORIGIN as package origin" >&6;}
16123
16124 cat >>confdefs.h <<_ACEOF
16125 #define GST_PACKAGE_ORIGIN "$GST_PACKAGE_ORIGIN"
16126 _ACEOF
16127
16128
16129
16130
16131
16132
16133 # Check whether --with-plugins was given.
16134 if test "${with_plugins+set}" = set; then :
16135   withval=$with_plugins; WITH_PLUGINS=$withval
16136 else
16137   WITH_PLUGINS=
16138 fi
16139
16140
16141   GST_PLUGINS_ALL=""
16142   GST_PLUGINS_SELECTED=""
16143
16144
16145
16146
16147
16148
16149   echo
16150 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: building of plug-ins with external deps ***" >&5
16151 $as_echo "$as_me: *** checking feature: building of plug-ins with external deps ***" >&6;}
16152 if test "x" != "x"
16153 then
16154   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins:  ***" >&5
16155 $as_echo "$as_me: *** for plug-ins:  ***" >&6;}
16156 fi
16157 NOUSE=
16158 if test "x$USE_EXTERNAL" = "xno"; then
16159   NOUSE="yes"
16160 fi
16161 # Check whether --enable-external was given.
16162 if test "${enable_external+set}" = set; then :
16163   enableval=$enable_external;  case "${enableval}" in
16164       yes) USE_EXTERNAL=yes;;
16165       no) USE_EXTERNAL=no;;
16166       *) as_fn_error $? "bad value ${enableval} for --enable-external" "$LINENO" 5 ;;
16167     esac
16168 else
16169    USE_EXTERNAL=yes
16170 fi
16171
16172 if test "x$NOUSE" = "xyes"; then
16173   USE_EXTERNAL="no"
16174   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ***  pre-configured not to be built" >&5
16175 $as_echo "$as_me: WARNING: ***  pre-configured not to be built" >&2;}
16176 fi
16177 NOUSE=
16178
16179
16180 if test x$USE_EXTERNAL = xyes; then
16181
16182   gst_check_save_LIBS=$LIBS
16183   gst_check_save_LDFLAGS=$LDFLAGS
16184   gst_check_save_CFLAGS=$CFLAGS
16185   gst_check_save_CPPFLAGS=$CPPFLAGS
16186   gst_check_save_CXXFLAGS=$CXXFLAGS
16187
16188   HAVE_EXTERNAL=no
16189     HAVE_EXTERNAL=yes
16190
16191   LIBS=$gst_check_save_LIBS
16192   LDFLAGS=$gst_check_save_LDFLAGS
16193   CFLAGS=$gst_check_save_CFLAGS
16194   CPPFLAGS=$gst_check_save_CPPFLAGS
16195   CXXFLAGS=$gst_check_save_CXXFLAGS
16196
16197     if test x$HAVE_EXTERNAL = xno; then
16198     USE_EXTERNAL=no
16199   else
16200     :
16201   fi
16202 fi
16203 if test x$USE_EXTERNAL = xyes; then
16204
16205       { $as_echo "$as_me:${as_lineno-$LINENO}: building external plug-ins" >&5
16206 $as_echo "$as_me: building external plug-ins" >&6;}
16207       BUILD_EXTERNAL="yes"
16208
16209   if test "x" != "x"; then
16210     GST_PLUGINS_YES="\t\n$GST_PLUGINS_YES"
16211   fi
16212
16213 $as_echo "#define HAVE_EXTERNAL /**/" >>confdefs.h
16214
16215 else
16216   :
16217   if test "x" != "x"; then
16218     GST_PLUGINS_NO="\t\n$GST_PLUGINS_NO"
16219   fi
16220
16221       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: all plug-ins with external dependencies will not be built" >&5
16222 $as_echo "$as_me: WARNING: all plug-ins with external dependencies will not be built" >&2;}
16223       BUILD_EXTERNAL="no"
16224
16225 fi
16226  if test x$USE_EXTERNAL = xyes; then
16227   USE_EXTERNAL_TRUE=
16228   USE_EXTERNAL_FALSE='#'
16229 else
16230   USE_EXTERNAL_TRUE='#'
16231   USE_EXTERNAL_FALSE=
16232 fi
16233
16234
16235   # make BUILD_EXTERNAL available to Makefile.am
16236    if test "x$BUILD_EXTERNAL" = "xyes"; then
16237   BUILD_EXTERNAL_TRUE=
16238   BUILD_EXTERNAL_FALSE='#'
16239 else
16240   BUILD_EXTERNAL_TRUE='#'
16241   BUILD_EXTERNAL_FALSE=
16242 fi
16243
16244
16245
16246
16247   echo
16248 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: building of experimental plug-ins ***" >&5
16249 $as_echo "$as_me: *** checking feature: building of experimental plug-ins ***" >&6;}
16250 if test "x" != "x"
16251 then
16252   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins:  ***" >&5
16253 $as_echo "$as_me: *** for plug-ins:  ***" >&6;}
16254 fi
16255 NOUSE=
16256 if test "x$USE_EXPERIMENTAL" = "xno"; then
16257   NOUSE="yes"
16258 fi
16259 # Check whether --enable-experimental was given.
16260 if test "${enable_experimental+set}" = set; then :
16261   enableval=$enable_experimental;  case "${enableval}" in
16262       yes) USE_EXPERIMENTAL=yes;;
16263       no) USE_EXPERIMENTAL=no;;
16264       *) as_fn_error $? "bad value ${enableval} for --enable-experimental" "$LINENO" 5 ;;
16265     esac
16266 else
16267    USE_EXPERIMENTAL=no
16268 fi
16269
16270 if test "x$NOUSE" = "xyes"; then
16271   USE_EXPERIMENTAL="no"
16272   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ***  pre-configured not to be built" >&5
16273 $as_echo "$as_me: WARNING: ***  pre-configured not to be built" >&2;}
16274 fi
16275 NOUSE=
16276
16277
16278 if test x$USE_EXPERIMENTAL = xyes; then
16279
16280   gst_check_save_LIBS=$LIBS
16281   gst_check_save_LDFLAGS=$LDFLAGS
16282   gst_check_save_CFLAGS=$CFLAGS
16283   gst_check_save_CPPFLAGS=$CPPFLAGS
16284   gst_check_save_CXXFLAGS=$CXXFLAGS
16285
16286   HAVE_EXPERIMENTAL=no
16287     HAVE_EXPERIMENTAL=yes
16288
16289   LIBS=$gst_check_save_LIBS
16290   LDFLAGS=$gst_check_save_LDFLAGS
16291   CFLAGS=$gst_check_save_CFLAGS
16292   CPPFLAGS=$gst_check_save_CPPFLAGS
16293   CXXFLAGS=$gst_check_save_CXXFLAGS
16294
16295     if test x$HAVE_EXPERIMENTAL = xno; then
16296     USE_EXPERIMENTAL=no
16297   else
16298     :
16299   fi
16300 fi
16301 if test x$USE_EXPERIMENTAL = xyes; then
16302
16303       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: building experimental plug-ins" >&5
16304 $as_echo "$as_me: WARNING: building experimental plug-ins" >&2;}
16305       BUILD_EXPERIMENTAL="yes"
16306
16307   if test "x" != "x"; then
16308     GST_PLUGINS_YES="\t\n$GST_PLUGINS_YES"
16309   fi
16310
16311 $as_echo "#define HAVE_EXPERIMENTAL /**/" >>confdefs.h
16312
16313 else
16314   :
16315   if test "x" != "x"; then
16316     GST_PLUGINS_NO="\t\n$GST_PLUGINS_NO"
16317   fi
16318
16319       { $as_echo "$as_me:${as_lineno-$LINENO}: not building experimental plug-ins" >&5
16320 $as_echo "$as_me: not building experimental plug-ins" >&6;}
16321       BUILD_EXPERIMENTAL="no"
16322
16323 fi
16324  if test x$USE_EXPERIMENTAL = xyes; then
16325   USE_EXPERIMENTAL_TRUE=
16326   USE_EXPERIMENTAL_FALSE='#'
16327 else
16328   USE_EXPERIMENTAL_TRUE='#'
16329   USE_EXPERIMENTAL_FALSE=
16330 fi
16331
16332
16333   # make BUILD_EXPERIMENTAL available to Makefile.am
16334    if test "x$BUILD_EXPERIMENTAL" = "xyes"; then
16335   BUILD_EXPERIMENTAL_TRUE=
16336   BUILD_EXPERIMENTAL_FALSE='#'
16337 else
16338   BUILD_EXPERIMENTAL_TRUE='#'
16339   BUILD_EXPERIMENTAL_FALSE=
16340 fi
16341
16342
16343
16344
16345
16346
16347   case $host_os in
16348     rhapsody*)
16349
16350 cat >>confdefs.h <<_ACEOF
16351 #define GST_EXTRA_MODULE_SUFFIX ".dylib"
16352 _ACEOF
16353
16354       ;;
16355     darwin*)
16356
16357 cat >>confdefs.h <<_ACEOF
16358 #define GST_EXTRA_MODULE_SUFFIX ".dylib"
16359 _ACEOF
16360
16361
16362 cat >>confdefs.h <<_ACEOF
16363 #define HAVE_OSX 1
16364 _ACEOF
16365
16366       ;;
16367     cygwin*)
16368
16369 cat >>confdefs.h <<_ACEOF
16370 #define GST_HAVE_UNSAFE_FORK 1
16371 _ACEOF
16372
16373       ;;
16374     mingw* | msvc* | mks*)
16375
16376 cat >>confdefs.h <<_ACEOF
16377 #define HAVE_WIN32 1
16378 _ACEOF
16379
16380
16381                               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16382 /* end confdefs.h.  */
16383
16384 int
16385 main ()
16386 {
16387  return __MSVCRT_VERSION__;
16388   ;
16389   return 0;
16390 }
16391 _ACEOF
16392 if ac_fn_c_try_compile "$LINENO"; then :
16393
16394           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16395 /* end confdefs.h.  */
16396
16397 int
16398 main ()
16399 {
16400
16401             #if __MSVCRT_VERSION__ < 0x0601
16402             #error "MSVCRT too old"
16403             #endif
16404
16405   ;
16406   return 0;
16407 }
16408 _ACEOF
16409 if ac_fn_c_try_compile "$LINENO"; then :
16410
16411             { $as_echo "$as_me:${as_lineno-$LINENO}: MSVCRT version looks ok" >&5
16412 $as_echo "$as_me: MSVCRT version looks ok" >&6;}
16413
16414 else
16415
16416             as_fn_error $? "MSVCRT version too old, need at least WinXP SP2" "$LINENO" 5
16417
16418 fi
16419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16420
16421 else
16422
16423         { $as_echo "$as_me:${as_lineno-$LINENO}: Setting MSVCRT version to 0x0601" >&5
16424 $as_echo "$as_me: Setting MSVCRT version to 0x0601" >&6;}
16425
16426 cat >>confdefs.h <<_ACEOF
16427 #define __MSVCRT_VERSION__ 0x0601
16428 _ACEOF
16429
16430
16431 fi
16432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16433       ;;
16434      *)
16435       ;;
16436   esac
16437
16438
16439
16440
16441
16442     case "x${host_cpu}" in
16443     xi?86 | xk? | xi?86_64)
16444       case $host_os in
16445          solaris*)
16446             ac_fn_c_check_decl "$LINENO" "__i386" "ac_cv_have_decl___i386" "$ac_includes_default"
16447 if test "x$ac_cv_have_decl___i386" = xyes; then :
16448   I386_ABI="yes"
16449 else
16450   I386_ABI="no"
16451 fi
16452
16453             ac_fn_c_check_decl "$LINENO" "__amd64" "ac_cv_have_decl___amd64" "$ac_includes_default"
16454 if test "x$ac_cv_have_decl___amd64" = xyes; then :
16455   AMD64_ABI="yes"
16456 else
16457   AMD64_ABI="no"
16458 fi
16459
16460
16461             if test "x$I386_ABI" = "xyes" ; then
16462                HAVE_CPU_I386=yes
16463
16464 $as_echo "#define HAVE_CPU_I386 1" >>confdefs.h
16465
16466             fi
16467             if test "x$AMD64_ABI" = "xyes" ; then
16468                 HAVE_CPU_X86_64=yes
16469
16470 $as_echo "#define HAVE_CPU_X86_64 1" >>confdefs.h
16471
16472             fi
16473             ;;
16474          *)
16475             HAVE_CPU_I386=yes
16476
16477 $as_echo "#define HAVE_CPU_I386 1" >>confdefs.h
16478
16479
16480                                     case "x${host_cpu}" in
16481               xi386 | xi486) ;;
16482             *)
16483
16484 $as_echo "#define HAVE_RDTSC 1" >>confdefs.h
16485  ;;
16486             esac
16487             ;;
16488       esac
16489       ;;
16490     xpowerpc)
16491       HAVE_CPU_PPC=yes
16492
16493 $as_echo "#define HAVE_CPU_PPC 1" >>confdefs.h
16494  ;;
16495     xpowerpc64)
16496       HAVE_CPU_PPC64=yes
16497
16498 $as_echo "#define HAVE_CPU_PPC64 1" >>confdefs.h
16499  ;;
16500     xalpha*)
16501       HAVE_CPU_ALPHA=yes
16502
16503 $as_echo "#define HAVE_CPU_ALPHA 1" >>confdefs.h
16504  ;;
16505     xarm*)
16506       HAVE_CPU_ARM=yes
16507
16508 $as_echo "#define HAVE_CPU_ARM 1" >>confdefs.h
16509  ;;
16510     xsparc*)
16511       HAVE_CPU_SPARC=yes
16512
16513 $as_echo "#define HAVE_CPU_SPARC 1" >>confdefs.h
16514  ;;
16515     xmips*)
16516       HAVE_CPU_MIPS=yes
16517
16518 $as_echo "#define HAVE_CPU_MIPS 1" >>confdefs.h
16519  ;;
16520     xhppa*)
16521       HAVE_CPU_HPPA=yes
16522
16523 $as_echo "#define HAVE_CPU_HPPA 1" >>confdefs.h
16524  ;;
16525     xs390*)
16526       HAVE_CPU_S390=yes
16527
16528 $as_echo "#define HAVE_CPU_S390 1" >>confdefs.h
16529  ;;
16530     xia64*)
16531       HAVE_CPU_IA64=yes
16532
16533 $as_echo "#define HAVE_CPU_IA64 1" >>confdefs.h
16534  ;;
16535     xm68k*)
16536       HAVE_CPU_M68K=yes
16537
16538 $as_echo "#define HAVE_CPU_M68K 1" >>confdefs.h
16539  ;;
16540     xx86_64)
16541       HAVE_CPU_X86_64=yes
16542
16543 $as_echo "#define HAVE_CPU_X86_64 1" >>confdefs.h
16544  ;;
16545     xcris)
16546       HAVE_CPU_CRIS=yes
16547
16548 $as_echo "#define HAVE_CPU_CRIS 1" >>confdefs.h
16549  ;;
16550     xcrisv32)
16551       HAVE_CPU_CRISV32=yes
16552
16553 $as_echo "#define HAVE_CPU_CRISV32 1" >>confdefs.h
16554  ;;
16555   esac
16556
16557      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
16558 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
16559 if ${ac_cv_c_bigendian+:} false; then :
16560   $as_echo_n "(cached) " >&6
16561 else
16562   ac_cv_c_bigendian=unknown
16563     # See if we're dealing with a universal compiler.
16564     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16565 /* end confdefs.h.  */
16566 #ifndef __APPLE_CC__
16567                not a universal capable compiler
16568              #endif
16569              typedef int dummy;
16570
16571 _ACEOF
16572 if ac_fn_c_try_compile "$LINENO"; then :
16573
16574         # Check for potential -arch flags.  It is not universal unless
16575         # there are at least two -arch flags with different values.
16576         ac_arch=
16577         ac_prev=
16578         for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
16579          if test -n "$ac_prev"; then
16580            case $ac_word in
16581              i?86 | x86_64 | ppc | ppc64)
16582                if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
16583                  ac_arch=$ac_word
16584                else
16585                  ac_cv_c_bigendian=universal
16586                  break
16587                fi
16588                ;;
16589            esac
16590            ac_prev=
16591          elif test "x$ac_word" = "x-arch"; then
16592            ac_prev=arch
16593          fi
16594        done
16595 fi
16596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16597     if test $ac_cv_c_bigendian = unknown; then
16598       # See if sys/param.h defines the BYTE_ORDER macro.
16599       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16600 /* end confdefs.h.  */
16601 #include <sys/types.h>
16602              #include <sys/param.h>
16603
16604 int
16605 main ()
16606 {
16607 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
16608                      && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
16609                      && LITTLE_ENDIAN)
16610               bogus endian macros
16611              #endif
16612
16613   ;
16614   return 0;
16615 }
16616 _ACEOF
16617 if ac_fn_c_try_compile "$LINENO"; then :
16618   # It does; now see whether it defined to BIG_ENDIAN or not.
16619          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16620 /* end confdefs.h.  */
16621 #include <sys/types.h>
16622                 #include <sys/param.h>
16623
16624 int
16625 main ()
16626 {
16627 #if BYTE_ORDER != BIG_ENDIAN
16628                  not big endian
16629                 #endif
16630
16631   ;
16632   return 0;
16633 }
16634 _ACEOF
16635 if ac_fn_c_try_compile "$LINENO"; then :
16636   ac_cv_c_bigendian=yes
16637 else
16638   ac_cv_c_bigendian=no
16639 fi
16640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16641 fi
16642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16643     fi
16644     if test $ac_cv_c_bigendian = unknown; then
16645       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
16646       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16647 /* end confdefs.h.  */
16648 #include <limits.h>
16649
16650 int
16651 main ()
16652 {
16653 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
16654               bogus endian macros
16655              #endif
16656
16657   ;
16658   return 0;
16659 }
16660 _ACEOF
16661 if ac_fn_c_try_compile "$LINENO"; then :
16662   # It does; now see whether it defined to _BIG_ENDIAN or not.
16663          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16664 /* end confdefs.h.  */
16665 #include <limits.h>
16666
16667 int
16668 main ()
16669 {
16670 #ifndef _BIG_ENDIAN
16671                  not big endian
16672                 #endif
16673
16674   ;
16675   return 0;
16676 }
16677 _ACEOF
16678 if ac_fn_c_try_compile "$LINENO"; then :
16679   ac_cv_c_bigendian=yes
16680 else
16681   ac_cv_c_bigendian=no
16682 fi
16683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16684 fi
16685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16686     fi
16687     if test $ac_cv_c_bigendian = unknown; then
16688       # Compile a test program.
16689       if test "$cross_compiling" = yes; then :
16690   # Try to guess by grepping values from an object file.
16691          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16692 /* end confdefs.h.  */
16693 short int ascii_mm[] =
16694                   { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
16695                 short int ascii_ii[] =
16696                   { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
16697                 int use_ascii (int i) {
16698                   return ascii_mm[i] + ascii_ii[i];
16699                 }
16700                 short int ebcdic_ii[] =
16701                   { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
16702                 short int ebcdic_mm[] =
16703                   { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
16704                 int use_ebcdic (int i) {
16705                   return ebcdic_mm[i] + ebcdic_ii[i];
16706                 }
16707                 extern int foo;
16708
16709 int
16710 main ()
16711 {
16712 return use_ascii (foo) == use_ebcdic (foo);
16713   ;
16714   return 0;
16715 }
16716 _ACEOF
16717 if ac_fn_c_try_compile "$LINENO"; then :
16718   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
16719               ac_cv_c_bigendian=yes
16720             fi
16721             if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
16722               if test "$ac_cv_c_bigendian" = unknown; then
16723                 ac_cv_c_bigendian=no
16724               else
16725                 # finding both strings is unlikely to happen, but who knows?
16726                 ac_cv_c_bigendian=unknown
16727               fi
16728             fi
16729 fi
16730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16731 else
16732   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16733 /* end confdefs.h.  */
16734 $ac_includes_default
16735 int
16736 main ()
16737 {
16738
16739              /* Are we little or big endian?  From Harbison&Steele.  */
16740              union
16741              {
16742                long int l;
16743                char c[sizeof (long int)];
16744              } u;
16745              u.l = 1;
16746              return u.c[sizeof (long int) - 1] == 1;
16747
16748   ;
16749   return 0;
16750 }
16751 _ACEOF
16752 if ac_fn_c_try_run "$LINENO"; then :
16753   ac_cv_c_bigendian=no
16754 else
16755   ac_cv_c_bigendian=yes
16756 fi
16757 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16758   conftest.$ac_objext conftest.beam conftest.$ac_ext
16759 fi
16760
16761     fi
16762 fi
16763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
16764 $as_echo "$ac_cv_c_bigendian" >&6; }
16765  case $ac_cv_c_bigendian in #(
16766    yes)
16767      $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
16768 ;; #(
16769    no)
16770       ;; #(
16771    universal)
16772
16773 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
16774
16775      ;; #(
16776    *)
16777      as_fn_error $? "unknown endianness
16778  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
16779  esac
16780
16781
16782    if test "x$HAVE_CPU_I386" = "xyes"; then
16783   HAVE_CPU_I386_TRUE=
16784   HAVE_CPU_I386_FALSE='#'
16785 else
16786   HAVE_CPU_I386_TRUE='#'
16787   HAVE_CPU_I386_FALSE=
16788 fi
16789
16790    if test "x$HAVE_CPU_PPC" = "xyes"; then
16791   HAVE_CPU_PPC_TRUE=
16792   HAVE_CPU_PPC_FALSE='#'
16793 else
16794   HAVE_CPU_PPC_TRUE='#'
16795   HAVE_CPU_PPC_FALSE=
16796 fi
16797
16798    if test "x$HAVE_CPU_PPC64" = "xyes"; then
16799   HAVE_CPU_PPC64_TRUE=
16800   HAVE_CPU_PPC64_FALSE='#'
16801 else
16802   HAVE_CPU_PPC64_TRUE='#'
16803   HAVE_CPU_PPC64_FALSE=
16804 fi
16805
16806    if test "x$HAVE_CPU_ALPHA" = "xyes"; then
16807   HAVE_CPU_ALPHA_TRUE=
16808   HAVE_CPU_ALPHA_FALSE='#'
16809 else
16810   HAVE_CPU_ALPHA_TRUE='#'
16811   HAVE_CPU_ALPHA_FALSE=
16812 fi
16813
16814    if test "x$HAVE_CPU_ARM" = "xyes"; then
16815   HAVE_CPU_ARM_TRUE=
16816   HAVE_CPU_ARM_FALSE='#'
16817 else
16818   HAVE_CPU_ARM_TRUE='#'
16819   HAVE_CPU_ARM_FALSE=
16820 fi
16821
16822    if test "x$HAVE_CPU_SPARC" = "xyes"; then
16823   HAVE_CPU_SPARC_TRUE=
16824   HAVE_CPU_SPARC_FALSE='#'
16825 else
16826   HAVE_CPU_SPARC_TRUE='#'
16827   HAVE_CPU_SPARC_FALSE=
16828 fi
16829
16830    if test "x$HAVE_CPU_HPPA" = "xyes"; then
16831   HAVE_CPU_HPPA_TRUE=
16832   HAVE_CPU_HPPA_FALSE='#'
16833 else
16834   HAVE_CPU_HPPA_TRUE='#'
16835   HAVE_CPU_HPPA_FALSE=
16836 fi
16837
16838    if test "x$HAVE_CPU_MIPS" = "xyes"; then
16839   HAVE_CPU_MIPS_TRUE=
16840   HAVE_CPU_MIPS_FALSE='#'
16841 else
16842   HAVE_CPU_MIPS_TRUE='#'
16843   HAVE_CPU_MIPS_FALSE=
16844 fi
16845
16846    if test "x$HAVE_CPU_S390" = "xyes"; then
16847   HAVE_CPU_S390_TRUE=
16848   HAVE_CPU_S390_FALSE='#'
16849 else
16850   HAVE_CPU_S390_TRUE='#'
16851   HAVE_CPU_S390_FALSE=
16852 fi
16853
16854    if test "x$HAVE_CPU_IA64" = "xyes"; then
16855   HAVE_CPU_IA64_TRUE=
16856   HAVE_CPU_IA64_FALSE='#'
16857 else
16858   HAVE_CPU_IA64_TRUE='#'
16859   HAVE_CPU_IA64_FALSE=
16860 fi
16861
16862    if test "x$HAVE_CPU_M68K" = "xyes"; then
16863   HAVE_CPU_M68K_TRUE=
16864   HAVE_CPU_M68K_FALSE='#'
16865 else
16866   HAVE_CPU_M68K_TRUE='#'
16867   HAVE_CPU_M68K_FALSE=
16868 fi
16869
16870    if test "x$HAVE_CPU_X86_64" = "xyes"; then
16871   HAVE_CPU_X86_64_TRUE=
16872   HAVE_CPU_X86_64_FALSE='#'
16873 else
16874   HAVE_CPU_X86_64_TRUE='#'
16875   HAVE_CPU_X86_64_FALSE=
16876 fi
16877
16878    if test "x$HAVE_CPU_CRIS" = "xyes"; then
16879   HAVE_CPU_CRIS_TRUE=
16880   HAVE_CPU_CRIS_FALSE='#'
16881 else
16882   HAVE_CPU_CRIS_TRUE='#'
16883   HAVE_CPU_CRIS_FALSE=
16884 fi
16885
16886    if test "x$HAVE_CPU_CRISV32" = "xyes"; then
16887   HAVE_CPU_CRISV32_TRUE=
16888   HAVE_CPU_CRISV32_FALSE='#'
16889 else
16890   HAVE_CPU_CRISV32_TRUE='#'
16891   HAVE_CPU_CRISV32_FALSE=
16892 fi
16893
16894
16895
16896 cat >>confdefs.h <<_ACEOF
16897 #define HOST_CPU "$host_cpu"
16898 _ACEOF
16899
16900
16901
16902  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
16903 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
16904 if ${ac_cv_c_bigendian+:} false; then :
16905   $as_echo_n "(cached) " >&6
16906 else
16907   ac_cv_c_bigendian=unknown
16908     # See if we're dealing with a universal compiler.
16909     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16910 /* end confdefs.h.  */
16911 #ifndef __APPLE_CC__
16912                not a universal capable compiler
16913              #endif
16914              typedef int dummy;
16915
16916 _ACEOF
16917 if ac_fn_c_try_compile "$LINENO"; then :
16918
16919         # Check for potential -arch flags.  It is not universal unless
16920         # there are at least two -arch flags with different values.
16921         ac_arch=
16922         ac_prev=
16923         for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
16924          if test -n "$ac_prev"; then
16925            case $ac_word in
16926              i?86 | x86_64 | ppc | ppc64)
16927                if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
16928                  ac_arch=$ac_word
16929                else
16930                  ac_cv_c_bigendian=universal
16931                  break
16932                fi
16933                ;;
16934            esac
16935            ac_prev=
16936          elif test "x$ac_word" = "x-arch"; then
16937            ac_prev=arch
16938          fi
16939        done
16940 fi
16941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16942     if test $ac_cv_c_bigendian = unknown; then
16943       # See if sys/param.h defines the BYTE_ORDER macro.
16944       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16945 /* end confdefs.h.  */
16946 #include <sys/types.h>
16947              #include <sys/param.h>
16948
16949 int
16950 main ()
16951 {
16952 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
16953                      && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
16954                      && LITTLE_ENDIAN)
16955               bogus endian macros
16956              #endif
16957
16958   ;
16959   return 0;
16960 }
16961 _ACEOF
16962 if ac_fn_c_try_compile "$LINENO"; then :
16963   # It does; now see whether it defined to BIG_ENDIAN or not.
16964          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16965 /* end confdefs.h.  */
16966 #include <sys/types.h>
16967                 #include <sys/param.h>
16968
16969 int
16970 main ()
16971 {
16972 #if BYTE_ORDER != BIG_ENDIAN
16973                  not big endian
16974                 #endif
16975
16976   ;
16977   return 0;
16978 }
16979 _ACEOF
16980 if ac_fn_c_try_compile "$LINENO"; then :
16981   ac_cv_c_bigendian=yes
16982 else
16983   ac_cv_c_bigendian=no
16984 fi
16985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16986 fi
16987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16988     fi
16989     if test $ac_cv_c_bigendian = unknown; then
16990       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
16991       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16992 /* end confdefs.h.  */
16993 #include <limits.h>
16994
16995 int
16996 main ()
16997 {
16998 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
16999               bogus endian macros
17000              #endif
17001
17002   ;
17003   return 0;
17004 }
17005 _ACEOF
17006 if ac_fn_c_try_compile "$LINENO"; then :
17007   # It does; now see whether it defined to _BIG_ENDIAN or not.
17008          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17009 /* end confdefs.h.  */
17010 #include <limits.h>
17011
17012 int
17013 main ()
17014 {
17015 #ifndef _BIG_ENDIAN
17016                  not big endian
17017                 #endif
17018
17019   ;
17020   return 0;
17021 }
17022 _ACEOF
17023 if ac_fn_c_try_compile "$LINENO"; then :
17024   ac_cv_c_bigendian=yes
17025 else
17026   ac_cv_c_bigendian=no
17027 fi
17028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17029 fi
17030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17031     fi
17032     if test $ac_cv_c_bigendian = unknown; then
17033       # Compile a test program.
17034       if test "$cross_compiling" = yes; then :
17035   # Try to guess by grepping values from an object file.
17036          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17037 /* end confdefs.h.  */
17038 short int ascii_mm[] =
17039                   { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
17040                 short int ascii_ii[] =
17041                   { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
17042                 int use_ascii (int i) {
17043                   return ascii_mm[i] + ascii_ii[i];
17044                 }
17045                 short int ebcdic_ii[] =
17046                   { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
17047                 short int ebcdic_mm[] =
17048                   { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
17049                 int use_ebcdic (int i) {
17050                   return ebcdic_mm[i] + ebcdic_ii[i];
17051                 }
17052                 extern int foo;
17053
17054 int
17055 main ()
17056 {
17057 return use_ascii (foo) == use_ebcdic (foo);
17058   ;
17059   return 0;
17060 }
17061 _ACEOF
17062 if ac_fn_c_try_compile "$LINENO"; then :
17063   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
17064               ac_cv_c_bigendian=yes
17065             fi
17066             if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
17067               if test "$ac_cv_c_bigendian" = unknown; then
17068                 ac_cv_c_bigendian=no
17069               else
17070                 # finding both strings is unlikely to happen, but who knows?
17071                 ac_cv_c_bigendian=unknown
17072               fi
17073             fi
17074 fi
17075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17076 else
17077   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17078 /* end confdefs.h.  */
17079 $ac_includes_default
17080 int
17081 main ()
17082 {
17083
17084              /* Are we little or big endian?  From Harbison&Steele.  */
17085              union
17086              {
17087                long int l;
17088                char c[sizeof (long int)];
17089              } u;
17090              u.l = 1;
17091              return u.c[sizeof (long int) - 1] == 1;
17092
17093   ;
17094   return 0;
17095 }
17096 _ACEOF
17097 if ac_fn_c_try_run "$LINENO"; then :
17098   ac_cv_c_bigendian=no
17099 else
17100   ac_cv_c_bigendian=yes
17101 fi
17102 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17103   conftest.$ac_objext conftest.beam conftest.$ac_ext
17104 fi
17105
17106     fi
17107 fi
17108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
17109 $as_echo "$ac_cv_c_bigendian" >&6; }
17110  case $ac_cv_c_bigendian in #(
17111    yes)
17112      $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
17113 ;; #(
17114    no)
17115       ;; #(
17116    universal)
17117
17118 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
17119
17120      ;; #(
17121    *)
17122      as_fn_error $? "unknown endianness
17123  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
17124  esac
17125
17126
17127
17128 ac_ext=c
17129 ac_cpp='$CPP $CPPFLAGS'
17130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17133 if test -n "$ac_tool_prefix"; then
17134   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
17135 set dummy ${ac_tool_prefix}gcc; ac_word=$2
17136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17137 $as_echo_n "checking for $ac_word... " >&6; }
17138 if ${ac_cv_prog_CC+:} false; then :
17139   $as_echo_n "(cached) " >&6
17140 else
17141   if test -n "$CC"; then
17142   ac_cv_prog_CC="$CC" # Let the user override the test.
17143 else
17144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17145 for as_dir in $PATH
17146 do
17147   IFS=$as_save_IFS
17148   test -z "$as_dir" && as_dir=.
17149     for ac_exec_ext in '' $ac_executable_extensions; do
17150   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17151     ac_cv_prog_CC="${ac_tool_prefix}gcc"
17152     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17153     break 2
17154   fi
17155 done
17156   done
17157 IFS=$as_save_IFS
17158
17159 fi
17160 fi
17161 CC=$ac_cv_prog_CC
17162 if test -n "$CC"; then
17163   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
17164 $as_echo "$CC" >&6; }
17165 else
17166   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17167 $as_echo "no" >&6; }
17168 fi
17169
17170
17171 fi
17172 if test -z "$ac_cv_prog_CC"; then
17173   ac_ct_CC=$CC
17174   # Extract the first word of "gcc", so it can be a program name with args.
17175 set dummy gcc; ac_word=$2
17176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17177 $as_echo_n "checking for $ac_word... " >&6; }
17178 if ${ac_cv_prog_ac_ct_CC+:} false; then :
17179   $as_echo_n "(cached) " >&6
17180 else
17181   if test -n "$ac_ct_CC"; then
17182   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
17183 else
17184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17185 for as_dir in $PATH
17186 do
17187   IFS=$as_save_IFS
17188   test -z "$as_dir" && as_dir=.
17189     for ac_exec_ext in '' $ac_executable_extensions; do
17190   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17191     ac_cv_prog_ac_ct_CC="gcc"
17192     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17193     break 2
17194   fi
17195 done
17196   done
17197 IFS=$as_save_IFS
17198
17199 fi
17200 fi
17201 ac_ct_CC=$ac_cv_prog_ac_ct_CC
17202 if test -n "$ac_ct_CC"; then
17203   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
17204 $as_echo "$ac_ct_CC" >&6; }
17205 else
17206   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17207 $as_echo "no" >&6; }
17208 fi
17209
17210   if test "x$ac_ct_CC" = x; then
17211     CC=""
17212   else
17213     case $cross_compiling:$ac_tool_warned in
17214 yes:)
17215 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17216 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17217 ac_tool_warned=yes ;;
17218 esac
17219     CC=$ac_ct_CC
17220   fi
17221 else
17222   CC="$ac_cv_prog_CC"
17223 fi
17224
17225 if test -z "$CC"; then
17226           if test -n "$ac_tool_prefix"; then
17227     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
17228 set dummy ${ac_tool_prefix}cc; ac_word=$2
17229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17230 $as_echo_n "checking for $ac_word... " >&6; }
17231 if ${ac_cv_prog_CC+:} false; then :
17232   $as_echo_n "(cached) " >&6
17233 else
17234   if test -n "$CC"; then
17235   ac_cv_prog_CC="$CC" # Let the user override the test.
17236 else
17237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17238 for as_dir in $PATH
17239 do
17240   IFS=$as_save_IFS
17241   test -z "$as_dir" && as_dir=.
17242     for ac_exec_ext in '' $ac_executable_extensions; do
17243   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17244     ac_cv_prog_CC="${ac_tool_prefix}cc"
17245     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17246     break 2
17247   fi
17248 done
17249   done
17250 IFS=$as_save_IFS
17251
17252 fi
17253 fi
17254 CC=$ac_cv_prog_CC
17255 if test -n "$CC"; then
17256   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
17257 $as_echo "$CC" >&6; }
17258 else
17259   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17260 $as_echo "no" >&6; }
17261 fi
17262
17263
17264   fi
17265 fi
17266 if test -z "$CC"; then
17267   # Extract the first word of "cc", so it can be a program name with args.
17268 set dummy cc; ac_word=$2
17269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17270 $as_echo_n "checking for $ac_word... " >&6; }
17271 if ${ac_cv_prog_CC+:} false; then :
17272   $as_echo_n "(cached) " >&6
17273 else
17274   if test -n "$CC"; then
17275   ac_cv_prog_CC="$CC" # Let the user override the test.
17276 else
17277   ac_prog_rejected=no
17278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17279 for as_dir in $PATH
17280 do
17281   IFS=$as_save_IFS
17282   test -z "$as_dir" && as_dir=.
17283     for ac_exec_ext in '' $ac_executable_extensions; do
17284   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17285     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
17286        ac_prog_rejected=yes
17287        continue
17288      fi
17289     ac_cv_prog_CC="cc"
17290     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17291     break 2
17292   fi
17293 done
17294   done
17295 IFS=$as_save_IFS
17296
17297 if test $ac_prog_rejected = yes; then
17298   # We found a bogon in the path, so make sure we never use it.
17299   set dummy $ac_cv_prog_CC
17300   shift
17301   if test $# != 0; then
17302     # We chose a different compiler from the bogus one.
17303     # However, it has the same basename, so the bogon will be chosen
17304     # first if we set CC to just the basename; use the full file name.
17305     shift
17306     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
17307   fi
17308 fi
17309 fi
17310 fi
17311 CC=$ac_cv_prog_CC
17312 if test -n "$CC"; then
17313   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
17314 $as_echo "$CC" >&6; }
17315 else
17316   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17317 $as_echo "no" >&6; }
17318 fi
17319
17320
17321 fi
17322 if test -z "$CC"; then
17323   if test -n "$ac_tool_prefix"; then
17324   for ac_prog in cl.exe
17325   do
17326     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
17327 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
17328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17329 $as_echo_n "checking for $ac_word... " >&6; }
17330 if ${ac_cv_prog_CC+:} false; then :
17331   $as_echo_n "(cached) " >&6
17332 else
17333   if test -n "$CC"; then
17334   ac_cv_prog_CC="$CC" # Let the user override the test.
17335 else
17336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17337 for as_dir in $PATH
17338 do
17339   IFS=$as_save_IFS
17340   test -z "$as_dir" && as_dir=.
17341     for ac_exec_ext in '' $ac_executable_extensions; do
17342   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17343     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
17344     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17345     break 2
17346   fi
17347 done
17348   done
17349 IFS=$as_save_IFS
17350
17351 fi
17352 fi
17353 CC=$ac_cv_prog_CC
17354 if test -n "$CC"; then
17355   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
17356 $as_echo "$CC" >&6; }
17357 else
17358   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17359 $as_echo "no" >&6; }
17360 fi
17361
17362
17363     test -n "$CC" && break
17364   done
17365 fi
17366 if test -z "$CC"; then
17367   ac_ct_CC=$CC
17368   for ac_prog in cl.exe
17369 do
17370   # Extract the first word of "$ac_prog", so it can be a program name with args.
17371 set dummy $ac_prog; ac_word=$2
17372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17373 $as_echo_n "checking for $ac_word... " >&6; }
17374 if ${ac_cv_prog_ac_ct_CC+:} false; then :
17375   $as_echo_n "(cached) " >&6
17376 else
17377   if test -n "$ac_ct_CC"; then
17378   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
17379 else
17380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17381 for as_dir in $PATH
17382 do
17383   IFS=$as_save_IFS
17384   test -z "$as_dir" && as_dir=.
17385     for ac_exec_ext in '' $ac_executable_extensions; do
17386   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17387     ac_cv_prog_ac_ct_CC="$ac_prog"
17388     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17389     break 2
17390   fi
17391 done
17392   done
17393 IFS=$as_save_IFS
17394
17395 fi
17396 fi
17397 ac_ct_CC=$ac_cv_prog_ac_ct_CC
17398 if test -n "$ac_ct_CC"; then
17399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
17400 $as_echo "$ac_ct_CC" >&6; }
17401 else
17402   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17403 $as_echo "no" >&6; }
17404 fi
17405
17406
17407   test -n "$ac_ct_CC" && break
17408 done
17409
17410   if test "x$ac_ct_CC" = x; then
17411     CC=""
17412   else
17413     case $cross_compiling:$ac_tool_warned in
17414 yes:)
17415 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17416 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17417 ac_tool_warned=yes ;;
17418 esac
17419     CC=$ac_ct_CC
17420   fi
17421 fi
17422
17423 fi
17424
17425
17426 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17427 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17428 as_fn_error $? "no acceptable C compiler found in \$PATH
17429 See \`config.log' for more details" "$LINENO" 5; }
17430
17431 # Provide some information about the compiler.
17432 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
17433 set X $ac_compile
17434 ac_compiler=$2
17435 for ac_option in --version -v -V -qversion; do
17436   { { ac_try="$ac_compiler $ac_option >&5"
17437 case "(($ac_try" in
17438   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17439   *) ac_try_echo=$ac_try;;
17440 esac
17441 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
17442 $as_echo "$ac_try_echo"; } >&5
17443   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
17444   ac_status=$?
17445   if test -s conftest.err; then
17446     sed '10a\
17447 ... rest of stderr output deleted ...
17448          10q' conftest.err >conftest.er1
17449     cat conftest.er1 >&5
17450   fi
17451   rm -f conftest.er1 conftest.err
17452   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17453   test $ac_status = 0; }
17454 done
17455
17456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
17457 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
17458 if ${ac_cv_c_compiler_gnu+:} false; then :
17459   $as_echo_n "(cached) " >&6
17460 else
17461   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17462 /* end confdefs.h.  */
17463
17464 int
17465 main ()
17466 {
17467 #ifndef __GNUC__
17468        choke me
17469 #endif
17470
17471   ;
17472   return 0;
17473 }
17474 _ACEOF
17475 if ac_fn_c_try_compile "$LINENO"; then :
17476   ac_compiler_gnu=yes
17477 else
17478   ac_compiler_gnu=no
17479 fi
17480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17481 ac_cv_c_compiler_gnu=$ac_compiler_gnu
17482
17483 fi
17484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
17485 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
17486 if test $ac_compiler_gnu = yes; then
17487   GCC=yes
17488 else
17489   GCC=
17490 fi
17491 ac_test_CFLAGS=${CFLAGS+set}
17492 ac_save_CFLAGS=$CFLAGS
17493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
17494 $as_echo_n "checking whether $CC accepts -g... " >&6; }
17495 if ${ac_cv_prog_cc_g+:} false; then :
17496   $as_echo_n "(cached) " >&6
17497 else
17498   ac_save_c_werror_flag=$ac_c_werror_flag
17499    ac_c_werror_flag=yes
17500    ac_cv_prog_cc_g=no
17501    CFLAGS="-g"
17502    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17503 /* end confdefs.h.  */
17504
17505 int
17506 main ()
17507 {
17508
17509   ;
17510   return 0;
17511 }
17512 _ACEOF
17513 if ac_fn_c_try_compile "$LINENO"; then :
17514   ac_cv_prog_cc_g=yes
17515 else
17516   CFLAGS=""
17517       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17518 /* end confdefs.h.  */
17519
17520 int
17521 main ()
17522 {
17523
17524   ;
17525   return 0;
17526 }
17527 _ACEOF
17528 if ac_fn_c_try_compile "$LINENO"; then :
17529
17530 else
17531   ac_c_werror_flag=$ac_save_c_werror_flag
17532          CFLAGS="-g"
17533          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17534 /* end confdefs.h.  */
17535
17536 int
17537 main ()
17538 {
17539
17540   ;
17541   return 0;
17542 }
17543 _ACEOF
17544 if ac_fn_c_try_compile "$LINENO"; then :
17545   ac_cv_prog_cc_g=yes
17546 fi
17547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17548 fi
17549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17550 fi
17551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17552    ac_c_werror_flag=$ac_save_c_werror_flag
17553 fi
17554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
17555 $as_echo "$ac_cv_prog_cc_g" >&6; }
17556 if test "$ac_test_CFLAGS" = set; then
17557   CFLAGS=$ac_save_CFLAGS
17558 elif test $ac_cv_prog_cc_g = yes; then
17559   if test "$GCC" = yes; then
17560     CFLAGS="-g -O2"
17561   else
17562     CFLAGS="-g"
17563   fi
17564 else
17565   if test "$GCC" = yes; then
17566     CFLAGS="-O2"
17567   else
17568     CFLAGS=
17569   fi
17570 fi
17571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
17572 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
17573 if ${ac_cv_prog_cc_c89+:} false; then :
17574   $as_echo_n "(cached) " >&6
17575 else
17576   ac_cv_prog_cc_c89=no
17577 ac_save_CC=$CC
17578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17579 /* end confdefs.h.  */
17580 #include <stdarg.h>
17581 #include <stdio.h>
17582 #include <sys/types.h>
17583 #include <sys/stat.h>
17584 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
17585 struct buf { int x; };
17586 FILE * (*rcsopen) (struct buf *, struct stat *, int);
17587 static char *e (p, i)
17588      char **p;
17589      int i;
17590 {
17591   return p[i];
17592 }
17593 static char *f (char * (*g) (char **, int), char **p, ...)
17594 {
17595   char *s;
17596   va_list v;
17597   va_start (v,p);
17598   s = g (p, va_arg (v,int));
17599   va_end (v);
17600   return s;
17601 }
17602
17603 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
17604    function prototypes and stuff, but not '\xHH' hex character constants.
17605    These don't provoke an error unfortunately, instead are silently treated
17606    as 'x'.  The following induces an error, until -std is added to get
17607    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
17608    array size at least.  It's necessary to write '\x00'==0 to get something
17609    that's true only with -std.  */
17610 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
17611
17612 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
17613    inside strings and character constants.  */
17614 #define FOO(x) 'x'
17615 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
17616
17617 int test (int i, double x);
17618 struct s1 {int (*f) (int a);};
17619 struct s2 {int (*f) (double a);};
17620 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
17621 int argc;
17622 char **argv;
17623 int
17624 main ()
17625 {
17626 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
17627   ;
17628   return 0;
17629 }
17630 _ACEOF
17631 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
17632         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
17633 do
17634   CC="$ac_save_CC $ac_arg"
17635   if ac_fn_c_try_compile "$LINENO"; then :
17636   ac_cv_prog_cc_c89=$ac_arg
17637 fi
17638 rm -f core conftest.err conftest.$ac_objext
17639   test "x$ac_cv_prog_cc_c89" != "xno" && break
17640 done
17641 rm -f conftest.$ac_ext
17642 CC=$ac_save_CC
17643
17644 fi
17645 # AC_CACHE_VAL
17646 case "x$ac_cv_prog_cc_c89" in
17647   x)
17648     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
17649 $as_echo "none needed" >&6; } ;;
17650   xno)
17651     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
17652 $as_echo "unsupported" >&6; } ;;
17653   *)
17654     CC="$CC $ac_cv_prog_cc_c89"
17655     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
17656 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
17657 esac
17658 if test "x$ac_cv_prog_cc_c89" != xno; then :
17659
17660 fi
17661
17662 ac_ext=c
17663 ac_cpp='$CPP $CPPFLAGS'
17664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17667
17668 depcc="$CC"   am_compiler_list=
17669
17670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
17671 $as_echo_n "checking dependency style of $depcc... " >&6; }
17672 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
17673   $as_echo_n "(cached) " >&6
17674 else
17675   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
17676   # We make a subdir and do the tests there.  Otherwise we can end up
17677   # making bogus files that we don't know about and never remove.  For
17678   # instance it was reported that on HP-UX the gcc test will end up
17679   # making a dummy file named `D' -- because `-MD' means `put the output
17680   # in D'.
17681   rm -rf conftest.dir
17682   mkdir conftest.dir
17683   # Copy depcomp to subdir because otherwise we won't find it if we're
17684   # using a relative directory.
17685   cp "$am_depcomp" conftest.dir
17686   cd conftest.dir
17687   # We will build objects and dependencies in a subdirectory because
17688   # it helps to detect inapplicable dependency modes.  For instance
17689   # both Tru64's cc and ICC support -MD to output dependencies as a
17690   # side effect of compilation, but ICC will put the dependencies in
17691   # the current directory while Tru64 will put them in the object
17692   # directory.
17693   mkdir sub
17694
17695   am_cv_CC_dependencies_compiler_type=none
17696   if test "$am_compiler_list" = ""; then
17697      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
17698   fi
17699   am__universal=false
17700   case " $depcc " in #(
17701      *\ -arch\ *\ -arch\ *) am__universal=true ;;
17702      esac
17703
17704   for depmode in $am_compiler_list; do
17705     # Setup a source with many dependencies, because some compilers
17706     # like to wrap large dependency lists on column 80 (with \), and
17707     # we should not choose a depcomp mode which is confused by this.
17708     #
17709     # We need to recreate these files for each test, as the compiler may
17710     # overwrite some of them when testing with obscure command lines.
17711     # This happens at least with the AIX C compiler.
17712     : > sub/conftest.c
17713     for i in 1 2 3 4 5 6; do
17714       echo '#include "conftst'$i'.h"' >> sub/conftest.c
17715       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
17716       # Solaris 8's {/usr,}/bin/sh.
17717       touch sub/conftst$i.h
17718     done
17719     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
17720
17721     # We check with `-c' and `-o' for the sake of the "dashmstdout"
17722     # mode.  It turns out that the SunPro C++ compiler does not properly
17723     # handle `-M -o', and we need to detect this.  Also, some Intel
17724     # versions had trouble with output in subdirs
17725     am__obj=sub/conftest.${OBJEXT-o}
17726     am__minus_obj="-o $am__obj"
17727     case $depmode in
17728     gcc)
17729       # This depmode causes a compiler race in universal mode.
17730       test "$am__universal" = false || continue
17731       ;;
17732     nosideeffect)
17733       # after this tag, mechanisms are not by side-effect, so they'll
17734       # only be used when explicitly requested
17735       if test "x$enable_dependency_tracking" = xyes; then
17736         continue
17737       else
17738         break
17739       fi
17740       ;;
17741     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
17742       # This compiler won't grok `-c -o', but also, the minuso test has
17743       # not run yet.  These depmodes are late enough in the game, and
17744       # so weak that their functioning should not be impacted.
17745       am__obj=conftest.${OBJEXT-o}
17746       am__minus_obj=
17747       ;;
17748     none) break ;;
17749     esac
17750     if depmode=$depmode \
17751        source=sub/conftest.c object=$am__obj \
17752        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
17753        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
17754          >/dev/null 2>conftest.err &&
17755        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
17756        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
17757        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
17758        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
17759       # icc doesn't choke on unknown options, it will just issue warnings
17760       # or remarks (even with -Werror).  So we grep stderr for any message
17761       # that says an option was ignored or not supported.
17762       # When given -MP, icc 7.0 and 7.1 complain thusly:
17763       #   icc: Command line warning: ignoring option '-M'; no argument required
17764       # The diagnosis changed in icc 8.0:
17765       #   icc: Command line remark: option '-MP' not supported
17766       if (grep 'ignoring option' conftest.err ||
17767           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
17768         am_cv_CC_dependencies_compiler_type=$depmode
17769         break
17770       fi
17771     fi
17772   done
17773
17774   cd ..
17775   rm -rf conftest.dir
17776 else
17777   am_cv_CC_dependencies_compiler_type=none
17778 fi
17779
17780 fi
17781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
17782 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
17783 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
17784
17785  if
17786   test "x$enable_dependency_tracking" != xno \
17787   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
17788   am__fastdepCC_TRUE=
17789   am__fastdepCC_FALSE='#'
17790 else
17791   am__fastdepCC_TRUE='#'
17792   am__fastdepCC_FALSE=
17793 fi
17794
17795
17796    case $ac_cv_prog_cc_stdc in #(
17797   no) :
17798     ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
17799   *) :
17800     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
17801 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
17802 if ${ac_cv_prog_cc_c99+:} false; then :
17803   $as_echo_n "(cached) " >&6
17804 else
17805   ac_cv_prog_cc_c99=no
17806 ac_save_CC=$CC
17807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17808 /* end confdefs.h.  */
17809 #include <stdarg.h>
17810 #include <stdbool.h>
17811 #include <stdlib.h>
17812 #include <wchar.h>
17813 #include <stdio.h>
17814
17815 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
17816 #define debug(...) fprintf (stderr, __VA_ARGS__)
17817 #define showlist(...) puts (#__VA_ARGS__)
17818 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
17819 static void
17820 test_varargs_macros (void)
17821 {
17822   int x = 1234;
17823   int y = 5678;
17824   debug ("Flag");
17825   debug ("X = %d\n", x);
17826   showlist (The first, second, and third items.);
17827   report (x>y, "x is %d but y is %d", x, y);
17828 }
17829
17830 // Check long long types.
17831 #define BIG64 18446744073709551615ull
17832 #define BIG32 4294967295ul
17833 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
17834 #if !BIG_OK
17835   your preprocessor is broken;
17836 #endif
17837 #if BIG_OK
17838 #else
17839   your preprocessor is broken;
17840 #endif
17841 static long long int bignum = -9223372036854775807LL;
17842 static unsigned long long int ubignum = BIG64;
17843
17844 struct incomplete_array
17845 {
17846   int datasize;
17847   double data[];
17848 };
17849
17850 struct named_init {
17851   int number;
17852   const wchar_t *name;
17853   double average;
17854 };
17855
17856 typedef const char *ccp;
17857
17858 static inline int
17859 test_restrict (ccp restrict text)
17860 {
17861   // See if C++-style comments work.
17862   // Iterate through items via the restricted pointer.
17863   // Also check for declarations in for loops.
17864   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
17865     continue;
17866   return 0;
17867 }
17868
17869 // Check varargs and va_copy.
17870 static void
17871 test_varargs (const char *format, ...)
17872 {
17873   va_list args;
17874   va_start (args, format);
17875   va_list args_copy;
17876   va_copy (args_copy, args);
17877
17878   const char *str;
17879   int number;
17880   float fnumber;
17881
17882   while (*format)
17883     {
17884       switch (*format++)
17885         {
17886         case 's': // string
17887           str = va_arg (args_copy, const char *);
17888           break;
17889         case 'd': // int
17890           number = va_arg (args_copy, int);
17891           break;
17892         case 'f': // float
17893           fnumber = va_arg (args_copy, double);
17894           break;
17895         default:
17896           break;
17897         }
17898     }
17899   va_end (args_copy);
17900   va_end (args);
17901 }
17902
17903 int
17904 main ()
17905 {
17906
17907   // Check bool.
17908   _Bool success = false;
17909
17910   // Check restrict.
17911   if (test_restrict ("String literal") == 0)
17912     success = true;
17913   char *restrict newvar = "Another string";
17914
17915   // Check varargs.
17916   test_varargs ("s, d' f .", "string", 65, 34.234);
17917   test_varargs_macros ();
17918
17919   // Check flexible array members.
17920   struct incomplete_array *ia =
17921     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
17922   ia->datasize = 10;
17923   for (int i = 0; i < ia->datasize; ++i)
17924     ia->data[i] = i * 1.234;
17925
17926   // Check named initializers.
17927   struct named_init ni = {
17928     .number = 34,
17929     .name = L"Test wide string",
17930     .average = 543.34343,
17931   };
17932
17933   ni.number = 58;
17934
17935   int dynamic_array[ni.number];
17936   dynamic_array[ni.number - 1] = 543;
17937
17938   // work around unused variable warnings
17939   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
17940           || dynamic_array[ni.number - 1] != 543);
17941
17942   ;
17943   return 0;
17944 }
17945 _ACEOF
17946 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
17947 do
17948   CC="$ac_save_CC $ac_arg"
17949   if ac_fn_c_try_compile "$LINENO"; then :
17950   ac_cv_prog_cc_c99=$ac_arg
17951 fi
17952 rm -f core conftest.err conftest.$ac_objext
17953   test "x$ac_cv_prog_cc_c99" != "xno" && break
17954 done
17955 rm -f conftest.$ac_ext
17956 CC=$ac_save_CC
17957
17958 fi
17959 # AC_CACHE_VAL
17960 case "x$ac_cv_prog_cc_c99" in
17961   x)
17962     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
17963 $as_echo "none needed" >&6; } ;;
17964   xno)
17965     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
17966 $as_echo "unsupported" >&6; } ;;
17967   *)
17968     CC="$CC $ac_cv_prog_cc_c99"
17969     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
17970 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
17971 esac
17972 if test "x$ac_cv_prog_cc_c99" != xno; then :
17973   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
17974 else
17975   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
17976 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
17977 if ${ac_cv_prog_cc_c89+:} false; then :
17978   $as_echo_n "(cached) " >&6
17979 else
17980   ac_cv_prog_cc_c89=no
17981 ac_save_CC=$CC
17982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17983 /* end confdefs.h.  */
17984 #include <stdarg.h>
17985 #include <stdio.h>
17986 #include <sys/types.h>
17987 #include <sys/stat.h>
17988 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
17989 struct buf { int x; };
17990 FILE * (*rcsopen) (struct buf *, struct stat *, int);
17991 static char *e (p, i)
17992      char **p;
17993      int i;
17994 {
17995   return p[i];
17996 }
17997 static char *f (char * (*g) (char **, int), char **p, ...)
17998 {
17999   char *s;
18000   va_list v;
18001   va_start (v,p);
18002   s = g (p, va_arg (v,int));
18003   va_end (v);
18004   return s;
18005 }
18006
18007 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
18008    function prototypes and stuff, but not '\xHH' hex character constants.
18009    These don't provoke an error unfortunately, instead are silently treated
18010    as 'x'.  The following induces an error, until -std is added to get
18011    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
18012    array size at least.  It's necessary to write '\x00'==0 to get something
18013    that's true only with -std.  */
18014 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
18015
18016 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
18017    inside strings and character constants.  */
18018 #define FOO(x) 'x'
18019 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
18020
18021 int test (int i, double x);
18022 struct s1 {int (*f) (int a);};
18023 struct s2 {int (*f) (double a);};
18024 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
18025 int argc;
18026 char **argv;
18027 int
18028 main ()
18029 {
18030 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
18031   ;
18032   return 0;
18033 }
18034 _ACEOF
18035 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
18036         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
18037 do
18038   CC="$ac_save_CC $ac_arg"
18039   if ac_fn_c_try_compile "$LINENO"; then :
18040   ac_cv_prog_cc_c89=$ac_arg
18041 fi
18042 rm -f core conftest.err conftest.$ac_objext
18043   test "x$ac_cv_prog_cc_c89" != "xno" && break
18044 done
18045 rm -f conftest.$ac_ext
18046 CC=$ac_save_CC
18047
18048 fi
18049 # AC_CACHE_VAL
18050 case "x$ac_cv_prog_cc_c89" in
18051   x)
18052     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
18053 $as_echo "none needed" >&6; } ;;
18054   xno)
18055     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
18056 $as_echo "unsupported" >&6; } ;;
18057   *)
18058     CC="$CC $ac_cv_prog_cc_c89"
18059     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
18060 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
18061 esac
18062 if test "x$ac_cv_prog_cc_c89" != xno; then :
18063   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
18064 else
18065   ac_cv_prog_cc_stdc=no
18066 fi
18067
18068 fi
18069  ;;
18070 esac
18071   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
18072 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
18073   if ${ac_cv_prog_cc_stdc+:} false; then :
18074   $as_echo_n "(cached) " >&6
18075 fi
18076
18077   case $ac_cv_prog_cc_stdc in #(
18078   no) :
18079     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
18080 $as_echo "unsupported" >&6; } ;; #(
18081   '') :
18082     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
18083 $as_echo "none needed" >&6; } ;; #(
18084   *) :
18085     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
18086 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
18087 esac
18088
18089
18090 ac_ext=cpp
18091 ac_cpp='$CXXCPP $CPPFLAGS'
18092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18095 if test -z "$CXX"; then
18096   if test -n "$CCC"; then
18097     CXX=$CCC
18098   else
18099     if test -n "$ac_tool_prefix"; then
18100   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18101   do
18102     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18103 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
18104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18105 $as_echo_n "checking for $ac_word... " >&6; }
18106 if ${ac_cv_prog_CXX+:} false; then :
18107   $as_echo_n "(cached) " >&6
18108 else
18109   if test -n "$CXX"; then
18110   ac_cv_prog_CXX="$CXX" # Let the user override the test.
18111 else
18112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18113 for as_dir in $PATH
18114 do
18115   IFS=$as_save_IFS
18116   test -z "$as_dir" && as_dir=.
18117     for ac_exec_ext in '' $ac_executable_extensions; do
18118   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18119     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
18120     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18121     break 2
18122   fi
18123 done
18124   done
18125 IFS=$as_save_IFS
18126
18127 fi
18128 fi
18129 CXX=$ac_cv_prog_CXX
18130 if test -n "$CXX"; then
18131   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
18132 $as_echo "$CXX" >&6; }
18133 else
18134   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18135 $as_echo "no" >&6; }
18136 fi
18137
18138
18139     test -n "$CXX" && break
18140   done
18141 fi
18142 if test -z "$CXX"; then
18143   ac_ct_CXX=$CXX
18144   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18145 do
18146   # Extract the first word of "$ac_prog", so it can be a program name with args.
18147 set dummy $ac_prog; ac_word=$2
18148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18149 $as_echo_n "checking for $ac_word... " >&6; }
18150 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
18151   $as_echo_n "(cached) " >&6
18152 else
18153   if test -n "$ac_ct_CXX"; then
18154   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
18155 else
18156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18157 for as_dir in $PATH
18158 do
18159   IFS=$as_save_IFS
18160   test -z "$as_dir" && as_dir=.
18161     for ac_exec_ext in '' $ac_executable_extensions; do
18162   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18163     ac_cv_prog_ac_ct_CXX="$ac_prog"
18164     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18165     break 2
18166   fi
18167 done
18168   done
18169 IFS=$as_save_IFS
18170
18171 fi
18172 fi
18173 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
18174 if test -n "$ac_ct_CXX"; then
18175   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
18176 $as_echo "$ac_ct_CXX" >&6; }
18177 else
18178   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18179 $as_echo "no" >&6; }
18180 fi
18181
18182
18183   test -n "$ac_ct_CXX" && break
18184 done
18185
18186   if test "x$ac_ct_CXX" = x; then
18187     CXX="g++"
18188   else
18189     case $cross_compiling:$ac_tool_warned in
18190 yes:)
18191 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18192 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18193 ac_tool_warned=yes ;;
18194 esac
18195     CXX=$ac_ct_CXX
18196   fi
18197 fi
18198
18199   fi
18200 fi
18201 # Provide some information about the compiler.
18202 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
18203 set X $ac_compile
18204 ac_compiler=$2
18205 for ac_option in --version -v -V -qversion; do
18206   { { ac_try="$ac_compiler $ac_option >&5"
18207 case "(($ac_try" in
18208   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18209   *) ac_try_echo=$ac_try;;
18210 esac
18211 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
18212 $as_echo "$ac_try_echo"; } >&5
18213   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
18214   ac_status=$?
18215   if test -s conftest.err; then
18216     sed '10a\
18217 ... rest of stderr output deleted ...
18218          10q' conftest.err >conftest.er1
18219     cat conftest.er1 >&5
18220   fi
18221   rm -f conftest.er1 conftest.err
18222   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18223   test $ac_status = 0; }
18224 done
18225
18226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
18227 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
18228 if ${ac_cv_cxx_compiler_gnu+:} false; then :
18229   $as_echo_n "(cached) " >&6
18230 else
18231   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18232 /* end confdefs.h.  */
18233
18234 int
18235 main ()
18236 {
18237 #ifndef __GNUC__
18238        choke me
18239 #endif
18240
18241   ;
18242   return 0;
18243 }
18244 _ACEOF
18245 if ac_fn_cxx_try_compile "$LINENO"; then :
18246   ac_compiler_gnu=yes
18247 else
18248   ac_compiler_gnu=no
18249 fi
18250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18251 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
18252
18253 fi
18254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
18255 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
18256 if test $ac_compiler_gnu = yes; then
18257   GXX=yes
18258 else
18259   GXX=
18260 fi
18261 ac_test_CXXFLAGS=${CXXFLAGS+set}
18262 ac_save_CXXFLAGS=$CXXFLAGS
18263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
18264 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
18265 if ${ac_cv_prog_cxx_g+:} false; then :
18266   $as_echo_n "(cached) " >&6
18267 else
18268   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
18269    ac_cxx_werror_flag=yes
18270    ac_cv_prog_cxx_g=no
18271    CXXFLAGS="-g"
18272    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18273 /* end confdefs.h.  */
18274
18275 int
18276 main ()
18277 {
18278
18279   ;
18280   return 0;
18281 }
18282 _ACEOF
18283 if ac_fn_cxx_try_compile "$LINENO"; then :
18284   ac_cv_prog_cxx_g=yes
18285 else
18286   CXXFLAGS=""
18287       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18288 /* end confdefs.h.  */
18289
18290 int
18291 main ()
18292 {
18293
18294   ;
18295   return 0;
18296 }
18297 _ACEOF
18298 if ac_fn_cxx_try_compile "$LINENO"; then :
18299
18300 else
18301   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18302          CXXFLAGS="-g"
18303          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18304 /* end confdefs.h.  */
18305
18306 int
18307 main ()
18308 {
18309
18310   ;
18311   return 0;
18312 }
18313 _ACEOF
18314 if ac_fn_cxx_try_compile "$LINENO"; then :
18315   ac_cv_prog_cxx_g=yes
18316 fi
18317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18318 fi
18319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18320 fi
18321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18322    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18323 fi
18324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
18325 $as_echo "$ac_cv_prog_cxx_g" >&6; }
18326 if test "$ac_test_CXXFLAGS" = set; then
18327   CXXFLAGS=$ac_save_CXXFLAGS
18328 elif test $ac_cv_prog_cxx_g = yes; then
18329   if test "$GXX" = yes; then
18330     CXXFLAGS="-g -O2"
18331   else
18332     CXXFLAGS="-g"
18333   fi
18334 else
18335   if test "$GXX" = yes; then
18336     CXXFLAGS="-O2"
18337   else
18338     CXXFLAGS=
18339   fi
18340 fi
18341 ac_ext=c
18342 ac_cpp='$CPP $CPPFLAGS'
18343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18346
18347 depcc="$CXX"  am_compiler_list=
18348
18349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
18350 $as_echo_n "checking dependency style of $depcc... " >&6; }
18351 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
18352   $as_echo_n "(cached) " >&6
18353 else
18354   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
18355   # We make a subdir and do the tests there.  Otherwise we can end up
18356   # making bogus files that we don't know about and never remove.  For
18357   # instance it was reported that on HP-UX the gcc test will end up
18358   # making a dummy file named `D' -- because `-MD' means `put the output
18359   # in D'.
18360   rm -rf conftest.dir
18361   mkdir conftest.dir
18362   # Copy depcomp to subdir because otherwise we won't find it if we're
18363   # using a relative directory.
18364   cp "$am_depcomp" conftest.dir
18365   cd conftest.dir
18366   # We will build objects and dependencies in a subdirectory because
18367   # it helps to detect inapplicable dependency modes.  For instance
18368   # both Tru64's cc and ICC support -MD to output dependencies as a
18369   # side effect of compilation, but ICC will put the dependencies in
18370   # the current directory while Tru64 will put them in the object
18371   # directory.
18372   mkdir sub
18373
18374   am_cv_CXX_dependencies_compiler_type=none
18375   if test "$am_compiler_list" = ""; then
18376      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
18377   fi
18378   am__universal=false
18379   case " $depcc " in #(
18380      *\ -arch\ *\ -arch\ *) am__universal=true ;;
18381      esac
18382
18383   for depmode in $am_compiler_list; do
18384     # Setup a source with many dependencies, because some compilers
18385     # like to wrap large dependency lists on column 80 (with \), and
18386     # we should not choose a depcomp mode which is confused by this.
18387     #
18388     # We need to recreate these files for each test, as the compiler may
18389     # overwrite some of them when testing with obscure command lines.
18390     # This happens at least with the AIX C compiler.
18391     : > sub/conftest.c
18392     for i in 1 2 3 4 5 6; do
18393       echo '#include "conftst'$i'.h"' >> sub/conftest.c
18394       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
18395       # Solaris 8's {/usr,}/bin/sh.
18396       touch sub/conftst$i.h
18397     done
18398     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
18399
18400     # We check with `-c' and `-o' for the sake of the "dashmstdout"
18401     # mode.  It turns out that the SunPro C++ compiler does not properly
18402     # handle `-M -o', and we need to detect this.  Also, some Intel
18403     # versions had trouble with output in subdirs
18404     am__obj=sub/conftest.${OBJEXT-o}
18405     am__minus_obj="-o $am__obj"
18406     case $depmode in
18407     gcc)
18408       # This depmode causes a compiler race in universal mode.
18409       test "$am__universal" = false || continue
18410       ;;
18411     nosideeffect)
18412       # after this tag, mechanisms are not by side-effect, so they'll
18413       # only be used when explicitly requested
18414       if test "x$enable_dependency_tracking" = xyes; then
18415         continue
18416       else
18417         break
18418       fi
18419       ;;
18420     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
18421       # This compiler won't grok `-c -o', but also, the minuso test has
18422       # not run yet.  These depmodes are late enough in the game, and
18423       # so weak that their functioning should not be impacted.
18424       am__obj=conftest.${OBJEXT-o}
18425       am__minus_obj=
18426       ;;
18427     none) break ;;
18428     esac
18429     if depmode=$depmode \
18430        source=sub/conftest.c object=$am__obj \
18431        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
18432        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
18433          >/dev/null 2>conftest.err &&
18434        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
18435        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
18436        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
18437        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
18438       # icc doesn't choke on unknown options, it will just issue warnings
18439       # or remarks (even with -Werror).  So we grep stderr for any message
18440       # that says an option was ignored or not supported.
18441       # When given -MP, icc 7.0 and 7.1 complain thusly:
18442       #   icc: Command line warning: ignoring option '-M'; no argument required
18443       # The diagnosis changed in icc 8.0:
18444       #   icc: Command line remark: option '-MP' not supported
18445       if (grep 'ignoring option' conftest.err ||
18446           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
18447         am_cv_CXX_dependencies_compiler_type=$depmode
18448         break
18449       fi
18450     fi
18451   done
18452
18453   cd ..
18454   rm -rf conftest.dir
18455 else
18456   am_cv_CXX_dependencies_compiler_type=none
18457 fi
18458
18459 fi
18460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
18461 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
18462 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
18463
18464  if
18465   test "x$enable_dependency_tracking" != xno \
18466   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
18467   am__fastdepCXX_TRUE=
18468   am__fastdepCXX_FALSE='#'
18469 else
18470   am__fastdepCXX_TRUE='#'
18471   am__fastdepCXX_FALSE=
18472 fi
18473
18474
18475
18476
18477 func_stripname_cnf ()
18478 {
18479   case ${2} in
18480   .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
18481   *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
18482   esac
18483 } # func_stripname_cnf
18484
18485       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
18486     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
18487     (test "X$CXX" != "Xg++"))) ; then
18488   ac_ext=cpp
18489 ac_cpp='$CXXCPP $CPPFLAGS'
18490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
18494 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
18495 if test -z "$CXXCPP"; then
18496   if ${ac_cv_prog_CXXCPP+:} false; then :
18497   $as_echo_n "(cached) " >&6
18498 else
18499       # Double quotes because CXXCPP needs to be expanded
18500     for CXXCPP in "$CXX -E" "/lib/cpp"
18501     do
18502       ac_preproc_ok=false
18503 for ac_cxx_preproc_warn_flag in '' yes
18504 do
18505   # Use a header file that comes with gcc, so configuring glibc
18506   # with a fresh cross-compiler works.
18507   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18508   # <limits.h> exists even on freestanding compilers.
18509   # On the NeXT, cc -E runs the code through the compiler's parser,
18510   # not just through cpp. "Syntax error" is here to catch this case.
18511   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18512 /* end confdefs.h.  */
18513 #ifdef __STDC__
18514 # include <limits.h>
18515 #else
18516 # include <assert.h>
18517 #endif
18518                      Syntax error
18519 _ACEOF
18520 if ac_fn_cxx_try_cpp "$LINENO"; then :
18521
18522 else
18523   # Broken: fails on valid input.
18524 continue
18525 fi
18526 rm -f conftest.err conftest.i conftest.$ac_ext
18527
18528   # OK, works on sane cases.  Now check whether nonexistent headers
18529   # can be detected and how.
18530   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18531 /* end confdefs.h.  */
18532 #include <ac_nonexistent.h>
18533 _ACEOF
18534 if ac_fn_cxx_try_cpp "$LINENO"; then :
18535   # Broken: success on invalid input.
18536 continue
18537 else
18538   # Passes both tests.
18539 ac_preproc_ok=:
18540 break
18541 fi
18542 rm -f conftest.err conftest.i conftest.$ac_ext
18543
18544 done
18545 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18546 rm -f conftest.i conftest.err conftest.$ac_ext
18547 if $ac_preproc_ok; then :
18548   break
18549 fi
18550
18551     done
18552     ac_cv_prog_CXXCPP=$CXXCPP
18553
18554 fi
18555   CXXCPP=$ac_cv_prog_CXXCPP
18556 else
18557   ac_cv_prog_CXXCPP=$CXXCPP
18558 fi
18559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
18560 $as_echo "$CXXCPP" >&6; }
18561 ac_preproc_ok=false
18562 for ac_cxx_preproc_warn_flag in '' yes
18563 do
18564   # Use a header file that comes with gcc, so configuring glibc
18565   # with a fresh cross-compiler works.
18566   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18567   # <limits.h> exists even on freestanding compilers.
18568   # On the NeXT, cc -E runs the code through the compiler's parser,
18569   # not just through cpp. "Syntax error" is here to catch this case.
18570   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18571 /* end confdefs.h.  */
18572 #ifdef __STDC__
18573 # include <limits.h>
18574 #else
18575 # include <assert.h>
18576 #endif
18577                      Syntax error
18578 _ACEOF
18579 if ac_fn_cxx_try_cpp "$LINENO"; then :
18580
18581 else
18582   # Broken: fails on valid input.
18583 continue
18584 fi
18585 rm -f conftest.err conftest.i conftest.$ac_ext
18586
18587   # OK, works on sane cases.  Now check whether nonexistent headers
18588   # can be detected and how.
18589   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18590 /* end confdefs.h.  */
18591 #include <ac_nonexistent.h>
18592 _ACEOF
18593 if ac_fn_cxx_try_cpp "$LINENO"; then :
18594   # Broken: success on invalid input.
18595 continue
18596 else
18597   # Passes both tests.
18598 ac_preproc_ok=:
18599 break
18600 fi
18601 rm -f conftest.err conftest.i conftest.$ac_ext
18602
18603 done
18604 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18605 rm -f conftest.i conftest.err conftest.$ac_ext
18606 if $ac_preproc_ok; then :
18607
18608 else
18609   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18610 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18611 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
18612 See \`config.log' for more details" "$LINENO" 5; }
18613 fi
18614
18615 ac_ext=c
18616 ac_cpp='$CPP $CPPFLAGS'
18617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18620
18621 else
18622   _lt_caught_CXX_error=yes
18623 fi
18624
18625 ac_ext=cpp
18626 ac_cpp='$CXXCPP $CPPFLAGS'
18627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18630
18631 archive_cmds_need_lc_CXX=no
18632 allow_undefined_flag_CXX=
18633 always_export_symbols_CXX=no
18634 archive_expsym_cmds_CXX=
18635 compiler_needs_object_CXX=no
18636 export_dynamic_flag_spec_CXX=
18637 hardcode_direct_CXX=no
18638 hardcode_direct_absolute_CXX=no
18639 hardcode_libdir_flag_spec_CXX=
18640 hardcode_libdir_separator_CXX=
18641 hardcode_minus_L_CXX=no
18642 hardcode_shlibpath_var_CXX=unsupported
18643 hardcode_automatic_CXX=no
18644 inherit_rpath_CXX=no
18645 module_cmds_CXX=
18646 module_expsym_cmds_CXX=
18647 link_all_deplibs_CXX=unknown
18648 old_archive_cmds_CXX=$old_archive_cmds
18649 reload_flag_CXX=$reload_flag
18650 reload_cmds_CXX=$reload_cmds
18651 no_undefined_flag_CXX=
18652 whole_archive_flag_spec_CXX=
18653 enable_shared_with_static_runtimes_CXX=no
18654
18655 # Source file extension for C++ test sources.
18656 ac_ext=cpp
18657
18658 # Object file extension for compiled C++ test sources.
18659 objext=o
18660 objext_CXX=$objext
18661
18662 # No sense in running all these tests if we already determined that
18663 # the CXX compiler isn't working.  Some variables (like enable_shared)
18664 # are currently assumed to apply to all compilers on this platform,
18665 # and will be corrupted by setting them based on a non-working compiler.
18666 if test "$_lt_caught_CXX_error" != yes; then
18667   # Code to be used in simple compile tests
18668   lt_simple_compile_test_code="int some_variable = 0;"
18669
18670   # Code to be used in simple link tests
18671   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
18672
18673   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18674
18675
18676
18677
18678
18679
18680 # If no C compiler was specified, use CC.
18681 LTCC=${LTCC-"$CC"}
18682
18683 # If no C compiler flags were specified, use CFLAGS.
18684 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
18685
18686 # Allow CC to be a program name with arguments.
18687 compiler=$CC
18688
18689
18690   # save warnings/boilerplate of simple test code
18691   ac_outfile=conftest.$ac_objext
18692 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
18693 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18694 _lt_compiler_boilerplate=`cat conftest.err`
18695 $RM conftest*
18696
18697   ac_outfile=conftest.$ac_objext
18698 echo "$lt_simple_link_test_code" >conftest.$ac_ext
18699 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18700 _lt_linker_boilerplate=`cat conftest.err`
18701 $RM -r conftest*
18702
18703
18704   # Allow CC to be a program name with arguments.
18705   lt_save_CC=$CC
18706   lt_save_CFLAGS=$CFLAGS
18707   lt_save_LD=$LD
18708   lt_save_GCC=$GCC
18709   GCC=$GXX
18710   lt_save_with_gnu_ld=$with_gnu_ld
18711   lt_save_path_LD=$lt_cv_path_LD
18712   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
18713     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
18714   else
18715     $as_unset lt_cv_prog_gnu_ld
18716   fi
18717   if test -n "${lt_cv_path_LDCXX+set}"; then
18718     lt_cv_path_LD=$lt_cv_path_LDCXX
18719   else
18720     $as_unset lt_cv_path_LD
18721   fi
18722   test -z "${LDCXX+set}" || LD=$LDCXX
18723   CC=${CXX-"c++"}
18724   CFLAGS=$CXXFLAGS
18725   compiler=$CC
18726   compiler_CXX=$CC
18727   for cc_temp in $compiler""; do
18728   case $cc_temp in
18729     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
18730     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
18731     \-*) ;;
18732     *) break;;
18733   esac
18734 done
18735 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
18736
18737
18738   if test -n "$compiler"; then
18739     # We don't want -fno-exception when compiling C++ code, so set the
18740     # no_builtin_flag separately
18741     if test "$GXX" = yes; then
18742       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
18743     else
18744       lt_prog_compiler_no_builtin_flag_CXX=
18745     fi
18746
18747     if test "$GXX" = yes; then
18748       # Set up default GNU C++ configuration
18749
18750
18751
18752 # Check whether --with-gnu-ld was given.
18753 if test "${with_gnu_ld+set}" = set; then :
18754   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
18755 else
18756   with_gnu_ld=no
18757 fi
18758
18759 ac_prog=ld
18760 if test "$GCC" = yes; then
18761   # Check if gcc -print-prog-name=ld gives a path.
18762   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
18763 $as_echo_n "checking for ld used by $CC... " >&6; }
18764   case $host in
18765   *-*-mingw*)
18766     # gcc leaves a trailing carriage return which upsets mingw
18767     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
18768   *)
18769     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
18770   esac
18771   case $ac_prog in
18772     # Accept absolute paths.
18773     [\\/]* | ?:[\\/]*)
18774       re_direlt='/[^/][^/]*/\.\./'
18775       # Canonicalize the pathname of ld
18776       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
18777       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
18778         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
18779       done
18780       test -z "$LD" && LD="$ac_prog"
18781       ;;
18782   "")
18783     # If it fails, then pretend we aren't using GCC.
18784     ac_prog=ld
18785     ;;
18786   *)
18787     # If it is relative, then search for the first ld in PATH.
18788     with_gnu_ld=unknown
18789     ;;
18790   esac
18791 elif test "$with_gnu_ld" = yes; then
18792   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
18793 $as_echo_n "checking for GNU ld... " >&6; }
18794 else
18795   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
18796 $as_echo_n "checking for non-GNU ld... " >&6; }
18797 fi
18798 if ${lt_cv_path_LD+:} false; then :
18799   $as_echo_n "(cached) " >&6
18800 else
18801   if test -z "$LD"; then
18802   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
18803   for ac_dir in $PATH; do
18804     IFS="$lt_save_ifs"
18805     test -z "$ac_dir" && ac_dir=.
18806     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
18807       lt_cv_path_LD="$ac_dir/$ac_prog"
18808       # Check to see if the program is GNU ld.  I'd rather use --version,
18809       # but apparently some variants of GNU ld only accept -v.
18810       # Break only if it was the GNU/non-GNU ld that we prefer.
18811       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
18812       *GNU* | *'with BFD'*)
18813         test "$with_gnu_ld" != no && break
18814         ;;
18815       *)
18816         test "$with_gnu_ld" != yes && break
18817         ;;
18818       esac
18819     fi
18820   done
18821   IFS="$lt_save_ifs"
18822 else
18823   lt_cv_path_LD="$LD" # Let the user override the test with a path.
18824 fi
18825 fi
18826
18827 LD="$lt_cv_path_LD"
18828 if test -n "$LD"; then
18829   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
18830 $as_echo "$LD" >&6; }
18831 else
18832   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18833 $as_echo "no" >&6; }
18834 fi
18835 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
18836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
18837 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
18838 if ${lt_cv_prog_gnu_ld+:} false; then :
18839   $as_echo_n "(cached) " >&6
18840 else
18841   # I'd rather use --version here, but apparently some GNU lds only accept -v.
18842 case `$LD -v 2>&1 </dev/null` in
18843 *GNU* | *'with BFD'*)
18844   lt_cv_prog_gnu_ld=yes
18845   ;;
18846 *)
18847   lt_cv_prog_gnu_ld=no
18848   ;;
18849 esac
18850 fi
18851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
18852 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
18853 with_gnu_ld=$lt_cv_prog_gnu_ld
18854
18855
18856
18857
18858
18859
18860
18861       # Check if GNU C++ uses GNU ld as the underlying linker, since the
18862       # archiving commands below assume that GNU ld is being used.
18863       if test "$with_gnu_ld" = yes; then
18864         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18865         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'
18866
18867         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
18868         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18869
18870         # If archive_cmds runs LD, not CC, wlarc should be empty
18871         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
18872         #     investigate it a little bit more. (MM)
18873         wlarc='${wl}'
18874
18875         # ancient GNU ld didn't support --whole-archive et. al.
18876         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
18877           $GREP 'no-whole-archive' > /dev/null; then
18878           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18879         else
18880           whole_archive_flag_spec_CXX=
18881         fi
18882       else
18883         with_gnu_ld=no
18884         wlarc=
18885
18886         # A generic and very simple default shared library creation
18887         # command for GNU C++ for the case where it uses the native
18888         # linker, instead of GNU ld.  If possible, this setting should
18889         # overridden to take advantage of the native linker features on
18890         # the platform it is being used on.
18891         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
18892       fi
18893
18894       # Commands to make compiler produce verbose output that lists
18895       # what "hidden" libraries, object files and flags are used when
18896       # linking a shared library.
18897       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
18898
18899     else
18900       GXX=no
18901       with_gnu_ld=no
18902       wlarc=
18903     fi
18904
18905     # PORTME: fill in a description of your system's C++ link characteristics
18906     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
18907 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
18908     ld_shlibs_CXX=yes
18909     case $host_os in
18910       aix3*)
18911         # FIXME: insert proper C++ library support
18912         ld_shlibs_CXX=no
18913         ;;
18914       aix[4-9]*)
18915         if test "$host_cpu" = ia64; then
18916           # On IA64, the linker does run time linking by default, so we don't
18917           # have to do anything special.
18918           aix_use_runtimelinking=no
18919           exp_sym_flag='-Bexport'
18920           no_entry_flag=""
18921         else
18922           aix_use_runtimelinking=no
18923
18924           # Test if we are trying to use run time linking or normal
18925           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
18926           # need to do runtime linking.
18927           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
18928             for ld_flag in $LDFLAGS; do
18929               case $ld_flag in
18930               *-brtl*)
18931                 aix_use_runtimelinking=yes
18932                 break
18933                 ;;
18934               esac
18935             done
18936             ;;
18937           esac
18938
18939           exp_sym_flag='-bexport'
18940           no_entry_flag='-bnoentry'
18941         fi
18942
18943         # When large executables or shared objects are built, AIX ld can
18944         # have problems creating the table of contents.  If linking a library
18945         # or program results in "error TOC overflow" add -mminimal-toc to
18946         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
18947         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
18948
18949         archive_cmds_CXX=''
18950         hardcode_direct_CXX=yes
18951         hardcode_direct_absolute_CXX=yes
18952         hardcode_libdir_separator_CXX=':'
18953         link_all_deplibs_CXX=yes
18954         file_list_spec_CXX='${wl}-f,'
18955
18956         if test "$GXX" = yes; then
18957           case $host_os in aix4.[012]|aix4.[012].*)
18958           # We only want to do this on AIX 4.2 and lower, the check
18959           # below for broken collect2 doesn't work under 4.3+
18960           collect2name=`${CC} -print-prog-name=collect2`
18961           if test -f "$collect2name" &&
18962              strings "$collect2name" | $GREP resolve_lib_name >/dev/null
18963           then
18964             # We have reworked collect2
18965             :
18966           else
18967             # We have old collect2
18968             hardcode_direct_CXX=unsupported
18969             # It fails to find uninstalled libraries when the uninstalled
18970             # path is not listed in the libpath.  Setting hardcode_minus_L
18971             # to unsupported forces relinking
18972             hardcode_minus_L_CXX=yes
18973             hardcode_libdir_flag_spec_CXX='-L$libdir'
18974             hardcode_libdir_separator_CXX=
18975           fi
18976           esac
18977           shared_flag='-shared'
18978           if test "$aix_use_runtimelinking" = yes; then
18979             shared_flag="$shared_flag "'${wl}-G'
18980           fi
18981         else
18982           # not using gcc
18983           if test "$host_cpu" = ia64; then
18984           # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
18985           # chokes on -Wl,-G. The following line is correct:
18986           shared_flag='-G'
18987           else
18988             if test "$aix_use_runtimelinking" = yes; then
18989               shared_flag='${wl}-G'
18990             else
18991               shared_flag='${wl}-bM:SRE'
18992             fi
18993           fi
18994         fi
18995
18996         export_dynamic_flag_spec_CXX='${wl}-bexpall'
18997         # It seems that -bexpall does not export symbols beginning with
18998         # underscore (_), so it is better to generate a list of symbols to
18999         # export.
19000         always_export_symbols_CXX=yes
19001         if test "$aix_use_runtimelinking" = yes; then
19002           # Warning - without using the other runtime loading flags (-brtl),
19003           # -berok will link without error, but may produce a broken library.
19004           allow_undefined_flag_CXX='-berok'
19005           # Determine the default libpath from the value encoded in an empty
19006           # executable.
19007           if test "${lt_cv_aix_libpath+set}" = set; then
19008   aix_libpath=$lt_cv_aix_libpath
19009 else
19010   if ${lt_cv_aix_libpath__CXX+:} false; then :
19011   $as_echo_n "(cached) " >&6
19012 else
19013   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19014 /* end confdefs.h.  */
19015
19016 int
19017 main ()
19018 {
19019
19020   ;
19021   return 0;
19022 }
19023 _ACEOF
19024 if ac_fn_cxx_try_link "$LINENO"; then :
19025
19026   lt_aix_libpath_sed='
19027       /Import File Strings/,/^$/ {
19028           /^0/ {
19029               s/^0  *\([^ ]*\) *$/\1/
19030               p
19031           }
19032       }'
19033   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
19034   # Check for a 64-bit object if we didn't find anything.
19035   if test -z "$lt_cv_aix_libpath__CXX"; then
19036     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
19037   fi
19038 fi
19039 rm -f core conftest.err conftest.$ac_objext \
19040     conftest$ac_exeext conftest.$ac_ext
19041   if test -z "$lt_cv_aix_libpath__CXX"; then
19042     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
19043   fi
19044
19045 fi
19046
19047   aix_libpath=$lt_cv_aix_libpath__CXX
19048 fi
19049
19050           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
19051
19052           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"
19053         else
19054           if test "$host_cpu" = ia64; then
19055             hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
19056             allow_undefined_flag_CXX="-z nodefs"
19057             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"
19058           else
19059             # Determine the default libpath from the value encoded in an
19060             # empty executable.
19061             if test "${lt_cv_aix_libpath+set}" = set; then
19062   aix_libpath=$lt_cv_aix_libpath
19063 else
19064   if ${lt_cv_aix_libpath__CXX+:} false; then :
19065   $as_echo_n "(cached) " >&6
19066 else
19067   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19068 /* end confdefs.h.  */
19069
19070 int
19071 main ()
19072 {
19073
19074   ;
19075   return 0;
19076 }
19077 _ACEOF
19078 if ac_fn_cxx_try_link "$LINENO"; then :
19079
19080   lt_aix_libpath_sed='
19081       /Import File Strings/,/^$/ {
19082           /^0/ {
19083               s/^0  *\([^ ]*\) *$/\1/
19084               p
19085           }
19086       }'
19087   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
19088   # Check for a 64-bit object if we didn't find anything.
19089   if test -z "$lt_cv_aix_libpath__CXX"; then
19090     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
19091   fi
19092 fi
19093 rm -f core conftest.err conftest.$ac_objext \
19094     conftest$ac_exeext conftest.$ac_ext
19095   if test -z "$lt_cv_aix_libpath__CXX"; then
19096     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
19097   fi
19098
19099 fi
19100
19101   aix_libpath=$lt_cv_aix_libpath__CXX
19102 fi
19103
19104             hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
19105             # Warning - without using the other run time loading flags,
19106             # -berok will link without error, but may produce a broken library.
19107             no_undefined_flag_CXX=' ${wl}-bernotok'
19108             allow_undefined_flag_CXX=' ${wl}-berok'
19109             if test "$with_gnu_ld" = yes; then
19110               # We only use this code for GNU lds that support --whole-archive.
19111               whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
19112             else
19113               # Exported symbols can be pulled into shared objects from archives
19114               whole_archive_flag_spec_CXX='$convenience'
19115             fi
19116             archive_cmds_need_lc_CXX=yes
19117             # This is similar to how AIX traditionally builds its shared
19118             # libraries.
19119             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'
19120           fi
19121         fi
19122         ;;
19123
19124       beos*)
19125         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
19126           allow_undefined_flag_CXX=unsupported
19127           # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
19128           # support --undefined.  This deserves some investigation.  FIXME
19129           archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19130         else
19131           ld_shlibs_CXX=no
19132         fi
19133         ;;
19134
19135       chorus*)
19136         case $cc_basename in
19137           *)
19138           # FIXME: insert proper C++ library support
19139           ld_shlibs_CXX=no
19140           ;;
19141         esac
19142         ;;
19143
19144       cygwin* | mingw* | pw32* | cegcc*)
19145         case $GXX,$cc_basename in
19146         ,cl* | no,cl*)
19147           # Native MSVC
19148           # hardcode_libdir_flag_spec is actually meaningless, as there is
19149           # no search path for DLLs.
19150           hardcode_libdir_flag_spec_CXX=' '
19151           allow_undefined_flag_CXX=unsupported
19152           always_export_symbols_CXX=yes
19153           file_list_spec_CXX='@'
19154           # Tell ltmain to make .lib files, not .a files.
19155           libext=lib
19156           # Tell ltmain to make .dll files, not .so files.
19157           shrext_cmds=".dll"
19158           # FIXME: Setting linknames here is a bad hack.
19159           archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
19160           archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
19161               $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
19162             else
19163               $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
19164             fi~
19165             $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
19166             linknames='
19167           # The linker will not automatically build a static lib if we build a DLL.
19168           # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
19169           enable_shared_with_static_runtimes_CXX=yes
19170           # Don't use ranlib
19171           old_postinstall_cmds_CXX='chmod 644 $oldlib'
19172           postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
19173             lt_tool_outputfile="@TOOL_OUTPUT@"~
19174             case $lt_outputfile in
19175               *.exe|*.EXE) ;;
19176               *)
19177                 lt_outputfile="$lt_outputfile.exe"
19178                 lt_tool_outputfile="$lt_tool_outputfile.exe"
19179                 ;;
19180             esac~
19181             func_to_tool_file "$lt_outputfile"~
19182             if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
19183               $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
19184               $RM "$lt_outputfile.manifest";
19185             fi'
19186           ;;
19187         *)
19188           # g++
19189           # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
19190           # as there is no search path for DLLs.
19191           hardcode_libdir_flag_spec_CXX='-L$libdir'
19192           export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
19193           allow_undefined_flag_CXX=unsupported
19194           always_export_symbols_CXX=no
19195           enable_shared_with_static_runtimes_CXX=yes
19196
19197           if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
19198             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'
19199             # If the export-symbols file already is a .def file (1st line
19200             # is EXPORTS), use it as is; otherwise, prepend...
19201             archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
19202               cp $export_symbols $output_objdir/$soname.def;
19203             else
19204               echo EXPORTS > $output_objdir/$soname.def;
19205               cat $export_symbols >> $output_objdir/$soname.def;
19206             fi~
19207             $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'
19208           else
19209             ld_shlibs_CXX=no
19210           fi
19211           ;;
19212         esac
19213         ;;
19214       darwin* | rhapsody*)
19215
19216
19217   archive_cmds_need_lc_CXX=no
19218   hardcode_direct_CXX=no
19219   hardcode_automatic_CXX=yes
19220   hardcode_shlibpath_var_CXX=unsupported
19221   if test "$lt_cv_ld_force_load" = "yes"; then
19222     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\"`'
19223
19224   else
19225     whole_archive_flag_spec_CXX=''
19226   fi
19227   link_all_deplibs_CXX=yes
19228   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
19229   case $cc_basename in
19230      ifort*) _lt_dar_can_shared=yes ;;
19231      *) _lt_dar_can_shared=$GCC ;;
19232   esac
19233   if test "$_lt_dar_can_shared" = "yes"; then
19234     output_verbose_link_cmd=func_echo_all
19235     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}"
19236     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
19237     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}"
19238     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}"
19239        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
19240       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}"
19241       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}"
19242     fi
19243
19244   else
19245   ld_shlibs_CXX=no
19246   fi
19247
19248         ;;
19249
19250       dgux*)
19251         case $cc_basename in
19252           ec++*)
19253             # FIXME: insert proper C++ library support
19254             ld_shlibs_CXX=no
19255             ;;
19256           ghcx*)
19257             # Green Hills C++ Compiler
19258             # FIXME: insert proper C++ library support
19259             ld_shlibs_CXX=no
19260             ;;
19261           *)
19262             # FIXME: insert proper C++ library support
19263             ld_shlibs_CXX=no
19264             ;;
19265         esac
19266         ;;
19267
19268       freebsd2.*)
19269         # C++ shared libraries reported to be fairly broken before
19270         # switch to ELF
19271         ld_shlibs_CXX=no
19272         ;;
19273
19274       freebsd-elf*)
19275         archive_cmds_need_lc_CXX=no
19276         ;;
19277
19278       freebsd* | dragonfly*)
19279         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
19280         # conventions
19281         ld_shlibs_CXX=yes
19282         ;;
19283
19284       gnu*)
19285         ;;
19286
19287       haiku*)
19288         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19289         link_all_deplibs_CXX=yes
19290         ;;
19291
19292       hpux9*)
19293         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
19294         hardcode_libdir_separator_CXX=:
19295         export_dynamic_flag_spec_CXX='${wl}-E'
19296         hardcode_direct_CXX=yes
19297         hardcode_minus_L_CXX=yes # Not in the search PATH,
19298                                              # but as the default
19299                                              # location of the library.
19300
19301         case $cc_basename in
19302           CC*)
19303             # FIXME: insert proper C++ library support
19304             ld_shlibs_CXX=no
19305             ;;
19306           aCC*)
19307             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'
19308             # Commands to make compiler produce verbose output that lists
19309             # what "hidden" libraries, object files and flags are used when
19310             # linking a shared library.
19311             #
19312             # There doesn't appear to be a way to prevent this compiler from
19313             # explicitly linking system object files so we need to strip them
19314             # from the output so that they don't get included in the library
19315             # dependencies.
19316             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"'
19317             ;;
19318           *)
19319             if test "$GXX" = yes; then
19320               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'
19321             else
19322               # FIXME: insert proper C++ library support
19323               ld_shlibs_CXX=no
19324             fi
19325             ;;
19326         esac
19327         ;;
19328
19329       hpux10*|hpux11*)
19330         if test $with_gnu_ld = no; then
19331           hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
19332           hardcode_libdir_separator_CXX=:
19333
19334           case $host_cpu in
19335             hppa*64*|ia64*)
19336               ;;
19337             *)
19338               export_dynamic_flag_spec_CXX='${wl}-E'
19339               ;;
19340           esac
19341         fi
19342         case $host_cpu in
19343           hppa*64*|ia64*)
19344             hardcode_direct_CXX=no
19345             hardcode_shlibpath_var_CXX=no
19346             ;;
19347           *)
19348             hardcode_direct_CXX=yes
19349             hardcode_direct_absolute_CXX=yes
19350             hardcode_minus_L_CXX=yes # Not in the search PATH,
19351                                                  # but as the default
19352                                                  # location of the library.
19353             ;;
19354         esac
19355
19356         case $cc_basename in
19357           CC*)
19358             # FIXME: insert proper C++ library support
19359             ld_shlibs_CXX=no
19360             ;;
19361           aCC*)
19362             case $host_cpu in
19363               hppa*64*)
19364                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19365                 ;;
19366               ia64*)
19367                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19368                 ;;
19369               *)
19370                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19371                 ;;
19372             esac
19373             # Commands to make compiler produce verbose output that lists
19374             # what "hidden" libraries, object files and flags are used when
19375             # linking a shared library.
19376             #
19377             # There doesn't appear to be a way to prevent this compiler from
19378             # explicitly linking system object files so we need to strip them
19379             # from the output so that they don't get included in the library
19380             # dependencies.
19381             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"'
19382             ;;
19383           *)
19384             if test "$GXX" = yes; then
19385               if test $with_gnu_ld = no; then
19386                 case $host_cpu in
19387                   hppa*64*)
19388                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19389                     ;;
19390                   ia64*)
19391                     archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19392                     ;;
19393                   *)
19394                     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'
19395                     ;;
19396                 esac
19397               fi
19398             else
19399               # FIXME: insert proper C++ library support
19400               ld_shlibs_CXX=no
19401             fi
19402             ;;
19403         esac
19404         ;;
19405
19406       interix[3-9]*)
19407         hardcode_direct_CXX=no
19408         hardcode_shlibpath_var_CXX=no
19409         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
19410         export_dynamic_flag_spec_CXX='${wl}-E'
19411         # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
19412         # Instead, shared libraries are loaded at an image base (0x10000000 by
19413         # default) and relocated if they conflict, which is a slow very memory
19414         # consuming and fragmenting process.  To avoid this, we pick a random,
19415         # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
19416         # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
19417         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'
19418         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'
19419         ;;
19420       irix5* | irix6*)
19421         case $cc_basename in
19422           CC*)
19423             # SGI C++
19424             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'
19425
19426             # Archives containing C++ object files must be created using
19427             # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
19428             # necessary to make sure instantiated templates are included
19429             # in the archive.
19430             old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
19431             ;;
19432           *)
19433             if test "$GXX" = yes; then
19434               if test "$with_gnu_ld" = no; then
19435                 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'
19436               else
19437                 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'
19438               fi
19439             fi
19440             link_all_deplibs_CXX=yes
19441             ;;
19442         esac
19443         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
19444         hardcode_libdir_separator_CXX=:
19445         inherit_rpath_CXX=yes
19446         ;;
19447
19448       linux* | k*bsd*-gnu | kopensolaris*-gnu)
19449         case $cc_basename in
19450           KCC*)
19451             # Kuck and Associates, Inc. (KAI) C++ Compiler
19452
19453             # KCC will only create a shared library if the output file
19454             # ends with ".so" (or ".sl" for HP-UX), so rename the library
19455             # to its proper name (with version) after linking.
19456             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'
19457             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'
19458             # Commands to make compiler produce verbose output that lists
19459             # what "hidden" libraries, object files and flags are used when
19460             # linking a shared library.
19461             #
19462             # There doesn't appear to be a way to prevent this compiler from
19463             # explicitly linking system object files so we need to strip them
19464             # from the output so that they don't get included in the library
19465             # dependencies.
19466             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"'
19467
19468             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
19469             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
19470
19471             # Archives containing C++ object files must be created using
19472             # "CC -Bstatic", where "CC" is the KAI C++ compiler.
19473             old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
19474             ;;
19475           icpc* | ecpc* )
19476             # Intel C++
19477             with_gnu_ld=yes
19478             # version 8.0 and above of icpc choke on multiply defined symbols
19479             # if we add $predep_objects and $postdep_objects, however 7.1 and
19480             # earlier do not add the objects themselves.
19481             case `$CC -V 2>&1` in
19482               *"Version 7."*)
19483                 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
19484                 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'
19485                 ;;
19486               *)  # Version 8.0 or newer
19487                 tmp_idyn=
19488                 case $host_cpu in
19489                   ia64*) tmp_idyn=' -i_dynamic';;
19490                 esac
19491                 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19492                 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'
19493                 ;;
19494             esac
19495             archive_cmds_need_lc_CXX=no
19496             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
19497             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
19498             whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
19499             ;;
19500           pgCC* | pgcpp*)
19501             # Portland Group C++ compiler
19502             case `$CC -V` in
19503             *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
19504               prelink_cmds_CXX='tpldir=Template.dir~
19505                 rm -rf $tpldir~
19506                 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
19507                 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
19508               old_archive_cmds_CXX='tpldir=Template.dir~
19509                 rm -rf $tpldir~
19510                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
19511                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
19512                 $RANLIB $oldlib'
19513               archive_cmds_CXX='tpldir=Template.dir~
19514                 rm -rf $tpldir~
19515                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
19516                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
19517               archive_expsym_cmds_CXX='tpldir=Template.dir~
19518                 rm -rf $tpldir~
19519                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
19520                 $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'
19521               ;;
19522             *) # Version 6 and above use weak symbols
19523               archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
19524               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'
19525               ;;
19526             esac
19527
19528             hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
19529             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
19530             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'
19531             ;;
19532           cxx*)
19533             # Compaq C++
19534             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
19535             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'
19536
19537             runpath_var=LD_RUN_PATH
19538             hardcode_libdir_flag_spec_CXX='-rpath $libdir'
19539             hardcode_libdir_separator_CXX=:
19540
19541             # Commands to make compiler produce verbose output that lists
19542             # what "hidden" libraries, object files and flags are used when
19543             # linking a shared library.
19544             #
19545             # There doesn't appear to be a way to prevent this compiler from
19546             # explicitly linking system object files so we need to strip them
19547             # from the output so that they don't get included in the library
19548             # dependencies.
19549             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'
19550             ;;
19551           xl* | mpixl* | bgxl*)
19552             # IBM XL 8.0 on PPC, with GNU ld
19553             hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
19554             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
19555             archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19556             if test "x$supports_anon_versioning" = xyes; then
19557               archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
19558                 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
19559                 echo "local: *; };" >> $output_objdir/$libname.ver~
19560                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
19561             fi
19562             ;;
19563           *)
19564             case `$CC -V 2>&1 | sed 5q` in
19565             *Sun\ C*)
19566               # Sun C++ 5.9
19567               no_undefined_flag_CXX=' -zdefs'
19568               archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19569               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'
19570               hardcode_libdir_flag_spec_CXX='-R$libdir'
19571               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'
19572               compiler_needs_object_CXX=yes
19573
19574               # Not sure whether something based on
19575               # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
19576               # would be better.
19577               output_verbose_link_cmd='func_echo_all'
19578
19579               # Archives containing C++ object files must be created using
19580               # "CC -xar", where "CC" is the Sun C++ compiler.  This is
19581               # necessary to make sure instantiated templates are included
19582               # in the archive.
19583               old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
19584               ;;
19585             esac
19586             ;;
19587         esac
19588         ;;
19589
19590       lynxos*)
19591         # FIXME: insert proper C++ library support
19592         ld_shlibs_CXX=no
19593         ;;
19594
19595       m88k*)
19596         # FIXME: insert proper C++ library support
19597         ld_shlibs_CXX=no
19598         ;;
19599
19600       mvs*)
19601         case $cc_basename in
19602           cxx*)
19603             # FIXME: insert proper C++ library support
19604             ld_shlibs_CXX=no
19605             ;;
19606           *)
19607             # FIXME: insert proper C++ library support
19608             ld_shlibs_CXX=no
19609             ;;
19610         esac
19611         ;;
19612
19613       netbsd*)
19614         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
19615           archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
19616           wlarc=
19617           hardcode_libdir_flag_spec_CXX='-R$libdir'
19618           hardcode_direct_CXX=yes
19619           hardcode_shlibpath_var_CXX=no
19620         fi
19621         # Workaround some broken pre-1.5 toolchains
19622         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
19623         ;;
19624
19625       *nto* | *qnx*)
19626         ld_shlibs_CXX=yes
19627         ;;
19628
19629       openbsd2*)
19630         # C++ shared libraries are fairly broken
19631         ld_shlibs_CXX=no
19632         ;;
19633
19634       openbsd*)
19635         if test -f /usr/libexec/ld.so; then
19636           hardcode_direct_CXX=yes
19637           hardcode_shlibpath_var_CXX=no
19638           hardcode_direct_absolute_CXX=yes
19639           archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
19640           hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
19641           if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19642             archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
19643             export_dynamic_flag_spec_CXX='${wl}-E'
19644             whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
19645           fi
19646           output_verbose_link_cmd=func_echo_all
19647         else
19648           ld_shlibs_CXX=no
19649         fi
19650         ;;
19651
19652       osf3* | osf4* | osf5*)
19653         case $cc_basename in
19654           KCC*)
19655             # Kuck and Associates, Inc. (KAI) C++ Compiler
19656
19657             # KCC will only create a shared library if the output file
19658             # ends with ".so" (or ".sl" for HP-UX), so rename the library
19659             # to its proper name (with version) after linking.
19660             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'
19661
19662             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
19663             hardcode_libdir_separator_CXX=:
19664
19665             # Archives containing C++ object files must be created using
19666             # the KAI C++ compiler.
19667             case $host in
19668               osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
19669               *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
19670             esac
19671             ;;
19672           RCC*)
19673             # Rational C++ 2.4.1
19674             # FIXME: insert proper C++ library support
19675             ld_shlibs_CXX=no
19676             ;;
19677           cxx*)
19678             case $host in
19679               osf3*)
19680                 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
19681                 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'
19682                 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
19683                 ;;
19684               *)
19685                 allow_undefined_flag_CXX=' -expect_unresolved \*'
19686                 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'
19687                 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
19688                   echo "-hidden">> $lib.exp~
19689                   $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~
19690                   $RM $lib.exp'
19691                 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
19692                 ;;
19693             esac
19694
19695             hardcode_libdir_separator_CXX=:
19696
19697             # Commands to make compiler produce verbose output that lists
19698             # what "hidden" libraries, object files and flags are used when
19699             # linking a shared library.
19700             #
19701             # There doesn't appear to be a way to prevent this compiler from
19702             # explicitly linking system object files so we need to strip them
19703             # from the output so that they don't get included in the library
19704             # dependencies.
19705             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"'
19706             ;;
19707           *)
19708             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
19709               allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
19710               case $host in
19711                 osf3*)
19712                   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'
19713                   ;;
19714                 *)
19715                   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'
19716                   ;;
19717               esac
19718
19719               hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
19720               hardcode_libdir_separator_CXX=:
19721
19722               # Commands to make compiler produce verbose output that lists
19723               # what "hidden" libraries, object files and flags are used when
19724               # linking a shared library.
19725               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
19726
19727             else
19728               # FIXME: insert proper C++ library support
19729               ld_shlibs_CXX=no
19730             fi
19731             ;;
19732         esac
19733         ;;
19734
19735       psos*)
19736         # FIXME: insert proper C++ library support
19737         ld_shlibs_CXX=no
19738         ;;
19739
19740       sunos4*)
19741         case $cc_basename in
19742           CC*)
19743             # Sun C++ 4.x
19744             # FIXME: insert proper C++ library support
19745             ld_shlibs_CXX=no
19746             ;;
19747           lcc*)
19748             # Lucid
19749             # FIXME: insert proper C++ library support
19750             ld_shlibs_CXX=no
19751             ;;
19752           *)
19753             # FIXME: insert proper C++ library support
19754             ld_shlibs_CXX=no
19755             ;;
19756         esac
19757         ;;
19758
19759       solaris*)
19760         case $cc_basename in
19761           CC* | sunCC*)
19762             # Sun C++ 4.2, 5.x and Centerline C++
19763             archive_cmds_need_lc_CXX=yes
19764             no_undefined_flag_CXX=' -zdefs'
19765             archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19766             archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
19767               $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'
19768
19769             hardcode_libdir_flag_spec_CXX='-R$libdir'
19770             hardcode_shlibpath_var_CXX=no
19771             case $host_os in
19772               solaris2.[0-5] | solaris2.[0-5].*) ;;
19773               *)
19774                 # The compiler driver will combine and reorder linker options,
19775                 # but understands `-z linker_flag'.
19776                 # Supported since Solaris 2.6 (maybe 2.5.1?)
19777                 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
19778                 ;;
19779             esac
19780             link_all_deplibs_CXX=yes
19781
19782             output_verbose_link_cmd='func_echo_all'
19783
19784             # Archives containing C++ object files must be created using
19785             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
19786             # necessary to make sure instantiated templates are included
19787             # in the archive.
19788             old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
19789             ;;
19790           gcx*)
19791             # Green Hills C++ Compiler
19792             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
19793
19794             # The C++ compiler must be used to create the archive.
19795             old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
19796             ;;
19797           *)
19798             # GNU C++ compiler with Solaris linker
19799             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
19800               no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
19801               if $CC --version | $GREP -v '^2\.7' > /dev/null; then
19802                 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
19803                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
19804                   $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
19805
19806                 # Commands to make compiler produce verbose output that lists
19807                 # what "hidden" libraries, object files and flags are used when
19808                 # linking a shared library.
19809                 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
19810               else
19811                 # g++ 2.7 appears to require `-G' NOT `-shared' on this
19812                 # platform.
19813                 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
19814                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
19815                   $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
19816
19817                 # Commands to make compiler produce verbose output that lists
19818                 # what "hidden" libraries, object files and flags are used when
19819                 # linking a shared library.
19820                 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
19821               fi
19822
19823               hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
19824               case $host_os in
19825                 solaris2.[0-5] | solaris2.[0-5].*) ;;
19826                 *)
19827                   whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
19828                   ;;
19829               esac
19830             fi
19831             ;;
19832         esac
19833         ;;
19834
19835     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
19836       no_undefined_flag_CXX='${wl}-z,text'
19837       archive_cmds_need_lc_CXX=no
19838       hardcode_shlibpath_var_CXX=no
19839       runpath_var='LD_RUN_PATH'
19840
19841       case $cc_basename in
19842         CC*)
19843           archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19844           archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19845           ;;
19846         *)
19847           archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19848           archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19849           ;;
19850       esac
19851       ;;
19852
19853       sysv5* | sco3.2v5* | sco5v6*)
19854         # Note: We can NOT use -z defs as we might desire, because we do not
19855         # link with -lc, and that would cause any symbols used from libc to
19856         # always be unresolved, which means just about no library would
19857         # ever link correctly.  If we're not using GNU ld we use -z text
19858         # though, which does catch some bad symbols but isn't as heavy-handed
19859         # as -z defs.
19860         no_undefined_flag_CXX='${wl}-z,text'
19861         allow_undefined_flag_CXX='${wl}-z,nodefs'
19862         archive_cmds_need_lc_CXX=no
19863         hardcode_shlibpath_var_CXX=no
19864         hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
19865         hardcode_libdir_separator_CXX=':'
19866         link_all_deplibs_CXX=yes
19867         export_dynamic_flag_spec_CXX='${wl}-Bexport'
19868         runpath_var='LD_RUN_PATH'
19869
19870         case $cc_basename in
19871           CC*)
19872             archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19873             archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19874             old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
19875               '"$old_archive_cmds_CXX"
19876             reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
19877               '"$reload_cmds_CXX"
19878             ;;
19879           *)
19880             archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19881             archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19882             ;;
19883         esac
19884       ;;
19885
19886       tandem*)
19887         case $cc_basename in
19888           NCC*)
19889             # NonStop-UX NCC 3.20
19890             # FIXME: insert proper C++ library support
19891             ld_shlibs_CXX=no
19892             ;;
19893           *)
19894             # FIXME: insert proper C++ library support
19895             ld_shlibs_CXX=no
19896             ;;
19897         esac
19898         ;;
19899
19900       vxworks*)
19901         # FIXME: insert proper C++ library support
19902         ld_shlibs_CXX=no
19903         ;;
19904
19905       *)
19906         # FIXME: insert proper C++ library support
19907         ld_shlibs_CXX=no
19908         ;;
19909     esac
19910
19911     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
19912 $as_echo "$ld_shlibs_CXX" >&6; }
19913     test "$ld_shlibs_CXX" = no && can_build_shared=no
19914
19915     GCC_CXX="$GXX"
19916     LD_CXX="$LD"
19917
19918     ## CAVEAT EMPTOR:
19919     ## There is no encapsulation within the following macros, do not change
19920     ## the running order or otherwise move them around unless you know exactly
19921     ## what you are doing...
19922     # Dependencies to place before and after the object being linked:
19923 predep_objects_CXX=
19924 postdep_objects_CXX=
19925 predeps_CXX=
19926 postdeps_CXX=
19927 compiler_lib_search_path_CXX=
19928
19929 cat > conftest.$ac_ext <<_LT_EOF
19930 class Foo
19931 {
19932 public:
19933   Foo (void) { a = 0; }
19934 private:
19935   int a;
19936 };
19937 _LT_EOF
19938
19939
19940 _lt_libdeps_save_CFLAGS=$CFLAGS
19941 case "$CC $CFLAGS " in #(
19942 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
19943 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
19944 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
19945 esac
19946
19947 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
19948   (eval $ac_compile) 2>&5
19949   ac_status=$?
19950   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19951   test $ac_status = 0; }; then
19952   # Parse the compiler output and extract the necessary
19953   # objects, libraries and library flags.
19954
19955   # Sentinel used to keep track of whether or not we are before
19956   # the conftest object file.
19957   pre_test_object_deps_done=no
19958
19959   for p in `eval "$output_verbose_link_cmd"`; do
19960     case ${prev}${p} in
19961
19962     -L* | -R* | -l*)
19963        # Some compilers place space between "-{L,R}" and the path.
19964        # Remove the space.
19965        if test $p = "-L" ||
19966           test $p = "-R"; then
19967          prev=$p
19968          continue
19969        fi
19970
19971        # Expand the sysroot to ease extracting the directories later.
19972        if test -z "$prev"; then
19973          case $p in
19974          -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
19975          -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
19976          -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
19977          esac
19978        fi
19979        case $p in
19980        =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
19981        esac
19982        if test "$pre_test_object_deps_done" = no; then
19983          case ${prev} in
19984          -L | -R)
19985            # Internal compiler library paths should come after those
19986            # provided the user.  The postdeps already come after the
19987            # user supplied libs so there is no need to process them.
19988            if test -z "$compiler_lib_search_path_CXX"; then
19989              compiler_lib_search_path_CXX="${prev}${p}"
19990            else
19991              compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
19992            fi
19993            ;;
19994          # The "-l" case would never come before the object being
19995          # linked, so don't bother handling this case.
19996          esac
19997        else
19998          if test -z "$postdeps_CXX"; then
19999            postdeps_CXX="${prev}${p}"
20000          else
20001            postdeps_CXX="${postdeps_CXX} ${prev}${p}"
20002          fi
20003        fi
20004        prev=
20005        ;;
20006
20007     *.lto.$objext) ;; # Ignore GCC LTO objects
20008     *.$objext)
20009        # This assumes that the test object file only shows up
20010        # once in the compiler output.
20011        if test "$p" = "conftest.$objext"; then
20012          pre_test_object_deps_done=yes
20013          continue
20014        fi
20015
20016        if test "$pre_test_object_deps_done" = no; then
20017          if test -z "$predep_objects_CXX"; then
20018            predep_objects_CXX="$p"
20019          else
20020            predep_objects_CXX="$predep_objects_CXX $p"
20021          fi
20022        else
20023          if test -z "$postdep_objects_CXX"; then
20024            postdep_objects_CXX="$p"
20025          else
20026            postdep_objects_CXX="$postdep_objects_CXX $p"
20027          fi
20028        fi
20029        ;;
20030
20031     *) ;; # Ignore the rest.
20032
20033     esac
20034   done
20035
20036   # Clean up.
20037   rm -f a.out a.exe
20038 else
20039   echo "libtool.m4: error: problem compiling CXX test program"
20040 fi
20041
20042 $RM -f confest.$objext
20043 CFLAGS=$_lt_libdeps_save_CFLAGS
20044
20045 # PORTME: override above test on systems where it is broken
20046 case $host_os in
20047 interix[3-9]*)
20048   # Interix 3.5 installs completely hosed .la files for C++, so rather than
20049   # hack all around it, let's just trust "g++" to DTRT.
20050   predep_objects_CXX=
20051   postdep_objects_CXX=
20052   postdeps_CXX=
20053   ;;
20054
20055 linux*)
20056   case `$CC -V 2>&1 | sed 5q` in
20057   *Sun\ C*)
20058     # Sun C++ 5.9
20059
20060     # The more standards-conforming stlport4 library is
20061     # incompatible with the Cstd library. Avoid specifying
20062     # it if it's in CXXFLAGS. Ignore libCrun as
20063     # -library=stlport4 depends on it.
20064     case " $CXX $CXXFLAGS " in
20065     *" -library=stlport4 "*)
20066       solaris_use_stlport4=yes
20067       ;;
20068     esac
20069
20070     if test "$solaris_use_stlport4" != yes; then
20071       postdeps_CXX='-library=Cstd -library=Crun'
20072     fi
20073     ;;
20074   esac
20075   ;;
20076
20077 solaris*)
20078   case $cc_basename in
20079   CC* | sunCC*)
20080     # The more standards-conforming stlport4 library is
20081     # incompatible with the Cstd library. Avoid specifying
20082     # it if it's in CXXFLAGS. Ignore libCrun as
20083     # -library=stlport4 depends on it.
20084     case " $CXX $CXXFLAGS " in
20085     *" -library=stlport4 "*)
20086       solaris_use_stlport4=yes
20087       ;;
20088     esac
20089
20090     # Adding this requires a known-good setup of shared libraries for
20091     # Sun compiler versions before 5.6, else PIC objects from an old
20092     # archive will be linked into the output, leading to subtle bugs.
20093     if test "$solaris_use_stlport4" != yes; then
20094       postdeps_CXX='-library=Cstd -library=Crun'
20095     fi
20096     ;;
20097   esac
20098   ;;
20099 esac
20100
20101
20102 case " $postdeps_CXX " in
20103 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
20104 esac
20105  compiler_lib_search_dirs_CXX=
20106 if test -n "${compiler_lib_search_path_CXX}"; then
20107  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
20108 fi
20109
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     lt_prog_compiler_wl_CXX=
20141 lt_prog_compiler_pic_CXX=
20142 lt_prog_compiler_static_CXX=
20143
20144
20145   # C++ specific cases for pic, static, wl, etc.
20146   if test "$GXX" = yes; then
20147     lt_prog_compiler_wl_CXX='-Wl,'
20148     lt_prog_compiler_static_CXX='-static'
20149
20150     case $host_os in
20151     aix*)
20152       # All AIX code is PIC.
20153       if test "$host_cpu" = ia64; then
20154         # AIX 5 now supports IA64 processor
20155         lt_prog_compiler_static_CXX='-Bstatic'
20156       fi
20157       ;;
20158
20159     amigaos*)
20160       case $host_cpu in
20161       powerpc)
20162             # see comment about AmigaOS4 .so support
20163             lt_prog_compiler_pic_CXX='-fPIC'
20164         ;;
20165       m68k)
20166             # FIXME: we need at least 68020 code to build shared libraries, but
20167             # adding the `-m68020' flag to GCC prevents building anything better,
20168             # like `-m68040'.
20169             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
20170         ;;
20171       esac
20172       ;;
20173
20174     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
20175       # PIC is the default for these OSes.
20176       ;;
20177     mingw* | cygwin* | os2* | pw32* | cegcc*)
20178       # This hack is so that the source file can tell whether it is being
20179       # built for inclusion in a dll (and should export symbols for example).
20180       # Although the cygwin gcc ignores -fPIC, still need this for old-style
20181       # (--disable-auto-import) libraries
20182       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
20183       ;;
20184     darwin* | rhapsody*)
20185       # PIC is the default on this platform
20186       # Common symbols not allowed in MH_DYLIB files
20187       lt_prog_compiler_pic_CXX='-fno-common'
20188       ;;
20189     *djgpp*)
20190       # DJGPP does not support shared libraries at all
20191       lt_prog_compiler_pic_CXX=
20192       ;;
20193     haiku*)
20194       # PIC is the default for Haiku.
20195       # The "-static" flag exists, but is broken.
20196       lt_prog_compiler_static_CXX=
20197       ;;
20198     interix[3-9]*)
20199       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
20200       # Instead, we relocate shared libraries at runtime.
20201       ;;
20202     sysv4*MP*)
20203       if test -d /usr/nec; then
20204         lt_prog_compiler_pic_CXX=-Kconform_pic
20205       fi
20206       ;;
20207     hpux*)
20208       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
20209       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
20210       # sets the default TLS model and affects inlining.
20211       case $host_cpu in
20212       hppa*64*)
20213         ;;
20214       *)
20215         lt_prog_compiler_pic_CXX='-fPIC'
20216         ;;
20217       esac
20218       ;;
20219     *qnx* | *nto*)
20220       # QNX uses GNU C++, but need to define -shared option too, otherwise
20221       # it will coredump.
20222       lt_prog_compiler_pic_CXX='-fPIC -shared'
20223       ;;
20224     *)
20225       lt_prog_compiler_pic_CXX='-fPIC'
20226       ;;
20227     esac
20228   else
20229     case $host_os in
20230       aix[4-9]*)
20231         # All AIX code is PIC.
20232         if test "$host_cpu" = ia64; then
20233           # AIX 5 now supports IA64 processor
20234           lt_prog_compiler_static_CXX='-Bstatic'
20235         else
20236           lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
20237         fi
20238         ;;
20239       chorus*)
20240         case $cc_basename in
20241         cxch68*)
20242           # Green Hills C++ Compiler
20243           # _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"
20244           ;;
20245         esac
20246         ;;
20247       mingw* | cygwin* | os2* | pw32* | cegcc*)
20248         # This hack is so that the source file can tell whether it is being
20249         # built for inclusion in a dll (and should export symbols for example).
20250         lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
20251         ;;
20252       dgux*)
20253         case $cc_basename in
20254           ec++*)
20255             lt_prog_compiler_pic_CXX='-KPIC'
20256             ;;
20257           ghcx*)
20258             # Green Hills C++ Compiler
20259             lt_prog_compiler_pic_CXX='-pic'
20260             ;;
20261           *)
20262             ;;
20263         esac
20264         ;;
20265       freebsd* | dragonfly*)
20266         # FreeBSD uses GNU C++
20267         ;;
20268       hpux9* | hpux10* | hpux11*)
20269         case $cc_basename in
20270           CC*)
20271             lt_prog_compiler_wl_CXX='-Wl,'
20272             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
20273             if test "$host_cpu" != ia64; then
20274               lt_prog_compiler_pic_CXX='+Z'
20275             fi
20276             ;;
20277           aCC*)
20278             lt_prog_compiler_wl_CXX='-Wl,'
20279             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
20280             case $host_cpu in
20281             hppa*64*|ia64*)
20282               # +Z the default
20283               ;;
20284             *)
20285               lt_prog_compiler_pic_CXX='+Z'
20286               ;;
20287             esac
20288             ;;
20289           *)
20290             ;;
20291         esac
20292         ;;
20293       interix*)
20294         # This is c89, which is MS Visual C++ (no shared libs)
20295         # Anyone wants to do a port?
20296         ;;
20297       irix5* | irix6* | nonstopux*)
20298         case $cc_basename in
20299           CC*)
20300             lt_prog_compiler_wl_CXX='-Wl,'
20301             lt_prog_compiler_static_CXX='-non_shared'
20302             # CC pic flag -KPIC is the default.
20303             ;;
20304           *)
20305             ;;
20306         esac
20307         ;;
20308       linux* | k*bsd*-gnu | kopensolaris*-gnu)
20309         case $cc_basename in
20310           KCC*)
20311             # KAI C++ Compiler
20312             lt_prog_compiler_wl_CXX='--backend -Wl,'
20313             lt_prog_compiler_pic_CXX='-fPIC'
20314             ;;
20315           ecpc* )
20316             # old Intel C++ for x86_64 which still supported -KPIC.
20317             lt_prog_compiler_wl_CXX='-Wl,'
20318             lt_prog_compiler_pic_CXX='-KPIC'
20319             lt_prog_compiler_static_CXX='-static'
20320             ;;
20321           icpc* )
20322             # Intel C++, used to be incompatible with GCC.
20323             # ICC 10 doesn't accept -KPIC any more.
20324             lt_prog_compiler_wl_CXX='-Wl,'
20325             lt_prog_compiler_pic_CXX='-fPIC'
20326             lt_prog_compiler_static_CXX='-static'
20327             ;;
20328           pgCC* | pgcpp*)
20329             # Portland Group C++ compiler
20330             lt_prog_compiler_wl_CXX='-Wl,'
20331             lt_prog_compiler_pic_CXX='-fpic'
20332             lt_prog_compiler_static_CXX='-Bstatic'
20333             ;;
20334           cxx*)
20335             # Compaq C++
20336             # Make sure the PIC flag is empty.  It appears that all Alpha
20337             # Linux and Compaq Tru64 Unix objects are PIC.
20338             lt_prog_compiler_pic_CXX=
20339             lt_prog_compiler_static_CXX='-non_shared'
20340             ;;
20341           xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
20342             # IBM XL 8.0, 9.0 on PPC and BlueGene
20343             lt_prog_compiler_wl_CXX='-Wl,'
20344             lt_prog_compiler_pic_CXX='-qpic'
20345             lt_prog_compiler_static_CXX='-qstaticlink'
20346             ;;
20347           *)
20348             case `$CC -V 2>&1 | sed 5q` in
20349             *Sun\ C*)
20350               # Sun C++ 5.9
20351               lt_prog_compiler_pic_CXX='-KPIC'
20352               lt_prog_compiler_static_CXX='-Bstatic'
20353               lt_prog_compiler_wl_CXX='-Qoption ld '
20354               ;;
20355             esac
20356             ;;
20357         esac
20358         ;;
20359       lynxos*)
20360         ;;
20361       m88k*)
20362         ;;
20363       mvs*)
20364         case $cc_basename in
20365           cxx*)
20366             lt_prog_compiler_pic_CXX='-W c,exportall'
20367             ;;
20368           *)
20369             ;;
20370         esac
20371         ;;
20372       netbsd* | netbsdelf*-gnu)
20373         ;;
20374       *qnx* | *nto*)
20375         # QNX uses GNU C++, but need to define -shared option too, otherwise
20376         # it will coredump.
20377         lt_prog_compiler_pic_CXX='-fPIC -shared'
20378         ;;
20379       osf3* | osf4* | osf5*)
20380         case $cc_basename in
20381           KCC*)
20382             lt_prog_compiler_wl_CXX='--backend -Wl,'
20383             ;;
20384           RCC*)
20385             # Rational C++ 2.4.1
20386             lt_prog_compiler_pic_CXX='-pic'
20387             ;;
20388           cxx*)
20389             # Digital/Compaq C++
20390             lt_prog_compiler_wl_CXX='-Wl,'
20391             # Make sure the PIC flag is empty.  It appears that all Alpha
20392             # Linux and Compaq Tru64 Unix objects are PIC.
20393             lt_prog_compiler_pic_CXX=
20394             lt_prog_compiler_static_CXX='-non_shared'
20395             ;;
20396           *)
20397             ;;
20398         esac
20399         ;;
20400       psos*)
20401         ;;
20402       solaris*)
20403         case $cc_basename in
20404           CC* | sunCC*)
20405             # Sun C++ 4.2, 5.x and Centerline C++
20406             lt_prog_compiler_pic_CXX='-KPIC'
20407             lt_prog_compiler_static_CXX='-Bstatic'
20408             lt_prog_compiler_wl_CXX='-Qoption ld '
20409             ;;
20410           gcx*)
20411             # Green Hills C++ Compiler
20412             lt_prog_compiler_pic_CXX='-PIC'
20413             ;;
20414           *)
20415             ;;
20416         esac
20417         ;;
20418       sunos4*)
20419         case $cc_basename in
20420           CC*)
20421             # Sun C++ 4.x
20422             lt_prog_compiler_pic_CXX='-pic'
20423             lt_prog_compiler_static_CXX='-Bstatic'
20424             ;;
20425           lcc*)
20426             # Lucid
20427             lt_prog_compiler_pic_CXX='-pic'
20428             ;;
20429           *)
20430             ;;
20431         esac
20432         ;;
20433       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
20434         case $cc_basename in
20435           CC*)
20436             lt_prog_compiler_wl_CXX='-Wl,'
20437             lt_prog_compiler_pic_CXX='-KPIC'
20438             lt_prog_compiler_static_CXX='-Bstatic'
20439             ;;
20440         esac
20441         ;;
20442       tandem*)
20443         case $cc_basename in
20444           NCC*)
20445             # NonStop-UX NCC 3.20
20446             lt_prog_compiler_pic_CXX='-KPIC'
20447             ;;
20448           *)
20449             ;;
20450         esac
20451         ;;
20452       vxworks*)
20453         ;;
20454       *)
20455         lt_prog_compiler_can_build_shared_CXX=no
20456         ;;
20457     esac
20458   fi
20459
20460 case $host_os in
20461   # For platforms which do not support PIC, -DPIC is meaningless:
20462   *djgpp*)
20463     lt_prog_compiler_pic_CXX=
20464     ;;
20465   *)
20466     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
20467     ;;
20468 esac
20469
20470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
20471 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
20472 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
20473   $as_echo_n "(cached) " >&6
20474 else
20475   lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
20476 fi
20477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
20478 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
20479 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
20480
20481 #
20482 # Check to make sure the PIC flag actually works.
20483 #
20484 if test -n "$lt_prog_compiler_pic_CXX"; then
20485   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
20486 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
20487 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
20488   $as_echo_n "(cached) " >&6
20489 else
20490   lt_cv_prog_compiler_pic_works_CXX=no
20491    ac_outfile=conftest.$ac_objext
20492    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
20493    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
20494    # Insert the option either (1) after the last *FLAGS variable, or
20495    # (2) before a word containing "conftest.", or (3) at the end.
20496    # Note that $ac_compile itself does not contain backslashes and begins
20497    # with a dollar sign (not a hyphen), so the echo should work correctly.
20498    # The option is referenced via a variable to avoid confusing sed.
20499    lt_compile=`echo "$ac_compile" | $SED \
20500    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
20501    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
20502    -e 's:$: $lt_compiler_flag:'`
20503    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
20504    (eval "$lt_compile" 2>conftest.err)
20505    ac_status=$?
20506    cat conftest.err >&5
20507    echo "$as_me:$LINENO: \$? = $ac_status" >&5
20508    if (exit $ac_status) && test -s "$ac_outfile"; then
20509      # The compiler can only warn and ignore the option if not recognized
20510      # So say no if there are warnings other than the usual output.
20511      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
20512      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
20513      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
20514        lt_cv_prog_compiler_pic_works_CXX=yes
20515      fi
20516    fi
20517    $RM conftest*
20518
20519 fi
20520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
20521 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
20522
20523 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
20524     case $lt_prog_compiler_pic_CXX in
20525      "" | " "*) ;;
20526      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
20527      esac
20528 else
20529     lt_prog_compiler_pic_CXX=
20530      lt_prog_compiler_can_build_shared_CXX=no
20531 fi
20532
20533 fi
20534
20535
20536
20537
20538
20539 #
20540 # Check to make sure the static flag actually works.
20541 #
20542 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
20543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
20544 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
20545 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
20546   $as_echo_n "(cached) " >&6
20547 else
20548   lt_cv_prog_compiler_static_works_CXX=no
20549    save_LDFLAGS="$LDFLAGS"
20550    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
20551    echo "$lt_simple_link_test_code" > conftest.$ac_ext
20552    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
20553      # The linker can only warn and ignore the option if not recognized
20554      # So say no if there are warnings
20555      if test -s conftest.err; then
20556        # Append any errors to the config.log.
20557        cat conftest.err 1>&5
20558        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
20559        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
20560        if diff conftest.exp conftest.er2 >/dev/null; then
20561          lt_cv_prog_compiler_static_works_CXX=yes
20562        fi
20563      else
20564        lt_cv_prog_compiler_static_works_CXX=yes
20565      fi
20566    fi
20567    $RM -r conftest*
20568    LDFLAGS="$save_LDFLAGS"
20569
20570 fi
20571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
20572 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
20573
20574 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
20575     :
20576 else
20577     lt_prog_compiler_static_CXX=
20578 fi
20579
20580
20581
20582
20583     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
20584 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
20585 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
20586   $as_echo_n "(cached) " >&6
20587 else
20588   lt_cv_prog_compiler_c_o_CXX=no
20589    $RM -r conftest 2>/dev/null
20590    mkdir conftest
20591    cd conftest
20592    mkdir out
20593    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
20594
20595    lt_compiler_flag="-o out/conftest2.$ac_objext"
20596    # Insert the option either (1) after the last *FLAGS variable, or
20597    # (2) before a word containing "conftest.", or (3) at the end.
20598    # Note that $ac_compile itself does not contain backslashes and begins
20599    # with a dollar sign (not a hyphen), so the echo should work correctly.
20600    lt_compile=`echo "$ac_compile" | $SED \
20601    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
20602    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
20603    -e 's:$: $lt_compiler_flag:'`
20604    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
20605    (eval "$lt_compile" 2>out/conftest.err)
20606    ac_status=$?
20607    cat out/conftest.err >&5
20608    echo "$as_me:$LINENO: \$? = $ac_status" >&5
20609    if (exit $ac_status) && test -s out/conftest2.$ac_objext
20610    then
20611      # The compiler can only warn and ignore the option if not recognized
20612      # So say no if there are warnings
20613      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
20614      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
20615      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
20616        lt_cv_prog_compiler_c_o_CXX=yes
20617      fi
20618    fi
20619    chmod u+w . 2>&5
20620    $RM conftest*
20621    # SGI C++ compiler will create directory out/ii_files/ for
20622    # template instantiation
20623    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
20624    $RM out/* && rmdir out
20625    cd ..
20626    $RM -r conftest
20627    $RM conftest*
20628
20629 fi
20630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
20631 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
20632
20633
20634
20635     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
20636 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
20637 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
20638   $as_echo_n "(cached) " >&6
20639 else
20640   lt_cv_prog_compiler_c_o_CXX=no
20641    $RM -r conftest 2>/dev/null
20642    mkdir conftest
20643    cd conftest
20644    mkdir out
20645    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
20646
20647    lt_compiler_flag="-o out/conftest2.$ac_objext"
20648    # Insert the option either (1) after the last *FLAGS variable, or
20649    # (2) before a word containing "conftest.", or (3) at the end.
20650    # Note that $ac_compile itself does not contain backslashes and begins
20651    # with a dollar sign (not a hyphen), so the echo should work correctly.
20652    lt_compile=`echo "$ac_compile" | $SED \
20653    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
20654    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
20655    -e 's:$: $lt_compiler_flag:'`
20656    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
20657    (eval "$lt_compile" 2>out/conftest.err)
20658    ac_status=$?
20659    cat out/conftest.err >&5
20660    echo "$as_me:$LINENO: \$? = $ac_status" >&5
20661    if (exit $ac_status) && test -s out/conftest2.$ac_objext
20662    then
20663      # The compiler can only warn and ignore the option if not recognized
20664      # So say no if there are warnings
20665      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
20666      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
20667      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
20668        lt_cv_prog_compiler_c_o_CXX=yes
20669      fi
20670    fi
20671    chmod u+w . 2>&5
20672    $RM conftest*
20673    # SGI C++ compiler will create directory out/ii_files/ for
20674    # template instantiation
20675    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
20676    $RM out/* && rmdir out
20677    cd ..
20678    $RM -r conftest
20679    $RM conftest*
20680
20681 fi
20682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
20683 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
20684
20685
20686
20687
20688 hard_links="nottested"
20689 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
20690   # do not overwrite the value of need_locks provided by the user
20691   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
20692 $as_echo_n "checking if we can lock with hard links... " >&6; }
20693   hard_links=yes
20694   $RM conftest*
20695   ln conftest.a conftest.b 2>/dev/null && hard_links=no
20696   touch conftest.a
20697   ln conftest.a conftest.b 2>&5 || hard_links=no
20698   ln conftest.a conftest.b 2>/dev/null && hard_links=no
20699   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
20700 $as_echo "$hard_links" >&6; }
20701   if test "$hard_links" = no; then
20702     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
20703 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
20704     need_locks=warn
20705   fi
20706 else
20707   need_locks=no
20708 fi
20709
20710
20711
20712     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
20713 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
20714
20715   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
20716   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
20717   case $host_os in
20718   aix[4-9]*)
20719     # If we're using GNU nm, then we don't want the "-C" option.
20720     # -C means demangle to AIX nm, but means don't demangle with GNU nm
20721     # Also, AIX nm treats weak defined symbols like other global defined
20722     # symbols, whereas GNU nm marks them as "W".
20723     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
20724       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'
20725     else
20726       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'
20727     fi
20728     ;;
20729   pw32*)
20730     export_symbols_cmds_CXX="$ltdll_cmds"
20731     ;;
20732   cygwin* | mingw* | cegcc*)
20733     case $cc_basename in
20734     cl*)
20735       exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
20736       ;;
20737     *)
20738       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'
20739       exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
20740       ;;
20741     esac
20742     ;;
20743   linux* | k*bsd*-gnu | gnu*)
20744     link_all_deplibs_CXX=no
20745     ;;
20746   *)
20747     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
20748     ;;
20749   esac
20750
20751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
20752 $as_echo "$ld_shlibs_CXX" >&6; }
20753 test "$ld_shlibs_CXX" = no && can_build_shared=no
20754
20755 with_gnu_ld_CXX=$with_gnu_ld
20756
20757
20758
20759
20760
20761
20762 #
20763 # Do we need to explicitly link libc?
20764 #
20765 case "x$archive_cmds_need_lc_CXX" in
20766 x|xyes)
20767   # Assume -lc should be added
20768   archive_cmds_need_lc_CXX=yes
20769
20770   if test "$enable_shared" = yes && test "$GCC" = yes; then
20771     case $archive_cmds_CXX in
20772     *'~'*)
20773       # FIXME: we may have to deal with multi-command sequences.
20774       ;;
20775     '$CC '*)
20776       # Test whether the compiler implicitly links with -lc since on some
20777       # systems, -lgcc has to come before -lc. If gcc already passes -lc
20778       # to ld, don't add -lc before -lgcc.
20779       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
20780 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
20781 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
20782   $as_echo_n "(cached) " >&6
20783 else
20784   $RM conftest*
20785         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
20786
20787         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
20788   (eval $ac_compile) 2>&5
20789   ac_status=$?
20790   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20791   test $ac_status = 0; } 2>conftest.err; then
20792           soname=conftest
20793           lib=conftest
20794           libobjs=conftest.$ac_objext
20795           deplibs=
20796           wl=$lt_prog_compiler_wl_CXX
20797           pic_flag=$lt_prog_compiler_pic_CXX
20798           compiler_flags=-v
20799           linker_flags=-v
20800           verstring=
20801           output_objdir=.
20802           libname=conftest
20803           lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
20804           allow_undefined_flag_CXX=
20805           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
20806   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
20807   ac_status=$?
20808   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20809   test $ac_status = 0; }
20810           then
20811             lt_cv_archive_cmds_need_lc_CXX=no
20812           else
20813             lt_cv_archive_cmds_need_lc_CXX=yes
20814           fi
20815           allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
20816         else
20817           cat conftest.err 1>&5
20818         fi
20819         $RM conftest*
20820
20821 fi
20822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
20823 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
20824       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
20825       ;;
20826     esac
20827   fi
20828   ;;
20829 esac
20830
20831
20832
20833
20834
20835
20836
20837
20838
20839
20840
20841
20842
20843
20844
20845
20846
20847
20848
20849
20850
20851
20852
20853
20854
20855
20856
20857
20858
20859
20860
20861
20862
20863
20864
20865
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     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
20893 $as_echo_n "checking dynamic linker characteristics... " >&6; }
20894
20895 library_names_spec=
20896 libname_spec='lib$name'
20897 soname_spec=
20898 shrext_cmds=".so"
20899 postinstall_cmds=
20900 postuninstall_cmds=
20901 finish_cmds=
20902 finish_eval=
20903 shlibpath_var=
20904 shlibpath_overrides_runpath=unknown
20905 version_type=none
20906 dynamic_linker="$host_os ld.so"
20907 sys_lib_dlsearch_path_spec="/lib /usr/lib"
20908 need_lib_prefix=unknown
20909 hardcode_into_libs=no
20910
20911 # when you set need_version to no, make sure it does not cause -set_version
20912 # flags to be left without arguments
20913 need_version=unknown
20914
20915 case $host_os in
20916 aix3*)
20917   version_type=linux # correct to gnu/linux during the next big refactor
20918   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
20919   shlibpath_var=LIBPATH
20920
20921   # AIX 3 has no versioning support, so we append a major version to the name.
20922   soname_spec='${libname}${release}${shared_ext}$major'
20923   ;;
20924
20925 aix[4-9]*)
20926   version_type=linux # correct to gnu/linux during the next big refactor
20927   need_lib_prefix=no
20928   need_version=no
20929   hardcode_into_libs=yes
20930   if test "$host_cpu" = ia64; then
20931     # AIX 5 supports IA64
20932     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
20933     shlibpath_var=LD_LIBRARY_PATH
20934   else
20935     # With GCC up to 2.95.x, collect2 would create an import file
20936     # for dependence libraries.  The import file would start with
20937     # the line `#! .'.  This would cause the generated library to
20938     # depend on `.', always an invalid library.  This was fixed in
20939     # development snapshots of GCC prior to 3.0.
20940     case $host_os in
20941       aix4 | aix4.[01] | aix4.[01].*)
20942       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
20943            echo ' yes '
20944            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
20945         :
20946       else
20947         can_build_shared=no
20948       fi
20949       ;;
20950     esac
20951     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
20952     # soname into executable. Probably we can add versioning support to
20953     # collect2, so additional links can be useful in future.
20954     if test "$aix_use_runtimelinking" = yes; then
20955       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
20956       # instead of lib<name>.a to let people know that these are not
20957       # typical AIX shared libraries.
20958       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20959     else
20960       # We preserve .a as extension for shared libraries through AIX4.2
20961       # and later when we are not doing run time linking.
20962       library_names_spec='${libname}${release}.a $libname.a'
20963       soname_spec='${libname}${release}${shared_ext}$major'
20964     fi
20965     shlibpath_var=LIBPATH
20966   fi
20967   ;;
20968
20969 amigaos*)
20970   case $host_cpu in
20971   powerpc)
20972     # Since July 2007 AmigaOS4 officially supports .so libraries.
20973     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
20974     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20975     ;;
20976   m68k)
20977     library_names_spec='$libname.ixlibrary $libname.a'
20978     # Create ${libname}_ixlibrary.a entries in /sys/libs.
20979     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'
20980     ;;
20981   esac
20982   ;;
20983
20984 beos*)
20985   library_names_spec='${libname}${shared_ext}'
20986   dynamic_linker="$host_os ld.so"
20987   shlibpath_var=LIBRARY_PATH
20988   ;;
20989
20990 bsdi[45]*)
20991   version_type=linux # correct to gnu/linux during the next big refactor
20992   need_version=no
20993   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20994   soname_spec='${libname}${release}${shared_ext}$major'
20995   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
20996   shlibpath_var=LD_LIBRARY_PATH
20997   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
20998   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
20999   # the default ld.so.conf also contains /usr/contrib/lib and
21000   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
21001   # libtool to hard-code these into programs
21002   ;;
21003
21004 cygwin* | mingw* | pw32* | cegcc*)
21005   version_type=windows
21006   shrext_cmds=".dll"
21007   need_version=no
21008   need_lib_prefix=no
21009
21010   case $GCC,$cc_basename in
21011   yes,*)
21012     # gcc
21013     library_names_spec='$libname.dll.a'
21014     # DLL is installed to $(libdir)/../bin by postinstall_cmds
21015     postinstall_cmds='base_file=`basename \${file}`~
21016       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
21017       dldir=$destdir/`dirname \$dlpath`~
21018       test -d \$dldir || mkdir -p \$dldir~
21019       $install_prog $dir/$dlname \$dldir/$dlname~
21020       chmod a+x \$dldir/$dlname~
21021       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
21022         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
21023       fi'
21024     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
21025       dlpath=$dir/\$dldll~
21026        $RM \$dlpath'
21027     shlibpath_overrides_runpath=yes
21028
21029     case $host_os in
21030     cygwin*)
21031       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
21032       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
21033
21034       ;;
21035     mingw* | cegcc*)
21036       # MinGW DLLs use traditional 'lib' prefix
21037       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
21038       ;;
21039     pw32*)
21040       # pw32 DLLs use 'pw' prefix rather than 'lib'
21041       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
21042       ;;
21043     esac
21044     dynamic_linker='Win32 ld.exe'
21045     ;;
21046
21047   *,cl*)
21048     # Native MSVC
21049     libname_spec='$name'
21050     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
21051     library_names_spec='${libname}.dll.lib'
21052
21053     case $build_os in
21054     mingw*)
21055       sys_lib_search_path_spec=
21056       lt_save_ifs=$IFS
21057       IFS=';'
21058       for lt_path in $LIB
21059       do
21060         IFS=$lt_save_ifs
21061         # Let DOS variable expansion print the short 8.3 style file name.
21062         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
21063         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
21064       done
21065       IFS=$lt_save_ifs
21066       # Convert to MSYS style.
21067       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
21068       ;;
21069     cygwin*)
21070       # Convert to unix form, then to dos form, then back to unix form
21071       # but this time dos style (no spaces!) so that the unix form looks
21072       # like /cygdrive/c/PROGRA~1:/cygdr...
21073       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
21074       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
21075       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
21076       ;;
21077     *)
21078       sys_lib_search_path_spec="$LIB"
21079       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
21080         # It is most probably a Windows format PATH.
21081         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
21082       else
21083         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
21084       fi
21085       # FIXME: find the short name or the path components, as spaces are
21086       # common. (e.g. "Program Files" -> "PROGRA~1")
21087       ;;
21088     esac
21089
21090     # DLL is installed to $(libdir)/../bin by postinstall_cmds
21091     postinstall_cmds='base_file=`basename \${file}`~
21092       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
21093       dldir=$destdir/`dirname \$dlpath`~
21094       test -d \$dldir || mkdir -p \$dldir~
21095       $install_prog $dir/$dlname \$dldir/$dlname'
21096     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
21097       dlpath=$dir/\$dldll~
21098        $RM \$dlpath'
21099     shlibpath_overrides_runpath=yes
21100     dynamic_linker='Win32 link.exe'
21101     ;;
21102
21103   *)
21104     # Assume MSVC wrapper
21105     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
21106     dynamic_linker='Win32 ld.exe'
21107     ;;
21108   esac
21109   # FIXME: first we should search . and the directory the executable is in
21110   shlibpath_var=PATH
21111   ;;
21112
21113 darwin* | rhapsody*)
21114   dynamic_linker="$host_os dyld"
21115   version_type=darwin
21116   need_lib_prefix=no
21117   need_version=no
21118   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
21119   soname_spec='${libname}${release}${major}$shared_ext'
21120   shlibpath_overrides_runpath=yes
21121   shlibpath_var=DYLD_LIBRARY_PATH
21122   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
21123
21124   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
21125   ;;
21126
21127 dgux*)
21128   version_type=linux # correct to gnu/linux during the next big refactor
21129   need_lib_prefix=no
21130   need_version=no
21131   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
21132   soname_spec='${libname}${release}${shared_ext}$major'
21133   shlibpath_var=LD_LIBRARY_PATH
21134   ;;
21135
21136 freebsd* | dragonfly*)
21137   # DragonFly does not have aout.  When/if they implement a new
21138   # versioning mechanism, adjust this.
21139   if test -x /usr/bin/objformat; then
21140     objformat=`/usr/bin/objformat`
21141   else
21142     case $host_os in
21143     freebsd[23].*) objformat=aout ;;
21144     *) objformat=elf ;;
21145     esac
21146   fi
21147   version_type=freebsd-$objformat
21148   case $version_type in
21149     freebsd-elf*)
21150       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
21151       need_version=no
21152       need_lib_prefix=no
21153       ;;
21154     freebsd-*)
21155       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
21156       need_version=yes
21157       ;;
21158   esac
21159   shlibpath_var=LD_LIBRARY_PATH
21160   case $host_os in
21161   freebsd2.*)
21162     shlibpath_overrides_runpath=yes
21163     ;;
21164   freebsd3.[01]* | freebsdelf3.[01]*)
21165     shlibpath_overrides_runpath=yes
21166     hardcode_into_libs=yes
21167     ;;
21168   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
21169   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
21170     shlibpath_overrides_runpath=no
21171     hardcode_into_libs=yes
21172     ;;
21173   *) # from 4.6 on, and DragonFly
21174     shlibpath_overrides_runpath=yes
21175     hardcode_into_libs=yes
21176     ;;
21177   esac
21178   ;;
21179
21180 gnu*)
21181   version_type=linux # correct to gnu/linux during the next big refactor
21182   need_lib_prefix=no
21183   need_version=no
21184   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
21185   soname_spec='${libname}${release}${shared_ext}$major'
21186   shlibpath_var=LD_LIBRARY_PATH
21187   shlibpath_overrides_runpath=no
21188   hardcode_into_libs=yes
21189   ;;
21190
21191 haiku*)
21192   version_type=linux # correct to gnu/linux during the next big refactor
21193   need_lib_prefix=no
21194   need_version=no
21195   dynamic_linker="$host_os runtime_loader"
21196   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
21197   soname_spec='${libname}${release}${shared_ext}$major'
21198   shlibpath_var=LIBRARY_PATH
21199   shlibpath_overrides_runpath=yes
21200   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
21201   hardcode_into_libs=yes
21202   ;;
21203
21204 hpux9* | hpux10* | hpux11*)
21205   # Give a soname corresponding to the major version so that dld.sl refuses to
21206   # link against other versions.
21207   version_type=sunos
21208   need_lib_prefix=no
21209   need_version=no
21210   case $host_cpu in
21211   ia64*)
21212     shrext_cmds='.so'
21213     hardcode_into_libs=yes
21214     dynamic_linker="$host_os dld.so"
21215     shlibpath_var=LD_LIBRARY_PATH
21216     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
21217     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21218     soname_spec='${libname}${release}${shared_ext}$major'
21219     if test "X$HPUX_IA64_MODE" = X32; then
21220       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
21221     else
21222       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
21223     fi
21224     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
21225     ;;
21226   hppa*64*)
21227     shrext_cmds='.sl'
21228     hardcode_into_libs=yes
21229     dynamic_linker="$host_os dld.sl"
21230     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
21231     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
21232     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21233     soname_spec='${libname}${release}${shared_ext}$major'
21234     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
21235     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
21236     ;;
21237   *)
21238     shrext_cmds='.sl'
21239     dynamic_linker="$host_os dld.sl"
21240     shlibpath_var=SHLIB_PATH
21241     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
21242     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21243     soname_spec='${libname}${release}${shared_ext}$major'
21244     ;;
21245   esac
21246   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
21247   postinstall_cmds='chmod 555 $lib'
21248   # or fails outright, so override atomically:
21249   install_override_mode=555
21250   ;;
21251
21252 interix[3-9]*)
21253   version_type=linux # correct to gnu/linux during the next big refactor
21254   need_lib_prefix=no
21255   need_version=no
21256   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
21257   soname_spec='${libname}${release}${shared_ext}$major'
21258   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
21259   shlibpath_var=LD_LIBRARY_PATH
21260   shlibpath_overrides_runpath=no
21261   hardcode_into_libs=yes
21262   ;;
21263
21264 irix5* | irix6* | nonstopux*)
21265   case $host_os in
21266     nonstopux*) version_type=nonstopux ;;
21267     *)
21268         if test "$lt_cv_prog_gnu_ld" = yes; then
21269                 version_type=linux # correct to gnu/linux during the next big refactor
21270         else
21271                 version_type=irix
21272         fi ;;
21273   esac
21274   need_lib_prefix=no
21275   need_version=no
21276   soname_spec='${libname}${release}${shared_ext}$major'
21277   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
21278   case $host_os in
21279   irix5* | nonstopux*)
21280     libsuff= shlibsuff=
21281     ;;
21282   *)
21283     case $LD in # libtool.m4 will add one of these switches to LD
21284     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
21285       libsuff= shlibsuff= libmagic=32-bit;;
21286     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
21287       libsuff=32 shlibsuff=N32 libmagic=N32;;
21288     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
21289       libsuff=64 shlibsuff=64 libmagic=64-bit;;
21290     *) libsuff= shlibsuff= libmagic=never-match;;
21291     esac
21292     ;;
21293   esac
21294   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
21295   shlibpath_overrides_runpath=no
21296   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
21297   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
21298   hardcode_into_libs=yes
21299   ;;
21300
21301 # No shared lib support for Linux oldld, aout, or coff.
21302 linux*oldld* | linux*aout* | linux*coff*)
21303   dynamic_linker=no
21304   ;;
21305
21306 # This must be glibc/ELF.
21307 linux* | k*bsd*-gnu | kopensolaris*-gnu)
21308   version_type=linux # correct to gnu/linux during the next big refactor
21309   need_lib_prefix=no
21310   need_version=no
21311   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21312   soname_spec='${libname}${release}${shared_ext}$major'
21313   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
21314   shlibpath_var=LD_LIBRARY_PATH
21315   shlibpath_overrides_runpath=no
21316
21317   # Some binutils ld are patched to set DT_RUNPATH
21318   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
21319   $as_echo_n "(cached) " >&6
21320 else
21321   lt_cv_shlibpath_overrides_runpath=no
21322     save_LDFLAGS=$LDFLAGS
21323     save_libdir=$libdir
21324     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
21325          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
21326     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21327 /* end confdefs.h.  */
21328
21329 int
21330 main ()
21331 {
21332
21333   ;
21334   return 0;
21335 }
21336 _ACEOF
21337 if ac_fn_cxx_try_link "$LINENO"; then :
21338   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
21339   lt_cv_shlibpath_overrides_runpath=yes
21340 fi
21341 fi
21342 rm -f core conftest.err conftest.$ac_objext \
21343     conftest$ac_exeext conftest.$ac_ext
21344     LDFLAGS=$save_LDFLAGS
21345     libdir=$save_libdir
21346
21347 fi
21348
21349   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
21350
21351   # This implies no fast_install, which is unacceptable.
21352   # Some rework will be needed to allow for fast_install
21353   # before this can be enabled.
21354   hardcode_into_libs=yes
21355
21356   # Append ld.so.conf contents to the search path
21357   if test -f /etc/ld.so.conf; then
21358     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' ' '`
21359     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
21360   fi
21361
21362   # We used to test for /lib/ld.so.1 and disable shared libraries on
21363   # powerpc, because MkLinux only supported shared libraries with the
21364   # GNU dynamic linker.  Since this was broken with cross compilers,
21365   # most powerpc-linux boxes support dynamic linking these days and
21366   # people can always --disable-shared, the test was removed, and we
21367   # assume the GNU/Linux dynamic linker is in use.
21368   dynamic_linker='GNU/Linux ld.so'
21369   ;;
21370
21371 netbsdelf*-gnu)
21372   version_type=linux
21373   need_lib_prefix=no
21374   need_version=no
21375   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
21376   soname_spec='${libname}${release}${shared_ext}$major'
21377   shlibpath_var=LD_LIBRARY_PATH
21378   shlibpath_overrides_runpath=no
21379   hardcode_into_libs=yes
21380   dynamic_linker='NetBSD ld.elf_so'
21381   ;;
21382
21383 netbsd*)
21384   version_type=sunos
21385   need_lib_prefix=no
21386   need_version=no
21387   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
21388     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
21389     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
21390     dynamic_linker='NetBSD (a.out) ld.so'
21391   else
21392     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
21393     soname_spec='${libname}${release}${shared_ext}$major'
21394     dynamic_linker='NetBSD ld.elf_so'
21395   fi
21396   shlibpath_var=LD_LIBRARY_PATH
21397   shlibpath_overrides_runpath=yes
21398   hardcode_into_libs=yes
21399   ;;
21400
21401 newsos6)
21402   version_type=linux # correct to gnu/linux during the next big refactor
21403   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21404   shlibpath_var=LD_LIBRARY_PATH
21405   shlibpath_overrides_runpath=yes
21406   ;;
21407
21408 *nto* | *qnx*)
21409   version_type=qnx
21410   need_lib_prefix=no
21411   need_version=no
21412   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21413   soname_spec='${libname}${release}${shared_ext}$major'
21414   shlibpath_var=LD_LIBRARY_PATH
21415   shlibpath_overrides_runpath=no
21416   hardcode_into_libs=yes
21417   dynamic_linker='ldqnx.so'
21418   ;;
21419
21420 openbsd*)
21421   version_type=sunos
21422   sys_lib_dlsearch_path_spec="/usr/lib"
21423   need_lib_prefix=no
21424   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
21425   case $host_os in
21426     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
21427     *)                          need_version=no  ;;
21428   esac
21429   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
21430   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
21431   shlibpath_var=LD_LIBRARY_PATH
21432   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
21433     case $host_os in
21434       openbsd2.[89] | openbsd2.[89].*)
21435         shlibpath_overrides_runpath=no
21436         ;;
21437       *)
21438         shlibpath_overrides_runpath=yes
21439         ;;
21440       esac
21441   else
21442     shlibpath_overrides_runpath=yes
21443   fi
21444   ;;
21445
21446 os2*)
21447   libname_spec='$name'
21448   shrext_cmds=".dll"
21449   need_lib_prefix=no
21450   library_names_spec='$libname${shared_ext} $libname.a'
21451   dynamic_linker='OS/2 ld.exe'
21452   shlibpath_var=LIBPATH
21453   ;;
21454
21455 osf3* | osf4* | osf5*)
21456   version_type=osf
21457   need_lib_prefix=no
21458   need_version=no
21459   soname_spec='${libname}${release}${shared_ext}$major'
21460   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21461   shlibpath_var=LD_LIBRARY_PATH
21462   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
21463   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
21464   ;;
21465
21466 rdos*)
21467   dynamic_linker=no
21468   ;;
21469
21470 solaris*)
21471   version_type=linux # correct to gnu/linux during the next big refactor
21472   need_lib_prefix=no
21473   need_version=no
21474   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21475   soname_spec='${libname}${release}${shared_ext}$major'
21476   shlibpath_var=LD_LIBRARY_PATH
21477   shlibpath_overrides_runpath=yes
21478   hardcode_into_libs=yes
21479   # ldd complains unless libraries are executable
21480   postinstall_cmds='chmod +x $lib'
21481   ;;
21482
21483 sunos4*)
21484   version_type=sunos
21485   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
21486   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
21487   shlibpath_var=LD_LIBRARY_PATH
21488   shlibpath_overrides_runpath=yes
21489   if test "$with_gnu_ld" = yes; then
21490     need_lib_prefix=no
21491   fi
21492   need_version=yes
21493   ;;
21494
21495 sysv4 | sysv4.3*)
21496   version_type=linux # correct to gnu/linux during the next big refactor
21497   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21498   soname_spec='${libname}${release}${shared_ext}$major'
21499   shlibpath_var=LD_LIBRARY_PATH
21500   case $host_vendor in
21501     sni)
21502       shlibpath_overrides_runpath=no
21503       need_lib_prefix=no
21504       runpath_var=LD_RUN_PATH
21505       ;;
21506     siemens)
21507       need_lib_prefix=no
21508       ;;
21509     motorola)
21510       need_lib_prefix=no
21511       need_version=no
21512       shlibpath_overrides_runpath=no
21513       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
21514       ;;
21515   esac
21516   ;;
21517
21518 sysv4*MP*)
21519   if test -d /usr/nec ;then
21520     version_type=linux # correct to gnu/linux during the next big refactor
21521     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
21522     soname_spec='$libname${shared_ext}.$major'
21523     shlibpath_var=LD_LIBRARY_PATH
21524   fi
21525   ;;
21526
21527 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
21528   version_type=freebsd-elf
21529   need_lib_prefix=no
21530   need_version=no
21531   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
21532   soname_spec='${libname}${release}${shared_ext}$major'
21533   shlibpath_var=LD_LIBRARY_PATH
21534   shlibpath_overrides_runpath=yes
21535   hardcode_into_libs=yes
21536   if test "$with_gnu_ld" = yes; then
21537     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
21538   else
21539     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
21540     case $host_os in
21541       sco3.2v5*)
21542         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
21543         ;;
21544     esac
21545   fi
21546   sys_lib_dlsearch_path_spec='/usr/lib'
21547   ;;
21548
21549 tpf*)
21550   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
21551   version_type=linux # correct to gnu/linux during the next big refactor
21552   need_lib_prefix=no
21553   need_version=no
21554   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21555   shlibpath_var=LD_LIBRARY_PATH
21556   shlibpath_overrides_runpath=no
21557   hardcode_into_libs=yes
21558   ;;
21559
21560 uts4*)
21561   version_type=linux # correct to gnu/linux during the next big refactor
21562   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21563   soname_spec='${libname}${release}${shared_ext}$major'
21564   shlibpath_var=LD_LIBRARY_PATH
21565   ;;
21566
21567 *)
21568   dynamic_linker=no
21569   ;;
21570 esac
21571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
21572 $as_echo "$dynamic_linker" >&6; }
21573 test "$dynamic_linker" = no && can_build_shared=no
21574
21575 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
21576 if test "$GCC" = yes; then
21577   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
21578 fi
21579
21580 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
21581   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
21582 fi
21583 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
21584   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
21585 fi
21586
21587
21588
21589
21590
21591
21592
21593
21594
21595
21596
21597
21598
21599
21600
21601
21602
21603
21604
21605
21606
21607
21608
21609
21610
21611
21612
21613
21614
21615
21616
21617
21618
21619
21620
21621
21622
21623
21624     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
21625 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
21626 hardcode_action_CXX=
21627 if test -n "$hardcode_libdir_flag_spec_CXX" ||
21628    test -n "$runpath_var_CXX" ||
21629    test "X$hardcode_automatic_CXX" = "Xyes" ; then
21630
21631   # We can hardcode non-existent directories.
21632   if test "$hardcode_direct_CXX" != no &&
21633      # If the only mechanism to avoid hardcoding is shlibpath_var, we
21634      # have to relink, otherwise we might link with an installed library
21635      # when we should be linking with a yet-to-be-installed one
21636      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
21637      test "$hardcode_minus_L_CXX" != no; then
21638     # Linking always hardcodes the temporary library directory.
21639     hardcode_action_CXX=relink
21640   else
21641     # We can link without hardcoding, and we can hardcode nonexisting dirs.
21642     hardcode_action_CXX=immediate
21643   fi
21644 else
21645   # We cannot hardcode anything, or else we can only hardcode existing
21646   # directories.
21647   hardcode_action_CXX=unsupported
21648 fi
21649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
21650 $as_echo "$hardcode_action_CXX" >&6; }
21651
21652 if test "$hardcode_action_CXX" = relink ||
21653    test "$inherit_rpath_CXX" = yes; then
21654   # Fast installation is not supported
21655   enable_fast_install=no
21656 elif test "$shlibpath_overrides_runpath" = yes ||
21657      test "$enable_shared" = no; then
21658   # Fast installation is not necessary
21659   enable_fast_install=needless
21660 fi
21661
21662
21663
21664
21665
21666
21667
21668   fi # test -n "$compiler"
21669
21670   CC=$lt_save_CC
21671   CFLAGS=$lt_save_CFLAGS
21672   LDCXX=$LD
21673   LD=$lt_save_LD
21674   GCC=$lt_save_GCC
21675   with_gnu_ld=$lt_save_with_gnu_ld
21676   lt_cv_path_LDCXX=$lt_cv_path_LD
21677   lt_cv_path_LD=$lt_save_path_LD
21678   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
21679   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
21680 fi # test "$_lt_caught_CXX_error" != yes
21681
21682 ac_ext=c
21683 ac_cpp='$CPP $CPPFLAGS'
21684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21687
21688
21689 # Extract the first word of "$CXX", so it can be a program name with args.
21690 set dummy $CXX; ac_word=$2
21691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21692 $as_echo_n "checking for $ac_word... " >&6; }
21693 if ${ac_cv_prog_HAVE_CXX+:} false; then :
21694   $as_echo_n "(cached) " >&6
21695 else
21696   if test -n "$HAVE_CXX"; then
21697   ac_cv_prog_HAVE_CXX="$HAVE_CXX" # Let the user override the test.
21698 else
21699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21700 for as_dir in $PATH
21701 do
21702   IFS=$as_save_IFS
21703   test -z "$as_dir" && as_dir=.
21704     for ac_exec_ext in '' $ac_executable_extensions; do
21705   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21706     ac_cv_prog_HAVE_CXX="yes"
21707     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21708     break 2
21709   fi
21710 done
21711   done
21712 IFS=$as_save_IFS
21713
21714   test -z "$ac_cv_prog_HAVE_CXX" && ac_cv_prog_HAVE_CXX="no"
21715 fi
21716 fi
21717 HAVE_CXX=$ac_cv_prog_HAVE_CXX
21718 if test -n "$HAVE_CXX"; then
21719   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_CXX" >&5
21720 $as_echo "$HAVE_CXX" >&6; }
21721 else
21722   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21723 $as_echo "no" >&6; }
21724 fi
21725
21726
21727
21728
21729 if test -n "$ac_tool_prefix"; then
21730   for ac_prog in objcc objc gcc cc CC
21731   do
21732     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
21733 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
21734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21735 $as_echo_n "checking for $ac_word... " >&6; }
21736 if ${ac_cv_prog_OBJC+:} false; then :
21737   $as_echo_n "(cached) " >&6
21738 else
21739   if test -n "$OBJC"; then
21740   ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
21741 else
21742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21743 for as_dir in $PATH
21744 do
21745   IFS=$as_save_IFS
21746   test -z "$as_dir" && as_dir=.
21747     for ac_exec_ext in '' $ac_executable_extensions; do
21748   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21749     ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
21750     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21751     break 2
21752   fi
21753 done
21754   done
21755 IFS=$as_save_IFS
21756
21757 fi
21758 fi
21759 OBJC=$ac_cv_prog_OBJC
21760 if test -n "$OBJC"; then
21761   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
21762 $as_echo "$OBJC" >&6; }
21763 else
21764   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21765 $as_echo "no" >&6; }
21766 fi
21767
21768
21769     test -n "$OBJC" && break
21770   done
21771 fi
21772 if test -z "$OBJC"; then
21773   ac_ct_OBJC=$OBJC
21774   for ac_prog in objcc objc gcc cc CC
21775 do
21776   # Extract the first word of "$ac_prog", so it can be a program name with args.
21777 set dummy $ac_prog; ac_word=$2
21778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21779 $as_echo_n "checking for $ac_word... " >&6; }
21780 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
21781   $as_echo_n "(cached) " >&6
21782 else
21783   if test -n "$ac_ct_OBJC"; then
21784   ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
21785 else
21786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21787 for as_dir in $PATH
21788 do
21789   IFS=$as_save_IFS
21790   test -z "$as_dir" && as_dir=.
21791     for ac_exec_ext in '' $ac_executable_extensions; do
21792   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21793     ac_cv_prog_ac_ct_OBJC="$ac_prog"
21794     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21795     break 2
21796   fi
21797 done
21798   done
21799 IFS=$as_save_IFS
21800
21801 fi
21802 fi
21803 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
21804 if test -n "$ac_ct_OBJC"; then
21805   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
21806 $as_echo "$ac_ct_OBJC" >&6; }
21807 else
21808   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21809 $as_echo "no" >&6; }
21810 fi
21811
21812
21813   test -n "$ac_ct_OBJC" && break
21814 done
21815
21816   if test "x$ac_ct_OBJC" = x; then
21817     OBJC="none"
21818   else
21819     case $cross_compiling:$ac_tool_warned in
21820 yes:)
21821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
21822 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
21823 ac_tool_warned=yes ;;
21824 esac
21825     OBJC=$ac_ct_OBJC
21826   fi
21827 fi
21828
21829
21830 OBJC_LDFLAGS="-lobjc"
21831
21832 if test "x$OBJC" != xnone ; then
21833
21834 depcc="$OBJC" am_compiler_list='gcc3 gcc'
21835
21836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
21837 $as_echo_n "checking dependency style of $depcc... " >&6; }
21838 if ${am_cv_OBJC_dependencies_compiler_type+:} false; then :
21839   $as_echo_n "(cached) " >&6
21840 else
21841   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
21842   # We make a subdir and do the tests there.  Otherwise we can end up
21843   # making bogus files that we don't know about and never remove.  For
21844   # instance it was reported that on HP-UX the gcc test will end up
21845   # making a dummy file named `D' -- because `-MD' means `put the output
21846   # in D'.
21847   rm -rf conftest.dir
21848   mkdir conftest.dir
21849   # Copy depcomp to subdir because otherwise we won't find it if we're
21850   # using a relative directory.
21851   cp "$am_depcomp" conftest.dir
21852   cd conftest.dir
21853   # We will build objects and dependencies in a subdirectory because
21854   # it helps to detect inapplicable dependency modes.  For instance
21855   # both Tru64's cc and ICC support -MD to output dependencies as a
21856   # side effect of compilation, but ICC will put the dependencies in
21857   # the current directory while Tru64 will put them in the object
21858   # directory.
21859   mkdir sub
21860
21861   am_cv_OBJC_dependencies_compiler_type=none
21862   if test "$am_compiler_list" = ""; then
21863      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
21864   fi
21865   am__universal=false
21866
21867
21868   for depmode in $am_compiler_list; do
21869     # Setup a source with many dependencies, because some compilers
21870     # like to wrap large dependency lists on column 80 (with \), and
21871     # we should not choose a depcomp mode which is confused by this.
21872     #
21873     # We need to recreate these files for each test, as the compiler may
21874     # overwrite some of them when testing with obscure command lines.
21875     # This happens at least with the AIX C compiler.
21876     : > sub/conftest.c
21877     for i in 1 2 3 4 5 6; do
21878       echo '#include "conftst'$i'.h"' >> sub/conftest.c
21879       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
21880       # Solaris 8's {/usr,}/bin/sh.
21881       touch sub/conftst$i.h
21882     done
21883     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
21884
21885     # We check with `-c' and `-o' for the sake of the "dashmstdout"
21886     # mode.  It turns out that the SunPro C++ compiler does not properly
21887     # handle `-M -o', and we need to detect this.  Also, some Intel
21888     # versions had trouble with output in subdirs
21889     am__obj=sub/conftest.${OBJEXT-o}
21890     am__minus_obj="-o $am__obj"
21891     case $depmode in
21892     gcc)
21893       # This depmode causes a compiler race in universal mode.
21894       test "$am__universal" = false || continue
21895       ;;
21896     nosideeffect)
21897       # after this tag, mechanisms are not by side-effect, so they'll
21898       # only be used when explicitly requested
21899       if test "x$enable_dependency_tracking" = xyes; then
21900         continue
21901       else
21902         break
21903       fi
21904       ;;
21905     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
21906       # This compiler won't grok `-c -o', but also, the minuso test has
21907       # not run yet.  These depmodes are late enough in the game, and
21908       # so weak that their functioning should not be impacted.
21909       am__obj=conftest.${OBJEXT-o}
21910       am__minus_obj=
21911       ;;
21912     none) break ;;
21913     esac
21914     if depmode=$depmode \
21915        source=sub/conftest.c object=$am__obj \
21916        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
21917        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
21918          >/dev/null 2>conftest.err &&
21919        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
21920        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
21921        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
21922        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
21923       # icc doesn't choke on unknown options, it will just issue warnings
21924       # or remarks (even with -Werror).  So we grep stderr for any message
21925       # that says an option was ignored or not supported.
21926       # When given -MP, icc 7.0 and 7.1 complain thusly:
21927       #   icc: Command line warning: ignoring option '-M'; no argument required
21928       # The diagnosis changed in icc 8.0:
21929       #   icc: Command line remark: option '-MP' not supported
21930       if (grep 'ignoring option' conftest.err ||
21931           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
21932         am_cv_OBJC_dependencies_compiler_type=$depmode
21933         break
21934       fi
21935     fi
21936   done
21937
21938   cd ..
21939   rm -rf conftest.dir
21940 else
21941   am_cv_OBJC_dependencies_compiler_type=none
21942 fi
21943
21944 fi
21945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJC_dependencies_compiler_type" >&5
21946 $as_echo "$am_cv_OBJC_dependencies_compiler_type" >&6; }
21947 OBJCDEPMODE=depmode=$am_cv_OBJC_dependencies_compiler_type
21948
21949  if
21950   test "x$enable_dependency_tracking" != xno \
21951   && test "$am_cv_OBJC_dependencies_compiler_type" = gcc3; then
21952   am__fastdepOBJC_TRUE=
21953   am__fastdepOBJC_FALSE='#'
21954 else
21955   am__fastdepOBJC_TRUE='#'
21956   am__fastdepOBJC_FALSE=
21957 fi
21958
21959
21960   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Objective C compiler works" >&5
21961 $as_echo_n "checking if Objective C compiler works... " >&6; }
21962   cat >>conftest.m <<EOF
21963 #include <objc/Object.h>
21964 @interface Moo:Object
21965 {
21966 }
21967 - moo;
21968 int main();
21969 @end
21970
21971 @implementation Moo
21972 - moo
21973 {
21974   exit(0);
21975 }
21976
21977 int main()
21978 {
21979   id moo;
21980   moo = [Moo new];
21981   [moo moo];
21982   return 1;
21983 }
21984 @end
21985 EOF
21986   ${OBJC} conftest.m ${OBJC_LDFLAGS} >&5 2>&5
21987   if test -f a.out -o -f a.exe ; then
21988     result=yes
21989   else
21990     result=no
21991     echo failed program is: >&5
21992     cat conftest.m >&5
21993   fi
21994   rm -f conftest.m a.out a.exe
21995   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
21996 $as_echo "$result" >&6; }
21997 else
21998
21999 depcc="$OBJC" am_compiler_list='gcc3 gcc'
22000
22001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
22002 $as_echo_n "checking dependency style of $depcc... " >&6; }
22003 if ${am_cv_OBJC_dependencies_compiler_type+:} false; then :
22004   $as_echo_n "(cached) " >&6
22005 else
22006   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
22007   # We make a subdir and do the tests there.  Otherwise we can end up
22008   # making bogus files that we don't know about and never remove.  For
22009   # instance it was reported that on HP-UX the gcc test will end up
22010   # making a dummy file named `D' -- because `-MD' means `put the output
22011   # in D'.
22012   rm -rf conftest.dir
22013   mkdir conftest.dir
22014   # Copy depcomp to subdir because otherwise we won't find it if we're
22015   # using a relative directory.
22016   cp "$am_depcomp" conftest.dir
22017   cd conftest.dir
22018   # We will build objects and dependencies in a subdirectory because
22019   # it helps to detect inapplicable dependency modes.  For instance
22020   # both Tru64's cc and ICC support -MD to output dependencies as a
22021   # side effect of compilation, but ICC will put the dependencies in
22022   # the current directory while Tru64 will put them in the object
22023   # directory.
22024   mkdir sub
22025
22026   am_cv_OBJC_dependencies_compiler_type=none
22027   if test "$am_compiler_list" = ""; then
22028      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
22029   fi
22030   am__universal=false
22031
22032
22033   for depmode in $am_compiler_list; do
22034     # Setup a source with many dependencies, because some compilers
22035     # like to wrap large dependency lists on column 80 (with \), and
22036     # we should not choose a depcomp mode which is confused by this.
22037     #
22038     # We need to recreate these files for each test, as the compiler may
22039     # overwrite some of them when testing with obscure command lines.
22040     # This happens at least with the AIX C compiler.
22041     : > sub/conftest.c
22042     for i in 1 2 3 4 5 6; do
22043       echo '#include "conftst'$i'.h"' >> sub/conftest.c
22044       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
22045       # Solaris 8's {/usr,}/bin/sh.
22046       touch sub/conftst$i.h
22047     done
22048     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
22049
22050     # We check with `-c' and `-o' for the sake of the "dashmstdout"
22051     # mode.  It turns out that the SunPro C++ compiler does not properly
22052     # handle `-M -o', and we need to detect this.  Also, some Intel
22053     # versions had trouble with output in subdirs
22054     am__obj=sub/conftest.${OBJEXT-o}
22055     am__minus_obj="-o $am__obj"
22056     case $depmode in
22057     gcc)
22058       # This depmode causes a compiler race in universal mode.
22059       test "$am__universal" = false || continue
22060       ;;
22061     nosideeffect)
22062       # after this tag, mechanisms are not by side-effect, so they'll
22063       # only be used when explicitly requested
22064       if test "x$enable_dependency_tracking" = xyes; then
22065         continue
22066       else
22067         break
22068       fi
22069       ;;
22070     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
22071       # This compiler won't grok `-c -o', but also, the minuso test has
22072       # not run yet.  These depmodes are late enough in the game, and
22073       # so weak that their functioning should not be impacted.
22074       am__obj=conftest.${OBJEXT-o}
22075       am__minus_obj=
22076       ;;
22077     none) break ;;
22078     esac
22079     if depmode=$depmode \
22080        source=sub/conftest.c object=$am__obj \
22081        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
22082        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
22083          >/dev/null 2>conftest.err &&
22084        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
22085        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
22086        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
22087        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
22088       # icc doesn't choke on unknown options, it will just issue warnings
22089       # or remarks (even with -Werror).  So we grep stderr for any message
22090       # that says an option was ignored or not supported.
22091       # When given -MP, icc 7.0 and 7.1 complain thusly:
22092       #   icc: Command line warning: ignoring option '-M'; no argument required
22093       # The diagnosis changed in icc 8.0:
22094       #   icc: Command line remark: option '-MP' not supported
22095       if (grep 'ignoring option' conftest.err ||
22096           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
22097         am_cv_OBJC_dependencies_compiler_type=$depmode
22098         break
22099       fi
22100     fi
22101   done
22102
22103   cd ..
22104   rm -rf conftest.dir
22105 else
22106   am_cv_OBJC_dependencies_compiler_type=none
22107 fi
22108
22109 fi
22110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJC_dependencies_compiler_type" >&5
22111 $as_echo "$am_cv_OBJC_dependencies_compiler_type" >&6; }
22112 OBJCDEPMODE=depmode=$am_cv_OBJC_dependencies_compiler_type
22113
22114  if
22115   test "x$enable_dependency_tracking" != xno \
22116   && test "$am_cv_OBJC_dependencies_compiler_type" = gcc3; then
22117   am__fastdepOBJC_TRUE=
22118   am__fastdepOBJC_FALSE='#'
22119 else
22120   am__fastdepOBJC_TRUE='#'
22121   am__fastdepOBJC_FALSE=
22122 fi
22123
22124
22125 fi
22126
22127
22128
22129 if test "x$CC" != xcc; then
22130   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
22131 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
22132 else
22133   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
22134 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
22135 fi
22136 set dummy $CC; ac_cc=`$as_echo "$2" |
22137                       sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
22138 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
22139   $as_echo_n "(cached) " >&6
22140 else
22141   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22142 /* end confdefs.h.  */
22143
22144 int
22145 main ()
22146 {
22147
22148   ;
22149   return 0;
22150 }
22151 _ACEOF
22152 # Make sure it works both with $CC and with simple cc.
22153 # We do the test twice because some compilers refuse to overwrite an
22154 # existing .o file with -o, though they will create one.
22155 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
22156 rm -f conftest2.*
22157 if { { case "(($ac_try" in
22158   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22159   *) ac_try_echo=$ac_try;;
22160 esac
22161 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
22162 $as_echo "$ac_try_echo"; } >&5
22163   (eval "$ac_try") 2>&5
22164   ac_status=$?
22165   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22166   test $ac_status = 0; } &&
22167    test -f conftest2.$ac_objext && { { case "(($ac_try" in
22168   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22169   *) ac_try_echo=$ac_try;;
22170 esac
22171 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
22172 $as_echo "$ac_try_echo"; } >&5
22173   (eval "$ac_try") 2>&5
22174   ac_status=$?
22175   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22176   test $ac_status = 0; };
22177 then
22178   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
22179   if test "x$CC" != xcc; then
22180     # Test first that cc exists at all.
22181     if { ac_try='cc -c conftest.$ac_ext >&5'
22182   { { case "(($ac_try" in
22183   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22184   *) ac_try_echo=$ac_try;;
22185 esac
22186 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
22187 $as_echo "$ac_try_echo"; } >&5
22188   (eval "$ac_try") 2>&5
22189   ac_status=$?
22190   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22191   test $ac_status = 0; }; }; then
22192       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
22193       rm -f conftest2.*
22194       if { { case "(($ac_try" in
22195   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22196   *) ac_try_echo=$ac_try;;
22197 esac
22198 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
22199 $as_echo "$ac_try_echo"; } >&5
22200   (eval "$ac_try") 2>&5
22201   ac_status=$?
22202   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22203   test $ac_status = 0; } &&
22204          test -f conftest2.$ac_objext && { { case "(($ac_try" in
22205   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22206   *) ac_try_echo=$ac_try;;
22207 esac
22208 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
22209 $as_echo "$ac_try_echo"; } >&5
22210   (eval "$ac_try") 2>&5
22211   ac_status=$?
22212   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22213   test $ac_status = 0; };
22214       then
22215         # cc works too.
22216         :
22217       else
22218         # cc exists but doesn't like -o.
22219         eval ac_cv_prog_cc_${ac_cc}_c_o=no
22220       fi
22221     fi
22222   fi
22223 else
22224   eval ac_cv_prog_cc_${ac_cc}_c_o=no
22225 fi
22226 rm -f core conftest*
22227
22228 fi
22229 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
22230   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22231 $as_echo "yes" >&6; }
22232 else
22233   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22234 $as_echo "no" >&6; }
22235
22236 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
22237
22238 fi
22239
22240 # FIXME: we rely on the cache variable name because
22241 # there is no other way.
22242 set dummy $CC
22243 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
22244 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
22245 if test "$am_t" != yes; then
22246    # Losing compiler, so override with the script.
22247    # FIXME: It is wrong to rewrite CC.
22248    # But if we don't then we get into trouble of one sort or another.
22249    # A longer-term fix would be to have automake use am__CC in this case,
22250    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
22251    CC="$am_aux_dir/compile $CC"
22252 fi
22253
22254
22255
22256
22257
22258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working do while(0) macros" >&5
22259 $as_echo_n "checking for working do while(0) macros... " >&6; }
22260 if ${_cv_g_support_dowhile_macros+:} false; then :
22261   $as_echo_n "(cached) " >&6
22262 else
22263
22264         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22265 /* end confdefs.h.  */
22266
22267 int
22268 main ()
22269 {
22270
22271         #define STMT_START do
22272         #define STMT_END while(0)
22273         #define STMT_TEST STMT_START { i = 0; } STMT_END
22274         int main(void) { int i = 1; STMT_TEST; return i; }
22275   ;
22276   return 0;
22277 }
22278 _ACEOF
22279 if ac_fn_c_try_compile "$LINENO"; then :
22280   _cv_g_support_dowhile_macros=yes
22281 else
22282   _cv_g_support_dowhile_macros=no
22283 fi
22284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22285
22286 fi
22287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_g_support_dowhile_macros" >&5
22288 $as_echo "$_cv_g_support_dowhile_macros" >&6; }
22289 if test x$_cv_g_support_dowhile_macros = xyes; then
22290
22291 $as_echo "#define HAVE_DOWHILE_MACROS 1" >>confdefs.h
22292
22293 fi
22294
22295
22296 # Extract the first word of "valgrind", so it can be a program name with args.
22297 set dummy valgrind; ac_word=$2
22298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22299 $as_echo_n "checking for $ac_word... " >&6; }
22300 if ${ac_cv_path_VALGRIND_PATH+:} false; then :
22301   $as_echo_n "(cached) " >&6
22302 else
22303   case $VALGRIND_PATH in
22304   [\\/]* | ?:[\\/]*)
22305   ac_cv_path_VALGRIND_PATH="$VALGRIND_PATH" # Let the user override the test with a path.
22306   ;;
22307   *)
22308   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22309 for as_dir in $PATH
22310 do
22311   IFS=$as_save_IFS
22312   test -z "$as_dir" && as_dir=.
22313     for ac_exec_ext in '' $ac_executable_extensions; do
22314   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22315     ac_cv_path_VALGRIND_PATH="$as_dir/$ac_word$ac_exec_ext"
22316     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22317     break 2
22318   fi
22319 done
22320   done
22321 IFS=$as_save_IFS
22322
22323   test -z "$ac_cv_path_VALGRIND_PATH" && ac_cv_path_VALGRIND_PATH="no"
22324   ;;
22325 esac
22326 fi
22327 VALGRIND_PATH=$ac_cv_path_VALGRIND_PATH
22328 if test -n "$VALGRIND_PATH"; then
22329   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALGRIND_PATH" >&5
22330 $as_echo "$VALGRIND_PATH" >&6; }
22331 else
22332   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22333 $as_echo "no" >&6; }
22334 fi
22335
22336
22337  if test ! "x$VALGRIND_PATH" = "xno"; then
22338   HAVE_VALGRIND_TRUE=
22339   HAVE_VALGRIND_FALSE='#'
22340 else
22341   HAVE_VALGRIND_TRUE='#'
22342   HAVE_VALGRIND_FALSE=
22343 fi
22344
22345
22346
22347
22348 # Check whether --with-html-dir was given.
22349 if test "${with_html_dir+set}" = set; then :
22350   withval=$with_html_dir;
22351 else
22352   with_html_dir='${datadir}/gtk-doc/html'
22353 fi
22354
22355   HTML_DIR="$with_html_dir"
22356
22357
22358     # Check whether --enable-gtk-doc was given.
22359 if test "${enable_gtk_doc+set}" = set; then :
22360   enableval=$enable_gtk_doc;
22361 else
22362   enable_gtk_doc=no
22363 fi
22364
22365
22366   if test x$enable_gtk_doc = xyes; then
22367     if test -n "$PKG_CONFIG" && \
22368     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.3\""; } >&5
22369   ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.3") 2>&5
22370   ac_status=$?
22371   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22372   test $ac_status = 0; }; then
22373   :
22374 else
22375   as_fn_error $? "You need to have gtk-doc >= 1.3 installed to build gtk-doc" "$LINENO" 5
22376 fi
22377     if test -z "$SED"; then
22378       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
22379 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
22380 if ${ac_cv_path_SED+:} false; then :
22381   $as_echo_n "(cached) " >&6
22382 else
22383             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
22384      for ac_i in 1 2 3 4 5 6 7; do
22385        ac_script="$ac_script$as_nl$ac_script"
22386      done
22387      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
22388      { ac_script=; unset ac_script;}
22389      if test -z "$SED"; then
22390   ac_path_SED_found=false
22391   # Loop through the user's path and test for each of PROGNAME-LIST
22392   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22393 for as_dir in $PATH
22394 do
22395   IFS=$as_save_IFS
22396   test -z "$as_dir" && as_dir=.
22397     for ac_prog in sed gsed; do
22398     for ac_exec_ext in '' $ac_executable_extensions; do
22399       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
22400       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
22401 # Check for GNU ac_path_SED and select it if it is found.
22402   # Check for GNU $ac_path_SED
22403 case `"$ac_path_SED" --version 2>&1` in
22404 *GNU*)
22405   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
22406 *)
22407   ac_count=0
22408   $as_echo_n 0123456789 >"conftest.in"
22409   while :
22410   do
22411     cat "conftest.in" "conftest.in" >"conftest.tmp"
22412     mv "conftest.tmp" "conftest.in"
22413     cp "conftest.in" "conftest.nl"
22414     $as_echo '' >> "conftest.nl"
22415     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
22416     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
22417     as_fn_arith $ac_count + 1 && ac_count=$as_val
22418     if test $ac_count -gt ${ac_path_SED_max-0}; then
22419       # Best one so far, save it but keep looking for a better one
22420       ac_cv_path_SED="$ac_path_SED"
22421       ac_path_SED_max=$ac_count
22422     fi
22423     # 10*(2^10) chars as input seems more than enough
22424     test $ac_count -gt 10 && break
22425   done
22426   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
22427 esac
22428
22429       $ac_path_SED_found && break 3
22430     done
22431   done
22432   done
22433 IFS=$as_save_IFS
22434   if test -z "$ac_cv_path_SED"; then
22435     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
22436   fi
22437 else
22438   ac_cv_path_SED=$SED
22439 fi
22440
22441 fi
22442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
22443 $as_echo "$ac_cv_path_SED" >&6; }
22444  SED="$ac_cv_path_SED"
22445   rm -f conftest.sed
22446
22447     fi
22448   fi
22449
22450   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
22451 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
22452   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
22453 $as_echo "$enable_gtk_doc" >&6; }
22454
22455   for ac_prog in gtkdoc-check
22456 do
22457   # Extract the first word of "$ac_prog", so it can be a program name with args.
22458 set dummy $ac_prog; ac_word=$2
22459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22460 $as_echo_n "checking for $ac_word... " >&6; }
22461 if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
22462   $as_echo_n "(cached) " >&6
22463 else
22464   case $GTKDOC_CHECK in
22465   [\\/]* | ?:[\\/]*)
22466   ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
22467   ;;
22468   *)
22469   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22470 for as_dir in $PATH
22471 do
22472   IFS=$as_save_IFS
22473   test -z "$as_dir" && as_dir=.
22474     for ac_exec_ext in '' $ac_executable_extensions; do
22475   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22476     ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
22477     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22478     break 2
22479   fi
22480 done
22481   done
22482 IFS=$as_save_IFS
22483
22484   ;;
22485 esac
22486 fi
22487 GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
22488 if test -n "$GTKDOC_CHECK"; then
22489   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
22490 $as_echo "$GTKDOC_CHECK" >&6; }
22491 else
22492   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22493 $as_echo "no" >&6; }
22494 fi
22495
22496
22497   test -n "$GTKDOC_CHECK" && break
22498 done
22499
22500
22501    if test x$enable_gtk_doc = xyes; then
22502   ENABLE_GTK_DOC_TRUE=
22503   ENABLE_GTK_DOC_FALSE='#'
22504 else
22505   ENABLE_GTK_DOC_TRUE='#'
22506   ENABLE_GTK_DOC_FALSE=
22507 fi
22508
22509    if test -n "$LIBTOOL"; then
22510   GTK_DOC_USE_LIBTOOL_TRUE=
22511   GTK_DOC_USE_LIBTOOL_FALSE='#'
22512 else
22513   GTK_DOC_USE_LIBTOOL_TRUE='#'
22514   GTK_DOC_USE_LIBTOOL_FALSE=
22515 fi
22516
22517
22518
22519
22520     PYTHON_CANDIDATES="python python2.2 python2.1 python2.0 python2 \
22521                      python1.6 python1.5"
22522
22523      { $as_echo "$as_me:${as_lineno-$LINENO}: Looking for Python version >= 2.1" >&5
22524 $as_echo "$as_me: Looking for Python version >= 2.1" >&6;}
22525         prog="
22526 import sys, string
22527 minver = '2.1'
22528 # split string by '.' and convert to numeric
22529 minver_info = map(string.atoi, string.split(minver, '.'))
22530 # we can now do comparisons on the two lists:
22531 if sys.version_info >= tuple(minver_info):
22532         sys.exit(0)
22533 else:
22534         sys.exit(1)"
22535
22536     python_good=false
22537     for python_candidate in $PYTHON_CANDIDATES; do
22538       unset PYTHON
22539       # Extract the first word of "$python_candidate", so it can be a program name with args.
22540 set dummy $python_candidate; ac_word=$2
22541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22542 $as_echo_n "checking for $ac_word... " >&6; }
22543 if ${ac_cv_path_PYTHON+:} false; then :
22544   $as_echo_n "(cached) " >&6
22545 else
22546   case $PYTHON in
22547   [\\/]* | ?:[\\/]*)
22548   ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
22549   ;;
22550   *)
22551   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22552 for as_dir in $PATH
22553 do
22554   IFS=$as_save_IFS
22555   test -z "$as_dir" && as_dir=.
22556     for ac_exec_ext in '' $ac_executable_extensions; do
22557   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22558     ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
22559     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22560     break 2
22561   fi
22562 done
22563   done
22564 IFS=$as_save_IFS
22565
22566   ;;
22567 esac
22568 fi
22569 PYTHON=$ac_cv_path_PYTHON
22570 if test -n "$PYTHON"; then
22571   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
22572 $as_echo "$PYTHON" >&6; }
22573 else
22574   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22575 $as_echo "no" >&6; }
22576 fi
22577
22578  1> /dev/null 2> /dev/null
22579
22580       if test "x$PYTHON" = "x"; then continue; fi
22581
22582       if $PYTHON -c "$prog" 1>&5 2>&5; then
22583         { $as_echo "$as_me:${as_lineno-$LINENO}: checking \"$PYTHON\":" >&5
22584 $as_echo_n "checking \"$PYTHON\":... " >&6; }
22585         { $as_echo "$as_me:${as_lineno-$LINENO}: result: okay" >&5
22586 $as_echo "okay" >&6; }
22587         python_good=true
22588         break;
22589       else
22590                 unset ac_cv_path_PYTHON
22591       fi
22592     done
22593
22594
22595   if test "$python_good" != "true"; then
22596     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No suitable version of python found" >&5
22597 $as_echo "$as_me: WARNING: No suitable version of python found" >&2;}
22598     PYTHON=
22599   else
22600
22601   { $as_echo "$as_me:${as_lineno-$LINENO}: checking local Python configuration" >&5
22602 $as_echo_n "checking local Python configuration... " >&6; }
22603
22604
22605
22606     PYTHON_VERSION=`$PYTHON -c "import sys; print sys.version[:3]"`
22607
22608
22609
22610
22611   PYTHON_PREFIX='${prefix}'
22612
22613
22614   PYTHON_EXEC_PREFIX='${exec_prefix}'
22615
22616
22617
22618   PYTHON_PLATFORM=`$PYTHON -c "import sys; print sys.platform"`
22619
22620
22621
22622
22623
22624   pythondir=$PYTHON_PREFIX"/lib/python"$PYTHON_VERSION/site-packages
22625
22626
22627
22628   pkgpythondir=\${pythondir}/$PACKAGE
22629
22630
22631
22632   pyexecdir=$PYTHON_EXEC_PREFIX"/lib/python"$PYTHON_VERSION/site-packages
22633
22634
22635
22636   pkgpyexecdir=\${pyexecdir}/$PACKAGE
22637
22638   { $as_echo "$as_me:${as_lineno-$LINENO}: result: looks good" >&5
22639 $as_echo "looks good" >&6; }
22640
22641   fi
22642
22643
22644
22645   build_plugin_docs=no
22646   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build plugin documentation" >&5
22647 $as_echo_n "checking whether to build plugin documentation... " >&6; }
22648   if test x$enable_gtk_doc = xyes; then
22649     build_plugin_docs=yes
22650     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22651 $as_echo "yes" >&6; }
22652   else
22653     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (gtk-doc disabled or not available)" >&5
22654 $as_echo "no (gtk-doc disabled or not available)" >&6; }
22655   fi
22656
22657    if test x$build_plugin_docs = xyes; then
22658   ENABLE_PLUGIN_DOCS_TRUE=
22659   ENABLE_PLUGIN_DOCS_FALSE='#'
22660 else
22661   ENABLE_PLUGIN_DOCS_TRUE='#'
22662   ENABLE_PLUGIN_DOCS_FALSE=
22663 fi
22664
22665
22666
22667
22668 LIBM=
22669 case $host in
22670 *-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
22671   # These system don't have libm, or don't need it
22672   ;;
22673 *-ncr-sysv4.3*)
22674   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
22675 $as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
22676 if ${ac_cv_lib_mw__mwvalidcheckl+:} false; then :
22677   $as_echo_n "(cached) " >&6
22678 else
22679   ac_check_lib_save_LIBS=$LIBS
22680 LIBS="-lmw  $LIBS"
22681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22682 /* end confdefs.h.  */
22683
22684 /* Override any GCC internal prototype to avoid an error.
22685    Use char because int might match the return type of a GCC
22686    builtin and then its argument prototype would still apply.  */
22687 #ifdef __cplusplus
22688 extern "C"
22689 #endif
22690 char _mwvalidcheckl ();
22691 int
22692 main ()
22693 {
22694 return _mwvalidcheckl ();
22695   ;
22696   return 0;
22697 }
22698 _ACEOF
22699 if ac_fn_c_try_link "$LINENO"; then :
22700   ac_cv_lib_mw__mwvalidcheckl=yes
22701 else
22702   ac_cv_lib_mw__mwvalidcheckl=no
22703 fi
22704 rm -f core conftest.err conftest.$ac_objext \
22705     conftest$ac_exeext conftest.$ac_ext
22706 LIBS=$ac_check_lib_save_LIBS
22707 fi
22708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
22709 $as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
22710 if test "x$ac_cv_lib_mw__mwvalidcheckl" = xyes; then :
22711   LIBM="-lmw"
22712 fi
22713
22714   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
22715 $as_echo_n "checking for cos in -lm... " >&6; }
22716 if ${ac_cv_lib_m_cos+:} false; then :
22717   $as_echo_n "(cached) " >&6
22718 else
22719   ac_check_lib_save_LIBS=$LIBS
22720 LIBS="-lm  $LIBS"
22721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22722 /* end confdefs.h.  */
22723
22724 /* Override any GCC internal prototype to avoid an error.
22725    Use char because int might match the return type of a GCC
22726    builtin and then its argument prototype would still apply.  */
22727 #ifdef __cplusplus
22728 extern "C"
22729 #endif
22730 char cos ();
22731 int
22732 main ()
22733 {
22734 return cos ();
22735   ;
22736   return 0;
22737 }
22738 _ACEOF
22739 if ac_fn_c_try_link "$LINENO"; then :
22740   ac_cv_lib_m_cos=yes
22741 else
22742   ac_cv_lib_m_cos=no
22743 fi
22744 rm -f core conftest.err conftest.$ac_objext \
22745     conftest$ac_exeext conftest.$ac_ext
22746 LIBS=$ac_check_lib_save_LIBS
22747 fi
22748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
22749 $as_echo "$ac_cv_lib_m_cos" >&6; }
22750 if test "x$ac_cv_lib_m_cos" = xyes; then :
22751   LIBM="$LIBM -lm"
22752 fi
22753
22754   ;;
22755 *)
22756   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
22757 $as_echo_n "checking for cos in -lm... " >&6; }
22758 if ${ac_cv_lib_m_cos+:} false; then :
22759   $as_echo_n "(cached) " >&6
22760 else
22761   ac_check_lib_save_LIBS=$LIBS
22762 LIBS="-lm  $LIBS"
22763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22764 /* end confdefs.h.  */
22765
22766 /* Override any GCC internal prototype to avoid an error.
22767    Use char because int might match the return type of a GCC
22768    builtin and then its argument prototype would still apply.  */
22769 #ifdef __cplusplus
22770 extern "C"
22771 #endif
22772 char cos ();
22773 int
22774 main ()
22775 {
22776 return cos ();
22777   ;
22778   return 0;
22779 }
22780 _ACEOF
22781 if ac_fn_c_try_link "$LINENO"; then :
22782   ac_cv_lib_m_cos=yes
22783 else
22784   ac_cv_lib_m_cos=no
22785 fi
22786 rm -f core conftest.err conftest.$ac_objext \
22787     conftest$ac_exeext conftest.$ac_ext
22788 LIBS=$ac_check_lib_save_LIBS
22789 fi
22790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
22791 $as_echo "$ac_cv_lib_m_cos" >&6; }
22792 if test "x$ac_cv_lib_m_cos" = xyes; then :
22793   LIBM="-lm"
22794 fi
22795
22796   ;;
22797 esac
22798
22799
22800
22801
22802
22803
22804
22805   for ac_header in $ac_header_list
22806 do :
22807   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
22808 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
22809 "
22810 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
22811   cat >>confdefs.h <<_ACEOF
22812 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
22813 _ACEOF
22814
22815 fi
22816
22817 done
22818
22819
22820
22821
22822
22823
22824
22825
22826 for ac_func in getpagesize
22827 do :
22828   ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
22829 if test "x$ac_cv_func_getpagesize" = xyes; then :
22830   cat >>confdefs.h <<_ACEOF
22831 #define HAVE_GETPAGESIZE 1
22832 _ACEOF
22833
22834 fi
22835 done
22836
22837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
22838 $as_echo_n "checking for working mmap... " >&6; }
22839 if ${ac_cv_func_mmap_fixed_mapped+:} false; then :
22840   $as_echo_n "(cached) " >&6
22841 else
22842   if test "$cross_compiling" = yes; then :
22843   ac_cv_func_mmap_fixed_mapped=no
22844 else
22845   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22846 /* end confdefs.h.  */
22847 $ac_includes_default
22848 /* malloc might have been renamed as rpl_malloc. */
22849 #undef malloc
22850
22851 /* Thanks to Mike Haertel and Jim Avera for this test.
22852    Here is a matrix of mmap possibilities:
22853         mmap private not fixed
22854         mmap private fixed at somewhere currently unmapped
22855         mmap private fixed at somewhere already mapped
22856         mmap shared not fixed
22857         mmap shared fixed at somewhere currently unmapped
22858         mmap shared fixed at somewhere already mapped
22859    For private mappings, we should verify that changes cannot be read()
22860    back from the file, nor mmap's back from the file at a different
22861    address.  (There have been systems where private was not correctly
22862    implemented like the infamous i386 svr4.0, and systems where the
22863    VM page cache was not coherent with the file system buffer cache
22864    like early versions of FreeBSD and possibly contemporary NetBSD.)
22865    For shared mappings, we should conversely verify that changes get
22866    propagated back to all the places they're supposed to be.
22867
22868    Grep wants private fixed already mapped.
22869    The main things grep needs to know about mmap are:
22870    * does it exist and is it safe to write into the mmap'd area
22871    * how to use it (BSD variants)  */
22872
22873 #include <fcntl.h>
22874 #include <sys/mman.h>
22875
22876 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
22877 char *malloc ();
22878 #endif
22879
22880 /* This mess was copied from the GNU getpagesize.h.  */
22881 #ifndef HAVE_GETPAGESIZE
22882 # ifdef _SC_PAGESIZE
22883 #  define getpagesize() sysconf(_SC_PAGESIZE)
22884 # else /* no _SC_PAGESIZE */
22885 #  ifdef HAVE_SYS_PARAM_H
22886 #   include <sys/param.h>
22887 #   ifdef EXEC_PAGESIZE
22888 #    define getpagesize() EXEC_PAGESIZE
22889 #   else /* no EXEC_PAGESIZE */
22890 #    ifdef NBPG
22891 #     define getpagesize() NBPG * CLSIZE
22892 #     ifndef CLSIZE
22893 #      define CLSIZE 1
22894 #     endif /* no CLSIZE */
22895 #    else /* no NBPG */
22896 #     ifdef NBPC
22897 #      define getpagesize() NBPC
22898 #     else /* no NBPC */
22899 #      ifdef PAGESIZE
22900 #       define getpagesize() PAGESIZE
22901 #      endif /* PAGESIZE */
22902 #     endif /* no NBPC */
22903 #    endif /* no NBPG */
22904 #   endif /* no EXEC_PAGESIZE */
22905 #  else /* no HAVE_SYS_PARAM_H */
22906 #   define getpagesize() 8192   /* punt totally */
22907 #  endif /* no HAVE_SYS_PARAM_H */
22908 # endif /* no _SC_PAGESIZE */
22909
22910 #endif /* no HAVE_GETPAGESIZE */
22911
22912 int
22913 main ()
22914 {
22915   char *data, *data2, *data3;
22916   const char *cdata2;
22917   int i, pagesize;
22918   int fd, fd2;
22919
22920   pagesize = getpagesize ();
22921
22922   /* First, make a file with some known garbage in it. */
22923   data = (char *) malloc (pagesize);
22924   if (!data)
22925     return 1;
22926   for (i = 0; i < pagesize; ++i)
22927     *(data + i) = rand ();
22928   umask (0);
22929   fd = creat ("conftest.mmap", 0600);
22930   if (fd < 0)
22931     return 2;
22932   if (write (fd, data, pagesize) != pagesize)
22933     return 3;
22934   close (fd);
22935
22936   /* Next, check that the tail of a page is zero-filled.  File must have
22937      non-zero length, otherwise we risk SIGBUS for entire page.  */
22938   fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
22939   if (fd2 < 0)
22940     return 4;
22941   cdata2 = "";
22942   if (write (fd2, cdata2, 1) != 1)
22943     return 5;
22944   data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
22945   if (data2 == MAP_FAILED)
22946     return 6;
22947   for (i = 0; i < pagesize; ++i)
22948     if (*(data2 + i))
22949       return 7;
22950   close (fd2);
22951   if (munmap (data2, pagesize))
22952     return 8;
22953
22954   /* Next, try to mmap the file at a fixed address which already has
22955      something else allocated at it.  If we can, also make sure that
22956      we see the same garbage.  */
22957   fd = open ("conftest.mmap", O_RDWR);
22958   if (fd < 0)
22959     return 9;
22960   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
22961                      MAP_PRIVATE | MAP_FIXED, fd, 0L))
22962     return 10;
22963   for (i = 0; i < pagesize; ++i)
22964     if (*(data + i) != *(data2 + i))
22965       return 11;
22966
22967   /* Finally, make sure that changes to the mapped area do not
22968      percolate back to the file as seen by read().  (This is a bug on
22969      some variants of i386 svr4.0.)  */
22970   for (i = 0; i < pagesize; ++i)
22971     *(data2 + i) = *(data2 + i) + 1;
22972   data3 = (char *) malloc (pagesize);
22973   if (!data3)
22974     return 12;
22975   if (read (fd, data3, pagesize) != pagesize)
22976     return 13;
22977   for (i = 0; i < pagesize; ++i)
22978     if (*(data + i) != *(data3 + i))
22979       return 14;
22980   close (fd);
22981   return 0;
22982 }
22983 _ACEOF
22984 if ac_fn_c_try_run "$LINENO"; then :
22985   ac_cv_func_mmap_fixed_mapped=yes
22986 else
22987   ac_cv_func_mmap_fixed_mapped=no
22988 fi
22989 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
22990   conftest.$ac_objext conftest.beam conftest.$ac_ext
22991 fi
22992
22993 fi
22994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
22995 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
22996 if test $ac_cv_func_mmap_fixed_mapped = yes; then
22997
22998 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
22999
23000 fi
23001 rm -f conftest.mmap conftest.txt
23002
23003
23004
23005 for ac_header in unistd.h
23006 do :
23007   ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
23008 if test "x$ac_cv_header_unistd_h" = xyes; then :
23009   cat >>confdefs.h <<_ACEOF
23010 #define HAVE_UNISTD_H 1
23011 _ACEOF
23012  HAVE_UNISTD_H=yes
23013 fi
23014
23015 done
23016
23017  if test "x$HAVE_UNISTD_H" = "xyes"; then
23018   HAVE_UNISTD_H_TRUE=
23019   HAVE_UNISTD_H_FALSE='#'
23020 else
23021   HAVE_UNISTD_H_TRUE='#'
23022   HAVE_UNISTD_H_FALSE=
23023 fi
23024
23025
23026 if test "x$HAVE_UNISTD_H" != "xyes"; then
23027   GST_PLUGINS_SELECTED=`echo $GST_PLUGINS_SELECTED | $SED -e s/festival//`
23028 fi
23029
23030 for ac_header in sys/time.h
23031 do :
23032   ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
23033 if test "x$ac_cv_header_sys_time_h" = xyes; then :
23034   cat >>confdefs.h <<_ACEOF
23035 #define HAVE_SYS_TIME_H 1
23036 _ACEOF
23037
23038 fi
23039
23040 done
23041
23042
23043 # ------ AX CREATE STDINT H -------------------------------------
23044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint types" >&5
23045 $as_echo_n "checking for stdint types... " >&6; }
23046 ac_stdint_h=`echo _stdint.h`
23047 # try to shortcircuit - if the default include path of the compiler
23048 # can find a "stdint.h" header then we assume that all compilers can.
23049 if ${ac_cv_header_stdint_t+:} false; then :
23050   $as_echo_n "(cached) " >&6
23051 else
23052
23053 old_CXXFLAGS="$CXXFLAGS" ; CXXFLAGS=""
23054 old_CPPFLAGS="$CPPFLAGS" ; CPPFLAGS=""
23055 old_CFLAGS="$CFLAGS"     ; CFLAGS=""
23056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23057 /* end confdefs.h.  */
23058 #include <stdint.h>
23059 int
23060 main ()
23061 {
23062 int_least32_t v = 0;
23063   ;
23064   return 0;
23065 }
23066 _ACEOF
23067 if ac_fn_c_try_compile "$LINENO"; then :
23068   ac_cv_stdint_result="(assuming C99 compatible system)"
23069  ac_cv_header_stdint_t="stdint.h";
23070 else
23071   ac_cv_header_stdint_t=""
23072 fi
23073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23074 if test "$GCC" = "yes" && test ".$ac_cv_header_stdint_t" = "."; then
23075 CFLAGS="-std=c99"
23076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23077 /* end confdefs.h.  */
23078 #include <stdint.h>
23079 int
23080 main ()
23081 {
23082 int_least32_t v = 0;
23083   ;
23084   return 0;
23085 }
23086 _ACEOF
23087 if ac_fn_c_try_compile "$LINENO"; then :
23088   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: your GCC compiler has a defunct stdint.h for its default-mode" >&5
23089 $as_echo "$as_me: WARNING: your GCC compiler has a defunct stdint.h for its default-mode" >&2;}
23090 fi
23091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23092 fi
23093 CXXFLAGS="$old_CXXFLAGS"
23094 CPPFLAGS="$old_CPPFLAGS"
23095 CFLAGS="$old_CFLAGS"
23096 fi
23097
23098
23099 v="... $ac_cv_header_stdint_h"
23100 if test "$ac_stdint_h" = "stdint.h" ; then
23101  { $as_echo "$as_me:${as_lineno-$LINENO}: result: (are you sure you want them in ./stdint.h?)" >&5
23102 $as_echo "(are you sure you want them in ./stdint.h?)" >&6; }
23103 elif test "$ac_stdint_h" = "inttypes.h" ; then
23104  { $as_echo "$as_me:${as_lineno-$LINENO}: result: (are you sure you want them in ./inttypes.h?)" >&5
23105 $as_echo "(are you sure you want them in ./inttypes.h?)" >&6; }
23106 elif test "_$ac_cv_header_stdint_t" = "_" ; then
23107  { $as_echo "$as_me:${as_lineno-$LINENO}: result: (putting them into $ac_stdint_h)$v" >&5
23108 $as_echo "(putting them into $ac_stdint_h)$v" >&6; }
23109 else
23110  ac_cv_header_stdint="$ac_cv_header_stdint_t"
23111  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint (shortcircuit)" >&5
23112 $as_echo "$ac_cv_header_stdint (shortcircuit)" >&6; }
23113 fi
23114
23115 if test "_$ac_cv_header_stdint_t" = "_" ; then # can not shortcircuit..
23116
23117
23118 inttype_headers=`echo  | sed -e 's/,/ /g'`
23119
23120 ac_cv_stdint_result="(no helpful system typedefs seen)"
23121
23122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uintptr_t" >&5
23123 $as_echo_n "checking for stdint uintptr_t... " >&6; }
23124 if ${ac_cv_header_stdint_x+:} false; then :
23125   $as_echo_n "(cached) " >&6
23126 else
23127
23128  ac_cv_header_stdint_x="" # the 1997 typedefs (inttypes.h)
23129   { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
23130 $as_echo "(..)" >&6; }
23131   for i in    stdint.h inttypes.h sys/inttypes.h $inttype_headers
23132   do
23133    unset ac_cv_type_uintptr_t
23134    unset ac_cv_type_uint64_t
23135    ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <$i>
23136 "
23137 if test "x$ac_cv_type_uintptr_t" = xyes; then :
23138   ac_cv_header_stdint_x=$i
23139 else
23140   continue
23141 fi
23142
23143    ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include<$i>
23144 "
23145 if test "x$ac_cv_type_uint64_t" = xyes; then :
23146   and64="/uint64_t"
23147 else
23148   and64=""
23149 fi
23150
23151    ac_cv_stdint_result="(seen uintptr_t$and64 in $i)"
23152  break
23153   done
23154   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uintptr_t" >&5
23155 $as_echo_n "checking for stdint uintptr_t... " >&6; }
23156
23157 fi
23158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_x" >&5
23159 $as_echo "$ac_cv_header_stdint_x" >&6; }
23160
23161
23162 if test "_$ac_cv_header_stdint_x" = "_" ; then
23163
23164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uint32_t" >&5
23165 $as_echo_n "checking for stdint uint32_t... " >&6; }
23166 if ${ac_cv_header_stdint_o+:} false; then :
23167   $as_echo_n "(cached) " >&6
23168 else
23169
23170  ac_cv_header_stdint_o="" # the 1995 typedefs (sys/inttypes.h)
23171   { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
23172 $as_echo "(..)" >&6; }
23173   for i in    inttypes.h sys/inttypes.h stdint.h $inttype_headers
23174   do
23175    unset ac_cv_type_uint32_t
23176    unset ac_cv_type_uint64_t
23177    ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <$i>
23178 "
23179 if test "x$ac_cv_type_uint32_t" = xyes; then :
23180   ac_cv_header_stdint_o=$i
23181 else
23182   continue
23183 fi
23184
23185    ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include<$i>
23186 "
23187 if test "x$ac_cv_type_uint64_t" = xyes; then :
23188   and64="/uint64_t"
23189 else
23190   and64=""
23191 fi
23192
23193    ac_cv_stdint_result="(seen uint32_t$and64 in $i)"
23194  break
23195    break;
23196   done
23197   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uint32_t" >&5
23198 $as_echo_n "checking for stdint uint32_t... " >&6; }
23199
23200 fi
23201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_o" >&5
23202 $as_echo "$ac_cv_header_stdint_o" >&6; }
23203
23204 fi
23205
23206 if test "_$ac_cv_header_stdint_x" = "_" ; then
23207 if test "_$ac_cv_header_stdint_o" = "_" ; then
23208
23209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint u_int32_t" >&5
23210 $as_echo_n "checking for stdint u_int32_t... " >&6; }
23211 if ${ac_cv_header_stdint_u+:} false; then :
23212   $as_echo_n "(cached) " >&6
23213 else
23214
23215  ac_cv_header_stdint_u="" # the BSD typedefs (sys/types.h)
23216   { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
23217 $as_echo "(..)" >&6; }
23218   for i in    sys/types.h inttypes.h sys/inttypes.h $inttype_headers ; do
23219    unset ac_cv_type_u_int32_t
23220    unset ac_cv_type_u_int64_t
23221    ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <$i>
23222 "
23223 if test "x$ac_cv_type_u_int32_t" = xyes; then :
23224   ac_cv_header_stdint_u=$i
23225 else
23226   continue
23227 fi
23228
23229    ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include<$i>
23230 "
23231 if test "x$ac_cv_type_u_int64_t" = xyes; then :
23232   and64="/u_int64_t"
23233 else
23234   and64=""
23235 fi
23236
23237    ac_cv_stdint_result="(seen u_int32_t$and64 in $i)"
23238  break
23239    break;
23240   done
23241   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint u_int32_t" >&5
23242 $as_echo_n "checking for stdint u_int32_t... " >&6; }
23243
23244 fi
23245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_u" >&5
23246 $as_echo "$ac_cv_header_stdint_u" >&6; }
23247
23248 fi fi
23249
23250 if test "_$ac_cv_header_stdint_x" = "_" ; then
23251    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint datatype model" >&5
23252 $as_echo_n "checking for stdint datatype model... " >&6; }
23253    { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
23254 $as_echo "(..)" >&6; }
23255
23256    # The cast to long int works around a bug in the HP C Compiler
23257 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23258 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23259 # This bug is HP SR number 8606223364.
23260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
23261 $as_echo_n "checking size of char... " >&6; }
23262 if ${ac_cv_sizeof_char+:} false; then :
23263   $as_echo_n "(cached) " >&6
23264 else
23265   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
23266
23267 else
23268   if test "$ac_cv_type_char" = yes; then
23269      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23270 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23271 as_fn_error 77 "cannot compute sizeof (char)
23272 See \`config.log' for more details" "$LINENO" 5; }
23273    else
23274      ac_cv_sizeof_char=0
23275    fi
23276 fi
23277
23278 fi
23279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
23280 $as_echo "$ac_cv_sizeof_char" >&6; }
23281
23282
23283
23284 cat >>confdefs.h <<_ACEOF
23285 #define SIZEOF_CHAR $ac_cv_sizeof_char
23286 _ACEOF
23287
23288
23289    # The cast to long int works around a bug in the HP C Compiler
23290 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23291 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23292 # This bug is HP SR number 8606223364.
23293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
23294 $as_echo_n "checking size of short... " >&6; }
23295 if ${ac_cv_sizeof_short+:} false; then :
23296   $as_echo_n "(cached) " >&6
23297 else
23298   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
23299
23300 else
23301   if test "$ac_cv_type_short" = yes; then
23302      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23303 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23304 as_fn_error 77 "cannot compute sizeof (short)
23305 See \`config.log' for more details" "$LINENO" 5; }
23306    else
23307      ac_cv_sizeof_short=0
23308    fi
23309 fi
23310
23311 fi
23312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
23313 $as_echo "$ac_cv_sizeof_short" >&6; }
23314
23315
23316
23317 cat >>confdefs.h <<_ACEOF
23318 #define SIZEOF_SHORT $ac_cv_sizeof_short
23319 _ACEOF
23320
23321
23322    # The cast to long int works around a bug in the HP C Compiler
23323 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23324 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23325 # This bug is HP SR number 8606223364.
23326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
23327 $as_echo_n "checking size of int... " >&6; }
23328 if ${ac_cv_sizeof_int+:} false; then :
23329   $as_echo_n "(cached) " >&6
23330 else
23331   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
23332
23333 else
23334   if test "$ac_cv_type_int" = yes; then
23335      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23336 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23337 as_fn_error 77 "cannot compute sizeof (int)
23338 See \`config.log' for more details" "$LINENO" 5; }
23339    else
23340      ac_cv_sizeof_int=0
23341    fi
23342 fi
23343
23344 fi
23345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
23346 $as_echo "$ac_cv_sizeof_int" >&6; }
23347
23348
23349
23350 cat >>confdefs.h <<_ACEOF
23351 #define SIZEOF_INT $ac_cv_sizeof_int
23352 _ACEOF
23353
23354
23355    # The cast to long int works around a bug in the HP C Compiler
23356 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23357 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23358 # This bug is HP SR number 8606223364.
23359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
23360 $as_echo_n "checking size of long... " >&6; }
23361 if ${ac_cv_sizeof_long+:} false; then :
23362   $as_echo_n "(cached) " >&6
23363 else
23364   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
23365
23366 else
23367   if test "$ac_cv_type_long" = yes; then
23368      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23369 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23370 as_fn_error 77 "cannot compute sizeof (long)
23371 See \`config.log' for more details" "$LINENO" 5; }
23372    else
23373      ac_cv_sizeof_long=0
23374    fi
23375 fi
23376
23377 fi
23378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
23379 $as_echo "$ac_cv_sizeof_long" >&6; }
23380
23381
23382
23383 cat >>confdefs.h <<_ACEOF
23384 #define SIZEOF_LONG $ac_cv_sizeof_long
23385 _ACEOF
23386
23387
23388    # The cast to long int works around a bug in the HP C Compiler
23389 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23390 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23391 # This bug is HP SR number 8606223364.
23392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void*" >&5
23393 $as_echo_n "checking size of void*... " >&6; }
23394 if ${ac_cv_sizeof_voidp+:} false; then :
23395   $as_echo_n "(cached) " >&6
23396 else
23397   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void*))" "ac_cv_sizeof_voidp"        "$ac_includes_default"; then :
23398
23399 else
23400   if test "$ac_cv_type_voidp" = yes; then
23401      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23402 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23403 as_fn_error 77 "cannot compute sizeof (void*)
23404 See \`config.log' for more details" "$LINENO" 5; }
23405    else
23406      ac_cv_sizeof_voidp=0
23407    fi
23408 fi
23409
23410 fi
23411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_voidp" >&5
23412 $as_echo "$ac_cv_sizeof_voidp" >&6; }
23413
23414
23415
23416 cat >>confdefs.h <<_ACEOF
23417 #define SIZEOF_VOIDP $ac_cv_sizeof_voidp
23418 _ACEOF
23419
23420
23421    ac_cv_char_data_model=""
23422    ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_char"
23423    ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_short"
23424    ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_int"
23425    ac_cv_long_data_model=""
23426    ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_int"
23427    ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_long"
23428    ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_voidp"
23429    { $as_echo "$as_me:${as_lineno-$LINENO}: checking data model" >&5
23430 $as_echo_n "checking data model... " >&6; }
23431    case "$ac_cv_char_data_model/$ac_cv_long_data_model" in
23432     122/242)     ac_cv_data_model="IP16"  ; n="standard 16bit machine" ;;
23433     122/244)     ac_cv_data_model="LP32"  ; n="standard 32bit machine" ;;
23434     122/*)       ac_cv_data_model="i16"   ; n="unusual int16 model" ;;
23435     124/444)     ac_cv_data_model="ILP32" ; n="standard 32bit unixish" ;;
23436     124/488)     ac_cv_data_model="LP64"  ; n="standard 64bit unixish" ;;
23437     124/448)     ac_cv_data_model="LLP64" ; n="unusual 64bit unixish" ;;
23438     124/*)       ac_cv_data_model="i32"   ; n="unusual int32 model" ;;
23439     128/888)     ac_cv_data_model="ILP64" ; n="unusual 64bit numeric" ;;
23440     128/*)       ac_cv_data_model="i64"   ; n="unusual int64 model" ;;
23441     222/*2)      ac_cv_data_model="DSP16" ; n="strict 16bit dsptype" ;;
23442     333/*3)      ac_cv_data_model="DSP24" ; n="strict 24bit dsptype" ;;
23443     444/*4)      ac_cv_data_model="DSP32" ; n="strict 32bit dsptype" ;;
23444     666/*6)      ac_cv_data_model="DSP48" ; n="strict 48bit dsptype" ;;
23445     888/*8)      ac_cv_data_model="DSP64" ; n="strict 64bit dsptype" ;;
23446     222/*|333/*|444/*|666/*|888/*) :
23447                  ac_cv_data_model="iDSP"  ; n="unusual dsptype" ;;
23448      *)          ac_cv_data_model="none"  ; n="very unusual model" ;;
23449    esac
23450    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_data_model ($ac_cv_long_data_model, $n)" >&5
23451 $as_echo "$ac_cv_data_model ($ac_cv_long_data_model, $n)" >&6; }
23452
23453 fi
23454
23455 if test "_$ac_cv_header_stdint_x" != "_" ; then
23456    ac_cv_header_stdint="$ac_cv_header_stdint_x"
23457 elif  test "_$ac_cv_header_stdint_o" != "_" ; then
23458    ac_cv_header_stdint="$ac_cv_header_stdint_o"
23459 elif  test "_$ac_cv_header_stdint_u" != "_" ; then
23460    ac_cv_header_stdint="$ac_cv_header_stdint_u"
23461 else
23462    ac_cv_header_stdint="stddef.h"
23463 fi
23464
23465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra inttypes in chosen header" >&5
23466 $as_echo_n "checking for extra inttypes in chosen header... " >&6; }
23467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ($ac_cv_header_stdint)" >&5
23468 $as_echo "($ac_cv_header_stdint)" >&6; }
23469 unset ac_cv_type_int_least32_t
23470 unset ac_cv_type_int_fast32_t
23471 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <$ac_cv_header_stdint>
23472 "
23473 if test "x$ac_cv_type_int_least32_t" = xyes; then :
23474
23475 fi
23476
23477 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include<$ac_cv_header_stdint>
23478 "
23479 if test "x$ac_cv_type_int_fast32_t" = xyes; then :
23480
23481 fi
23482
23483 ac_fn_c_check_type "$LINENO" "intmax_t" "ac_cv_type_intmax_t" "#include <$ac_cv_header_stdint>
23484 "
23485 if test "x$ac_cv_type_intmax_t" = xyes; then :
23486
23487 fi
23488
23489
23490 fi # shortcircut to system "stdint.h"
23491 # ------------------ PREPARE VARIABLES ------------------------------
23492 if test "$GCC" = "yes" ; then
23493 ac_cv_stdint_message="using gnu compiler "`$CC --version | head -1`
23494 else
23495 ac_cv_stdint_message="using $CC"
23496 fi
23497
23498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&5
23499 $as_echo "make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&6; }
23500
23501 # ----------------- DONE inttypes.h checks START header -------------
23502 ac_config_commands="$ac_config_commands $ac_stdint_h"
23503
23504
23505
23506 for ac_header in pthread.h
23507 do :
23508   ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
23509 if test "x$ac_cv_header_pthread_h" = xyes; then :
23510   cat >>confdefs.h <<_ACEOF
23511 #define HAVE_PTHREAD_H 1
23512 _ACEOF
23513  HAVE_PTHREAD_H=yes
23514 fi
23515
23516 done
23517
23518  if test "x$HAVE_PTHREAD_H" = "xyes"; then
23519   HAVE_PTHREAD_H_TRUE=
23520   HAVE_PTHREAD_H_FALSE='#'
23521 else
23522   HAVE_PTHREAD_H_TRUE='#'
23523   HAVE_PTHREAD_H_FALSE=
23524 fi
23525
23526
23527 if test "x$HAVE_PTHREAD_H" != "xyes"; then
23528   GST_PLUGINS_SELECTED=`echo $GST_PLUGINS_SELECTED | $SED -e s/dccp//`
23529 fi
23530
23531
23532
23533
23534   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FIONREAD in sys/ioctl.h" >&5
23535 $as_echo_n "checking for FIONREAD in sys/ioctl.h... " >&6; }
23536   if ${_cv_gst_fionread_in_sys_ioctl+:} false; then :
23537   $as_echo_n "(cached) " >&6
23538 else
23539
23540     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23541 /* end confdefs.h.  */
23542
23543 #include <sys/types.h>
23544 #include <sys/ioctl.h>
23545
23546 int
23547 main ()
23548 {
23549
23550 int x = FIONREAD;
23551 if ( x )
23552   return 0;
23553
23554   ;
23555   return 0;
23556 }
23557 _ACEOF
23558 if ac_fn_c_try_compile "$LINENO"; then :
23559   _cv_gst_fionread_in_sys_ioctl="yes"
23560 else
23561   _cv_gst_fionread_in_sys_ioctl="no"
23562 fi
23563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23564
23565 fi
23566
23567
23568   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_gst_fionread_in_sys_ioctl" >&5
23569 $as_echo "$_cv_gst_fionread_in_sys_ioctl" >&6; }
23570
23571   if test "$_cv_gst_fionread_in_sys_ioctl" = "yes"; then
23572
23573 $as_echo "#define HAVE_FIONREAD_IN_SYS_IOCTL 1" >>confdefs.h
23574
23575
23576   else
23577
23578     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FIONREAD in sys/filio.h" >&5
23579 $as_echo_n "checking for FIONREAD in sys/filio.h... " >&6; }
23580     if ${_cv_gst_fionread_in_sys_filio+:} false; then :
23581   $as_echo_n "(cached) " >&6
23582 else
23583
23584       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23585 /* end confdefs.h.  */
23586
23587   #include <sys/types.h>
23588   #include <sys/filio.h>
23589
23590 int
23591 main ()
23592 {
23593
23594   int x = FIONREAD;
23595   if ( x )
23596     return 0;
23597
23598   ;
23599   return 0;
23600 }
23601 _ACEOF
23602 if ac_fn_c_try_compile "$LINENO"; then :
23603   _cv_gst_fionread_in_sys_filio="yes"
23604 else
23605   _cv_gst_fionread_in_sys_filio="no"
23606 fi
23607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23608
23609 fi
23610
23611
23612     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_gst_fionread_in_sys_filio" >&5
23613 $as_echo "$_cv_gst_fionread_in_sys_filio" >&6; }
23614
23615     if test "$_cv_gst_fionread_in_sys_filio" = "yes"; then
23616
23617 $as_echo "#define HAVE_FIONREAD_IN_SYS_FILIO 1" >>confdefs.h
23618
23619     fi
23620
23621   fi
23622
23623
23624
23625
23626
23627 for ac_func in gmtime_r
23628 do :
23629   ac_fn_c_check_func "$LINENO" "gmtime_r" "ac_cv_func_gmtime_r"
23630 if test "x$ac_cv_func_gmtime_r" = xyes; then :
23631   cat >>confdefs.h <<_ACEOF
23632 #define HAVE_GMTIME_R 1
23633 _ACEOF
23634
23635 fi
23636 done
23637
23638
23639 for ac_header in sys/utsname.h
23640 do :
23641   ac_fn_c_check_header_mongrel "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
23642 if test "x$ac_cv_header_sys_utsname_h" = xyes; then :
23643   cat >>confdefs.h <<_ACEOF
23644 #define HAVE_SYS_UTSNAME_H 1
23645 _ACEOF
23646
23647 fi
23648
23649 done
23650
23651
23652
23653 ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"
23654 if test "x$ac_cv_func_socket" = xyes; then :
23655
23656 else
23657   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
23658 $as_echo_n "checking for socket in -lsocket... " >&6; }
23659 if ${ac_cv_lib_socket_socket+:} false; then :
23660   $as_echo_n "(cached) " >&6
23661 else
23662   ac_check_lib_save_LIBS=$LIBS
23663 LIBS="-lsocket  $LIBS"
23664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23665 /* end confdefs.h.  */
23666
23667 /* Override any GCC internal prototype to avoid an error.
23668    Use char because int might match the return type of a GCC
23669    builtin and then its argument prototype would still apply.  */
23670 #ifdef __cplusplus
23671 extern "C"
23672 #endif
23673 char socket ();
23674 int
23675 main ()
23676 {
23677 return socket ();
23678   ;
23679   return 0;
23680 }
23681 _ACEOF
23682 if ac_fn_c_try_link "$LINENO"; then :
23683   ac_cv_lib_socket_socket=yes
23684 else
23685   ac_cv_lib_socket_socket=no
23686 fi
23687 rm -f core conftest.err conftest.$ac_objext \
23688     conftest$ac_exeext conftest.$ac_ext
23689 LIBS=$ac_check_lib_save_LIBS
23690 fi
23691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
23692 $as_echo "$ac_cv_lib_socket_socket" >&6; }
23693 if test "x$ac_cv_lib_socket_socket" = xyes; then :
23694   cat >>confdefs.h <<_ACEOF
23695 #define HAVE_LIBSOCKET 1
23696 _ACEOF
23697
23698   LIBS="-lsocket $LIBS"
23699
23700 fi
23701
23702 fi
23703
23704 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
23705 if test "x$ac_cv_func_gethostbyname" = xyes; then :
23706
23707 else
23708   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
23709 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
23710 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
23711   $as_echo_n "(cached) " >&6
23712 else
23713   ac_check_lib_save_LIBS=$LIBS
23714 LIBS="-lnsl  $LIBS"
23715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23716 /* end confdefs.h.  */
23717
23718 /* Override any GCC internal prototype to avoid an error.
23719    Use char because int might match the return type of a GCC
23720    builtin and then its argument prototype would still apply.  */
23721 #ifdef __cplusplus
23722 extern "C"
23723 #endif
23724 char gethostbyname ();
23725 int
23726 main ()
23727 {
23728 return gethostbyname ();
23729   ;
23730   return 0;
23731 }
23732 _ACEOF
23733 if ac_fn_c_try_link "$LINENO"; then :
23734   ac_cv_lib_nsl_gethostbyname=yes
23735 else
23736   ac_cv_lib_nsl_gethostbyname=no
23737 fi
23738 rm -f core conftest.err conftest.$ac_objext \
23739     conftest$ac_exeext conftest.$ac_ext
23740 LIBS=$ac_check_lib_save_LIBS
23741 fi
23742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
23743 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
23744 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
23745   cat >>confdefs.h <<_ACEOF
23746 #define HAVE_LIBNSL 1
23747 _ACEOF
23748
23749   LIBS="-lnsl $LIBS"
23750
23751 fi
23752
23753 fi
23754
23755
23756
23757
23758
23759     GLIB_REQ=2.24
23760   if test "x$GLIB_REQ" = "x"
23761   then
23762     as_fn_error $? "Please specify a required version for GLib 2.0" "$LINENO" 5
23763   fi
23764
23765
23766
23767   which="glib-2.0 >= $GLIB_REQ gobject-2.0 gthread-2.0 gmodule-no-export-2.0"
23768     required="no"
23769
23770
23771 pkg_failed=no
23772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
23773 $as_echo_n "checking for GLIB... " >&6; }
23774
23775 if test -n "$PKG_CONFIG"; then
23776     if test -n "$GLIB_CFLAGS"; then
23777         pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
23778     else
23779         if test -n "$PKG_CONFIG" && \
23780     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
23781   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
23782   ac_status=$?
23783   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23784   test $ac_status = 0; }; then
23785   pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
23786 else
23787   pkg_failed=yes
23788 fi
23789     fi
23790 else
23791         pkg_failed=untried
23792 fi
23793 if test -n "$PKG_CONFIG"; then
23794     if test -n "$GLIB_LIBS"; then
23795         pkg_cv_GLIB_LIBS="$GLIB_LIBS"
23796     else
23797         if test -n "$PKG_CONFIG" && \
23798     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
23799   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
23800   ac_status=$?
23801   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23802   test $ac_status = 0; }; then
23803   pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
23804 else
23805   pkg_failed=yes
23806 fi
23807     fi
23808 else
23809         pkg_failed=untried
23810 fi
23811
23812
23813
23814 if test $pkg_failed = yes; then
23815
23816 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23817         _pkg_short_errors_supported=yes
23818 else
23819         _pkg_short_errors_supported=no
23820 fi
23821         if test $_pkg_short_errors_supported = yes; then
23822                 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
23823         else
23824                 GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
23825         fi
23826         # Put the nasty error message in config.log where it belongs
23827         echo "$GLIB_PKG_ERRORS" >&5
23828
23829         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23830 $as_echo "no" >&6; }
23831
23832       HAVE_GLIB="no"
23833       if test "x$required" = "xyes"; then
23834         as_fn_error $? "$GLIB_PKG_ERRORS" "$LINENO" 5
23835       else
23836         { $as_echo "$as_me:${as_lineno-$LINENO}: $GLIB_PKG_ERRORS" >&5
23837 $as_echo "$as_me: $GLIB_PKG_ERRORS" >&6;}
23838       fi
23839
23840 elif test $pkg_failed = untried; then
23841
23842       HAVE_GLIB="no"
23843       if test "x$required" = "xyes"; then
23844         as_fn_error $? "$GLIB_PKG_ERRORS" "$LINENO" 5
23845       else
23846         { $as_echo "$as_me:${as_lineno-$LINENO}: $GLIB_PKG_ERRORS" >&5
23847 $as_echo "$as_me: $GLIB_PKG_ERRORS" >&6;}
23848       fi
23849
23850 else
23851         GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
23852         GLIB_LIBS=$pkg_cv_GLIB_LIBS
23853         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23854 $as_echo "yes" >&6; }
23855
23856       HAVE_GLIB="yes"
23857
23858 fi
23859
23860
23861
23862   if test "x$HAVE_GLIB" = "xno"; then
23863     as_fn_error $? "This package requires GLib >= $GLIB_REQ to compile." "$LINENO" 5
23864   fi
23865
23866         GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_THREADS_MANDATORY"
23867
23868     if test "x$PACKAGE_VERSION_NANO" = "x1"; then
23869     GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_DISABLE_DEPRECATED"
23870   fi
23871
23872   # Check whether --enable-gobject-cast-checks was given.
23873 if test "${enable_gobject_cast_checks+set}" = set; then :
23874   enableval=$enable_gobject_cast_checks;
23875 else
23876   enable_gobject_cast_checks=auto
23877 fi
23878
23879
23880   if test "x$enable_gobject_cast_checks" = "xauto"; then
23881         if test "x$PACKAGE_VERSION_NANO" = "x1"; then
23882       enable_gobject_cast_checks=yes
23883     else
23884       enable_gobject_cast_checks=no
23885     fi
23886   fi
23887
23888   if test "x$enable_gobject_cast_checks" = "xno"; then
23889     GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_DISABLE_CAST_CHECKS"
23890   fi
23891
23892   # Check whether --enable-glib-asserts was given.
23893 if test "${enable_glib_asserts+set}" = set; then :
23894   enableval=$enable_glib_asserts;
23895 else
23896   enable_glib_assertions=auto
23897 fi
23898
23899
23900   if test "x$enable_glib_assertions" = "xauto"; then
23901         if test "x$PACKAGE_VERSION_NANO" = "x1"; then
23902       enable_glib_assertions=yes
23903     else
23904       enable_glib_assertions=no
23905     fi
23906   fi
23907
23908   if test "x$enable_glib_assertions" = "xno"; then
23909     GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_DISABLE_ASSERT"
23910   fi
23911
23912
23913   GIVEN_CFLAGS=$GLIB_CFLAGS
23914   INCLUDE_DIRS=`echo | cpp -v 2>&1`
23915
23916       INCLUDE_DIRS=`echo $INCLUDE_DIRS | sed -e 's/.*<...> search starts here://' | sed -e 's/End of search list.*//'`
23917   for dir in $INCLUDE_DIRS; do
23918         GIVEN_CFLAGS=`echo $GIVEN_CFLAGS | sed -e "s#-I$dir ##"`
23919   done
23920   GLIB_CFLAGS=$GIVEN_CFLAGS
23921
23922
23923
23924
23925
23926
23927
23928   module=gstreamer-$GST_MAJORMINOR
23929   minver=$GST_REQ
23930   name="GStreamer"
23931   required=yes
23932
23933 pkg_failed=no
23934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
23935 $as_echo_n "checking for GST... " >&6; }
23936
23937 if test -n "$PKG_CONFIG"; then
23938     if test -n "$GST_CFLAGS"; then
23939         pkg_cv_GST_CFLAGS="$GST_CFLAGS"
23940     else
23941         if test -n "$PKG_CONFIG" && \
23942     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
23943   ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
23944   ac_status=$?
23945   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23946   test $ac_status = 0; }; then
23947   pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
23948 else
23949   pkg_failed=yes
23950 fi
23951     fi
23952 else
23953         pkg_failed=untried
23954 fi
23955 if test -n "$PKG_CONFIG"; then
23956     if test -n "$GST_LIBS"; then
23957         pkg_cv_GST_LIBS="$GST_LIBS"
23958     else
23959         if test -n "$PKG_CONFIG" && \
23960     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
23961   ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
23962   ac_status=$?
23963   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23964   test $ac_status = 0; }; then
23965   pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
23966 else
23967   pkg_failed=yes
23968 fi
23969     fi
23970 else
23971         pkg_failed=untried
23972 fi
23973
23974
23975
23976 if test $pkg_failed = yes; then
23977
23978 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23979         _pkg_short_errors_supported=yes
23980 else
23981         _pkg_short_errors_supported=no
23982 fi
23983         if test $_pkg_short_errors_supported = yes; then
23984                 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
23985         else
23986                 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
23987         fi
23988         # Put the nasty error message in config.log where it belongs
23989         echo "$GST_PKG_ERRORS" >&5
23990
23991         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23992 $as_echo "no" >&6; }
23993
23994       HAVE_GST="no"
23995       { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PKG_ERRORS" >&5
23996 $as_echo "$as_me: $GST_PKG_ERRORS" >&6;}
23997       if test "x$required" = "xyes"; then
23998         as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
23999       else
24000         { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
24001 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
24002       fi
24003
24004 elif test $pkg_failed = untried; then
24005
24006       HAVE_GST="no"
24007       { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PKG_ERRORS" >&5
24008 $as_echo "$as_me: $GST_PKG_ERRORS" >&6;}
24009       if test "x$required" = "xyes"; then
24010         as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
24011       else
24012         { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
24013 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
24014       fi
24015
24016 else
24017         GST_CFLAGS=$pkg_cv_GST_CFLAGS
24018         GST_LIBS=$pkg_cv_GST_LIBS
24019         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24020 $as_echo "yes" >&6; }
24021
24022       HAVE_GST="yes"
24023
24024 fi
24025
24026
24027     if test -z $GST_TOOLS_DIR; then
24028     GST_TOOLS_DIR=`$PKG_CONFIG --variable=toolsdir gstreamer-$GST_MAJORMINOR`
24029     if test -z $GST_TOOLS_DIR; then
24030       as_fn_error $? "no tools dir set in GStreamer pkg-config file, core upgrade needed." "$LINENO" 5
24031     fi
24032   fi
24033   { $as_echo "$as_me:${as_lineno-$LINENO}: using GStreamer tools in $GST_TOOLS_DIR" >&5
24034 $as_echo "$as_me: using GStreamer tools in $GST_TOOLS_DIR" >&6;}
24035
24036
24037         if test -z $GST_PLUGINS_DIR; then
24038     GST_PLUGINS_DIR=`$PKG_CONFIG --variable=pluginsdir gstreamer-$GST_MAJORMINOR`
24039     if test -z $GST_PLUGINS_DIR; then
24040       as_fn_error $? "no pluginsdir set in GStreamer pkg-config file, core upgrade needed." "$LINENO" 5
24041     fi
24042   fi
24043   { $as_echo "$as_me:${as_lineno-$LINENO}: using GStreamer plug-ins in $GST_PLUGINS_DIR" >&5
24044 $as_echo "$as_me: using GStreamer plug-ins in $GST_PLUGINS_DIR" >&6;}
24045
24046
24047
24048
24049   module=gstreamer-base-$GST_MAJORMINOR
24050   minver=$GST_REQ
24051   name="GStreamer Base Libraries"
24052   required=yes
24053
24054 pkg_failed=no
24055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_BASE" >&5
24056 $as_echo_n "checking for GST_BASE... " >&6; }
24057
24058 if test -n "$PKG_CONFIG"; then
24059     if test -n "$GST_BASE_CFLAGS"; then
24060         pkg_cv_GST_BASE_CFLAGS="$GST_BASE_CFLAGS"
24061     else
24062         if test -n "$PKG_CONFIG" && \
24063     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
24064   ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
24065   ac_status=$?
24066   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24067   test $ac_status = 0; }; then
24068   pkg_cv_GST_BASE_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
24069 else
24070   pkg_failed=yes
24071 fi
24072     fi
24073 else
24074         pkg_failed=untried
24075 fi
24076 if test -n "$PKG_CONFIG"; then
24077     if test -n "$GST_BASE_LIBS"; then
24078         pkg_cv_GST_BASE_LIBS="$GST_BASE_LIBS"
24079     else
24080         if test -n "$PKG_CONFIG" && \
24081     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
24082   ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
24083   ac_status=$?
24084   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24085   test $ac_status = 0; }; then
24086   pkg_cv_GST_BASE_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
24087 else
24088   pkg_failed=yes
24089 fi
24090     fi
24091 else
24092         pkg_failed=untried
24093 fi
24094
24095
24096
24097 if test $pkg_failed = yes; then
24098
24099 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24100         _pkg_short_errors_supported=yes
24101 else
24102         _pkg_short_errors_supported=no
24103 fi
24104         if test $_pkg_short_errors_supported = yes; then
24105                 GST_BASE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
24106         else
24107                 GST_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
24108         fi
24109         # Put the nasty error message in config.log where it belongs
24110         echo "$GST_BASE_PKG_ERRORS" >&5
24111
24112         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24113 $as_echo "no" >&6; }
24114
24115       HAVE_GST_BASE="no"
24116       { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_BASE_PKG_ERRORS" >&5
24117 $as_echo "$as_me: $GST_BASE_PKG_ERRORS" >&6;}
24118       if test "x$required" = "xyes"; then
24119         as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
24120       else
24121         { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
24122 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
24123       fi
24124
24125 elif test $pkg_failed = untried; then
24126
24127       HAVE_GST_BASE="no"
24128       { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_BASE_PKG_ERRORS" >&5
24129 $as_echo "$as_me: $GST_BASE_PKG_ERRORS" >&6;}
24130       if test "x$required" = "xyes"; then
24131         as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
24132       else
24133         { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
24134 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
24135       fi
24136
24137 else
24138         GST_BASE_CFLAGS=$pkg_cv_GST_BASE_CFLAGS
24139         GST_BASE_LIBS=$pkg_cv_GST_BASE_LIBS
24140         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24141 $as_echo "yes" >&6; }
24142
24143       HAVE_GST_BASE="yes"
24144
24145 fi
24146
24147
24148
24149
24150
24151   module=gstreamer-dataprotocol-$GST_MAJORMINOR
24152   minver=$GST_REQ
24153   name="GStreamer Data Protocol Library"
24154   required=yes
24155
24156 pkg_failed=no
24157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_GDP" >&5
24158 $as_echo_n "checking for GST_GDP... " >&6; }
24159
24160 if test -n "$PKG_CONFIG"; then
24161     if test -n "$GST_GDP_CFLAGS"; then
24162         pkg_cv_GST_GDP_CFLAGS="$GST_GDP_CFLAGS"
24163     else
24164         if test -n "$PKG_CONFIG" && \
24165     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
24166   ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
24167   ac_status=$?
24168   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24169   test $ac_status = 0; }; then
24170   pkg_cv_GST_GDP_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
24171 else
24172   pkg_failed=yes
24173 fi
24174     fi
24175 else
24176         pkg_failed=untried
24177 fi
24178 if test -n "$PKG_CONFIG"; then
24179     if test -n "$GST_GDP_LIBS"; then
24180         pkg_cv_GST_GDP_LIBS="$GST_GDP_LIBS"
24181     else
24182         if test -n "$PKG_CONFIG" && \
24183     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
24184   ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
24185   ac_status=$?
24186   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24187   test $ac_status = 0; }; then
24188   pkg_cv_GST_GDP_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
24189 else
24190   pkg_failed=yes
24191 fi
24192     fi
24193 else
24194         pkg_failed=untried
24195 fi
24196
24197
24198
24199 if test $pkg_failed = yes; then
24200
24201 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24202         _pkg_short_errors_supported=yes
24203 else
24204         _pkg_short_errors_supported=no
24205 fi
24206         if test $_pkg_short_errors_supported = yes; then
24207                 GST_GDP_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
24208         else
24209                 GST_GDP_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
24210         fi
24211         # Put the nasty error message in config.log where it belongs
24212         echo "$GST_GDP_PKG_ERRORS" >&5
24213
24214         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24215 $as_echo "no" >&6; }
24216
24217       HAVE_GST_GDP="no"
24218       { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_GDP_PKG_ERRORS" >&5
24219 $as_echo "$as_me: $GST_GDP_PKG_ERRORS" >&6;}
24220       if test "x$required" = "xyes"; then
24221         as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
24222       else
24223         { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
24224 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
24225       fi
24226
24227 elif test $pkg_failed = untried; then
24228
24229       HAVE_GST_GDP="no"
24230       { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_GDP_PKG_ERRORS" >&5
24231 $as_echo "$as_me: $GST_GDP_PKG_ERRORS" >&6;}
24232       if test "x$required" = "xyes"; then
24233         as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
24234       else
24235         { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
24236 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
24237       fi
24238
24239 else
24240         GST_GDP_CFLAGS=$pkg_cv_GST_GDP_CFLAGS
24241         GST_GDP_LIBS=$pkg_cv_GST_GDP_LIBS
24242         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24243 $as_echo "yes" >&6; }
24244
24245       HAVE_GST_GDP="yes"
24246
24247 fi
24248
24249
24250
24251
24252
24253   module=gstreamer-check-$GST_MAJORMINOR
24254   minver=$GST_REQ
24255   name="GStreamer Check unittest Library"
24256   required=no
24257
24258 pkg_failed=no
24259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_CHECK" >&5
24260 $as_echo_n "checking for GST_CHECK... " >&6; }
24261
24262 if test -n "$PKG_CONFIG"; then
24263     if test -n "$GST_CHECK_CFLAGS"; then
24264         pkg_cv_GST_CHECK_CFLAGS="$GST_CHECK_CFLAGS"
24265     else
24266         if test -n "$PKG_CONFIG" && \
24267     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
24268   ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
24269   ac_status=$?
24270   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24271   test $ac_status = 0; }; then
24272   pkg_cv_GST_CHECK_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
24273 else
24274   pkg_failed=yes
24275 fi
24276     fi
24277 else
24278         pkg_failed=untried
24279 fi
24280 if test -n "$PKG_CONFIG"; then
24281     if test -n "$GST_CHECK_LIBS"; then
24282         pkg_cv_GST_CHECK_LIBS="$GST_CHECK_LIBS"
24283     else
24284         if test -n "$PKG_CONFIG" && \
24285     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
24286   ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
24287   ac_status=$?
24288   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24289   test $ac_status = 0; }; then
24290   pkg_cv_GST_CHECK_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
24291 else
24292   pkg_failed=yes
24293 fi
24294     fi
24295 else
24296         pkg_failed=untried
24297 fi
24298
24299
24300
24301 if test $pkg_failed = yes; then
24302
24303 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24304         _pkg_short_errors_supported=yes
24305 else
24306         _pkg_short_errors_supported=no
24307 fi
24308         if test $_pkg_short_errors_supported = yes; then
24309                 GST_CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
24310         else
24311                 GST_CHECK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
24312         fi
24313         # Put the nasty error message in config.log where it belongs
24314         echo "$GST_CHECK_PKG_ERRORS" >&5
24315
24316         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24317 $as_echo "no" >&6; }
24318
24319       HAVE_GST_CHECK="no"
24320       { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_CHECK_PKG_ERRORS" >&5
24321 $as_echo "$as_me: $GST_CHECK_PKG_ERRORS" >&6;}
24322       if test "x$required" = "xyes"; then
24323         as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
24324       else
24325         { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
24326 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
24327       fi
24328
24329 elif test $pkg_failed = untried; then
24330
24331       HAVE_GST_CHECK="no"
24332       { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_CHECK_PKG_ERRORS" >&5
24333 $as_echo "$as_me: $GST_CHECK_PKG_ERRORS" >&6;}
24334       if test "x$required" = "xyes"; then
24335         as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
24336       else
24337         { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
24338 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
24339       fi
24340
24341 else
24342         GST_CHECK_CFLAGS=$pkg_cv_GST_CHECK_CFLAGS
24343         GST_CHECK_LIBS=$pkg_cv_GST_CHECK_LIBS
24344         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24345 $as_echo "yes" >&6; }
24346
24347       HAVE_GST_CHECK="yes"
24348
24349 fi
24350
24351
24352
24353
24354
24355   module=gstreamer-controller-$GST_MAJORMINOR
24356   minver=$GST_REQ
24357   name="GStreamer Controller Library"
24358   required=yes
24359
24360 pkg_failed=no
24361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_CONTROLLER" >&5
24362 $as_echo_n "checking for GST_CONTROLLER... " >&6; }
24363
24364 if test -n "$PKG_CONFIG"; then
24365     if test -n "$GST_CONTROLLER_CFLAGS"; then
24366         pkg_cv_GST_CONTROLLER_CFLAGS="$GST_CONTROLLER_CFLAGS"
24367     else
24368         if test -n "$PKG_CONFIG" && \
24369     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
24370   ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
24371   ac_status=$?
24372   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24373   test $ac_status = 0; }; then
24374   pkg_cv_GST_CONTROLLER_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
24375 else
24376   pkg_failed=yes
24377 fi
24378     fi
24379 else
24380         pkg_failed=untried
24381 fi
24382 if test -n "$PKG_CONFIG"; then
24383     if test -n "$GST_CONTROLLER_LIBS"; then
24384         pkg_cv_GST_CONTROLLER_LIBS="$GST_CONTROLLER_LIBS"
24385     else
24386         if test -n "$PKG_CONFIG" && \
24387     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
24388   ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
24389   ac_status=$?
24390   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24391   test $ac_status = 0; }; then
24392   pkg_cv_GST_CONTROLLER_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
24393 else
24394   pkg_failed=yes
24395 fi
24396     fi
24397 else
24398         pkg_failed=untried
24399 fi
24400
24401
24402
24403 if test $pkg_failed = yes; then
24404
24405 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24406         _pkg_short_errors_supported=yes
24407 else
24408         _pkg_short_errors_supported=no
24409 fi
24410         if test $_pkg_short_errors_supported = yes; then
24411                 GST_CONTROLLER_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
24412         else
24413                 GST_CONTROLLER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
24414         fi
24415         # Put the nasty error message in config.log where it belongs
24416         echo "$GST_CONTROLLER_PKG_ERRORS" >&5
24417
24418         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24419 $as_echo "no" >&6; }
24420
24421       HAVE_GST_CONTROLLER="no"
24422       { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_CONTROLLER_PKG_ERRORS" >&5
24423 $as_echo "$as_me: $GST_CONTROLLER_PKG_ERRORS" >&6;}
24424       if test "x$required" = "xyes"; then
24425         as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
24426       else
24427         { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
24428 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
24429       fi
24430
24431 elif test $pkg_failed = untried; then
24432
24433       HAVE_GST_CONTROLLER="no"
24434       { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_CONTROLLER_PKG_ERRORS" >&5
24435 $as_echo "$as_me: $GST_CONTROLLER_PKG_ERRORS" >&6;}
24436       if test "x$required" = "xyes"; then
24437         as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
24438       else
24439         { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
24440 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
24441       fi
24442
24443 else
24444         GST_CONTROLLER_CFLAGS=$pkg_cv_GST_CONTROLLER_CFLAGS
24445         GST_CONTROLLER_LIBS=$pkg_cv_GST_CONTROLLER_LIBS
24446         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24447 $as_echo "yes" >&6; }
24448
24449       HAVE_GST_CONTROLLER="yes"
24450
24451 fi
24452
24453
24454
24455  if test "x$HAVE_GST_CHECK" = "xyes"; then
24456   HAVE_GST_CHECK_TRUE=
24457   HAVE_GST_CHECK_FALSE='#'
24458 else
24459   HAVE_GST_CHECK_TRUE='#'
24460   HAVE_GST_CHECK_FALSE=
24461 fi
24462
24463
24464
24465
24466   module=gstreamer-plugins-base-$GST_MAJORMINOR
24467   minver=$GSTPB_REQ
24468   name="GStreamer Base Plugins"
24469   required=yes
24470
24471 pkg_failed=no
24472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_PLUGINS_BASE" >&5
24473 $as_echo_n "checking for GST_PLUGINS_BASE... " >&6; }
24474
24475 if test -n "$PKG_CONFIG"; then
24476     if test -n "$GST_PLUGINS_BASE_CFLAGS"; then
24477         pkg_cv_GST_PLUGINS_BASE_CFLAGS="$GST_PLUGINS_BASE_CFLAGS"
24478     else
24479         if test -n "$PKG_CONFIG" && \
24480     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
24481   ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
24482   ac_status=$?
24483   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24484   test $ac_status = 0; }; then
24485   pkg_cv_GST_PLUGINS_BASE_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
24486 else
24487   pkg_failed=yes
24488 fi
24489     fi
24490 else
24491         pkg_failed=untried
24492 fi
24493 if test -n "$PKG_CONFIG"; then
24494     if test -n "$GST_PLUGINS_BASE_LIBS"; then
24495         pkg_cv_GST_PLUGINS_BASE_LIBS="$GST_PLUGINS_BASE_LIBS"
24496     else
24497         if test -n "$PKG_CONFIG" && \
24498     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
24499   ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
24500   ac_status=$?
24501   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24502   test $ac_status = 0; }; then
24503   pkg_cv_GST_PLUGINS_BASE_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
24504 else
24505   pkg_failed=yes
24506 fi
24507     fi
24508 else
24509         pkg_failed=untried
24510 fi
24511
24512
24513
24514 if test $pkg_failed = yes; then
24515
24516 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24517         _pkg_short_errors_supported=yes
24518 else
24519         _pkg_short_errors_supported=no
24520 fi
24521         if test $_pkg_short_errors_supported = yes; then
24522                 GST_PLUGINS_BASE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
24523         else
24524                 GST_PLUGINS_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
24525         fi
24526         # Put the nasty error message in config.log where it belongs
24527         echo "$GST_PLUGINS_BASE_PKG_ERRORS" >&5
24528
24529         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24530 $as_echo "no" >&6; }
24531
24532       HAVE_GST_PLUGINS_BASE="no"
24533       { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PLUGINS_BASE_PKG_ERRORS" >&5
24534 $as_echo "$as_me: $GST_PLUGINS_BASE_PKG_ERRORS" >&6;}
24535       if test "x$required" = "xyes"; then
24536         as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
24537       else
24538         { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
24539 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
24540       fi
24541
24542 elif test $pkg_failed = untried; then
24543
24544       HAVE_GST_PLUGINS_BASE="no"
24545       { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PLUGINS_BASE_PKG_ERRORS" >&5
24546 $as_echo "$as_me: $GST_PLUGINS_BASE_PKG_ERRORS" >&6;}
24547       if test "x$required" = "xyes"; then
24548         as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
24549       else
24550         { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
24551 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
24552       fi
24553
24554 else
24555         GST_PLUGINS_BASE_CFLAGS=$pkg_cv_GST_PLUGINS_BASE_CFLAGS
24556         GST_PLUGINS_BASE_LIBS=$pkg_cv_GST_PLUGINS_BASE_LIBS
24557         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24558 $as_echo "yes" >&6; }
24559
24560       HAVE_GST_PLUGINS_BASE="yes"
24561
24562 fi
24563
24564
24565
24566   if test "x$HAVE_GST_PLUGINS_BASE" = "xyes"; then
24567                 if test -z $GSTPB_PLUGINS_DIR; then
24568       GSTPB_PLUGINS_DIR=`$PKG_CONFIG --variable=pluginsdir gstreamer-plugins-base-$GST_MAJORMINOR`
24569       if test -z $GSTPB_PLUGINS_DIR; then
24570         as_fn_error $? "no pluginsdir set in GStreamer Base Plugins pkg-config file" "$LINENO" 5
24571       fi
24572     fi
24573     { $as_echo "$as_me:${as_lineno-$LINENO}: using GStreamer Base Plugins in $GSTPB_PLUGINS_DIR" >&5
24574 $as_echo "$as_me: using GStreamer Base Plugins in $GSTPB_PLUGINS_DIR" >&6;}
24575     GST_PLUGINS_BASE_DIR="$GSTPB_PLUGINS_DIR/gst:$GSTPB_PLUGINS_DIR/sys:$GSTPB_PLUGINS_DIR/ext"
24576
24577
24578   fi
24579
24580
24581
24582
24583   module=gstreamer-plugins-good-$GST_MAJORMINOR
24584   minver=0.10.25
24585   name="GStreamer Good Plugins"
24586   required=no
24587
24588 pkg_failed=no
24589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_PLUGINS_GOOD" >&5
24590 $as_echo_n "checking for GST_PLUGINS_GOOD... " >&6; }
24591
24592 if test -n "$PKG_CONFIG"; then
24593     if test -n "$GST_PLUGINS_GOOD_CFLAGS"; then
24594         pkg_cv_GST_PLUGINS_GOOD_CFLAGS="$GST_PLUGINS_GOOD_CFLAGS"
24595     else
24596         if test -n "$PKG_CONFIG" && \
24597     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
24598   ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
24599   ac_status=$?
24600   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24601   test $ac_status = 0; }; then
24602   pkg_cv_GST_PLUGINS_GOOD_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
24603 else
24604   pkg_failed=yes
24605 fi
24606     fi
24607 else
24608         pkg_failed=untried
24609 fi
24610 if test -n "$PKG_CONFIG"; then
24611     if test -n "$GST_PLUGINS_GOOD_LIBS"; then
24612         pkg_cv_GST_PLUGINS_GOOD_LIBS="$GST_PLUGINS_GOOD_LIBS"
24613     else
24614         if test -n "$PKG_CONFIG" && \
24615     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
24616   ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
24617   ac_status=$?
24618   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24619   test $ac_status = 0; }; then
24620   pkg_cv_GST_PLUGINS_GOOD_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
24621 else
24622   pkg_failed=yes
24623 fi
24624     fi
24625 else
24626         pkg_failed=untried
24627 fi
24628
24629
24630
24631 if test $pkg_failed = yes; then
24632
24633 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24634         _pkg_short_errors_supported=yes
24635 else
24636         _pkg_short_errors_supported=no
24637 fi
24638         if test $_pkg_short_errors_supported = yes; then
24639                 GST_PLUGINS_GOOD_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
24640         else
24641                 GST_PLUGINS_GOOD_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
24642         fi
24643         # Put the nasty error message in config.log where it belongs
24644         echo "$GST_PLUGINS_GOOD_PKG_ERRORS" >&5
24645
24646         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24647 $as_echo "no" >&6; }
24648
24649       HAVE_GST_PLUGINS_GOOD="no"
24650       { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PLUGINS_GOOD_PKG_ERRORS" >&5
24651 $as_echo "$as_me: $GST_PLUGINS_GOOD_PKG_ERRORS" >&6;}
24652       if test "x$required" = "xyes"; then
24653         as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
24654       else
24655         { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
24656 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
24657       fi
24658
24659 elif test $pkg_failed = untried; then
24660
24661       HAVE_GST_PLUGINS_GOOD="no"
24662       { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PLUGINS_GOOD_PKG_ERRORS" >&5
24663 $as_echo "$as_me: $GST_PLUGINS_GOOD_PKG_ERRORS" >&6;}
24664       if test "x$required" = "xyes"; then
24665         as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
24666       else
24667         { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
24668 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
24669       fi
24670
24671 else
24672         GST_PLUGINS_GOOD_CFLAGS=$pkg_cv_GST_PLUGINS_GOOD_CFLAGS
24673         GST_PLUGINS_GOOD_LIBS=$pkg_cv_GST_PLUGINS_GOOD_LIBS
24674         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24675 $as_echo "yes" >&6; }
24676
24677       HAVE_GST_PLUGINS_GOOD="yes"
24678
24679 fi
24680
24681
24682
24683   if test "x$HAVE_GST_PLUGINS_GOOD" = "xyes"; then
24684                 if test -z $GST_PLUGINS_GOOD_DIR; then
24685       GST_PLUGINS_GOOD_DIR=`$PKG_CONFIG --variable=pluginsdir gstreamer-plugins-good-$GST_MAJORMINOR`
24686       if test -z $GST_PLUGINS_GOOD_DIR; then
24687         as_fn_error $? "no pluginsdir set in GStreamer Good Plugins pkg-config file" "$LINENO" 5
24688       fi
24689     fi
24690     { $as_echo "$as_me:${as_lineno-$LINENO}: using GStreamer Good Plugins in $GST_PLUGINS_GOOD_DIR" >&5
24691 $as_echo "$as_me: using GStreamer Good Plugins in $GST_PLUGINS_GOOD_DIR" >&6;}
24692     GST_PLUGINS_GOOD_DIR="$GST_PLUGINS_GOOD_DIR/gst:$GST_PLUGINS_GOOD_DIR/sys:$GST_PLUGINS_GOOD_DIR/ext"
24693
24694   fi
24695
24696
24697
24698   module=gstreamer-plugins-ugly-$GST_MAJORMINOR
24699   minver=0.10.16
24700   name="GStreamer Ugly Plugins"
24701   required=no
24702
24703 pkg_failed=no
24704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_PLUGINS_UGLY" >&5
24705 $as_echo_n "checking for GST_PLUGINS_UGLY... " >&6; }
24706
24707 if test -n "$PKG_CONFIG"; then
24708     if test -n "$GST_PLUGINS_UGLY_CFLAGS"; then
24709         pkg_cv_GST_PLUGINS_UGLY_CFLAGS="$GST_PLUGINS_UGLY_CFLAGS"
24710     else
24711         if test -n "$PKG_CONFIG" && \
24712     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
24713   ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
24714   ac_status=$?
24715   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24716   test $ac_status = 0; }; then
24717   pkg_cv_GST_PLUGINS_UGLY_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
24718 else
24719   pkg_failed=yes
24720 fi
24721     fi
24722 else
24723         pkg_failed=untried
24724 fi
24725 if test -n "$PKG_CONFIG"; then
24726     if test -n "$GST_PLUGINS_UGLY_LIBS"; then
24727         pkg_cv_GST_PLUGINS_UGLY_LIBS="$GST_PLUGINS_UGLY_LIBS"
24728     else
24729         if test -n "$PKG_CONFIG" && \
24730     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
24731   ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
24732   ac_status=$?
24733   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24734   test $ac_status = 0; }; then
24735   pkg_cv_GST_PLUGINS_UGLY_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
24736 else
24737   pkg_failed=yes
24738 fi
24739     fi
24740 else
24741         pkg_failed=untried
24742 fi
24743
24744
24745
24746 if test $pkg_failed = yes; then
24747
24748 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24749         _pkg_short_errors_supported=yes
24750 else
24751         _pkg_short_errors_supported=no
24752 fi
24753         if test $_pkg_short_errors_supported = yes; then
24754                 GST_PLUGINS_UGLY_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
24755         else
24756                 GST_PLUGINS_UGLY_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
24757         fi
24758         # Put the nasty error message in config.log where it belongs
24759         echo "$GST_PLUGINS_UGLY_PKG_ERRORS" >&5
24760
24761         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24762 $as_echo "no" >&6; }
24763
24764       HAVE_GST_PLUGINS_UGLY="no"
24765       { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PLUGINS_UGLY_PKG_ERRORS" >&5
24766 $as_echo "$as_me: $GST_PLUGINS_UGLY_PKG_ERRORS" >&6;}
24767       if test "x$required" = "xyes"; then
24768         as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
24769       else
24770         { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
24771 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
24772       fi
24773
24774 elif test $pkg_failed = untried; then
24775
24776       HAVE_GST_PLUGINS_UGLY="no"
24777       { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PLUGINS_UGLY_PKG_ERRORS" >&5
24778 $as_echo "$as_me: $GST_PLUGINS_UGLY_PKG_ERRORS" >&6;}
24779       if test "x$required" = "xyes"; then
24780         as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
24781       else
24782         { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
24783 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
24784       fi
24785
24786 else
24787         GST_PLUGINS_UGLY_CFLAGS=$pkg_cv_GST_PLUGINS_UGLY_CFLAGS
24788         GST_PLUGINS_UGLY_LIBS=$pkg_cv_GST_PLUGINS_UGLY_LIBS
24789         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24790 $as_echo "yes" >&6; }
24791
24792       HAVE_GST_PLUGINS_UGLY="yes"
24793
24794 fi
24795
24796
24797
24798   if test "x$HAVE_GST_PLUGINS_UGLY" = "xyes"; then
24799                 if test -z $GST_PLUGINS_UGLY_DIR; then
24800       GST_PLUGINS_UGLY_DIR=`$PKG_CONFIG --variable=pluginsdir gstreamer-plugins-ugly-$GST_MAJORMINOR`
24801       if test -z $GST_PLUGINS_UGLY_DIR; then
24802         as_fn_error $? "no pluginsdir set in GStreamer Ugly Plugins pkg-config file" "$LINENO" 5
24803       fi
24804     fi
24805     { $as_echo "$as_me:${as_lineno-$LINENO}: using GStreamer Ugly Plugins in $GST_PLUGINS_UGLY_DIR" >&5
24806 $as_echo "$as_me: using GStreamer Ugly Plugins in $GST_PLUGINS_UGLY_DIR" >&6;}
24807     GST_PLUGINS_UGLY_DIR="$GST_PLUGINS_UGLY_DIR/gst:$GST_PLUGINS_UGLY_DIR/sys:$GST_PLUGINS_UGLY_DIR/ext"
24808
24809   fi
24810
24811
24812
24813   module=gstreamer-plugins-ffmpeg-$GST_MAJORMINOR
24814   minver=0.10.11
24815   name="GStreamer FFmpeg Plugins"
24816   required=no
24817
24818 pkg_failed=no
24819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_PLUGINS_FFMPEG" >&5
24820 $as_echo_n "checking for GST_PLUGINS_FFMPEG... " >&6; }
24821
24822 if test -n "$PKG_CONFIG"; then
24823     if test -n "$GST_PLUGINS_FFMPEG_CFLAGS"; then
24824         pkg_cv_GST_PLUGINS_FFMPEG_CFLAGS="$GST_PLUGINS_FFMPEG_CFLAGS"
24825     else
24826         if test -n "$PKG_CONFIG" && \
24827     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
24828   ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
24829   ac_status=$?
24830   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24831   test $ac_status = 0; }; then
24832   pkg_cv_GST_PLUGINS_FFMPEG_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
24833 else
24834   pkg_failed=yes
24835 fi
24836     fi
24837 else
24838         pkg_failed=untried
24839 fi
24840 if test -n "$PKG_CONFIG"; then
24841     if test -n "$GST_PLUGINS_FFMPEG_LIBS"; then
24842         pkg_cv_GST_PLUGINS_FFMPEG_LIBS="$GST_PLUGINS_FFMPEG_LIBS"
24843     else
24844         if test -n "$PKG_CONFIG" && \
24845     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
24846   ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
24847   ac_status=$?
24848   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24849   test $ac_status = 0; }; then
24850   pkg_cv_GST_PLUGINS_FFMPEG_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
24851 else
24852   pkg_failed=yes
24853 fi
24854     fi
24855 else
24856         pkg_failed=untried
24857 fi
24858
24859
24860
24861 if test $pkg_failed = yes; then
24862
24863 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24864         _pkg_short_errors_supported=yes
24865 else
24866         _pkg_short_errors_supported=no
24867 fi
24868         if test $_pkg_short_errors_supported = yes; then
24869                 GST_PLUGINS_FFMPEG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
24870         else
24871                 GST_PLUGINS_FFMPEG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
24872         fi
24873         # Put the nasty error message in config.log where it belongs
24874         echo "$GST_PLUGINS_FFMPEG_PKG_ERRORS" >&5
24875
24876         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24877 $as_echo "no" >&6; }
24878
24879       HAVE_GST_PLUGINS_FFMPEG="no"
24880       { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PLUGINS_FFMPEG_PKG_ERRORS" >&5
24881 $as_echo "$as_me: $GST_PLUGINS_FFMPEG_PKG_ERRORS" >&6;}
24882       if test "x$required" = "xyes"; then
24883         as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
24884       else
24885         { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
24886 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
24887       fi
24888
24889 elif test $pkg_failed = untried; then
24890
24891       HAVE_GST_PLUGINS_FFMPEG="no"
24892       { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PLUGINS_FFMPEG_PKG_ERRORS" >&5
24893 $as_echo "$as_me: $GST_PLUGINS_FFMPEG_PKG_ERRORS" >&6;}
24894       if test "x$required" = "xyes"; then
24895         as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
24896       else
24897         { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
24898 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
24899       fi
24900
24901 else
24902         GST_PLUGINS_FFMPEG_CFLAGS=$pkg_cv_GST_PLUGINS_FFMPEG_CFLAGS
24903         GST_PLUGINS_FFMPEG_LIBS=$pkg_cv_GST_PLUGINS_FFMPEG_LIBS
24904         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24905 $as_echo "yes" >&6; }
24906
24907       HAVE_GST_PLUGINS_FFMPEG="yes"
24908
24909 fi
24910
24911
24912
24913   if test "x$HAVE_GST_PLUGINS_FFMPEG" = "xyes"; then
24914                 if test -z $GST_PLUGINS_FFMPEG_DIR; then
24915       GST_PLUGINS_FFMPEG_DIR=`$PKG_CONFIG --variable=pluginsdir gstreamer-plugins-ffmpeg-$GST_MAJORMINOR`
24916       if test -z $GST_PLUGINS_FFMPEG_DIR; then
24917         as_fn_error $? "no pluginsdir set in GStreamer FFmpeg Plugins pkg-config file" "$LINENO" 5
24918       fi
24919     fi
24920     GST_PLUGINS_FFMPEG_DIR="$GST_PLUGINS_FFMPEG_DIR/ext/ffmpeg"
24921     { $as_echo "$as_me:${as_lineno-$LINENO}: using GStreamer FFmpeg Plugins in $GST_PLUGINS_FFMPEG_DIR" >&5
24922 $as_echo "$as_me: using GStreamer FFmpeg Plugins in $GST_PLUGINS_FFMPEG_DIR" >&6;}
24923
24924   fi
24925
24926
24927 GLIB_PREFIX="`$PKG_CONFIG --variable=prefix glib-2.0`"
24928 GST_PREFIX="`$PKG_CONFIG --variable=prefix gstreamer-$GST_MAJORMINOR`"
24929 GSTPB_PREFIX="`$PKG_CONFIG --variable=prefix gstreamer-plugins-base-$GST_MAJORMINOR`"
24930
24931
24932
24933
24934 HAVE_GTK=NO
24935 GTK2_REQ=2.14.0
24936 GTK3_REQ=2.91.3
24937 if test "x$BUILD_EXAMPLES" = "xyes"; then
24938   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which gtk+ version to compile examples against (optional)" >&5
24939 $as_echo_n "checking which gtk+ version to compile examples against (optional)... " >&6; }
24940
24941 # Check whether --with-gtk was given.
24942 if test "${with_gtk+set}" = set; then :
24943   withval=$with_gtk; case "$with_gtk" in
24944         2.0) GTK_REQ=$GTK2_REQ ;;
24945         3.0) GTK_REQ=$GTK3_REQ ;;
24946         *) as_fn_error $? "invalid gtk+ version specified" "$LINENO" 5;;
24947     esac
24948 else
24949   with_gtk=2.0
24950      GTK_REQ=$GTK2_REQ
24951 fi
24952
24953   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_gtk (>= $GTK_REQ)" >&5
24954 $as_echo "$with_gtk (>= $GTK_REQ)" >&6; }
24955
24956 pkg_failed=no
24957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
24958 $as_echo_n "checking for GTK... " >&6; }
24959
24960 if test -n "$PKG_CONFIG"; then
24961     if test -n "$GTK_CFLAGS"; then
24962         pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
24963     else
24964         if test -n "$PKG_CONFIG" && \
24965     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-x11-\$with_gtk >= \$GTK_REQ\""; } >&5
24966   ($PKG_CONFIG --exists --print-errors "gtk+-x11-$with_gtk >= $GTK_REQ") 2>&5
24967   ac_status=$?
24968   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24969   test $ac_status = 0; }; then
24970   pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-x11-$with_gtk >= $GTK_REQ" 2>/dev/null`
24971 else
24972   pkg_failed=yes
24973 fi
24974     fi
24975 else
24976         pkg_failed=untried
24977 fi
24978 if test -n "$PKG_CONFIG"; then
24979     if test -n "$GTK_LIBS"; then
24980         pkg_cv_GTK_LIBS="$GTK_LIBS"
24981     else
24982         if test -n "$PKG_CONFIG" && \
24983     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-x11-\$with_gtk >= \$GTK_REQ\""; } >&5
24984   ($PKG_CONFIG --exists --print-errors "gtk+-x11-$with_gtk >= $GTK_REQ") 2>&5
24985   ac_status=$?
24986   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24987   test $ac_status = 0; }; then
24988   pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-x11-$with_gtk >= $GTK_REQ" 2>/dev/null`
24989 else
24990   pkg_failed=yes
24991 fi
24992     fi
24993 else
24994         pkg_failed=untried
24995 fi
24996
24997
24998
24999 if test $pkg_failed = yes; then
25000
25001 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25002         _pkg_short_errors_supported=yes
25003 else
25004         _pkg_short_errors_supported=no
25005 fi
25006         if test $_pkg_short_errors_supported = yes; then
25007                 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-x11-$with_gtk >= $GTK_REQ"`
25008         else
25009                 GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-x11-$with_gtk >= $GTK_REQ"`
25010         fi
25011         # Put the nasty error message in config.log where it belongs
25012         echo "$GTK_PKG_ERRORS" >&5
25013
25014         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25015 $as_echo "no" >&6; }
25016                 HAVE_GTK=no
25017 elif test $pkg_failed = untried; then
25018         HAVE_GTK=no
25019 else
25020         GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
25021         GTK_LIBS=$pkg_cv_GTK_LIBS
25022         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25023 $as_echo "yes" >&6; }
25024         HAVE_GTK=yes
25025 fi
25026
25027
25028 fi
25029  if test "x$HAVE_GTK" = "xyes"; then
25030   HAVE_GTK_TRUE=
25031   HAVE_GTK_FALSE='#'
25032 else
25033   HAVE_GTK_TRUE='#'
25034   HAVE_GTK_FALSE=
25035 fi
25036
25037
25038
25039
25040
25041 pkg_failed=no
25042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GMODULE_EXPORT" >&5
25043 $as_echo_n "checking for GMODULE_EXPORT... " >&6; }
25044
25045 if test -n "$PKG_CONFIG"; then
25046     if test -n "$GMODULE_EXPORT_CFLAGS"; then
25047         pkg_cv_GMODULE_EXPORT_CFLAGS="$GMODULE_EXPORT_CFLAGS"
25048     else
25049         if test -n "$PKG_CONFIG" && \
25050     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-export-2.0\""; } >&5
25051   ($PKG_CONFIG --exists --print-errors "gmodule-export-2.0") 2>&5
25052   ac_status=$?
25053   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25054   test $ac_status = 0; }; then
25055   pkg_cv_GMODULE_EXPORT_CFLAGS=`$PKG_CONFIG --cflags "gmodule-export-2.0" 2>/dev/null`
25056 else
25057   pkg_failed=yes
25058 fi
25059     fi
25060 else
25061         pkg_failed=untried
25062 fi
25063 if test -n "$PKG_CONFIG"; then
25064     if test -n "$GMODULE_EXPORT_LIBS"; then
25065         pkg_cv_GMODULE_EXPORT_LIBS="$GMODULE_EXPORT_LIBS"
25066     else
25067         if test -n "$PKG_CONFIG" && \
25068     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-export-2.0\""; } >&5
25069   ($PKG_CONFIG --exists --print-errors "gmodule-export-2.0") 2>&5
25070   ac_status=$?
25071   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25072   test $ac_status = 0; }; then
25073   pkg_cv_GMODULE_EXPORT_LIBS=`$PKG_CONFIG --libs "gmodule-export-2.0" 2>/dev/null`
25074 else
25075   pkg_failed=yes
25076 fi
25077     fi
25078 else
25079         pkg_failed=untried
25080 fi
25081
25082
25083
25084 if test $pkg_failed = yes; then
25085
25086 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25087         _pkg_short_errors_supported=yes
25088 else
25089         _pkg_short_errors_supported=no
25090 fi
25091         if test $_pkg_short_errors_supported = yes; then
25092                 GMODULE_EXPORT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gmodule-export-2.0"`
25093         else
25094                 GMODULE_EXPORT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gmodule-export-2.0"`
25095         fi
25096         # Put the nasty error message in config.log where it belongs
25097         echo "$GMODULE_EXPORT_PKG_ERRORS" >&5
25098
25099         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25100 $as_echo "no" >&6; }
25101                 HAVE_GMODULE_EXPORT=no
25102 elif test $pkg_failed = untried; then
25103         HAVE_GMODULE_EXPORT=no
25104 else
25105         GMODULE_EXPORT_CFLAGS=$pkg_cv_GMODULE_EXPORT_CFLAGS
25106         GMODULE_EXPORT_LIBS=$pkg_cv_GMODULE_EXPORT_LIBS
25107         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25108 $as_echo "yes" >&6; }
25109         HAVE_GMODULE_EXPORT=yes
25110 fi
25111
25112 HAVE_X11=NO
25113
25114 pkg_failed=no
25115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11" >&5
25116 $as_echo_n "checking for X11... " >&6; }
25117
25118 if test -n "$PKG_CONFIG"; then
25119     if test -n "$X11_CFLAGS"; then
25120         pkg_cv_X11_CFLAGS="$X11_CFLAGS"
25121     else
25122         if test -n "$PKG_CONFIG" && \
25123     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
25124   ($PKG_CONFIG --exists --print-errors "x11") 2>&5
25125   ac_status=$?
25126   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25127   test $ac_status = 0; }; then
25128   pkg_cv_X11_CFLAGS=`$PKG_CONFIG --cflags "x11" 2>/dev/null`
25129 else
25130   pkg_failed=yes
25131 fi
25132     fi
25133 else
25134         pkg_failed=untried
25135 fi
25136 if test -n "$PKG_CONFIG"; then
25137     if test -n "$X11_LIBS"; then
25138         pkg_cv_X11_LIBS="$X11_LIBS"
25139     else
25140         if test -n "$PKG_CONFIG" && \
25141     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
25142   ($PKG_CONFIG --exists --print-errors "x11") 2>&5
25143   ac_status=$?
25144   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25145   test $ac_status = 0; }; then
25146   pkg_cv_X11_LIBS=`$PKG_CONFIG --libs "x11" 2>/dev/null`
25147 else
25148   pkg_failed=yes
25149 fi
25150     fi
25151 else
25152         pkg_failed=untried
25153 fi
25154
25155
25156
25157 if test $pkg_failed = yes; then
25158
25159 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25160         _pkg_short_errors_supported=yes
25161 else
25162         _pkg_short_errors_supported=no
25163 fi
25164         if test $_pkg_short_errors_supported = yes; then
25165                 X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "x11"`
25166         else
25167                 X11_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "x11"`
25168         fi
25169         # Put the nasty error message in config.log where it belongs
25170         echo "$X11_PKG_ERRORS" >&5
25171
25172         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25173 $as_echo "no" >&6; }
25174                 HAVE_X11=no
25175 elif test $pkg_failed = untried; then
25176         HAVE_X11=no
25177 else
25178         X11_CFLAGS=$pkg_cv_X11_CFLAGS
25179         X11_LIBS=$pkg_cv_X11_LIBS
25180         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25181 $as_echo "yes" >&6; }
25182         HAVE_X11=yes
25183 fi
25184
25185
25186
25187  if test "x$HAVE_X11" = "xyes"; then
25188   HAVE_X11_TRUE=
25189   HAVE_X11_FALSE='#'
25190 else
25191   HAVE_X11_TRUE='#'
25192   HAVE_X11_FALSE=
25193 fi
25194
25195 if test "x$HAVE_X11" = "xyes"; then
25196
25197 $as_echo "#define HAVE_X11 1" >>confdefs.h
25198
25199 fi
25200
25201
25202 pkg_failed=no
25203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EXIF" >&5
25204 $as_echo_n "checking for EXIF... " >&6; }
25205
25206 if test -n "$PKG_CONFIG"; then
25207     if test -n "$EXIF_CFLAGS"; then
25208         pkg_cv_EXIF_CFLAGS="$EXIF_CFLAGS"
25209     else
25210         if test -n "$PKG_CONFIG" && \
25211     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libexif >= 0.6.16\""; } >&5
25212   ($PKG_CONFIG --exists --print-errors "libexif >= 0.6.16") 2>&5
25213   ac_status=$?
25214   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25215   test $ac_status = 0; }; then
25216   pkg_cv_EXIF_CFLAGS=`$PKG_CONFIG --cflags "libexif >= 0.6.16" 2>/dev/null`
25217 else
25218   pkg_failed=yes
25219 fi
25220     fi
25221 else
25222         pkg_failed=untried
25223 fi
25224 if test -n "$PKG_CONFIG"; then
25225     if test -n "$EXIF_LIBS"; then
25226         pkg_cv_EXIF_LIBS="$EXIF_LIBS"
25227     else
25228         if test -n "$PKG_CONFIG" && \
25229     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libexif >= 0.6.16\""; } >&5
25230   ($PKG_CONFIG --exists --print-errors "libexif >= 0.6.16") 2>&5
25231   ac_status=$?
25232   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25233   test $ac_status = 0; }; then
25234   pkg_cv_EXIF_LIBS=`$PKG_CONFIG --libs "libexif >= 0.6.16" 2>/dev/null`
25235 else
25236   pkg_failed=yes
25237 fi
25238     fi
25239 else
25240         pkg_failed=untried
25241 fi
25242
25243
25244
25245 if test $pkg_failed = yes; then
25246
25247 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25248         _pkg_short_errors_supported=yes
25249 else
25250         _pkg_short_errors_supported=no
25251 fi
25252         if test $_pkg_short_errors_supported = yes; then
25253                 EXIF_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libexif >= 0.6.16"`
25254         else
25255                 EXIF_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libexif >= 0.6.16"`
25256         fi
25257         # Put the nasty error message in config.log where it belongs
25258         echo "$EXIF_PKG_ERRORS" >&5
25259
25260         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25261 $as_echo "no" >&6; }
25262                 HAVE_EXIF="no"
25263 elif test $pkg_failed = untried; then
25264         HAVE_EXIF="no"
25265 else
25266         EXIF_CFLAGS=$pkg_cv_EXIF_CFLAGS
25267         EXIF_LIBS=$pkg_cv_EXIF_LIBS
25268         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25269 $as_echo "yes" >&6; }
25270         HAVE_EXIF="yes"
25271 fi
25272
25273
25274  if test "x$HAVE_EXIF" = "xyes"; then
25275   USE_EXIF_TRUE=
25276   USE_EXIF_FALSE='#'
25277 else
25278   USE_EXIF_TRUE='#'
25279   USE_EXIF_FALSE=
25280 fi
25281
25282
25283
25284   ORC_REQ=0.4.11
25285
25286   # Check whether --enable-orc was given.
25287 if test "${enable_orc+set}" = set; then :
25288   enableval=$enable_orc; case "${enableval}" in
25289     auto) enable_orc=auto ;;
25290     yes) enable_orc=yes ;;
25291     no)  enable_orc=no ;;
25292     *) as_fn_error $? "bad value ${enableval} for --enable-orc" "$LINENO" 5 ;;
25293   esac
25294
25295 else
25296   enable_orc=auto
25297 fi
25298
25299   if test "x$enable_orc" != "xno" ; then
25300
25301 pkg_failed=no
25302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ORC" >&5
25303 $as_echo_n "checking for ORC... " >&6; }
25304
25305 if test -n "$PKG_CONFIG"; then
25306     if test -n "$ORC_CFLAGS"; then
25307         pkg_cv_ORC_CFLAGS="$ORC_CFLAGS"
25308     else
25309         if test -n "$PKG_CONFIG" && \
25310     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"orc-0.4 >= \$ORC_REQ\""; } >&5
25311   ($PKG_CONFIG --exists --print-errors "orc-0.4 >= $ORC_REQ") 2>&5
25312   ac_status=$?
25313   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25314   test $ac_status = 0; }; then
25315   pkg_cv_ORC_CFLAGS=`$PKG_CONFIG --cflags "orc-0.4 >= $ORC_REQ" 2>/dev/null`
25316 else
25317   pkg_failed=yes
25318 fi
25319     fi
25320 else
25321         pkg_failed=untried
25322 fi
25323 if test -n "$PKG_CONFIG"; then
25324     if test -n "$ORC_LIBS"; then
25325         pkg_cv_ORC_LIBS="$ORC_LIBS"
25326     else
25327         if test -n "$PKG_CONFIG" && \
25328     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"orc-0.4 >= \$ORC_REQ\""; } >&5
25329   ($PKG_CONFIG --exists --print-errors "orc-0.4 >= $ORC_REQ") 2>&5
25330   ac_status=$?
25331   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25332   test $ac_status = 0; }; then
25333   pkg_cv_ORC_LIBS=`$PKG_CONFIG --libs "orc-0.4 >= $ORC_REQ" 2>/dev/null`
25334 else
25335   pkg_failed=yes
25336 fi
25337     fi
25338 else
25339         pkg_failed=untried
25340 fi
25341
25342
25343
25344 if test $pkg_failed = yes; then
25345
25346 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25347         _pkg_short_errors_supported=yes
25348 else
25349         _pkg_short_errors_supported=no
25350 fi
25351         if test $_pkg_short_errors_supported = yes; then
25352                 ORC_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "orc-0.4 >= $ORC_REQ"`
25353         else
25354                 ORC_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "orc-0.4 >= $ORC_REQ"`
25355         fi
25356         # Put the nasty error message in config.log where it belongs
25357         echo "$ORC_PKG_ERRORS" >&5
25358
25359         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25360 $as_echo "no" >&6; }
25361
25362       if test "x$enable_orc" = "xyes" ; then
25363         as_fn_error $? "--enable-orc specified, but Orc >= $ORC_REQ not found" "$LINENO" 5
25364       fi
25365
25366 $as_echo "#define DISABLE_ORC 1" >>confdefs.h
25367
25368       HAVE_ORC=no
25369       HAVE_ORCC=no
25370
25371 elif test $pkg_failed = untried; then
25372
25373       if test "x$enable_orc" = "xyes" ; then
25374         as_fn_error $? "--enable-orc specified, but Orc >= $ORC_REQ not found" "$LINENO" 5
25375       fi
25376
25377 $as_echo "#define DISABLE_ORC 1" >>confdefs.h
25378
25379       HAVE_ORC=no
25380       HAVE_ORCC=no
25381
25382 else
25383         ORC_CFLAGS=$pkg_cv_ORC_CFLAGS
25384         ORC_LIBS=$pkg_cv_ORC_LIBS
25385         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25386 $as_echo "yes" >&6; }
25387
25388
25389 $as_echo "#define HAVE_ORC 1" >>confdefs.h
25390
25391       HAVE_ORC=yes
25392       if test "x$ORCC" = "x" ; then
25393         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usable orcc" >&5
25394 $as_echo_n "checking for usable orcc... " >&6; }
25395         ORCC=`$PKG_CONFIG --variable=orcc orc-0.4`
25396                         if $ORCC --version 1> /dev/null 2> /dev/null; then :
25397
25398 else
25399   ORCC=`which orcc`
25400 fi
25401         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ORCC" >&5
25402 $as_echo "$ORCC" >&6; }
25403       fi
25404
25405       ORCC_FLAGS="--compat $ORC_REQ"
25406
25407       if test "x$ORCC" = "x"; then :
25408   HAVE_ORCC=no
25409 else
25410   HAVE_ORCC=yes
25411 fi
25412
25413 fi
25414   else
25415
25416 $as_echo "#define DISABLE_ORC 1" >>confdefs.h
25417
25418     HAVE_ORC=no
25419     HAVE_ORCC=no
25420   fi
25421    if test "x$HAVE_ORC" = "xyes"; then
25422   HAVE_ORC_TRUE=
25423   HAVE_ORC_FALSE='#'
25424 else
25425   HAVE_ORC_TRUE='#'
25426   HAVE_ORC_FALSE=
25427 fi
25428
25429    if test "x$HAVE_ORCC" = "xyes"; then
25430   HAVE_ORCC_TRUE=
25431   HAVE_ORCC_FALSE='#'
25432 else
25433   HAVE_ORCC_TRUE='#'
25434   HAVE_ORCC_FALSE=
25435 fi
25436
25437
25438
25439
25440 GST_LICENSE="LGPL"
25441
25442 cat >>confdefs.h <<_ACEOF
25443 #define GST_LICENSE "$GST_LICENSE"
25444 _ACEOF
25445
25446
25447
25448
25449   EXP_VAR=LIBDIR
25450   FROM_VAR=$libdir
25451
25452     prefix_save=$prefix
25453   exec_prefix_save=$exec_prefix
25454
25455     if test "x$prefix" = "xNONE"; then
25456     prefix="$ac_default_prefix"
25457   fi
25458     if test "x$exec_prefix" = "xNONE"; then
25459     exec_prefix=$prefix
25460   fi
25461
25462   full_var="$FROM_VAR"
25463     while true; do
25464     new_full_var="`eval echo $full_var`"
25465     if test "x$new_full_var" = "x$full_var"; then break; fi
25466     full_var=$new_full_var
25467   done
25468
25469     full_var=$new_full_var
25470   LIBDIR="$full_var"
25471
25472
25473     prefix=$prefix_save
25474   exec_prefix=$exec_prefix_save
25475
25476
25477 cat >>confdefs.h <<_ACEOF
25478 #define LIBDIR "$LIBDIR"
25479 _ACEOF
25480
25481
25482
25483
25484   EXP_VAR=PLUGINDIR
25485   FROM_VAR=${libdir}/gstreamer-$GST_MAJORMINOR
25486
25487     prefix_save=$prefix
25488   exec_prefix_save=$exec_prefix
25489
25490     if test "x$prefix" = "xNONE"; then
25491     prefix="$ac_default_prefix"
25492   fi
25493     if test "x$exec_prefix" = "xNONE"; then
25494     exec_prefix=$prefix
25495   fi
25496
25497   full_var="$FROM_VAR"
25498     while true; do
25499     new_full_var="`eval echo $full_var`"
25500     if test "x$new_full_var" = "x$full_var"; then break; fi
25501     full_var=$new_full_var
25502   done
25503
25504     full_var=$new_full_var
25505   PLUGINDIR="$full_var"
25506
25507
25508     prefix=$prefix_save
25509   exec_prefix=$exec_prefix_save
25510
25511
25512 cat >>confdefs.h <<_ACEOF
25513 #define PLUGINDIR "$PLUGINDIR"
25514 _ACEOF
25515
25516   { $as_echo "$as_me:${as_lineno-$LINENO}: Using $PLUGINDIR as the plugin install location" >&5
25517 $as_echo "$as_me: Using $PLUGINDIR as the plugin install location" >&6;}
25518
25519     plugindir="\$(libdir)/gstreamer-$GST_MAJORMINOR"
25520
25521
25522
25523
25524   if test "x$PACKAGE_VERSION_NANO" = "x0"; then
25525
25526       if test "xyes" = "xno" -o "xyes" = "x"; then
25527     GST_PACKAGE_RELEASE_DATETIME=`date -u "+%Y-%m-%dT%H:%MZ"`
25528   elif test "xyes" = "xyes"; then
25529             if ( echo yes | grep -e '^201-90-9-0-10-9-0-30-9' >/dev/null ) ; then
25530       GST_PACKAGE_RELEASE_DATETIME=yes
25531     else
25532             YYYY_MM_DD=`sh "${srcdir}/common/extract-release-date-from-doap-file"  $PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR.$PACKAGE_VERSION_MICRO   "${srcdir}/gst-plugins-bad.doap" `;
25533       if test "x$YYYY_MM_DD" != "x"; then
25534         GST_PACKAGE_RELEASE_DATETIME=$YYYY_MM_DD
25535       else
25536         as_fn_error $? "SET_PACKAGE_RELEASE_DATETIME: could not extract
25537             release date for release version  $PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR.$PACKAGE_VERSION_MICRO  from  \"${srcdir}/gst-plugins-bad.doap\" " "$LINENO" 5
25538         GST_PACKAGE_RELEASE_DATETIME=""
25539       fi
25540     fi
25541     elif ( echo yes | grep -e '^201-90-9-0-10-9-0-30-9' >/dev/null ) ; then
25542     GST_PACKAGE_RELEASE_DATETIME=yes
25543   else
25544     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&5
25545 $as_echo "$as_me: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&2;}
25546     GST_PACKAGE_RELEASE_DATETIME=""
25547   fi
25548
25549   if test "x$GST_PACKAGE_RELEASE_DATETIME" = "x"; then
25550     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&5
25551 $as_echo "$as_me: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&2;}
25552   else
25553     { $as_echo "$as_me:${as_lineno-$LINENO}: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&5
25554 $as_echo "$as_me: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&6;}
25555
25556
25557 cat >>confdefs.h <<_ACEOF
25558 #define GST_PACKAGE_RELEASE_DATETIME "$GST_PACKAGE_RELEASE_DATETIME"
25559 _ACEOF
25560
25561   fi
25562
25563   else
25564
25565       if test "xno" = "xno" -o "xno" = "x"; then
25566     GST_PACKAGE_RELEASE_DATETIME=`date -u "+%Y-%m-%dT%H:%MZ"`
25567   elif test "xno" = "xyes"; then
25568             if ( echo no | grep -e '^201-90-9-0-10-9-0-30-9' >/dev/null ) ; then
25569       GST_PACKAGE_RELEASE_DATETIME=no
25570     else
25571             YYYY_MM_DD=`sh "${srcdir}/common/extract-release-date-from-doap-file"  `;
25572       if test "x$YYYY_MM_DD" != "x"; then
25573         GST_PACKAGE_RELEASE_DATETIME=$YYYY_MM_DD
25574       else
25575         as_fn_error $? "SET_PACKAGE_RELEASE_DATETIME: could not extract
25576             release date for release version  from " "$LINENO" 5
25577         GST_PACKAGE_RELEASE_DATETIME=""
25578       fi
25579     fi
25580     elif ( echo no | grep -e '^201-90-9-0-10-9-0-30-9' >/dev/null ) ; then
25581     GST_PACKAGE_RELEASE_DATETIME=no
25582   else
25583     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&5
25584 $as_echo "$as_me: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&2;}
25585     GST_PACKAGE_RELEASE_DATETIME=""
25586   fi
25587
25588   if test "x$GST_PACKAGE_RELEASE_DATETIME" = "x"; then
25589     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&5
25590 $as_echo "$as_me: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&2;}
25591   else
25592     { $as_echo "$as_me:${as_lineno-$LINENO}: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&5
25593 $as_echo "$as_me: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&6;}
25594
25595
25596 cat >>confdefs.h <<_ACEOF
25597 #define GST_PACKAGE_RELEASE_DATETIME "$GST_PACKAGE_RELEASE_DATETIME"
25598 _ACEOF
25599
25600   fi
25601
25602   fi
25603
25604
25605
25606
25607
25608
25609   WARNING_CFLAGS=""
25610   ERROR_CFLAGS=""
25611
25612
25613   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wall" >&5
25614 $as_echo_n "checking to see if compiler understands -Wall... " >&6; }
25615
25616   save_CFLAGS="$CFLAGS"
25617   CFLAGS="$CFLAGS -Wall"
25618
25619   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25620 /* end confdefs.h.  */
25621
25622 int
25623 main ()
25624 {
25625
25626   ;
25627   return 0;
25628 }
25629 _ACEOF
25630 if ac_fn_c_try_compile "$LINENO"; then :
25631   flag_ok=yes
25632 else
25633   flag_ok=no
25634 fi
25635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25636   CFLAGS="$save_CFLAGS"
25637
25638   if test "X$flag_ok" = Xyes ; then
25639     WARNING_CFLAGS="$WARNING_CFLAGS -Wall"
25640     true
25641   else
25642
25643     true
25644   fi
25645   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25646 $as_echo "$flag_ok" >&6; }
25647
25648
25649
25650   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wdeclaration-after-statement" >&5
25651 $as_echo_n "checking to see if compiler understands -Wdeclaration-after-statement... " >&6; }
25652
25653   save_CFLAGS="$CFLAGS"
25654   CFLAGS="$CFLAGS -Wdeclaration-after-statement"
25655
25656   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25657 /* end confdefs.h.  */
25658
25659 int
25660 main ()
25661 {
25662
25663   ;
25664   return 0;
25665 }
25666 _ACEOF
25667 if ac_fn_c_try_compile "$LINENO"; then :
25668   flag_ok=yes
25669 else
25670   flag_ok=no
25671 fi
25672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25673   CFLAGS="$save_CFLAGS"
25674
25675   if test "X$flag_ok" = Xyes ; then
25676     WARNING_CFLAGS="$WARNING_CFLAGS -Wdeclaration-after-statement"
25677     true
25678   else
25679
25680     true
25681   fi
25682   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25683 $as_echo "$flag_ok" >&6; }
25684
25685
25686
25687   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wvla" >&5
25688 $as_echo_n "checking to see if compiler understands -Wvla... " >&6; }
25689
25690   save_CFLAGS="$CFLAGS"
25691   CFLAGS="$CFLAGS -Wvla"
25692
25693   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25694 /* end confdefs.h.  */
25695
25696 int
25697 main ()
25698 {
25699
25700   ;
25701   return 0;
25702 }
25703 _ACEOF
25704 if ac_fn_c_try_compile "$LINENO"; then :
25705   flag_ok=yes
25706 else
25707   flag_ok=no
25708 fi
25709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25710   CFLAGS="$save_CFLAGS"
25711
25712   if test "X$flag_ok" = Xyes ; then
25713     WARNING_CFLAGS="$WARNING_CFLAGS -Wvla"
25714     true
25715   else
25716
25717     true
25718   fi
25719   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25720 $as_echo "$flag_ok" >&6; }
25721
25722
25723
25724   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wpointer-arith" >&5
25725 $as_echo_n "checking to see if compiler understands -Wpointer-arith... " >&6; }
25726
25727   save_CFLAGS="$CFLAGS"
25728   CFLAGS="$CFLAGS -Wpointer-arith"
25729
25730   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25731 /* end confdefs.h.  */
25732
25733 int
25734 main ()
25735 {
25736
25737   ;
25738   return 0;
25739 }
25740 _ACEOF
25741 if ac_fn_c_try_compile "$LINENO"; then :
25742   flag_ok=yes
25743 else
25744   flag_ok=no
25745 fi
25746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25747   CFLAGS="$save_CFLAGS"
25748
25749   if test "X$flag_ok" = Xyes ; then
25750     WARNING_CFLAGS="$WARNING_CFLAGS -Wpointer-arith"
25751     true
25752   else
25753
25754     true
25755   fi
25756   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25757 $as_echo "$flag_ok" >&6; }
25758
25759
25760     if test "x$GST_GIT" != "xno"
25761   then
25762
25763   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Werror" >&5
25764 $as_echo_n "checking to see if compiler understands -Werror... " >&6; }
25765
25766   save_CFLAGS="$CFLAGS"
25767   CFLAGS="$CFLAGS -Werror"
25768
25769   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25770 /* end confdefs.h.  */
25771
25772 int
25773 main ()
25774 {
25775
25776   ;
25777   return 0;
25778 }
25779 _ACEOF
25780 if ac_fn_c_try_compile "$LINENO"; then :
25781   flag_ok=yes
25782 else
25783   flag_ok=no
25784 fi
25785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25786   CFLAGS="$save_CFLAGS"
25787
25788   if test "X$flag_ok" = Xyes ; then
25789     ERROR_CFLAGS="$ERROR_CFLAGS -Werror"
25790     true
25791   else
25792
25793     true
25794   fi
25795   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25796 $as_echo "$flag_ok" >&6; }
25797
25798
25799         if test "x$ERROR_CFLAGS" = "x"
25800     then
25801
25802   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -errwarn=%all" >&5
25803 $as_echo_n "checking to see if compiler understands -errwarn=%all... " >&6; }
25804
25805   save_CFLAGS="$CFLAGS"
25806   CFLAGS="$CFLAGS -errwarn=%all"
25807
25808   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25809 /* end confdefs.h.  */
25810
25811 int
25812 main ()
25813 {
25814
25815   ;
25816   return 0;
25817 }
25818 _ACEOF
25819 if ac_fn_c_try_compile "$LINENO"; then :
25820   flag_ok=yes
25821 else
25822   flag_ok=no
25823 fi
25824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25825   CFLAGS="$save_CFLAGS"
25826
25827   if test "X$flag_ok" = Xyes ; then
25828
25829           ERROR_CFLAGS="-errwarn=%all"
25830                                                                                 for f in 'no%E_EMPTY_DECLARATION' \
25831                    'no%E_STATEMENT_NOT_REACHED' \
25832                    'no%E_ARGUEMENT_MISMATCH' \
25833                    'no%E_MACRO_REDEFINED' \
25834                    'no%E_LOOP_NOT_ENTERED_AT_TOP'
25835           do
25836
25837   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -errwarn=%all,$f" >&5
25838 $as_echo_n "checking to see if compiler understands -errwarn=%all,$f... " >&6; }
25839
25840   save_CFLAGS="$CFLAGS"
25841   CFLAGS="$CFLAGS -errwarn=%all,$f"
25842
25843   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25844 /* end confdefs.h.  */
25845
25846 int
25847 main ()
25848 {
25849
25850   ;
25851   return 0;
25852 }
25853 _ACEOF
25854 if ac_fn_c_try_compile "$LINENO"; then :
25855   flag_ok=yes
25856 else
25857   flag_ok=no
25858 fi
25859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25860   CFLAGS="$save_CFLAGS"
25861
25862   if test "X$flag_ok" = Xyes ; then
25863
25864               ERROR_CFLAGS="$ERROR_CFLAGS,$f"
25865
25866     true
25867   else
25868
25869     true
25870   fi
25871   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25872 $as_echo "$flag_ok" >&6; }
25873
25874           done
25875
25876     true
25877   else
25878
25879     true
25880   fi
25881   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25882 $as_echo "$flag_ok" >&6; }
25883
25884     else
25885                         if test -n "$PKG_CONFIG" && \
25886     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 < 2.19.8\""; } >&5
25887   ($PKG_CONFIG --exists --print-errors "glib-2.0 < 2.19.8") 2>&5
25888   ac_status=$?
25889   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25890   test $ac_status = 0; }; then
25891
25892
25893   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -fno-strict-aliasing" >&5
25894 $as_echo_n "checking to see if compiler understands -fno-strict-aliasing... " >&6; }
25895
25896   save_CFLAGS="$CFLAGS"
25897   CFLAGS="$CFLAGS -fno-strict-aliasing"
25898
25899   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25900 /* end confdefs.h.  */
25901
25902 int
25903 main ()
25904 {
25905
25906   ;
25907   return 0;
25908 }
25909 _ACEOF
25910 if ac_fn_c_try_compile "$LINENO"; then :
25911   flag_ok=yes
25912 else
25913   flag_ok=no
25914 fi
25915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25916   CFLAGS="$save_CFLAGS"
25917
25918   if test "X$flag_ok" = Xyes ; then
25919     ERROR_CFLAGS="$ERROR_CFLAGS -fno-strict-aliasing"
25920     true
25921   else
25922
25923     true
25924   fi
25925   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25926 $as_echo "$flag_ok" >&6; }
25927
25928
25929 fi
25930     fi
25931   fi
25932
25933   if test "x
25934     -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls
25935     -Wwrite-strings -Wformat-security -Wold-style-definition
25936     -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar
25937     -Wnested-externs" != "x"
25938   then
25939     UNSUPPORTED=""
25940     list="
25941     -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls
25942     -Wwrite-strings -Wformat-security -Wold-style-definition
25943     -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar
25944     -Wnested-externs"
25945     for each in $list
25946     do
25947
25948   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands $each" >&5
25949 $as_echo_n "checking to see if compiler understands $each... " >&6; }
25950
25951   save_CFLAGS="$CFLAGS"
25952   CFLAGS="$CFLAGS $each"
25953
25954   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25955 /* end confdefs.h.  */
25956
25957 int
25958 main ()
25959 {
25960
25961   ;
25962   return 0;
25963 }
25964 _ACEOF
25965 if ac_fn_c_try_compile "$LINENO"; then :
25966   flag_ok=yes
25967 else
25968   flag_ok=no
25969 fi
25970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25971   CFLAGS="$save_CFLAGS"
25972
25973   if test "X$flag_ok" = Xyes ; then
25974     WARNING_CFLAGS="$WARNING_CFLAGS $each"
25975     true
25976   else
25977     UNSUPPORTED="$UNSUPPORTED $each"
25978     true
25979   fi
25980   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25981 $as_echo "$flag_ok" >&6; }
25982
25983     done
25984     if test "X$UNSUPPORTED" != X ; then
25985       { $as_echo "$as_me:${as_lineno-$LINENO}: unsupported compiler flags: $UNSUPPORTED" >&5
25986 $as_echo "$as_me: unsupported compiler flags: $UNSUPPORTED" >&6;}
25987     fi
25988   fi
25989
25990
25991
25992   { $as_echo "$as_me:${as_lineno-$LINENO}: set WARNING_CFLAGS to $WARNING_CFLAGS" >&5
25993 $as_echo "$as_me: set WARNING_CFLAGS to $WARNING_CFLAGS" >&6;}
25994   { $as_echo "$as_me:${as_lineno-$LINENO}: set ERROR_CFLAGS to $ERROR_CFLAGS" >&5
25995 $as_echo "$as_me: set ERROR_CFLAGS to $ERROR_CFLAGS" >&6;}
25996
25997
25998
25999
26000
26001   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands " >&5
26002 $as_echo_n "checking to see if c++ compiler understands ... " >&6; }
26003
26004   save_CPPFLAGS="$CPPFLAGS"
26005   CPPFLAGS="$CPPFLAGS "
26006
26007   ac_ext=cpp
26008 ac_cpp='$CXXCPP $CPPFLAGS'
26009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26012
26013
26014   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26015 /* end confdefs.h.  */
26016
26017 int
26018 main ()
26019 {
26020
26021   ;
26022   return 0;
26023 }
26024 _ACEOF
26025 if ac_fn_cxx_try_compile "$LINENO"; then :
26026   flag_ok=yes
26027 else
26028   flag_ok=no
26029 fi
26030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26031   CPPFLAGS="$save_CPPFLAGS"
26032
26033   if test "X$flag_ok" = Xyes ; then
26034
26035     true
26036   else
26037
26038     true
26039   fi
26040
26041   ac_ext=c
26042 ac_cpp='$CPP $CPPFLAGS'
26043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26046
26047
26048   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
26049 $as_echo "$flag_ok" >&6; }
26050
26051
26052
26053
26054
26055   ERROR_CXXFLAGS=""
26056   WARNING_CXXFLAGS=""
26057
26058
26059
26060
26061   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -Wall" >&5
26062 $as_echo_n "checking to see if c++ compiler understands -Wall... " >&6; }
26063
26064   save_CPPFLAGS="$CPPFLAGS"
26065   CPPFLAGS="$CPPFLAGS -Wall"
26066
26067   ac_ext=cpp
26068 ac_cpp='$CXXCPP $CPPFLAGS'
26069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26072
26073
26074   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26075 /* end confdefs.h.  */
26076
26077 int
26078 main ()
26079 {
26080
26081   ;
26082   return 0;
26083 }
26084 _ACEOF
26085 if ac_fn_cxx_try_compile "$LINENO"; then :
26086   flag_ok=yes
26087 else
26088   flag_ok=no
26089 fi
26090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26091   CPPFLAGS="$save_CPPFLAGS"
26092
26093   if test "X$flag_ok" = Xyes ; then
26094     WARNING_CXXFLAGS="$WARNING_CXXFLAGS -Wall"
26095     true
26096   else
26097
26098     true
26099   fi
26100
26101   ac_ext=c
26102 ac_cpp='$CPP $CPPFLAGS'
26103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26106
26107
26108   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
26109 $as_echo "$flag_ok" >&6; }
26110
26111
26112     if test "x$GST_GIT" != "xno"
26113   then
26114
26115
26116
26117   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -Werror" >&5
26118 $as_echo_n "checking to see if c++ compiler understands -Werror... " >&6; }
26119
26120   save_CPPFLAGS="$CPPFLAGS"
26121   CPPFLAGS="$CPPFLAGS -Werror"
26122
26123   ac_ext=cpp
26124 ac_cpp='$CXXCPP $CPPFLAGS'
26125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26128
26129
26130   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26131 /* end confdefs.h.  */
26132
26133 int
26134 main ()
26135 {
26136
26137   ;
26138   return 0;
26139 }
26140 _ACEOF
26141 if ac_fn_cxx_try_compile "$LINENO"; then :
26142   flag_ok=yes
26143 else
26144   flag_ok=no
26145 fi
26146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26147   CPPFLAGS="$save_CPPFLAGS"
26148
26149   if test "X$flag_ok" = Xyes ; then
26150     ERROR_CXXFLAGS="$ERROR_CXXFLAGS -Werror"
26151     true
26152   else
26153
26154     true
26155   fi
26156
26157   ac_ext=c
26158 ac_cpp='$CPP $CPPFLAGS'
26159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26162
26163
26164   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
26165 $as_echo "$flag_ok" >&6; }
26166
26167
26168     if test "x$ERROR_CXXFLAGS" != "x"
26169     then
26170
26171
26172
26173   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -Wno-non-virtual-dtor" >&5
26174 $as_echo_n "checking to see if c++ compiler understands -Wno-non-virtual-dtor... " >&6; }
26175
26176   save_CPPFLAGS="$CPPFLAGS"
26177   CPPFLAGS="$CPPFLAGS -Wno-non-virtual-dtor"
26178
26179   ac_ext=cpp
26180 ac_cpp='$CXXCPP $CPPFLAGS'
26181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26184
26185
26186   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26187 /* end confdefs.h.  */
26188
26189 int
26190 main ()
26191 {
26192
26193   ;
26194   return 0;
26195 }
26196 _ACEOF
26197 if ac_fn_cxx_try_compile "$LINENO"; then :
26198   flag_ok=yes
26199 else
26200   flag_ok=no
26201 fi
26202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26203   CPPFLAGS="$save_CPPFLAGS"
26204
26205   if test "X$flag_ok" = Xyes ; then
26206     ERROR_CXXFLAGS="$ERROR_CXXFLAGS -Wno-non-virtual-dtor"
26207     true
26208   else
26209
26210     true
26211   fi
26212
26213   ac_ext=c
26214 ac_cpp='$CPP $CPPFLAGS'
26215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26218
26219
26220   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
26221 $as_echo "$flag_ok" >&6; }
26222
26223
26224                                 if test -n "$PKG_CONFIG" && \
26225     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 < 2.19.8\""; } >&5
26226   ($PKG_CONFIG --exists --print-errors "glib-2.0 < 2.19.8") 2>&5
26227   ac_status=$?
26228   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26229   test $ac_status = 0; }; then
26230
26231
26232
26233
26234   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -fno-strict-aliasing" >&5
26235 $as_echo_n "checking to see if c++ compiler understands -fno-strict-aliasing... " >&6; }
26236
26237   save_CPPFLAGS="$CPPFLAGS"
26238   CPPFLAGS="$CPPFLAGS -fno-strict-aliasing"
26239
26240   ac_ext=cpp
26241 ac_cpp='$CXXCPP $CPPFLAGS'
26242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26245
26246
26247   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26248 /* end confdefs.h.  */
26249
26250 int
26251 main ()
26252 {
26253
26254   ;
26255   return 0;
26256 }
26257 _ACEOF
26258 if ac_fn_cxx_try_compile "$LINENO"; then :
26259   flag_ok=yes
26260 else
26261   flag_ok=no
26262 fi
26263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26264   CPPFLAGS="$save_CPPFLAGS"
26265
26266   if test "X$flag_ok" = Xyes ; then
26267     ERROR_CXXFLAGS="$ERROR_CXXFLAGS -fno-strict-aliasing"
26268     true
26269   else
26270
26271     true
26272   fi
26273
26274   ac_ext=c
26275 ac_cpp='$CPP $CPPFLAGS'
26276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26279
26280
26281   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
26282 $as_echo "$flag_ok" >&6; }
26283
26284
26285 fi
26286     else
26287
26288
26289
26290   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -errwarn=%all" >&5
26291 $as_echo_n "checking to see if c++ compiler understands -errwarn=%all... " >&6; }
26292
26293   save_CPPFLAGS="$CPPFLAGS"
26294   CPPFLAGS="$CPPFLAGS -errwarn=%all"
26295
26296   ac_ext=cpp
26297 ac_cpp='$CXXCPP $CPPFLAGS'
26298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26301
26302
26303   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26304 /* end confdefs.h.  */
26305
26306 int
26307 main ()
26308 {
26309
26310   ;
26311   return 0;
26312 }
26313 _ACEOF
26314 if ac_fn_cxx_try_compile "$LINENO"; then :
26315   flag_ok=yes
26316 else
26317   flag_ok=no
26318 fi
26319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26320   CPPFLAGS="$save_CPPFLAGS"
26321
26322   if test "X$flag_ok" = Xyes ; then
26323     ERROR_CXXFLAGS="$ERROR_CXXFLAGS -errwarn=%all"
26324     true
26325   else
26326
26327     true
26328   fi
26329
26330   ac_ext=c
26331 ac_cpp='$CPP $CPPFLAGS'
26332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26335
26336
26337   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
26338 $as_echo "$flag_ok" >&6; }
26339
26340       if test "x$ERROR_CXXFLAGS" != "x"; then
26341                                                                                 for f in 'no%E_EMPTY_DECLARATION' \
26342                  'no%E_STATEMENT_NOT_REACHED' \
26343                  'no%E_ARGUEMENT_MISMATCH' \
26344                  'no%E_MACRO_REDEFINED' \
26345                  'no%E_LOOP_NOT_ENTERED_AT_TOP'
26346         do
26347
26348
26349
26350   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -errwarn=%all,$f" >&5
26351 $as_echo_n "checking to see if c++ compiler understands -errwarn=%all,$f... " >&6; }
26352
26353   save_CPPFLAGS="$CPPFLAGS"
26354   CPPFLAGS="$CPPFLAGS -errwarn=%all,$f"
26355
26356   ac_ext=cpp
26357 ac_cpp='$CXXCPP $CPPFLAGS'
26358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26361
26362
26363   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26364 /* end confdefs.h.  */
26365
26366 int
26367 main ()
26368 {
26369
26370   ;
26371   return 0;
26372 }
26373 _ACEOF
26374 if ac_fn_cxx_try_compile "$LINENO"; then :
26375   flag_ok=yes
26376 else
26377   flag_ok=no
26378 fi
26379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26380   CPPFLAGS="$save_CPPFLAGS"
26381
26382   if test "X$flag_ok" = Xyes ; then
26383     ERROR_CXXFLAGS="$ERROR_CXXFLAGS
26384     true
26385   else
26386     $f"
26387     true
26388   fi
26389
26390   ac_ext=c
26391 ac_cpp='$CPP $CPPFLAGS'
26392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26395
26396
26397   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
26398 $as_echo "$flag_ok" >&6; }
26399
26400         done
26401       fi
26402     fi
26403   fi
26404
26405   if test "x
26406     -Wmissing-declarations -Wredundant-decls
26407     -Wwrite-strings -Wformat-nonliteral -Wformat-security
26408     -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar " != "x"
26409   then
26410     UNSUPPORTED=""
26411     list="
26412     -Wmissing-declarations -Wredundant-decls
26413     -Wwrite-strings -Wformat-nonliteral -Wformat-security
26414     -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar "
26415     for each in $list
26416     do
26417
26418
26419
26420   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands $each" >&5
26421 $as_echo_n "checking to see if c++ compiler understands $each... " >&6; }
26422
26423   save_CPPFLAGS="$CPPFLAGS"
26424   CPPFLAGS="$CPPFLAGS $each"
26425
26426   ac_ext=cpp
26427 ac_cpp='$CXXCPP $CPPFLAGS'
26428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26431
26432
26433   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26434 /* end confdefs.h.  */
26435
26436 int
26437 main ()
26438 {
26439
26440   ;
26441   return 0;
26442 }
26443 _ACEOF
26444 if ac_fn_cxx_try_compile "$LINENO"; then :
26445   flag_ok=yes
26446 else
26447   flag_ok=no
26448 fi
26449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26450   CPPFLAGS="$save_CPPFLAGS"
26451
26452   if test "X$flag_ok" = Xyes ; then
26453     WARNING_CXXFLAGS="$WARNING_CXXFLAGS $each"
26454     true
26455   else
26456     UNSUPPORTED="$UNSUPPORTED $each"
26457     true
26458   fi
26459
26460   ac_ext=c
26461 ac_cpp='$CPP $CPPFLAGS'
26462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26465
26466
26467   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
26468 $as_echo "$flag_ok" >&6; }
26469
26470     done
26471     if test "X$UNSUPPORTED" != X ; then
26472       { $as_echo "$as_me:${as_lineno-$LINENO}: unsupported compiler flags: $UNSUPPORTED" >&5
26473 $as_echo "$as_me: unsupported compiler flags: $UNSUPPORTED" >&6;}
26474     fi
26475   fi
26476
26477
26478
26479   { $as_echo "$as_me:${as_lineno-$LINENO}: set WARNING_CXXFLAGS to $WARNING_CXXFLAGS" >&5
26480 $as_echo "$as_me: set WARNING_CXXFLAGS to $WARNING_CXXFLAGS" >&6;}
26481   { $as_echo "$as_me:${as_lineno-$LINENO}: set ERROR_CXXFLAGS to $ERROR_CXXFLAGS" >&5
26482 $as_echo "$as_me: set ERROR_CXXFLAGS to $ERROR_CXXFLAGS" >&6;}
26483
26484
26485
26486       if test "x$GST_GIT" = "xyes"; then
26487     GST_LEVEL_DEFAULT=GST_LEVEL_ERROR
26488   else
26489     GST_LEVEL_DEFAULT=GST_LEVEL_NONE
26490   fi
26491
26492 cat >>confdefs.h <<_ACEOF
26493 #define GST_LEVEL_DEFAULT $GST_LEVEL_DEFAULT
26494 _ACEOF
26495
26496
26497
26498
26499
26500             DEFAULT_AUDIOSINK="autoaudiosink"
26501   DEFAULT_VIDEOSINK="autovideosink"
26502   DEFAULT_AUDIOSRC="alsasrc"
26503   DEFAULT_VIDEOSRC="v4l2src"
26504   DEFAULT_VISUALIZER="goom"
26505   case "$host" in
26506     *-sun-* | *pc-solaris* )
26507       DEFAULT_AUDIOSRC="sunaudiosrc"
26508       ;;
26509     *-darwin* )
26510       DEFAULT_AUDIOSRC="osxaudiosrc"
26511       ;;
26512   esac
26513
26514
26515 # Check whether --with-default-audiosink was given.
26516 if test "${with_default_audiosink+set}" = set; then :
26517   withval=$with_default_audiosink;
26518       case "${withval}" in
26519         yes) as_fn_error $? "bad value ${withval} for --with-default-audiosink" "$LINENO" 5 ;;
26520         no)  as_fn_error $? "bad value ${withval} for --with-default-audiosink" "$LINENO" 5 ;;
26521         *)   DEFAULT_AUDIOSINK="${withval}" ;;
26522       esac
26523
26524 else
26525
26526       DEFAULT_AUDIOSINK="$DEFAULT_AUDIOSINK"
26527
26528 fi
26529
26530   { $as_echo "$as_me:${as_lineno-$LINENO}: Using $DEFAULT_AUDIOSINK as default audio sink" >&5
26531 $as_echo "$as_me: Using $DEFAULT_AUDIOSINK as default audio sink" >&6;}
26532
26533
26534 cat >>confdefs.h <<_ACEOF
26535 #define DEFAULT_AUDIOSINK "$DEFAULT_AUDIOSINK"
26536 _ACEOF
26537
26538
26539
26540 # Check whether --with-default-audiosrc was given.
26541 if test "${with_default_audiosrc+set}" = set; then :
26542   withval=$with_default_audiosrc;
26543       case "${withval}" in
26544         yes) as_fn_error $? "bad value ${withval} for --with-default-audiosrc" "$LINENO" 5 ;;
26545         no)  as_fn_error $? "bad value ${withval} for --with-default-audiosrc" "$LINENO" 5 ;;
26546         *)   DEFAULT_AUDIOSRC="${withval}" ;;
26547       esac
26548
26549 else
26550
26551       DEFAULT_AUDIOSRC="$DEFAULT_AUDIOSRC"
26552
26553 fi
26554
26555   { $as_echo "$as_me:${as_lineno-$LINENO}: Using $DEFAULT_AUDIOSRC as default audio source" >&5
26556 $as_echo "$as_me: Using $DEFAULT_AUDIOSRC as default audio source" >&6;}
26557
26558
26559 cat >>confdefs.h <<_ACEOF
26560 #define DEFAULT_AUDIOSRC "$DEFAULT_AUDIOSRC"
26561 _ACEOF
26562
26563
26564
26565 # Check whether --with-default-videosink was given.
26566 if test "${with_default_videosink+set}" = set; then :
26567   withval=$with_default_videosink;
26568       case "${withval}" in
26569         yes) as_fn_error $? "bad value ${withval} for --with-default-videosink" "$LINENO" 5 ;;
26570         no)  as_fn_error $? "bad value ${withval} for --with-default-videosink" "$LINENO" 5 ;;
26571         *)   DEFAULT_VIDEOSINK="${withval}" ;;
26572       esac
26573
26574 else
26575
26576       DEFAULT_VIDEOSINK="$DEFAULT_VIDEOSINK"
26577
26578 fi
26579
26580   { $as_echo "$as_me:${as_lineno-$LINENO}: Using $DEFAULT_VIDEOSINK as default video sink" >&5
26581 $as_echo "$as_me: Using $DEFAULT_VIDEOSINK as default video sink" >&6;}
26582
26583
26584 cat >>confdefs.h <<_ACEOF
26585 #define DEFAULT_VIDEOSINK "$DEFAULT_VIDEOSINK"
26586 _ACEOF
26587
26588
26589
26590 # Check whether --with-default-videosrc was given.
26591 if test "${with_default_videosrc+set}" = set; then :
26592   withval=$with_default_videosrc;
26593       case "${withval}" in
26594         yes) as_fn_error $? "bad value ${withval} for --with-default-videosrc" "$LINENO" 5 ;;
26595         no)  as_fn_error $? "bad value ${withval} for --with-default-videosrc" "$LINENO" 5 ;;
26596         *)   DEFAULT_VIDEOSRC="${withval}" ;;
26597       esac
26598
26599 else
26600
26601       DEFAULT_VIDEOSRC="$DEFAULT_VIDEOSRC"
26602
26603 fi
26604
26605   { $as_echo "$as_me:${as_lineno-$LINENO}: Using $DEFAULT_VIDEOSRC as default video source" >&5
26606 $as_echo "$as_me: Using $DEFAULT_VIDEOSRC as default video source" >&6;}
26607
26608
26609 cat >>confdefs.h <<_ACEOF
26610 #define DEFAULT_VIDEOSRC "$DEFAULT_VIDEOSRC"
26611 _ACEOF
26612
26613
26614
26615 # Check whether --with-default-visualizer was given.
26616 if test "${with_default_visualizer+set}" = set; then :
26617   withval=$with_default_visualizer;
26618       case "${withval}" in
26619         yes) as_fn_error $? "bad value ${withval} for --with-default-visualizer" "$LINENO" 5 ;;
26620         no)  as_fn_error $? "bad value ${withval} for --with-default-visualizer" "$LINENO" 5 ;;
26621         *)   DEFAULT_VISUALIZER="${withval}" ;;
26622       esac
26623
26624 else
26625
26626       DEFAULT_VISUALIZER="$DEFAULT_VISUALIZER"
26627
26628 fi
26629
26630   { $as_echo "$as_me:${as_lineno-$LINENO}: Using $DEFAULT_VISUALIZER as default visualizer" >&5
26631 $as_echo "$as_me: Using $DEFAULT_VISUALIZER as default visualizer" >&6;}
26632
26633
26634 cat >>confdefs.h <<_ACEOF
26635 #define DEFAULT_VISUALIZER "$DEFAULT_VISUALIZER"
26636 _ACEOF
26637
26638
26639
26640
26641
26642   GST_PLUGINS_ALL="$GST_PLUGINS_ALL adpcmdec"
26643
26644
26645
26646   # Check whether --enable-adpcmdec was given.
26647 if test "${enable_adpcmdec+set}" = set; then :
26648   enableval=$enable_adpcmdec;
26649       case "${enableval}" in
26650         yes) gst_use_adpcmdec=yes ;;
26651         no) gst_use_adpcmdec=no ;;
26652         *) as_fn_error $? "bad value ${enableval} for --enable-adpcmdec" "$LINENO" 5 ;;
26653        esac
26654
26655 else
26656   gst_use_adpcmdec=yes
26657 fi
26658
26659   if test x$gst_use_adpcmdec = xno; then
26660     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin adpcmdec" >&5
26661 $as_echo "$as_me: disabling dependency-less plugin adpcmdec" >&6;}
26662     WITHOUT_PLUGINS="$WITHOUT_PLUGINS adpcmdec"
26663   fi
26664
26665
26666   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " adpcmdec " > /dev/null; then
26667     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED adpcmdec"
26668   fi
26669   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " adpcmdec " > /dev/null; then
26670     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ adpcmdec / /'`
26671   fi
26672    if echo " $GST_PLUGINS_SELECTED " | grep -i " adpcmdec " > /dev/null; then
26673   USE_PLUGIN_ADPCMDEC_TRUE=
26674   USE_PLUGIN_ADPCMDEC_FALSE='#'
26675 else
26676   USE_PLUGIN_ADPCMDEC_TRUE='#'
26677   USE_PLUGIN_ADPCMDEC_FALSE=
26678 fi
26679
26680
26681
26682   GST_PLUGINS_ALL="$GST_PLUGINS_ALL adpcmenc"
26683
26684
26685
26686   # Check whether --enable-adpcmenc was given.
26687 if test "${enable_adpcmenc+set}" = set; then :
26688   enableval=$enable_adpcmenc;
26689       case "${enableval}" in
26690         yes) gst_use_adpcmenc=yes ;;
26691         no) gst_use_adpcmenc=no ;;
26692         *) as_fn_error $? "bad value ${enableval} for --enable-adpcmenc" "$LINENO" 5 ;;
26693        esac
26694
26695 else
26696   gst_use_adpcmenc=yes
26697 fi
26698
26699   if test x$gst_use_adpcmenc = xno; then
26700     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin adpcmenc" >&5
26701 $as_echo "$as_me: disabling dependency-less plugin adpcmenc" >&6;}
26702     WITHOUT_PLUGINS="$WITHOUT_PLUGINS adpcmenc"
26703   fi
26704
26705
26706   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " adpcmenc " > /dev/null; then
26707     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED adpcmenc"
26708   fi
26709   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " adpcmenc " > /dev/null; then
26710     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ adpcmenc / /'`
26711   fi
26712    if echo " $GST_PLUGINS_SELECTED " | grep -i " adpcmenc " > /dev/null; then
26713   USE_PLUGIN_ADPCMENC_TRUE=
26714   USE_PLUGIN_ADPCMENC_FALSE='#'
26715 else
26716   USE_PLUGIN_ADPCMENC_TRUE='#'
26717   USE_PLUGIN_ADPCMENC_FALSE=
26718 fi
26719
26720
26721
26722   GST_PLUGINS_ALL="$GST_PLUGINS_ALL aiff"
26723
26724
26725
26726   # Check whether --enable-aiff was given.
26727 if test "${enable_aiff+set}" = set; then :
26728   enableval=$enable_aiff;
26729       case "${enableval}" in
26730         yes) gst_use_aiff=yes ;;
26731         no) gst_use_aiff=no ;;
26732         *) as_fn_error $? "bad value ${enableval} for --enable-aiff" "$LINENO" 5 ;;
26733        esac
26734
26735 else
26736   gst_use_aiff=yes
26737 fi
26738
26739   if test x$gst_use_aiff = xno; then
26740     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin aiff" >&5
26741 $as_echo "$as_me: disabling dependency-less plugin aiff" >&6;}
26742     WITHOUT_PLUGINS="$WITHOUT_PLUGINS aiff"
26743   fi
26744
26745
26746   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " aiff " > /dev/null; then
26747     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED aiff"
26748   fi
26749   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " aiff " > /dev/null; then
26750     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ aiff / /'`
26751   fi
26752    if echo " $GST_PLUGINS_SELECTED " | grep -i " aiff " > /dev/null; then
26753   USE_PLUGIN_AIFF_TRUE=
26754   USE_PLUGIN_AIFF_FALSE='#'
26755 else
26756   USE_PLUGIN_AIFF_TRUE='#'
26757   USE_PLUGIN_AIFF_FALSE=
26758 fi
26759
26760
26761
26762   GST_PLUGINS_ALL="$GST_PLUGINS_ALL asfmux"
26763
26764
26765
26766   # Check whether --enable-asfmux was given.
26767 if test "${enable_asfmux+set}" = set; then :
26768   enableval=$enable_asfmux;
26769       case "${enableval}" in
26770         yes) gst_use_asfmux=yes ;;
26771         no) gst_use_asfmux=no ;;
26772         *) as_fn_error $? "bad value ${enableval} for --enable-asfmux" "$LINENO" 5 ;;
26773        esac
26774
26775 else
26776   gst_use_asfmux=yes
26777 fi
26778
26779   if test x$gst_use_asfmux = xno; then
26780     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin asfmux" >&5
26781 $as_echo "$as_me: disabling dependency-less plugin asfmux" >&6;}
26782     WITHOUT_PLUGINS="$WITHOUT_PLUGINS asfmux"
26783   fi
26784
26785
26786   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " asfmux " > /dev/null; then
26787     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED asfmux"
26788   fi
26789   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " asfmux " > /dev/null; then
26790     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ asfmux / /'`
26791   fi
26792    if echo " $GST_PLUGINS_SELECTED " | grep -i " asfmux " > /dev/null; then
26793   USE_PLUGIN_ASFMUX_TRUE=
26794   USE_PLUGIN_ASFMUX_FALSE='#'
26795 else
26796   USE_PLUGIN_ASFMUX_TRUE='#'
26797   USE_PLUGIN_ASFMUX_FALSE=
26798 fi
26799
26800
26801
26802   GST_PLUGINS_ALL="$GST_PLUGINS_ALL audiovisualizers"
26803
26804
26805
26806   # Check whether --enable-audiovisualizers was given.
26807 if test "${enable_audiovisualizers+set}" = set; then :
26808   enableval=$enable_audiovisualizers;
26809       case "${enableval}" in
26810         yes) gst_use_audiovisualizers=yes ;;
26811         no) gst_use_audiovisualizers=no ;;
26812         *) as_fn_error $? "bad value ${enableval} for --enable-audiovisualizers" "$LINENO" 5 ;;
26813        esac
26814
26815 else
26816   gst_use_audiovisualizers=yes
26817 fi
26818
26819   if test x$gst_use_audiovisualizers = xno; then
26820     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin audiovisualizers" >&5
26821 $as_echo "$as_me: disabling dependency-less plugin audiovisualizers" >&6;}
26822     WITHOUT_PLUGINS="$WITHOUT_PLUGINS audiovisualizers"
26823   fi
26824
26825
26826   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " audiovisualizers " > /dev/null; then
26827     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED audiovisualizers"
26828   fi
26829   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " audiovisualizers " > /dev/null; then
26830     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ audiovisualizers / /'`
26831   fi
26832    if echo " $GST_PLUGINS_SELECTED " | grep -i " audiovisualizers " > /dev/null; then
26833   USE_PLUGIN_AUDIOVISUALIZERS_TRUE=
26834   USE_PLUGIN_AUDIOVISUALIZERS_FALSE='#'
26835 else
26836   USE_PLUGIN_AUDIOVISUALIZERS_TRUE='#'
26837   USE_PLUGIN_AUDIOVISUALIZERS_FALSE=
26838 fi
26839
26840
26841
26842   GST_PLUGINS_ALL="$GST_PLUGINS_ALL autoconvert"
26843
26844
26845
26846   # Check whether --enable-autoconvert was given.
26847 if test "${enable_autoconvert+set}" = set; then :
26848   enableval=$enable_autoconvert;
26849       case "${enableval}" in
26850         yes) gst_use_autoconvert=yes ;;
26851         no) gst_use_autoconvert=no ;;
26852         *) as_fn_error $? "bad value ${enableval} for --enable-autoconvert" "$LINENO" 5 ;;
26853        esac
26854
26855 else
26856   gst_use_autoconvert=yes
26857 fi
26858
26859   if test x$gst_use_autoconvert = xno; then
26860     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin autoconvert" >&5
26861 $as_echo "$as_me: disabling dependency-less plugin autoconvert" >&6;}
26862     WITHOUT_PLUGINS="$WITHOUT_PLUGINS autoconvert"
26863   fi
26864
26865
26866   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " autoconvert " > /dev/null; then
26867     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED autoconvert"
26868   fi
26869   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " autoconvert " > /dev/null; then
26870     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ autoconvert / /'`
26871   fi
26872    if echo " $GST_PLUGINS_SELECTED " | grep -i " autoconvert " > /dev/null; then
26873   USE_PLUGIN_AUTOCONVERT_TRUE=
26874   USE_PLUGIN_AUTOCONVERT_FALSE='#'
26875 else
26876   USE_PLUGIN_AUTOCONVERT_TRUE='#'
26877   USE_PLUGIN_AUTOCONVERT_FALSE=
26878 fi
26879
26880
26881
26882   GST_PLUGINS_ALL="$GST_PLUGINS_ALL bayer"
26883
26884
26885
26886   # Check whether --enable-bayer was given.
26887 if test "${enable_bayer+set}" = set; then :
26888   enableval=$enable_bayer;
26889       case "${enableval}" in
26890         yes) gst_use_bayer=yes ;;
26891         no) gst_use_bayer=no ;;
26892         *) as_fn_error $? "bad value ${enableval} for --enable-bayer" "$LINENO" 5 ;;
26893        esac
26894
26895 else
26896   gst_use_bayer=yes
26897 fi
26898
26899   if test x$gst_use_bayer = xno; then
26900     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin bayer" >&5
26901 $as_echo "$as_me: disabling dependency-less plugin bayer" >&6;}
26902     WITHOUT_PLUGINS="$WITHOUT_PLUGINS bayer"
26903   fi
26904
26905
26906   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " bayer " > /dev/null; then
26907     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED bayer"
26908   fi
26909   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " bayer " > /dev/null; then
26910     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ bayer / /'`
26911   fi
26912    if echo " $GST_PLUGINS_SELECTED " | grep -i " bayer " > /dev/null; then
26913   USE_PLUGIN_BAYER_TRUE=
26914   USE_PLUGIN_BAYER_FALSE='#'
26915 else
26916   USE_PLUGIN_BAYER_TRUE='#'
26917   USE_PLUGIN_BAYER_FALSE=
26918 fi
26919
26920
26921
26922   GST_PLUGINS_ALL="$GST_PLUGINS_ALL camerabin"
26923
26924
26925
26926   # Check whether --enable-camerabin was given.
26927 if test "${enable_camerabin+set}" = set; then :
26928   enableval=$enable_camerabin;
26929       case "${enableval}" in
26930         yes) gst_use_camerabin=yes ;;
26931         no) gst_use_camerabin=no ;;
26932         *) as_fn_error $? "bad value ${enableval} for --enable-camerabin" "$LINENO" 5 ;;
26933        esac
26934
26935 else
26936   gst_use_camerabin=yes
26937 fi
26938
26939   if test x$gst_use_camerabin = xno; then
26940     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin camerabin" >&5
26941 $as_echo "$as_me: disabling dependency-less plugin camerabin" >&6;}
26942     WITHOUT_PLUGINS="$WITHOUT_PLUGINS camerabin"
26943   fi
26944
26945
26946   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " camerabin " > /dev/null; then
26947     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED camerabin"
26948   fi
26949   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " camerabin " > /dev/null; then
26950     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ camerabin / /'`
26951   fi
26952    if echo " $GST_PLUGINS_SELECTED " | grep -i " camerabin " > /dev/null; then
26953   USE_PLUGIN_CAMERABIN_TRUE=
26954   USE_PLUGIN_CAMERABIN_FALSE='#'
26955 else
26956   USE_PLUGIN_CAMERABIN_TRUE='#'
26957   USE_PLUGIN_CAMERABIN_FALSE=
26958 fi
26959
26960
26961
26962   GST_PLUGINS_ALL="$GST_PLUGINS_ALL camerabin2"
26963
26964
26965
26966   # Check whether --enable-camerabin2 was given.
26967 if test "${enable_camerabin2+set}" = set; then :
26968   enableval=$enable_camerabin2;
26969       case "${enableval}" in
26970         yes) gst_use_camerabin2=yes ;;
26971         no) gst_use_camerabin2=no ;;
26972         *) as_fn_error $? "bad value ${enableval} for --enable-camerabin2" "$LINENO" 5 ;;
26973        esac
26974
26975 else
26976   gst_use_camerabin2=yes
26977 fi
26978
26979   if test x$gst_use_camerabin2 = xno; then
26980     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin camerabin2" >&5
26981 $as_echo "$as_me: disabling dependency-less plugin camerabin2" >&6;}
26982     WITHOUT_PLUGINS="$WITHOUT_PLUGINS camerabin2"
26983   fi
26984
26985
26986   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " camerabin2 " > /dev/null; then
26987     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED camerabin2"
26988   fi
26989   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " camerabin2 " > /dev/null; then
26990     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ camerabin2 / /'`
26991   fi
26992    if echo " $GST_PLUGINS_SELECTED " | grep -i " camerabin2 " > /dev/null; then
26993   USE_PLUGIN_CAMERABIN2_TRUE=
26994   USE_PLUGIN_CAMERABIN2_FALSE='#'
26995 else
26996   USE_PLUGIN_CAMERABIN2_TRUE='#'
26997   USE_PLUGIN_CAMERABIN2_FALSE=
26998 fi
26999
27000
27001
27002   GST_PLUGINS_ALL="$GST_PLUGINS_ALL cdxaparse"
27003
27004
27005
27006   # Check whether --enable-cdxaparse was given.
27007 if test "${enable_cdxaparse+set}" = set; then :
27008   enableval=$enable_cdxaparse;
27009       case "${enableval}" in
27010         yes) gst_use_cdxaparse=yes ;;
27011         no) gst_use_cdxaparse=no ;;
27012         *) as_fn_error $? "bad value ${enableval} for --enable-cdxaparse" "$LINENO" 5 ;;
27013        esac
27014
27015 else
27016   gst_use_cdxaparse=yes
27017 fi
27018
27019   if test x$gst_use_cdxaparse = xno; then
27020     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin cdxaparse" >&5
27021 $as_echo "$as_me: disabling dependency-less plugin cdxaparse" >&6;}
27022     WITHOUT_PLUGINS="$WITHOUT_PLUGINS cdxaparse"
27023   fi
27024
27025
27026   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " cdxaparse " > /dev/null; then
27027     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED cdxaparse"
27028   fi
27029   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " cdxaparse " > /dev/null; then
27030     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ cdxaparse / /'`
27031   fi
27032    if echo " $GST_PLUGINS_SELECTED " | grep -i " cdxaparse " > /dev/null; then
27033   USE_PLUGIN_CDXAPARSE_TRUE=
27034   USE_PLUGIN_CDXAPARSE_FALSE='#'
27035 else
27036   USE_PLUGIN_CDXAPARSE_TRUE='#'
27037   USE_PLUGIN_CDXAPARSE_FALSE=
27038 fi
27039
27040
27041
27042   GST_PLUGINS_ALL="$GST_PLUGINS_ALL coloreffects"
27043
27044
27045
27046   # Check whether --enable-coloreffects was given.
27047 if test "${enable_coloreffects+set}" = set; then :
27048   enableval=$enable_coloreffects;
27049       case "${enableval}" in
27050         yes) gst_use_coloreffects=yes ;;
27051         no) gst_use_coloreffects=no ;;
27052         *) as_fn_error $? "bad value ${enableval} for --enable-coloreffects" "$LINENO" 5 ;;
27053        esac
27054
27055 else
27056   gst_use_coloreffects=yes
27057 fi
27058
27059   if test x$gst_use_coloreffects = xno; then
27060     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin coloreffects" >&5
27061 $as_echo "$as_me: disabling dependency-less plugin coloreffects" >&6;}
27062     WITHOUT_PLUGINS="$WITHOUT_PLUGINS coloreffects"
27063   fi
27064
27065
27066   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " coloreffects " > /dev/null; then
27067     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED coloreffects"
27068   fi
27069   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " coloreffects " > /dev/null; then
27070     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ coloreffects / /'`
27071   fi
27072    if echo " $GST_PLUGINS_SELECTED " | grep -i " coloreffects " > /dev/null; then
27073   USE_PLUGIN_COLOREFFECTS_TRUE=
27074   USE_PLUGIN_COLOREFFECTS_FALSE='#'
27075 else
27076   USE_PLUGIN_COLOREFFECTS_TRUE='#'
27077   USE_PLUGIN_COLOREFFECTS_FALSE=
27078 fi
27079
27080
27081
27082   GST_PLUGINS_ALL="$GST_PLUGINS_ALL colorspace"
27083
27084
27085
27086   # Check whether --enable-colorspace was given.
27087 if test "${enable_colorspace+set}" = set; then :
27088   enableval=$enable_colorspace;
27089       case "${enableval}" in
27090         yes) gst_use_colorspace=yes ;;
27091         no) gst_use_colorspace=no ;;
27092         *) as_fn_error $? "bad value ${enableval} for --enable-colorspace" "$LINENO" 5 ;;
27093        esac
27094
27095 else
27096   gst_use_colorspace=yes
27097 fi
27098
27099   if test x$gst_use_colorspace = xno; then
27100     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin colorspace" >&5
27101 $as_echo "$as_me: disabling dependency-less plugin colorspace" >&6;}
27102     WITHOUT_PLUGINS="$WITHOUT_PLUGINS colorspace"
27103   fi
27104
27105
27106   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " colorspace " > /dev/null; then
27107     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED colorspace"
27108   fi
27109   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " colorspace " > /dev/null; then
27110     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ colorspace / /'`
27111   fi
27112    if echo " $GST_PLUGINS_SELECTED " | grep -i " colorspace " > /dev/null; then
27113   USE_PLUGIN_COLORSPACE_TRUE=
27114   USE_PLUGIN_COLORSPACE_FALSE='#'
27115 else
27116   USE_PLUGIN_COLORSPACE_TRUE='#'
27117   USE_PLUGIN_COLORSPACE_FALSE=
27118 fi
27119
27120
27121
27122   GST_PLUGINS_ALL="$GST_PLUGINS_ALL dataurisrc"
27123
27124
27125
27126   # Check whether --enable-dataurisrc was given.
27127 if test "${enable_dataurisrc+set}" = set; then :
27128   enableval=$enable_dataurisrc;
27129       case "${enableval}" in
27130         yes) gst_use_dataurisrc=yes ;;
27131         no) gst_use_dataurisrc=no ;;
27132         *) as_fn_error $? "bad value ${enableval} for --enable-dataurisrc" "$LINENO" 5 ;;
27133        esac
27134
27135 else
27136   gst_use_dataurisrc=yes
27137 fi
27138
27139   if test x$gst_use_dataurisrc = xno; then
27140     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin dataurisrc" >&5
27141 $as_echo "$as_me: disabling dependency-less plugin dataurisrc" >&6;}
27142     WITHOUT_PLUGINS="$WITHOUT_PLUGINS dataurisrc"
27143   fi
27144
27145
27146   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " dataurisrc " > /dev/null; then
27147     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED dataurisrc"
27148   fi
27149   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " dataurisrc " > /dev/null; then
27150     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ dataurisrc / /'`
27151   fi
27152    if echo " $GST_PLUGINS_SELECTED " | grep -i " dataurisrc " > /dev/null; then
27153   USE_PLUGIN_DATAURISRC_TRUE=
27154   USE_PLUGIN_DATAURISRC_FALSE='#'
27155 else
27156   USE_PLUGIN_DATAURISRC_TRUE='#'
27157   USE_PLUGIN_DATAURISRC_FALSE=
27158 fi
27159
27160
27161
27162   GST_PLUGINS_ALL="$GST_PLUGINS_ALL dccp"
27163
27164
27165
27166   # Check whether --enable-dccp was given.
27167 if test "${enable_dccp+set}" = set; then :
27168   enableval=$enable_dccp;
27169       case "${enableval}" in
27170         yes) gst_use_dccp=yes ;;
27171         no) gst_use_dccp=no ;;
27172         *) as_fn_error $? "bad value ${enableval} for --enable-dccp" "$LINENO" 5 ;;
27173        esac
27174
27175 else
27176   gst_use_dccp=yes
27177 fi
27178
27179   if test x$gst_use_dccp = xno; then
27180     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin dccp" >&5
27181 $as_echo "$as_me: disabling dependency-less plugin dccp" >&6;}
27182     WITHOUT_PLUGINS="$WITHOUT_PLUGINS dccp"
27183   fi
27184
27185
27186   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " dccp " > /dev/null; then
27187     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED dccp"
27188   fi
27189   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " dccp " > /dev/null; then
27190     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ dccp / /'`
27191   fi
27192    if echo " $GST_PLUGINS_SELECTED " | grep -i " dccp " > /dev/null; then
27193   USE_PLUGIN_DCCP_TRUE=
27194   USE_PLUGIN_DCCP_FALSE='#'
27195 else
27196   USE_PLUGIN_DCCP_TRUE='#'
27197   USE_PLUGIN_DCCP_FALSE=
27198 fi
27199
27200
27201
27202   GST_PLUGINS_ALL="$GST_PLUGINS_ALL debugutils"
27203
27204
27205
27206   # Check whether --enable-debugutils was given.
27207 if test "${enable_debugutils+set}" = set; then :
27208   enableval=$enable_debugutils;
27209       case "${enableval}" in
27210         yes) gst_use_debugutils=yes ;;
27211         no) gst_use_debugutils=no ;;
27212         *) as_fn_error $? "bad value ${enableval} for --enable-debugutils" "$LINENO" 5 ;;
27213        esac
27214
27215 else
27216   gst_use_debugutils=yes
27217 fi
27218
27219   if test x$gst_use_debugutils = xno; then
27220     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin debugutils" >&5
27221 $as_echo "$as_me: disabling dependency-less plugin debugutils" >&6;}
27222     WITHOUT_PLUGINS="$WITHOUT_PLUGINS debugutils"
27223   fi
27224
27225
27226   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " debugutils " > /dev/null; then
27227     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED debugutils"
27228   fi
27229   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " debugutils " > /dev/null; then
27230     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ debugutils / /'`
27231   fi
27232    if echo " $GST_PLUGINS_SELECTED " | grep -i " debugutils " > /dev/null; then
27233   USE_PLUGIN_DEBUGUTILS_TRUE=
27234   USE_PLUGIN_DEBUGUTILS_FALSE='#'
27235 else
27236   USE_PLUGIN_DEBUGUTILS_TRUE='#'
27237   USE_PLUGIN_DEBUGUTILS_FALSE=
27238 fi
27239
27240
27241
27242   GST_PLUGINS_ALL="$GST_PLUGINS_ALL dtmf"
27243
27244
27245
27246   # Check whether --enable-dtmf was given.
27247 if test "${enable_dtmf+set}" = set; then :
27248   enableval=$enable_dtmf;
27249       case "${enableval}" in
27250         yes) gst_use_dtmf=yes ;;
27251         no) gst_use_dtmf=no ;;
27252         *) as_fn_error $? "bad value ${enableval} for --enable-dtmf" "$LINENO" 5 ;;
27253        esac
27254
27255 else
27256   gst_use_dtmf=yes
27257 fi
27258
27259   if test x$gst_use_dtmf = xno; then
27260     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin dtmf" >&5
27261 $as_echo "$as_me: disabling dependency-less plugin dtmf" >&6;}
27262     WITHOUT_PLUGINS="$WITHOUT_PLUGINS dtmf"
27263   fi
27264
27265
27266   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " dtmf " > /dev/null; then
27267     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED dtmf"
27268   fi
27269   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " dtmf " > /dev/null; then
27270     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ dtmf / /'`
27271   fi
27272    if echo " $GST_PLUGINS_SELECTED " | grep -i " dtmf " > /dev/null; then
27273   USE_PLUGIN_DTMF_TRUE=
27274   USE_PLUGIN_DTMF_FALSE='#'
27275 else
27276   USE_PLUGIN_DTMF_TRUE='#'
27277   USE_PLUGIN_DTMF_FALSE=
27278 fi
27279
27280
27281
27282   GST_PLUGINS_ALL="$GST_PLUGINS_ALL dvbsuboverlay"
27283
27284
27285
27286   # Check whether --enable-dvbsuboverlay was given.
27287 if test "${enable_dvbsuboverlay+set}" = set; then :
27288   enableval=$enable_dvbsuboverlay;
27289       case "${enableval}" in
27290         yes) gst_use_dvbsuboverlay=yes ;;
27291         no) gst_use_dvbsuboverlay=no ;;
27292         *) as_fn_error $? "bad value ${enableval} for --enable-dvbsuboverlay" "$LINENO" 5 ;;
27293        esac
27294
27295 else
27296   gst_use_dvbsuboverlay=yes
27297 fi
27298
27299   if test x$gst_use_dvbsuboverlay = xno; then
27300     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin dvbsuboverlay" >&5
27301 $as_echo "$as_me: disabling dependency-less plugin dvbsuboverlay" >&6;}
27302     WITHOUT_PLUGINS="$WITHOUT_PLUGINS dvbsuboverlay"
27303   fi
27304
27305
27306   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " dvbsuboverlay " > /dev/null; then
27307     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED dvbsuboverlay"
27308   fi
27309   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " dvbsuboverlay " > /dev/null; then
27310     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ dvbsuboverlay / /'`
27311   fi
27312    if echo " $GST_PLUGINS_SELECTED " | grep -i " dvbsuboverlay " > /dev/null; then
27313   USE_PLUGIN_DVBSUBOVERLAY_TRUE=
27314   USE_PLUGIN_DVBSUBOVERLAY_FALSE='#'
27315 else
27316   USE_PLUGIN_DVBSUBOVERLAY_TRUE='#'
27317   USE_PLUGIN_DVBSUBOVERLAY_FALSE=
27318 fi
27319
27320
27321
27322   GST_PLUGINS_ALL="$GST_PLUGINS_ALL dvdspu"
27323
27324
27325
27326   # Check whether --enable-dvdspu was given.
27327 if test "${enable_dvdspu+set}" = set; then :
27328   enableval=$enable_dvdspu;
27329       case "${enableval}" in
27330         yes) gst_use_dvdspu=yes ;;
27331         no) gst_use_dvdspu=no ;;
27332         *) as_fn_error $? "bad value ${enableval} for --enable-dvdspu" "$LINENO" 5 ;;
27333        esac
27334
27335 else
27336   gst_use_dvdspu=yes
27337 fi
27338
27339   if test x$gst_use_dvdspu = xno; then
27340     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin dvdspu" >&5
27341 $as_echo "$as_me: disabling dependency-less plugin dvdspu" >&6;}
27342     WITHOUT_PLUGINS="$WITHOUT_PLUGINS dvdspu"
27343   fi
27344
27345
27346   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " dvdspu " > /dev/null; then
27347     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED dvdspu"
27348   fi
27349   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " dvdspu " > /dev/null; then
27350     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ dvdspu / /'`
27351   fi
27352    if echo " $GST_PLUGINS_SELECTED " | grep -i " dvdspu " > /dev/null; then
27353   USE_PLUGIN_DVDSPU_TRUE=
27354   USE_PLUGIN_DVDSPU_FALSE='#'
27355 else
27356   USE_PLUGIN_DVDSPU_TRUE='#'
27357   USE_PLUGIN_DVDSPU_FALSE=
27358 fi
27359
27360
27361
27362   GST_PLUGINS_ALL="$GST_PLUGINS_ALL faceoverlay"
27363
27364
27365
27366   # Check whether --enable-faceoverlay was given.
27367 if test "${enable_faceoverlay+set}" = set; then :
27368   enableval=$enable_faceoverlay;
27369       case "${enableval}" in
27370         yes) gst_use_faceoverlay=yes ;;
27371         no) gst_use_faceoverlay=no ;;
27372         *) as_fn_error $? "bad value ${enableval} for --enable-faceoverlay" "$LINENO" 5 ;;
27373        esac
27374
27375 else
27376   gst_use_faceoverlay=yes
27377 fi
27378
27379   if test x$gst_use_faceoverlay = xno; then
27380     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin faceoverlay" >&5
27381 $as_echo "$as_me: disabling dependency-less plugin faceoverlay" >&6;}
27382     WITHOUT_PLUGINS="$WITHOUT_PLUGINS faceoverlay"
27383   fi
27384
27385
27386   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " faceoverlay " > /dev/null; then
27387     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED faceoverlay"
27388   fi
27389   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " faceoverlay " > /dev/null; then
27390     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ faceoverlay / /'`
27391   fi
27392    if echo " $GST_PLUGINS_SELECTED " | grep -i " faceoverlay " > /dev/null; then
27393   USE_PLUGIN_FACEOVERLAY_TRUE=
27394   USE_PLUGIN_FACEOVERLAY_FALSE='#'
27395 else
27396   USE_PLUGIN_FACEOVERLAY_TRUE='#'
27397   USE_PLUGIN_FACEOVERLAY_FALSE=
27398 fi
27399
27400
27401
27402   GST_PLUGINS_ALL="$GST_PLUGINS_ALL festival"
27403
27404
27405
27406   # Check whether --enable-festival was given.
27407 if test "${enable_festival+set}" = set; then :
27408   enableval=$enable_festival;
27409       case "${enableval}" in
27410         yes) gst_use_festival=yes ;;
27411         no) gst_use_festival=no ;;
27412         *) as_fn_error $? "bad value ${enableval} for --enable-festival" "$LINENO" 5 ;;
27413        esac
27414
27415 else
27416   gst_use_festival=yes
27417 fi
27418
27419   if test x$gst_use_festival = xno; then
27420     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin festival" >&5
27421 $as_echo "$as_me: disabling dependency-less plugin festival" >&6;}
27422     WITHOUT_PLUGINS="$WITHOUT_PLUGINS festival"
27423   fi
27424
27425
27426   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " festival " > /dev/null; then
27427     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED festival"
27428   fi
27429   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " festival " > /dev/null; then
27430     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ festival / /'`
27431   fi
27432    if echo " $GST_PLUGINS_SELECTED " | grep -i " festival " > /dev/null; then
27433   USE_PLUGIN_FESTIVAL_TRUE=
27434   USE_PLUGIN_FESTIVAL_FALSE='#'
27435 else
27436   USE_PLUGIN_FESTIVAL_TRUE='#'
27437   USE_PLUGIN_FESTIVAL_FALSE=
27438 fi
27439
27440
27441
27442   GST_PLUGINS_ALL="$GST_PLUGINS_ALL fieldanalysis"
27443
27444
27445
27446   # Check whether --enable-fieldanalysis was given.
27447 if test "${enable_fieldanalysis+set}" = set; then :
27448   enableval=$enable_fieldanalysis;
27449       case "${enableval}" in
27450         yes) gst_use_fieldanalysis=yes ;;
27451         no) gst_use_fieldanalysis=no ;;
27452         *) as_fn_error $? "bad value ${enableval} for --enable-fieldanalysis" "$LINENO" 5 ;;
27453        esac
27454
27455 else
27456   gst_use_fieldanalysis=yes
27457 fi
27458
27459   if test x$gst_use_fieldanalysis = xno; then
27460     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin fieldanalysis" >&5
27461 $as_echo "$as_me: disabling dependency-less plugin fieldanalysis" >&6;}
27462     WITHOUT_PLUGINS="$WITHOUT_PLUGINS fieldanalysis"
27463   fi
27464
27465
27466   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " fieldanalysis " > /dev/null; then
27467     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED fieldanalysis"
27468   fi
27469   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " fieldanalysis " > /dev/null; then
27470     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ fieldanalysis / /'`
27471   fi
27472    if echo " $GST_PLUGINS_SELECTED " | grep -i " fieldanalysis " > /dev/null; then
27473   USE_PLUGIN_FIELDANALYSIS_TRUE=
27474   USE_PLUGIN_FIELDANALYSIS_FALSE='#'
27475 else
27476   USE_PLUGIN_FIELDANALYSIS_TRUE='#'
27477   USE_PLUGIN_FIELDANALYSIS_FALSE=
27478 fi
27479
27480
27481
27482   GST_PLUGINS_ALL="$GST_PLUGINS_ALL freeze"
27483
27484
27485
27486   # Check whether --enable-freeze was given.
27487 if test "${enable_freeze+set}" = set; then :
27488   enableval=$enable_freeze;
27489       case "${enableval}" in
27490         yes) gst_use_freeze=yes ;;
27491         no) gst_use_freeze=no ;;
27492         *) as_fn_error $? "bad value ${enableval} for --enable-freeze" "$LINENO" 5 ;;
27493        esac
27494
27495 else
27496   gst_use_freeze=yes
27497 fi
27498
27499   if test x$gst_use_freeze = xno; then
27500     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin freeze" >&5
27501 $as_echo "$as_me: disabling dependency-less plugin freeze" >&6;}
27502     WITHOUT_PLUGINS="$WITHOUT_PLUGINS freeze"
27503   fi
27504
27505
27506   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " freeze " > /dev/null; then
27507     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED freeze"
27508   fi
27509   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " freeze " > /dev/null; then
27510     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ freeze / /'`
27511   fi
27512    if echo " $GST_PLUGINS_SELECTED " | grep -i " freeze " > /dev/null; then
27513   USE_PLUGIN_FREEZE_TRUE=
27514   USE_PLUGIN_FREEZE_FALSE='#'
27515 else
27516   USE_PLUGIN_FREEZE_TRUE='#'
27517   USE_PLUGIN_FREEZE_FALSE=
27518 fi
27519
27520
27521
27522   GST_PLUGINS_ALL="$GST_PLUGINS_ALL freeverb"
27523
27524
27525
27526   # Check whether --enable-freeverb was given.
27527 if test "${enable_freeverb+set}" = set; then :
27528   enableval=$enable_freeverb;
27529       case "${enableval}" in
27530         yes) gst_use_freeverb=yes ;;
27531         no) gst_use_freeverb=no ;;
27532         *) as_fn_error $? "bad value ${enableval} for --enable-freeverb" "$LINENO" 5 ;;
27533        esac
27534
27535 else
27536   gst_use_freeverb=yes
27537 fi
27538
27539   if test x$gst_use_freeverb = xno; then
27540     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin freeverb" >&5
27541 $as_echo "$as_me: disabling dependency-less plugin freeverb" >&6;}
27542     WITHOUT_PLUGINS="$WITHOUT_PLUGINS freeverb"
27543   fi
27544
27545
27546   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " freeverb " > /dev/null; then
27547     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED freeverb"
27548   fi
27549   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " freeverb " > /dev/null; then
27550     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ freeverb / /'`
27551   fi
27552    if echo " $GST_PLUGINS_SELECTED " | grep -i " freeverb " > /dev/null; then
27553   USE_PLUGIN_FREEVERB_TRUE=
27554   USE_PLUGIN_FREEVERB_FALSE='#'
27555 else
27556   USE_PLUGIN_FREEVERB_TRUE='#'
27557   USE_PLUGIN_FREEVERB_FALSE=
27558 fi
27559
27560
27561
27562   GST_PLUGINS_ALL="$GST_PLUGINS_ALL frei0r"
27563
27564
27565
27566   # Check whether --enable-frei0r was given.
27567 if test "${enable_frei0r+set}" = set; then :
27568   enableval=$enable_frei0r;
27569       case "${enableval}" in
27570         yes) gst_use_frei0r=yes ;;
27571         no) gst_use_frei0r=no ;;
27572         *) as_fn_error $? "bad value ${enableval} for --enable-frei0r" "$LINENO" 5 ;;
27573        esac
27574
27575 else
27576   gst_use_frei0r=yes
27577 fi
27578
27579   if test x$gst_use_frei0r = xno; then
27580     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin frei0r" >&5
27581 $as_echo "$as_me: disabling dependency-less plugin frei0r" >&6;}
27582     WITHOUT_PLUGINS="$WITHOUT_PLUGINS frei0r"
27583   fi
27584
27585
27586   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " frei0r " > /dev/null; then
27587     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED frei0r"
27588   fi
27589   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " frei0r " > /dev/null; then
27590     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ frei0r / /'`
27591   fi
27592    if echo " $GST_PLUGINS_SELECTED " | grep -i " frei0r " > /dev/null; then
27593   USE_PLUGIN_FREI0R_TRUE=
27594   USE_PLUGIN_FREI0R_FALSE='#'
27595 else
27596   USE_PLUGIN_FREI0R_TRUE='#'
27597   USE_PLUGIN_FREI0R_FALSE=
27598 fi
27599
27600
27601
27602   GST_PLUGINS_ALL="$GST_PLUGINS_ALL gaudieffects"
27603
27604
27605
27606   # Check whether --enable-gaudieffects was given.
27607 if test "${enable_gaudieffects+set}" = set; then :
27608   enableval=$enable_gaudieffects;
27609       case "${enableval}" in
27610         yes) gst_use_gaudieffects=yes ;;
27611         no) gst_use_gaudieffects=no ;;
27612         *) as_fn_error $? "bad value ${enableval} for --enable-gaudieffects" "$LINENO" 5 ;;
27613        esac
27614
27615 else
27616   gst_use_gaudieffects=yes
27617 fi
27618
27619   if test x$gst_use_gaudieffects = xno; then
27620     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin gaudieffects" >&5
27621 $as_echo "$as_me: disabling dependency-less plugin gaudieffects" >&6;}
27622     WITHOUT_PLUGINS="$WITHOUT_PLUGINS gaudieffects"
27623   fi
27624
27625
27626   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " gaudieffects " > /dev/null; then
27627     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED gaudieffects"
27628   fi
27629   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " gaudieffects " > /dev/null; then
27630     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ gaudieffects / /'`
27631   fi
27632    if echo " $GST_PLUGINS_SELECTED " | grep -i " gaudieffects " > /dev/null; then
27633   USE_PLUGIN_GAUDIEFFECTS_TRUE=
27634   USE_PLUGIN_GAUDIEFFECTS_FALSE='#'
27635 else
27636   USE_PLUGIN_GAUDIEFFECTS_TRUE='#'
27637   USE_PLUGIN_GAUDIEFFECTS_FALSE=
27638 fi
27639
27640
27641
27642   GST_PLUGINS_ALL="$GST_PLUGINS_ALL geometrictransform"
27643
27644
27645
27646   # Check whether --enable-geometrictransform was given.
27647 if test "${enable_geometrictransform+set}" = set; then :
27648   enableval=$enable_geometrictransform;
27649       case "${enableval}" in
27650         yes) gst_use_geometrictransform=yes ;;
27651         no) gst_use_geometrictransform=no ;;
27652         *) as_fn_error $? "bad value ${enableval} for --enable-geometrictransform" "$LINENO" 5 ;;
27653        esac
27654
27655 else
27656   gst_use_geometrictransform=yes
27657 fi
27658
27659   if test x$gst_use_geometrictransform = xno; then
27660     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin geometrictransform" >&5
27661 $as_echo "$as_me: disabling dependency-less plugin geometrictransform" >&6;}
27662     WITHOUT_PLUGINS="$WITHOUT_PLUGINS geometrictransform"
27663   fi
27664
27665
27666   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " geometrictransform " > /dev/null; then
27667     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED geometrictransform"
27668   fi
27669   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " geometrictransform " > /dev/null; then
27670     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ geometrictransform / /'`
27671   fi
27672    if echo " $GST_PLUGINS_SELECTED " | grep -i " geometrictransform " > /dev/null; then
27673   USE_PLUGIN_GEOMETRICTRANSFORM_TRUE=
27674   USE_PLUGIN_GEOMETRICTRANSFORM_FALSE='#'
27675 else
27676   USE_PLUGIN_GEOMETRICTRANSFORM_TRUE='#'
27677   USE_PLUGIN_GEOMETRICTRANSFORM_FALSE=
27678 fi
27679
27680
27681
27682   GST_PLUGINS_ALL="$GST_PLUGINS_ALL h264parse"
27683
27684
27685
27686   # Check whether --enable-h264parse was given.
27687 if test "${enable_h264parse+set}" = set; then :
27688   enableval=$enable_h264parse;
27689       case "${enableval}" in
27690         yes) gst_use_h264parse=yes ;;
27691         no) gst_use_h264parse=no ;;
27692         *) as_fn_error $? "bad value ${enableval} for --enable-h264parse" "$LINENO" 5 ;;
27693        esac
27694
27695 else
27696   gst_use_h264parse=yes
27697 fi
27698
27699   if test x$gst_use_h264parse = xno; then
27700     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin h264parse" >&5
27701 $as_echo "$as_me: disabling dependency-less plugin h264parse" >&6;}
27702     WITHOUT_PLUGINS="$WITHOUT_PLUGINS h264parse"
27703   fi
27704
27705
27706   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " h264parse " > /dev/null; then
27707     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED h264parse"
27708   fi
27709   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " h264parse " > /dev/null; then
27710     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ h264parse / /'`
27711   fi
27712    if echo " $GST_PLUGINS_SELECTED " | grep -i " h264parse " > /dev/null; then
27713   USE_PLUGIN_H264PARSE_TRUE=
27714   USE_PLUGIN_H264PARSE_FALSE='#'
27715 else
27716   USE_PLUGIN_H264PARSE_TRUE='#'
27717   USE_PLUGIN_H264PARSE_FALSE=
27718 fi
27719
27720
27721
27722   GST_PLUGINS_ALL="$GST_PLUGINS_ALL hdvparse"
27723
27724
27725
27726   # Check whether --enable-hdvparse was given.
27727 if test "${enable_hdvparse+set}" = set; then :
27728   enableval=$enable_hdvparse;
27729       case "${enableval}" in
27730         yes) gst_use_hdvparse=yes ;;
27731         no) gst_use_hdvparse=no ;;
27732         *) as_fn_error $? "bad value ${enableval} for --enable-hdvparse" "$LINENO" 5 ;;
27733        esac
27734
27735 else
27736   gst_use_hdvparse=yes
27737 fi
27738
27739   if test x$gst_use_hdvparse = xno; then
27740     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin hdvparse" >&5
27741 $as_echo "$as_me: disabling dependency-less plugin hdvparse" >&6;}
27742     WITHOUT_PLUGINS="$WITHOUT_PLUGINS hdvparse"
27743   fi
27744
27745
27746   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " hdvparse " > /dev/null; then
27747     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED hdvparse"
27748   fi
27749   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " hdvparse " > /dev/null; then
27750     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ hdvparse / /'`
27751   fi
27752    if echo " $GST_PLUGINS_SELECTED " | grep -i " hdvparse " > /dev/null; then
27753   USE_PLUGIN_HDVPARSE_TRUE=
27754   USE_PLUGIN_HDVPARSE_FALSE='#'
27755 else
27756   USE_PLUGIN_HDVPARSE_TRUE='#'
27757   USE_PLUGIN_HDVPARSE_FALSE=
27758 fi
27759
27760
27761
27762   GST_PLUGINS_ALL="$GST_PLUGINS_ALL hls"
27763
27764
27765
27766   # Check whether --enable-hls was given.
27767 if test "${enable_hls+set}" = set; then :
27768   enableval=$enable_hls;
27769       case "${enableval}" in
27770         yes) gst_use_hls=yes ;;
27771         no) gst_use_hls=no ;;
27772         *) as_fn_error $? "bad value ${enableval} for --enable-hls" "$LINENO" 5 ;;
27773        esac
27774
27775 else
27776   gst_use_hls=yes
27777 fi
27778
27779   if test x$gst_use_hls = xno; then
27780     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin hls" >&5
27781 $as_echo "$as_me: disabling dependency-less plugin hls" >&6;}
27782     WITHOUT_PLUGINS="$WITHOUT_PLUGINS hls"
27783   fi
27784
27785
27786   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " hls " > /dev/null; then
27787     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED hls"
27788   fi
27789   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " hls " > /dev/null; then
27790     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ hls / /'`
27791   fi
27792    if echo " $GST_PLUGINS_SELECTED " | grep -i " hls " > /dev/null; then
27793   USE_PLUGIN_HLS_TRUE=
27794   USE_PLUGIN_HLS_FALSE='#'
27795 else
27796   USE_PLUGIN_HLS_TRUE='#'
27797   USE_PLUGIN_HLS_FALSE=
27798 fi
27799
27800
27801
27802   GST_PLUGINS_ALL="$GST_PLUGINS_ALL id3tag"
27803
27804
27805
27806   # Check whether --enable-id3tag was given.
27807 if test "${enable_id3tag+set}" = set; then :
27808   enableval=$enable_id3tag;
27809       case "${enableval}" in
27810         yes) gst_use_id3tag=yes ;;
27811         no) gst_use_id3tag=no ;;
27812         *) as_fn_error $? "bad value ${enableval} for --enable-id3tag" "$LINENO" 5 ;;
27813        esac
27814
27815 else
27816   gst_use_id3tag=yes
27817 fi
27818
27819   if test x$gst_use_id3tag = xno; then
27820     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin id3tag" >&5
27821 $as_echo "$as_me: disabling dependency-less plugin id3tag" >&6;}
27822     WITHOUT_PLUGINS="$WITHOUT_PLUGINS id3tag"
27823   fi
27824
27825
27826   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " id3tag " > /dev/null; then
27827     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED id3tag"
27828   fi
27829   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " id3tag " > /dev/null; then
27830     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ id3tag / /'`
27831   fi
27832    if echo " $GST_PLUGINS_SELECTED " | grep -i " id3tag " > /dev/null; then
27833   USE_PLUGIN_ID3TAG_TRUE=
27834   USE_PLUGIN_ID3TAG_FALSE='#'
27835 else
27836   USE_PLUGIN_ID3TAG_TRUE='#'
27837   USE_PLUGIN_ID3TAG_FALSE=
27838 fi
27839
27840
27841
27842   GST_PLUGINS_ALL="$GST_PLUGINS_ALL inter"
27843
27844
27845
27846   # Check whether --enable-inter was given.
27847 if test "${enable_inter+set}" = set; then :
27848   enableval=$enable_inter;
27849       case "${enableval}" in
27850         yes) gst_use_inter=yes ;;
27851         no) gst_use_inter=no ;;
27852         *) as_fn_error $? "bad value ${enableval} for --enable-inter" "$LINENO" 5 ;;
27853        esac
27854
27855 else
27856   gst_use_inter=yes
27857 fi
27858
27859   if test x$gst_use_inter = xno; then
27860     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin inter" >&5
27861 $as_echo "$as_me: disabling dependency-less plugin inter" >&6;}
27862     WITHOUT_PLUGINS="$WITHOUT_PLUGINS inter"
27863   fi
27864
27865
27866   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " inter " > /dev/null; then
27867     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED inter"
27868   fi
27869   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " inter " > /dev/null; then
27870     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ inter / /'`
27871   fi
27872    if echo " $GST_PLUGINS_SELECTED " | grep -i " inter " > /dev/null; then
27873   USE_PLUGIN_INTER_TRUE=
27874   USE_PLUGIN_INTER_FALSE='#'
27875 else
27876   USE_PLUGIN_INTER_TRUE='#'
27877   USE_PLUGIN_INTER_FALSE=
27878 fi
27879
27880
27881
27882   GST_PLUGINS_ALL="$GST_PLUGINS_ALL interlace"
27883
27884
27885
27886   # Check whether --enable-interlace was given.
27887 if test "${enable_interlace+set}" = set; then :
27888   enableval=$enable_interlace;
27889       case "${enableval}" in
27890         yes) gst_use_interlace=yes ;;
27891         no) gst_use_interlace=no ;;
27892         *) as_fn_error $? "bad value ${enableval} for --enable-interlace" "$LINENO" 5 ;;
27893        esac
27894
27895 else
27896   gst_use_interlace=yes
27897 fi
27898
27899   if test x$gst_use_interlace = xno; then
27900     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin interlace" >&5
27901 $as_echo "$as_me: disabling dependency-less plugin interlace" >&6;}
27902     WITHOUT_PLUGINS="$WITHOUT_PLUGINS interlace"
27903   fi
27904
27905
27906   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " interlace " > /dev/null; then
27907     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED interlace"
27908   fi
27909   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " interlace " > /dev/null; then
27910     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ interlace / /'`
27911   fi
27912    if echo " $GST_PLUGINS_SELECTED " | grep -i " interlace " > /dev/null; then
27913   USE_PLUGIN_INTERLACE_TRUE=
27914   USE_PLUGIN_INTERLACE_FALSE='#'
27915 else
27916   USE_PLUGIN_INTERLACE_TRUE='#'
27917   USE_PLUGIN_INTERLACE_FALSE=
27918 fi
27919
27920
27921
27922   GST_PLUGINS_ALL="$GST_PLUGINS_ALL ivfparse"
27923
27924
27925
27926   # Check whether --enable-ivfparse was given.
27927 if test "${enable_ivfparse+set}" = set; then :
27928   enableval=$enable_ivfparse;
27929       case "${enableval}" in
27930         yes) gst_use_ivfparse=yes ;;
27931         no) gst_use_ivfparse=no ;;
27932         *) as_fn_error $? "bad value ${enableval} for --enable-ivfparse" "$LINENO" 5 ;;
27933        esac
27934
27935 else
27936   gst_use_ivfparse=yes
27937 fi
27938
27939   if test x$gst_use_ivfparse = xno; then
27940     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin ivfparse" >&5
27941 $as_echo "$as_me: disabling dependency-less plugin ivfparse" >&6;}
27942     WITHOUT_PLUGINS="$WITHOUT_PLUGINS ivfparse"
27943   fi
27944
27945
27946   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " ivfparse " > /dev/null; then
27947     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED ivfparse"
27948   fi
27949   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " ivfparse " > /dev/null; then
27950     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ ivfparse / /'`
27951   fi
27952    if echo " $GST_PLUGINS_SELECTED " | grep -i " ivfparse " > /dev/null; then
27953   USE_PLUGIN_IVFPARSE_TRUE=
27954   USE_PLUGIN_IVFPARSE_FALSE='#'
27955 else
27956   USE_PLUGIN_IVFPARSE_TRUE='#'
27957   USE_PLUGIN_IVFPARSE_FALSE=
27958 fi
27959
27960
27961
27962   GST_PLUGINS_ALL="$GST_PLUGINS_ALL jp2kdecimator"
27963
27964
27965
27966   # Check whether --enable-jp2kdecimator was given.
27967 if test "${enable_jp2kdecimator+set}" = set; then :
27968   enableval=$enable_jp2kdecimator;
27969       case "${enableval}" in
27970         yes) gst_use_jp2kdecimator=yes ;;
27971         no) gst_use_jp2kdecimator=no ;;
27972         *) as_fn_error $? "bad value ${enableval} for --enable-jp2kdecimator" "$LINENO" 5 ;;
27973        esac
27974
27975 else
27976   gst_use_jp2kdecimator=yes
27977 fi
27978
27979   if test x$gst_use_jp2kdecimator = xno; then
27980     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin jp2kdecimator" >&5
27981 $as_echo "$as_me: disabling dependency-less plugin jp2kdecimator" >&6;}
27982     WITHOUT_PLUGINS="$WITHOUT_PLUGINS jp2kdecimator"
27983   fi
27984
27985
27986   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " jp2kdecimator " > /dev/null; then
27987     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED jp2kdecimator"
27988   fi
27989   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " jp2kdecimator " > /dev/null; then
27990     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ jp2kdecimator / /'`
27991   fi
27992    if echo " $GST_PLUGINS_SELECTED " | grep -i " jp2kdecimator " > /dev/null; then
27993   USE_PLUGIN_JP2KDECIMATOR_TRUE=
27994   USE_PLUGIN_JP2KDECIMATOR_FALSE='#'
27995 else
27996   USE_PLUGIN_JP2KDECIMATOR_TRUE='#'
27997   USE_PLUGIN_JP2KDECIMATOR_FALSE=
27998 fi
27999
28000
28001
28002   GST_PLUGINS_ALL="$GST_PLUGINS_ALL jpegformat"
28003
28004
28005
28006   # Check whether --enable-jpegformat was given.
28007 if test "${enable_jpegformat+set}" = set; then :
28008   enableval=$enable_jpegformat;
28009       case "${enableval}" in
28010         yes) gst_use_jpegformat=yes ;;
28011         no) gst_use_jpegformat=no ;;
28012         *) as_fn_error $? "bad value ${enableval} for --enable-jpegformat" "$LINENO" 5 ;;
28013        esac
28014
28015 else
28016   gst_use_jpegformat=yes
28017 fi
28018
28019   if test x$gst_use_jpegformat = xno; then
28020     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin jpegformat" >&5
28021 $as_echo "$as_me: disabling dependency-less plugin jpegformat" >&6;}
28022     WITHOUT_PLUGINS="$WITHOUT_PLUGINS jpegformat"
28023   fi
28024
28025
28026   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " jpegformat " > /dev/null; then
28027     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED jpegformat"
28028   fi
28029   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " jpegformat " > /dev/null; then
28030     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ jpegformat / /'`
28031   fi
28032    if echo " $GST_PLUGINS_SELECTED " | grep -i " jpegformat " > /dev/null; then
28033   USE_PLUGIN_JPEGFORMAT_TRUE=
28034   USE_PLUGIN_JPEGFORMAT_FALSE='#'
28035 else
28036   USE_PLUGIN_JPEGFORMAT_TRUE='#'
28037   USE_PLUGIN_JPEGFORMAT_FALSE=
28038 fi
28039
28040
28041
28042   GST_PLUGINS_ALL="$GST_PLUGINS_ALL legacyresample"
28043
28044
28045
28046   # Check whether --enable-legacyresample was given.
28047 if test "${enable_legacyresample+set}" = set; then :
28048   enableval=$enable_legacyresample;
28049       case "${enableval}" in
28050         yes) gst_use_legacyresample=yes ;;
28051         no) gst_use_legacyresample=no ;;
28052         *) as_fn_error $? "bad value ${enableval} for --enable-legacyresample" "$LINENO" 5 ;;
28053        esac
28054
28055 else
28056   gst_use_legacyresample=yes
28057 fi
28058
28059   if test x$gst_use_legacyresample = xno; then
28060     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin legacyresample" >&5
28061 $as_echo "$as_me: disabling dependency-less plugin legacyresample" >&6;}
28062     WITHOUT_PLUGINS="$WITHOUT_PLUGINS legacyresample"
28063   fi
28064
28065
28066   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " legacyresample " > /dev/null; then
28067     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED legacyresample"
28068   fi
28069   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " legacyresample " > /dev/null; then
28070     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ legacyresample / /'`
28071   fi
28072    if echo " $GST_PLUGINS_SELECTED " | grep -i " legacyresample " > /dev/null; then
28073   USE_PLUGIN_LEGACYRESAMPLE_TRUE=
28074   USE_PLUGIN_LEGACYRESAMPLE_FALSE='#'
28075 else
28076   USE_PLUGIN_LEGACYRESAMPLE_TRUE='#'
28077   USE_PLUGIN_LEGACYRESAMPLE_FALSE=
28078 fi
28079
28080
28081
28082   GST_PLUGINS_ALL="$GST_PLUGINS_ALL librfb"
28083
28084
28085
28086   # Check whether --enable-librfb was given.
28087 if test "${enable_librfb+set}" = set; then :
28088   enableval=$enable_librfb;
28089       case "${enableval}" in
28090         yes) gst_use_librfb=yes ;;
28091         no) gst_use_librfb=no ;;
28092         *) as_fn_error $? "bad value ${enableval} for --enable-librfb" "$LINENO" 5 ;;
28093        esac
28094
28095 else
28096   gst_use_librfb=yes
28097 fi
28098
28099   if test x$gst_use_librfb = xno; then
28100     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin librfb" >&5
28101 $as_echo "$as_me: disabling dependency-less plugin librfb" >&6;}
28102     WITHOUT_PLUGINS="$WITHOUT_PLUGINS librfb"
28103   fi
28104
28105
28106   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " librfb " > /dev/null; then
28107     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED librfb"
28108   fi
28109   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " librfb " > /dev/null; then
28110     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ librfb / /'`
28111   fi
28112    if echo " $GST_PLUGINS_SELECTED " | grep -i " librfb " > /dev/null; then
28113   USE_PLUGIN_LIBRFB_TRUE=
28114   USE_PLUGIN_LIBRFB_FALSE='#'
28115 else
28116   USE_PLUGIN_LIBRFB_TRUE='#'
28117   USE_PLUGIN_LIBRFB_FALSE=
28118 fi
28119
28120
28121
28122   GST_PLUGINS_ALL="$GST_PLUGINS_ALL liveadder"
28123
28124
28125
28126   # Check whether --enable-liveadder was given.
28127 if test "${enable_liveadder+set}" = set; then :
28128   enableval=$enable_liveadder;
28129       case "${enableval}" in
28130         yes) gst_use_liveadder=yes ;;
28131         no) gst_use_liveadder=no ;;
28132         *) as_fn_error $? "bad value ${enableval} for --enable-liveadder" "$LINENO" 5 ;;
28133        esac
28134
28135 else
28136   gst_use_liveadder=yes
28137 fi
28138
28139   if test x$gst_use_liveadder = xno; then
28140     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin liveadder" >&5
28141 $as_echo "$as_me: disabling dependency-less plugin liveadder" >&6;}
28142     WITHOUT_PLUGINS="$WITHOUT_PLUGINS liveadder"
28143   fi
28144
28145
28146   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " liveadder " > /dev/null; then
28147     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED liveadder"
28148   fi
28149   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " liveadder " > /dev/null; then
28150     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ liveadder / /'`
28151   fi
28152    if echo " $GST_PLUGINS_SELECTED " | grep -i " liveadder " > /dev/null; then
28153   USE_PLUGIN_LIVEADDER_TRUE=
28154   USE_PLUGIN_LIVEADDER_FALSE='#'
28155 else
28156   USE_PLUGIN_LIVEADDER_TRUE='#'
28157   USE_PLUGIN_LIVEADDER_FALSE=
28158 fi
28159
28160
28161
28162   GST_PLUGINS_ALL="$GST_PLUGINS_ALL mpegdemux"
28163
28164
28165
28166   # Check whether --enable-mpegdemux was given.
28167 if test "${enable_mpegdemux+set}" = set; then :
28168   enableval=$enable_mpegdemux;
28169       case "${enableval}" in
28170         yes) gst_use_mpegdemux=yes ;;
28171         no) gst_use_mpegdemux=no ;;
28172         *) as_fn_error $? "bad value ${enableval} for --enable-mpegdemux" "$LINENO" 5 ;;
28173        esac
28174
28175 else
28176   gst_use_mpegdemux=yes
28177 fi
28178
28179   if test x$gst_use_mpegdemux = xno; then
28180     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin mpegdemux" >&5
28181 $as_echo "$as_me: disabling dependency-less plugin mpegdemux" >&6;}
28182     WITHOUT_PLUGINS="$WITHOUT_PLUGINS mpegdemux"
28183   fi
28184
28185
28186   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " mpegdemux " > /dev/null; then
28187     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED mpegdemux"
28188   fi
28189   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " mpegdemux " > /dev/null; then
28190     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ mpegdemux / /'`
28191   fi
28192    if echo " $GST_PLUGINS_SELECTED " | grep -i " mpegdemux " > /dev/null; then
28193   USE_PLUGIN_MPEGDEMUX_TRUE=
28194   USE_PLUGIN_MPEGDEMUX_FALSE='#'
28195 else
28196   USE_PLUGIN_MPEGDEMUX_TRUE='#'
28197   USE_PLUGIN_MPEGDEMUX_FALSE=
28198 fi
28199
28200
28201
28202   GST_PLUGINS_ALL="$GST_PLUGINS_ALL mpegtsdemux"
28203
28204
28205
28206   # Check whether --enable-mpegtsdemux was given.
28207 if test "${enable_mpegtsdemux+set}" = set; then :
28208   enableval=$enable_mpegtsdemux;
28209       case "${enableval}" in
28210         yes) gst_use_mpegtsdemux=yes ;;
28211         no) gst_use_mpegtsdemux=no ;;
28212         *) as_fn_error $? "bad value ${enableval} for --enable-mpegtsdemux" "$LINENO" 5 ;;
28213        esac
28214
28215 else
28216   gst_use_mpegtsdemux=yes
28217 fi
28218
28219   if test x$gst_use_mpegtsdemux = xno; then
28220     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin mpegtsdemux" >&5
28221 $as_echo "$as_me: disabling dependency-less plugin mpegtsdemux" >&6;}
28222     WITHOUT_PLUGINS="$WITHOUT_PLUGINS mpegtsdemux"
28223   fi
28224
28225
28226   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " mpegtsdemux " > /dev/null; then
28227     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED mpegtsdemux"
28228   fi
28229   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " mpegtsdemux " > /dev/null; then
28230     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ mpegtsdemux / /'`
28231   fi
28232    if echo " $GST_PLUGINS_SELECTED " | grep -i " mpegtsdemux " > /dev/null; then
28233   USE_PLUGIN_MPEGTSDEMUX_TRUE=
28234   USE_PLUGIN_MPEGTSDEMUX_FALSE='#'
28235 else
28236   USE_PLUGIN_MPEGTSDEMUX_TRUE='#'
28237   USE_PLUGIN_MPEGTSDEMUX_FALSE=
28238 fi
28239
28240
28241
28242   GST_PLUGINS_ALL="$GST_PLUGINS_ALL mpegtsmux"
28243
28244
28245
28246   # Check whether --enable-mpegtsmux was given.
28247 if test "${enable_mpegtsmux+set}" = set; then :
28248   enableval=$enable_mpegtsmux;
28249       case "${enableval}" in
28250         yes) gst_use_mpegtsmux=yes ;;
28251         no) gst_use_mpegtsmux=no ;;
28252         *) as_fn_error $? "bad value ${enableval} for --enable-mpegtsmux" "$LINENO" 5 ;;
28253        esac
28254
28255 else
28256   gst_use_mpegtsmux=yes
28257 fi
28258
28259   if test x$gst_use_mpegtsmux = xno; then
28260     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin mpegtsmux" >&5
28261 $as_echo "$as_me: disabling dependency-less plugin mpegtsmux" >&6;}
28262     WITHOUT_PLUGINS="$WITHOUT_PLUGINS mpegtsmux"
28263   fi
28264
28265
28266   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " mpegtsmux " > /dev/null; then
28267     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED mpegtsmux"
28268   fi
28269   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " mpegtsmux " > /dev/null; then
28270     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ mpegtsmux / /'`
28271   fi
28272    if echo " $GST_PLUGINS_SELECTED " | grep -i " mpegtsmux " > /dev/null; then
28273   USE_PLUGIN_MPEGTSMUX_TRUE=
28274   USE_PLUGIN_MPEGTSMUX_FALSE='#'
28275 else
28276   USE_PLUGIN_MPEGTSMUX_TRUE='#'
28277   USE_PLUGIN_MPEGTSMUX_FALSE=
28278 fi
28279
28280
28281
28282   GST_PLUGINS_ALL="$GST_PLUGINS_ALL mpegpsmux"
28283
28284
28285
28286   # Check whether --enable-mpegpsmux was given.
28287 if test "${enable_mpegpsmux+set}" = set; then :
28288   enableval=$enable_mpegpsmux;
28289       case "${enableval}" in
28290         yes) gst_use_mpegpsmux=yes ;;
28291         no) gst_use_mpegpsmux=no ;;
28292         *) as_fn_error $? "bad value ${enableval} for --enable-mpegpsmux" "$LINENO" 5 ;;
28293        esac
28294
28295 else
28296   gst_use_mpegpsmux=yes
28297 fi
28298
28299   if test x$gst_use_mpegpsmux = xno; then
28300     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin mpegpsmux" >&5
28301 $as_echo "$as_me: disabling dependency-less plugin mpegpsmux" >&6;}
28302     WITHOUT_PLUGINS="$WITHOUT_PLUGINS mpegpsmux"
28303   fi
28304
28305
28306   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " mpegpsmux " > /dev/null; then
28307     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED mpegpsmux"
28308   fi
28309   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " mpegpsmux " > /dev/null; then
28310     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ mpegpsmux / /'`
28311   fi
28312    if echo " $GST_PLUGINS_SELECTED " | grep -i " mpegpsmux " > /dev/null; then
28313   USE_PLUGIN_MPEGPSMUX_TRUE=
28314   USE_PLUGIN_MPEGPSMUX_FALSE='#'
28315 else
28316   USE_PLUGIN_MPEGPSMUX_TRUE='#'
28317   USE_PLUGIN_MPEGPSMUX_FALSE=
28318 fi
28319
28320
28321
28322   GST_PLUGINS_ALL="$GST_PLUGINS_ALL mpegvideoparse"
28323
28324
28325
28326   # Check whether --enable-mpegvideoparse was given.
28327 if test "${enable_mpegvideoparse+set}" = set; then :
28328   enableval=$enable_mpegvideoparse;
28329       case "${enableval}" in
28330         yes) gst_use_mpegvideoparse=yes ;;
28331         no) gst_use_mpegvideoparse=no ;;
28332         *) as_fn_error $? "bad value ${enableval} for --enable-mpegvideoparse" "$LINENO" 5 ;;
28333        esac
28334
28335 else
28336   gst_use_mpegvideoparse=yes
28337 fi
28338
28339   if test x$gst_use_mpegvideoparse = xno; then
28340     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin mpegvideoparse" >&5
28341 $as_echo "$as_me: disabling dependency-less plugin mpegvideoparse" >&6;}
28342     WITHOUT_PLUGINS="$WITHOUT_PLUGINS mpegvideoparse"
28343   fi
28344
28345
28346   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " mpegvideoparse " > /dev/null; then
28347     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED mpegvideoparse"
28348   fi
28349   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " mpegvideoparse " > /dev/null; then
28350     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ mpegvideoparse / /'`
28351   fi
28352    if echo " $GST_PLUGINS_SELECTED " | grep -i " mpegvideoparse " > /dev/null; then
28353   USE_PLUGIN_MPEGVIDEOPARSE_TRUE=
28354   USE_PLUGIN_MPEGVIDEOPARSE_FALSE='#'
28355 else
28356   USE_PLUGIN_MPEGVIDEOPARSE_TRUE='#'
28357   USE_PLUGIN_MPEGVIDEOPARSE_FALSE=
28358 fi
28359
28360
28361
28362   GST_PLUGINS_ALL="$GST_PLUGINS_ALL mve"
28363
28364
28365
28366   # Check whether --enable-mve was given.
28367 if test "${enable_mve+set}" = set; then :
28368   enableval=$enable_mve;
28369       case "${enableval}" in
28370         yes) gst_use_mve=yes ;;
28371         no) gst_use_mve=no ;;
28372         *) as_fn_error $? "bad value ${enableval} for --enable-mve" "$LINENO" 5 ;;
28373        esac
28374
28375 else
28376   gst_use_mve=yes
28377 fi
28378
28379   if test x$gst_use_mve = xno; then
28380     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin mve" >&5
28381 $as_echo "$as_me: disabling dependency-less plugin mve" >&6;}
28382     WITHOUT_PLUGINS="$WITHOUT_PLUGINS mve"
28383   fi
28384
28385
28386   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " mve " > /dev/null; then
28387     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED mve"
28388   fi
28389   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " mve " > /dev/null; then
28390     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ mve / /'`
28391   fi
28392    if echo " $GST_PLUGINS_SELECTED " | grep -i " mve " > /dev/null; then
28393   USE_PLUGIN_MVE_TRUE=
28394   USE_PLUGIN_MVE_FALSE='#'
28395 else
28396   USE_PLUGIN_MVE_TRUE='#'
28397   USE_PLUGIN_MVE_FALSE=
28398 fi
28399
28400
28401
28402   GST_PLUGINS_ALL="$GST_PLUGINS_ALL mxf"
28403
28404
28405
28406   # Check whether --enable-mxf was given.
28407 if test "${enable_mxf+set}" = set; then :
28408   enableval=$enable_mxf;
28409       case "${enableval}" in
28410         yes) gst_use_mxf=yes ;;
28411         no) gst_use_mxf=no ;;
28412         *) as_fn_error $? "bad value ${enableval} for --enable-mxf" "$LINENO" 5 ;;
28413        esac
28414
28415 else
28416   gst_use_mxf=yes
28417 fi
28418
28419   if test x$gst_use_mxf = xno; then
28420     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin mxf" >&5
28421 $as_echo "$as_me: disabling dependency-less plugin mxf" >&6;}
28422     WITHOUT_PLUGINS="$WITHOUT_PLUGINS mxf"
28423   fi
28424
28425
28426   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " mxf " > /dev/null; then
28427     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED mxf"
28428   fi
28429   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " mxf " > /dev/null; then
28430     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ mxf / /'`
28431   fi
28432    if echo " $GST_PLUGINS_SELECTED " | grep -i " mxf " > /dev/null; then
28433   USE_PLUGIN_MXF_TRUE=
28434   USE_PLUGIN_MXF_FALSE='#'
28435 else
28436   USE_PLUGIN_MXF_TRUE='#'
28437   USE_PLUGIN_MXF_FALSE=
28438 fi
28439
28440
28441
28442   GST_PLUGINS_ALL="$GST_PLUGINS_ALL nsf"
28443
28444
28445
28446   # Check whether --enable-nsf was given.
28447 if test "${enable_nsf+set}" = set; then :
28448   enableval=$enable_nsf;
28449       case "${enableval}" in
28450         yes) gst_use_nsf=yes ;;
28451         no) gst_use_nsf=no ;;
28452         *) as_fn_error $? "bad value ${enableval} for --enable-nsf" "$LINENO" 5 ;;
28453        esac
28454
28455 else
28456   gst_use_nsf=yes
28457 fi
28458
28459   if test x$gst_use_nsf = xno; then
28460     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin nsf" >&5
28461 $as_echo "$as_me: disabling dependency-less plugin nsf" >&6;}
28462     WITHOUT_PLUGINS="$WITHOUT_PLUGINS nsf"
28463   fi
28464
28465
28466   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " nsf " > /dev/null; then
28467     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED nsf"
28468   fi
28469   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " nsf " > /dev/null; then
28470     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ nsf / /'`
28471   fi
28472    if echo " $GST_PLUGINS_SELECTED " | grep -i " nsf " > /dev/null; then
28473   USE_PLUGIN_NSF_TRUE=
28474   USE_PLUGIN_NSF_FALSE='#'
28475 else
28476   USE_PLUGIN_NSF_TRUE='#'
28477   USE_PLUGIN_NSF_FALSE=
28478 fi
28479
28480
28481
28482   GST_PLUGINS_ALL="$GST_PLUGINS_ALL nuvdemux"
28483
28484
28485
28486   # Check whether --enable-nuvdemux was given.
28487 if test "${enable_nuvdemux+set}" = set; then :
28488   enableval=$enable_nuvdemux;
28489       case "${enableval}" in
28490         yes) gst_use_nuvdemux=yes ;;
28491         no) gst_use_nuvdemux=no ;;
28492         *) as_fn_error $? "bad value ${enableval} for --enable-nuvdemux" "$LINENO" 5 ;;
28493        esac
28494
28495 else
28496   gst_use_nuvdemux=yes
28497 fi
28498
28499   if test x$gst_use_nuvdemux = xno; then
28500     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin nuvdemux" >&5
28501 $as_echo "$as_me: disabling dependency-less plugin nuvdemux" >&6;}
28502     WITHOUT_PLUGINS="$WITHOUT_PLUGINS nuvdemux"
28503   fi
28504
28505
28506   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " nuvdemux " > /dev/null; then
28507     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED nuvdemux"
28508   fi
28509   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " nuvdemux " > /dev/null; then
28510     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ nuvdemux / /'`
28511   fi
28512    if echo " $GST_PLUGINS_SELECTED " | grep -i " nuvdemux " > /dev/null; then
28513   USE_PLUGIN_NUVDEMUX_TRUE=
28514   USE_PLUGIN_NUVDEMUX_FALSE='#'
28515 else
28516   USE_PLUGIN_NUVDEMUX_TRUE='#'
28517   USE_PLUGIN_NUVDEMUX_FALSE=
28518 fi
28519
28520
28521
28522   GST_PLUGINS_ALL="$GST_PLUGINS_ALL patchdetect"
28523
28524
28525
28526   # Check whether --enable-patchdetect was given.
28527 if test "${enable_patchdetect+set}" = set; then :
28528   enableval=$enable_patchdetect;
28529       case "${enableval}" in
28530         yes) gst_use_patchdetect=yes ;;
28531         no) gst_use_patchdetect=no ;;
28532         *) as_fn_error $? "bad value ${enableval} for --enable-patchdetect" "$LINENO" 5 ;;
28533        esac
28534
28535 else
28536   gst_use_patchdetect=yes
28537 fi
28538
28539   if test x$gst_use_patchdetect = xno; then
28540     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin patchdetect" >&5
28541 $as_echo "$as_me: disabling dependency-less plugin patchdetect" >&6;}
28542     WITHOUT_PLUGINS="$WITHOUT_PLUGINS patchdetect"
28543   fi
28544
28545
28546   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " patchdetect " > /dev/null; then
28547     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED patchdetect"
28548   fi
28549   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " patchdetect " > /dev/null; then
28550     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ patchdetect / /'`
28551   fi
28552    if echo " $GST_PLUGINS_SELECTED " | grep -i " patchdetect " > /dev/null; then
28553   USE_PLUGIN_PATCHDETECT_TRUE=
28554   USE_PLUGIN_PATCHDETECT_FALSE='#'
28555 else
28556   USE_PLUGIN_PATCHDETECT_TRUE='#'
28557   USE_PLUGIN_PATCHDETECT_FALSE=
28558 fi
28559
28560
28561
28562   GST_PLUGINS_ALL="$GST_PLUGINS_ALL pcapparse"
28563
28564
28565
28566   # Check whether --enable-pcapparse was given.
28567 if test "${enable_pcapparse+set}" = set; then :
28568   enableval=$enable_pcapparse;
28569       case "${enableval}" in
28570         yes) gst_use_pcapparse=yes ;;
28571         no) gst_use_pcapparse=no ;;
28572         *) as_fn_error $? "bad value ${enableval} for --enable-pcapparse" "$LINENO" 5 ;;
28573        esac
28574
28575 else
28576   gst_use_pcapparse=yes
28577 fi
28578
28579   if test x$gst_use_pcapparse = xno; then
28580     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin pcapparse" >&5
28581 $as_echo "$as_me: disabling dependency-less plugin pcapparse" >&6;}
28582     WITHOUT_PLUGINS="$WITHOUT_PLUGINS pcapparse"
28583   fi
28584
28585
28586   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " pcapparse " > /dev/null; then
28587     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED pcapparse"
28588   fi
28589   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " pcapparse " > /dev/null; then
28590     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ pcapparse / /'`
28591   fi
28592    if echo " $GST_PLUGINS_SELECTED " | grep -i " pcapparse " > /dev/null; then
28593   USE_PLUGIN_PCAPPARSE_TRUE=
28594   USE_PLUGIN_PCAPPARSE_FALSE='#'
28595 else
28596   USE_PLUGIN_PCAPPARSE_TRUE='#'
28597   USE_PLUGIN_PCAPPARSE_FALSE=
28598 fi
28599
28600
28601
28602   GST_PLUGINS_ALL="$GST_PLUGINS_ALL pnm"
28603
28604
28605
28606   # Check whether --enable-pnm was given.
28607 if test "${enable_pnm+set}" = set; then :
28608   enableval=$enable_pnm;
28609       case "${enableval}" in
28610         yes) gst_use_pnm=yes ;;
28611         no) gst_use_pnm=no ;;
28612         *) as_fn_error $? "bad value ${enableval} for --enable-pnm" "$LINENO" 5 ;;
28613        esac
28614
28615 else
28616   gst_use_pnm=yes
28617 fi
28618
28619   if test x$gst_use_pnm = xno; then
28620     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin pnm" >&5
28621 $as_echo "$as_me: disabling dependency-less plugin pnm" >&6;}
28622     WITHOUT_PLUGINS="$WITHOUT_PLUGINS pnm"
28623   fi
28624
28625
28626   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " pnm " > /dev/null; then
28627     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED pnm"
28628   fi
28629   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " pnm " > /dev/null; then
28630     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ pnm / /'`
28631   fi
28632    if echo " $GST_PLUGINS_SELECTED " | grep -i " pnm " > /dev/null; then
28633   USE_PLUGIN_PNM_TRUE=
28634   USE_PLUGIN_PNM_FALSE='#'
28635 else
28636   USE_PLUGIN_PNM_TRUE='#'
28637   USE_PLUGIN_PNM_FALSE=
28638 fi
28639
28640
28641
28642   GST_PLUGINS_ALL="$GST_PLUGINS_ALL rawparse"
28643
28644
28645
28646   # Check whether --enable-rawparse was given.
28647 if test "${enable_rawparse+set}" = set; then :
28648   enableval=$enable_rawparse;
28649       case "${enableval}" in
28650         yes) gst_use_rawparse=yes ;;
28651         no) gst_use_rawparse=no ;;
28652         *) as_fn_error $? "bad value ${enableval} for --enable-rawparse" "$LINENO" 5 ;;
28653        esac
28654
28655 else
28656   gst_use_rawparse=yes
28657 fi
28658
28659   if test x$gst_use_rawparse = xno; then
28660     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin rawparse" >&5
28661 $as_echo "$as_me: disabling dependency-less plugin rawparse" >&6;}
28662     WITHOUT_PLUGINS="$WITHOUT_PLUGINS rawparse"
28663   fi
28664
28665
28666   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " rawparse " > /dev/null; then
28667     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED rawparse"
28668   fi
28669   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " rawparse " > /dev/null; then
28670     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ rawparse / /'`
28671   fi
28672    if echo " $GST_PLUGINS_SELECTED " | grep -i " rawparse " > /dev/null; then
28673   USE_PLUGIN_RAWPARSE_TRUE=
28674   USE_PLUGIN_RAWPARSE_FALSE='#'
28675 else
28676   USE_PLUGIN_RAWPARSE_TRUE='#'
28677   USE_PLUGIN_RAWPARSE_FALSE=
28678 fi
28679
28680
28681
28682   GST_PLUGINS_ALL="$GST_PLUGINS_ALL real"
28683
28684
28685
28686   # Check whether --enable-real was given.
28687 if test "${enable_real+set}" = set; then :
28688   enableval=$enable_real;
28689       case "${enableval}" in
28690         yes) gst_use_real=yes ;;
28691         no) gst_use_real=no ;;
28692         *) as_fn_error $? "bad value ${enableval} for --enable-real" "$LINENO" 5 ;;
28693        esac
28694
28695 else
28696   gst_use_real=yes
28697 fi
28698
28699   if test x$gst_use_real = xno; then
28700     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin real" >&5
28701 $as_echo "$as_me: disabling dependency-less plugin real" >&6;}
28702     WITHOUT_PLUGINS="$WITHOUT_PLUGINS real"
28703   fi
28704
28705
28706   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " real " > /dev/null; then
28707     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED real"
28708   fi
28709   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " real " > /dev/null; then
28710     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ real / /'`
28711   fi
28712    if echo " $GST_PLUGINS_SELECTED " | grep -i " real " > /dev/null; then
28713   USE_PLUGIN_REAL_TRUE=
28714   USE_PLUGIN_REAL_FALSE='#'
28715 else
28716   USE_PLUGIN_REAL_TRUE='#'
28717   USE_PLUGIN_REAL_FALSE=
28718 fi
28719
28720
28721
28722   GST_PLUGINS_ALL="$GST_PLUGINS_ALL removesilence"
28723
28724
28725
28726   # Check whether --enable-removesilence was given.
28727 if test "${enable_removesilence+set}" = set; then :
28728   enableval=$enable_removesilence;
28729       case "${enableval}" in
28730         yes) gst_use_removesilence=yes ;;
28731         no) gst_use_removesilence=no ;;
28732         *) as_fn_error $? "bad value ${enableval} for --enable-removesilence" "$LINENO" 5 ;;
28733        esac
28734
28735 else
28736   gst_use_removesilence=yes
28737 fi
28738
28739   if test x$gst_use_removesilence = xno; then
28740     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin removesilence" >&5
28741 $as_echo "$as_me: disabling dependency-less plugin removesilence" >&6;}
28742     WITHOUT_PLUGINS="$WITHOUT_PLUGINS removesilence"
28743   fi
28744
28745
28746   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " removesilence " > /dev/null; then
28747     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED removesilence"
28748   fi
28749   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " removesilence " > /dev/null; then
28750     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ removesilence / /'`
28751   fi
28752    if echo " $GST_PLUGINS_SELECTED " | grep -i " removesilence " > /dev/null; then
28753   USE_PLUGIN_REMOVESILENCE_TRUE=
28754   USE_PLUGIN_REMOVESILENCE_FALSE='#'
28755 else
28756   USE_PLUGIN_REMOVESILENCE_TRUE='#'
28757   USE_PLUGIN_REMOVESILENCE_FALSE=
28758 fi
28759
28760
28761
28762   GST_PLUGINS_ALL="$GST_PLUGINS_ALL rtpmux"
28763
28764
28765
28766   # Check whether --enable-rtpmux was given.
28767 if test "${enable_rtpmux+set}" = set; then :
28768   enableval=$enable_rtpmux;
28769       case "${enableval}" in
28770         yes) gst_use_rtpmux=yes ;;
28771         no) gst_use_rtpmux=no ;;
28772         *) as_fn_error $? "bad value ${enableval} for --enable-rtpmux" "$LINENO" 5 ;;
28773        esac
28774
28775 else
28776   gst_use_rtpmux=yes
28777 fi
28778
28779   if test x$gst_use_rtpmux = xno; then
28780     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin rtpmux" >&5
28781 $as_echo "$as_me: disabling dependency-less plugin rtpmux" >&6;}
28782     WITHOUT_PLUGINS="$WITHOUT_PLUGINS rtpmux"
28783   fi
28784
28785
28786   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " rtpmux " > /dev/null; then
28787     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED rtpmux"
28788   fi
28789   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " rtpmux " > /dev/null; then
28790     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ rtpmux / /'`
28791   fi
28792    if echo " $GST_PLUGINS_SELECTED " | grep -i " rtpmux " > /dev/null; then
28793   USE_PLUGIN_RTPMUX_TRUE=
28794   USE_PLUGIN_RTPMUX_FALSE='#'
28795 else
28796   USE_PLUGIN_RTPMUX_TRUE='#'
28797   USE_PLUGIN_RTPMUX_FALSE=
28798 fi
28799
28800
28801
28802   GST_PLUGINS_ALL="$GST_PLUGINS_ALL rtpvp8"
28803
28804
28805
28806   # Check whether --enable-rtpvp8 was given.
28807 if test "${enable_rtpvp8+set}" = set; then :
28808   enableval=$enable_rtpvp8;
28809       case "${enableval}" in
28810         yes) gst_use_rtpvp8=yes ;;
28811         no) gst_use_rtpvp8=no ;;
28812         *) as_fn_error $? "bad value ${enableval} for --enable-rtpvp8" "$LINENO" 5 ;;
28813        esac
28814
28815 else
28816   gst_use_rtpvp8=yes
28817 fi
28818
28819   if test x$gst_use_rtpvp8 = xno; then
28820     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin rtpvp8" >&5
28821 $as_echo "$as_me: disabling dependency-less plugin rtpvp8" >&6;}
28822     WITHOUT_PLUGINS="$WITHOUT_PLUGINS rtpvp8"
28823   fi
28824
28825
28826   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " rtpvp8 " > /dev/null; then
28827     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED rtpvp8"
28828   fi
28829   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " rtpvp8 " > /dev/null; then
28830     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ rtpvp8 / /'`
28831   fi
28832    if echo " $GST_PLUGINS_SELECTED " | grep -i " rtpvp8 " > /dev/null; then
28833   USE_PLUGIN_RTPVP8_TRUE=
28834   USE_PLUGIN_RTPVP8_FALSE='#'
28835 else
28836   USE_PLUGIN_RTPVP8_TRUE='#'
28837   USE_PLUGIN_RTPVP8_FALSE=
28838 fi
28839
28840
28841
28842   GST_PLUGINS_ALL="$GST_PLUGINS_ALL scaletempo"
28843
28844
28845
28846   # Check whether --enable-scaletempo was given.
28847 if test "${enable_scaletempo+set}" = set; then :
28848   enableval=$enable_scaletempo;
28849       case "${enableval}" in
28850         yes) gst_use_scaletempo=yes ;;
28851         no) gst_use_scaletempo=no ;;
28852         *) as_fn_error $? "bad value ${enableval} for --enable-scaletempo" "$LINENO" 5 ;;
28853        esac
28854
28855 else
28856   gst_use_scaletempo=yes
28857 fi
28858
28859   if test x$gst_use_scaletempo = xno; then
28860     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin scaletempo" >&5
28861 $as_echo "$as_me: disabling dependency-less plugin scaletempo" >&6;}
28862     WITHOUT_PLUGINS="$WITHOUT_PLUGINS scaletempo"
28863   fi
28864
28865
28866   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " scaletempo " > /dev/null; then
28867     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED scaletempo"
28868   fi
28869   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " scaletempo " > /dev/null; then
28870     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ scaletempo / /'`
28871   fi
28872    if echo " $GST_PLUGINS_SELECTED " | grep -i " scaletempo " > /dev/null; then
28873   USE_PLUGIN_SCALETEMPO_TRUE=
28874   USE_PLUGIN_SCALETEMPO_FALSE='#'
28875 else
28876   USE_PLUGIN_SCALETEMPO_TRUE='#'
28877   USE_PLUGIN_SCALETEMPO_FALSE=
28878 fi
28879
28880
28881
28882   GST_PLUGINS_ALL="$GST_PLUGINS_ALL sdi"
28883
28884
28885
28886   # Check whether --enable-sdi was given.
28887 if test "${enable_sdi+set}" = set; then :
28888   enableval=$enable_sdi;
28889       case "${enableval}" in
28890         yes) gst_use_sdi=yes ;;
28891         no) gst_use_sdi=no ;;
28892         *) as_fn_error $? "bad value ${enableval} for --enable-sdi" "$LINENO" 5 ;;
28893        esac
28894
28895 else
28896   gst_use_sdi=yes
28897 fi
28898
28899   if test x$gst_use_sdi = xno; then
28900     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin sdi" >&5
28901 $as_echo "$as_me: disabling dependency-less plugin sdi" >&6;}
28902     WITHOUT_PLUGINS="$WITHOUT_PLUGINS sdi"
28903   fi
28904
28905
28906   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " sdi " > /dev/null; then
28907     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED sdi"
28908   fi
28909   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " sdi " > /dev/null; then
28910     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ sdi / /'`
28911   fi
28912    if echo " $GST_PLUGINS_SELECTED " | grep -i " sdi " > /dev/null; then
28913   USE_PLUGIN_SDI_TRUE=
28914   USE_PLUGIN_SDI_FALSE='#'
28915 else
28916   USE_PLUGIN_SDI_TRUE='#'
28917   USE_PLUGIN_SDI_FALSE=
28918 fi
28919
28920
28921
28922   GST_PLUGINS_ALL="$GST_PLUGINS_ALL sdp"
28923
28924
28925
28926   # Check whether --enable-sdp was given.
28927 if test "${enable_sdp+set}" = set; then :
28928   enableval=$enable_sdp;
28929       case "${enableval}" in
28930         yes) gst_use_sdp=yes ;;
28931         no) gst_use_sdp=no ;;
28932         *) as_fn_error $? "bad value ${enableval} for --enable-sdp" "$LINENO" 5 ;;
28933        esac
28934
28935 else
28936   gst_use_sdp=yes
28937 fi
28938
28939   if test x$gst_use_sdp = xno; then
28940     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin sdp" >&5
28941 $as_echo "$as_me: disabling dependency-less plugin sdp" >&6;}
28942     WITHOUT_PLUGINS="$WITHOUT_PLUGINS sdp"
28943   fi
28944
28945
28946   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " sdp " > /dev/null; then
28947     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED sdp"
28948   fi
28949   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " sdp " > /dev/null; then
28950     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ sdp / /'`
28951   fi
28952    if echo " $GST_PLUGINS_SELECTED " | grep -i " sdp " > /dev/null; then
28953   USE_PLUGIN_SDP_TRUE=
28954   USE_PLUGIN_SDP_FALSE='#'
28955 else
28956   USE_PLUGIN_SDP_TRUE='#'
28957   USE_PLUGIN_SDP_FALSE=
28958 fi
28959
28960
28961
28962   GST_PLUGINS_ALL="$GST_PLUGINS_ALL segmentclip"
28963
28964
28965
28966   # Check whether --enable-segmentclip was given.
28967 if test "${enable_segmentclip+set}" = set; then :
28968   enableval=$enable_segmentclip;
28969       case "${enableval}" in
28970         yes) gst_use_segmentclip=yes ;;
28971         no) gst_use_segmentclip=no ;;
28972         *) as_fn_error $? "bad value ${enableval} for --enable-segmentclip" "$LINENO" 5 ;;
28973        esac
28974
28975 else
28976   gst_use_segmentclip=yes
28977 fi
28978
28979   if test x$gst_use_segmentclip = xno; then
28980     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin segmentclip" >&5
28981 $as_echo "$as_me: disabling dependency-less plugin segmentclip" >&6;}
28982     WITHOUT_PLUGINS="$WITHOUT_PLUGINS segmentclip"
28983   fi
28984
28985
28986   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " segmentclip " > /dev/null; then
28987     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED segmentclip"
28988   fi
28989   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " segmentclip " > /dev/null; then
28990     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ segmentclip / /'`
28991   fi
28992    if echo " $GST_PLUGINS_SELECTED " | grep -i " segmentclip " > /dev/null; then
28993   USE_PLUGIN_SEGMENTCLIP_TRUE=
28994   USE_PLUGIN_SEGMENTCLIP_FALSE='#'
28995 else
28996   USE_PLUGIN_SEGMENTCLIP_TRUE='#'
28997   USE_PLUGIN_SEGMENTCLIP_FALSE=
28998 fi
28999
29000
29001
29002   GST_PLUGINS_ALL="$GST_PLUGINS_ALL siren"
29003
29004
29005
29006   # Check whether --enable-siren was given.
29007 if test "${enable_siren+set}" = set; then :
29008   enableval=$enable_siren;
29009       case "${enableval}" in
29010         yes) gst_use_siren=yes ;;
29011         no) gst_use_siren=no ;;
29012         *) as_fn_error $? "bad value ${enableval} for --enable-siren" "$LINENO" 5 ;;
29013        esac
29014
29015 else
29016   gst_use_siren=yes
29017 fi
29018
29019   if test x$gst_use_siren = xno; then
29020     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin siren" >&5
29021 $as_echo "$as_me: disabling dependency-less plugin siren" >&6;}
29022     WITHOUT_PLUGINS="$WITHOUT_PLUGINS siren"
29023   fi
29024
29025
29026   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " siren " > /dev/null; then
29027     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED siren"
29028   fi
29029   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " siren " > /dev/null; then
29030     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ siren / /'`
29031   fi
29032    if echo " $GST_PLUGINS_SELECTED " | grep -i " siren " > /dev/null; then
29033   USE_PLUGIN_SIREN_TRUE=
29034   USE_PLUGIN_SIREN_FALSE='#'
29035 else
29036   USE_PLUGIN_SIREN_TRUE='#'
29037   USE_PLUGIN_SIREN_FALSE=
29038 fi
29039
29040
29041
29042   GST_PLUGINS_ALL="$GST_PLUGINS_ALL smooth"
29043
29044
29045
29046   # Check whether --enable-smooth was given.
29047 if test "${enable_smooth+set}" = set; then :
29048   enableval=$enable_smooth;
29049       case "${enableval}" in
29050         yes) gst_use_smooth=yes ;;
29051         no) gst_use_smooth=no ;;
29052         *) as_fn_error $? "bad value ${enableval} for --enable-smooth" "$LINENO" 5 ;;
29053        esac
29054
29055 else
29056   gst_use_smooth=yes
29057 fi
29058
29059   if test x$gst_use_smooth = xno; then
29060     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin smooth" >&5
29061 $as_echo "$as_me: disabling dependency-less plugin smooth" >&6;}
29062     WITHOUT_PLUGINS="$WITHOUT_PLUGINS smooth"
29063   fi
29064
29065
29066   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " smooth " > /dev/null; then
29067     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED smooth"
29068   fi
29069   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " smooth " > /dev/null; then
29070     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ smooth / /'`
29071   fi
29072    if echo " $GST_PLUGINS_SELECTED " | grep -i " smooth " > /dev/null; then
29073   USE_PLUGIN_SMOOTH_TRUE=
29074   USE_PLUGIN_SMOOTH_FALSE='#'
29075 else
29076   USE_PLUGIN_SMOOTH_TRUE='#'
29077   USE_PLUGIN_SMOOTH_FALSE=
29078 fi
29079
29080
29081
29082   GST_PLUGINS_ALL="$GST_PLUGINS_ALL speed"
29083
29084
29085
29086   # Check whether --enable-speed was given.
29087 if test "${enable_speed+set}" = set; then :
29088   enableval=$enable_speed;
29089       case "${enableval}" in
29090         yes) gst_use_speed=yes ;;
29091         no) gst_use_speed=no ;;
29092         *) as_fn_error $? "bad value ${enableval} for --enable-speed" "$LINENO" 5 ;;
29093        esac
29094
29095 else
29096   gst_use_speed=yes
29097 fi
29098
29099   if test x$gst_use_speed = xno; then
29100     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin speed" >&5
29101 $as_echo "$as_me: disabling dependency-less plugin speed" >&6;}
29102     WITHOUT_PLUGINS="$WITHOUT_PLUGINS speed"
29103   fi
29104
29105
29106   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " speed " > /dev/null; then
29107     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED speed"
29108   fi
29109   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " speed " > /dev/null; then
29110     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ speed / /'`
29111   fi
29112    if echo " $GST_PLUGINS_SELECTED " | grep -i " speed " > /dev/null; then
29113   USE_PLUGIN_SPEED_TRUE=
29114   USE_PLUGIN_SPEED_FALSE='#'
29115 else
29116   USE_PLUGIN_SPEED_TRUE='#'
29117   USE_PLUGIN_SPEED_FALSE=
29118 fi
29119
29120
29121
29122   GST_PLUGINS_ALL="$GST_PLUGINS_ALL subenc"
29123
29124
29125
29126   # Check whether --enable-subenc was given.
29127 if test "${enable_subenc+set}" = set; then :
29128   enableval=$enable_subenc;
29129       case "${enableval}" in
29130         yes) gst_use_subenc=yes ;;
29131         no) gst_use_subenc=no ;;
29132         *) as_fn_error $? "bad value ${enableval} for --enable-subenc" "$LINENO" 5 ;;
29133        esac
29134
29135 else
29136   gst_use_subenc=yes
29137 fi
29138
29139   if test x$gst_use_subenc = xno; then
29140     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin subenc" >&5
29141 $as_echo "$as_me: disabling dependency-less plugin subenc" >&6;}
29142     WITHOUT_PLUGINS="$WITHOUT_PLUGINS subenc"
29143   fi
29144
29145
29146   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " subenc " > /dev/null; then
29147     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED subenc"
29148   fi
29149   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " subenc " > /dev/null; then
29150     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ subenc / /'`
29151   fi
29152    if echo " $GST_PLUGINS_SELECTED " | grep -i " subenc " > /dev/null; then
29153   USE_PLUGIN_SUBENC_TRUE=
29154   USE_PLUGIN_SUBENC_FALSE='#'
29155 else
29156   USE_PLUGIN_SUBENC_TRUE='#'
29157   USE_PLUGIN_SUBENC_FALSE=
29158 fi
29159
29160
29161
29162   GST_PLUGINS_ALL="$GST_PLUGINS_ALL stereo"
29163
29164
29165
29166   # Check whether --enable-stereo was given.
29167 if test "${enable_stereo+set}" = set; then :
29168   enableval=$enable_stereo;
29169       case "${enableval}" in
29170         yes) gst_use_stereo=yes ;;
29171         no) gst_use_stereo=no ;;
29172         *) as_fn_error $? "bad value ${enableval} for --enable-stereo" "$LINENO" 5 ;;
29173        esac
29174
29175 else
29176   gst_use_stereo=yes
29177 fi
29178
29179   if test x$gst_use_stereo = xno; then
29180     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin stereo" >&5
29181 $as_echo "$as_me: disabling dependency-less plugin stereo" >&6;}
29182     WITHOUT_PLUGINS="$WITHOUT_PLUGINS stereo"
29183   fi
29184
29185
29186   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " stereo " > /dev/null; then
29187     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED stereo"
29188   fi
29189   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " stereo " > /dev/null; then
29190     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ stereo / /'`
29191   fi
29192    if echo " $GST_PLUGINS_SELECTED " | grep -i " stereo " > /dev/null; then
29193   USE_PLUGIN_STEREO_TRUE=
29194   USE_PLUGIN_STEREO_FALSE='#'
29195 else
29196   USE_PLUGIN_STEREO_TRUE='#'
29197   USE_PLUGIN_STEREO_FALSE=
29198 fi
29199
29200
29201
29202   GST_PLUGINS_ALL="$GST_PLUGINS_ALL tta"
29203
29204
29205
29206   # Check whether --enable-tta was given.
29207 if test "${enable_tta+set}" = set; then :
29208   enableval=$enable_tta;
29209       case "${enableval}" in
29210         yes) gst_use_tta=yes ;;
29211         no) gst_use_tta=no ;;
29212         *) as_fn_error $? "bad value ${enableval} for --enable-tta" "$LINENO" 5 ;;
29213        esac
29214
29215 else
29216   gst_use_tta=yes
29217 fi
29218
29219   if test x$gst_use_tta = xno; then
29220     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin tta" >&5
29221 $as_echo "$as_me: disabling dependency-less plugin tta" >&6;}
29222     WITHOUT_PLUGINS="$WITHOUT_PLUGINS tta"
29223   fi
29224
29225
29226   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " tta " > /dev/null; then
29227     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED tta"
29228   fi
29229   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " tta " > /dev/null; then
29230     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ tta / /'`
29231   fi
29232    if echo " $GST_PLUGINS_SELECTED " | grep -i " tta " > /dev/null; then
29233   USE_PLUGIN_TTA_TRUE=
29234   USE_PLUGIN_TTA_FALSE='#'
29235 else
29236   USE_PLUGIN_TTA_TRUE='#'
29237   USE_PLUGIN_TTA_FALSE=
29238 fi
29239
29240
29241
29242   GST_PLUGINS_ALL="$GST_PLUGINS_ALL videofilters"
29243
29244
29245
29246   # Check whether --enable-videofilters was given.
29247 if test "${enable_videofilters+set}" = set; then :
29248   enableval=$enable_videofilters;
29249       case "${enableval}" in
29250         yes) gst_use_videofilters=yes ;;
29251         no) gst_use_videofilters=no ;;
29252         *) as_fn_error $? "bad value ${enableval} for --enable-videofilters" "$LINENO" 5 ;;
29253        esac
29254
29255 else
29256   gst_use_videofilters=yes
29257 fi
29258
29259   if test x$gst_use_videofilters = xno; then
29260     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin videofilters" >&5
29261 $as_echo "$as_me: disabling dependency-less plugin videofilters" >&6;}
29262     WITHOUT_PLUGINS="$WITHOUT_PLUGINS videofilters"
29263   fi
29264
29265
29266   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " videofilters " > /dev/null; then
29267     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED videofilters"
29268   fi
29269   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " videofilters " > /dev/null; then
29270     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ videofilters / /'`
29271   fi
29272    if echo " $GST_PLUGINS_SELECTED " | grep -i " videofilters " > /dev/null; then
29273   USE_PLUGIN_VIDEOFILTERS_TRUE=
29274   USE_PLUGIN_VIDEOFILTERS_FALSE='#'
29275 else
29276   USE_PLUGIN_VIDEOFILTERS_TRUE='#'
29277   USE_PLUGIN_VIDEOFILTERS_FALSE=
29278 fi
29279
29280
29281
29282   GST_PLUGINS_ALL="$GST_PLUGINS_ALL videomaxrate"
29283
29284
29285
29286   # Check whether --enable-videomaxrate was given.
29287 if test "${enable_videomaxrate+set}" = set; then :
29288   enableval=$enable_videomaxrate;
29289       case "${enableval}" in
29290         yes) gst_use_videomaxrate=yes ;;
29291         no) gst_use_videomaxrate=no ;;
29292         *) as_fn_error $? "bad value ${enableval} for --enable-videomaxrate" "$LINENO" 5 ;;
29293        esac
29294
29295 else
29296   gst_use_videomaxrate=yes
29297 fi
29298
29299   if test x$gst_use_videomaxrate = xno; then
29300     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin videomaxrate" >&5
29301 $as_echo "$as_me: disabling dependency-less plugin videomaxrate" >&6;}
29302     WITHOUT_PLUGINS="$WITHOUT_PLUGINS videomaxrate"
29303   fi
29304
29305
29306   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " videomaxrate " > /dev/null; then
29307     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED videomaxrate"
29308   fi
29309   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " videomaxrate " > /dev/null; then
29310     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ videomaxrate / /'`
29311   fi
29312    if echo " $GST_PLUGINS_SELECTED " | grep -i " videomaxrate " > /dev/null; then
29313   USE_PLUGIN_VIDEOMAXRATE_TRUE=
29314   USE_PLUGIN_VIDEOMAXRATE_FALSE='#'
29315 else
29316   USE_PLUGIN_VIDEOMAXRATE_TRUE='#'
29317   USE_PLUGIN_VIDEOMAXRATE_FALSE=
29318 fi
29319
29320
29321
29322   GST_PLUGINS_ALL="$GST_PLUGINS_ALL videomeasure"
29323
29324
29325
29326   # Check whether --enable-videomeasure was given.
29327 if test "${enable_videomeasure+set}" = set; then :
29328   enableval=$enable_videomeasure;
29329       case "${enableval}" in
29330         yes) gst_use_videomeasure=yes ;;
29331         no) gst_use_videomeasure=no ;;
29332         *) as_fn_error $? "bad value ${enableval} for --enable-videomeasure" "$LINENO" 5 ;;
29333        esac
29334
29335 else
29336   gst_use_videomeasure=yes
29337 fi
29338
29339   if test x$gst_use_videomeasure = xno; then
29340     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin videomeasure" >&5
29341 $as_echo "$as_me: disabling dependency-less plugin videomeasure" >&6;}
29342     WITHOUT_PLUGINS="$WITHOUT_PLUGINS videomeasure"
29343   fi
29344
29345
29346   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " videomeasure " > /dev/null; then
29347     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED videomeasure"
29348   fi
29349   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " videomeasure " > /dev/null; then
29350     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ videomeasure / /'`
29351   fi
29352    if echo " $GST_PLUGINS_SELECTED " | grep -i " videomeasure " > /dev/null; then
29353   USE_PLUGIN_VIDEOMEASURE_TRUE=
29354   USE_PLUGIN_VIDEOMEASURE_FALSE='#'
29355 else
29356   USE_PLUGIN_VIDEOMEASURE_TRUE='#'
29357   USE_PLUGIN_VIDEOMEASURE_FALSE=
29358 fi
29359
29360
29361
29362   GST_PLUGINS_ALL="$GST_PLUGINS_ALL videoparsers"
29363
29364
29365
29366   # Check whether --enable-videoparsers was given.
29367 if test "${enable_videoparsers+set}" = set; then :
29368   enableval=$enable_videoparsers;
29369       case "${enableval}" in
29370         yes) gst_use_videoparsers=yes ;;
29371         no) gst_use_videoparsers=no ;;
29372         *) as_fn_error $? "bad value ${enableval} for --enable-videoparsers" "$LINENO" 5 ;;
29373        esac
29374
29375 else
29376   gst_use_videoparsers=yes
29377 fi
29378
29379   if test x$gst_use_videoparsers = xno; then
29380     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin videoparsers" >&5
29381 $as_echo "$as_me: disabling dependency-less plugin videoparsers" >&6;}
29382     WITHOUT_PLUGINS="$WITHOUT_PLUGINS videoparsers"
29383   fi
29384
29385
29386   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " videoparsers " > /dev/null; then
29387     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED videoparsers"
29388   fi
29389   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " videoparsers " > /dev/null; then
29390     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ videoparsers / /'`
29391   fi
29392    if echo " $GST_PLUGINS_SELECTED " | grep -i " videoparsers " > /dev/null; then
29393   USE_PLUGIN_VIDEOPARSERS_TRUE=
29394   USE_PLUGIN_VIDEOPARSERS_FALSE='#'
29395 else
29396   USE_PLUGIN_VIDEOPARSERS_TRUE='#'
29397   USE_PLUGIN_VIDEOPARSERS_FALSE=
29398 fi
29399
29400
29401
29402   GST_PLUGINS_ALL="$GST_PLUGINS_ALL videosignal"
29403
29404
29405
29406   # Check whether --enable-videosignal was given.
29407 if test "${enable_videosignal+set}" = set; then :
29408   enableval=$enable_videosignal;
29409       case "${enableval}" in
29410         yes) gst_use_videosignal=yes ;;
29411         no) gst_use_videosignal=no ;;
29412         *) as_fn_error $? "bad value ${enableval} for --enable-videosignal" "$LINENO" 5 ;;
29413        esac
29414
29415 else
29416   gst_use_videosignal=yes
29417 fi
29418
29419   if test x$gst_use_videosignal = xno; then
29420     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin videosignal" >&5
29421 $as_echo "$as_me: disabling dependency-less plugin videosignal" >&6;}
29422     WITHOUT_PLUGINS="$WITHOUT_PLUGINS videosignal"
29423   fi
29424
29425
29426   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " videosignal " > /dev/null; then
29427     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED videosignal"
29428   fi
29429   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " videosignal " > /dev/null; then
29430     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ videosignal / /'`
29431   fi
29432    if echo " $GST_PLUGINS_SELECTED " | grep -i " videosignal " > /dev/null; then
29433   USE_PLUGIN_VIDEOSIGNAL_TRUE=
29434   USE_PLUGIN_VIDEOSIGNAL_FALSE='#'
29435 else
29436   USE_PLUGIN_VIDEOSIGNAL_TRUE='#'
29437   USE_PLUGIN_VIDEOSIGNAL_FALSE=
29438 fi
29439
29440
29441
29442   GST_PLUGINS_ALL="$GST_PLUGINS_ALL vmnc"
29443
29444
29445
29446   # Check whether --enable-vmnc was given.
29447 if test "${enable_vmnc+set}" = set; then :
29448   enableval=$enable_vmnc;
29449       case "${enableval}" in
29450         yes) gst_use_vmnc=yes ;;
29451         no) gst_use_vmnc=no ;;
29452         *) as_fn_error $? "bad value ${enableval} for --enable-vmnc" "$LINENO" 5 ;;
29453        esac
29454
29455 else
29456   gst_use_vmnc=yes
29457 fi
29458
29459   if test x$gst_use_vmnc = xno; then
29460     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin vmnc" >&5
29461 $as_echo "$as_me: disabling dependency-less plugin vmnc" >&6;}
29462     WITHOUT_PLUGINS="$WITHOUT_PLUGINS vmnc"
29463   fi
29464
29465
29466   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " vmnc " > /dev/null; then
29467     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED vmnc"
29468   fi
29469   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " vmnc " > /dev/null; then
29470     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ vmnc / /'`
29471   fi
29472    if echo " $GST_PLUGINS_SELECTED " | grep -i " vmnc " > /dev/null; then
29473   USE_PLUGIN_VMNC_TRUE=
29474   USE_PLUGIN_VMNC_FALSE='#'
29475 else
29476   USE_PLUGIN_VMNC_TRUE='#'
29477   USE_PLUGIN_VMNC_FALSE=
29478 fi
29479
29480
29481
29482   GST_PLUGINS_ALL="$GST_PLUGINS_ALL y4m"
29483
29484
29485
29486   # Check whether --enable-y4m was given.
29487 if test "${enable_y4m+set}" = set; then :
29488   enableval=$enable_y4m;
29489       case "${enableval}" in
29490         yes) gst_use_y4m=yes ;;
29491         no) gst_use_y4m=no ;;
29492         *) as_fn_error $? "bad value ${enableval} for --enable-y4m" "$LINENO" 5 ;;
29493        esac
29494
29495 else
29496   gst_use_y4m=yes
29497 fi
29498
29499   if test x$gst_use_y4m = xno; then
29500     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin y4m" >&5
29501 $as_echo "$as_me: disabling dependency-less plugin y4m" >&6;}
29502     WITHOUT_PLUGINS="$WITHOUT_PLUGINS y4m"
29503   fi
29504
29505
29506   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " y4m " > /dev/null; then
29507     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED y4m"
29508   fi
29509   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " y4m " > /dev/null; then
29510     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ y4m / /'`
29511   fi
29512    if echo " $GST_PLUGINS_SELECTED " | grep -i " y4m " > /dev/null; then
29513   USE_PLUGIN_Y4M_TRUE=
29514   USE_PLUGIN_Y4M_FALSE='#'
29515 else
29516   USE_PLUGIN_Y4M_TRUE='#'
29517   USE_PLUGIN_Y4M_FALSE=
29518 fi
29519
29520
29521
29522
29523 if test "x$HAVE_CPU_I386" != "xyes" && test "x$HAVE_CPU_X86_64" != "xyes"; then
29524   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Not building real plugin, only works on 32bit and 64bit x86 platforms" >&5
29525 $as_echo "$as_me: WARNING: Not building real plugin, only works on 32bit and 64bit x86 platforms" >&2;}
29526
29527   GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ real / /'`
29528    if false; then
29529   USE_PLUGIN_REAL_TRUE=
29530   USE_PLUGIN_REAL_FALSE='#'
29531 else
29532   USE_PLUGIN_REAL_TRUE='#'
29533   USE_PLUGIN_REAL_FALSE=
29534 fi
29535
29536
29537 fi
29538
29539 # This will always succeed because we depend on GLib >= 2.16
29540
29541 pkg_failed=no
29542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO" >&5
29543 $as_echo_n "checking for GIO... " >&6; }
29544
29545 if test -n "$PKG_CONFIG"; then
29546     if test -n "$GIO_CFLAGS"; then
29547         pkg_cv_GIO_CFLAGS="$GIO_CFLAGS"
29548     else
29549         if test -n "$PKG_CONFIG" && \
29550     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.16\""; } >&5
29551   ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.16") 2>&5
29552   ac_status=$?
29553   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29554   test $ac_status = 0; }; then
29555   pkg_cv_GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= 2.16" 2>/dev/null`
29556 else
29557   pkg_failed=yes
29558 fi
29559     fi
29560 else
29561         pkg_failed=untried
29562 fi
29563 if test -n "$PKG_CONFIG"; then
29564     if test -n "$GIO_LIBS"; then
29565         pkg_cv_GIO_LIBS="$GIO_LIBS"
29566     else
29567         if test -n "$PKG_CONFIG" && \
29568     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.16\""; } >&5
29569   ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.16") 2>&5
29570   ac_status=$?
29571   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29572   test $ac_status = 0; }; then
29573   pkg_cv_GIO_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= 2.16" 2>/dev/null`
29574 else
29575   pkg_failed=yes
29576 fi
29577     fi
29578 else
29579         pkg_failed=untried
29580 fi
29581
29582
29583
29584 if test $pkg_failed = yes; then
29585
29586 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29587         _pkg_short_errors_supported=yes
29588 else
29589         _pkg_short_errors_supported=no
29590 fi
29591         if test $_pkg_short_errors_supported = yes; then
29592                 GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gio-2.0 >= 2.16"`
29593         else
29594                 GIO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gio-2.0 >= 2.16"`
29595         fi
29596         # Put the nasty error message in config.log where it belongs
29597         echo "$GIO_PKG_ERRORS" >&5
29598
29599         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29600 $as_echo "no" >&6; }
29601                 HAVE_GIO=no
29602 elif test $pkg_failed = untried; then
29603         HAVE_GIO=no
29604 else
29605         GIO_CFLAGS=$pkg_cv_GIO_CFLAGS
29606         GIO_LIBS=$pkg_cv_GIO_LIBS
29607         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29608 $as_echo "yes" >&6; }
29609         HAVE_GIO=yes
29610 fi
29611
29612
29613
29614 for ac_header in sys/socket.h
29615 do :
29616   ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default"
29617 if test "x$ac_cv_header_sys_socket_h" = xyes; then :
29618   cat >>confdefs.h <<_ACEOF
29619 #define HAVE_SYS_SOCKET_H 1
29620 _ACEOF
29621  HAVE_SYS_SOCKET_H=yes
29622 fi
29623
29624 done
29625
29626 for ac_header in winsock2.h
29627 do :
29628   ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default"
29629 if test "x$ac_cv_header_winsock2_h" = xyes; then :
29630   cat >>confdefs.h <<_ACEOF
29631 #define HAVE_WINSOCK2_H 1
29632 _ACEOF
29633  HAVE_WINSOCK2_H=yes
29634 fi
29635
29636 done
29637
29638
29639 if test "x$HAVE_WINSOCK2_H" = "xyes"; then
29640   WIN32_LIBS="-lws2_32"
29641
29642 fi
29643
29644  if test "x$HAVE_WINSOCK2_H" = "xyes"; then
29645   HAVE_WINSOCK2_H_TRUE=
29646   HAVE_WINSOCK2_H_FALSE='#'
29647 else
29648   HAVE_WINSOCK2_H_TRUE='#'
29649   HAVE_WINSOCK2_H_FALSE=
29650 fi
29651
29652
29653 if test "x$HAVE_WINSOCK2_H" = "xyes"; then
29654   DCCP_LIBS="$DCCP_LIBS -lws2_32"
29655   XDG_LIBS="$XDG_LIBS -lws2_32"
29656
29657
29658 fi
29659
29660 if test "x$HAVE_PTHREAD_H" = "xyes"; then
29661   DCCP_LIBS="$DCCP_LIBS -lpthread"
29662
29663 fi
29664
29665 if test "x$HAVE_PTHREAD_H" != "xyes"; then
29666
29667   GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ dccp / /'`
29668    if false; then
29669   USE_PLUGIN_DCCP_TRUE=
29670   USE_PLUGIN_DCCP_FALSE='#'
29671 else
29672   USE_PLUGIN_DCCP_TRUE='#'
29673   USE_PLUGIN_DCCP_FALSE=
29674 fi
29675
29676
29677 fi
29678
29679
29680 echo
29681 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: DirectSound ***" >&5
29682 $as_echo "$as_me: *** checking feature: DirectSound ***" >&6;}
29683 if test "xdirectsoundsrc" != "x"
29684 then
29685   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: directsoundsrc ***" >&5
29686 $as_echo "$as_me: *** for plug-ins: directsoundsrc ***" >&6;}
29687 fi
29688 NOUSE=
29689 if test "x$USE_DIRECTSOUND" = "xno"; then
29690   NOUSE="yes"
29691 fi
29692 # Check whether --enable-directsound was given.
29693 if test "${enable_directsound+set}" = set; then :
29694   enableval=$enable_directsound;  case "${enableval}" in
29695       yes) USE_DIRECTSOUND=yes;;
29696       no) USE_DIRECTSOUND=no;;
29697       *) as_fn_error $? "bad value ${enableval} for --enable-directsound" "$LINENO" 5 ;;
29698     esac
29699 else
29700    USE_DIRECTSOUND=yes
29701 fi
29702
29703 if test "x$NOUSE" = "xyes"; then
29704   USE_DIRECTSOUND="no"
29705   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** directsoundsrc pre-configured not to be built" >&5
29706 $as_echo "$as_me: WARNING: *** directsoundsrc pre-configured not to be built" >&2;}
29707 fi
29708 NOUSE=
29709
29710
29711 if test x$USE_DIRECTSOUND = xyes; then
29712
29713   gst_check_save_LIBS=$LIBS
29714   gst_check_save_LDFLAGS=$LDFLAGS
29715   gst_check_save_CFLAGS=$CFLAGS
29716   gst_check_save_CPPFLAGS=$CPPFLAGS
29717   gst_check_save_CXXFLAGS=$CXXFLAGS
29718
29719   HAVE_DIRECTSOUND=no
29720
29721   HAVE_DIRECTSOUND="no"
29722   save_CFLAGS="$CFLAGS"
29723   save_LDFLAGS="$LDFLAGS"
29724   save_LIBS="$LIBS"
29725   CFLAGS="$CFLAGS $DIRECTX_CFLAGS"
29726   LDFLAGS="$LDFLAGS $DIRECTX_LDFLAGS"
29727   LIBS="$LIBS -ldsound -ldxerr9 -luser32"
29728   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DirectSound LDFLAGS" >&5
29729 $as_echo_n "checking for DirectSound LDFLAGS... " >&6; }
29730   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29731 /* end confdefs.h.  */
29732
29733 #include <windows.h>
29734 #include <dxerr9.h>
29735 #include <dsound.h>
29736
29737 int main ()
29738 {
29739   DXGetErrorString9 (0);
29740   DirectSoundCreate(NULL, NULL, NULL);
29741
29742   return 0;
29743 }
29744
29745 _ACEOF
29746 if ac_fn_c_try_link "$LINENO"; then :
29747   HAVE_DIRECTSOUND="yes"
29748 else
29749   HAVE_DIRECTSOUND="no"
29750 fi
29751 rm -f core conftest.err conftest.$ac_objext \
29752     conftest$ac_exeext conftest.$ac_ext
29753   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_DIRECTSOUND" >&5
29754 $as_echo "$HAVE_DIRECTSOUND" >&6; }
29755   CFLAGS=$save_CFLAGS
29756   LDFLAGS=$save_LDFLAGS
29757   LIBS=$save_LIBS
29758
29759   if test "x$HAVE_DIRECTSOUND" = "xyes";  then
29760         DIRECTSOUND_LIBS="-ldsound -ldxerr9 -luser32"
29761
29762
29763
29764   fi
29765
29766
29767
29768   LIBS=$gst_check_save_LIBS
29769   LDFLAGS=$gst_check_save_LDFLAGS
29770   CFLAGS=$gst_check_save_CFLAGS
29771   CPPFLAGS=$gst_check_save_CPPFLAGS
29772   CXXFLAGS=$gst_check_save_CXXFLAGS
29773
29774     if test x$HAVE_DIRECTSOUND = xno; then
29775     USE_DIRECTSOUND=no
29776   else
29777     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: directsoundsrc" >&5
29778 $as_echo "$as_me: *** These plugins will be built: directsoundsrc" >&6;}
29779   fi
29780 fi
29781 if test x$USE_DIRECTSOUND = xyes; then
29782   :
29783   if test "xdirectsoundsrc" != "x"; then
29784     GST_PLUGINS_YES="\tdirectsoundsrc\n$GST_PLUGINS_YES"
29785   fi
29786
29787 $as_echo "#define HAVE_DIRECTSOUND /**/" >>confdefs.h
29788
29789 else
29790   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: directsoundsrc" >&5
29791 $as_echo "$as_me: *** These plugins will not be built: directsoundsrc" >&6;}
29792   if test "xdirectsoundsrc" != "x"; then
29793     GST_PLUGINS_NO="\tdirectsoundsrc\n$GST_PLUGINS_NO"
29794   fi
29795   :
29796 fi
29797  if test x$USE_DIRECTSOUND = xyes; then
29798   USE_DIRECTSOUND_TRUE=
29799   USE_DIRECTSOUND_FALSE='#'
29800 else
29801   USE_DIRECTSOUND_TRUE='#'
29802   USE_DIRECTSOUND_FALSE=
29803 fi
29804
29805
29806
29807 echo
29808 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Direct3D plug-in ***" >&5
29809 $as_echo "$as_me: *** checking feature: Direct3D plug-in ***" >&6;}
29810 if test "xdirect3dsink" != "x"
29811 then
29812   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: direct3dsink ***" >&5
29813 $as_echo "$as_me: *** for plug-ins: direct3dsink ***" >&6;}
29814 fi
29815 NOUSE=
29816 if test "x$USE_DIRECT3D" = "xno"; then
29817   NOUSE="yes"
29818 fi
29819 # Check whether --enable-direct3d was given.
29820 if test "${enable_direct3d+set}" = set; then :
29821   enableval=$enable_direct3d;  case "${enableval}" in
29822       yes) USE_DIRECT3D=yes;;
29823       no) USE_DIRECT3D=no;;
29824       *) as_fn_error $? "bad value ${enableval} for --enable-direct3d" "$LINENO" 5 ;;
29825     esac
29826 else
29827    USE_DIRECT3D=yes
29828 fi
29829
29830 if test "x$NOUSE" = "xyes"; then
29831   USE_DIRECT3D="no"
29832   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** direct3dsink pre-configured not to be built" >&5
29833 $as_echo "$as_me: WARNING: *** direct3dsink pre-configured not to be built" >&2;}
29834 fi
29835 NOUSE=
29836
29837
29838 if test x$USE_DIRECT3D = xyes; then
29839
29840   gst_check_save_LIBS=$LIBS
29841   gst_check_save_LDFLAGS=$LDFLAGS
29842   gst_check_save_CFLAGS=$CFLAGS
29843   gst_check_save_CPPFLAGS=$CPPFLAGS
29844   gst_check_save_CXXFLAGS=$CXXFLAGS
29845
29846   HAVE_DIRECT3D=no
29847
29848   HAVE_DIRECT3D="no"
29849   save_CFLAGS="$CFLAGS"
29850   save_LDFLAGS="$LDFLAGS"
29851   save_LIBS="$LIBS"
29852   CFLAGS="$CFLAGS $DIRECTX_CFLAGS"
29853   LDFLAGS="$LDFLAGS $DIRECTX_LDFLAGS"
29854   LIBS="$LIBS -ld3d9 -lgdi32"
29855   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Direct3D LDFLAGS" >&5
29856 $as_echo_n "checking for Direct3D LDFLAGS... " >&6; }
29857   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29858 /* end confdefs.h.  */
29859
29860 #include <windows.h>
29861 #include <d3d9.h>
29862
29863 int main ()
29864 {
29865   Direct3DCreate9(D3D_SDK_VERSION);
29866
29867   return 0;
29868 }
29869
29870 _ACEOF
29871 if ac_fn_c_try_link "$LINENO"; then :
29872   HAVE_DIRECT3D="yes"
29873 else
29874   HAVE_DIRECT3D="no"
29875 fi
29876 rm -f core conftest.err conftest.$ac_objext \
29877     conftest$ac_exeext conftest.$ac_ext
29878   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_DIRECT3D" >&5
29879 $as_echo "$HAVE_DIRECT3D" >&6; }
29880   CFLAGS=$save_CFLAGS
29881   LDFLAGS=$save_LDFLAGS
29882   LIBS=$save_LIBS
29883
29884   if test "x$HAVE_DIRECT3D" = "xyes";  then
29885     DIRECT3D_LIBS="-lgdi32"
29886
29887   fi
29888
29889
29890
29891   LIBS=$gst_check_save_LIBS
29892   LDFLAGS=$gst_check_save_LDFLAGS
29893   CFLAGS=$gst_check_save_CFLAGS
29894   CPPFLAGS=$gst_check_save_CPPFLAGS
29895   CXXFLAGS=$gst_check_save_CXXFLAGS
29896
29897     if test x$HAVE_DIRECT3D = xno; then
29898     USE_DIRECT3D=no
29899   else
29900     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: direct3dsink" >&5
29901 $as_echo "$as_me: *** These plugins will be built: direct3dsink" >&6;}
29902   fi
29903 fi
29904 if test x$USE_DIRECT3D = xyes; then
29905   :
29906   if test "xdirect3dsink" != "x"; then
29907     GST_PLUGINS_YES="\tdirect3dsink\n$GST_PLUGINS_YES"
29908   fi
29909
29910 $as_echo "#define HAVE_DIRECT3D /**/" >>confdefs.h
29911
29912 else
29913   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: direct3dsink" >&5
29914 $as_echo "$as_me: *** These plugins will not be built: direct3dsink" >&6;}
29915   if test "xdirect3dsink" != "x"; then
29916     GST_PLUGINS_NO="\tdirect3dsink\n$GST_PLUGINS_NO"
29917   fi
29918   :
29919 fi
29920  if test x$USE_DIRECT3D = xyes; then
29921   USE_DIRECT3D_TRUE=
29922   USE_DIRECT3D_FALSE='#'
29923 else
29924   USE_DIRECT3D_TRUE='#'
29925   USE_DIRECT3D_FALSE=
29926 fi
29927
29928
29929
29930 echo
29931 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: DirectDraw plug-in ***" >&5
29932 $as_echo "$as_me: *** checking feature: DirectDraw plug-in ***" >&6;}
29933 if test "xdirectdrawsink" != "x"
29934 then
29935   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: directdrawsink ***" >&5
29936 $as_echo "$as_me: *** for plug-ins: directdrawsink ***" >&6;}
29937 fi
29938 NOUSE=
29939 if test "x$USE_DIRECTDRAW" = "xno"; then
29940   NOUSE="yes"
29941 fi
29942 # Check whether --enable-directdraw was given.
29943 if test "${enable_directdraw+set}" = set; then :
29944   enableval=$enable_directdraw;  case "${enableval}" in
29945       yes) USE_DIRECTDRAW=yes;;
29946       no) USE_DIRECTDRAW=no;;
29947       *) as_fn_error $? "bad value ${enableval} for --enable-directdraw" "$LINENO" 5 ;;
29948     esac
29949 else
29950    USE_DIRECTDRAW=yes
29951 fi
29952
29953 if test "x$NOUSE" = "xyes"; then
29954   USE_DIRECTDRAW="no"
29955   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** directdrawsink pre-configured not to be built" >&5
29956 $as_echo "$as_me: WARNING: *** directdrawsink pre-configured not to be built" >&2;}
29957 fi
29958 NOUSE=
29959
29960
29961 if test x$USE_DIRECTDRAW = xyes; then
29962
29963   gst_check_save_LIBS=$LIBS
29964   gst_check_save_LDFLAGS=$LDFLAGS
29965   gst_check_save_CFLAGS=$CFLAGS
29966   gst_check_save_CPPFLAGS=$CPPFLAGS
29967   gst_check_save_CXXFLAGS=$CXXFLAGS
29968
29969   HAVE_DIRECTDRAW=no
29970
29971   HAVE_DIRECTDRAW="no"
29972   save_CFLAGS="$CFLAGS"
29973   save_LDFLAGS="$LDFLAGS"
29974   save_LIBS="$LIBS"
29975   CFLAGS="$CFLAGS $DIRECTX_CFLAGS"
29976   LDFLAGS="$LDFLAGS $DIRECTX_LDFLAGS"
29977   LIBS="$LIBS -lddraw -lgdi32"
29978   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DirectDraw LDFLAGS" >&5
29979 $as_echo_n "checking for DirectDraw LDFLAGS... " >&6; }
29980   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29981 /* end confdefs.h.  */
29982
29983 #include <windows.h>
29984 #include <ddraw.h>
29985
29986 int main ()
29987 {
29988   GetStockObject(0);
29989   DirectDrawCreate(NULL, NULL, NULL);
29990
29991   return 0;
29992 }
29993
29994 _ACEOF
29995 if ac_fn_c_try_link "$LINENO"; then :
29996   HAVE_DIRECTDRAW="yes"
29997 else
29998   HAVE_DIRECTDRAW="no"
29999 fi
30000 rm -f core conftest.err conftest.$ac_objext \
30001     conftest$ac_exeext conftest.$ac_ext
30002   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_DIRECTDRAW" >&5
30003 $as_echo "$HAVE_DIRECTDRAW" >&6; }
30004   CFLAGS=$save_CFLAGS
30005   LDFLAGS=$save_LDFLAGS
30006   LIBS=$save_LIBS
30007
30008   if test "x$HAVE_DIRECTDRAW" = "xyes";  then
30009         DIRECTDRAW_LIBS="-lddraw -ldxguid -lgdi32"
30010
30011
30012
30013   fi
30014
30015
30016
30017   LIBS=$gst_check_save_LIBS
30018   LDFLAGS=$gst_check_save_LDFLAGS
30019   CFLAGS=$gst_check_save_CFLAGS
30020   CPPFLAGS=$gst_check_save_CPPFLAGS
30021   CXXFLAGS=$gst_check_save_CXXFLAGS
30022
30023     if test x$HAVE_DIRECTDRAW = xno; then
30024     USE_DIRECTDRAW=no
30025   else
30026     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: directdrawsink" >&5
30027 $as_echo "$as_me: *** These plugins will be built: directdrawsink" >&6;}
30028   fi
30029 fi
30030 if test x$USE_DIRECTDRAW = xyes; then
30031   :
30032   if test "xdirectdrawsink" != "x"; then
30033     GST_PLUGINS_YES="\tdirectdrawsink\n$GST_PLUGINS_YES"
30034   fi
30035
30036 $as_echo "#define HAVE_DIRECTDRAW /**/" >>confdefs.h
30037
30038 else
30039   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: directdrawsink" >&5
30040 $as_echo "$as_me: *** These plugins will not be built: directdrawsink" >&6;}
30041   if test "xdirectdrawsink" != "x"; then
30042     GST_PLUGINS_NO="\tdirectdrawsink\n$GST_PLUGINS_NO"
30043   fi
30044   :
30045 fi
30046  if test x$USE_DIRECTDRAW = xyes; then
30047   USE_DIRECTDRAW_TRUE=
30048   USE_DIRECTDRAW_FALSE='#'
30049 else
30050   USE_DIRECTDRAW_TRUE='#'
30051   USE_DIRECTDRAW_FALSE=
30052 fi
30053
30054
30055
30056 HAVE_APPLE_MEDIA="no"
30057 echo
30058 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Apple video ***" >&5
30059 $as_echo "$as_me: *** checking feature: Apple video ***" >&6;}
30060 if test "xapplemedia" != "x"
30061 then
30062   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: applemedia ***" >&5
30063 $as_echo "$as_me: *** for plug-ins: applemedia ***" >&6;}
30064 fi
30065 NOUSE=
30066 if test "x$USE_APPLE_MEDIA" = "xno"; then
30067   NOUSE="yes"
30068 fi
30069 # Check whether --enable-apple_media was given.
30070 if test "${enable_apple_media+set}" = set; then :
30071   enableval=$enable_apple_media;  case "${enableval}" in
30072       yes) USE_APPLE_MEDIA=yes;;
30073       no) USE_APPLE_MEDIA=no;;
30074       *) as_fn_error $? "bad value ${enableval} for --enable-apple_media" "$LINENO" 5 ;;
30075     esac
30076 else
30077    USE_APPLE_MEDIA=yes
30078 fi
30079
30080 if test "x$NOUSE" = "xyes"; then
30081   USE_APPLE_MEDIA="no"
30082   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** applemedia pre-configured not to be built" >&5
30083 $as_echo "$as_me: WARNING: *** applemedia pre-configured not to be built" >&2;}
30084 fi
30085 NOUSE=
30086
30087
30088 if test x$USE_APPLE_MEDIA = xyes; then
30089
30090   gst_check_save_LIBS=$LIBS
30091   gst_check_save_LDFLAGS=$LDFLAGS
30092   gst_check_save_CFLAGS=$CFLAGS
30093   gst_check_save_CPPFLAGS=$CPPFLAGS
30094   gst_check_save_CXXFLAGS=$CXXFLAGS
30095
30096   HAVE_APPLE_MEDIA=no
30097
30098   ac_fn_c_check_header_mongrel "$LINENO" "SystemConfiguration/SystemConfiguration.h" "ac_cv_header_SystemConfiguration_SystemConfiguration_h" "$ac_includes_default"
30099 if test "x$ac_cv_header_SystemConfiguration_SystemConfiguration_h" = xyes; then :
30100   HAVE_APPLE_MEDIA="yes"
30101 else
30102   HAVE_APPLE_MEDIA="no"
30103 fi
30104
30105
30106
30107
30108   LIBS=$gst_check_save_LIBS
30109   LDFLAGS=$gst_check_save_LDFLAGS
30110   CFLAGS=$gst_check_save_CFLAGS
30111   CPPFLAGS=$gst_check_save_CPPFLAGS
30112   CXXFLAGS=$gst_check_save_CXXFLAGS
30113
30114     if test x$HAVE_APPLE_MEDIA = xno; then
30115     USE_APPLE_MEDIA=no
30116   else
30117     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: applemedia" >&5
30118 $as_echo "$as_me: *** These plugins will be built: applemedia" >&6;}
30119   fi
30120 fi
30121 if test x$USE_APPLE_MEDIA = xyes; then
30122   :
30123   if test "xapplemedia" != "x"; then
30124     GST_PLUGINS_YES="\tapplemedia\n$GST_PLUGINS_YES"
30125   fi
30126
30127 $as_echo "#define HAVE_APPLE_MEDIA /**/" >>confdefs.h
30128
30129 else
30130   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: applemedia" >&5
30131 $as_echo "$as_me: *** These plugins will not be built: applemedia" >&6;}
30132   if test "xapplemedia" != "x"; then
30133     GST_PLUGINS_NO="\tapplemedia\n$GST_PLUGINS_NO"
30134   fi
30135   :
30136 fi
30137  if test x$USE_APPLE_MEDIA = xyes; then
30138   USE_APPLE_MEDIA_TRUE=
30139   USE_APPLE_MEDIA_FALSE='#'
30140 else
30141   USE_APPLE_MEDIA_TRUE='#'
30142   USE_APPLE_MEDIA_FALSE=
30143 fi
30144
30145
30146 case "$host" in
30147   *-*darwin*)
30148     ;;
30149   *)
30150     HAVE_APPLE_MEDIA="no"
30151     ;;
30152 esac
30153 HAVE_IOS="no"
30154 if test "x$HAVE_APPLE_MEDIA" = "xyes"; then
30155   ac_fn_c_check_header_preproc "$LINENO" "MobileCoreServices/MobileCoreServices.h" "ac_cv_header_MobileCoreServices_MobileCoreServices_h"
30156 if test "x$ac_cv_header_MobileCoreServices_MobileCoreServices_h" = xyes; then :
30157   HAVE_IOS="yes"
30158 else
30159   HAVE_IOS="no"
30160 fi
30161
30162
30163 fi
30164
30165  if test "x$HAVE_IOS" = "xyes"; then
30166   HAVE_IOS_TRUE=
30167   HAVE_IOS_FALSE='#'
30168 else
30169   HAVE_IOS_TRUE='#'
30170   HAVE_IOS_FALSE=
30171 fi
30172
30173 if test "x$HAVE_IOS" = "xyes"; then
30174
30175 $as_echo "#define HAVE_IOS 1" >>confdefs.h
30176
30177 fi
30178
30179 HAVE_OSX_VIDEO="no"
30180 echo
30181 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: OSX video ***" >&5
30182 $as_echo "$as_me: *** checking feature: OSX video ***" >&6;}
30183 if test "xosxvideosrc" != "x"
30184 then
30185   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: osxvideosrc ***" >&5
30186 $as_echo "$as_me: *** for plug-ins: osxvideosrc ***" >&6;}
30187 fi
30188 NOUSE=
30189 if test "x$USE_OSX_VIDEO" = "xno"; then
30190   NOUSE="yes"
30191 fi
30192 # Check whether --enable-osx_video was given.
30193 if test "${enable_osx_video+set}" = set; then :
30194   enableval=$enable_osx_video;  case "${enableval}" in
30195       yes) USE_OSX_VIDEO=yes;;
30196       no) USE_OSX_VIDEO=no;;
30197       *) as_fn_error $? "bad value ${enableval} for --enable-osx_video" "$LINENO" 5 ;;
30198     esac
30199 else
30200    USE_OSX_VIDEO=yes
30201 fi
30202
30203 if test "x$NOUSE" = "xyes"; then
30204   USE_OSX_VIDEO="no"
30205   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** osxvideosrc pre-configured not to be built" >&5
30206 $as_echo "$as_me: WARNING: *** osxvideosrc pre-configured not to be built" >&2;}
30207 fi
30208 NOUSE=
30209
30210
30211 if test x$USE_OSX_VIDEO = xyes; then
30212
30213   gst_check_save_LIBS=$LIBS
30214   gst_check_save_LDFLAGS=$LDFLAGS
30215   gst_check_save_CFLAGS=$CFLAGS
30216   gst_check_save_CPPFLAGS=$CPPFLAGS
30217   gst_check_save_CXXFLAGS=$CXXFLAGS
30218
30219   HAVE_OSX_VIDEO=no
30220
30221   ac_fn_c_check_type "$LINENO" "SeqGrabComponent" "ac_cv_type_SeqGrabComponent" "#include <Quicktime/Quicktime.h>
30222 "
30223 if test "x$ac_cv_type_SeqGrabComponent" = xyes; then :
30224   HAVE_OSX_VIDEO="yes"
30225 else
30226   HAVE_OSX_VIDEO="no"
30227 fi
30228
30229
30230
30231   LIBS=$gst_check_save_LIBS
30232   LDFLAGS=$gst_check_save_LDFLAGS
30233   CFLAGS=$gst_check_save_CFLAGS
30234   CPPFLAGS=$gst_check_save_CPPFLAGS
30235   CXXFLAGS=$gst_check_save_CXXFLAGS
30236
30237     if test x$HAVE_OSX_VIDEO = xno; then
30238     USE_OSX_VIDEO=no
30239   else
30240     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: osxvideosrc" >&5
30241 $as_echo "$as_me: *** These plugins will be built: osxvideosrc" >&6;}
30242   fi
30243 fi
30244 if test x$USE_OSX_VIDEO = xyes; then
30245   :
30246   if test "xosxvideosrc" != "x"; then
30247     GST_PLUGINS_YES="\tosxvideosrc\n$GST_PLUGINS_YES"
30248   fi
30249
30250 $as_echo "#define HAVE_OSX_VIDEO /**/" >>confdefs.h
30251
30252 else
30253   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: osxvideosrc" >&5
30254 $as_echo "$as_me: *** These plugins will not be built: osxvideosrc" >&6;}
30255   if test "xosxvideosrc" != "x"; then
30256     GST_PLUGINS_NO="\tosxvideosrc\n$GST_PLUGINS_NO"
30257   fi
30258   :
30259 fi
30260  if test x$USE_OSX_VIDEO = xyes; then
30261   USE_OSX_VIDEO_TRUE=
30262   USE_OSX_VIDEO_FALSE='#'
30263 else
30264   USE_OSX_VIDEO_TRUE='#'
30265   USE_OSX_VIDEO_FALSE=
30266 fi
30267
30268
30269 case "$host" in
30270   *-*darwin*)
30271     ;;
30272   *)
30273     HAVE_OSX_VIDEO="no"
30274     ;;
30275 esac
30276
30277 HAVE_AVC="no"
30278 echo
30279 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: AVC Video Services ***" >&5
30280 $as_echo "$as_me: *** checking feature: AVC Video Services ***" >&6;}
30281 if test "xavcsrc" != "x"
30282 then
30283   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: avcsrc ***" >&5
30284 $as_echo "$as_me: *** for plug-ins: avcsrc ***" >&6;}
30285 fi
30286 NOUSE=
30287 if test "x$USE_AVC" = "xno"; then
30288   NOUSE="yes"
30289 fi
30290 # Check whether --enable-avc was given.
30291 if test "${enable_avc+set}" = set; then :
30292   enableval=$enable_avc;  case "${enableval}" in
30293       yes) USE_AVC=yes;;
30294       no) USE_AVC=no;;
30295       *) as_fn_error $? "bad value ${enableval} for --enable-avc" "$LINENO" 5 ;;
30296     esac
30297 else
30298    USE_AVC=yes
30299 fi
30300
30301 if test "x$NOUSE" = "xyes"; then
30302   USE_AVC="no"
30303   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** avcsrc pre-configured not to be built" >&5
30304 $as_echo "$as_me: WARNING: *** avcsrc pre-configured not to be built" >&2;}
30305 fi
30306 NOUSE=
30307
30308
30309 if test x$USE_AVC = xyes; then
30310
30311   gst_check_save_LIBS=$LIBS
30312   gst_check_save_LDFLAGS=$LDFLAGS
30313   gst_check_save_CFLAGS=$CFLAGS
30314   gst_check_save_CPPFLAGS=$CPPFLAGS
30315   gst_check_save_CXXFLAGS=$CXXFLAGS
30316
30317   HAVE_AVC=no
30318
30319   ac_ext=cpp
30320 ac_cpp='$CXXCPP $CPPFLAGS'
30321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30324
30325   save_CPPFLAGS="$CPPFLAGS"
30326   CPPFLAGS="$CPPFLAGS -framework AVCVideoServices -framework CoreFoundation"
30327   save_LIBS="$LIBS"
30328   LIBS="$LIBS -framework AVCVideoServices -framework CoreFoundation"
30329   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30330 /* end confdefs.h.  */
30331
30332 int
30333 main ()
30334 {
30335
30336   ;
30337   return 0;
30338 }
30339 _ACEOF
30340 if ac_fn_cxx_try_link "$LINENO"; then :
30341   HAVE_AVC=yes
30342 else
30343   HAVE_AVC=no
30344 fi
30345 rm -f core conftest.err conftest.$ac_objext \
30346     conftest$ac_exeext conftest.$ac_ext
30347   LIBS=$save_LIBS
30348   CPPFLAGS=$save_CPPFLAGS
30349   ac_ext=c
30350 ac_cpp='$CPP $CPPFLAGS'
30351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30354
30355
30356
30357   LIBS=$gst_check_save_LIBS
30358   LDFLAGS=$gst_check_save_LDFLAGS
30359   CFLAGS=$gst_check_save_CFLAGS
30360   CPPFLAGS=$gst_check_save_CPPFLAGS
30361   CXXFLAGS=$gst_check_save_CXXFLAGS
30362
30363     if test x$HAVE_AVC = xno; then
30364     USE_AVC=no
30365   else
30366     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: avcsrc" >&5
30367 $as_echo "$as_me: *** These plugins will be built: avcsrc" >&6;}
30368   fi
30369 fi
30370 if test x$USE_AVC = xyes; then
30371   :
30372   if test "xavcsrc" != "x"; then
30373     GST_PLUGINS_YES="\tavcsrc\n$GST_PLUGINS_YES"
30374   fi
30375
30376 $as_echo "#define HAVE_AVC /**/" >>confdefs.h
30377
30378 else
30379   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: avcsrc" >&5
30380 $as_echo "$as_me: *** These plugins will not be built: avcsrc" >&6;}
30381   if test "xavcsrc" != "x"; then
30382     GST_PLUGINS_NO="\tavcsrc\n$GST_PLUGINS_NO"
30383   fi
30384   :
30385 fi
30386  if test x$USE_AVC = xyes; then
30387   USE_AVC_TRUE=
30388   USE_AVC_FALSE='#'
30389 else
30390   USE_AVC_TRUE='#'
30391   USE_AVC_FALSE=
30392 fi
30393
30394
30395 case "$host" in
30396   *-*darwin*)
30397     ;;
30398   *)
30399     HAVE_AVC="no"
30400     ;;
30401 esac
30402
30403 echo
30404 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: QuickTime wrapper ***" >&5
30405 $as_echo "$as_me: *** checking feature: QuickTime wrapper ***" >&6;}
30406 if test "xqtwrapper" != "x"
30407 then
30408   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: qtwrapper ***" >&5
30409 $as_echo "$as_me: *** for plug-ins: qtwrapper ***" >&6;}
30410 fi
30411 NOUSE=
30412 if test "x$USE_QUICKTIME" = "xno"; then
30413   NOUSE="yes"
30414 fi
30415 # Check whether --enable-quicktime was given.
30416 if test "${enable_quicktime+set}" = set; then :
30417   enableval=$enable_quicktime;  case "${enableval}" in
30418       yes) USE_QUICKTIME=yes;;
30419       no) USE_QUICKTIME=no;;
30420       *) as_fn_error $? "bad value ${enableval} for --enable-quicktime" "$LINENO" 5 ;;
30421     esac
30422 else
30423    USE_QUICKTIME=yes
30424 fi
30425
30426 if test "x$NOUSE" = "xyes"; then
30427   USE_QUICKTIME="no"
30428   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** qtwrapper pre-configured not to be built" >&5
30429 $as_echo "$as_me: WARNING: *** qtwrapper pre-configured not to be built" >&2;}
30430 fi
30431 NOUSE=
30432
30433
30434 if test x$USE_QUICKTIME = xyes; then
30435
30436   gst_check_save_LIBS=$LIBS
30437   gst_check_save_LDFLAGS=$LDFLAGS
30438   gst_check_save_CFLAGS=$CFLAGS
30439   gst_check_save_CPPFLAGS=$CPPFLAGS
30440   gst_check_save_CXXFLAGS=$CXXFLAGS
30441
30442   HAVE_QUICKTIME=no
30443
30444   ac_fn_c_check_type "$LINENO" "SampleReferenceRecord" "ac_cv_type_SampleReferenceRecord" "#include <Quicktime/Quicktime.h>
30445 "
30446 if test "x$ac_cv_type_SampleReferenceRecord" = xyes; then :
30447   HAVE_QUICKTIME="yes"
30448 else
30449   HAVE_QUICKTIME="no"
30450 fi
30451
30452
30453
30454   LIBS=$gst_check_save_LIBS
30455   LDFLAGS=$gst_check_save_LDFLAGS
30456   CFLAGS=$gst_check_save_CFLAGS
30457   CPPFLAGS=$gst_check_save_CPPFLAGS
30458   CXXFLAGS=$gst_check_save_CXXFLAGS
30459
30460     if test x$HAVE_QUICKTIME = xno; then
30461     USE_QUICKTIME=no
30462   else
30463     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: qtwrapper" >&5
30464 $as_echo "$as_me: *** These plugins will be built: qtwrapper" >&6;}
30465   fi
30466 fi
30467 if test x$USE_QUICKTIME = xyes; then
30468   :
30469   if test "xqtwrapper" != "x"; then
30470     GST_PLUGINS_YES="\tqtwrapper\n$GST_PLUGINS_YES"
30471   fi
30472
30473 $as_echo "#define HAVE_QUICKTIME /**/" >>confdefs.h
30474
30475 else
30476   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: qtwrapper" >&5
30477 $as_echo "$as_me: *** These plugins will not be built: qtwrapper" >&6;}
30478   if test "xqtwrapper" != "x"; then
30479     GST_PLUGINS_NO="\tqtwrapper\n$GST_PLUGINS_NO"
30480   fi
30481   :
30482 fi
30483  if test x$USE_QUICKTIME = xyes; then
30484   USE_QUICKTIME_TRUE=
30485   USE_QUICKTIME_FALSE='#'
30486 else
30487   USE_QUICKTIME_TRUE='#'
30488   USE_QUICKTIME_FALSE=
30489 fi
30490
30491
30492
30493 echo
30494 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: POSIX shared memory source and sink ***" >&5
30495 $as_echo "$as_me: *** checking feature: POSIX shared memory source and sink ***" >&6;}
30496 if test "xshm" != "x"
30497 then
30498   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: shm ***" >&5
30499 $as_echo "$as_me: *** for plug-ins: shm ***" >&6;}
30500 fi
30501 NOUSE=
30502 if test "x$USE_SHM" = "xno"; then
30503   NOUSE="yes"
30504 fi
30505 # Check whether --enable-shm was given.
30506 if test "${enable_shm+set}" = set; then :
30507   enableval=$enable_shm;  case "${enableval}" in
30508       yes) USE_SHM=yes;;
30509       no) USE_SHM=no;;
30510       *) as_fn_error $? "bad value ${enableval} for --enable-shm" "$LINENO" 5 ;;
30511     esac
30512 else
30513    USE_SHM=yes
30514 fi
30515
30516 if test "x$NOUSE" = "xyes"; then
30517   USE_SHM="no"
30518   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** shm pre-configured not to be built" >&5
30519 $as_echo "$as_me: WARNING: *** shm pre-configured not to be built" >&2;}
30520 fi
30521 NOUSE=
30522
30523
30524 if test x$USE_SHM = xyes; then
30525
30526   gst_check_save_LIBS=$LIBS
30527   gst_check_save_LDFLAGS=$LDFLAGS
30528   gst_check_save_CFLAGS=$CFLAGS
30529   gst_check_save_CPPFLAGS=$CPPFLAGS
30530   gst_check_save_CXXFLAGS=$CXXFLAGS
30531
30532   HAVE_SHM=no
30533
30534   if test "x$HAVE_SYS_SOCKET_H" = "xyes"; then
30535     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shm_open in -lrt" >&5
30536 $as_echo_n "checking for shm_open in -lrt... " >&6; }
30537 if ${ac_cv_lib_rt_shm_open+:} false; then :
30538   $as_echo_n "(cached) " >&6
30539 else
30540   ac_check_lib_save_LIBS=$LIBS
30541 LIBS="-lrt  $LIBS"
30542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30543 /* end confdefs.h.  */
30544
30545 /* Override any GCC internal prototype to avoid an error.
30546    Use char because int might match the return type of a GCC
30547    builtin and then its argument prototype would still apply.  */
30548 #ifdef __cplusplus
30549 extern "C"
30550 #endif
30551 char shm_open ();
30552 int
30553 main ()
30554 {
30555 return shm_open ();
30556   ;
30557   return 0;
30558 }
30559 _ACEOF
30560 if ac_fn_c_try_link "$LINENO"; then :
30561   ac_cv_lib_rt_shm_open=yes
30562 else
30563   ac_cv_lib_rt_shm_open=no
30564 fi
30565 rm -f core conftest.err conftest.$ac_objext \
30566     conftest$ac_exeext conftest.$ac_ext
30567 LIBS=$ac_check_lib_save_LIBS
30568 fi
30569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_shm_open" >&5
30570 $as_echo "$ac_cv_lib_rt_shm_open" >&6; }
30571 if test "x$ac_cv_lib_rt_shm_open" = xyes; then :
30572   ac_fn_c_check_decl "$LINENO" "MSG_NOSIGNAL" "ac_cv_have_decl_MSG_NOSIGNAL" "
30573 #include <sys/socket.h>
30574
30575 "
30576 if test "x$ac_cv_have_decl_MSG_NOSIGNAL" = xyes; then :
30577   HAVE_SHM=yes
30578 else
30579   HAVE_SHM=no
30580 fi
30581
30582 else
30583   HAVE_SHM=no
30584 fi
30585
30586   else
30587     HAVE_SHM=no
30588   fi
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_SHM = xno; then
30598     USE_SHM=no
30599   else
30600     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: shm" >&5
30601 $as_echo "$as_me: *** These plugins will be built: shm" >&6;}
30602   fi
30603 fi
30604 if test x$USE_SHM = xyes; then
30605   :
30606   if test "xshm" != "x"; then
30607     GST_PLUGINS_YES="\tshm\n$GST_PLUGINS_YES"
30608   fi
30609
30610 $as_echo "#define HAVE_SHM /**/" >>confdefs.h
30611
30612 else
30613   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: shm" >&5
30614 $as_echo "$as_me: *** These plugins will not be built: shm" >&6;}
30615   if test "xshm" != "x"; then
30616     GST_PLUGINS_NO="\tshm\n$GST_PLUGINS_NO"
30617   fi
30618   :
30619 fi
30620  if test x$USE_SHM = xyes; then
30621   USE_SHM_TRUE=
30622   USE_SHM_FALSE='#'
30623 else
30624   USE_SHM_TRUE='#'
30625   USE_SHM_FALSE=
30626 fi
30627
30628
30629
30630 echo
30631 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Video CD ***" >&5
30632 $as_echo "$as_me: *** checking feature: Video CD ***" >&6;}
30633 if test "xvcdsrc" != "x"
30634 then
30635   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: vcdsrc ***" >&5
30636 $as_echo "$as_me: *** for plug-ins: vcdsrc ***" >&6;}
30637 fi
30638 NOUSE=
30639 if test "x$USE_VCD" = "xno"; then
30640   NOUSE="yes"
30641 fi
30642 # Check whether --enable-vcd was given.
30643 if test "${enable_vcd+set}" = set; then :
30644   enableval=$enable_vcd;  case "${enableval}" in
30645       yes) USE_VCD=yes;;
30646       no) USE_VCD=no;;
30647       *) as_fn_error $? "bad value ${enableval} for --enable-vcd" "$LINENO" 5 ;;
30648     esac
30649 else
30650    USE_VCD=yes
30651 fi
30652
30653 if test "x$NOUSE" = "xyes"; then
30654   USE_VCD="no"
30655   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** vcdsrc pre-configured not to be built" >&5
30656 $as_echo "$as_me: WARNING: *** vcdsrc pre-configured not to be built" >&2;}
30657 fi
30658 NOUSE=
30659
30660
30661 if test x$USE_VCD = xyes; then
30662
30663   gst_check_save_LIBS=$LIBS
30664   gst_check_save_LDFLAGS=$LDFLAGS
30665   gst_check_save_CFLAGS=$CFLAGS
30666   gst_check_save_CPPFLAGS=$CPPFLAGS
30667   gst_check_save_CXXFLAGS=$CXXFLAGS
30668
30669   HAVE_VCD=no
30670
30671   ac_fn_c_check_header_mongrel "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
30672 if test "x$ac_cv_header_linux_cdrom_h" = xyes; then :
30673   HAVE_VCD="yes"
30674 else
30675   HAVE_VCD="no"
30676 fi
30677
30678
30679
30680
30681   LIBS=$gst_check_save_LIBS
30682   LDFLAGS=$gst_check_save_LDFLAGS
30683   CFLAGS=$gst_check_save_CFLAGS
30684   CPPFLAGS=$gst_check_save_CPPFLAGS
30685   CXXFLAGS=$gst_check_save_CXXFLAGS
30686
30687     if test x$HAVE_VCD = xno; then
30688     USE_VCD=no
30689   else
30690     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: vcdsrc" >&5
30691 $as_echo "$as_me: *** These plugins will be built: vcdsrc" >&6;}
30692   fi
30693 fi
30694 if test x$USE_VCD = xyes; then
30695   :
30696   if test "xvcdsrc" != "x"; then
30697     GST_PLUGINS_YES="\tvcdsrc\n$GST_PLUGINS_YES"
30698   fi
30699
30700 $as_echo "#define HAVE_VCD /**/" >>confdefs.h
30701
30702 else
30703   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: vcdsrc" >&5
30704 $as_echo "$as_me: *** These plugins will not be built: vcdsrc" >&6;}
30705   if test "xvcdsrc" != "x"; then
30706     GST_PLUGINS_NO="\tvcdsrc\n$GST_PLUGINS_NO"
30707   fi
30708   :
30709 fi
30710  if test x$USE_VCD = xyes; then
30711   USE_VCD_TRUE=
30712   USE_VCD_FALSE='#'
30713 else
30714   USE_VCD_TRUE='#'
30715   USE_VCD_FALSE=
30716 fi
30717
30718
30719
30720
30721 if test "x$BUILD_EXTERNAL" = "xyes"; then
30722
30723 echo
30724 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: ASS/SSA renderer ***" >&5
30725 $as_echo "$as_me: *** checking feature: ASS/SSA renderer ***" >&6;}
30726 if test "xassrender" != "x"
30727 then
30728   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: assrender ***" >&5
30729 $as_echo "$as_me: *** for plug-ins: assrender ***" >&6;}
30730 fi
30731 NOUSE=
30732 if test "x$USE_ASSRENDER" = "xno"; then
30733   NOUSE="yes"
30734 fi
30735 # Check whether --enable-assrender was given.
30736 if test "${enable_assrender+set}" = set; then :
30737   enableval=$enable_assrender;  case "${enableval}" in
30738       yes) USE_ASSRENDER=yes;;
30739       no) USE_ASSRENDER=no;;
30740       *) as_fn_error $? "bad value ${enableval} for --enable-assrender" "$LINENO" 5 ;;
30741     esac
30742 else
30743    USE_ASSRENDER=yes
30744 fi
30745
30746 if test "x$NOUSE" = "xyes"; then
30747   USE_ASSRENDER="no"
30748   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** assrender pre-configured not to be built" >&5
30749 $as_echo "$as_me: WARNING: *** assrender pre-configured not to be built" >&2;}
30750 fi
30751 NOUSE=
30752
30753
30754 if test x$USE_ASSRENDER = xyes; then
30755
30756   gst_check_save_LIBS=$LIBS
30757   gst_check_save_LDFLAGS=$LDFLAGS
30758   gst_check_save_CFLAGS=$CFLAGS
30759   gst_check_save_CPPFLAGS=$CPPFLAGS
30760   gst_check_save_CXXFLAGS=$CXXFLAGS
30761
30762   HAVE_ASSRENDER=no
30763
30764
30765 pkg_failed=no
30766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ASSRENDER" >&5
30767 $as_echo_n "checking for ASSRENDER... " >&6; }
30768
30769 if test -n "$PKG_CONFIG"; then
30770     if test -n "$ASSRENDER_CFLAGS"; then
30771         pkg_cv_ASSRENDER_CFLAGS="$ASSRENDER_CFLAGS"
30772     else
30773         if test -n "$PKG_CONFIG" && \
30774     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libass >= 0.9.4\""; } >&5
30775   ($PKG_CONFIG --exists --print-errors "libass >= 0.9.4") 2>&5
30776   ac_status=$?
30777   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30778   test $ac_status = 0; }; then
30779   pkg_cv_ASSRENDER_CFLAGS=`$PKG_CONFIG --cflags "libass >= 0.9.4" 2>/dev/null`
30780 else
30781   pkg_failed=yes
30782 fi
30783     fi
30784 else
30785         pkg_failed=untried
30786 fi
30787 if test -n "$PKG_CONFIG"; then
30788     if test -n "$ASSRENDER_LIBS"; then
30789         pkg_cv_ASSRENDER_LIBS="$ASSRENDER_LIBS"
30790     else
30791         if test -n "$PKG_CONFIG" && \
30792     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libass >= 0.9.4\""; } >&5
30793   ($PKG_CONFIG --exists --print-errors "libass >= 0.9.4") 2>&5
30794   ac_status=$?
30795   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30796   test $ac_status = 0; }; then
30797   pkg_cv_ASSRENDER_LIBS=`$PKG_CONFIG --libs "libass >= 0.9.4" 2>/dev/null`
30798 else
30799   pkg_failed=yes
30800 fi
30801     fi
30802 else
30803         pkg_failed=untried
30804 fi
30805
30806
30807
30808 if test $pkg_failed = yes; then
30809
30810 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30811         _pkg_short_errors_supported=yes
30812 else
30813         _pkg_short_errors_supported=no
30814 fi
30815         if test $_pkg_short_errors_supported = yes; then
30816                 ASSRENDER_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libass >= 0.9.4"`
30817         else
30818                 ASSRENDER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libass >= 0.9.4"`
30819         fi
30820         # Put the nasty error message in config.log where it belongs
30821         echo "$ASSRENDER_PKG_ERRORS" >&5
30822
30823         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30824 $as_echo "no" >&6; }
30825
30826     HAVE_ASSRENDER="no"
30827
30828 elif test $pkg_failed = untried; then
30829
30830     HAVE_ASSRENDER="no"
30831
30832 else
30833         ASSRENDER_CFLAGS=$pkg_cv_ASSRENDER_CFLAGS
30834         ASSRENDER_LIBS=$pkg_cv_ASSRENDER_LIBS
30835         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30836 $as_echo "yes" >&6; }
30837
30838     HAVE_ASSRENDER="yes"
30839 fi
30840
30841
30842   LIBS=$gst_check_save_LIBS
30843   LDFLAGS=$gst_check_save_LDFLAGS
30844   CFLAGS=$gst_check_save_CFLAGS
30845   CPPFLAGS=$gst_check_save_CPPFLAGS
30846   CXXFLAGS=$gst_check_save_CXXFLAGS
30847
30848     if test x$HAVE_ASSRENDER = xno; then
30849     USE_ASSRENDER=no
30850   else
30851     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: assrender" >&5
30852 $as_echo "$as_me: *** These plugins will be built: assrender" >&6;}
30853   fi
30854 fi
30855 if test x$USE_ASSRENDER = xyes; then
30856   :
30857   if test "xassrender" != "x"; then
30858     GST_PLUGINS_YES="\tassrender\n$GST_PLUGINS_YES"
30859   fi
30860
30861 $as_echo "#define HAVE_ASSRENDER /**/" >>confdefs.h
30862
30863 else
30864   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: assrender" >&5
30865 $as_echo "$as_me: *** These plugins will not be built: assrender" >&6;}
30866   if test "xassrender" != "x"; then
30867     GST_PLUGINS_NO="\tassrender\n$GST_PLUGINS_NO"
30868   fi
30869   :
30870 fi
30871  if test x$USE_ASSRENDER = xyes; then
30872   USE_ASSRENDER_TRUE=
30873   USE_ASSRENDER_FALSE='#'
30874 else
30875   USE_ASSRENDER_TRUE='#'
30876   USE_ASSRENDER_FALSE=
30877 fi
30878
30879
30880
30881
30882
30883 echo
30884 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: vo-amrwbenc library ***" >&5
30885 $as_echo "$as_me: *** checking feature: vo-amrwbenc library ***" >&6;}
30886 if test "xvo-amrwbenc" != "x"
30887 then
30888   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: vo-amrwbenc ***" >&5
30889 $as_echo "$as_me: *** for plug-ins: vo-amrwbenc ***" >&6;}
30890 fi
30891 NOUSE=
30892 if test "x$USE_VOAMRWBENC" = "xno"; then
30893   NOUSE="yes"
30894 fi
30895 # Check whether --enable-voamrwbenc was given.
30896 if test "${enable_voamrwbenc+set}" = set; then :
30897   enableval=$enable_voamrwbenc;  case "${enableval}" in
30898       yes) USE_VOAMRWBENC=yes;;
30899       no) USE_VOAMRWBENC=no;;
30900       *) as_fn_error $? "bad value ${enableval} for --enable-voamrwbenc" "$LINENO" 5 ;;
30901     esac
30902 else
30903    USE_VOAMRWBENC=yes
30904 fi
30905
30906 if test "x$NOUSE" = "xyes"; then
30907   USE_VOAMRWBENC="no"
30908   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** vo-amrwbenc pre-configured not to be built" >&5
30909 $as_echo "$as_me: WARNING: *** vo-amrwbenc pre-configured not to be built" >&2;}
30910 fi
30911 NOUSE=
30912
30913
30914 if test x$USE_VOAMRWBENC = xyes; then
30915
30916   gst_check_save_LIBS=$LIBS
30917   gst_check_save_LDFLAGS=$LDFLAGS
30918   gst_check_save_CFLAGS=$CFLAGS
30919   gst_check_save_CPPFLAGS=$CPPFLAGS
30920   gst_check_save_CXXFLAGS=$CXXFLAGS
30921
30922   HAVE_VOAMRWBENC=no
30923
30924
30925   which="vo-amrwbenc >= 0.1.0"
30926     required="no"
30927
30928
30929 pkg_failed=no
30930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for VOAMRWBENC" >&5
30931 $as_echo_n "checking for VOAMRWBENC... " >&6; }
30932
30933 if test -n "$PKG_CONFIG"; then
30934     if test -n "$VOAMRWBENC_CFLAGS"; then
30935         pkg_cv_VOAMRWBENC_CFLAGS="$VOAMRWBENC_CFLAGS"
30936     else
30937         if test -n "$PKG_CONFIG" && \
30938     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
30939   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
30940   ac_status=$?
30941   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30942   test $ac_status = 0; }; then
30943   pkg_cv_VOAMRWBENC_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
30944 else
30945   pkg_failed=yes
30946 fi
30947     fi
30948 else
30949         pkg_failed=untried
30950 fi
30951 if test -n "$PKG_CONFIG"; then
30952     if test -n "$VOAMRWBENC_LIBS"; then
30953         pkg_cv_VOAMRWBENC_LIBS="$VOAMRWBENC_LIBS"
30954     else
30955         if test -n "$PKG_CONFIG" && \
30956     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
30957   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
30958   ac_status=$?
30959   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30960   test $ac_status = 0; }; then
30961   pkg_cv_VOAMRWBENC_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
30962 else
30963   pkg_failed=yes
30964 fi
30965     fi
30966 else
30967         pkg_failed=untried
30968 fi
30969
30970
30971
30972 if test $pkg_failed = yes; then
30973
30974 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30975         _pkg_short_errors_supported=yes
30976 else
30977         _pkg_short_errors_supported=no
30978 fi
30979         if test $_pkg_short_errors_supported = yes; then
30980                 VOAMRWBENC_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
30981         else
30982                 VOAMRWBENC_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
30983         fi
30984         # Put the nasty error message in config.log where it belongs
30985         echo "$VOAMRWBENC_PKG_ERRORS" >&5
30986
30987         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30988 $as_echo "no" >&6; }
30989
30990       HAVE_VOAMRWBENC="no"
30991       if test "x$required" = "xyes"; then
30992         as_fn_error $? "$VOAMRWBENC_PKG_ERRORS" "$LINENO" 5
30993       else
30994         { $as_echo "$as_me:${as_lineno-$LINENO}: $VOAMRWBENC_PKG_ERRORS" >&5
30995 $as_echo "$as_me: $VOAMRWBENC_PKG_ERRORS" >&6;}
30996       fi
30997
30998 elif test $pkg_failed = untried; then
30999
31000       HAVE_VOAMRWBENC="no"
31001       if test "x$required" = "xyes"; then
31002         as_fn_error $? "$VOAMRWBENC_PKG_ERRORS" "$LINENO" 5
31003       else
31004         { $as_echo "$as_me:${as_lineno-$LINENO}: $VOAMRWBENC_PKG_ERRORS" >&5
31005 $as_echo "$as_me: $VOAMRWBENC_PKG_ERRORS" >&6;}
31006       fi
31007
31008 else
31009         VOAMRWBENC_CFLAGS=$pkg_cv_VOAMRWBENC_CFLAGS
31010         VOAMRWBENC_LIBS=$pkg_cv_VOAMRWBENC_LIBS
31011         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31012 $as_echo "yes" >&6; }
31013
31014       HAVE_VOAMRWBENC="yes"
31015
31016 fi
31017
31018
31019
31020
31021   LIBS=$gst_check_save_LIBS
31022   LDFLAGS=$gst_check_save_LDFLAGS
31023   CFLAGS=$gst_check_save_CFLAGS
31024   CPPFLAGS=$gst_check_save_CPPFLAGS
31025   CXXFLAGS=$gst_check_save_CXXFLAGS
31026
31027     if test x$HAVE_VOAMRWBENC = xno; then
31028     USE_VOAMRWBENC=no
31029   else
31030     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: vo-amrwbenc" >&5
31031 $as_echo "$as_me: *** These plugins will be built: vo-amrwbenc" >&6;}
31032   fi
31033 fi
31034 if test x$USE_VOAMRWBENC = xyes; then
31035   :
31036   if test "xvo-amrwbenc" != "x"; then
31037     GST_PLUGINS_YES="\tvo-amrwbenc\n$GST_PLUGINS_YES"
31038   fi
31039
31040 $as_echo "#define HAVE_VOAMRWBENC /**/" >>confdefs.h
31041
31042 else
31043   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: vo-amrwbenc" >&5
31044 $as_echo "$as_me: *** These plugins will not be built: vo-amrwbenc" >&6;}
31045   if test "xvo-amrwbenc" != "x"; then
31046     GST_PLUGINS_NO="\tvo-amrwbenc\n$GST_PLUGINS_NO"
31047   fi
31048   :
31049 fi
31050  if test x$USE_VOAMRWBENC = xyes; then
31051   USE_VOAMRWBENC_TRUE=
31052   USE_VOAMRWBENC_FALSE='#'
31053 else
31054   USE_VOAMRWBENC_TRUE='#'
31055   USE_VOAMRWBENC_FALSE=
31056 fi
31057
31058
31059
31060 echo
31061 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: vo-aacenc library ***" >&5
31062 $as_echo "$as_me: *** checking feature: vo-aacenc library ***" >&6;}
31063 if test "xvo-aacenc" != "x"
31064 then
31065   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: vo-aacenc ***" >&5
31066 $as_echo "$as_me: *** for plug-ins: vo-aacenc ***" >&6;}
31067 fi
31068 NOUSE=
31069 if test "x$USE_VOAACENC" = "xno"; then
31070   NOUSE="yes"
31071 fi
31072 # Check whether --enable-voaacenc was given.
31073 if test "${enable_voaacenc+set}" = set; then :
31074   enableval=$enable_voaacenc;  case "${enableval}" in
31075       yes) USE_VOAACENC=yes;;
31076       no) USE_VOAACENC=no;;
31077       *) as_fn_error $? "bad value ${enableval} for --enable-voaacenc" "$LINENO" 5 ;;
31078     esac
31079 else
31080    USE_VOAACENC=yes
31081 fi
31082
31083 if test "x$NOUSE" = "xyes"; then
31084   USE_VOAACENC="no"
31085   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** vo-aacenc pre-configured not to be built" >&5
31086 $as_echo "$as_me: WARNING: *** vo-aacenc pre-configured not to be built" >&2;}
31087 fi
31088 NOUSE=
31089
31090
31091 if test x$USE_VOAACENC = xyes; then
31092
31093   gst_check_save_LIBS=$LIBS
31094   gst_check_save_LDFLAGS=$LDFLAGS
31095   gst_check_save_CFLAGS=$CFLAGS
31096   gst_check_save_CPPFLAGS=$CPPFLAGS
31097   gst_check_save_CXXFLAGS=$CXXFLAGS
31098
31099   HAVE_VOAACENC=no
31100
31101
31102   which="vo-aacenc >= 0.1.0"
31103     required="no"
31104
31105
31106 pkg_failed=no
31107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for VOAACENC" >&5
31108 $as_echo_n "checking for VOAACENC... " >&6; }
31109
31110 if test -n "$PKG_CONFIG"; then
31111     if test -n "$VOAACENC_CFLAGS"; then
31112         pkg_cv_VOAACENC_CFLAGS="$VOAACENC_CFLAGS"
31113     else
31114         if test -n "$PKG_CONFIG" && \
31115     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
31116   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
31117   ac_status=$?
31118   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31119   test $ac_status = 0; }; then
31120   pkg_cv_VOAACENC_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
31121 else
31122   pkg_failed=yes
31123 fi
31124     fi
31125 else
31126         pkg_failed=untried
31127 fi
31128 if test -n "$PKG_CONFIG"; then
31129     if test -n "$VOAACENC_LIBS"; then
31130         pkg_cv_VOAACENC_LIBS="$VOAACENC_LIBS"
31131     else
31132         if test -n "$PKG_CONFIG" && \
31133     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
31134   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
31135   ac_status=$?
31136   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31137   test $ac_status = 0; }; then
31138   pkg_cv_VOAACENC_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
31139 else
31140   pkg_failed=yes
31141 fi
31142     fi
31143 else
31144         pkg_failed=untried
31145 fi
31146
31147
31148
31149 if test $pkg_failed = yes; then
31150
31151 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31152         _pkg_short_errors_supported=yes
31153 else
31154         _pkg_short_errors_supported=no
31155 fi
31156         if test $_pkg_short_errors_supported = yes; then
31157                 VOAACENC_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
31158         else
31159                 VOAACENC_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
31160         fi
31161         # Put the nasty error message in config.log where it belongs
31162         echo "$VOAACENC_PKG_ERRORS" >&5
31163
31164         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31165 $as_echo "no" >&6; }
31166
31167       HAVE_VOAACENC="no"
31168       if test "x$required" = "xyes"; then
31169         as_fn_error $? "$VOAACENC_PKG_ERRORS" "$LINENO" 5
31170       else
31171         { $as_echo "$as_me:${as_lineno-$LINENO}: $VOAACENC_PKG_ERRORS" >&5
31172 $as_echo "$as_me: $VOAACENC_PKG_ERRORS" >&6;}
31173       fi
31174
31175 elif test $pkg_failed = untried; then
31176
31177       HAVE_VOAACENC="no"
31178       if test "x$required" = "xyes"; then
31179         as_fn_error $? "$VOAACENC_PKG_ERRORS" "$LINENO" 5
31180       else
31181         { $as_echo "$as_me:${as_lineno-$LINENO}: $VOAACENC_PKG_ERRORS" >&5
31182 $as_echo "$as_me: $VOAACENC_PKG_ERRORS" >&6;}
31183       fi
31184
31185 else
31186         VOAACENC_CFLAGS=$pkg_cv_VOAACENC_CFLAGS
31187         VOAACENC_LIBS=$pkg_cv_VOAACENC_LIBS
31188         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31189 $as_echo "yes" >&6; }
31190
31191       HAVE_VOAACENC="yes"
31192
31193 fi
31194
31195
31196
31197
31198   LIBS=$gst_check_save_LIBS
31199   LDFLAGS=$gst_check_save_LDFLAGS
31200   CFLAGS=$gst_check_save_CFLAGS
31201   CPPFLAGS=$gst_check_save_CPPFLAGS
31202   CXXFLAGS=$gst_check_save_CXXFLAGS
31203
31204     if test x$HAVE_VOAACENC = xno; then
31205     USE_VOAACENC=no
31206   else
31207     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: vo-aacenc" >&5
31208 $as_echo "$as_me: *** These plugins will be built: vo-aacenc" >&6;}
31209   fi
31210 fi
31211 if test x$USE_VOAACENC = xyes; then
31212   :
31213   if test "xvo-aacenc" != "x"; then
31214     GST_PLUGINS_YES="\tvo-aacenc\n$GST_PLUGINS_YES"
31215   fi
31216
31217 $as_echo "#define HAVE_VOAACENC /**/" >>confdefs.h
31218
31219 else
31220   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: vo-aacenc" >&5
31221 $as_echo "$as_me: *** These plugins will not be built: vo-aacenc" >&6;}
31222   if test "xvo-aacenc" != "x"; then
31223     GST_PLUGINS_NO="\tvo-aacenc\n$GST_PLUGINS_NO"
31224   fi
31225   :
31226 fi
31227  if test x$USE_VOAACENC = xyes; then
31228   USE_VOAACENC_TRUE=
31229   USE_VOAACENC_FALSE='#'
31230 else
31231   USE_VOAACENC_TRUE='#'
31232   USE_VOAACENC_FALSE=
31233 fi
31234
31235
31236
31237 echo
31238 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: AirPort Express Wireless sink ***" >&5
31239 $as_echo "$as_me: *** checking feature: AirPort Express Wireless sink ***" >&6;}
31240 if test "xapexsink" != "x"
31241 then
31242   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: apexsink ***" >&5
31243 $as_echo "$as_me: *** for plug-ins: apexsink ***" >&6;}
31244 fi
31245 NOUSE=
31246 if test "x$USE_APEXSINK" = "xno"; then
31247   NOUSE="yes"
31248 fi
31249 # Check whether --enable-apexsink was given.
31250 if test "${enable_apexsink+set}" = set; then :
31251   enableval=$enable_apexsink;  case "${enableval}" in
31252       yes) USE_APEXSINK=yes;;
31253       no) USE_APEXSINK=no;;
31254       *) as_fn_error $? "bad value ${enableval} for --enable-apexsink" "$LINENO" 5 ;;
31255     esac
31256 else
31257    USE_APEXSINK=yes
31258 fi
31259
31260 if test "x$NOUSE" = "xyes"; then
31261   USE_APEXSINK="no"
31262   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** apexsink pre-configured not to be built" >&5
31263 $as_echo "$as_me: WARNING: *** apexsink pre-configured not to be built" >&2;}
31264 fi
31265 NOUSE=
31266
31267
31268 if test x$USE_APEXSINK = xyes; then
31269
31270   gst_check_save_LIBS=$LIBS
31271   gst_check_save_LDFLAGS=$LDFLAGS
31272   gst_check_save_CFLAGS=$CFLAGS
31273   gst_check_save_CPPFLAGS=$CPPFLAGS
31274   gst_check_save_CXXFLAGS=$CXXFLAGS
31275
31276   HAVE_APEXSINK=no
31277
31278
31279 pkg_failed=no
31280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APEXSINK" >&5
31281 $as_echo_n "checking for APEXSINK... " >&6; }
31282
31283 if test -n "$PKG_CONFIG"; then
31284     if test -n "$APEXSINK_CFLAGS"; then
31285         pkg_cv_APEXSINK_CFLAGS="$APEXSINK_CFLAGS"
31286     else
31287         if test -n "$PKG_CONFIG" && \
31288     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" openssl >= 0.9.5  libcrypto \""; } >&5
31289   ($PKG_CONFIG --exists --print-errors " openssl >= 0.9.5  libcrypto ") 2>&5
31290   ac_status=$?
31291   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31292   test $ac_status = 0; }; then
31293   pkg_cv_APEXSINK_CFLAGS=`$PKG_CONFIG --cflags " openssl >= 0.9.5  libcrypto " 2>/dev/null`
31294 else
31295   pkg_failed=yes
31296 fi
31297     fi
31298 else
31299         pkg_failed=untried
31300 fi
31301 if test -n "$PKG_CONFIG"; then
31302     if test -n "$APEXSINK_LIBS"; then
31303         pkg_cv_APEXSINK_LIBS="$APEXSINK_LIBS"
31304     else
31305         if test -n "$PKG_CONFIG" && \
31306     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" openssl >= 0.9.5  libcrypto \""; } >&5
31307   ($PKG_CONFIG --exists --print-errors " openssl >= 0.9.5  libcrypto ") 2>&5
31308   ac_status=$?
31309   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31310   test $ac_status = 0; }; then
31311   pkg_cv_APEXSINK_LIBS=`$PKG_CONFIG --libs " openssl >= 0.9.5  libcrypto " 2>/dev/null`
31312 else
31313   pkg_failed=yes
31314 fi
31315     fi
31316 else
31317         pkg_failed=untried
31318 fi
31319
31320
31321
31322 if test $pkg_failed = yes; then
31323
31324 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31325         _pkg_short_errors_supported=yes
31326 else
31327         _pkg_short_errors_supported=no
31328 fi
31329         if test $_pkg_short_errors_supported = yes; then
31330                 APEXSINK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors " openssl >= 0.9.5  libcrypto "`
31331         else
31332                 APEXSINK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors " openssl >= 0.9.5  libcrypto "`
31333         fi
31334         # Put the nasty error message in config.log where it belongs
31335         echo "$APEXSINK_PKG_ERRORS" >&5
31336
31337         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31338 $as_echo "no" >&6; }
31339
31340     APEXSINK="no"
31341
31342 elif test $pkg_failed = untried; then
31343
31344     APEXSINK="no"
31345
31346 else
31347         APEXSINK_CFLAGS=$pkg_cv_APEXSINK_CFLAGS
31348         APEXSINK_LIBS=$pkg_cv_APEXSINK_LIBS
31349         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31350 $as_echo "yes" >&6; }
31351
31352     HAVE_APEXSINK="yes"
31353     saved_LIBS="$LIBS"
31354     LIBS=""
31355     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
31356 $as_echo_n "checking for library containing socket... " >&6; }
31357 if ${ac_cv_search_socket+:} false; then :
31358   $as_echo_n "(cached) " >&6
31359 else
31360   ac_func_search_save_LIBS=$LIBS
31361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31362 /* end confdefs.h.  */
31363
31364 /* Override any GCC internal prototype to avoid an error.
31365    Use char because int might match the return type of a GCC
31366    builtin and then its argument prototype would still apply.  */
31367 #ifdef __cplusplus
31368 extern "C"
31369 #endif
31370 char socket ();
31371 int
31372 main ()
31373 {
31374 return socket ();
31375   ;
31376   return 0;
31377 }
31378 _ACEOF
31379 for ac_lib in '' socket; do
31380   if test -z "$ac_lib"; then
31381     ac_res="none required"
31382   else
31383     ac_res=-l$ac_lib
31384     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
31385   fi
31386   if ac_fn_c_try_link "$LINENO"; then :
31387   ac_cv_search_socket=$ac_res
31388 fi
31389 rm -f core conftest.err conftest.$ac_objext \
31390     conftest$ac_exeext
31391   if ${ac_cv_search_socket+:} false; then :
31392   break
31393 fi
31394 done
31395 if ${ac_cv_search_socket+:} false; then :
31396
31397 else
31398   ac_cv_search_socket=no
31399 fi
31400 rm conftest.$ac_ext
31401 LIBS=$ac_func_search_save_LIBS
31402 fi
31403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
31404 $as_echo "$ac_cv_search_socket" >&6; }
31405 ac_res=$ac_cv_search_socket
31406 if test "$ac_res" != no; then :
31407   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
31408
31409 else
31410    APEXSINK="no"
31411 fi
31412
31413     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
31414 $as_echo_n "checking for library containing gethostbyname... " >&6; }
31415 if ${ac_cv_search_gethostbyname+:} false; then :
31416   $as_echo_n "(cached) " >&6
31417 else
31418   ac_func_search_save_LIBS=$LIBS
31419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31420 /* end confdefs.h.  */
31421
31422 /* Override any GCC internal prototype to avoid an error.
31423    Use char because int might match the return type of a GCC
31424    builtin and then its argument prototype would still apply.  */
31425 #ifdef __cplusplus
31426 extern "C"
31427 #endif
31428 char gethostbyname ();
31429 int
31430 main ()
31431 {
31432 return gethostbyname ();
31433   ;
31434   return 0;
31435 }
31436 _ACEOF
31437 for ac_lib in '' nsl; do
31438   if test -z "$ac_lib"; then
31439     ac_res="none required"
31440   else
31441     ac_res=-l$ac_lib
31442     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
31443   fi
31444   if ac_fn_c_try_link "$LINENO"; then :
31445   ac_cv_search_gethostbyname=$ac_res
31446 fi
31447 rm -f core conftest.err conftest.$ac_objext \
31448     conftest$ac_exeext
31449   if ${ac_cv_search_gethostbyname+:} false; then :
31450   break
31451 fi
31452 done
31453 if ${ac_cv_search_gethostbyname+:} false; then :
31454
31455 else
31456   ac_cv_search_gethostbyname=no
31457 fi
31458 rm conftest.$ac_ext
31459 LIBS=$ac_func_search_save_LIBS
31460 fi
31461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
31462 $as_echo "$ac_cv_search_gethostbyname" >&6; }
31463 ac_res=$ac_cv_search_gethostbyname
31464 if test "$ac_res" != no; then :
31465   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
31466
31467 else
31468    APEXSINK="no"
31469 fi
31470
31471     APEXSINK_LIBS="$APEXSINK_LIBS $LIBS"
31472     LIBS="$saved_LIBS"
31473
31474
31475
31476 fi
31477
31478
31479   LIBS=$gst_check_save_LIBS
31480   LDFLAGS=$gst_check_save_LDFLAGS
31481   CFLAGS=$gst_check_save_CFLAGS
31482   CPPFLAGS=$gst_check_save_CPPFLAGS
31483   CXXFLAGS=$gst_check_save_CXXFLAGS
31484
31485     if test x$HAVE_APEXSINK = xno; then
31486     USE_APEXSINK=no
31487   else
31488     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: apexsink" >&5
31489 $as_echo "$as_me: *** These plugins will be built: apexsink" >&6;}
31490   fi
31491 fi
31492 if test x$USE_APEXSINK = xyes; then
31493   :
31494   if test "xapexsink" != "x"; then
31495     GST_PLUGINS_YES="\tapexsink\n$GST_PLUGINS_YES"
31496   fi
31497
31498 $as_echo "#define HAVE_APEXSINK /**/" >>confdefs.h
31499
31500 else
31501   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: apexsink" >&5
31502 $as_echo "$as_me: *** These plugins will not be built: apexsink" >&6;}
31503   if test "xapexsink" != "x"; then
31504     GST_PLUGINS_NO="\tapexsink\n$GST_PLUGINS_NO"
31505   fi
31506   :
31507 fi
31508  if test x$USE_APEXSINK = xyes; then
31509   USE_APEXSINK_TRUE=
31510   USE_APEXSINK_FALSE='#'
31511 else
31512   USE_APEXSINK_TRUE='#'
31513   USE_APEXSINK_FALSE=
31514 fi
31515
31516
31517
31518 echo
31519 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: bz2 library ***" >&5
31520 $as_echo "$as_me: *** checking feature: bz2 library ***" >&6;}
31521 if test "xbz2" != "x"
31522 then
31523   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: bz2 ***" >&5
31524 $as_echo "$as_me: *** for plug-ins: bz2 ***" >&6;}
31525 fi
31526 NOUSE=
31527 if test "x$USE_BZ2" = "xno"; then
31528   NOUSE="yes"
31529 fi
31530 # Check whether --enable-bz2 was given.
31531 if test "${enable_bz2+set}" = set; then :
31532   enableval=$enable_bz2;  case "${enableval}" in
31533       yes) USE_BZ2=yes;;
31534       no) USE_BZ2=no;;
31535       *) as_fn_error $? "bad value ${enableval} for --enable-bz2" "$LINENO" 5 ;;
31536     esac
31537 else
31538    USE_BZ2=yes
31539 fi
31540
31541 if test "x$NOUSE" = "xyes"; then
31542   USE_BZ2="no"
31543   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** bz2 pre-configured not to be built" >&5
31544 $as_echo "$as_me: WARNING: *** bz2 pre-configured not to be built" >&2;}
31545 fi
31546 NOUSE=
31547
31548
31549 if test x$USE_BZ2 = xyes; then
31550
31551   gst_check_save_LIBS=$LIBS
31552   gst_check_save_LDFLAGS=$LDFLAGS
31553   gst_check_save_CFLAGS=$CFLAGS
31554   gst_check_save_CPPFLAGS=$CPPFLAGS
31555   gst_check_save_CXXFLAGS=$CXXFLAGS
31556
31557   HAVE_BZ2=no
31558
31559
31560   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BZ2_bzCompress in -lbz2" >&5
31561 $as_echo_n "checking for BZ2_bzCompress in -lbz2... " >&6; }
31562 if ${ac_cv_lib_bz2_BZ2_bzCompress+:} false; then :
31563   $as_echo_n "(cached) " >&6
31564 else
31565   ac_check_lib_save_LIBS=$LIBS
31566 LIBS="-lbz2  $LIBS"
31567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31568 /* end confdefs.h.  */
31569
31570 /* Override any GCC internal prototype to avoid an error.
31571    Use char because int might match the return type of a GCC
31572    builtin and then its argument prototype would still apply.  */
31573 #ifdef __cplusplus
31574 extern "C"
31575 #endif
31576 char BZ2_bzCompress ();
31577 int
31578 main ()
31579 {
31580 return BZ2_bzCompress ();
31581   ;
31582   return 0;
31583 }
31584 _ACEOF
31585 if ac_fn_c_try_link "$LINENO"; then :
31586   ac_cv_lib_bz2_BZ2_bzCompress=yes
31587 else
31588   ac_cv_lib_bz2_BZ2_bzCompress=no
31589 fi
31590 rm -f core conftest.err conftest.$ac_objext \
31591     conftest$ac_exeext conftest.$ac_ext
31592 LIBS=$ac_check_lib_save_LIBS
31593 fi
31594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bz2_BZ2_bzCompress" >&5
31595 $as_echo "$ac_cv_lib_bz2_BZ2_bzCompress" >&6; }
31596 if test "x$ac_cv_lib_bz2_BZ2_bzCompress" = xyes; then :
31597   HAVE_BZ2=yes
31598 else
31599   HAVE_BZ2=no
31600 fi
31601
31602   if test "x$HAVE_BZ2" = "xyes"; then
31603     ac_fn_c_check_header_mongrel "$LINENO" "bzlib.h" "ac_cv_header_bzlib_h" "$ac_includes_default"
31604 if test "x$ac_cv_header_bzlib_h" = xyes; then :
31605   :
31606 else
31607   HAVE_BZ2=no
31608 fi
31609
31610
31611     if test "x$HAVE_BZ2" = "xyes"; then
31612             BZ2_LIBS="-lbz2"
31613     else
31614       :
31615     fi
31616   else
31617     :
31618   fi
31619
31620
31621
31622
31623
31624
31625   LIBS=$gst_check_save_LIBS
31626   LDFLAGS=$gst_check_save_LDFLAGS
31627   CFLAGS=$gst_check_save_CFLAGS
31628   CPPFLAGS=$gst_check_save_CPPFLAGS
31629   CXXFLAGS=$gst_check_save_CXXFLAGS
31630
31631     if test x$HAVE_BZ2 = xno; then
31632     USE_BZ2=no
31633   else
31634     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: bz2" >&5
31635 $as_echo "$as_me: *** These plugins will be built: bz2" >&6;}
31636   fi
31637 fi
31638 if test x$USE_BZ2 = xyes; then
31639   :
31640   if test "xbz2" != "x"; then
31641     GST_PLUGINS_YES="\tbz2\n$GST_PLUGINS_YES"
31642   fi
31643
31644 $as_echo "#define HAVE_BZ2 /**/" >>confdefs.h
31645
31646 else
31647   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: bz2" >&5
31648 $as_echo "$as_me: *** These plugins will not be built: bz2" >&6;}
31649   if test "xbz2" != "x"; then
31650     GST_PLUGINS_NO="\tbz2\n$GST_PLUGINS_NO"
31651   fi
31652   :
31653 fi
31654  if test x$USE_BZ2 = xyes; then
31655   USE_BZ2_TRUE=
31656   USE_BZ2_FALSE='#'
31657 else
31658   USE_BZ2_TRUE='#'
31659   USE_BZ2_FALSE=
31660 fi
31661
31662
31663
31664 #dnl *** cairo ***
31665 #translit(dnm, m, l) AM_CONDITIONAL(USE_CAIRO, true)
31666 #AG_GST_CHECK_FEATURE(CAIRO, [cairo plug-in], cairo, [
31667 #  PKG_CHECK_MODULES(CAIRO, cairo >= 1.0 glitz-glx, HAVE_CAIRO=yes, [
31668 #    HAVE_CAIRO=no
31669 #  ])
31670 #  AC_SUBST(CAIRO_CFLAGS)
31671 #  AC_SUBST(CAIRO_LIBS)
31672 #])
31673
31674 echo
31675 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: cdaudio ***" >&5
31676 $as_echo "$as_me: *** checking feature: cdaudio ***" >&6;}
31677 if test "xcdaudio" != "x"
31678 then
31679   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: cdaudio ***" >&5
31680 $as_echo "$as_me: *** for plug-ins: cdaudio ***" >&6;}
31681 fi
31682 NOUSE=
31683 if test "x$USE_CDAUDIO" = "xno"; then
31684   NOUSE="yes"
31685 fi
31686 # Check whether --enable-cdaudio was given.
31687 if test "${enable_cdaudio+set}" = set; then :
31688   enableval=$enable_cdaudio;  case "${enableval}" in
31689       yes) USE_CDAUDIO=yes;;
31690       no) USE_CDAUDIO=no;;
31691       *) as_fn_error $? "bad value ${enableval} for --enable-cdaudio" "$LINENO" 5 ;;
31692     esac
31693 else
31694    USE_CDAUDIO=yes
31695 fi
31696
31697 if test "x$NOUSE" = "xyes"; then
31698   USE_CDAUDIO="no"
31699   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** cdaudio pre-configured not to be built" >&5
31700 $as_echo "$as_me: WARNING: *** cdaudio pre-configured not to be built" >&2;}
31701 fi
31702 NOUSE=
31703
31704
31705 if test x$USE_CDAUDIO = xyes; then
31706
31707   gst_check_save_LIBS=$LIBS
31708   gst_check_save_LDFLAGS=$LDFLAGS
31709   gst_check_save_CFLAGS=$CFLAGS
31710   gst_check_save_CPPFLAGS=$CPPFLAGS
31711   gst_check_save_CXXFLAGS=$CXXFLAGS
31712
31713   HAVE_CDAUDIO=no
31714
31715
31716 pkg_failed=no
31717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CDAUDIO" >&5
31718 $as_echo_n "checking for CDAUDIO... " >&6; }
31719
31720 if test -n "$PKG_CONFIG"; then
31721     if test -n "$CDAUDIO_CFLAGS"; then
31722         pkg_cv_CDAUDIO_CFLAGS="$CDAUDIO_CFLAGS"
31723     else
31724         if test -n "$PKG_CONFIG" && \
31725     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcdaudio\""; } >&5
31726   ($PKG_CONFIG --exists --print-errors "libcdaudio") 2>&5
31727   ac_status=$?
31728   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31729   test $ac_status = 0; }; then
31730   pkg_cv_CDAUDIO_CFLAGS=`$PKG_CONFIG --cflags "libcdaudio" 2>/dev/null`
31731 else
31732   pkg_failed=yes
31733 fi
31734     fi
31735 else
31736         pkg_failed=untried
31737 fi
31738 if test -n "$PKG_CONFIG"; then
31739     if test -n "$CDAUDIO_LIBS"; then
31740         pkg_cv_CDAUDIO_LIBS="$CDAUDIO_LIBS"
31741     else
31742         if test -n "$PKG_CONFIG" && \
31743     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcdaudio\""; } >&5
31744   ($PKG_CONFIG --exists --print-errors "libcdaudio") 2>&5
31745   ac_status=$?
31746   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31747   test $ac_status = 0; }; then
31748   pkg_cv_CDAUDIO_LIBS=`$PKG_CONFIG --libs "libcdaudio" 2>/dev/null`
31749 else
31750   pkg_failed=yes
31751 fi
31752     fi
31753 else
31754         pkg_failed=untried
31755 fi
31756
31757
31758
31759 if test $pkg_failed = yes; then
31760
31761 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31762         _pkg_short_errors_supported=yes
31763 else
31764         _pkg_short_errors_supported=no
31765 fi
31766         if test $_pkg_short_errors_supported = yes; then
31767                 CDAUDIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libcdaudio"`
31768         else
31769                 CDAUDIO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libcdaudio"`
31770         fi
31771         # Put the nasty error message in config.log where it belongs
31772         echo "$CDAUDIO_PKG_ERRORS" >&5
31773
31774         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31775 $as_echo "no" >&6; }
31776
31777           HAVE_CDAUDIO="no"
31778
31779 elif test $pkg_failed = untried; then
31780
31781           HAVE_CDAUDIO="no"
31782
31783 else
31784         CDAUDIO_CFLAGS=$pkg_cv_CDAUDIO_CFLAGS
31785         CDAUDIO_LIBS=$pkg_cv_CDAUDIO_LIBS
31786         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31787 $as_echo "yes" >&6; }
31788
31789           HAVE_CDAUDIO="yes"
31790
31791 fi
31792
31793
31794
31795
31796   LIBS=$gst_check_save_LIBS
31797   LDFLAGS=$gst_check_save_LDFLAGS
31798   CFLAGS=$gst_check_save_CFLAGS
31799   CPPFLAGS=$gst_check_save_CPPFLAGS
31800   CXXFLAGS=$gst_check_save_CXXFLAGS
31801
31802     if test x$HAVE_CDAUDIO = xno; then
31803     USE_CDAUDIO=no
31804   else
31805     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: cdaudio" >&5
31806 $as_echo "$as_me: *** These plugins will be built: cdaudio" >&6;}
31807   fi
31808 fi
31809 if test x$USE_CDAUDIO = xyes; then
31810   :
31811   if test "xcdaudio" != "x"; then
31812     GST_PLUGINS_YES="\tcdaudio\n$GST_PLUGINS_YES"
31813   fi
31814
31815 $as_echo "#define HAVE_CDAUDIO /**/" >>confdefs.h
31816
31817 else
31818   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: cdaudio" >&5
31819 $as_echo "$as_me: *** These plugins will not be built: cdaudio" >&6;}
31820   if test "xcdaudio" != "x"; then
31821     GST_PLUGINS_NO="\tcdaudio\n$GST_PLUGINS_NO"
31822   fi
31823   :
31824 fi
31825  if test x$USE_CDAUDIO = xyes; then
31826   USE_CDAUDIO_TRUE=
31827   USE_CDAUDIO_FALSE='#'
31828 else
31829   USE_CDAUDIO_TRUE='#'
31830   USE_CDAUDIO_FALSE=
31831 fi
31832
31833
31834
31835 echo
31836 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: celt ***" >&5
31837 $as_echo "$as_me: *** checking feature: celt ***" >&6;}
31838 if test "xcelt" != "x"
31839 then
31840   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: celt ***" >&5
31841 $as_echo "$as_me: *** for plug-ins: celt ***" >&6;}
31842 fi
31843 NOUSE=
31844 if test "x$USE_CELT" = "xno"; then
31845   NOUSE="yes"
31846 fi
31847 # Check whether --enable-celt was given.
31848 if test "${enable_celt+set}" = set; then :
31849   enableval=$enable_celt;  case "${enableval}" in
31850       yes) USE_CELT=yes;;
31851       no) USE_CELT=no;;
31852       *) as_fn_error $? "bad value ${enableval} for --enable-celt" "$LINENO" 5 ;;
31853     esac
31854 else
31855    USE_CELT=yes
31856 fi
31857
31858 if test "x$NOUSE" = "xyes"; then
31859   USE_CELT="no"
31860   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** celt pre-configured not to be built" >&5
31861 $as_echo "$as_me: WARNING: *** celt pre-configured not to be built" >&2;}
31862 fi
31863 NOUSE=
31864
31865
31866 if test x$USE_CELT = xyes; then
31867
31868   gst_check_save_LIBS=$LIBS
31869   gst_check_save_LDFLAGS=$LDFLAGS
31870   gst_check_save_CFLAGS=$CFLAGS
31871   gst_check_save_CPPFLAGS=$CPPFLAGS
31872   gst_check_save_CXXFLAGS=$CXXFLAGS
31873
31874   HAVE_CELT=no
31875
31876
31877 pkg_failed=no
31878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CELT" >&5
31879 $as_echo_n "checking for CELT... " >&6; }
31880
31881 if test -n "$PKG_CONFIG"; then
31882     if test -n "$CELT_CFLAGS"; then
31883         pkg_cv_CELT_CFLAGS="$CELT_CFLAGS"
31884     else
31885         if test -n "$PKG_CONFIG" && \
31886     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"celt >= 0.5.0\""; } >&5
31887   ($PKG_CONFIG --exists --print-errors "celt >= 0.5.0") 2>&5
31888   ac_status=$?
31889   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31890   test $ac_status = 0; }; then
31891   pkg_cv_CELT_CFLAGS=`$PKG_CONFIG --cflags "celt >= 0.5.0" 2>/dev/null`
31892 else
31893   pkg_failed=yes
31894 fi
31895     fi
31896 else
31897         pkg_failed=untried
31898 fi
31899 if test -n "$PKG_CONFIG"; then
31900     if test -n "$CELT_LIBS"; then
31901         pkg_cv_CELT_LIBS="$CELT_LIBS"
31902     else
31903         if test -n "$PKG_CONFIG" && \
31904     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"celt >= 0.5.0\""; } >&5
31905   ($PKG_CONFIG --exists --print-errors "celt >= 0.5.0") 2>&5
31906   ac_status=$?
31907   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31908   test $ac_status = 0; }; then
31909   pkg_cv_CELT_LIBS=`$PKG_CONFIG --libs "celt >= 0.5.0" 2>/dev/null`
31910 else
31911   pkg_failed=yes
31912 fi
31913     fi
31914 else
31915         pkg_failed=untried
31916 fi
31917
31918
31919
31920 if test $pkg_failed = yes; then
31921
31922 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31923         _pkg_short_errors_supported=yes
31924 else
31925         _pkg_short_errors_supported=no
31926 fi
31927         if test $_pkg_short_errors_supported = yes; then
31928                 CELT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "celt >= 0.5.0"`
31929         else
31930                 CELT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "celt >= 0.5.0"`
31931         fi
31932         # Put the nasty error message in config.log where it belongs
31933         echo "$CELT_PKG_ERRORS" >&5
31934
31935         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31936 $as_echo "no" >&6; }
31937
31938           HAVE_CELT="no"
31939
31940 elif test $pkg_failed = untried; then
31941
31942           HAVE_CELT="no"
31943
31944 else
31945         CELT_CFLAGS=$pkg_cv_CELT_CFLAGS
31946         CELT_LIBS=$pkg_cv_CELT_LIBS
31947         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31948 $as_echo "yes" >&6; }
31949
31950
31951 $as_echo "#define HAVE_CELT 1" >>confdefs.h
31952
31953           HAVE_CELT="yes"
31954
31955 fi
31956
31957
31958 pkg_failed=no
31959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CELT_0_7" >&5
31960 $as_echo_n "checking for CELT_0_7... " >&6; }
31961
31962 if test -n "$PKG_CONFIG"; then
31963     if test -n "$CELT_0_7_CFLAGS"; then
31964         pkg_cv_CELT_0_7_CFLAGS="$CELT_0_7_CFLAGS"
31965     else
31966         if test -n "$PKG_CONFIG" && \
31967     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"celt >= 0.7.0\""; } >&5
31968   ($PKG_CONFIG --exists --print-errors "celt >= 0.7.0") 2>&5
31969   ac_status=$?
31970   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31971   test $ac_status = 0; }; then
31972   pkg_cv_CELT_0_7_CFLAGS=`$PKG_CONFIG --cflags "celt >= 0.7.0" 2>/dev/null`
31973 else
31974   pkg_failed=yes
31975 fi
31976     fi
31977 else
31978         pkg_failed=untried
31979 fi
31980 if test -n "$PKG_CONFIG"; then
31981     if test -n "$CELT_0_7_LIBS"; then
31982         pkg_cv_CELT_0_7_LIBS="$CELT_0_7_LIBS"
31983     else
31984         if test -n "$PKG_CONFIG" && \
31985     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"celt >= 0.7.0\""; } >&5
31986   ($PKG_CONFIG --exists --print-errors "celt >= 0.7.0") 2>&5
31987   ac_status=$?
31988   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31989   test $ac_status = 0; }; then
31990   pkg_cv_CELT_0_7_LIBS=`$PKG_CONFIG --libs "celt >= 0.7.0" 2>/dev/null`
31991 else
31992   pkg_failed=yes
31993 fi
31994     fi
31995 else
31996         pkg_failed=untried
31997 fi
31998
31999
32000
32001 if test $pkg_failed = yes; then
32002
32003 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32004         _pkg_short_errors_supported=yes
32005 else
32006         _pkg_short_errors_supported=no
32007 fi
32008         if test $_pkg_short_errors_supported = yes; then
32009                 CELT_0_7_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "celt >= 0.7.0"`
32010         else
32011                 CELT_0_7_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "celt >= 0.7.0"`
32012         fi
32013         # Put the nasty error message in config.log where it belongs
32014         echo "$CELT_0_7_PKG_ERRORS" >&5
32015
32016         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32017 $as_echo "no" >&6; }
32018
32019                     true
32020
32021 elif test $pkg_failed = untried; then
32022
32023                     true
32024
32025 else
32026         CELT_0_7_CFLAGS=$pkg_cv_CELT_0_7_CFLAGS
32027         CELT_0_7_LIBS=$pkg_cv_CELT_0_7_LIBS
32028         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32029 $as_echo "yes" >&6; }
32030
32031
32032 $as_echo "#define HAVE_CELT_0_7 1" >>confdefs.h
32033
32034
32035 fi
32036
32037
32038 pkg_failed=no
32039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CELT_0_8" >&5
32040 $as_echo_n "checking for CELT_0_8... " >&6; }
32041
32042 if test -n "$PKG_CONFIG"; then
32043     if test -n "$CELT_0_8_CFLAGS"; then
32044         pkg_cv_CELT_0_8_CFLAGS="$CELT_0_8_CFLAGS"
32045     else
32046         if test -n "$PKG_CONFIG" && \
32047     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"celt >= 0.8.0\""; } >&5
32048   ($PKG_CONFIG --exists --print-errors "celt >= 0.8.0") 2>&5
32049   ac_status=$?
32050   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32051   test $ac_status = 0; }; then
32052   pkg_cv_CELT_0_8_CFLAGS=`$PKG_CONFIG --cflags "celt >= 0.8.0" 2>/dev/null`
32053 else
32054   pkg_failed=yes
32055 fi
32056     fi
32057 else
32058         pkg_failed=untried
32059 fi
32060 if test -n "$PKG_CONFIG"; then
32061     if test -n "$CELT_0_8_LIBS"; then
32062         pkg_cv_CELT_0_8_LIBS="$CELT_0_8_LIBS"
32063     else
32064         if test -n "$PKG_CONFIG" && \
32065     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"celt >= 0.8.0\""; } >&5
32066   ($PKG_CONFIG --exists --print-errors "celt >= 0.8.0") 2>&5
32067   ac_status=$?
32068   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32069   test $ac_status = 0; }; then
32070   pkg_cv_CELT_0_8_LIBS=`$PKG_CONFIG --libs "celt >= 0.8.0" 2>/dev/null`
32071 else
32072   pkg_failed=yes
32073 fi
32074     fi
32075 else
32076         pkg_failed=untried
32077 fi
32078
32079
32080
32081 if test $pkg_failed = yes; then
32082
32083 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32084         _pkg_short_errors_supported=yes
32085 else
32086         _pkg_short_errors_supported=no
32087 fi
32088         if test $_pkg_short_errors_supported = yes; then
32089                 CELT_0_8_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "celt >= 0.8.0"`
32090         else
32091                 CELT_0_8_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "celt >= 0.8.0"`
32092         fi
32093         # Put the nasty error message in config.log where it belongs
32094         echo "$CELT_0_8_PKG_ERRORS" >&5
32095
32096         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32097 $as_echo "no" >&6; }
32098
32099                     true
32100
32101 elif test $pkg_failed = untried; then
32102
32103                     true
32104
32105 else
32106         CELT_0_8_CFLAGS=$pkg_cv_CELT_0_8_CFLAGS
32107         CELT_0_8_LIBS=$pkg_cv_CELT_0_8_LIBS
32108         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32109 $as_echo "yes" >&6; }
32110
32111
32112 $as_echo "#define HAVE_CELT_0_8 1" >>confdefs.h
32113
32114
32115 fi
32116
32117
32118 pkg_failed=no
32119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CELT_0_11" >&5
32120 $as_echo_n "checking for CELT_0_11... " >&6; }
32121
32122 if test -n "$PKG_CONFIG"; then
32123     if test -n "$CELT_0_11_CFLAGS"; then
32124         pkg_cv_CELT_0_11_CFLAGS="$CELT_0_11_CFLAGS"
32125     else
32126         if test -n "$PKG_CONFIG" && \
32127     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"celt >= 0.11.0\""; } >&5
32128   ($PKG_CONFIG --exists --print-errors "celt >= 0.11.0") 2>&5
32129   ac_status=$?
32130   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32131   test $ac_status = 0; }; then
32132   pkg_cv_CELT_0_11_CFLAGS=`$PKG_CONFIG --cflags "celt >= 0.11.0" 2>/dev/null`
32133 else
32134   pkg_failed=yes
32135 fi
32136     fi
32137 else
32138         pkg_failed=untried
32139 fi
32140 if test -n "$PKG_CONFIG"; then
32141     if test -n "$CELT_0_11_LIBS"; then
32142         pkg_cv_CELT_0_11_LIBS="$CELT_0_11_LIBS"
32143     else
32144         if test -n "$PKG_CONFIG" && \
32145     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"celt >= 0.11.0\""; } >&5
32146   ($PKG_CONFIG --exists --print-errors "celt >= 0.11.0") 2>&5
32147   ac_status=$?
32148   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32149   test $ac_status = 0; }; then
32150   pkg_cv_CELT_0_11_LIBS=`$PKG_CONFIG --libs "celt >= 0.11.0" 2>/dev/null`
32151 else
32152   pkg_failed=yes
32153 fi
32154     fi
32155 else
32156         pkg_failed=untried
32157 fi
32158
32159
32160
32161 if test $pkg_failed = yes; then
32162
32163 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32164         _pkg_short_errors_supported=yes
32165 else
32166         _pkg_short_errors_supported=no
32167 fi
32168         if test $_pkg_short_errors_supported = yes; then
32169                 CELT_0_11_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "celt >= 0.11.0"`
32170         else
32171                 CELT_0_11_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "celt >= 0.11.0"`
32172         fi
32173         # Put the nasty error message in config.log where it belongs
32174         echo "$CELT_0_11_PKG_ERRORS" >&5
32175
32176         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32177 $as_echo "no" >&6; }
32178
32179                     true
32180
32181 elif test $pkg_failed = untried; then
32182
32183                     true
32184
32185 else
32186         CELT_0_11_CFLAGS=$pkg_cv_CELT_0_11_CFLAGS
32187         CELT_0_11_LIBS=$pkg_cv_CELT_0_11_LIBS
32188         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32189 $as_echo "yes" >&6; }
32190
32191
32192 $as_echo "#define HAVE_CELT_0_11 1" >>confdefs.h
32193
32194
32195 fi
32196
32197
32198
32199
32200   LIBS=$gst_check_save_LIBS
32201   LDFLAGS=$gst_check_save_LDFLAGS
32202   CFLAGS=$gst_check_save_CFLAGS
32203   CPPFLAGS=$gst_check_save_CPPFLAGS
32204   CXXFLAGS=$gst_check_save_CXXFLAGS
32205
32206     if test x$HAVE_CELT = xno; then
32207     USE_CELT=no
32208   else
32209     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: celt" >&5
32210 $as_echo "$as_me: *** These plugins will be built: celt" >&6;}
32211   fi
32212 fi
32213 if test x$USE_CELT = xyes; then
32214   :
32215   if test "xcelt" != "x"; then
32216     GST_PLUGINS_YES="\tcelt\n$GST_PLUGINS_YES"
32217   fi
32218
32219 $as_echo "#define HAVE_CELT /**/" >>confdefs.h
32220
32221 else
32222   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: celt" >&5
32223 $as_echo "$as_me: *** These plugins will not be built: celt" >&6;}
32224   if test "xcelt" != "x"; then
32225     GST_PLUGINS_NO="\tcelt\n$GST_PLUGINS_NO"
32226   fi
32227   :
32228 fi
32229  if test x$USE_CELT = xyes; then
32230   USE_CELT_TRUE=
32231   USE_CELT_FALSE='#'
32232 else
32233   USE_CELT_TRUE='#'
32234   USE_CELT_FALSE=
32235 fi
32236
32237
32238
32239 echo
32240 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Cog plugin ***" >&5
32241 $as_echo "$as_me: *** checking feature: Cog plugin ***" >&6;}
32242 if test "xcog" != "x"
32243 then
32244   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: cog ***" >&5
32245 $as_echo "$as_me: *** for plug-ins: cog ***" >&6;}
32246 fi
32247 NOUSE=
32248 if test "x$USE_COG" = "xno"; then
32249   NOUSE="yes"
32250 fi
32251 # Check whether --enable-cog was given.
32252 if test "${enable_cog+set}" = set; then :
32253   enableval=$enable_cog;  case "${enableval}" in
32254       yes) USE_COG=yes;;
32255       no) USE_COG=no;;
32256       *) as_fn_error $? "bad value ${enableval} for --enable-cog" "$LINENO" 5 ;;
32257     esac
32258 else
32259    USE_COG=yes
32260 fi
32261
32262 if test "x$NOUSE" = "xyes"; then
32263   USE_COG="no"
32264   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** cog pre-configured not to be built" >&5
32265 $as_echo "$as_me: WARNING: *** cog pre-configured not to be built" >&2;}
32266 fi
32267 NOUSE=
32268
32269
32270 if test x$USE_COG = xyes; then
32271
32272   gst_check_save_LIBS=$LIBS
32273   gst_check_save_LDFLAGS=$LDFLAGS
32274   gst_check_save_CFLAGS=$CFLAGS
32275   gst_check_save_CPPFLAGS=$CPPFLAGS
32276   gst_check_save_CXXFLAGS=$CXXFLAGS
32277
32278   HAVE_COG=no
32279
32280
32281 pkg_failed=no
32282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for COG" >&5
32283 $as_echo_n "checking for COG... " >&6; }
32284
32285 if test -n "$PKG_CONFIG"; then
32286     if test -n "$COG_CFLAGS"; then
32287         pkg_cv_COG_CFLAGS="$COG_CFLAGS"
32288     else
32289         if test -n "$PKG_CONFIG" && \
32290     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng >= 1.2\""; } >&5
32291   ($PKG_CONFIG --exists --print-errors "libpng >= 1.2") 2>&5
32292   ac_status=$?
32293   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32294   test $ac_status = 0; }; then
32295   pkg_cv_COG_CFLAGS=`$PKG_CONFIG --cflags "libpng >= 1.2" 2>/dev/null`
32296 else
32297   pkg_failed=yes
32298 fi
32299     fi
32300 else
32301         pkg_failed=untried
32302 fi
32303 if test -n "$PKG_CONFIG"; then
32304     if test -n "$COG_LIBS"; then
32305         pkg_cv_COG_LIBS="$COG_LIBS"
32306     else
32307         if test -n "$PKG_CONFIG" && \
32308     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng >= 1.2\""; } >&5
32309   ($PKG_CONFIG --exists --print-errors "libpng >= 1.2") 2>&5
32310   ac_status=$?
32311   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32312   test $ac_status = 0; }; then
32313   pkg_cv_COG_LIBS=`$PKG_CONFIG --libs "libpng >= 1.2" 2>/dev/null`
32314 else
32315   pkg_failed=yes
32316 fi
32317     fi
32318 else
32319         pkg_failed=untried
32320 fi
32321
32322
32323
32324 if test $pkg_failed = yes; then
32325
32326 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32327         _pkg_short_errors_supported=yes
32328 else
32329         _pkg_short_errors_supported=no
32330 fi
32331         if test $_pkg_short_errors_supported = yes; then
32332                 COG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libpng >= 1.2"`
32333         else
32334                 COG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libpng >= 1.2"`
32335         fi
32336         # Put the nasty error message in config.log where it belongs
32337         echo "$COG_PKG_ERRORS" >&5
32338
32339         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32340 $as_echo "no" >&6; }
32341
32342     HAVE_COG="no"
32343
32344 elif test $pkg_failed = untried; then
32345
32346     HAVE_COG="no"
32347
32348 else
32349         COG_CFLAGS=$pkg_cv_COG_CFLAGS
32350         COG_LIBS=$pkg_cv_COG_LIBS
32351         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32352 $as_echo "yes" >&6; }
32353         HAVE_COG="yes"
32354 fi
32355
32356
32357
32358
32359   LIBS=$gst_check_save_LIBS
32360   LDFLAGS=$gst_check_save_LDFLAGS
32361   CFLAGS=$gst_check_save_CFLAGS
32362   CPPFLAGS=$gst_check_save_CPPFLAGS
32363   CXXFLAGS=$gst_check_save_CXXFLAGS
32364
32365     if test x$HAVE_COG = xno; then
32366     USE_COG=no
32367   else
32368     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: cog" >&5
32369 $as_echo "$as_me: *** These plugins will be built: cog" >&6;}
32370   fi
32371 fi
32372 if test x$USE_COG = xyes; then
32373   :
32374   if test "xcog" != "x"; then
32375     GST_PLUGINS_YES="\tcog\n$GST_PLUGINS_YES"
32376   fi
32377
32378 $as_echo "#define HAVE_COG /**/" >>confdefs.h
32379
32380 else
32381   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: cog" >&5
32382 $as_echo "$as_me: *** These plugins will not be built: cog" >&6;}
32383   if test "xcog" != "x"; then
32384     GST_PLUGINS_NO="\tcog\n$GST_PLUGINS_NO"
32385   fi
32386   :
32387 fi
32388  if test x$USE_COG = xyes; then
32389   USE_COG_TRUE=
32390   USE_COG_FALSE='#'
32391 else
32392   USE_COG_TRUE='#'
32393   USE_COG_FALSE=
32394 fi
32395
32396
32397
32398 echo
32399 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Curl plugin ***" >&5
32400 $as_echo "$as_me: *** checking feature: Curl plugin ***" >&6;}
32401 if test "xcurl" != "x"
32402 then
32403   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: curl ***" >&5
32404 $as_echo "$as_me: *** for plug-ins: curl ***" >&6;}
32405 fi
32406 NOUSE=
32407 if test "x$USE_CURL" = "xno"; then
32408   NOUSE="yes"
32409 fi
32410 # Check whether --enable-curl was given.
32411 if test "${enable_curl+set}" = set; then :
32412   enableval=$enable_curl;  case "${enableval}" in
32413       yes) USE_CURL=yes;;
32414       no) USE_CURL=no;;
32415       *) as_fn_error $? "bad value ${enableval} for --enable-curl" "$LINENO" 5 ;;
32416     esac
32417 else
32418    USE_CURL=yes
32419 fi
32420
32421 if test "x$NOUSE" = "xyes"; then
32422   USE_CURL="no"
32423   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** curl pre-configured not to be built" >&5
32424 $as_echo "$as_me: WARNING: *** curl pre-configured not to be built" >&2;}
32425 fi
32426 NOUSE=
32427
32428
32429 if test x$USE_CURL = xyes; then
32430
32431   gst_check_save_LIBS=$LIBS
32432   gst_check_save_LDFLAGS=$LDFLAGS
32433   gst_check_save_CFLAGS=$CFLAGS
32434   gst_check_save_CPPFLAGS=$CPPFLAGS
32435   gst_check_save_CXXFLAGS=$CXXFLAGS
32436
32437   HAVE_CURL=no
32438
32439
32440 pkg_failed=no
32441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CURL" >&5
32442 $as_echo_n "checking for CURL... " >&6; }
32443
32444 if test -n "$PKG_CONFIG"; then
32445     if test -n "$CURL_CFLAGS"; then
32446         pkg_cv_CURL_CFLAGS="$CURL_CFLAGS"
32447     else
32448         if test -n "$PKG_CONFIG" && \
32449     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl >= 7.21.0\""; } >&5
32450   ($PKG_CONFIG --exists --print-errors "libcurl >= 7.21.0") 2>&5
32451   ac_status=$?
32452   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32453   test $ac_status = 0; }; then
32454   pkg_cv_CURL_CFLAGS=`$PKG_CONFIG --cflags "libcurl >= 7.21.0" 2>/dev/null`
32455 else
32456   pkg_failed=yes
32457 fi
32458     fi
32459 else
32460         pkg_failed=untried
32461 fi
32462 if test -n "$PKG_CONFIG"; then
32463     if test -n "$CURL_LIBS"; then
32464         pkg_cv_CURL_LIBS="$CURL_LIBS"
32465     else
32466         if test -n "$PKG_CONFIG" && \
32467     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl >= 7.21.0\""; } >&5
32468   ($PKG_CONFIG --exists --print-errors "libcurl >= 7.21.0") 2>&5
32469   ac_status=$?
32470   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32471   test $ac_status = 0; }; then
32472   pkg_cv_CURL_LIBS=`$PKG_CONFIG --libs "libcurl >= 7.21.0" 2>/dev/null`
32473 else
32474   pkg_failed=yes
32475 fi
32476     fi
32477 else
32478         pkg_failed=untried
32479 fi
32480
32481
32482
32483 if test $pkg_failed = yes; then
32484
32485 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32486         _pkg_short_errors_supported=yes
32487 else
32488         _pkg_short_errors_supported=no
32489 fi
32490         if test $_pkg_short_errors_supported = yes; then
32491                 CURL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libcurl >= 7.21.0"`
32492         else
32493                 CURL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libcurl >= 7.21.0"`
32494         fi
32495         # Put the nasty error message in config.log where it belongs
32496         echo "$CURL_PKG_ERRORS" >&5
32497
32498         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32499 $as_echo "no" >&6; }
32500
32501     HAVE_CURL="no"
32502
32503 elif test $pkg_failed = untried; then
32504
32505     HAVE_CURL="no"
32506
32507 else
32508         CURL_CFLAGS=$pkg_cv_CURL_CFLAGS
32509         CURL_LIBS=$pkg_cv_CURL_LIBS
32510         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32511 $as_echo "yes" >&6; }
32512
32513     HAVE_CURL="yes"
32514     for ac_header in unistd.h sys/socket.h sys/types.h netinet/in.h netinet/ip.h netinet/tcp.h fcntl.h
32515 do :
32516   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
32517 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
32518 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
32519   cat >>confdefs.h <<_ACEOF
32520 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
32521 _ACEOF
32522
32523 else
32524   HAVE_CURL="no"
32525 fi
32526
32527 done
32528
32529     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket support needed by curlsink" >&5
32530 $as_echo_n "checking for socket support needed by curlsink... " >&6; }
32531     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_CURL" >&5
32532 $as_echo "$HAVE_CURL" >&6; }
32533
32534 fi
32535
32536
32537
32538
32539   LIBS=$gst_check_save_LIBS
32540   LDFLAGS=$gst_check_save_LDFLAGS
32541   CFLAGS=$gst_check_save_CFLAGS
32542   CPPFLAGS=$gst_check_save_CPPFLAGS
32543   CXXFLAGS=$gst_check_save_CXXFLAGS
32544
32545     if test x$HAVE_CURL = xno; then
32546     USE_CURL=no
32547   else
32548     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: curl" >&5
32549 $as_echo "$as_me: *** These plugins will be built: curl" >&6;}
32550   fi
32551 fi
32552 if test x$USE_CURL = xyes; then
32553   :
32554   if test "xcurl" != "x"; then
32555     GST_PLUGINS_YES="\tcurl\n$GST_PLUGINS_YES"
32556   fi
32557
32558 $as_echo "#define HAVE_CURL /**/" >>confdefs.h
32559
32560 else
32561   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: curl" >&5
32562 $as_echo "$as_me: *** These plugins will not be built: curl" >&6;}
32563   if test "xcurl" != "x"; then
32564     GST_PLUGINS_NO="\tcurl\n$GST_PLUGINS_NO"
32565   fi
32566   :
32567 fi
32568  if test x$USE_CURL = xyes; then
32569   USE_CURL_TRUE=
32570   USE_CURL_FALSE='#'
32571 else
32572   USE_CURL_TRUE='#'
32573   USE_CURL_FALSE=
32574 fi
32575
32576
32577
32578 echo
32579 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: libdc1394 ***" >&5
32580 $as_echo "$as_me: *** checking feature: libdc1394 ***" >&6;}
32581 if test "xdc1394" != "x"
32582 then
32583   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: dc1394 ***" >&5
32584 $as_echo "$as_me: *** for plug-ins: dc1394 ***" >&6;}
32585 fi
32586 NOUSE=
32587 if test "x$USE_DC1394" = "xno"; then
32588   NOUSE="yes"
32589 fi
32590 # Check whether --enable-dc1394 was given.
32591 if test "${enable_dc1394+set}" = set; then :
32592   enableval=$enable_dc1394;  case "${enableval}" in
32593       yes) USE_DC1394=yes;;
32594       no) USE_DC1394=no;;
32595       *) as_fn_error $? "bad value ${enableval} for --enable-dc1394" "$LINENO" 5 ;;
32596     esac
32597 else
32598    USE_DC1394=yes
32599 fi
32600
32601 if test "x$NOUSE" = "xyes"; then
32602   USE_DC1394="no"
32603   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** dc1394 pre-configured not to be built" >&5
32604 $as_echo "$as_me: WARNING: *** dc1394 pre-configured not to be built" >&2;}
32605 fi
32606 NOUSE=
32607
32608
32609 if test x$USE_DC1394 = xyes; then
32610
32611   gst_check_save_LIBS=$LIBS
32612   gst_check_save_LDFLAGS=$LDFLAGS
32613   gst_check_save_CFLAGS=$CFLAGS
32614   gst_check_save_CPPFLAGS=$CPPFLAGS
32615   gst_check_save_CXXFLAGS=$CXXFLAGS
32616
32617   HAVE_DC1394=no
32618
32619
32620 pkg_failed=no
32621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBDC1394" >&5
32622 $as_echo_n "checking for LIBDC1394... " >&6; }
32623
32624 if test -n "$PKG_CONFIG"; then
32625     if test -n "$LIBDC1394_CFLAGS"; then
32626         pkg_cv_LIBDC1394_CFLAGS="$LIBDC1394_CFLAGS"
32627     else
32628         if test -n "$PKG_CONFIG" && \
32629     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdc1394-2 >= 2.0.0\""; } >&5
32630   ($PKG_CONFIG --exists --print-errors "libdc1394-2 >= 2.0.0") 2>&5
32631   ac_status=$?
32632   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32633   test $ac_status = 0; }; then
32634   pkg_cv_LIBDC1394_CFLAGS=`$PKG_CONFIG --cflags "libdc1394-2 >= 2.0.0" 2>/dev/null`
32635 else
32636   pkg_failed=yes
32637 fi
32638     fi
32639 else
32640         pkg_failed=untried
32641 fi
32642 if test -n "$PKG_CONFIG"; then
32643     if test -n "$LIBDC1394_LIBS"; then
32644         pkg_cv_LIBDC1394_LIBS="$LIBDC1394_LIBS"
32645     else
32646         if test -n "$PKG_CONFIG" && \
32647     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdc1394-2 >= 2.0.0\""; } >&5
32648   ($PKG_CONFIG --exists --print-errors "libdc1394-2 >= 2.0.0") 2>&5
32649   ac_status=$?
32650   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32651   test $ac_status = 0; }; then
32652   pkg_cv_LIBDC1394_LIBS=`$PKG_CONFIG --libs "libdc1394-2 >= 2.0.0" 2>/dev/null`
32653 else
32654   pkg_failed=yes
32655 fi
32656     fi
32657 else
32658         pkg_failed=untried
32659 fi
32660
32661
32662
32663 if test $pkg_failed = yes; then
32664
32665 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32666         _pkg_short_errors_supported=yes
32667 else
32668         _pkg_short_errors_supported=no
32669 fi
32670         if test $_pkg_short_errors_supported = yes; then
32671                 LIBDC1394_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libdc1394-2 >= 2.0.0"`
32672         else
32673                 LIBDC1394_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libdc1394-2 >= 2.0.0"`
32674         fi
32675         # Put the nasty error message in config.log where it belongs
32676         echo "$LIBDC1394_PKG_ERRORS" >&5
32677
32678         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32679 $as_echo "no" >&6; }
32680
32681         HAVE_DC1394="no"
32682         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32683 $as_echo "no" >&6; }
32684
32685 elif test $pkg_failed = untried; then
32686
32687         HAVE_DC1394="no"
32688         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32689 $as_echo "no" >&6; }
32690
32691 else
32692         LIBDC1394_CFLAGS=$pkg_cv_LIBDC1394_CFLAGS
32693         LIBDC1394_LIBS=$pkg_cv_LIBDC1394_LIBS
32694         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32695 $as_echo "yes" >&6; }
32696
32697         if test -z "`$PKG_CONFIG --modversion libdc1394-2 | grep 2.0.0-rc`"; then
32698                 HAVE_DC1394="yes"
32699         else
32700                 HAVE_DC1394="no"
32701         fi
32702
32703 fi
32704
32705
32706
32707
32708   LIBS=$gst_check_save_LIBS
32709   LDFLAGS=$gst_check_save_LDFLAGS
32710   CFLAGS=$gst_check_save_CFLAGS
32711   CPPFLAGS=$gst_check_save_CPPFLAGS
32712   CXXFLAGS=$gst_check_save_CXXFLAGS
32713
32714     if test x$HAVE_DC1394 = xno; then
32715     USE_DC1394=no
32716   else
32717     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: dc1394" >&5
32718 $as_echo "$as_me: *** These plugins will be built: dc1394" >&6;}
32719   fi
32720 fi
32721 if test x$USE_DC1394 = xyes; then
32722   :
32723   if test "xdc1394" != "x"; then
32724     GST_PLUGINS_YES="\tdc1394\n$GST_PLUGINS_YES"
32725   fi
32726
32727 $as_echo "#define HAVE_DC1394 /**/" >>confdefs.h
32728
32729 else
32730   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: dc1394" >&5
32731 $as_echo "$as_me: *** These plugins will not be built: dc1394" >&6;}
32732   if test "xdc1394" != "x"; then
32733     GST_PLUGINS_NO="\tdc1394\n$GST_PLUGINS_NO"
32734   fi
32735   :
32736 fi
32737  if test x$USE_DC1394 = xyes; then
32738   USE_DC1394_TRUE=
32739   USE_DC1394_FALSE='#'
32740 else
32741   USE_DC1394_TRUE='#'
32742   USE_DC1394_FALSE=
32743 fi
32744
32745
32746
32747 echo
32748 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: decklink ***" >&5
32749 $as_echo "$as_me: *** checking feature: decklink ***" >&6;}
32750 if test "xdecklink" != "x"
32751 then
32752   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: decklink ***" >&5
32753 $as_echo "$as_me: *** for plug-ins: decklink ***" >&6;}
32754 fi
32755 NOUSE=
32756 if test "x$USE_DECKLINK" = "xno"; then
32757   NOUSE="yes"
32758 fi
32759 # Check whether --enable-decklink was given.
32760 if test "${enable_decklink+set}" = set; then :
32761   enableval=$enable_decklink;  case "${enableval}" in
32762       yes) USE_DECKLINK=yes;;
32763       no) USE_DECKLINK=no;;
32764       *) as_fn_error $? "bad value ${enableval} for --enable-decklink" "$LINENO" 5 ;;
32765     esac
32766 else
32767    USE_DECKLINK=yes
32768 fi
32769
32770 if test "x$NOUSE" = "xyes"; then
32771   USE_DECKLINK="no"
32772   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** decklink pre-configured not to be built" >&5
32773 $as_echo "$as_me: WARNING: *** decklink pre-configured not to be built" >&2;}
32774 fi
32775 NOUSE=
32776
32777
32778 if test x$USE_DECKLINK = xyes; then
32779
32780   gst_check_save_LIBS=$LIBS
32781   gst_check_save_LDFLAGS=$LDFLAGS
32782   gst_check_save_CFLAGS=$CFLAGS
32783   gst_check_save_CPPFLAGS=$CPPFLAGS
32784   gst_check_save_CXXFLAGS=$CXXFLAGS
32785
32786   HAVE_DECKLINK=no
32787
32788    HAVE_DECKLINK=no
32789    case "$host" in
32790      *-*linux*)
32791        if test "x$HAVE_PTHREAD_H" = "xyes"; then
32792          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
32793 $as_echo_n "checking for dlopen in -ldl... " >&6; }
32794 if ${ac_cv_lib_dl_dlopen+:} false; then :
32795   $as_echo_n "(cached) " >&6
32796 else
32797   ac_check_lib_save_LIBS=$LIBS
32798 LIBS="-ldl  $LIBS"
32799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32800 /* end confdefs.h.  */
32801
32802 /* Override any GCC internal prototype to avoid an error.
32803    Use char because int might match the return type of a GCC
32804    builtin and then its argument prototype would still apply.  */
32805 #ifdef __cplusplus
32806 extern "C"
32807 #endif
32808 char dlopen ();
32809 int
32810 main ()
32811 {
32812 return dlopen ();
32813   ;
32814   return 0;
32815 }
32816 _ACEOF
32817 if ac_fn_c_try_link "$LINENO"; then :
32818   ac_cv_lib_dl_dlopen=yes
32819 else
32820   ac_cv_lib_dl_dlopen=no
32821 fi
32822 rm -f core conftest.err conftest.$ac_objext \
32823     conftest$ac_exeext conftest.$ac_ext
32824 LIBS=$ac_check_lib_save_LIBS
32825 fi
32826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
32827 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
32828 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
32829
32830             HAVE_DECKLINK=yes
32831             DECKLINK_CXXFLAGS=
32832             DECKLINK_LIBS="-lpthread -ldl"
32833
32834 fi
32835
32836        fi
32837        ;;
32838      *)
32839        HAVE_DECKLINK=no
32840        ;;
32841    esac
32842
32843
32844
32845
32846
32847   LIBS=$gst_check_save_LIBS
32848   LDFLAGS=$gst_check_save_LDFLAGS
32849   CFLAGS=$gst_check_save_CFLAGS
32850   CPPFLAGS=$gst_check_save_CPPFLAGS
32851   CXXFLAGS=$gst_check_save_CXXFLAGS
32852
32853     if test x$HAVE_DECKLINK = xno; then
32854     USE_DECKLINK=no
32855   else
32856     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: decklink" >&5
32857 $as_echo "$as_me: *** These plugins will be built: decklink" >&6;}
32858   fi
32859 fi
32860 if test x$USE_DECKLINK = xyes; then
32861   :
32862   if test "xdecklink" != "x"; then
32863     GST_PLUGINS_YES="\tdecklink\n$GST_PLUGINS_YES"
32864   fi
32865
32866 $as_echo "#define HAVE_DECKLINK /**/" >>confdefs.h
32867
32868 else
32869   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: decklink" >&5
32870 $as_echo "$as_me: *** These plugins will not be built: decklink" >&6;}
32871   if test "xdecklink" != "x"; then
32872     GST_PLUGINS_NO="\tdecklink\n$GST_PLUGINS_NO"
32873   fi
32874   :
32875 fi
32876  if test x$USE_DECKLINK = xyes; then
32877   USE_DECKLINK_TRUE=
32878   USE_DECKLINK_FALSE='#'
32879 else
32880   USE_DECKLINK_TRUE='#'
32881   USE_DECKLINK_FALSE=
32882 fi
32883
32884
32885
32886 echo
32887 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: directfb ***" >&5
32888 $as_echo "$as_me: *** checking feature: directfb ***" >&6;}
32889 if test "xdfbvideosink " != "x"
32890 then
32891   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: dfbvideosink  ***" >&5
32892 $as_echo "$as_me: *** for plug-ins: dfbvideosink  ***" >&6;}
32893 fi
32894 NOUSE=
32895 if test "x$USE_DIRECTFB" = "xno"; then
32896   NOUSE="yes"
32897 fi
32898 # Check whether --enable-directfb was given.
32899 if test "${enable_directfb+set}" = set; then :
32900   enableval=$enable_directfb;  case "${enableval}" in
32901       yes) USE_DIRECTFB=yes;;
32902       no) USE_DIRECTFB=no;;
32903       *) as_fn_error $? "bad value ${enableval} for --enable-directfb" "$LINENO" 5 ;;
32904     esac
32905 else
32906    USE_DIRECTFB=yes
32907 fi
32908
32909 if test "x$NOUSE" = "xyes"; then
32910   USE_DIRECTFB="no"
32911   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** dfbvideosink  pre-configured not to be built" >&5
32912 $as_echo "$as_me: WARNING: *** dfbvideosink  pre-configured not to be built" >&2;}
32913 fi
32914 NOUSE=
32915
32916
32917 if test x$USE_DIRECTFB = xyes; then
32918
32919   gst_check_save_LIBS=$LIBS
32920   gst_check_save_LDFLAGS=$LDFLAGS
32921   gst_check_save_CFLAGS=$CFLAGS
32922   gst_check_save_CPPFLAGS=$CPPFLAGS
32923   gst_check_save_CXXFLAGS=$CXXFLAGS
32924
32925   HAVE_DIRECTFB=no
32926
32927
32928 pkg_failed=no
32929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DIRECTFB" >&5
32930 $as_echo_n "checking for DIRECTFB... " >&6; }
32931
32932 if test -n "$PKG_CONFIG"; then
32933     if test -n "$DIRECTFB_CFLAGS"; then
32934         pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
32935     else
32936         if test -n "$PKG_CONFIG" && \
32937     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.24\""; } >&5
32938   ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.24") 2>&5
32939   ac_status=$?
32940   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32941   test $ac_status = 0; }; then
32942   pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.24" 2>/dev/null`
32943 else
32944   pkg_failed=yes
32945 fi
32946     fi
32947 else
32948         pkg_failed=untried
32949 fi
32950 if test -n "$PKG_CONFIG"; then
32951     if test -n "$DIRECTFB_LIBS"; then
32952         pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
32953     else
32954         if test -n "$PKG_CONFIG" && \
32955     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.24\""; } >&5
32956   ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.24") 2>&5
32957   ac_status=$?
32958   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32959   test $ac_status = 0; }; then
32960   pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.24" 2>/dev/null`
32961 else
32962   pkg_failed=yes
32963 fi
32964     fi
32965 else
32966         pkg_failed=untried
32967 fi
32968
32969
32970
32971 if test $pkg_failed = yes; then
32972
32973 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32974         _pkg_short_errors_supported=yes
32975 else
32976         _pkg_short_errors_supported=no
32977 fi
32978         if test $_pkg_short_errors_supported = yes; then
32979                 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.24"`
32980         else
32981                 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.24"`
32982         fi
32983         # Put the nasty error message in config.log where it belongs
32984         echo "$DIRECTFB_PKG_ERRORS" >&5
32985
32986         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32987 $as_echo "no" >&6; }
32988
32989     HAVE_DIRECTFB="no"
32990
32991 elif test $pkg_failed = untried; then
32992
32993     HAVE_DIRECTFB="no"
32994
32995 else
32996         DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
32997         DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
32998         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32999 $as_echo "yes" >&6; }
33000         HAVE_DIRECTFB="yes"
33001 fi
33002
33003
33004   LIBS=$gst_check_save_LIBS
33005   LDFLAGS=$gst_check_save_LDFLAGS
33006   CFLAGS=$gst_check_save_CFLAGS
33007   CPPFLAGS=$gst_check_save_CPPFLAGS
33008   CXXFLAGS=$gst_check_save_CXXFLAGS
33009
33010     if test x$HAVE_DIRECTFB = xno; then
33011     USE_DIRECTFB=no
33012   else
33013     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: dfbvideosink " >&5
33014 $as_echo "$as_me: *** These plugins will be built: dfbvideosink " >&6;}
33015   fi
33016 fi
33017 if test x$USE_DIRECTFB = xyes; then
33018   :
33019   if test "xdfbvideosink " != "x"; then
33020     GST_PLUGINS_YES="\tdfbvideosink \n$GST_PLUGINS_YES"
33021   fi
33022
33023 $as_echo "#define HAVE_DIRECTFB /**/" >>confdefs.h
33024
33025 else
33026   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: dfbvideosink " >&5
33027 $as_echo "$as_me: *** These plugins will not be built: dfbvideosink " >&6;}
33028   if test "xdfbvideosink " != "x"; then
33029     GST_PLUGINS_NO="\tdfbvideosink \n$GST_PLUGINS_NO"
33030   fi
33031   :
33032 fi
33033  if test x$USE_DIRECTFB = xyes; then
33034   USE_DIRECTFB_TRUE=
33035   USE_DIRECTFB_FALSE='#'
33036 else
33037   USE_DIRECTFB_TRUE='#'
33038   USE_DIRECTFB_FALSE=
33039 fi
33040
33041
33042
33043 echo
33044 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: dirac ***" >&5
33045 $as_echo "$as_me: *** checking feature: dirac ***" >&6;}
33046 if test "xdirac" != "x"
33047 then
33048   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: dirac ***" >&5
33049 $as_echo "$as_me: *** for plug-ins: dirac ***" >&6;}
33050 fi
33051 NOUSE=
33052 if test "x$USE_DIRAC" = "xno"; then
33053   NOUSE="yes"
33054 fi
33055 # Check whether --enable-dirac was given.
33056 if test "${enable_dirac+set}" = set; then :
33057   enableval=$enable_dirac;  case "${enableval}" in
33058       yes) USE_DIRAC=yes;;
33059       no) USE_DIRAC=no;;
33060       *) as_fn_error $? "bad value ${enableval} for --enable-dirac" "$LINENO" 5 ;;
33061     esac
33062 else
33063    USE_DIRAC=yes
33064 fi
33065
33066 if test "x$NOUSE" = "xyes"; then
33067   USE_DIRAC="no"
33068   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** dirac pre-configured not to be built" >&5
33069 $as_echo "$as_me: WARNING: *** dirac pre-configured not to be built" >&2;}
33070 fi
33071 NOUSE=
33072
33073
33074 if test x$USE_DIRAC = xyes; then
33075
33076   gst_check_save_LIBS=$LIBS
33077   gst_check_save_LDFLAGS=$LDFLAGS
33078   gst_check_save_CFLAGS=$CFLAGS
33079   gst_check_save_CPPFLAGS=$CPPFLAGS
33080   gst_check_save_CXXFLAGS=$CXXFLAGS
33081
33082   HAVE_DIRAC=no
33083
33084
33085 pkg_failed=no
33086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DIRAC" >&5
33087 $as_echo_n "checking for DIRAC... " >&6; }
33088
33089 if test -n "$PKG_CONFIG"; then
33090     if test -n "$DIRAC_CFLAGS"; then
33091         pkg_cv_DIRAC_CFLAGS="$DIRAC_CFLAGS"
33092     else
33093         if test -n "$PKG_CONFIG" && \
33094     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dirac >= 0.10\""; } >&5
33095   ($PKG_CONFIG --exists --print-errors "dirac >= 0.10") 2>&5
33096   ac_status=$?
33097   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33098   test $ac_status = 0; }; then
33099   pkg_cv_DIRAC_CFLAGS=`$PKG_CONFIG --cflags "dirac >= 0.10" 2>/dev/null`
33100 else
33101   pkg_failed=yes
33102 fi
33103     fi
33104 else
33105         pkg_failed=untried
33106 fi
33107 if test -n "$PKG_CONFIG"; then
33108     if test -n "$DIRAC_LIBS"; then
33109         pkg_cv_DIRAC_LIBS="$DIRAC_LIBS"
33110     else
33111         if test -n "$PKG_CONFIG" && \
33112     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dirac >= 0.10\""; } >&5
33113   ($PKG_CONFIG --exists --print-errors "dirac >= 0.10") 2>&5
33114   ac_status=$?
33115   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33116   test $ac_status = 0; }; then
33117   pkg_cv_DIRAC_LIBS=`$PKG_CONFIG --libs "dirac >= 0.10" 2>/dev/null`
33118 else
33119   pkg_failed=yes
33120 fi
33121     fi
33122 else
33123         pkg_failed=untried
33124 fi
33125
33126
33127
33128 if test $pkg_failed = yes; then
33129
33130 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33131         _pkg_short_errors_supported=yes
33132 else
33133         _pkg_short_errors_supported=no
33134 fi
33135         if test $_pkg_short_errors_supported = yes; then
33136                 DIRAC_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "dirac >= 0.10"`
33137         else
33138                 DIRAC_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "dirac >= 0.10"`
33139         fi
33140         # Put the nasty error message in config.log where it belongs
33141         echo "$DIRAC_PKG_ERRORS" >&5
33142
33143         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33144 $as_echo "no" >&6; }
33145
33146     HAVE_DIRAC="no"
33147
33148 elif test $pkg_failed = untried; then
33149
33150     HAVE_DIRAC="no"
33151
33152 else
33153         DIRAC_CFLAGS=$pkg_cv_DIRAC_CFLAGS
33154         DIRAC_LIBS=$pkg_cv_DIRAC_LIBS
33155         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33156 $as_echo "yes" >&6; }
33157         HAVE_DIRAC="yes"
33158 fi
33159
33160
33161   LIBS=$gst_check_save_LIBS
33162   LDFLAGS=$gst_check_save_LDFLAGS
33163   CFLAGS=$gst_check_save_CFLAGS
33164   CPPFLAGS=$gst_check_save_CPPFLAGS
33165   CXXFLAGS=$gst_check_save_CXXFLAGS
33166
33167     if test x$HAVE_DIRAC = xno; then
33168     USE_DIRAC=no
33169   else
33170     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: dirac" >&5
33171 $as_echo "$as_me: *** These plugins will be built: dirac" >&6;}
33172   fi
33173 fi
33174 if test x$USE_DIRAC = xyes; then
33175   :
33176   if test "xdirac" != "x"; then
33177     GST_PLUGINS_YES="\tdirac\n$GST_PLUGINS_YES"
33178   fi
33179
33180 $as_echo "#define HAVE_DIRAC /**/" >>confdefs.h
33181
33182 else
33183   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: dirac" >&5
33184 $as_echo "$as_me: *** These plugins will not be built: dirac" >&6;}
33185   if test "xdirac" != "x"; then
33186     GST_PLUGINS_NO="\tdirac\n$GST_PLUGINS_NO"
33187   fi
33188   :
33189 fi
33190  if test x$USE_DIRAC = xyes; then
33191   USE_DIRAC_TRUE=
33192   USE_DIRAC_FALSE='#'
33193 else
33194   USE_DIRAC_TRUE='#'
33195   USE_DIRAC_FALSE=
33196 fi
33197
33198
33199
33200 echo
33201 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: dts library ***" >&5
33202 $as_echo "$as_me: *** checking feature: dts library ***" >&6;}
33203 if test "xdtsdec" != "x"
33204 then
33205   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: dtsdec ***" >&5
33206 $as_echo "$as_me: *** for plug-ins: dtsdec ***" >&6;}
33207 fi
33208 NOUSE=
33209 if test "x$USE_DTS" = "xno"; then
33210   NOUSE="yes"
33211 fi
33212 # Check whether --enable-dts was given.
33213 if test "${enable_dts+set}" = set; then :
33214   enableval=$enable_dts;  case "${enableval}" in
33215       yes) USE_DTS=yes;;
33216       no) USE_DTS=no;;
33217       *) as_fn_error $? "bad value ${enableval} for --enable-dts" "$LINENO" 5 ;;
33218     esac
33219 else
33220    USE_DTS=yes
33221 fi
33222
33223 if test "x$NOUSE" = "xyes"; then
33224   USE_DTS="no"
33225   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** dtsdec pre-configured not to be built" >&5
33226 $as_echo "$as_me: WARNING: *** dtsdec pre-configured not to be built" >&2;}
33227 fi
33228 NOUSE=
33229
33230
33231 if test x$USE_DTS = xyes; then
33232
33233   gst_check_save_LIBS=$LIBS
33234   gst_check_save_LDFLAGS=$LDFLAGS
33235   gst_check_save_CFLAGS=$CFLAGS
33236   gst_check_save_CPPFLAGS=$CPPFLAGS
33237   gst_check_save_CXXFLAGS=$CXXFLAGS
33238
33239   HAVE_DTS=no
33240
33241   HAVE_DTS="yes"
33242
33243   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dca_init in -ldca" >&5
33244 $as_echo_n "checking for dca_init in -ldca... " >&6; }
33245 if ${ac_cv_lib_dca_dca_init+:} false; then :
33246   $as_echo_n "(cached) " >&6
33247 else
33248   ac_check_lib_save_LIBS=$LIBS
33249 LIBS="-ldca $LIBM $LIBS"
33250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33251 /* end confdefs.h.  */
33252
33253 /* Override any GCC internal prototype to avoid an error.
33254    Use char because int might match the return type of a GCC
33255    builtin and then its argument prototype would still apply.  */
33256 #ifdef __cplusplus
33257 extern "C"
33258 #endif
33259 char dca_init ();
33260 int
33261 main ()
33262 {
33263 return dca_init ();
33264   ;
33265   return 0;
33266 }
33267 _ACEOF
33268 if ac_fn_c_try_link "$LINENO"; then :
33269   ac_cv_lib_dca_dca_init=yes
33270 else
33271   ac_cv_lib_dca_dca_init=no
33272 fi
33273 rm -f core conftest.err conftest.$ac_objext \
33274     conftest$ac_exeext conftest.$ac_ext
33275 LIBS=$ac_check_lib_save_LIBS
33276 fi
33277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dca_dca_init" >&5
33278 $as_echo "$ac_cv_lib_dca_dca_init" >&6; }
33279 if test "x$ac_cv_lib_dca_dca_init" = xyes; then :
33280   HAVE_DTS=yes
33281 else
33282   HAVE_DTS=no
33283 fi
33284
33285   if test "x$HAVE_DTS" = "xyes"; then
33286     ac_fn_c_check_header_mongrel "$LINENO" "dca.h" "ac_cv_header_dca_h" "$ac_includes_default"
33287 if test "x$ac_cv_header_dca_h" = xyes; then :
33288   :
33289 else
33290   HAVE_DTS=no
33291 fi
33292
33293
33294     if test "x$HAVE_DTS" = "xyes"; then
33295             DTS_LIBS="-ldca $LIBM"
33296     else
33297       HAVE_DTS="no"
33298     fi
33299   else
33300     HAVE_DTS="no"
33301   fi
33302
33303
33304
33305   if test $HAVE_DTS = "no"; then
33306
33307   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dts_init in -ldts_pic" >&5
33308 $as_echo_n "checking for dts_init in -ldts_pic... " >&6; }
33309 if ${ac_cv_lib_dts_pic_dts_init+:} false; then :
33310   $as_echo_n "(cached) " >&6
33311 else
33312   ac_check_lib_save_LIBS=$LIBS
33313 LIBS="-ldts_pic $LIBM $LIBS"
33314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33315 /* end confdefs.h.  */
33316
33317 /* Override any GCC internal prototype to avoid an error.
33318    Use char because int might match the return type of a GCC
33319    builtin and then its argument prototype would still apply.  */
33320 #ifdef __cplusplus
33321 extern "C"
33322 #endif
33323 char dts_init ();
33324 int
33325 main ()
33326 {
33327 return dts_init ();
33328   ;
33329   return 0;
33330 }
33331 _ACEOF
33332 if ac_fn_c_try_link "$LINENO"; then :
33333   ac_cv_lib_dts_pic_dts_init=yes
33334 else
33335   ac_cv_lib_dts_pic_dts_init=no
33336 fi
33337 rm -f core conftest.err conftest.$ac_objext \
33338     conftest$ac_exeext conftest.$ac_ext
33339 LIBS=$ac_check_lib_save_LIBS
33340 fi
33341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dts_pic_dts_init" >&5
33342 $as_echo "$ac_cv_lib_dts_pic_dts_init" >&6; }
33343 if test "x$ac_cv_lib_dts_pic_dts_init" = xyes; then :
33344   HAVE_DTS=yes
33345 else
33346   HAVE_DTS=no
33347 fi
33348
33349   if test "x$HAVE_DTS" = "xyes"; then
33350     ac_fn_c_check_header_mongrel "$LINENO" "dts.h" "ac_cv_header_dts_h" "$ac_includes_default"
33351 if test "x$ac_cv_header_dts_h" = xyes; then :
33352   :
33353 else
33354   HAVE_DTS=no
33355 fi
33356
33357
33358     if test "x$HAVE_DTS" = "xyes"; then
33359              DTS_LIBS="-ldts_pic $LIBM"
33360
33361 $as_echo "#define DTS_OLD 1" >>confdefs.h
33362
33363
33364     else
33365       :
33366     fi
33367   else
33368     :
33369   fi
33370
33371
33372
33373   fi
33374
33375
33376
33377   LIBS=$gst_check_save_LIBS
33378   LDFLAGS=$gst_check_save_LDFLAGS
33379   CFLAGS=$gst_check_save_CFLAGS
33380   CPPFLAGS=$gst_check_save_CPPFLAGS
33381   CXXFLAGS=$gst_check_save_CXXFLAGS
33382
33383     if test x$HAVE_DTS = xno; then
33384     USE_DTS=no
33385   else
33386     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: dtsdec" >&5
33387 $as_echo "$as_me: *** These plugins will be built: dtsdec" >&6;}
33388   fi
33389 fi
33390 if test x$USE_DTS = xyes; then
33391   :
33392   if test "xdtsdec" != "x"; then
33393     GST_PLUGINS_YES="\tdtsdec\n$GST_PLUGINS_YES"
33394   fi
33395
33396 $as_echo "#define HAVE_DTS /**/" >>confdefs.h
33397
33398 else
33399   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: dtsdec" >&5
33400 $as_echo "$as_me: *** These plugins will not be built: dtsdec" >&6;}
33401   if test "xdtsdec" != "x"; then
33402     GST_PLUGINS_NO="\tdtsdec\n$GST_PLUGINS_NO"
33403   fi
33404   :
33405 fi
33406  if test x$USE_DTS = xyes; then
33407   USE_DTS_TRUE=
33408   USE_DTS_FALSE='#'
33409 else
33410   USE_DTS_TRUE='#'
33411   USE_DTS_FALSE=
33412 fi
33413
33414
33415
33416 echo
33417 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: divx plugins ***" >&5
33418 $as_echo "$as_me: *** checking feature: divx plugins ***" >&6;}
33419 if test "xdivx" != "x"
33420 then
33421   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: divx ***" >&5
33422 $as_echo "$as_me: *** for plug-ins: divx ***" >&6;}
33423 fi
33424 NOUSE=
33425 if test "x$USE_DIVX" = "xno"; then
33426   NOUSE="yes"
33427 fi
33428 # Check whether --enable-divx was given.
33429 if test "${enable_divx+set}" = set; then :
33430   enableval=$enable_divx;  case "${enableval}" in
33431       yes) USE_DIVX=yes;;
33432       no) USE_DIVX=no;;
33433       *) as_fn_error $? "bad value ${enableval} for --enable-divx" "$LINENO" 5 ;;
33434     esac
33435 else
33436    USE_DIVX=yes
33437 fi
33438
33439 if test "x$NOUSE" = "xyes"; then
33440   USE_DIVX="no"
33441   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** divx pre-configured not to be built" >&5
33442 $as_echo "$as_me: WARNING: *** divx pre-configured not to be built" >&2;}
33443 fi
33444 NOUSE=
33445
33446
33447 if test x$USE_DIVX = xyes; then
33448
33449   gst_check_save_LIBS=$LIBS
33450   gst_check_save_LDFLAGS=$LDFLAGS
33451   gst_check_save_CFLAGS=$CFLAGS
33452   gst_check_save_CPPFLAGS=$CPPFLAGS
33453   gst_check_save_CXXFLAGS=$CXXFLAGS
33454
33455   HAVE_DIVX=no
33456
33457   HAVE_DIVX=yes
33458   ac_fn_c_check_header_mongrel "$LINENO" "encore2.h" "ac_cv_header_encore2_h" "$ac_includes_default"
33459 if test "x$ac_cv_header_encore2_h" = xyes; then :
33460
33461 else
33462
33463     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Divx4linux encore headers not found" >&5
33464 $as_echo "$as_me: WARNING: Divx4linux encore headers not found" >&2;}
33465     HAVE_DIVX=no
33466
33467 fi
33468
33469
33470   if  test x$HAVE_DIVX = xyes ; then
33471     { $as_echo "$as_me:${as_lineno-$LINENO}: checking Checking for valid divx4linux encore version" >&5
33472 $as_echo_n "checking Checking for valid divx4linux encore version... " >&6; }
33473     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33474 /* end confdefs.h.  */
33475
33476 #include <encore2.h>
33477 #if ENCORE_VERSION != 20021024
33478 #error Wrong version of divx encore libraries
33479 #endif
33480
33481 int
33482 main ()
33483 {
33484
33485 return 0;
33486
33487   ;
33488   return 0;
33489 }
33490 _ACEOF
33491 if ac_fn_c_try_compile "$LINENO"; then :
33492
33493       HAVE_DIVX=yes
33494
33495 else
33496
33497       HAVE_DIVX=no
33498       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Wrong version of divx4linux installed" >&5
33499 $as_echo "$as_me: WARNING: Wrong version of divx4linux installed" >&2;}
33500
33501 fi
33502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33503   fi
33504   if  test x$HAVE_DIVX = xyes ; then
33505     ac_fn_c_check_header_mongrel "$LINENO" "decore.h" "ac_cv_header_decore_h" "$ac_includes_default"
33506 if test "x$ac_cv_header_decore_h" = xyes; then :
33507
33508 else
33509
33510       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Divx4linux decoder headers not found" >&5
33511 $as_echo "$as_me: WARNING: Divx4linux decoder headers not found" >&2;}
33512       HAVE_DIVX=no
33513
33514 fi
33515
33516
33517   fi
33518   if  test x$HAVE_DIVX = xyes ; then
33519     { $as_echo "$as_me:${as_lineno-$LINENO}: checking Checking for valid divx4linux decore version" >&5
33520 $as_echo_n "checking Checking for valid divx4linux decore version... " >&6; }
33521     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33522 /* end confdefs.h.  */
33523
33524 #include <decore.h>
33525 #if DECORE_VERSION != 20021112
33526 #error Wrong version of divx decore libraries
33527 #endif
33528
33529 int
33530 main ()
33531 {
33532
33533 return 0;
33534
33535   ;
33536   return 0;
33537 }
33538 _ACEOF
33539 if ac_fn_c_try_compile "$LINENO"; then :
33540
33541       HAVE_DIVX=yes
33542
33543 else
33544
33545       HAVE_DIVX=no
33546       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Wrong version of divx4linux installed" >&5
33547 $as_echo "$as_me: WARNING: Wrong version of divx4linux installed" >&2;}
33548
33549 fi
33550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33551   fi
33552   LIBS="$LIBM"
33553   if test x$HAVE_DIVX = xyes; then
33554     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for encore in -ldivxencore" >&5
33555 $as_echo_n "checking for encore in -ldivxencore... " >&6; }
33556 if ${ac_cv_lib_divxencore_encore+:} false; then :
33557   $as_echo_n "(cached) " >&6
33558 else
33559   ac_check_lib_save_LIBS=$LIBS
33560 LIBS="-ldivxencore  $LIBS"
33561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33562 /* end confdefs.h.  */
33563
33564 /* Override any GCC internal prototype to avoid an error.
33565    Use char because int might match the return type of a GCC
33566    builtin and then its argument prototype would still apply.  */
33567 #ifdef __cplusplus
33568 extern "C"
33569 #endif
33570 char encore ();
33571 int
33572 main ()
33573 {
33574 return encore ();
33575   ;
33576   return 0;
33577 }
33578 _ACEOF
33579 if ac_fn_c_try_link "$LINENO"; then :
33580   ac_cv_lib_divxencore_encore=yes
33581 else
33582   ac_cv_lib_divxencore_encore=no
33583 fi
33584 rm -f core conftest.err conftest.$ac_objext \
33585     conftest$ac_exeext conftest.$ac_ext
33586 LIBS=$ac_check_lib_save_LIBS
33587 fi
33588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_divxencore_encore" >&5
33589 $as_echo "$ac_cv_lib_divxencore_encore" >&6; }
33590 if test "x$ac_cv_lib_divxencore_encore" = xyes; then :
33591   cat >>confdefs.h <<_ACEOF
33592 #define HAVE_LIBDIVXENCORE 1
33593 _ACEOF
33594
33595   LIBS="-ldivxencore $LIBS"
33596
33597 else
33598
33599       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Divx4linux encore libs not found" >&5
33600 $as_echo "$as_me: WARNING: Divx4linux encore libs not found" >&2;}
33601       HAVE_DIVX=no
33602
33603 fi
33604
33605   fi
33606   if test x$HAVE_DIVX = xyes; then
33607     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for decore in -ldivxdecore" >&5
33608 $as_echo_n "checking for decore in -ldivxdecore... " >&6; }
33609 if ${ac_cv_lib_divxdecore_decore+:} false; then :
33610   $as_echo_n "(cached) " >&6
33611 else
33612   ac_check_lib_save_LIBS=$LIBS
33613 LIBS="-ldivxdecore  $LIBS"
33614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33615 /* end confdefs.h.  */
33616
33617 /* Override any GCC internal prototype to avoid an error.
33618    Use char because int might match the return type of a GCC
33619    builtin and then its argument prototype would still apply.  */
33620 #ifdef __cplusplus
33621 extern "C"
33622 #endif
33623 char decore ();
33624 int
33625 main ()
33626 {
33627 return decore ();
33628   ;
33629   return 0;
33630 }
33631 _ACEOF
33632 if ac_fn_c_try_link "$LINENO"; then :
33633   ac_cv_lib_divxdecore_decore=yes
33634 else
33635   ac_cv_lib_divxdecore_decore=no
33636 fi
33637 rm -f core conftest.err conftest.$ac_objext \
33638     conftest$ac_exeext conftest.$ac_ext
33639 LIBS=$ac_check_lib_save_LIBS
33640 fi
33641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_divxdecore_decore" >&5
33642 $as_echo "$ac_cv_lib_divxdecore_decore" >&6; }
33643 if test "x$ac_cv_lib_divxdecore_decore" = xyes; then :
33644   cat >>confdefs.h <<_ACEOF
33645 #define HAVE_LIBDIVXDECORE 1
33646 _ACEOF
33647
33648   LIBS="-ldivxdecore $LIBS"
33649
33650 else
33651
33652       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Divx4linux decore libs not found" >&5
33653 $as_echo "$as_me: WARNING: Divx4linux decore libs not found" >&2;}
33654       HAVE_DIVX=no
33655
33656 fi
33657
33658   fi
33659   if test x$HAVE_DIVX = xyes; then
33660     DIVXENC_LIBS="-ldivxencore $LIBM"
33661     DIVXDEC_LIBS="-ldivxdecore $LIBM"
33662
33663
33664   fi
33665
33666
33667   LIBS=$gst_check_save_LIBS
33668   LDFLAGS=$gst_check_save_LDFLAGS
33669   CFLAGS=$gst_check_save_CFLAGS
33670   CPPFLAGS=$gst_check_save_CPPFLAGS
33671   CXXFLAGS=$gst_check_save_CXXFLAGS
33672
33673     if test x$HAVE_DIVX = xno; then
33674     USE_DIVX=no
33675   else
33676     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: divx" >&5
33677 $as_echo "$as_me: *** These plugins will be built: divx" >&6;}
33678   fi
33679 fi
33680 if test x$USE_DIVX = xyes; then
33681   :
33682   if test "xdivx" != "x"; then
33683     GST_PLUGINS_YES="\tdivx\n$GST_PLUGINS_YES"
33684   fi
33685
33686 $as_echo "#define HAVE_DIVX /**/" >>confdefs.h
33687
33688 else
33689   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: divx" >&5
33690 $as_echo "$as_me: *** These plugins will not be built: divx" >&6;}
33691   if test "xdivx" != "x"; then
33692     GST_PLUGINS_NO="\tdivx\n$GST_PLUGINS_NO"
33693   fi
33694   :
33695 fi
33696  if test x$USE_DIVX = xyes; then
33697   USE_DIVX_TRUE=
33698   USE_DIVX_FALSE='#'
33699 else
33700   USE_DIVX_TRUE='#'
33701   USE_DIVX_FALSE=
33702 fi
33703
33704
33705
33706 echo
33707 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: resindvd plugin ***" >&5
33708 $as_echo "$as_me: *** checking feature: resindvd plugin ***" >&6;}
33709 if test "xresindvd" != "x"
33710 then
33711   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: resindvd ***" >&5
33712 $as_echo "$as_me: *** for plug-ins: resindvd ***" >&6;}
33713 fi
33714 NOUSE=
33715 if test "x$USE_RESINDVD" = "xno"; then
33716   NOUSE="yes"
33717 fi
33718 # Check whether --enable-resindvd was given.
33719 if test "${enable_resindvd+set}" = set; then :
33720   enableval=$enable_resindvd;  case "${enableval}" in
33721       yes) USE_RESINDVD=yes;;
33722       no) USE_RESINDVD=no;;
33723       *) as_fn_error $? "bad value ${enableval} for --enable-resindvd" "$LINENO" 5 ;;
33724     esac
33725 else
33726    USE_RESINDVD=yes
33727 fi
33728
33729 if test "x$NOUSE" = "xyes"; then
33730   USE_RESINDVD="no"
33731   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** resindvd pre-configured not to be built" >&5
33732 $as_echo "$as_me: WARNING: *** resindvd pre-configured not to be built" >&2;}
33733 fi
33734 NOUSE=
33735
33736
33737 if test x$USE_RESINDVD = xyes; then
33738
33739   gst_check_save_LIBS=$LIBS
33740   gst_check_save_LDFLAGS=$LDFLAGS
33741   gst_check_save_CFLAGS=$CFLAGS
33742   gst_check_save_CPPFLAGS=$CPPFLAGS
33743   gst_check_save_CXXFLAGS=$CXXFLAGS
33744
33745   HAVE_RESINDVD=no
33746
33747
33748 pkg_failed=no
33749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DVDNAV" >&5
33750 $as_echo_n "checking for DVDNAV... " >&6; }
33751
33752 if test -n "$PKG_CONFIG"; then
33753     if test -n "$DVDNAV_CFLAGS"; then
33754         pkg_cv_DVDNAV_CFLAGS="$DVDNAV_CFLAGS"
33755     else
33756         if test -n "$PKG_CONFIG" && \
33757     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dvdnav >= 4.1.2 dvdread >= 4.1.2\""; } >&5
33758   ($PKG_CONFIG --exists --print-errors "dvdnav >= 4.1.2 dvdread >= 4.1.2") 2>&5
33759   ac_status=$?
33760   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33761   test $ac_status = 0; }; then
33762   pkg_cv_DVDNAV_CFLAGS=`$PKG_CONFIG --cflags "dvdnav >= 4.1.2 dvdread >= 4.1.2" 2>/dev/null`
33763 else
33764   pkg_failed=yes
33765 fi
33766     fi
33767 else
33768         pkg_failed=untried
33769 fi
33770 if test -n "$PKG_CONFIG"; then
33771     if test -n "$DVDNAV_LIBS"; then
33772         pkg_cv_DVDNAV_LIBS="$DVDNAV_LIBS"
33773     else
33774         if test -n "$PKG_CONFIG" && \
33775     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dvdnav >= 4.1.2 dvdread >= 4.1.2\""; } >&5
33776   ($PKG_CONFIG --exists --print-errors "dvdnav >= 4.1.2 dvdread >= 4.1.2") 2>&5
33777   ac_status=$?
33778   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33779   test $ac_status = 0; }; then
33780   pkg_cv_DVDNAV_LIBS=`$PKG_CONFIG --libs "dvdnav >= 4.1.2 dvdread >= 4.1.2" 2>/dev/null`
33781 else
33782   pkg_failed=yes
33783 fi
33784     fi
33785 else
33786         pkg_failed=untried
33787 fi
33788
33789
33790
33791 if test $pkg_failed = yes; then
33792
33793 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33794         _pkg_short_errors_supported=yes
33795 else
33796         _pkg_short_errors_supported=no
33797 fi
33798         if test $_pkg_short_errors_supported = yes; then
33799                 DVDNAV_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "dvdnav >= 4.1.2 dvdread >= 4.1.2"`
33800         else
33801                 DVDNAV_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "dvdnav >= 4.1.2 dvdread >= 4.1.2"`
33802         fi
33803         # Put the nasty error message in config.log where it belongs
33804         echo "$DVDNAV_PKG_ERRORS" >&5
33805
33806         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33807 $as_echo "no" >&6; }
33808
33809     HAVE_RESINDVD="no"
33810
33811 elif test $pkg_failed = untried; then
33812
33813     HAVE_RESINDVD="no"
33814
33815 else
33816         DVDNAV_CFLAGS=$pkg_cv_DVDNAV_CFLAGS
33817         DVDNAV_LIBS=$pkg_cv_DVDNAV_LIBS
33818         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33819 $as_echo "yes" >&6; }
33820         HAVE_RESINDVD="yes"
33821 fi
33822
33823
33824   LIBS=$gst_check_save_LIBS
33825   LDFLAGS=$gst_check_save_LDFLAGS
33826   CFLAGS=$gst_check_save_CFLAGS
33827   CPPFLAGS=$gst_check_save_CPPFLAGS
33828   CXXFLAGS=$gst_check_save_CXXFLAGS
33829
33830     if test x$HAVE_RESINDVD = xno; then
33831     USE_RESINDVD=no
33832   else
33833     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: resindvd" >&5
33834 $as_echo "$as_me: *** These plugins will be built: resindvd" >&6;}
33835   fi
33836 fi
33837 if test x$USE_RESINDVD = xyes; then
33838   :
33839   if test "xresindvd" != "x"; then
33840     GST_PLUGINS_YES="\tresindvd\n$GST_PLUGINS_YES"
33841   fi
33842
33843 $as_echo "#define HAVE_RESINDVD /**/" >>confdefs.h
33844
33845 else
33846   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: resindvd" >&5
33847 $as_echo "$as_me: *** These plugins will not be built: resindvd" >&6;}
33848   if test "xresindvd" != "x"; then
33849     GST_PLUGINS_NO="\tresindvd\n$GST_PLUGINS_NO"
33850   fi
33851   :
33852 fi
33853  if test x$USE_RESINDVD = xyes; then
33854   USE_RESINDVD_TRUE=
33855   USE_RESINDVD_FALSE='#'
33856 else
33857   USE_RESINDVD_TRUE='#'
33858   USE_RESINDVD_FALSE=
33859 fi
33860
33861
33862
33863 echo
33864 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: AAC encoder plug-in ***" >&5
33865 $as_echo "$as_me: *** checking feature: AAC encoder plug-in ***" >&6;}
33866 if test "xfaac" != "x"
33867 then
33868   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: faac ***" >&5
33869 $as_echo "$as_me: *** for plug-ins: faac ***" >&6;}
33870 fi
33871 NOUSE=
33872 if test "x$USE_FAAC" = "xno"; then
33873   NOUSE="yes"
33874 fi
33875 # Check whether --enable-faac was given.
33876 if test "${enable_faac+set}" = set; then :
33877   enableval=$enable_faac;  case "${enableval}" in
33878       yes) USE_FAAC=yes;;
33879       no) USE_FAAC=no;;
33880       *) as_fn_error $? "bad value ${enableval} for --enable-faac" "$LINENO" 5 ;;
33881     esac
33882 else
33883    USE_FAAC=yes
33884 fi
33885
33886 if test "x$NOUSE" = "xyes"; then
33887   USE_FAAC="no"
33888   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** faac pre-configured not to be built" >&5
33889 $as_echo "$as_me: WARNING: *** faac pre-configured not to be built" >&2;}
33890 fi
33891 NOUSE=
33892
33893
33894 if test x$USE_FAAC = xyes; then
33895
33896   gst_check_save_LIBS=$LIBS
33897   gst_check_save_LDFLAGS=$LDFLAGS
33898   gst_check_save_CFLAGS=$CFLAGS
33899   gst_check_save_CPPFLAGS=$CPPFLAGS
33900   gst_check_save_CXXFLAGS=$CXXFLAGS
33901
33902   HAVE_FAAC=no
33903
33904
33905   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for faacEncOpen in -lfaac" >&5
33906 $as_echo_n "checking for faacEncOpen in -lfaac... " >&6; }
33907 if ${ac_cv_lib_faac_faacEncOpen+:} false; then :
33908   $as_echo_n "(cached) " >&6
33909 else
33910   ac_check_lib_save_LIBS=$LIBS
33911 LIBS="-lfaac $LIBM $LIBS"
33912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33913 /* end confdefs.h.  */
33914
33915 /* Override any GCC internal prototype to avoid an error.
33916    Use char because int might match the return type of a GCC
33917    builtin and then its argument prototype would still apply.  */
33918 #ifdef __cplusplus
33919 extern "C"
33920 #endif
33921 char faacEncOpen ();
33922 int
33923 main ()
33924 {
33925 return faacEncOpen ();
33926   ;
33927   return 0;
33928 }
33929 _ACEOF
33930 if ac_fn_c_try_link "$LINENO"; then :
33931   ac_cv_lib_faac_faacEncOpen=yes
33932 else
33933   ac_cv_lib_faac_faacEncOpen=no
33934 fi
33935 rm -f core conftest.err conftest.$ac_objext \
33936     conftest$ac_exeext conftest.$ac_ext
33937 LIBS=$ac_check_lib_save_LIBS
33938 fi
33939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_faac_faacEncOpen" >&5
33940 $as_echo "$ac_cv_lib_faac_faacEncOpen" >&6; }
33941 if test "x$ac_cv_lib_faac_faacEncOpen" = xyes; then :
33942   HAVE_FAAC=yes
33943 else
33944   HAVE_FAAC=no
33945 fi
33946
33947   if test "x$HAVE_FAAC" = "xyes"; then
33948     ac_fn_c_check_header_mongrel "$LINENO" "faac.h" "ac_cv_header_faac_h" "$ac_includes_default"
33949 if test "x$ac_cv_header_faac_h" = xyes; then :
33950   :
33951 else
33952   HAVE_FAAC=no
33953 fi
33954
33955
33956     if test "x$HAVE_FAAC" = "xyes"; then
33957             FAAC_LIBS="-lfaac $LIBM"
33958     else
33959       :
33960     fi
33961   else
33962     :
33963   fi
33964
33965
33966
33967
33968   GIVEN_CFLAGS=$FAAC_CFLAGS
33969   INCLUDE_DIRS=`echo | cpp -v 2>&1`
33970
33971       INCLUDE_DIRS=`echo $INCLUDE_DIRS | sed -e 's/.*<...> search starts here://' | sed -e 's/End of search list.*//'`
33972   for dir in $INCLUDE_DIRS; do
33973         GIVEN_CFLAGS=`echo $GIVEN_CFLAGS | sed -e "s#-I$dir ##"`
33974   done
33975   FAAC_CFLAGS=$GIVEN_CFLAGS
33976
33977
33978
33979
33980   LIBS=$gst_check_save_LIBS
33981   LDFLAGS=$gst_check_save_LDFLAGS
33982   CFLAGS=$gst_check_save_CFLAGS
33983   CPPFLAGS=$gst_check_save_CPPFLAGS
33984   CXXFLAGS=$gst_check_save_CXXFLAGS
33985
33986     if test x$HAVE_FAAC = xno; then
33987     USE_FAAC=no
33988   else
33989     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: faac" >&5
33990 $as_echo "$as_me: *** These plugins will be built: faac" >&6;}
33991   fi
33992 fi
33993 if test x$USE_FAAC = xyes; then
33994   :
33995   if test "xfaac" != "x"; then
33996     GST_PLUGINS_YES="\tfaac\n$GST_PLUGINS_YES"
33997   fi
33998
33999 $as_echo "#define HAVE_FAAC /**/" >>confdefs.h
34000
34001 else
34002   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: faac" >&5
34003 $as_echo "$as_me: *** These plugins will not be built: faac" >&6;}
34004   if test "xfaac" != "x"; then
34005     GST_PLUGINS_NO="\tfaac\n$GST_PLUGINS_NO"
34006   fi
34007   :
34008 fi
34009  if test x$USE_FAAC = xyes; then
34010   USE_FAAC_TRUE=
34011   USE_FAAC_FALSE='#'
34012 else
34013   USE_FAAC_TRUE='#'
34014   USE_FAAC_FALSE=
34015 fi
34016
34017
34018
34019 echo
34020 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: AAC decoder plug-in ***" >&5
34021 $as_echo "$as_me: *** checking feature: AAC decoder plug-in ***" >&6;}
34022 if test "xfaad" != "x"
34023 then
34024   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: faad ***" >&5
34025 $as_echo "$as_me: *** for plug-ins: faad ***" >&6;}
34026 fi
34027 NOUSE=
34028 if test "x$USE_FAAD" = "xno"; then
34029   NOUSE="yes"
34030 fi
34031 # Check whether --enable-faad was given.
34032 if test "${enable_faad+set}" = set; then :
34033   enableval=$enable_faad;  case "${enableval}" in
34034       yes) USE_FAAD=yes;;
34035       no) USE_FAAD=no;;
34036       *) as_fn_error $? "bad value ${enableval} for --enable-faad" "$LINENO" 5 ;;
34037     esac
34038 else
34039    USE_FAAD=yes
34040 fi
34041
34042 if test "x$NOUSE" = "xyes"; then
34043   USE_FAAD="no"
34044   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** faad pre-configured not to be built" >&5
34045 $as_echo "$as_me: WARNING: *** faad pre-configured not to be built" >&2;}
34046 fi
34047 NOUSE=
34048
34049
34050 if test x$USE_FAAD = xyes; then
34051
34052   gst_check_save_LIBS=$LIBS
34053   gst_check_save_LDFLAGS=$LDFLAGS
34054   gst_check_save_CFLAGS=$CFLAGS
34055   gst_check_save_CPPFLAGS=$CPPFLAGS
34056   gst_check_save_CXXFLAGS=$CXXFLAGS
34057
34058   HAVE_FAAD=no
34059
34060   HAVE_FAAD="yes"
34061   faad_hdr=""
34062
34063   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for faacDecOpen in -lfaad" >&5
34064 $as_echo_n "checking for faacDecOpen in -lfaad... " >&6; }
34065 if ${ac_cv_lib_faad_faacDecOpen+:} false; then :
34066   $as_echo_n "(cached) " >&6
34067 else
34068   ac_check_lib_save_LIBS=$LIBS
34069 LIBS="-lfaad $LIBM $LIBS"
34070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34071 /* end confdefs.h.  */
34072
34073 /* Override any GCC internal prototype to avoid an error.
34074    Use char because int might match the return type of a GCC
34075    builtin and then its argument prototype would still apply.  */
34076 #ifdef __cplusplus
34077 extern "C"
34078 #endif
34079 char faacDecOpen ();
34080 int
34081 main ()
34082 {
34083 return faacDecOpen ();
34084   ;
34085   return 0;
34086 }
34087 _ACEOF
34088 if ac_fn_c_try_link "$LINENO"; then :
34089   ac_cv_lib_faad_faacDecOpen=yes
34090 else
34091   ac_cv_lib_faad_faacDecOpen=no
34092 fi
34093 rm -f core conftest.err conftest.$ac_objext \
34094     conftest$ac_exeext conftest.$ac_ext
34095 LIBS=$ac_check_lib_save_LIBS
34096 fi
34097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_faad_faacDecOpen" >&5
34098 $as_echo "$ac_cv_lib_faad_faacDecOpen" >&6; }
34099 if test "x$ac_cv_lib_faad_faacDecOpen" = xyes; then :
34100   HAVE_FAAD=yes
34101 else
34102   HAVE_FAAD=no
34103 fi
34104
34105   if test "x$HAVE_FAAD" = "xyes"; then
34106     ac_fn_c_check_header_mongrel "$LINENO" "faad.h" "ac_cv_header_faad_h" "$ac_includes_default"
34107 if test "x$ac_cv_header_faad_h" = xyes; then :
34108   :
34109 else
34110   HAVE_FAAD=no
34111 fi
34112
34113
34114     if test "x$HAVE_FAAD" = "xyes"; then
34115             FAAD_LIBS="-lfaad $LIBM"
34116     else
34117       HAVE_FAAD="no"
34118     fi
34119   else
34120     HAVE_FAAD="no"
34121   fi
34122
34123
34124
34125   if test $HAVE_FAAD = "no"; then
34126
34127   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for NeAACDecOpen in -lfaad" >&5
34128 $as_echo_n "checking for NeAACDecOpen in -lfaad... " >&6; }
34129 if ${ac_cv_lib_faad_NeAACDecOpen+:} false; then :
34130   $as_echo_n "(cached) " >&6
34131 else
34132   ac_check_lib_save_LIBS=$LIBS
34133 LIBS="-lfaad $LIBM $LIBS"
34134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34135 /* end confdefs.h.  */
34136
34137 /* Override any GCC internal prototype to avoid an error.
34138    Use char because int might match the return type of a GCC
34139    builtin and then its argument prototype would still apply.  */
34140 #ifdef __cplusplus
34141 extern "C"
34142 #endif
34143 char NeAACDecOpen ();
34144 int
34145 main ()
34146 {
34147 return NeAACDecOpen ();
34148   ;
34149   return 0;
34150 }
34151 _ACEOF
34152 if ac_fn_c_try_link "$LINENO"; then :
34153   ac_cv_lib_faad_NeAACDecOpen=yes
34154 else
34155   ac_cv_lib_faad_NeAACDecOpen=no
34156 fi
34157 rm -f core conftest.err conftest.$ac_objext \
34158     conftest$ac_exeext conftest.$ac_ext
34159 LIBS=$ac_check_lib_save_LIBS
34160 fi
34161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_faad_NeAACDecOpen" >&5
34162 $as_echo "$ac_cv_lib_faad_NeAACDecOpen" >&6; }
34163 if test "x$ac_cv_lib_faad_NeAACDecOpen" = xyes; then :
34164   HAVE_FAAD=yes
34165 else
34166   HAVE_FAAD=no
34167 fi
34168
34169   if test "x$HAVE_FAAD" = "xyes"; then
34170     ac_fn_c_check_header_mongrel "$LINENO" "neaacdec.h" "ac_cv_header_neaacdec_h" "$ac_includes_default"
34171 if test "x$ac_cv_header_neaacdec_h" = xyes; then :
34172   :
34173 else
34174   HAVE_FAAD=no
34175 fi
34176
34177
34178     if test "x$HAVE_FAAD" = "xyes"; then
34179              FAAD_LIBS="-lfaad $LIBM"
34180
34181 $as_echo "#define FAAD_IS_NEAAC 1" >>confdefs.h
34182
34183         faad_hdr="neaacdec.h"
34184
34185     else
34186
34187         HAVE_FAAD="no"
34188
34189     fi
34190   else
34191
34192         HAVE_FAAD="no"
34193
34194   fi
34195
34196
34197
34198   else
34199     faad_hdr="faad.h"
34200   fi
34201   if test $HAVE_FAAD = "yes"; then
34202     { $as_echo "$as_me:${as_lineno-$LINENO}: checking Checking for FAAD >= 2.0" >&5
34203 $as_echo_n "checking Checking for FAAD >= 2.0... " >&6; }
34204     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34205 /* end confdefs.h.  */
34206 #include <faad.h>
34207 int
34208 main ()
34209 {
34210
34211         #if !defined(FAAD2_VERSION) || !defined(FAAD_FMT_DOUBLE)
34212         #error Not faad2
34213         #else
34214         /* Release candidate of 2.0 is not good enough for us. This field
34215          * was added only in 2.0 final and does not exist in 2.0-RC3 */
34216         faacDecConfiguration conf; conf.dontUpSampleImplicitSBR = 1;
34217         #endif
34218
34219   ;
34220   return 0;
34221 }
34222 _ACEOF
34223 if ac_fn_c_try_compile "$LINENO"; then :
34224
34225       HAVE_FAAD="yes"
34226
34227       { $as_echo "$as_me:${as_lineno-$LINENO}: checking Checking FAAD2 version in $faad_hdr" >&5
34228 $as_echo_n "checking Checking FAAD2 version in $faad_hdr... " >&6; }
34229       for minor in 10 9 8 7 6 5 0; do
34230         if test x$faad2_minor_version = "x"; then
34231           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34232 /* end confdefs.h.  */
34233
34234               #include <$faad_hdr>
34235               GST_CHECK_FAAD_VERSION FAAD2_VERSION
34236
34237 _ACEOF
34238 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
34239   $EGREP "GST_CHECK_FAAD_VERSION \"2\.$minor\"" >/dev/null 2>&1; then :
34240
34241               faad2_minor_version=$minor
34242
34243 fi
34244 rm -f conftest*
34245
34246         fi
34247       done
34248       if test x$faad2_minor_version = "x"; then
34249         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no idea" >&5
34250 $as_echo "no idea" >&6; }
34251       else
34252         { $as_echo "$as_me:${as_lineno-$LINENO}: result: 2.$faad2_minor_version" >&5
34253 $as_echo "2.$faad2_minor_version" >&6; }
34254
34255 cat >>confdefs.h <<_ACEOF
34256 #define FAAD2_MINOR_VERSION $faad2_minor_version
34257 _ACEOF
34258
34259       fi
34260
34261 else
34262
34263       HAVE_FAAD="no"
34264
34265 fi
34266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34267   fi
34268
34269   GIVEN_CFLAGS=$FAAD_CFLAGS
34270   INCLUDE_DIRS=`echo | cpp -v 2>&1`
34271
34272       INCLUDE_DIRS=`echo $INCLUDE_DIRS | sed -e 's/.*<...> search starts here://' | sed -e 's/End of search list.*//'`
34273   for dir in $INCLUDE_DIRS; do
34274         GIVEN_CFLAGS=`echo $GIVEN_CFLAGS | sed -e "s#-I$dir ##"`
34275   done
34276   FAAD_CFLAGS=$GIVEN_CFLAGS
34277
34278
34279
34280
34281
34282   LIBS=$gst_check_save_LIBS
34283   LDFLAGS=$gst_check_save_LDFLAGS
34284   CFLAGS=$gst_check_save_CFLAGS
34285   CPPFLAGS=$gst_check_save_CPPFLAGS
34286   CXXFLAGS=$gst_check_save_CXXFLAGS
34287
34288     if test x$HAVE_FAAD = xno; then
34289     USE_FAAD=no
34290   else
34291     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: faad" >&5
34292 $as_echo "$as_me: *** These plugins will be built: faad" >&6;}
34293   fi
34294 fi
34295 if test x$USE_FAAD = xyes; then
34296   :
34297   if test "xfaad" != "x"; then
34298     GST_PLUGINS_YES="\tfaad\n$GST_PLUGINS_YES"
34299   fi
34300
34301 $as_echo "#define HAVE_FAAD /**/" >>confdefs.h
34302
34303 else
34304   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: faad" >&5
34305 $as_echo "$as_me: *** These plugins will not be built: faad" >&6;}
34306   if test "xfaad" != "x"; then
34307     GST_PLUGINS_NO="\tfaad\n$GST_PLUGINS_NO"
34308   fi
34309   :
34310 fi
34311  if test x$USE_FAAD = xyes; then
34312   USE_FAAD_TRUE=
34313   USE_FAAD_FALSE='#'
34314 else
34315   USE_FAAD_TRUE='#'
34316   USE_FAAD_FALSE=
34317 fi
34318
34319
34320
34321 echo
34322 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: linux framebuffer ***" >&5
34323 $as_echo "$as_me: *** checking feature: linux framebuffer ***" >&6;}
34324 if test "xfbdevsink" != "x"
34325 then
34326   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: fbdevsink ***" >&5
34327 $as_echo "$as_me: *** for plug-ins: fbdevsink ***" >&6;}
34328 fi
34329 NOUSE=
34330 if test "x$USE_FBDEV" = "xno"; then
34331   NOUSE="yes"
34332 fi
34333 # Check whether --enable-fbdev was given.
34334 if test "${enable_fbdev+set}" = set; then :
34335   enableval=$enable_fbdev;  case "${enableval}" in
34336       yes) USE_FBDEV=yes;;
34337       no) USE_FBDEV=no;;
34338       *) as_fn_error $? "bad value ${enableval} for --enable-fbdev" "$LINENO" 5 ;;
34339     esac
34340 else
34341    USE_FBDEV=yes
34342 fi
34343
34344 if test "x$NOUSE" = "xyes"; then
34345   USE_FBDEV="no"
34346   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** fbdevsink pre-configured not to be built" >&5
34347 $as_echo "$as_me: WARNING: *** fbdevsink pre-configured not to be built" >&2;}
34348 fi
34349 NOUSE=
34350
34351
34352 if test x$USE_FBDEV = xyes; then
34353
34354   gst_check_save_LIBS=$LIBS
34355   gst_check_save_LDFLAGS=$LDFLAGS
34356   gst_check_save_CFLAGS=$CFLAGS
34357   gst_check_save_CPPFLAGS=$CPPFLAGS
34358   gst_check_save_CXXFLAGS=$CXXFLAGS
34359
34360   HAVE_FBDEV=no
34361
34362   if test "x$HAVE_FBDEV" != "xyes"; then
34363     ac_fn_c_check_header_mongrel "$LINENO" "linux/fb.h" "ac_cv_header_linux_fb_h" "$ac_includes_default"
34364 if test "x$ac_cv_header_linux_fb_h" = xyes; then :
34365   HAVE_FBDEV=yes
34366 else
34367   HAVE_FBDEV=no
34368 fi
34369
34370
34371   fi
34372
34373
34374   LIBS=$gst_check_save_LIBS
34375   LDFLAGS=$gst_check_save_LDFLAGS
34376   CFLAGS=$gst_check_save_CFLAGS
34377   CPPFLAGS=$gst_check_save_CPPFLAGS
34378   CXXFLAGS=$gst_check_save_CXXFLAGS
34379
34380     if test x$HAVE_FBDEV = xno; then
34381     USE_FBDEV=no
34382   else
34383     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: fbdevsink" >&5
34384 $as_echo "$as_me: *** These plugins will be built: fbdevsink" >&6;}
34385   fi
34386 fi
34387 if test x$USE_FBDEV = xyes; then
34388   :
34389   if test "xfbdevsink" != "x"; then
34390     GST_PLUGINS_YES="\tfbdevsink\n$GST_PLUGINS_YES"
34391   fi
34392
34393 $as_echo "#define HAVE_FBDEV /**/" >>confdefs.h
34394
34395 else
34396   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: fbdevsink" >&5
34397 $as_echo "$as_me: *** These plugins will not be built: fbdevsink" >&6;}
34398   if test "xfbdevsink" != "x"; then
34399     GST_PLUGINS_NO="\tfbdevsink\n$GST_PLUGINS_NO"
34400   fi
34401   :
34402 fi
34403  if test x$USE_FBDEV = xyes; then
34404   USE_FBDEV_TRUE=
34405   USE_FBDEV_FALSE='#'
34406 else
34407   USE_FBDEV_TRUE='#'
34408   USE_FBDEV_FALSE=
34409 fi
34410
34411
34412
34413 echo
34414 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Flite plugin ***" >&5
34415 $as_echo "$as_me: *** checking feature: Flite plugin ***" >&6;}
34416 if test "xflite" != "x"
34417 then
34418   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: flite ***" >&5
34419 $as_echo "$as_me: *** for plug-ins: flite ***" >&6;}
34420 fi
34421 NOUSE=
34422 if test "x$USE_FLITE" = "xno"; then
34423   NOUSE="yes"
34424 fi
34425 # Check whether --enable-flite was given.
34426 if test "${enable_flite+set}" = set; then :
34427   enableval=$enable_flite;  case "${enableval}" in
34428       yes) USE_FLITE=yes;;
34429       no) USE_FLITE=no;;
34430       *) as_fn_error $? "bad value ${enableval} for --enable-flite" "$LINENO" 5 ;;
34431     esac
34432 else
34433    USE_FLITE=yes
34434 fi
34435
34436 if test "x$NOUSE" = "xyes"; then
34437   USE_FLITE="no"
34438   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** flite pre-configured not to be built" >&5
34439 $as_echo "$as_me: WARNING: *** flite pre-configured not to be built" >&2;}
34440 fi
34441 NOUSE=
34442
34443
34444 if test x$USE_FLITE = xyes; then
34445
34446   gst_check_save_LIBS=$LIBS
34447   gst_check_save_LDFLAGS=$LDFLAGS
34448   gst_check_save_CFLAGS=$CFLAGS
34449   gst_check_save_CPPFLAGS=$CPPFLAGS
34450   gst_check_save_CXXFLAGS=$CXXFLAGS
34451
34452   HAVE_FLITE=no
34453
34454
34455   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flite_init in -lflite" >&5
34456 $as_echo_n "checking for flite_init in -lflite... " >&6; }
34457 if ${ac_cv_lib_flite_flite_init+:} false; then :
34458   $as_echo_n "(cached) " >&6
34459 else
34460   ac_check_lib_save_LIBS=$LIBS
34461 LIBS="-lflite $LIBM $LIBS"
34462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34463 /* end confdefs.h.  */
34464
34465 /* Override any GCC internal prototype to avoid an error.
34466    Use char because int might match the return type of a GCC
34467    builtin and then its argument prototype would still apply.  */
34468 #ifdef __cplusplus
34469 extern "C"
34470 #endif
34471 char flite_init ();
34472 int
34473 main ()
34474 {
34475 return flite_init ();
34476   ;
34477   return 0;
34478 }
34479 _ACEOF
34480 if ac_fn_c_try_link "$LINENO"; then :
34481   ac_cv_lib_flite_flite_init=yes
34482 else
34483   ac_cv_lib_flite_flite_init=no
34484 fi
34485 rm -f core conftest.err conftest.$ac_objext \
34486     conftest$ac_exeext conftest.$ac_ext
34487 LIBS=$ac_check_lib_save_LIBS
34488 fi
34489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_flite_flite_init" >&5
34490 $as_echo "$ac_cv_lib_flite_flite_init" >&6; }
34491 if test "x$ac_cv_lib_flite_flite_init" = xyes; then :
34492   HAVE_FLITE=yes
34493 else
34494   HAVE_FLITE=no
34495 fi
34496
34497   if test "x$HAVE_FLITE" = "xyes"; then
34498     ac_fn_c_check_header_mongrel "$LINENO" "flite/flite.h" "ac_cv_header_flite_flite_h" "$ac_includes_default"
34499 if test "x$ac_cv_header_flite_flite_h" = xyes; then :
34500   :
34501 else
34502   HAVE_FLITE=no
34503 fi
34504
34505
34506     if test "x$HAVE_FLITE" = "xyes"; then
34507             FLITE_LIBS="-lflite -lflite_cmu_us_kal -lflite_usenglish -lflite_cmulex $LIBM"
34508     else
34509       :
34510     fi
34511   else
34512     :
34513   fi
34514
34515
34516
34517
34518
34519
34520
34521
34522   LIBS=$gst_check_save_LIBS
34523   LDFLAGS=$gst_check_save_LDFLAGS
34524   CFLAGS=$gst_check_save_CFLAGS
34525   CPPFLAGS=$gst_check_save_CPPFLAGS
34526   CXXFLAGS=$gst_check_save_CXXFLAGS
34527
34528     if test x$HAVE_FLITE = xno; then
34529     USE_FLITE=no
34530   else
34531     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: flite" >&5
34532 $as_echo "$as_me: *** These plugins will be built: flite" >&6;}
34533   fi
34534 fi
34535 if test x$USE_FLITE = xyes; then
34536   :
34537   if test "xflite" != "x"; then
34538     GST_PLUGINS_YES="\tflite\n$GST_PLUGINS_YES"
34539   fi
34540
34541 $as_echo "#define HAVE_FLITE /**/" >>confdefs.h
34542
34543 else
34544   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: flite" >&5
34545 $as_echo "$as_me: *** These plugins will not be built: flite" >&6;}
34546   if test "xflite" != "x"; then
34547     GST_PLUGINS_NO="\tflite\n$GST_PLUGINS_NO"
34548   fi
34549   :
34550 fi
34551  if test x$USE_FLITE = xyes; then
34552   USE_FLITE_TRUE=
34553   USE_FLITE_FALSE='#'
34554 else
34555   USE_FLITE_TRUE='#'
34556   USE_FLITE_FALSE=
34557 fi
34558
34559
34560
34561 echo
34562 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: GSM library ***" >&5
34563 $as_echo "$as_me: *** checking feature: GSM library ***" >&6;}
34564 if test "xgsmenc gsmdec" != "x"
34565 then
34566   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: gsmenc gsmdec ***" >&5
34567 $as_echo "$as_me: *** for plug-ins: gsmenc gsmdec ***" >&6;}
34568 fi
34569 NOUSE=
34570 if test "x$USE_GSM" = "xno"; then
34571   NOUSE="yes"
34572 fi
34573 # Check whether --enable-gsm was given.
34574 if test "${enable_gsm+set}" = set; then :
34575   enableval=$enable_gsm;  case "${enableval}" in
34576       yes) USE_GSM=yes;;
34577       no) USE_GSM=no;;
34578       *) as_fn_error $? "bad value ${enableval} for --enable-gsm" "$LINENO" 5 ;;
34579     esac
34580 else
34581    USE_GSM=yes
34582 fi
34583
34584 if test "x$NOUSE" = "xyes"; then
34585   USE_GSM="no"
34586   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** gsmenc gsmdec pre-configured not to be built" >&5
34587 $as_echo "$as_me: WARNING: *** gsmenc gsmdec pre-configured not to be built" >&2;}
34588 fi
34589 NOUSE=
34590
34591
34592 if test x$USE_GSM = xyes; then
34593
34594   gst_check_save_LIBS=$LIBS
34595   gst_check_save_LDFLAGS=$LDFLAGS
34596   gst_check_save_CFLAGS=$CFLAGS
34597   gst_check_save_CPPFLAGS=$CPPFLAGS
34598   gst_check_save_CXXFLAGS=$CXXFLAGS
34599
34600   HAVE_GSM=no
34601
34602
34603   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gsm_create in -lgsm" >&5
34604 $as_echo_n "checking for gsm_create in -lgsm... " >&6; }
34605 if ${ac_cv_lib_gsm_gsm_create+:} false; then :
34606   $as_echo_n "(cached) " >&6
34607 else
34608   ac_check_lib_save_LIBS=$LIBS
34609 LIBS="-lgsm  $LIBS"
34610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34611 /* end confdefs.h.  */
34612
34613 /* Override any GCC internal prototype to avoid an error.
34614    Use char because int might match the return type of a GCC
34615    builtin and then its argument prototype would still apply.  */
34616 #ifdef __cplusplus
34617 extern "C"
34618 #endif
34619 char gsm_create ();
34620 int
34621 main ()
34622 {
34623 return gsm_create ();
34624   ;
34625   return 0;
34626 }
34627 _ACEOF
34628 if ac_fn_c_try_link "$LINENO"; then :
34629   ac_cv_lib_gsm_gsm_create=yes
34630 else
34631   ac_cv_lib_gsm_gsm_create=no
34632 fi
34633 rm -f core conftest.err conftest.$ac_objext \
34634     conftest$ac_exeext conftest.$ac_ext
34635 LIBS=$ac_check_lib_save_LIBS
34636 fi
34637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gsm_gsm_create" >&5
34638 $as_echo "$ac_cv_lib_gsm_gsm_create" >&6; }
34639 if test "x$ac_cv_lib_gsm_gsm_create" = xyes; then :
34640   HAVE_GSM=yes
34641 else
34642   HAVE_GSM=no
34643 fi
34644
34645   if test "x$HAVE_GSM" = "xyes"; then
34646     ac_fn_c_check_header_mongrel "$LINENO" "gsm.h" "ac_cv_header_gsm_h" "$ac_includes_default"
34647 if test "x$ac_cv_header_gsm_h" = xyes; then :
34648   :
34649 else
34650   HAVE_GSM=no
34651 fi
34652
34653
34654     if test "x$HAVE_GSM" = "xyes"; then
34655             GSM_LIBS="-lgsm"
34656     else
34657       :
34658     fi
34659   else
34660     :
34661   fi
34662
34663
34664
34665   if test $HAVE_GSM != "yes"; then
34666
34667   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gsm_create in -lgsm" >&5
34668 $as_echo_n "checking for gsm_create in -lgsm... " >&6; }
34669 if ${ac_cv_lib_gsm_gsm_create+:} false; then :
34670   $as_echo_n "(cached) " >&6
34671 else
34672   ac_check_lib_save_LIBS=$LIBS
34673 LIBS="-lgsm  $LIBS"
34674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34675 /* end confdefs.h.  */
34676
34677 /* Override any GCC internal prototype to avoid an error.
34678    Use char because int might match the return type of a GCC
34679    builtin and then its argument prototype would still apply.  */
34680 #ifdef __cplusplus
34681 extern "C"
34682 #endif
34683 char gsm_create ();
34684 int
34685 main ()
34686 {
34687 return gsm_create ();
34688   ;
34689   return 0;
34690 }
34691 _ACEOF
34692 if ac_fn_c_try_link "$LINENO"; then :
34693   ac_cv_lib_gsm_gsm_create=yes
34694 else
34695   ac_cv_lib_gsm_gsm_create=no
34696 fi
34697 rm -f core conftest.err conftest.$ac_objext \
34698     conftest$ac_exeext conftest.$ac_ext
34699 LIBS=$ac_check_lib_save_LIBS
34700 fi
34701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gsm_gsm_create" >&5
34702 $as_echo "$ac_cv_lib_gsm_gsm_create" >&6; }
34703 if test "x$ac_cv_lib_gsm_gsm_create" = xyes; then :
34704   HAVE_GSM=yes
34705 else
34706   HAVE_GSM=no
34707 fi
34708
34709   if test "x$HAVE_GSM" = "xyes"; then
34710     ac_fn_c_check_header_mongrel "$LINENO" "gsm/gsm.h" "ac_cv_header_gsm_gsm_h" "$ac_includes_default"
34711 if test "x$ac_cv_header_gsm_gsm_h" = xyes; then :
34712   :
34713 else
34714   HAVE_GSM=no
34715 fi
34716
34717
34718     if test "x$HAVE_GSM" = "xyes"; then
34719             GSM_LIBS="-lgsm"
34720     else
34721       :
34722     fi
34723   else
34724     :
34725   fi
34726
34727
34728
34729     if test $HAVE_GSM = "yes"; then
34730
34731 $as_echo "#define GSM_HEADER_IN_SUBDIR 1" >>confdefs.h
34732
34733     fi
34734   fi
34735
34736
34737
34738   LIBS=$gst_check_save_LIBS
34739   LDFLAGS=$gst_check_save_LDFLAGS
34740   CFLAGS=$gst_check_save_CFLAGS
34741   CPPFLAGS=$gst_check_save_CPPFLAGS
34742   CXXFLAGS=$gst_check_save_CXXFLAGS
34743
34744     if test x$HAVE_GSM = xno; then
34745     USE_GSM=no
34746   else
34747     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: gsmenc gsmdec" >&5
34748 $as_echo "$as_me: *** These plugins will be built: gsmenc gsmdec" >&6;}
34749   fi
34750 fi
34751 if test x$USE_GSM = xyes; then
34752   :
34753   if test "xgsmenc gsmdec" != "x"; then
34754     GST_PLUGINS_YES="\tgsmenc gsmdec\n$GST_PLUGINS_YES"
34755   fi
34756
34757 $as_echo "#define HAVE_GSM /**/" >>confdefs.h
34758
34759 else
34760   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: gsmenc gsmdec" >&5
34761 $as_echo "$as_me: *** These plugins will not be built: gsmenc gsmdec" >&6;}
34762   if test "xgsmenc gsmdec" != "x"; then
34763     GST_PLUGINS_NO="\tgsmenc gsmdec\n$GST_PLUGINS_NO"
34764   fi
34765   :
34766 fi
34767  if test x$USE_GSM = xyes; then
34768   USE_GSM_TRUE=
34769   USE_GSM_FALSE='#'
34770 else
34771   USE_GSM_TRUE='#'
34772   USE_GSM_FALSE=
34773 fi
34774
34775
34776
34777 echo
34778 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: jp2k ***" >&5
34779 $as_echo "$as_me: *** checking feature: jp2k ***" >&6;}
34780 if test "xjp2kdec jp2kenc" != "x"
34781 then
34782   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: jp2kdec jp2kenc ***" >&5
34783 $as_echo "$as_me: *** for plug-ins: jp2kdec jp2kenc ***" >&6;}
34784 fi
34785 NOUSE=
34786 if test "x$USE_JP2K" = "xno"; then
34787   NOUSE="yes"
34788 fi
34789 # Check whether --enable-jp2k was given.
34790 if test "${enable_jp2k+set}" = set; then :
34791   enableval=$enable_jp2k;  case "${enableval}" in
34792       yes) USE_JP2K=yes;;
34793       no) USE_JP2K=no;;
34794       *) as_fn_error $? "bad value ${enableval} for --enable-jp2k" "$LINENO" 5 ;;
34795     esac
34796 else
34797    USE_JP2K=yes
34798 fi
34799
34800 if test "x$NOUSE" = "xyes"; then
34801   USE_JP2K="no"
34802   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** jp2kdec jp2kenc pre-configured not to be built" >&5
34803 $as_echo "$as_me: WARNING: *** jp2kdec jp2kenc pre-configured not to be built" >&2;}
34804 fi
34805 NOUSE=
34806
34807
34808 if test x$USE_JP2K = xyes; then
34809
34810   gst_check_save_LIBS=$LIBS
34811   gst_check_save_LDFLAGS=$LDFLAGS
34812   gst_check_save_CFLAGS=$CFLAGS
34813   gst_check_save_CPPFLAGS=$CPPFLAGS
34814   gst_check_save_CXXFLAGS=$CXXFLAGS
34815
34816   HAVE_JP2K=no
34817
34818
34819   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jas_stream_fopen in -ljasper" >&5
34820 $as_echo_n "checking for jas_stream_fopen in -ljasper... " >&6; }
34821 if ${ac_cv_lib_jasper_jas_stream_fopen+:} false; then :
34822   $as_echo_n "(cached) " >&6
34823 else
34824   ac_check_lib_save_LIBS=$LIBS
34825 LIBS="-ljasper  $LIBS"
34826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34827 /* end confdefs.h.  */
34828
34829 /* Override any GCC internal prototype to avoid an error.
34830    Use char because int might match the return type of a GCC
34831    builtin and then its argument prototype would still apply.  */
34832 #ifdef __cplusplus
34833 extern "C"
34834 #endif
34835 char jas_stream_fopen ();
34836 int
34837 main ()
34838 {
34839 return jas_stream_fopen ();
34840   ;
34841   return 0;
34842 }
34843 _ACEOF
34844 if ac_fn_c_try_link "$LINENO"; then :
34845   ac_cv_lib_jasper_jas_stream_fopen=yes
34846 else
34847   ac_cv_lib_jasper_jas_stream_fopen=no
34848 fi
34849 rm -f core conftest.err conftest.$ac_objext \
34850     conftest$ac_exeext conftest.$ac_ext
34851 LIBS=$ac_check_lib_save_LIBS
34852 fi
34853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jasper_jas_stream_fopen" >&5
34854 $as_echo "$ac_cv_lib_jasper_jas_stream_fopen" >&6; }
34855 if test "x$ac_cv_lib_jasper_jas_stream_fopen" = xyes; then :
34856   HAVE_JP2K=yes
34857 else
34858   HAVE_JP2K=no
34859 fi
34860
34861   if test "x$HAVE_JP2K" = "xyes"; then
34862     ac_fn_c_check_header_mongrel "$LINENO" "jasper/jasper.h" "ac_cv_header_jasper_jasper_h" "$ac_includes_default"
34863 if test "x$ac_cv_header_jasper_jasper_h" = xyes; then :
34864   :
34865 else
34866   HAVE_JP2K=no
34867 fi
34868
34869
34870     if test "x$HAVE_JP2K" = "xyes"; then
34871             JP2K_LIBS="-ljasper"
34872     else
34873       :
34874     fi
34875   else
34876     :
34877   fi
34878
34879
34880
34881
34882
34883
34884   LIBS=$gst_check_save_LIBS
34885   LDFLAGS=$gst_check_save_LDFLAGS
34886   CFLAGS=$gst_check_save_CFLAGS
34887   CPPFLAGS=$gst_check_save_CPPFLAGS
34888   CXXFLAGS=$gst_check_save_CXXFLAGS
34889
34890     if test x$HAVE_JP2K = xno; then
34891     USE_JP2K=no
34892   else
34893     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: jp2kdec jp2kenc" >&5
34894 $as_echo "$as_me: *** These plugins will be built: jp2kdec jp2kenc" >&6;}
34895   fi
34896 fi
34897 if test x$USE_JP2K = xyes; then
34898   :
34899   if test "xjp2kdec jp2kenc" != "x"; then
34900     GST_PLUGINS_YES="\tjp2kdec jp2kenc\n$GST_PLUGINS_YES"
34901   fi
34902
34903 $as_echo "#define HAVE_JP2K /**/" >>confdefs.h
34904
34905 else
34906   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: jp2kdec jp2kenc" >&5
34907 $as_echo "$as_me: *** These plugins will not be built: jp2kdec jp2kenc" >&6;}
34908   if test "xjp2kdec jp2kenc" != "x"; then
34909     GST_PLUGINS_NO="\tjp2kdec jp2kenc\n$GST_PLUGINS_NO"
34910   fi
34911   :
34912 fi
34913  if test x$USE_JP2K = xyes; then
34914   USE_JP2K_TRUE=
34915   USE_JP2K_FALSE='#'
34916 else
34917   USE_JP2K_TRUE='#'
34918   USE_JP2K_FALSE=
34919 fi
34920
34921
34922
34923 echo
34924 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Kate ***" >&5
34925 $as_echo "$as_me: *** checking feature: Kate ***" >&6;}
34926 if test "xkate" != "x"
34927 then
34928   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: kate ***" >&5
34929 $as_echo "$as_me: *** for plug-ins: kate ***" >&6;}
34930 fi
34931 NOUSE=
34932 if test "x$USE_KATE" = "xno"; then
34933   NOUSE="yes"
34934 fi
34935 # Check whether --enable-kate was given.
34936 if test "${enable_kate+set}" = set; then :
34937   enableval=$enable_kate;  case "${enableval}" in
34938       yes) USE_KATE=yes;;
34939       no) USE_KATE=no;;
34940       *) as_fn_error $? "bad value ${enableval} for --enable-kate" "$LINENO" 5 ;;
34941     esac
34942 else
34943    USE_KATE=yes
34944 fi
34945
34946 if test "x$NOUSE" = "xyes"; then
34947   USE_KATE="no"
34948   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** kate pre-configured not to be built" >&5
34949 $as_echo "$as_me: WARNING: *** kate pre-configured not to be built" >&2;}
34950 fi
34951 NOUSE=
34952
34953
34954 if test x$USE_KATE = xyes; then
34955
34956   gst_check_save_LIBS=$LIBS
34957   gst_check_save_LDFLAGS=$LDFLAGS
34958   gst_check_save_CFLAGS=$CFLAGS
34959   gst_check_save_CPPFLAGS=$CPPFLAGS
34960   gst_check_save_CXXFLAGS=$CXXFLAGS
34961
34962   HAVE_KATE=no
34963
34964
34965 pkg_failed=no
34966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for KATE" >&5
34967 $as_echo_n "checking for KATE... " >&6; }
34968
34969 if test -n "$PKG_CONFIG"; then
34970     if test -n "$KATE_CFLAGS"; then
34971         pkg_cv_KATE_CFLAGS="$KATE_CFLAGS"
34972     else
34973         if test -n "$PKG_CONFIG" && \
34974     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"kate >= 0.1.7\""; } >&5
34975   ($PKG_CONFIG --exists --print-errors "kate >= 0.1.7") 2>&5
34976   ac_status=$?
34977   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34978   test $ac_status = 0; }; then
34979   pkg_cv_KATE_CFLAGS=`$PKG_CONFIG --cflags "kate >= 0.1.7" 2>/dev/null`
34980 else
34981   pkg_failed=yes
34982 fi
34983     fi
34984 else
34985         pkg_failed=untried
34986 fi
34987 if test -n "$PKG_CONFIG"; then
34988     if test -n "$KATE_LIBS"; then
34989         pkg_cv_KATE_LIBS="$KATE_LIBS"
34990     else
34991         if test -n "$PKG_CONFIG" && \
34992     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"kate >= 0.1.7\""; } >&5
34993   ($PKG_CONFIG --exists --print-errors "kate >= 0.1.7") 2>&5
34994   ac_status=$?
34995   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34996   test $ac_status = 0; }; then
34997   pkg_cv_KATE_LIBS=`$PKG_CONFIG --libs "kate >= 0.1.7" 2>/dev/null`
34998 else
34999   pkg_failed=yes
35000 fi
35001     fi
35002 else
35003         pkg_failed=untried
35004 fi
35005
35006
35007
35008 if test $pkg_failed = yes; then
35009
35010 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
35011         _pkg_short_errors_supported=yes
35012 else
35013         _pkg_short_errors_supported=no
35014 fi
35015         if test $_pkg_short_errors_supported = yes; then
35016                 KATE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "kate >= 0.1.7"`
35017         else
35018                 KATE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "kate >= 0.1.7"`
35019         fi
35020         # Put the nasty error message in config.log where it belongs
35021         echo "$KATE_PKG_ERRORS" >&5
35022
35023         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35024 $as_echo "no" >&6; }
35025
35026     HAVE_KATE="no"
35027
35028 elif test $pkg_failed = untried; then
35029
35030     HAVE_KATE="no"
35031
35032 else
35033         KATE_CFLAGS=$pkg_cv_KATE_CFLAGS
35034         KATE_LIBS=$pkg_cv_KATE_LIBS
35035         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35036 $as_echo "yes" >&6; }
35037         HAVE_KATE="yes"
35038 fi
35039
35040
35041
35042 pkg_failed=no
35043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIGER" >&5
35044 $as_echo_n "checking for TIGER... " >&6; }
35045
35046 if test -n "$PKG_CONFIG"; then
35047     if test -n "$TIGER_CFLAGS"; then
35048         pkg_cv_TIGER_CFLAGS="$TIGER_CFLAGS"
35049     else
35050         if test -n "$PKG_CONFIG" && \
35051     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tiger >= 0.3.2\""; } >&5
35052   ($PKG_CONFIG --exists --print-errors "tiger >= 0.3.2") 2>&5
35053   ac_status=$?
35054   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35055   test $ac_status = 0; }; then
35056   pkg_cv_TIGER_CFLAGS=`$PKG_CONFIG --cflags "tiger >= 0.3.2" 2>/dev/null`
35057 else
35058   pkg_failed=yes
35059 fi
35060     fi
35061 else
35062         pkg_failed=untried
35063 fi
35064 if test -n "$PKG_CONFIG"; then
35065     if test -n "$TIGER_LIBS"; then
35066         pkg_cv_TIGER_LIBS="$TIGER_LIBS"
35067     else
35068         if test -n "$PKG_CONFIG" && \
35069     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tiger >= 0.3.2\""; } >&5
35070   ($PKG_CONFIG --exists --print-errors "tiger >= 0.3.2") 2>&5
35071   ac_status=$?
35072   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35073   test $ac_status = 0; }; then
35074   pkg_cv_TIGER_LIBS=`$PKG_CONFIG --libs "tiger >= 0.3.2" 2>/dev/null`
35075 else
35076   pkg_failed=yes
35077 fi
35078     fi
35079 else
35080         pkg_failed=untried
35081 fi
35082
35083
35084
35085 if test $pkg_failed = yes; then
35086
35087 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
35088         _pkg_short_errors_supported=yes
35089 else
35090         _pkg_short_errors_supported=no
35091 fi
35092         if test $_pkg_short_errors_supported = yes; then
35093                 TIGER_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "tiger >= 0.3.2"`
35094         else
35095                 TIGER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "tiger >= 0.3.2"`
35096         fi
35097         # Put the nasty error message in config.log where it belongs
35098         echo "$TIGER_PKG_ERRORS" >&5
35099
35100         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35101 $as_echo "no" >&6; }
35102
35103       HAVE_TIGER="no"
35104
35105
35106 elif test $pkg_failed = untried; then
35107
35108       HAVE_TIGER="no"
35109
35110
35111 else
35112         TIGER_CFLAGS=$pkg_cv_TIGER_CFLAGS
35113         TIGER_LIBS=$pkg_cv_TIGER_LIBS
35114         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35115 $as_echo "yes" >&6; }
35116
35117       HAVE_TIGER="yes"
35118
35119 $as_echo "#define HAVE_TIGER 1" >>confdefs.h
35120
35121
35122 fi
35123    if test "x$HAVE_TIGER" = "xyes"; then
35124   USE_TIGER_TRUE=
35125   USE_TIGER_FALSE='#'
35126 else
35127   USE_TIGER_TRUE='#'
35128   USE_TIGER_FALSE=
35129 fi
35130
35131
35132
35133
35134
35135   LIBS=$gst_check_save_LIBS
35136   LDFLAGS=$gst_check_save_LDFLAGS
35137   CFLAGS=$gst_check_save_CFLAGS
35138   CPPFLAGS=$gst_check_save_CPPFLAGS
35139   CXXFLAGS=$gst_check_save_CXXFLAGS
35140
35141     if test x$HAVE_KATE = xno; then
35142     USE_KATE=no
35143   else
35144     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: kate" >&5
35145 $as_echo "$as_me: *** These plugins will be built: kate" >&6;}
35146   fi
35147 fi
35148 if test x$USE_KATE = xyes; then
35149   :
35150   if test "xkate" != "x"; then
35151     GST_PLUGINS_YES="\tkate\n$GST_PLUGINS_YES"
35152   fi
35153
35154 $as_echo "#define HAVE_KATE /**/" >>confdefs.h
35155
35156 else
35157   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: kate" >&5
35158 $as_echo "$as_me: *** These plugins will not be built: kate" >&6;}
35159   if test "xkate" != "x"; then
35160     GST_PLUGINS_NO="\tkate\n$GST_PLUGINS_NO"
35161   fi
35162    if false; then
35163   USE_TIGER_TRUE=
35164   USE_TIGER_FALSE='#'
35165 else
35166   USE_TIGER_TRUE='#'
35167   USE_TIGER_FALSE=
35168 fi
35169
35170 fi
35171  if test x$USE_KATE = xyes; then
35172   USE_KATE_TRUE=
35173   USE_KATE_FALSE='#'
35174 else
35175   USE_KATE_TRUE='#'
35176   USE_KATE_FALSE=
35177 fi
35178
35179
35180
35181 echo
35182 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: ladspa ***" >&5
35183 $as_echo "$as_me: *** checking feature: ladspa ***" >&6;}
35184 if test "xladspa" != "x"
35185 then
35186   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: ladspa ***" >&5
35187 $as_echo "$as_me: *** for plug-ins: ladspa ***" >&6;}
35188 fi
35189 NOUSE=
35190 if test "x$USE_LADSPA" = "xno"; then
35191   NOUSE="yes"
35192 fi
35193 # Check whether --enable-ladspa was given.
35194 if test "${enable_ladspa+set}" = set; then :
35195   enableval=$enable_ladspa;  case "${enableval}" in
35196       yes) USE_LADSPA=yes;;
35197       no) USE_LADSPA=no;;
35198       *) as_fn_error $? "bad value ${enableval} for --enable-ladspa" "$LINENO" 5 ;;
35199     esac
35200 else
35201    USE_LADSPA=yes
35202 fi
35203
35204 if test "x$NOUSE" = "xyes"; then
35205   USE_LADSPA="no"
35206   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** ladspa pre-configured not to be built" >&5
35207 $as_echo "$as_me: WARNING: *** ladspa pre-configured not to be built" >&2;}
35208 fi
35209 NOUSE=
35210
35211
35212 if test x$USE_LADSPA = xyes; then
35213
35214   gst_check_save_LIBS=$LIBS
35215   gst_check_save_LDFLAGS=$LDFLAGS
35216   gst_check_save_CFLAGS=$CFLAGS
35217   gst_check_save_CPPFLAGS=$CPPFLAGS
35218   gst_check_save_CXXFLAGS=$CXXFLAGS
35219
35220   HAVE_LADSPA=no
35221
35222   ac_fn_c_check_header_mongrel "$LINENO" "ladspa.h" "ac_cv_header_ladspa_h" "$ac_includes_default"
35223 if test "x$ac_cv_header_ladspa_h" = xyes; then :
35224   HAVE_LADSPA="yes"
35225 else
35226   HAVE_LADSPA="no"
35227 fi
35228
35229
35230
35231
35232 pkg_failed=no
35233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LRDF" >&5
35234 $as_echo_n "checking for LRDF... " >&6; }
35235
35236 if test -n "$PKG_CONFIG"; then
35237     if test -n "$LRDF_CFLAGS"; then
35238         pkg_cv_LRDF_CFLAGS="$LRDF_CFLAGS"
35239     else
35240         if test -n "$PKG_CONFIG" && \
35241     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lrdf\""; } >&5
35242   ($PKG_CONFIG --exists --print-errors "lrdf") 2>&5
35243   ac_status=$?
35244   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35245   test $ac_status = 0; }; then
35246   pkg_cv_LRDF_CFLAGS=`$PKG_CONFIG --cflags "lrdf" 2>/dev/null`
35247 else
35248   pkg_failed=yes
35249 fi
35250     fi
35251 else
35252         pkg_failed=untried
35253 fi
35254 if test -n "$PKG_CONFIG"; then
35255     if test -n "$LRDF_LIBS"; then
35256         pkg_cv_LRDF_LIBS="$LRDF_LIBS"
35257     else
35258         if test -n "$PKG_CONFIG" && \
35259     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lrdf\""; } >&5
35260   ($PKG_CONFIG --exists --print-errors "lrdf") 2>&5
35261   ac_status=$?
35262   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35263   test $ac_status = 0; }; then
35264   pkg_cv_LRDF_LIBS=`$PKG_CONFIG --libs "lrdf" 2>/dev/null`
35265 else
35266   pkg_failed=yes
35267 fi
35268     fi
35269 else
35270         pkg_failed=untried
35271 fi
35272
35273
35274
35275 if test $pkg_failed = yes; then
35276
35277 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
35278         _pkg_short_errors_supported=yes
35279 else
35280         _pkg_short_errors_supported=no
35281 fi
35282         if test $_pkg_short_errors_supported = yes; then
35283                 LRDF_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "lrdf"`
35284         else
35285                 LRDF_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "lrdf"`
35286         fi
35287         # Put the nasty error message in config.log where it belongs
35288         echo "$LRDF_PKG_ERRORS" >&5
35289
35290         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35291 $as_echo "no" >&6; }
35292                 HAVE_LRDF=no
35293 elif test $pkg_failed = untried; then
35294         HAVE_LRDF=no
35295 else
35296         LRDF_CFLAGS=$pkg_cv_LRDF_CFLAGS
35297         LRDF_LIBS=$pkg_cv_LRDF_LIBS
35298         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35299 $as_echo "yes" >&6; }
35300         HAVE_LRDF=yes
35301 fi
35302   if test $HAVE_LRDF = "yes"; then
35303
35304 $as_echo "#define HAVE_LRDF 1" >>confdefs.h
35305
35306   fi
35307
35308
35309
35310
35311   LIBS=$gst_check_save_LIBS
35312   LDFLAGS=$gst_check_save_LDFLAGS
35313   CFLAGS=$gst_check_save_CFLAGS
35314   CPPFLAGS=$gst_check_save_CPPFLAGS
35315   CXXFLAGS=$gst_check_save_CXXFLAGS
35316
35317     if test x$HAVE_LADSPA = xno; then
35318     USE_LADSPA=no
35319   else
35320     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: ladspa" >&5
35321 $as_echo "$as_me: *** These plugins will be built: ladspa" >&6;}
35322   fi
35323 fi
35324 if test x$USE_LADSPA = xyes; then
35325   :
35326   if test "xladspa" != "x"; then
35327     GST_PLUGINS_YES="\tladspa\n$GST_PLUGINS_YES"
35328   fi
35329
35330 $as_echo "#define HAVE_LADSPA /**/" >>confdefs.h
35331
35332 else
35333   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: ladspa" >&5
35334 $as_echo "$as_me: *** These plugins will not be built: ladspa" >&6;}
35335   if test "xladspa" != "x"; then
35336     GST_PLUGINS_NO="\tladspa\n$GST_PLUGINS_NO"
35337   fi
35338   :
35339 fi
35340  if test x$USE_LADSPA = xyes; then
35341   USE_LADSPA_TRUE=
35342   USE_LADSPA_FALSE='#'
35343 else
35344   USE_LADSPA_TRUE='#'
35345   USE_LADSPA_FALSE=
35346 fi
35347
35348
35349
35350 echo
35351 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: lv2 ***" >&5
35352 $as_echo "$as_me: *** checking feature: lv2 ***" >&6;}
35353 if test "xlv2" != "x"
35354 then
35355   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: lv2 ***" >&5
35356 $as_echo "$as_me: *** for plug-ins: lv2 ***" >&6;}
35357 fi
35358 NOUSE=
35359 if test "x$USE_LV2" = "xno"; then
35360   NOUSE="yes"
35361 fi
35362 # Check whether --enable-lv2 was given.
35363 if test "${enable_lv2+set}" = set; then :
35364   enableval=$enable_lv2;  case "${enableval}" in
35365       yes) USE_LV2=yes;;
35366       no) USE_LV2=no;;
35367       *) as_fn_error $? "bad value ${enableval} for --enable-lv2" "$LINENO" 5 ;;
35368     esac
35369 else
35370    USE_LV2=yes
35371 fi
35372
35373 if test "x$NOUSE" = "xyes"; then
35374   USE_LV2="no"
35375   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** lv2 pre-configured not to be built" >&5
35376 $as_echo "$as_me: WARNING: *** lv2 pre-configured not to be built" >&2;}
35377 fi
35378 NOUSE=
35379
35380
35381 if test x$USE_LV2 = xyes; then
35382
35383   gst_check_save_LIBS=$LIBS
35384   gst_check_save_LDFLAGS=$LDFLAGS
35385   gst_check_save_CFLAGS=$CFLAGS
35386   gst_check_save_CPPFLAGS=$CPPFLAGS
35387   gst_check_save_CXXFLAGS=$CXXFLAGS
35388
35389   HAVE_LV2=no
35390
35391
35392 pkg_failed=no
35393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SLV2" >&5
35394 $as_echo_n "checking for SLV2... " >&6; }
35395
35396 if test -n "$PKG_CONFIG"; then
35397     if test -n "$SLV2_CFLAGS"; then
35398         pkg_cv_SLV2_CFLAGS="$SLV2_CFLAGS"
35399     else
35400         if test -n "$PKG_CONFIG" && \
35401     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"slv2 >= 0.6.6\""; } >&5
35402   ($PKG_CONFIG --exists --print-errors "slv2 >= 0.6.6") 2>&5
35403   ac_status=$?
35404   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35405   test $ac_status = 0; }; then
35406   pkg_cv_SLV2_CFLAGS=`$PKG_CONFIG --cflags "slv2 >= 0.6.6" 2>/dev/null`
35407 else
35408   pkg_failed=yes
35409 fi
35410     fi
35411 else
35412         pkg_failed=untried
35413 fi
35414 if test -n "$PKG_CONFIG"; then
35415     if test -n "$SLV2_LIBS"; then
35416         pkg_cv_SLV2_LIBS="$SLV2_LIBS"
35417     else
35418         if test -n "$PKG_CONFIG" && \
35419     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"slv2 >= 0.6.6\""; } >&5
35420   ($PKG_CONFIG --exists --print-errors "slv2 >= 0.6.6") 2>&5
35421   ac_status=$?
35422   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35423   test $ac_status = 0; }; then
35424   pkg_cv_SLV2_LIBS=`$PKG_CONFIG --libs "slv2 >= 0.6.6" 2>/dev/null`
35425 else
35426   pkg_failed=yes
35427 fi
35428     fi
35429 else
35430         pkg_failed=untried
35431 fi
35432
35433
35434
35435 if test $pkg_failed = yes; then
35436
35437 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
35438         _pkg_short_errors_supported=yes
35439 else
35440         _pkg_short_errors_supported=no
35441 fi
35442         if test $_pkg_short_errors_supported = yes; then
35443                 SLV2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "slv2 >= 0.6.6"`
35444         else
35445                 SLV2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "slv2 >= 0.6.6"`
35446         fi
35447         # Put the nasty error message in config.log where it belongs
35448         echo "$SLV2_PKG_ERRORS" >&5
35449
35450         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35451 $as_echo "no" >&6; }
35452                 HAVE_LV2="no"
35453 elif test $pkg_failed = untried; then
35454         HAVE_LV2="no"
35455 else
35456         SLV2_CFLAGS=$pkg_cv_SLV2_CFLAGS
35457         SLV2_LIBS=$pkg_cv_SLV2_LIBS
35458         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35459 $as_echo "yes" >&6; }
35460         HAVE_LV2="yes"
35461 fi
35462
35463
35464
35465
35466   LIBS=$gst_check_save_LIBS
35467   LDFLAGS=$gst_check_save_LDFLAGS
35468   CFLAGS=$gst_check_save_CFLAGS
35469   CPPFLAGS=$gst_check_save_CPPFLAGS
35470   CXXFLAGS=$gst_check_save_CXXFLAGS
35471
35472     if test x$HAVE_LV2 = xno; then
35473     USE_LV2=no
35474   else
35475     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: lv2" >&5
35476 $as_echo "$as_me: *** These plugins will be built: lv2" >&6;}
35477   fi
35478 fi
35479 if test x$USE_LV2 = xyes; then
35480   :
35481   if test "xlv2" != "x"; then
35482     GST_PLUGINS_YES="\tlv2\n$GST_PLUGINS_YES"
35483   fi
35484
35485 $as_echo "#define HAVE_LV2 /**/" >>confdefs.h
35486
35487 else
35488   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: lv2" >&5
35489 $as_echo "$as_me: *** These plugins will not be built: lv2" >&6;}
35490   if test "xlv2" != "x"; then
35491     GST_PLUGINS_NO="\tlv2\n$GST_PLUGINS_NO"
35492   fi
35493   :
35494 fi
35495  if test x$USE_LV2 = xyes; then
35496   USE_LV2_TRUE=
35497   USE_LV2_FALSE='#'
35498 else
35499   USE_LV2_TRUE='#'
35500   USE_LV2_FALSE=
35501 fi
35502
35503
35504
35505 echo
35506 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: mms protocol library ***" >&5
35507 $as_echo "$as_me: *** checking feature: mms protocol library ***" >&6;}
35508 if test "xlibmms" != "x"
35509 then
35510   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: libmms ***" >&5
35511 $as_echo "$as_me: *** for plug-ins: libmms ***" >&6;}
35512 fi
35513 NOUSE=
35514 if test "x$USE_LIBMMS" = "xno"; then
35515   NOUSE="yes"
35516 fi
35517 # Check whether --enable-libmms was given.
35518 if test "${enable_libmms+set}" = set; then :
35519   enableval=$enable_libmms;  case "${enableval}" in
35520       yes) USE_LIBMMS=yes;;
35521       no) USE_LIBMMS=no;;
35522       *) as_fn_error $? "bad value ${enableval} for --enable-libmms" "$LINENO" 5 ;;
35523     esac
35524 else
35525    USE_LIBMMS=yes
35526 fi
35527
35528 if test "x$NOUSE" = "xyes"; then
35529   USE_LIBMMS="no"
35530   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** libmms pre-configured not to be built" >&5
35531 $as_echo "$as_me: WARNING: *** libmms pre-configured not to be built" >&2;}
35532 fi
35533 NOUSE=
35534
35535
35536 if test x$USE_LIBMMS = xyes; then
35537
35538   gst_check_save_LIBS=$LIBS
35539   gst_check_save_LDFLAGS=$LDFLAGS
35540   gst_check_save_CFLAGS=$CFLAGS
35541   gst_check_save_CPPFLAGS=$CPPFLAGS
35542   gst_check_save_CXXFLAGS=$CXXFLAGS
35543
35544   HAVE_LIBMMS=no
35545
35546
35547 pkg_failed=no
35548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBMMS" >&5
35549 $as_echo_n "checking for LIBMMS... " >&6; }
35550
35551 if test -n "$PKG_CONFIG"; then
35552     if test -n "$LIBMMS_CFLAGS"; then
35553         pkg_cv_LIBMMS_CFLAGS="$LIBMMS_CFLAGS"
35554     else
35555         if test -n "$PKG_CONFIG" && \
35556     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmms >= 0.4\""; } >&5
35557   ($PKG_CONFIG --exists --print-errors "libmms >= 0.4") 2>&5
35558   ac_status=$?
35559   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35560   test $ac_status = 0; }; then
35561   pkg_cv_LIBMMS_CFLAGS=`$PKG_CONFIG --cflags "libmms >= 0.4" 2>/dev/null`
35562 else
35563   pkg_failed=yes
35564 fi
35565     fi
35566 else
35567         pkg_failed=untried
35568 fi
35569 if test -n "$PKG_CONFIG"; then
35570     if test -n "$LIBMMS_LIBS"; then
35571         pkg_cv_LIBMMS_LIBS="$LIBMMS_LIBS"
35572     else
35573         if test -n "$PKG_CONFIG" && \
35574     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmms >= 0.4\""; } >&5
35575   ($PKG_CONFIG --exists --print-errors "libmms >= 0.4") 2>&5
35576   ac_status=$?
35577   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35578   test $ac_status = 0; }; then
35579   pkg_cv_LIBMMS_LIBS=`$PKG_CONFIG --libs "libmms >= 0.4" 2>/dev/null`
35580 else
35581   pkg_failed=yes
35582 fi
35583     fi
35584 else
35585         pkg_failed=untried
35586 fi
35587
35588
35589
35590 if test $pkg_failed = yes; then
35591
35592 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
35593         _pkg_short_errors_supported=yes
35594 else
35595         _pkg_short_errors_supported=no
35596 fi
35597         if test $_pkg_short_errors_supported = yes; then
35598                 LIBMMS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libmms >= 0.4"`
35599         else
35600                 LIBMMS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libmms >= 0.4"`
35601         fi
35602         # Put the nasty error message in config.log where it belongs
35603         echo "$LIBMMS_PKG_ERRORS" >&5
35604
35605         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35606 $as_echo "no" >&6; }
35607
35608     HAVE_LIBMMS="no"
35609
35610 elif test $pkg_failed = untried; then
35611
35612     HAVE_LIBMMS="no"
35613
35614 else
35615         LIBMMS_CFLAGS=$pkg_cv_LIBMMS_CFLAGS
35616         LIBMMS_LIBS=$pkg_cv_LIBMMS_LIBS
35617         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35618 $as_echo "yes" >&6; }
35619         HAVE_LIBMMS="yes"
35620 fi
35621
35622
35623   LIBS=$gst_check_save_LIBS
35624   LDFLAGS=$gst_check_save_LDFLAGS
35625   CFLAGS=$gst_check_save_CFLAGS
35626   CPPFLAGS=$gst_check_save_CPPFLAGS
35627   CXXFLAGS=$gst_check_save_CXXFLAGS
35628
35629     if test x$HAVE_LIBMMS = xno; then
35630     USE_LIBMMS=no
35631   else
35632     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: libmms" >&5
35633 $as_echo "$as_me: *** These plugins will be built: libmms" >&6;}
35634   fi
35635 fi
35636 if test x$USE_LIBMMS = xyes; then
35637   :
35638   if test "xlibmms" != "x"; then
35639     GST_PLUGINS_YES="\tlibmms\n$GST_PLUGINS_YES"
35640   fi
35641
35642 $as_echo "#define HAVE_LIBMMS /**/" >>confdefs.h
35643
35644 else
35645   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: libmms" >&5
35646 $as_echo "$as_me: *** These plugins will not be built: libmms" >&6;}
35647   if test "xlibmms" != "x"; then
35648     GST_PLUGINS_NO="\tlibmms\n$GST_PLUGINS_NO"
35649   fi
35650   :
35651 fi
35652  if test x$USE_LIBMMS = xyes; then
35653   USE_LIBMMS_TRUE=
35654   USE_LIBMMS_FALSE='#'
35655 else
35656   USE_LIBMMS_TRUE='#'
35657   USE_LIBMMS_FALSE=
35658 fi
35659
35660
35661
35662
35663 echo
35664 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Linear Systems SDI plugin ***" >&5
35665 $as_echo "$as_me: *** checking feature: Linear Systems SDI plugin ***" >&6;}
35666 if test "xlinsys" != "x"
35667 then
35668   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: linsys ***" >&5
35669 $as_echo "$as_me: *** for plug-ins: linsys ***" >&6;}
35670 fi
35671 NOUSE=
35672 if test "x$USE_LINSYS" = "xno"; then
35673   NOUSE="yes"
35674 fi
35675 # Check whether --enable-linsys was given.
35676 if test "${enable_linsys+set}" = set; then :
35677   enableval=$enable_linsys;  case "${enableval}" in
35678       yes) USE_LINSYS=yes;;
35679       no) USE_LINSYS=no;;
35680       *) as_fn_error $? "bad value ${enableval} for --enable-linsys" "$LINENO" 5 ;;
35681     esac
35682 else
35683    USE_LINSYS=yes
35684 fi
35685
35686 if test "x$NOUSE" = "xyes"; then
35687   USE_LINSYS="no"
35688   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** linsys pre-configured not to be built" >&5
35689 $as_echo "$as_me: WARNING: *** linsys pre-configured not to be built" >&2;}
35690 fi
35691 NOUSE=
35692
35693
35694 if test x$USE_LINSYS = xyes; then
35695
35696   gst_check_save_LIBS=$LIBS
35697   gst_check_save_LDFLAGS=$LDFLAGS
35698   gst_check_save_CFLAGS=$CFLAGS
35699   gst_check_save_CPPFLAGS=$CPPFLAGS
35700   gst_check_save_CXXFLAGS=$CXXFLAGS
35701
35702   HAVE_LINSYS=no
35703
35704   case "$host" in
35705     *-*linux*)
35706       HAVE_LINSYS=yes
35707       ;;
35708     *)
35709       HAVE_LINSYS=no
35710       ;;
35711   esac
35712
35713
35714   LIBS=$gst_check_save_LIBS
35715   LDFLAGS=$gst_check_save_LDFLAGS
35716   CFLAGS=$gst_check_save_CFLAGS
35717   CPPFLAGS=$gst_check_save_CPPFLAGS
35718   CXXFLAGS=$gst_check_save_CXXFLAGS
35719
35720     if test x$HAVE_LINSYS = xno; then
35721     USE_LINSYS=no
35722   else
35723     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: linsys" >&5
35724 $as_echo "$as_me: *** These plugins will be built: linsys" >&6;}
35725   fi
35726 fi
35727 if test x$USE_LINSYS = xyes; then
35728   :
35729   if test "xlinsys" != "x"; then
35730     GST_PLUGINS_YES="\tlinsys\n$GST_PLUGINS_YES"
35731   fi
35732
35733 $as_echo "#define HAVE_LINSYS /**/" >>confdefs.h
35734
35735 else
35736   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: linsys" >&5
35737 $as_echo "$as_me: *** These plugins will not be built: linsys" >&6;}
35738   if test "xlinsys" != "x"; then
35739     GST_PLUGINS_NO="\tlinsys\n$GST_PLUGINS_NO"
35740   fi
35741   :
35742 fi
35743  if test x$USE_LINSYS = xyes; then
35744   USE_LINSYS_TRUE=
35745   USE_LINSYS_FALSE='#'
35746 else
35747   USE_LINSYS_TRUE='#'
35748   USE_LINSYS_FALSE=
35749 fi
35750
35751
35752
35753 echo
35754 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: modplug ***" >&5
35755 $as_echo "$as_me: *** checking feature: modplug ***" >&6;}
35756 if test "xmodplug" != "x"
35757 then
35758   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: modplug ***" >&5
35759 $as_echo "$as_me: *** for plug-ins: modplug ***" >&6;}
35760 fi
35761 NOUSE=
35762 if test "x$USE_MODPLUG" = "xno"; then
35763   NOUSE="yes"
35764 fi
35765 # Check whether --enable-modplug was given.
35766 if test "${enable_modplug+set}" = set; then :
35767   enableval=$enable_modplug;  case "${enableval}" in
35768       yes) USE_MODPLUG=yes;;
35769       no) USE_MODPLUG=no;;
35770       *) as_fn_error $? "bad value ${enableval} for --enable-modplug" "$LINENO" 5 ;;
35771     esac
35772 else
35773    USE_MODPLUG=yes
35774 fi
35775
35776 if test "x$NOUSE" = "xyes"; then
35777   USE_MODPLUG="no"
35778   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** modplug pre-configured not to be built" >&5
35779 $as_echo "$as_me: WARNING: *** modplug pre-configured not to be built" >&2;}
35780 fi
35781 NOUSE=
35782
35783
35784 if test x$USE_MODPLUG = xyes; then
35785
35786   gst_check_save_LIBS=$LIBS
35787   gst_check_save_LDFLAGS=$LDFLAGS
35788   gst_check_save_CFLAGS=$CFLAGS
35789   gst_check_save_CPPFLAGS=$CPPFLAGS
35790   gst_check_save_CXXFLAGS=$CXXFLAGS
35791
35792   HAVE_MODPLUG=no
35793
35794   if test "x$HAVE_CXX" != "xyes"; then
35795     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Not compiling modplug plugin as it requires a C++ compiler" >&5
35796 $as_echo "$as_me: WARNING: Not compiling modplug plugin as it requires a C++ compiler" >&2;}
35797     HAVE_MODPLUG="no"
35798   else
35799
35800 pkg_failed=no
35801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MODPLUG" >&5
35802 $as_echo_n "checking for MODPLUG... " >&6; }
35803
35804 if test -n "$PKG_CONFIG"; then
35805     if test -n "$MODPLUG_CFLAGS"; then
35806         pkg_cv_MODPLUG_CFLAGS="$MODPLUG_CFLAGS"
35807     else
35808         if test -n "$PKG_CONFIG" && \
35809     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmodplug\""; } >&5
35810   ($PKG_CONFIG --exists --print-errors "libmodplug") 2>&5
35811   ac_status=$?
35812   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35813   test $ac_status = 0; }; then
35814   pkg_cv_MODPLUG_CFLAGS=`$PKG_CONFIG --cflags "libmodplug" 2>/dev/null`
35815 else
35816   pkg_failed=yes
35817 fi
35818     fi
35819 else
35820         pkg_failed=untried
35821 fi
35822 if test -n "$PKG_CONFIG"; then
35823     if test -n "$MODPLUG_LIBS"; then
35824         pkg_cv_MODPLUG_LIBS="$MODPLUG_LIBS"
35825     else
35826         if test -n "$PKG_CONFIG" && \
35827     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmodplug\""; } >&5
35828   ($PKG_CONFIG --exists --print-errors "libmodplug") 2>&5
35829   ac_status=$?
35830   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35831   test $ac_status = 0; }; then
35832   pkg_cv_MODPLUG_LIBS=`$PKG_CONFIG --libs "libmodplug" 2>/dev/null`
35833 else
35834   pkg_failed=yes
35835 fi
35836     fi
35837 else
35838         pkg_failed=untried
35839 fi
35840
35841
35842
35843 if test $pkg_failed = yes; then
35844
35845 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
35846         _pkg_short_errors_supported=yes
35847 else
35848         _pkg_short_errors_supported=no
35849 fi
35850         if test $_pkg_short_errors_supported = yes; then
35851                 MODPLUG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libmodplug"`
35852         else
35853                 MODPLUG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libmodplug"`
35854         fi
35855         # Put the nasty error message in config.log where it belongs
35856         echo "$MODPLUG_PKG_ERRORS" >&5
35857
35858         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35859 $as_echo "no" >&6; }
35860                 HAVE_MODPLUG="no"
35861 elif test $pkg_failed = untried; then
35862         HAVE_MODPLUG="no"
35863 else
35864         MODPLUG_CFLAGS=$pkg_cv_MODPLUG_CFLAGS
35865         MODPLUG_LIBS=$pkg_cv_MODPLUG_LIBS
35866         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35867 $as_echo "yes" >&6; }
35868         HAVE_MODPLUG="yes"
35869 fi
35870   fi
35871
35872
35873
35874
35875   LIBS=$gst_check_save_LIBS
35876   LDFLAGS=$gst_check_save_LDFLAGS
35877   CFLAGS=$gst_check_save_CFLAGS
35878   CPPFLAGS=$gst_check_save_CPPFLAGS
35879   CXXFLAGS=$gst_check_save_CXXFLAGS
35880
35881     if test x$HAVE_MODPLUG = xno; then
35882     USE_MODPLUG=no
35883   else
35884     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: modplug" >&5
35885 $as_echo "$as_me: *** These plugins will be built: modplug" >&6;}
35886   fi
35887 fi
35888 if test x$USE_MODPLUG = xyes; then
35889   :
35890   if test "xmodplug" != "x"; then
35891     GST_PLUGINS_YES="\tmodplug\n$GST_PLUGINS_YES"
35892   fi
35893
35894 $as_echo "#define HAVE_MODPLUG /**/" >>confdefs.h
35895
35896 else
35897   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: modplug" >&5
35898 $as_echo "$as_me: *** These plugins will not be built: modplug" >&6;}
35899   if test "xmodplug" != "x"; then
35900     GST_PLUGINS_NO="\tmodplug\n$GST_PLUGINS_NO"
35901   fi
35902   :
35903 fi
35904  if test x$USE_MODPLUG = xyes; then
35905   USE_MODPLUG_TRUE=
35906   USE_MODPLUG_FALSE='#'
35907 else
35908   USE_MODPLUG_TRUE='#'
35909   USE_MODPLUG_FALSE=
35910 fi
35911
35912
35913
35914 echo
35915 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: libmimic library ***" >&5
35916 $as_echo "$as_me: *** checking feature: libmimic library ***" >&6;}
35917 if test "xmimic" != "x"
35918 then
35919   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: mimic ***" >&5
35920 $as_echo "$as_me: *** for plug-ins: mimic ***" >&6;}
35921 fi
35922 NOUSE=
35923 if test "x$USE_MIMIC" = "xno"; then
35924   NOUSE="yes"
35925 fi
35926 # Check whether --enable-mimic was given.
35927 if test "${enable_mimic+set}" = set; then :
35928   enableval=$enable_mimic;  case "${enableval}" in
35929       yes) USE_MIMIC=yes;;
35930       no) USE_MIMIC=no;;
35931       *) as_fn_error $? "bad value ${enableval} for --enable-mimic" "$LINENO" 5 ;;
35932     esac
35933 else
35934    USE_MIMIC=yes
35935 fi
35936
35937 if test "x$NOUSE" = "xyes"; then
35938   USE_MIMIC="no"
35939   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** mimic pre-configured not to be built" >&5
35940 $as_echo "$as_me: WARNING: *** mimic pre-configured not to be built" >&2;}
35941 fi
35942 NOUSE=
35943
35944
35945 if test x$USE_MIMIC = xyes; then
35946
35947   gst_check_save_LIBS=$LIBS
35948   gst_check_save_LDFLAGS=$LDFLAGS
35949   gst_check_save_CFLAGS=$CFLAGS
35950   gst_check_save_CPPFLAGS=$CPPFLAGS
35951   gst_check_save_CXXFLAGS=$CXXFLAGS
35952
35953   HAVE_MIMIC=no
35954
35955   MIMDEC_REQUIRED=1.0
35956
35957 pkg_failed=no
35958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MIMIC" >&5
35959 $as_echo_n "checking for MIMIC... " >&6; }
35960
35961 if test -n "$PKG_CONFIG"; then
35962     if test -n "$MIMIC_CFLAGS"; then
35963         pkg_cv_MIMIC_CFLAGS="$MIMIC_CFLAGS"
35964     else
35965         if test -n "$PKG_CONFIG" && \
35966     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmimic >= \$MIMDEC_REQUIRED\""; } >&5
35967   ($PKG_CONFIG --exists --print-errors "libmimic >= $MIMDEC_REQUIRED") 2>&5
35968   ac_status=$?
35969   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35970   test $ac_status = 0; }; then
35971   pkg_cv_MIMIC_CFLAGS=`$PKG_CONFIG --cflags "libmimic >= $MIMDEC_REQUIRED" 2>/dev/null`
35972 else
35973   pkg_failed=yes
35974 fi
35975     fi
35976 else
35977         pkg_failed=untried
35978 fi
35979 if test -n "$PKG_CONFIG"; then
35980     if test -n "$MIMIC_LIBS"; then
35981         pkg_cv_MIMIC_LIBS="$MIMIC_LIBS"
35982     else
35983         if test -n "$PKG_CONFIG" && \
35984     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmimic >= \$MIMDEC_REQUIRED\""; } >&5
35985   ($PKG_CONFIG --exists --print-errors "libmimic >= $MIMDEC_REQUIRED") 2>&5
35986   ac_status=$?
35987   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35988   test $ac_status = 0; }; then
35989   pkg_cv_MIMIC_LIBS=`$PKG_CONFIG --libs "libmimic >= $MIMDEC_REQUIRED" 2>/dev/null`
35990 else
35991   pkg_failed=yes
35992 fi
35993     fi
35994 else
35995         pkg_failed=untried
35996 fi
35997
35998
35999
36000 if test $pkg_failed = yes; then
36001
36002 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36003         _pkg_short_errors_supported=yes
36004 else
36005         _pkg_short_errors_supported=no
36006 fi
36007         if test $_pkg_short_errors_supported = yes; then
36008                 MIMIC_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libmimic >= $MIMDEC_REQUIRED"`
36009         else
36010                 MIMIC_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libmimic >= $MIMDEC_REQUIRED"`
36011         fi
36012         # Put the nasty error message in config.log where it belongs
36013         echo "$MIMIC_PKG_ERRORS" >&5
36014
36015         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36016 $as_echo "no" >&6; }
36017                 HAVE_MIMIC=no
36018 elif test $pkg_failed = untried; then
36019         HAVE_MIMIC=no
36020 else
36021         MIMIC_CFLAGS=$pkg_cv_MIMIC_CFLAGS
36022         MIMIC_LIBS=$pkg_cv_MIMIC_LIBS
36023         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36024 $as_echo "yes" >&6; }
36025         HAVE_MIMIC=yes
36026 fi
36027
36028
36029
36030
36031   LIBS=$gst_check_save_LIBS
36032   LDFLAGS=$gst_check_save_LDFLAGS
36033   CFLAGS=$gst_check_save_CFLAGS
36034   CPPFLAGS=$gst_check_save_CPPFLAGS
36035   CXXFLAGS=$gst_check_save_CXXFLAGS
36036
36037     if test x$HAVE_MIMIC = xno; then
36038     USE_MIMIC=no
36039   else
36040     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: mimic" >&5
36041 $as_echo "$as_me: *** These plugins will be built: mimic" >&6;}
36042   fi
36043 fi
36044 if test x$USE_MIMIC = xyes; then
36045   :
36046   if test "xmimic" != "x"; then
36047     GST_PLUGINS_YES="\tmimic\n$GST_PLUGINS_YES"
36048   fi
36049
36050 $as_echo "#define HAVE_MIMIC /**/" >>confdefs.h
36051
36052 else
36053   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: mimic" >&5
36054 $as_echo "$as_me: *** These plugins will not be built: mimic" >&6;}
36055   if test "xmimic" != "x"; then
36056     GST_PLUGINS_NO="\tmimic\n$GST_PLUGINS_NO"
36057   fi
36058   :
36059 fi
36060  if test x$USE_MIMIC = xyes; then
36061   USE_MIMIC_TRUE=
36062   USE_MIMIC_FALSE='#'
36063 else
36064   USE_MIMIC_TRUE='#'
36065   USE_MIMIC_FALSE=
36066 fi
36067
36068
36069
36070 echo
36071 if test -n "$PKG_CONFIG" && \
36072     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mjpegtools >= 1.6.1.93 mjpegtools < 1.8.0\""; } >&5
36073   ($PKG_CONFIG --exists --print-errors "mjpegtools >= 1.6.1.93 mjpegtools < 1.8.0") 2>&5
36074   ac_status=$?
36075   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36076   test $ac_status = 0; }; then
36077
36078   mjpegtools_api=10601
36079
36080 else
36081
36082   if test -n "$PKG_CONFIG" && \
36083     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mjpegtools >= 1.8.0 mjpegtools < 1.9.0\""; } >&5
36084   ($PKG_CONFIG --exists --print-errors "mjpegtools >= 1.8.0 mjpegtools < 1.9.0") 2>&5
36085   ac_status=$?
36086   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36087   test $ac_status = 0; }; then
36088
36089     mjpegtools_api=10800
36090
36091 else
36092
36093     if test -n "$PKG_CONFIG" && \
36094     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mjpegtools >= 2.0.0\""; } >&5
36095   ($PKG_CONFIG --exists --print-errors "mjpegtools >= 2.0.0") 2>&5
36096   ac_status=$?
36097   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36098   test $ac_status = 0; }; then
36099
36100       mjpegtools_api=20000
36101
36102 else
36103
36104
36105 pkg_failed=no
36106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MJPEG" >&5
36107 $as_echo_n "checking for MJPEG... " >&6; }
36108
36109 if test -n "$PKG_CONFIG"; then
36110     if test -n "$MJPEG_CFLAGS"; then
36111         pkg_cv_MJPEG_CFLAGS="$MJPEG_CFLAGS"
36112     else
36113         if test -n "$PKG_CONFIG" && \
36114     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mjpegtools >= 1.9.0 mjpegtools < 2.0.0\""; } >&5
36115   ($PKG_CONFIG --exists --print-errors "mjpegtools >= 1.9.0 mjpegtools < 2.0.0") 2>&5
36116   ac_status=$?
36117   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36118   test $ac_status = 0; }; then
36119   pkg_cv_MJPEG_CFLAGS=`$PKG_CONFIG --cflags "mjpegtools >= 1.9.0 mjpegtools < 2.0.0" 2>/dev/null`
36120 else
36121   pkg_failed=yes
36122 fi
36123     fi
36124 else
36125         pkg_failed=untried
36126 fi
36127 if test -n "$PKG_CONFIG"; then
36128     if test -n "$MJPEG_LIBS"; then
36129         pkg_cv_MJPEG_LIBS="$MJPEG_LIBS"
36130     else
36131         if test -n "$PKG_CONFIG" && \
36132     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mjpegtools >= 1.9.0 mjpegtools < 2.0.0\""; } >&5
36133   ($PKG_CONFIG --exists --print-errors "mjpegtools >= 1.9.0 mjpegtools < 2.0.0") 2>&5
36134   ac_status=$?
36135   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36136   test $ac_status = 0; }; then
36137   pkg_cv_MJPEG_LIBS=`$PKG_CONFIG --libs "mjpegtools >= 1.9.0 mjpegtools < 2.0.0" 2>/dev/null`
36138 else
36139   pkg_failed=yes
36140 fi
36141     fi
36142 else
36143         pkg_failed=untried
36144 fi
36145
36146
36147
36148 if test $pkg_failed = yes; then
36149
36150 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36151         _pkg_short_errors_supported=yes
36152 else
36153         _pkg_short_errors_supported=no
36154 fi
36155         if test $_pkg_short_errors_supported = yes; then
36156                 MJPEG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "mjpegtools >= 1.9.0 mjpegtools < 2.0.0"`
36157         else
36158                 MJPEG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "mjpegtools >= 1.9.0 mjpegtools < 2.0.0"`
36159         fi
36160         # Put the nasty error message in config.log where it belongs
36161         echo "$MJPEG_PKG_ERRORS" >&5
36162
36163         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36164 $as_echo "no" >&6; }
36165
36166         mjpegtools_api=0
36167
36168 elif test $pkg_failed = untried; then
36169
36170         mjpegtools_api=0
36171
36172 else
36173         MJPEG_CFLAGS=$pkg_cv_MJPEG_CFLAGS
36174         MJPEG_LIBS=$pkg_cv_MJPEG_LIBS
36175         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36176 $as_echo "yes" >&6; }
36177
36178                 OLD_CFLAGS="$CFLAGS"
36179         OLD_LIBS="$LIBS"
36180         CFLAGS="$MJPEG_CFLAGS"
36181         LIBS="$LIBS $MJPEG_LIBS -lmjpegutils $LIBM -lpthread"
36182         ac_fn_c_check_func "$LINENO" "mjpeg_loglev_t" "ac_cv_func_mjpeg_loglev_t"
36183 if test "x$ac_cv_func_mjpeg_loglev_t" = xyes; then :
36184
36185           mjpegtools_api=10903
36186
36187 else
36188
36189           mjpegtools_api=10900
36190
36191 fi
36192
36193         CFLAGS="$OLD_CFLAGS"
36194         LIBS="$OLD_LIBS"
36195
36196 fi
36197
36198 fi
36199
36200 fi
36201
36202 fi
36203
36204 cat >>confdefs.h <<_ACEOF
36205 #define GST_MJPEGTOOLS_API $mjpegtools_api
36206 _ACEOF
36207
36208
36209
36210 echo
36211 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: mpeg2enc ***" >&5
36212 $as_echo "$as_me: *** checking feature: mpeg2enc ***" >&6;}
36213 if test "xmpeg2enc" != "x"
36214 then
36215   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: mpeg2enc ***" >&5
36216 $as_echo "$as_me: *** for plug-ins: mpeg2enc ***" >&6;}
36217 fi
36218 NOUSE=
36219 if test "x$USE_MPEG2ENC" = "xno"; then
36220   NOUSE="yes"
36221 fi
36222 # Check whether --enable-mpeg2enc was given.
36223 if test "${enable_mpeg2enc+set}" = set; then :
36224   enableval=$enable_mpeg2enc;  case "${enableval}" in
36225       yes) USE_MPEG2ENC=yes;;
36226       no) USE_MPEG2ENC=no;;
36227       *) as_fn_error $? "bad value ${enableval} for --enable-mpeg2enc" "$LINENO" 5 ;;
36228     esac
36229 else
36230    USE_MPEG2ENC=yes
36231 fi
36232
36233 if test "x$NOUSE" = "xyes"; then
36234   USE_MPEG2ENC="no"
36235   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** mpeg2enc pre-configured not to be built" >&5
36236 $as_echo "$as_me: WARNING: *** mpeg2enc pre-configured not to be built" >&2;}
36237 fi
36238 NOUSE=
36239
36240
36241 if test x$USE_MPEG2ENC = xyes; then
36242
36243   gst_check_save_LIBS=$LIBS
36244   gst_check_save_LDFLAGS=$LDFLAGS
36245   gst_check_save_CFLAGS=$CFLAGS
36246   gst_check_save_CPPFLAGS=$CPPFLAGS
36247   gst_check_save_CXXFLAGS=$CXXFLAGS
36248
36249   HAVE_MPEG2ENC=no
36250
36251   HAVE_MPEG2ENC="no"
36252     if  test x$HAVE_CXX = xyes ; then
36253
36254 pkg_failed=no
36255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MPEG2ENC" >&5
36256 $as_echo_n "checking for MPEG2ENC... " >&6; }
36257
36258 if test -n "$PKG_CONFIG"; then
36259     if test -n "$MPEG2ENC_CFLAGS"; then
36260         pkg_cv_MPEG2ENC_CFLAGS="$MPEG2ENC_CFLAGS"
36261     else
36262         if test -n "$PKG_CONFIG" && \
36263     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mjpegtools >= 1.6.1.93\""; } >&5
36264   ($PKG_CONFIG --exists --print-errors "mjpegtools >= 1.6.1.93") 2>&5
36265   ac_status=$?
36266   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36267   test $ac_status = 0; }; then
36268   pkg_cv_MPEG2ENC_CFLAGS=`$PKG_CONFIG --cflags "mjpegtools >= 1.6.1.93" 2>/dev/null`
36269 else
36270   pkg_failed=yes
36271 fi
36272     fi
36273 else
36274         pkg_failed=untried
36275 fi
36276 if test -n "$PKG_CONFIG"; then
36277     if test -n "$MPEG2ENC_LIBS"; then
36278         pkg_cv_MPEG2ENC_LIBS="$MPEG2ENC_LIBS"
36279     else
36280         if test -n "$PKG_CONFIG" && \
36281     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mjpegtools >= 1.6.1.93\""; } >&5
36282   ($PKG_CONFIG --exists --print-errors "mjpegtools >= 1.6.1.93") 2>&5
36283   ac_status=$?
36284   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36285   test $ac_status = 0; }; then
36286   pkg_cv_MPEG2ENC_LIBS=`$PKG_CONFIG --libs "mjpegtools >= 1.6.1.93" 2>/dev/null`
36287 else
36288   pkg_failed=yes
36289 fi
36290     fi
36291 else
36292         pkg_failed=untried
36293 fi
36294
36295
36296
36297 if test $pkg_failed = yes; then
36298
36299 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36300         _pkg_short_errors_supported=yes
36301 else
36302         _pkg_short_errors_supported=no
36303 fi
36304         if test $_pkg_short_errors_supported = yes; then
36305                 MPEG2ENC_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "mjpegtools >= 1.6.1.93"`
36306         else
36307                 MPEG2ENC_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "mjpegtools >= 1.6.1.93"`
36308         fi
36309         # Put the nasty error message in config.log where it belongs
36310         echo "$MPEG2ENC_PKG_ERRORS" >&5
36311
36312         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36313 $as_echo "no" >&6; }
36314
36315       HAVE_MPEG2ENC="no"
36316
36317 elif test $pkg_failed = untried; then
36318
36319       HAVE_MPEG2ENC="no"
36320
36321 else
36322         MPEG2ENC_CFLAGS=$pkg_cv_MPEG2ENC_CFLAGS
36323         MPEG2ENC_LIBS=$pkg_cv_MPEG2ENC_LIBS
36324         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36325 $as_echo "yes" >&6; }
36326
36327             touch config.h
36328             ac_ext=cpp
36329 ac_cpp='$CXXCPP $CPPFLAGS'
36330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36333
36334       OLD_CPPFLAGS="$CPPFLAGS"
36335             CPPFLAGS_GOOD="$CPPFLAGS $MPEG2ENC_CFLAGS"
36336       CPPFLAGS="$CPPFLAGS_GOOD -I."
36337             mpeg2enc_headers_ok=no
36338       ac_fn_cxx_check_header_mongrel "$LINENO" "mpeg2encoder.hh" "ac_cv_header_mpeg2encoder_hh" "$ac_includes_default"
36339 if test "x$ac_cv_header_mpeg2encoder_hh" = xyes; then :
36340
36341         MPEG2ENC_LIBS="$MPEG2ENC_LIBS -lmpeg2encpp $LIBM -lpthread"
36342         OLD_LIBS="$LIBS"
36343         LIBS="$LIBS $MPEG2ENC_LIBS"
36344         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for valid mpeg2enc objects" >&5
36345 $as_echo_n "checking for valid mpeg2enc objects... " >&6; }
36346         if test "$cross_compiling" = yes; then :
36347   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
36348 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
36349 as_fn_error $? "cannot run test program while cross compiling
36350 See \`config.log' for more details" "$LINENO" 5; }
36351 else
36352   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36353 /* end confdefs.h.  */
36354
36355           #include <mpeg2encoder.hh>
36356           #include <mpeg2encoptions.hh>
36357
36358           int
36359           main (int   argc,
36360                 char *argv[])
36361           {
36362             MPEG2EncOptions *options = new MPEG2EncOptions ();
36363             MPEG2Encoder *encoder = new MPEG2Encoder (*options);
36364             return 0;
36365           }
36366
36367 _ACEOF
36368 if ac_fn_cxx_try_run "$LINENO"; then :
36369
36370           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36371 $as_echo "yes" >&6; }
36372                                                             if test "$mjpegtools_api" -ge "10800"; then
36373             ac_fn_cxx_check_header_mongrel "$LINENO" "mpeg2syntaxcodes.h" "ac_cv_header_mpeg2syntaxcodes_h" "$ac_includes_default"
36374 if test "x$ac_cv_header_mpeg2syntaxcodes_h" = xyes; then :
36375
36376                 mpeg2enc_headers_ok=yes
36377
36378 else
36379
36380                 mpeg2enc_headers_ok=no
36381
36382 fi
36383
36384
36385           else
36386             mpeg2enc_headers_ok=yes
36387           fi
36388           if test "x$mpeg2enc_headers_ok" = "xyes"; then
36389             HAVE_MPEG2ENC="yes"
36390           fi
36391           CPPFLAGS="$CPPFLAGS_GOOD"
36392
36393
36394
36395 else
36396
36397           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36398 $as_echo "no" >&6; }
36399
36400 fi
36401 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
36402   conftest.$ac_objext conftest.beam conftest.$ac_ext
36403 fi
36404
36405         LIBS="$OLD_LIBS"
36406
36407 fi
36408
36409
36410
36411       CPPFLAGS="$OLD_CPPFLAGS"
36412       ac_ext=c
36413 ac_cpp='$CPP $CPPFLAGS'
36414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36417
36418
36419 fi
36420   fi
36421
36422
36423   LIBS=$gst_check_save_LIBS
36424   LDFLAGS=$gst_check_save_LDFLAGS
36425   CFLAGS=$gst_check_save_CFLAGS
36426   CPPFLAGS=$gst_check_save_CPPFLAGS
36427   CXXFLAGS=$gst_check_save_CXXFLAGS
36428
36429     if test x$HAVE_MPEG2ENC = xno; then
36430     USE_MPEG2ENC=no
36431   else
36432     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: mpeg2enc" >&5
36433 $as_echo "$as_me: *** These plugins will be built: mpeg2enc" >&6;}
36434   fi
36435 fi
36436 if test x$USE_MPEG2ENC = xyes; then
36437   :
36438   if test "xmpeg2enc" != "x"; then
36439     GST_PLUGINS_YES="\tmpeg2enc\n$GST_PLUGINS_YES"
36440   fi
36441
36442 $as_echo "#define HAVE_MPEG2ENC /**/" >>confdefs.h
36443
36444 else
36445   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: mpeg2enc" >&5
36446 $as_echo "$as_me: *** These plugins will not be built: mpeg2enc" >&6;}
36447   if test "xmpeg2enc" != "x"; then
36448     GST_PLUGINS_NO="\tmpeg2enc\n$GST_PLUGINS_NO"
36449   fi
36450   :
36451 fi
36452  if test x$USE_MPEG2ENC = xyes; then
36453   USE_MPEG2ENC_TRUE=
36454   USE_MPEG2ENC_FALSE='#'
36455 else
36456   USE_MPEG2ENC_TRUE='#'
36457   USE_MPEG2ENC_FALSE=
36458 fi
36459
36460
36461
36462 echo
36463 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: mplex ***" >&5
36464 $as_echo "$as_me: *** checking feature: mplex ***" >&6;}
36465 if test "xmplex" != "x"
36466 then
36467   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: mplex ***" >&5
36468 $as_echo "$as_me: *** for plug-ins: mplex ***" >&6;}
36469 fi
36470 NOUSE=
36471 if test "x$USE_MPLEX" = "xno"; then
36472   NOUSE="yes"
36473 fi
36474 # Check whether --enable-mplex was given.
36475 if test "${enable_mplex+set}" = set; then :
36476   enableval=$enable_mplex;  case "${enableval}" in
36477       yes) USE_MPLEX=yes;;
36478       no) USE_MPLEX=no;;
36479       *) as_fn_error $? "bad value ${enableval} for --enable-mplex" "$LINENO" 5 ;;
36480     esac
36481 else
36482    USE_MPLEX=yes
36483 fi
36484
36485 if test "x$NOUSE" = "xyes"; then
36486   USE_MPLEX="no"
36487   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** mplex pre-configured not to be built" >&5
36488 $as_echo "$as_me: WARNING: *** mplex pre-configured not to be built" >&2;}
36489 fi
36490 NOUSE=
36491
36492
36493 if test x$USE_MPLEX = xyes; then
36494
36495   gst_check_save_LIBS=$LIBS
36496   gst_check_save_LDFLAGS=$LDFLAGS
36497   gst_check_save_CFLAGS=$CFLAGS
36498   gst_check_save_CPPFLAGS=$CPPFLAGS
36499   gst_check_save_CXXFLAGS=$CXXFLAGS
36500
36501   HAVE_MPLEX=no
36502
36503   HAVE_MPLEX="no"
36504     if  test x$HAVE_CXX = xyes ; then
36505
36506 pkg_failed=no
36507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MPLEX" >&5
36508 $as_echo_n "checking for MPLEX... " >&6; }
36509
36510 if test -n "$PKG_CONFIG"; then
36511     if test -n "$MPLEX_CFLAGS"; then
36512         pkg_cv_MPLEX_CFLAGS="$MPLEX_CFLAGS"
36513     else
36514         if test -n "$PKG_CONFIG" && \
36515     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mjpegtools >= 1.9.0\""; } >&5
36516   ($PKG_CONFIG --exists --print-errors "mjpegtools >= 1.9.0") 2>&5
36517   ac_status=$?
36518   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36519   test $ac_status = 0; }; then
36520   pkg_cv_MPLEX_CFLAGS=`$PKG_CONFIG --cflags "mjpegtools >= 1.9.0" 2>/dev/null`
36521 else
36522   pkg_failed=yes
36523 fi
36524     fi
36525 else
36526         pkg_failed=untried
36527 fi
36528 if test -n "$PKG_CONFIG"; then
36529     if test -n "$MPLEX_LIBS"; then
36530         pkg_cv_MPLEX_LIBS="$MPLEX_LIBS"
36531     else
36532         if test -n "$PKG_CONFIG" && \
36533     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mjpegtools >= 1.9.0\""; } >&5
36534   ($PKG_CONFIG --exists --print-errors "mjpegtools >= 1.9.0") 2>&5
36535   ac_status=$?
36536   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36537   test $ac_status = 0; }; then
36538   pkg_cv_MPLEX_LIBS=`$PKG_CONFIG --libs "mjpegtools >= 1.9.0" 2>/dev/null`
36539 else
36540   pkg_failed=yes
36541 fi
36542     fi
36543 else
36544         pkg_failed=untried
36545 fi
36546
36547
36548
36549 if test $pkg_failed = yes; then
36550
36551 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36552         _pkg_short_errors_supported=yes
36553 else
36554         _pkg_short_errors_supported=no
36555 fi
36556         if test $_pkg_short_errors_supported = yes; then
36557                 MPLEX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "mjpegtools >= 1.9.0"`
36558         else
36559                 MPLEX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "mjpegtools >= 1.9.0"`
36560         fi
36561         # Put the nasty error message in config.log where it belongs
36562         echo "$MPLEX_PKG_ERRORS" >&5
36563
36564         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36565 $as_echo "no" >&6; }
36566                 HAVE_MPLEX="no"
36567 elif test $pkg_failed = untried; then
36568         HAVE_MPLEX="no"
36569 else
36570         MPLEX_CFLAGS=$pkg_cv_MPLEX_CFLAGS
36571         MPLEX_LIBS=$pkg_cv_MPLEX_LIBS
36572         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36573 $as_echo "yes" >&6; }
36574
36575             touch config.h
36576             ac_ext=cpp
36577 ac_cpp='$CXXCPP $CPPFLAGS'
36578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36581
36582       OLD_CPPFLAGS="$CPPFLAGS"
36583             CPPFLAGS_GOOD="$CPPFLAGS $MPLEX_CFLAGS"
36584       CPPFLAGS="$CPPFLAGS_GOOD -I."
36585       ac_fn_cxx_check_header_mongrel "$LINENO" "interact.hpp" "ac_cv_header_interact_hpp" "$ac_includes_default"
36586 if test "x$ac_cv_header_interact_hpp" = xyes; then :
36587
36588         MPLEX_LIBS="$MPLEX_LIBS -lmplex2 $LIBM"
36589         OLD_LIBS="$LIBS"
36590         LIBS="$LIBS $MPLEX_LIBS"
36591         OLD_LDFLAGS="$LDFLAGS"
36592         LDFLAGS="$LDFLAGS $MPLEX_LDFLAGS"
36593                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for valid mplex objects" >&5
36594 $as_echo_n "checking for valid mplex objects... " >&6; }
36595         if test "$cross_compiling" = yes; then :
36596   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
36597 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
36598 as_fn_error $? "cannot run test program while cross compiling
36599 See \`config.log' for more details" "$LINENO" 5; }
36600 else
36601   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36602 /* end confdefs.h.  */
36603
36604
36605 #include <interact.hpp>
36606 #include <outputstrm.hpp>
36607 #include <multiplexor.hpp>
36608 int
36609 main (int   argc,
36610       char *argv[])
36611 {
36612   class TestOutputStream : public OutputStream {
36613   public:
36614     TestOutputStream () : OutputStream () { }
36615     void Write (uint8_t *a, unsigned int b) { }
36616     void NextSegment () { }
36617     uint64_t SegmentSize () { }
36618     void Close () { }
36619     int Open () { }
36620 };
36621   MultiplexJob *job = new MultiplexJob ();
36622   vector<IBitStream *> inputs;
36623   job->SetupInputStreams (inputs);
36624   TestOutputStream *out = new TestOutputStream ();
36625   Multiplexor *mux = new Multiplexor(*job, *out, NULL);
36626   return 0;
36627 }
36628
36629 _ACEOF
36630 if ac_fn_cxx_try_run "$LINENO"; then :
36631
36632           HAVE_MPLEX="yes"
36633           CPPFLAGS="$CPPFLAGS_GOOD"
36634
36635
36636
36637           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36638 $as_echo "yes" >&6; }
36639
36640 else
36641   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36642 $as_echo "no" >&6; }
36643 fi
36644 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
36645   conftest.$ac_objext conftest.beam conftest.$ac_ext
36646 fi
36647
36648         LIBS="$OLD_LIBS"
36649         LDFLAGS="$OLD_LDFLAGS"
36650
36651 fi
36652
36653
36654       CPPFLAGS="$OLD_CPPFLAGS"
36655       ac_ext=c
36656 ac_cpp='$CPP $CPPFLAGS'
36657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36660
36661
36662 fi
36663   fi
36664
36665
36666   LIBS=$gst_check_save_LIBS
36667   LDFLAGS=$gst_check_save_LDFLAGS
36668   CFLAGS=$gst_check_save_CFLAGS
36669   CPPFLAGS=$gst_check_save_CPPFLAGS
36670   CXXFLAGS=$gst_check_save_CXXFLAGS
36671
36672     if test x$HAVE_MPLEX = xno; then
36673     USE_MPLEX=no
36674   else
36675     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: mplex" >&5
36676 $as_echo "$as_me: *** These plugins will be built: mplex" >&6;}
36677   fi
36678 fi
36679 if test x$USE_MPLEX = xyes; then
36680   :
36681   if test "xmplex" != "x"; then
36682     GST_PLUGINS_YES="\tmplex\n$GST_PLUGINS_YES"
36683   fi
36684
36685 $as_echo "#define HAVE_MPLEX /**/" >>confdefs.h
36686
36687 else
36688   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: mplex" >&5
36689 $as_echo "$as_me: *** These plugins will not be built: mplex" >&6;}
36690   if test "xmplex" != "x"; then
36691     GST_PLUGINS_NO="\tmplex\n$GST_PLUGINS_NO"
36692   fi
36693   :
36694 fi
36695  if test x$USE_MPLEX = xyes; then
36696   USE_MPLEX_TRUE=
36697   USE_MPLEX_FALSE='#'
36698 else
36699   USE_MPLEX_TRUE='#'
36700   USE_MPLEX_FALSE=
36701 fi
36702
36703
36704
36705 echo
36706 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: musepackdec ***" >&5
36707 $as_echo "$as_me: *** checking feature: musepackdec ***" >&6;}
36708 if test "xmusepack" != "x"
36709 then
36710   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: musepack ***" >&5
36711 $as_echo "$as_me: *** for plug-ins: musepack ***" >&6;}
36712 fi
36713 NOUSE=
36714 if test "x$USE_MUSEPACK" = "xno"; then
36715   NOUSE="yes"
36716 fi
36717 # Check whether --enable-musepack was given.
36718 if test "${enable_musepack+set}" = set; then :
36719   enableval=$enable_musepack;  case "${enableval}" in
36720       yes) USE_MUSEPACK=yes;;
36721       no) USE_MUSEPACK=no;;
36722       *) as_fn_error $? "bad value ${enableval} for --enable-musepack" "$LINENO" 5 ;;
36723     esac
36724 else
36725    USE_MUSEPACK=yes
36726 fi
36727
36728 if test "x$NOUSE" = "xyes"; then
36729   USE_MUSEPACK="no"
36730   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** musepack pre-configured not to be built" >&5
36731 $as_echo "$as_me: WARNING: *** musepack pre-configured not to be built" >&2;}
36732 fi
36733 NOUSE=
36734
36735
36736 if test x$USE_MUSEPACK = xyes; then
36737
36738   gst_check_save_LIBS=$LIBS
36739   gst_check_save_LDFLAGS=$LDFLAGS
36740   gst_check_save_CFLAGS=$CFLAGS
36741   gst_check_save_CPPFLAGS=$CPPFLAGS
36742   gst_check_save_CXXFLAGS=$CXXFLAGS
36743
36744   HAVE_MUSEPACK=no
36745
36746   ac_fn_c_check_header_mongrel "$LINENO" "mpc/mpcdec.h" "ac_cv_header_mpc_mpcdec_h" "$ac_includes_default"
36747 if test "x$ac_cv_header_mpc_mpcdec_h" = xyes; then :
36748
36749     HAVE_MUSEPACK="yes"
36750     MUSEPACK_LIBS="-lmpcdec"
36751
36752
36753 else
36754   ac_fn_c_check_header_mongrel "$LINENO" "mpcdec/mpcdec.h" "ac_cv_header_mpcdec_mpcdec_h" "$ac_includes_default"
36755 if test "x$ac_cv_header_mpcdec_mpcdec_h" = xyes; then :
36756
36757       HAVE_MUSEPACK="yes"
36758       MUSEPACK_LIBS="-lmpcdec"
36759
36760 $as_echo "#define MPC_IS_OLD_API 1" >>confdefs.h
36761
36762
36763
36764 else
36765   HAVE_MUSEPACK="no"
36766 fi
36767
36768
36769 fi
36770
36771
36772
36773
36774   LIBS=$gst_check_save_LIBS
36775   LDFLAGS=$gst_check_save_LDFLAGS
36776   CFLAGS=$gst_check_save_CFLAGS
36777   CPPFLAGS=$gst_check_save_CPPFLAGS
36778   CXXFLAGS=$gst_check_save_CXXFLAGS
36779
36780     if test x$HAVE_MUSEPACK = xno; then
36781     USE_MUSEPACK=no
36782   else
36783     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: musepack" >&5
36784 $as_echo "$as_me: *** These plugins will be built: musepack" >&6;}
36785   fi
36786 fi
36787 if test x$USE_MUSEPACK = xyes; then
36788   :
36789   if test "xmusepack" != "x"; then
36790     GST_PLUGINS_YES="\tmusepack\n$GST_PLUGINS_YES"
36791   fi
36792
36793 $as_echo "#define HAVE_MUSEPACK /**/" >>confdefs.h
36794
36795 else
36796   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: musepack" >&5
36797 $as_echo "$as_me: *** These plugins will not be built: musepack" >&6;}
36798   if test "xmusepack" != "x"; then
36799     GST_PLUGINS_NO="\tmusepack\n$GST_PLUGINS_NO"
36800   fi
36801   :
36802 fi
36803  if test x$USE_MUSEPACK = xyes; then
36804   USE_MUSEPACK_TRUE=
36805   USE_MUSEPACK_FALSE='#'
36806 else
36807   USE_MUSEPACK_TRUE='#'
36808   USE_MUSEPACK_FALSE=
36809 fi
36810
36811
36812
36813 echo
36814 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: musicbrainz tag generation ***" >&5
36815 $as_echo "$as_me: *** checking feature: musicbrainz tag generation ***" >&6;}
36816 if test "xmusicbrainz" != "x"
36817 then
36818   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: musicbrainz ***" >&5
36819 $as_echo "$as_me: *** for plug-ins: musicbrainz ***" >&6;}
36820 fi
36821 NOUSE=
36822 if test "x$USE_MUSICBRAINZ" = "xno"; then
36823   NOUSE="yes"
36824 fi
36825 # Check whether --enable-musicbrainz was given.
36826 if test "${enable_musicbrainz+set}" = set; then :
36827   enableval=$enable_musicbrainz;  case "${enableval}" in
36828       yes) USE_MUSICBRAINZ=yes;;
36829       no) USE_MUSICBRAINZ=no;;
36830       *) as_fn_error $? "bad value ${enableval} for --enable-musicbrainz" "$LINENO" 5 ;;
36831     esac
36832 else
36833    USE_MUSICBRAINZ=yes
36834 fi
36835
36836 if test "x$NOUSE" = "xyes"; then
36837   USE_MUSICBRAINZ="no"
36838   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** musicbrainz pre-configured not to be built" >&5
36839 $as_echo "$as_me: WARNING: *** musicbrainz pre-configured not to be built" >&2;}
36840 fi
36841 NOUSE=
36842
36843
36844 if test x$USE_MUSICBRAINZ = xyes; then
36845
36846   gst_check_save_LIBS=$LIBS
36847   gst_check_save_LDFLAGS=$LDFLAGS
36848   gst_check_save_CFLAGS=$CFLAGS
36849   gst_check_save_CPPFLAGS=$CPPFLAGS
36850   gst_check_save_CXXFLAGS=$CXXFLAGS
36851
36852   HAVE_MUSICBRAINZ=no
36853
36854
36855 pkg_failed=no
36856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MUSICBRAINZ" >&5
36857 $as_echo_n "checking for MUSICBRAINZ... " >&6; }
36858
36859 if test -n "$PKG_CONFIG"; then
36860     if test -n "$MUSICBRAINZ_CFLAGS"; then
36861         pkg_cv_MUSICBRAINZ_CFLAGS="$MUSICBRAINZ_CFLAGS"
36862     else
36863         if test -n "$PKG_CONFIG" && \
36864     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmusicbrainz >= 2.1.0\""; } >&5
36865   ($PKG_CONFIG --exists --print-errors "libmusicbrainz >= 2.1.0") 2>&5
36866   ac_status=$?
36867   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36868   test $ac_status = 0; }; then
36869   pkg_cv_MUSICBRAINZ_CFLAGS=`$PKG_CONFIG --cflags "libmusicbrainz >= 2.1.0" 2>/dev/null`
36870 else
36871   pkg_failed=yes
36872 fi
36873     fi
36874 else
36875         pkg_failed=untried
36876 fi
36877 if test -n "$PKG_CONFIG"; then
36878     if test -n "$MUSICBRAINZ_LIBS"; then
36879         pkg_cv_MUSICBRAINZ_LIBS="$MUSICBRAINZ_LIBS"
36880     else
36881         if test -n "$PKG_CONFIG" && \
36882     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmusicbrainz >= 2.1.0\""; } >&5
36883   ($PKG_CONFIG --exists --print-errors "libmusicbrainz >= 2.1.0") 2>&5
36884   ac_status=$?
36885   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36886   test $ac_status = 0; }; then
36887   pkg_cv_MUSICBRAINZ_LIBS=`$PKG_CONFIG --libs "libmusicbrainz >= 2.1.0" 2>/dev/null`
36888 else
36889   pkg_failed=yes
36890 fi
36891     fi
36892 else
36893         pkg_failed=untried
36894 fi
36895
36896
36897
36898 if test $pkg_failed = yes; then
36899
36900 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36901         _pkg_short_errors_supported=yes
36902 else
36903         _pkg_short_errors_supported=no
36904 fi
36905         if test $_pkg_short_errors_supported = yes; then
36906                 MUSICBRAINZ_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libmusicbrainz >= 2.1.0"`
36907         else
36908                 MUSICBRAINZ_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libmusicbrainz >= 2.1.0"`
36909         fi
36910         # Put the nasty error message in config.log where it belongs
36911         echo "$MUSICBRAINZ_PKG_ERRORS" >&5
36912
36913         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36914 $as_echo "no" >&6; }
36915                 HAVE_MUSICBRAINZ="no"
36916 elif test $pkg_failed = untried; then
36917         HAVE_MUSICBRAINZ="no"
36918 else
36919         MUSICBRAINZ_CFLAGS=$pkg_cv_MUSICBRAINZ_CFLAGS
36920         MUSICBRAINZ_LIBS=$pkg_cv_MUSICBRAINZ_LIBS
36921         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36922 $as_echo "yes" >&6; }
36923         HAVE_MUSICBRAINZ="yes"
36924 fi
36925
36926
36927
36928
36929   LIBS=$gst_check_save_LIBS
36930   LDFLAGS=$gst_check_save_LDFLAGS
36931   CFLAGS=$gst_check_save_CFLAGS
36932   CPPFLAGS=$gst_check_save_CPPFLAGS
36933   CXXFLAGS=$gst_check_save_CXXFLAGS
36934
36935     if test x$HAVE_MUSICBRAINZ = xno; then
36936     USE_MUSICBRAINZ=no
36937   else
36938     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: musicbrainz" >&5
36939 $as_echo "$as_me: *** These plugins will be built: musicbrainz" >&6;}
36940   fi
36941 fi
36942 if test x$USE_MUSICBRAINZ = xyes; then
36943   :
36944   if test "xmusicbrainz" != "x"; then
36945     GST_PLUGINS_YES="\tmusicbrainz\n$GST_PLUGINS_YES"
36946   fi
36947
36948 $as_echo "#define HAVE_MUSICBRAINZ /**/" >>confdefs.h
36949
36950 else
36951   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: musicbrainz" >&5
36952 $as_echo "$as_me: *** These plugins will not be built: musicbrainz" >&6;}
36953   if test "xmusicbrainz" != "x"; then
36954     GST_PLUGINS_NO="\tmusicbrainz\n$GST_PLUGINS_NO"
36955   fi
36956   :
36957 fi
36958  if test x$USE_MUSICBRAINZ = xyes; then
36959   USE_MUSICBRAINZ_TRUE=
36960   USE_MUSICBRAINZ_FALSE='#'
36961 else
36962   USE_MUSICBRAINZ_TRUE='#'
36963   USE_MUSICBRAINZ_FALSE=
36964 fi
36965
36966
36967
36968 echo
36969 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: MythTV client plugins ***" >&5
36970 $as_echo "$as_me: *** checking feature: MythTV client plugins ***" >&6;}
36971 if test "xmythtvsrc" != "x"
36972 then
36973   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: mythtvsrc ***" >&5
36974 $as_echo "$as_me: *** for plug-ins: mythtvsrc ***" >&6;}
36975 fi
36976 NOUSE=
36977 if test "x$USE_MYTHTV" = "xno"; then
36978   NOUSE="yes"
36979 fi
36980 # Check whether --enable-mythtv was given.
36981 if test "${enable_mythtv+set}" = set; then :
36982   enableval=$enable_mythtv;  case "${enableval}" in
36983       yes) USE_MYTHTV=yes;;
36984       no) USE_MYTHTV=no;;
36985       *) as_fn_error $? "bad value ${enableval} for --enable-mythtv" "$LINENO" 5 ;;
36986     esac
36987 else
36988    USE_MYTHTV=yes
36989 fi
36990
36991 if test "x$NOUSE" = "xyes"; then
36992   USE_MYTHTV="no"
36993   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** mythtvsrc pre-configured not to be built" >&5
36994 $as_echo "$as_me: WARNING: *** mythtvsrc pre-configured not to be built" >&2;}
36995 fi
36996 NOUSE=
36997
36998
36999 if test x$USE_MYTHTV = xyes; then
37000
37001   gst_check_save_LIBS=$LIBS
37002   gst_check_save_LDFLAGS=$LDFLAGS
37003   gst_check_save_CFLAGS=$CFLAGS
37004   gst_check_save_CPPFLAGS=$CPPFLAGS
37005   gst_check_save_CXXFLAGS=$CXXFLAGS
37006
37007   HAVE_MYTHTV=no
37008
37009
37010 pkg_failed=no
37011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GMYTH" >&5
37012 $as_echo_n "checking for GMYTH... " >&6; }
37013
37014 if test -n "$PKG_CONFIG"; then
37015     if test -n "$GMYTH_CFLAGS"; then
37016         pkg_cv_GMYTH_CFLAGS="$GMYTH_CFLAGS"
37017     else
37018         if test -n "$PKG_CONFIG" && \
37019     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmyth >= 0.4 gmyth <= 0.7.99\""; } >&5
37020   ($PKG_CONFIG --exists --print-errors "gmyth >= 0.4 gmyth <= 0.7.99") 2>&5
37021   ac_status=$?
37022   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37023   test $ac_status = 0; }; then
37024   pkg_cv_GMYTH_CFLAGS=`$PKG_CONFIG --cflags "gmyth >= 0.4 gmyth <= 0.7.99" 2>/dev/null`
37025 else
37026   pkg_failed=yes
37027 fi
37028     fi
37029 else
37030         pkg_failed=untried
37031 fi
37032 if test -n "$PKG_CONFIG"; then
37033     if test -n "$GMYTH_LIBS"; then
37034         pkg_cv_GMYTH_LIBS="$GMYTH_LIBS"
37035     else
37036         if test -n "$PKG_CONFIG" && \
37037     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmyth >= 0.4 gmyth <= 0.7.99\""; } >&5
37038   ($PKG_CONFIG --exists --print-errors "gmyth >= 0.4 gmyth <= 0.7.99") 2>&5
37039   ac_status=$?
37040   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37041   test $ac_status = 0; }; then
37042   pkg_cv_GMYTH_LIBS=`$PKG_CONFIG --libs "gmyth >= 0.4 gmyth <= 0.7.99" 2>/dev/null`
37043 else
37044   pkg_failed=yes
37045 fi
37046     fi
37047 else
37048         pkg_failed=untried
37049 fi
37050
37051
37052
37053 if test $pkg_failed = yes; then
37054
37055 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37056         _pkg_short_errors_supported=yes
37057 else
37058         _pkg_short_errors_supported=no
37059 fi
37060         if test $_pkg_short_errors_supported = yes; then
37061                 GMYTH_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gmyth >= 0.4 gmyth <= 0.7.99"`
37062         else
37063                 GMYTH_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gmyth >= 0.4 gmyth <= 0.7.99"`
37064         fi
37065         # Put the nasty error message in config.log where it belongs
37066         echo "$GMYTH_PKG_ERRORS" >&5
37067
37068         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37069 $as_echo "no" >&6; }
37070
37071     HAVE_MYTHTV="no"
37072
37073 elif test $pkg_failed = untried; then
37074
37075     HAVE_MYTHTV="no"
37076
37077 else
37078         GMYTH_CFLAGS=$pkg_cv_GMYTH_CFLAGS
37079         GMYTH_LIBS=$pkg_cv_GMYTH_LIBS
37080         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37081 $as_echo "yes" >&6; }
37082         HAVE_MYTHTV="yes"
37083 fi
37084
37085
37086
37087
37088   LIBS=$gst_check_save_LIBS
37089   LDFLAGS=$gst_check_save_LDFLAGS
37090   CFLAGS=$gst_check_save_CFLAGS
37091   CPPFLAGS=$gst_check_save_CPPFLAGS
37092   CXXFLAGS=$gst_check_save_CXXFLAGS
37093
37094     if test x$HAVE_MYTHTV = xno; then
37095     USE_MYTHTV=no
37096   else
37097     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: mythtvsrc" >&5
37098 $as_echo "$as_me: *** These plugins will be built: mythtvsrc" >&6;}
37099   fi
37100 fi
37101 if test x$USE_MYTHTV = xyes; then
37102   :
37103   if test "xmythtvsrc" != "x"; then
37104     GST_PLUGINS_YES="\tmythtvsrc\n$GST_PLUGINS_YES"
37105   fi
37106
37107 $as_echo "#define HAVE_MYTHTV /**/" >>confdefs.h
37108
37109 else
37110   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: mythtvsrc" >&5
37111 $as_echo "$as_me: *** These plugins will not be built: mythtvsrc" >&6;}
37112   if test "xmythtvsrc" != "x"; then
37113     GST_PLUGINS_NO="\tmythtvsrc\n$GST_PLUGINS_NO"
37114   fi
37115   :
37116 fi
37117  if test x$USE_MYTHTV = xyes; then
37118   USE_MYTHTV_TRUE=
37119   USE_MYTHTV_FALSE='#'
37120 else
37121   USE_MYTHTV_TRUE='#'
37122   USE_MYTHTV_FALSE=
37123 fi
37124
37125
37126
37127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
37128 $as_echo_n "checking for X... " >&6; }
37129
37130
37131 # Check whether --with-x was given.
37132 if test "${with_x+set}" = set; then :
37133   withval=$with_x;
37134 fi
37135
37136 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
37137 if test "x$with_x" = xno; then
37138   # The user explicitly disabled X.
37139   have_x=disabled
37140 else
37141   case $x_includes,$x_libraries in #(
37142     *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
37143     *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
37144   $as_echo_n "(cached) " >&6
37145 else
37146   # One or both of the vars are not set, and there is no cached value.
37147 ac_x_includes=no ac_x_libraries=no
37148 rm -f -r conftest.dir
37149 if mkdir conftest.dir; then
37150   cd conftest.dir
37151   cat >Imakefile <<'_ACEOF'
37152 incroot:
37153         @echo incroot='${INCROOT}'
37154 usrlibdir:
37155         @echo usrlibdir='${USRLIBDIR}'
37156 libdir:
37157         @echo libdir='${LIBDIR}'
37158 _ACEOF
37159   if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
37160     # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
37161     for ac_var in incroot usrlibdir libdir; do
37162       eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
37163     done
37164     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
37165     for ac_extension in a so sl dylib la dll; do
37166       if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
37167          test -f "$ac_im_libdir/libX11.$ac_extension"; then
37168         ac_im_usrlibdir=$ac_im_libdir; break
37169       fi
37170     done
37171     # Screen out bogus values from the imake configuration.  They are
37172     # bogus both because they are the default anyway, and because
37173     # using them would break gcc on systems where it needs fixed includes.
37174     case $ac_im_incroot in
37175         /usr/include) ac_x_includes= ;;
37176         *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
37177     esac
37178     case $ac_im_usrlibdir in
37179         /usr/lib | /usr/lib64 | /lib | /lib64) ;;
37180         *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
37181     esac
37182   fi
37183   cd ..
37184   rm -f -r conftest.dir
37185 fi
37186
37187 # Standard set of common directories for X headers.
37188 # Check X11 before X11Rn because it is often a symlink to the current release.
37189 ac_x_header_dirs='
37190 /usr/X11/include
37191 /usr/X11R7/include
37192 /usr/X11R6/include
37193 /usr/X11R5/include
37194 /usr/X11R4/include
37195
37196 /usr/include/X11
37197 /usr/include/X11R7
37198 /usr/include/X11R6
37199 /usr/include/X11R5
37200 /usr/include/X11R4
37201
37202 /usr/local/X11/include
37203 /usr/local/X11R7/include
37204 /usr/local/X11R6/include
37205 /usr/local/X11R5/include
37206 /usr/local/X11R4/include
37207
37208 /usr/local/include/X11
37209 /usr/local/include/X11R7
37210 /usr/local/include/X11R6
37211 /usr/local/include/X11R5
37212 /usr/local/include/X11R4
37213
37214 /usr/X386/include
37215 /usr/x386/include
37216 /usr/XFree86/include/X11
37217
37218 /usr/include
37219 /usr/local/include
37220 /usr/unsupported/include
37221 /usr/athena/include
37222 /usr/local/x11r5/include
37223 /usr/lpp/Xamples/include
37224
37225 /usr/openwin/include
37226 /usr/openwin/share/include'
37227
37228 if test "$ac_x_includes" = no; then
37229   # Guess where to find include files, by looking for Xlib.h.
37230   # First, try using that file with no special directory specified.
37231   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37232 /* end confdefs.h.  */
37233 #include <X11/Xlib.h>
37234 _ACEOF
37235 if ac_fn_c_try_cpp "$LINENO"; then :
37236   # We can compile using X headers with no special include directory.
37237 ac_x_includes=
37238 else
37239   for ac_dir in $ac_x_header_dirs; do
37240   if test -r "$ac_dir/X11/Xlib.h"; then
37241     ac_x_includes=$ac_dir
37242     break
37243   fi
37244 done
37245 fi
37246 rm -f conftest.err conftest.i conftest.$ac_ext
37247 fi # $ac_x_includes = no
37248
37249 if test "$ac_x_libraries" = no; then
37250   # Check for the libraries.
37251   # See if we find them without any special options.
37252   # Don't add to $LIBS permanently.
37253   ac_save_LIBS=$LIBS
37254   LIBS="-lX11 $LIBS"
37255   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37256 /* end confdefs.h.  */
37257 #include <X11/Xlib.h>
37258 int
37259 main ()
37260 {
37261 XrmInitialize ()
37262   ;
37263   return 0;
37264 }
37265 _ACEOF
37266 if ac_fn_c_try_link "$LINENO"; then :
37267   LIBS=$ac_save_LIBS
37268 # We can link X programs with no special library path.
37269 ac_x_libraries=
37270 else
37271   LIBS=$ac_save_LIBS
37272 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
37273 do
37274   # Don't even attempt the hair of trying to link an X program!
37275   for ac_extension in a so sl dylib la dll; do
37276     if test -r "$ac_dir/libX11.$ac_extension"; then
37277       ac_x_libraries=$ac_dir
37278       break 2
37279     fi
37280   done
37281 done
37282 fi
37283 rm -f core conftest.err conftest.$ac_objext \
37284     conftest$ac_exeext conftest.$ac_ext
37285 fi # $ac_x_libraries = no
37286
37287 case $ac_x_includes,$ac_x_libraries in #(
37288   no,* | *,no | *\'*)
37289     # Didn't find X, or a directory has "'" in its name.
37290     ac_cv_have_x="have_x=no";; #(
37291   *)
37292     # Record where we found X for the cache.
37293     ac_cv_have_x="have_x=yes\
37294         ac_x_includes='$ac_x_includes'\
37295         ac_x_libraries='$ac_x_libraries'"
37296 esac
37297 fi
37298 ;; #(
37299     *) have_x=yes;;
37300   esac
37301   eval "$ac_cv_have_x"
37302 fi # $with_x != no
37303
37304 if test "$have_x" != yes; then
37305   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
37306 $as_echo "$have_x" >&6; }
37307   no_x=yes
37308 else
37309   # If each of the values was on the command line, it overrides each guess.
37310   test "x$x_includes" = xNONE && x_includes=$ac_x_includes
37311   test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
37312   # Update the cache value to reflect the command line values.
37313   ac_cv_have_x="have_x=yes\
37314         ac_x_includes='$x_includes'\
37315         ac_x_libraries='$x_libraries'"
37316   { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
37317 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
37318 fi
37319
37320 echo
37321 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: nas plug-in ***" >&5
37322 $as_echo "$as_me: *** checking feature: nas plug-in ***" >&6;}
37323 if test "xnassink" != "x"
37324 then
37325   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: nassink ***" >&5
37326 $as_echo "$as_me: *** for plug-ins: nassink ***" >&6;}
37327 fi
37328 NOUSE=
37329 if test "x$USE_NAS" = "xno"; then
37330   NOUSE="yes"
37331 fi
37332 # Check whether --enable-nas was given.
37333 if test "${enable_nas+set}" = set; then :
37334   enableval=$enable_nas;  case "${enableval}" in
37335       yes) USE_NAS=yes;;
37336       no) USE_NAS=no;;
37337       *) as_fn_error $? "bad value ${enableval} for --enable-nas" "$LINENO" 5 ;;
37338     esac
37339 else
37340    USE_NAS=yes
37341 fi
37342
37343 if test "x$NOUSE" = "xyes"; then
37344   USE_NAS="no"
37345   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** nassink pre-configured not to be built" >&5
37346 $as_echo "$as_me: WARNING: *** nassink pre-configured not to be built" >&2;}
37347 fi
37348 NOUSE=
37349
37350
37351 if test x$USE_NAS = xyes; then
37352
37353   gst_check_save_LIBS=$LIBS
37354   gst_check_save_LDFLAGS=$LDFLAGS
37355   gst_check_save_CFLAGS=$CFLAGS
37356   gst_check_save_CPPFLAGS=$CPPFLAGS
37357   gst_check_save_CXXFLAGS=$CXXFLAGS
37358
37359   HAVE_NAS=no
37360
37361   HAVE_NAS="no"
37362
37363   if test "$no_x" = yes; then
37364   # Not all programs may use this symbol, but it does not hurt to define it.
37365
37366 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
37367
37368   X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
37369 else
37370   if test -n "$x_includes"; then
37371     X_CFLAGS="$X_CFLAGS -I$x_includes"
37372   fi
37373
37374   # It would also be nice to do this for all -L options, not just this one.
37375   if test -n "$x_libraries"; then
37376     X_LIBS="$X_LIBS -L$x_libraries"
37377     # For Solaris; some versions of Sun CC require a space after -R and
37378     # others require no space.  Words are not sufficient . . . .
37379     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
37380 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
37381     ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
37382     ac_xsave_c_werror_flag=$ac_c_werror_flag
37383     ac_c_werror_flag=yes
37384     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37385 /* end confdefs.h.  */
37386
37387 int
37388 main ()
37389 {
37390
37391   ;
37392   return 0;
37393 }
37394 _ACEOF
37395 if ac_fn_c_try_link "$LINENO"; then :
37396   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37397 $as_echo "no" >&6; }
37398        X_LIBS="$X_LIBS -R$x_libraries"
37399 else
37400   LIBS="$ac_xsave_LIBS -R $x_libraries"
37401        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37402 /* end confdefs.h.  */
37403
37404 int
37405 main ()
37406 {
37407
37408   ;
37409   return 0;
37410 }
37411 _ACEOF
37412 if ac_fn_c_try_link "$LINENO"; then :
37413   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37414 $as_echo "yes" >&6; }
37415           X_LIBS="$X_LIBS -R $x_libraries"
37416 else
37417   { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
37418 $as_echo "neither works" >&6; }
37419 fi
37420 rm -f core conftest.err conftest.$ac_objext \
37421     conftest$ac_exeext conftest.$ac_ext
37422 fi
37423 rm -f core conftest.err conftest.$ac_objext \
37424     conftest$ac_exeext conftest.$ac_ext
37425     ac_c_werror_flag=$ac_xsave_c_werror_flag
37426     LIBS=$ac_xsave_LIBS
37427   fi
37428
37429   # Check for system-dependent libraries X programs must link with.
37430   # Do this before checking for the system-independent R6 libraries
37431   # (-lICE), since we may need -lsocket or whatever for X linking.
37432
37433   if test "$ISC" = yes; then
37434     X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
37435   else
37436     # Martyn Johnson says this is needed for Ultrix, if the X
37437     # libraries were built with DECnet support.  And Karl Berry says
37438     # the Alpha needs dnet_stub (dnet does not exist).
37439     ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
37440     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37441 /* end confdefs.h.  */
37442
37443 /* Override any GCC internal prototype to avoid an error.
37444    Use char because int might match the return type of a GCC
37445    builtin and then its argument prototype would still apply.  */
37446 #ifdef __cplusplus
37447 extern "C"
37448 #endif
37449 char XOpenDisplay ();
37450 int
37451 main ()
37452 {
37453 return XOpenDisplay ();
37454   ;
37455   return 0;
37456 }
37457 _ACEOF
37458 if ac_fn_c_try_link "$LINENO"; then :
37459
37460 else
37461   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
37462 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
37463 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
37464   $as_echo_n "(cached) " >&6
37465 else
37466   ac_check_lib_save_LIBS=$LIBS
37467 LIBS="-ldnet  $LIBS"
37468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37469 /* end confdefs.h.  */
37470
37471 /* Override any GCC internal prototype to avoid an error.
37472    Use char because int might match the return type of a GCC
37473    builtin and then its argument prototype would still apply.  */
37474 #ifdef __cplusplus
37475 extern "C"
37476 #endif
37477 char dnet_ntoa ();
37478 int
37479 main ()
37480 {
37481 return dnet_ntoa ();
37482   ;
37483   return 0;
37484 }
37485 _ACEOF
37486 if ac_fn_c_try_link "$LINENO"; then :
37487   ac_cv_lib_dnet_dnet_ntoa=yes
37488 else
37489   ac_cv_lib_dnet_dnet_ntoa=no
37490 fi
37491 rm -f core conftest.err conftest.$ac_objext \
37492     conftest$ac_exeext conftest.$ac_ext
37493 LIBS=$ac_check_lib_save_LIBS
37494 fi
37495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
37496 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
37497 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
37498   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
37499 fi
37500
37501     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
37502       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
37503 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
37504 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
37505   $as_echo_n "(cached) " >&6
37506 else
37507   ac_check_lib_save_LIBS=$LIBS
37508 LIBS="-ldnet_stub  $LIBS"
37509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37510 /* end confdefs.h.  */
37511
37512 /* Override any GCC internal prototype to avoid an error.
37513    Use char because int might match the return type of a GCC
37514    builtin and then its argument prototype would still apply.  */
37515 #ifdef __cplusplus
37516 extern "C"
37517 #endif
37518 char dnet_ntoa ();
37519 int
37520 main ()
37521 {
37522 return dnet_ntoa ();
37523   ;
37524   return 0;
37525 }
37526 _ACEOF
37527 if ac_fn_c_try_link "$LINENO"; then :
37528   ac_cv_lib_dnet_stub_dnet_ntoa=yes
37529 else
37530   ac_cv_lib_dnet_stub_dnet_ntoa=no
37531 fi
37532 rm -f core conftest.err conftest.$ac_objext \
37533     conftest$ac_exeext conftest.$ac_ext
37534 LIBS=$ac_check_lib_save_LIBS
37535 fi
37536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
37537 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
37538 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
37539   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
37540 fi
37541
37542     fi
37543 fi
37544 rm -f core conftest.err conftest.$ac_objext \
37545     conftest$ac_exeext conftest.$ac_ext
37546     LIBS="$ac_xsave_LIBS"
37547
37548     # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
37549     # to get the SysV transport functions.
37550     # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
37551     # needs -lnsl.
37552     # The nsl library prevents programs from opening the X display
37553     # on Irix 5.2, according to T.E. Dickey.
37554     # The functions gethostbyname, getservbyname, and inet_addr are
37555     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
37556     ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
37557 if test "x$ac_cv_func_gethostbyname" = xyes; then :
37558
37559 fi
37560
37561     if test $ac_cv_func_gethostbyname = no; then
37562       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
37563 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
37564 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
37565   $as_echo_n "(cached) " >&6
37566 else
37567   ac_check_lib_save_LIBS=$LIBS
37568 LIBS="-lnsl  $LIBS"
37569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37570 /* end confdefs.h.  */
37571
37572 /* Override any GCC internal prototype to avoid an error.
37573    Use char because int might match the return type of a GCC
37574    builtin and then its argument prototype would still apply.  */
37575 #ifdef __cplusplus
37576 extern "C"
37577 #endif
37578 char gethostbyname ();
37579 int
37580 main ()
37581 {
37582 return gethostbyname ();
37583   ;
37584   return 0;
37585 }
37586 _ACEOF
37587 if ac_fn_c_try_link "$LINENO"; then :
37588   ac_cv_lib_nsl_gethostbyname=yes
37589 else
37590   ac_cv_lib_nsl_gethostbyname=no
37591 fi
37592 rm -f core conftest.err conftest.$ac_objext \
37593     conftest$ac_exeext conftest.$ac_ext
37594 LIBS=$ac_check_lib_save_LIBS
37595 fi
37596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
37597 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
37598 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
37599   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
37600 fi
37601
37602       if test $ac_cv_lib_nsl_gethostbyname = no; then
37603         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
37604 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
37605 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
37606   $as_echo_n "(cached) " >&6
37607 else
37608   ac_check_lib_save_LIBS=$LIBS
37609 LIBS="-lbsd  $LIBS"
37610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37611 /* end confdefs.h.  */
37612
37613 /* Override any GCC internal prototype to avoid an error.
37614    Use char because int might match the return type of a GCC
37615    builtin and then its argument prototype would still apply.  */
37616 #ifdef __cplusplus
37617 extern "C"
37618 #endif
37619 char gethostbyname ();
37620 int
37621 main ()
37622 {
37623 return gethostbyname ();
37624   ;
37625   return 0;
37626 }
37627 _ACEOF
37628 if ac_fn_c_try_link "$LINENO"; then :
37629   ac_cv_lib_bsd_gethostbyname=yes
37630 else
37631   ac_cv_lib_bsd_gethostbyname=no
37632 fi
37633 rm -f core conftest.err conftest.$ac_objext \
37634     conftest$ac_exeext conftest.$ac_ext
37635 LIBS=$ac_check_lib_save_LIBS
37636 fi
37637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
37638 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
37639 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
37640   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
37641 fi
37642
37643       fi
37644     fi
37645
37646     # lieder@skyler.mavd.honeywell.com says without -lsocket,
37647     # socket/setsockopt and other routines are undefined under SCO ODT
37648     # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
37649     # on later versions), says Simon Leinen: it contains gethostby*
37650     # variants that don't use the name server (or something).  -lsocket
37651     # must be given before -lnsl if both are needed.  We assume that
37652     # if connect needs -lnsl, so does gethostbyname.
37653     ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
37654 if test "x$ac_cv_func_connect" = xyes; then :
37655
37656 fi
37657
37658     if test $ac_cv_func_connect = no; then
37659       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
37660 $as_echo_n "checking for connect in -lsocket... " >&6; }
37661 if ${ac_cv_lib_socket_connect+:} false; then :
37662   $as_echo_n "(cached) " >&6
37663 else
37664   ac_check_lib_save_LIBS=$LIBS
37665 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
37666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37667 /* end confdefs.h.  */
37668
37669 /* Override any GCC internal prototype to avoid an error.
37670    Use char because int might match the return type of a GCC
37671    builtin and then its argument prototype would still apply.  */
37672 #ifdef __cplusplus
37673 extern "C"
37674 #endif
37675 char connect ();
37676 int
37677 main ()
37678 {
37679 return connect ();
37680   ;
37681   return 0;
37682 }
37683 _ACEOF
37684 if ac_fn_c_try_link "$LINENO"; then :
37685   ac_cv_lib_socket_connect=yes
37686 else
37687   ac_cv_lib_socket_connect=no
37688 fi
37689 rm -f core conftest.err conftest.$ac_objext \
37690     conftest$ac_exeext conftest.$ac_ext
37691 LIBS=$ac_check_lib_save_LIBS
37692 fi
37693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
37694 $as_echo "$ac_cv_lib_socket_connect" >&6; }
37695 if test "x$ac_cv_lib_socket_connect" = xyes; then :
37696   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
37697 fi
37698
37699     fi
37700
37701     # Guillermo Gomez says -lposix is necessary on A/UX.
37702     ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
37703 if test "x$ac_cv_func_remove" = xyes; then :
37704
37705 fi
37706
37707     if test $ac_cv_func_remove = no; then
37708       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
37709 $as_echo_n "checking for remove in -lposix... " >&6; }
37710 if ${ac_cv_lib_posix_remove+:} false; then :
37711   $as_echo_n "(cached) " >&6
37712 else
37713   ac_check_lib_save_LIBS=$LIBS
37714 LIBS="-lposix  $LIBS"
37715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37716 /* end confdefs.h.  */
37717
37718 /* Override any GCC internal prototype to avoid an error.
37719    Use char because int might match the return type of a GCC
37720    builtin and then its argument prototype would still apply.  */
37721 #ifdef __cplusplus
37722 extern "C"
37723 #endif
37724 char remove ();
37725 int
37726 main ()
37727 {
37728 return remove ();
37729   ;
37730   return 0;
37731 }
37732 _ACEOF
37733 if ac_fn_c_try_link "$LINENO"; then :
37734   ac_cv_lib_posix_remove=yes
37735 else
37736   ac_cv_lib_posix_remove=no
37737 fi
37738 rm -f core conftest.err conftest.$ac_objext \
37739     conftest$ac_exeext conftest.$ac_ext
37740 LIBS=$ac_check_lib_save_LIBS
37741 fi
37742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
37743 $as_echo "$ac_cv_lib_posix_remove" >&6; }
37744 if test "x$ac_cv_lib_posix_remove" = xyes; then :
37745   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
37746 fi
37747
37748     fi
37749
37750     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
37751     ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
37752 if test "x$ac_cv_func_shmat" = xyes; then :
37753
37754 fi
37755
37756     if test $ac_cv_func_shmat = no; then
37757       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
37758 $as_echo_n "checking for shmat in -lipc... " >&6; }
37759 if ${ac_cv_lib_ipc_shmat+:} false; then :
37760   $as_echo_n "(cached) " >&6
37761 else
37762   ac_check_lib_save_LIBS=$LIBS
37763 LIBS="-lipc  $LIBS"
37764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37765 /* end confdefs.h.  */
37766
37767 /* Override any GCC internal prototype to avoid an error.
37768    Use char because int might match the return type of a GCC
37769    builtin and then its argument prototype would still apply.  */
37770 #ifdef __cplusplus
37771 extern "C"
37772 #endif
37773 char shmat ();
37774 int
37775 main ()
37776 {
37777 return shmat ();
37778   ;
37779   return 0;
37780 }
37781 _ACEOF
37782 if ac_fn_c_try_link "$LINENO"; then :
37783   ac_cv_lib_ipc_shmat=yes
37784 else
37785   ac_cv_lib_ipc_shmat=no
37786 fi
37787 rm -f core conftest.err conftest.$ac_objext \
37788     conftest$ac_exeext conftest.$ac_ext
37789 LIBS=$ac_check_lib_save_LIBS
37790 fi
37791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
37792 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
37793 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
37794   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
37795 fi
37796
37797     fi
37798   fi
37799
37800   # Check for libraries that X11R6 Xt/Xaw programs need.
37801   ac_save_LDFLAGS=$LDFLAGS
37802   test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
37803   # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
37804   # check for ICE first), but we must link in the order -lSM -lICE or
37805   # we get undefined symbols.  So assume we have SM if we have ICE.
37806   # These have to be linked with before -lX11, unlike the other
37807   # libraries we check for below, so use a different variable.
37808   # John Interrante, Karl Berry
37809   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
37810 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
37811 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
37812   $as_echo_n "(cached) " >&6
37813 else
37814   ac_check_lib_save_LIBS=$LIBS
37815 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
37816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37817 /* end confdefs.h.  */
37818
37819 /* Override any GCC internal prototype to avoid an error.
37820    Use char because int might match the return type of a GCC
37821    builtin and then its argument prototype would still apply.  */
37822 #ifdef __cplusplus
37823 extern "C"
37824 #endif
37825 char IceConnectionNumber ();
37826 int
37827 main ()
37828 {
37829 return IceConnectionNumber ();
37830   ;
37831   return 0;
37832 }
37833 _ACEOF
37834 if ac_fn_c_try_link "$LINENO"; then :
37835   ac_cv_lib_ICE_IceConnectionNumber=yes
37836 else
37837   ac_cv_lib_ICE_IceConnectionNumber=no
37838 fi
37839 rm -f core conftest.err conftest.$ac_objext \
37840     conftest$ac_exeext conftest.$ac_ext
37841 LIBS=$ac_check_lib_save_LIBS
37842 fi
37843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
37844 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
37845 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
37846   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
37847 fi
37848
37849   LDFLAGS=$ac_save_LDFLAGS
37850
37851 fi
37852
37853   ac_cflags_save="$CFLAGS"
37854   ac_cppflags_save="$CPPFLAGS"
37855   CFLAGS="$CFLAGS $X_CFLAGS"
37856   CPPFLAGS="$CPPFLAGS $X_CFLAGS"
37857
37858     ac_fn_c_check_header_mongrel "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "$ac_includes_default"
37859 if test "x$ac_cv_header_X11_Xlib_h" = xyes; then :
37860   HAVE_X="yes"
37861 else
37862   HAVE_X="no"
37863 fi
37864
37865
37866
37867   if test "x$HAVE_X" = "xno"
37868   then
37869     { $as_echo "$as_me:${as_lineno-$LINENO}: cannot find X11 development files" >&5
37870 $as_echo "$as_me: cannot find X11 development files" >&6;}
37871   else
37872         X_LIBS="$X_LIBS $X_PRE_LIBS $X_EXTRA_LIBS"
37873             X_LIBS="$X_LIBS -lX11"
37874
37875
37876   fi
37877
37878
37879   CFLAGS="$ac_cflags_save"
37880   CPPFLAGS="$ac_cppflags_save"
37881
37882   if test "x$HAVE_X" = "xyes"; then
37883     save_cppflags=$CFLAGS
37884     CPPFLAGS="$CPPFLAGS $X_CFLAGS"
37885
37886   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AuOpenServer in -laudio" >&5
37887 $as_echo_n "checking for AuOpenServer in -laudio... " >&6; }
37888 if ${ac_cv_lib_audio_AuOpenServer+:} false; then :
37889   $as_echo_n "(cached) " >&6
37890 else
37891   ac_check_lib_save_LIBS=$LIBS
37892 LIBS="-laudio $X_LIBS $LIBS"
37893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37894 /* end confdefs.h.  */
37895
37896 /* Override any GCC internal prototype to avoid an error.
37897    Use char because int might match the return type of a GCC
37898    builtin and then its argument prototype would still apply.  */
37899 #ifdef __cplusplus
37900 extern "C"
37901 #endif
37902 char AuOpenServer ();
37903 int
37904 main ()
37905 {
37906 return AuOpenServer ();
37907   ;
37908   return 0;
37909 }
37910 _ACEOF
37911 if ac_fn_c_try_link "$LINENO"; then :
37912   ac_cv_lib_audio_AuOpenServer=yes
37913 else
37914   ac_cv_lib_audio_AuOpenServer=no
37915 fi
37916 rm -f core conftest.err conftest.$ac_objext \
37917     conftest$ac_exeext conftest.$ac_ext
37918 LIBS=$ac_check_lib_save_LIBS
37919 fi
37920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_audio_AuOpenServer" >&5
37921 $as_echo "$ac_cv_lib_audio_AuOpenServer" >&6; }
37922 if test "x$ac_cv_lib_audio_AuOpenServer" = xyes; then :
37923   HAVE_NAS=yes
37924 else
37925   HAVE_NAS=no
37926 fi
37927
37928   if test "x$HAVE_NAS" = "xyes"; then
37929     ac_fn_c_check_header_mongrel "$LINENO" "audio/audiolib.h" "ac_cv_header_audio_audiolib_h" "$ac_includes_default"
37930 if test "x$ac_cv_header_audio_audiolib_h" = xyes; then :
37931   :
37932 else
37933   HAVE_NAS=no
37934 fi
37935
37936
37937     if test "x$HAVE_NAS" = "xyes"; then
37938             NAS_LIBS="$X_LIBS -laudio" NAS_CFLAGS="$X_CFLAGS"
37939     else
37940       :
37941     fi
37942   else
37943     :
37944   fi
37945
37946
37947
37948     CPPFLAGS="$save_cppflags"
37949   fi
37950
37951
37952
37953
37954   LIBS=$gst_check_save_LIBS
37955   LDFLAGS=$gst_check_save_LDFLAGS
37956   CFLAGS=$gst_check_save_CFLAGS
37957   CPPFLAGS=$gst_check_save_CPPFLAGS
37958   CXXFLAGS=$gst_check_save_CXXFLAGS
37959
37960     if test x$HAVE_NAS = xno; then
37961     USE_NAS=no
37962   else
37963     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: nassink" >&5
37964 $as_echo "$as_me: *** These plugins will be built: nassink" >&6;}
37965   fi
37966 fi
37967 if test x$USE_NAS = xyes; then
37968   :
37969   if test "xnassink" != "x"; then
37970     GST_PLUGINS_YES="\tnassink\n$GST_PLUGINS_YES"
37971   fi
37972
37973 $as_echo "#define HAVE_NAS /**/" >>confdefs.h
37974
37975 else
37976   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: nassink" >&5
37977 $as_echo "$as_me: *** These plugins will not be built: nassink" >&6;}
37978   if test "xnassink" != "x"; then
37979     GST_PLUGINS_NO="\tnassink\n$GST_PLUGINS_NO"
37980   fi
37981   :
37982 fi
37983  if test x$USE_NAS = xyes; then
37984   USE_NAS_TRUE=
37985   USE_NAS_FALSE='#'
37986 else
37987   USE_NAS_TRUE='#'
37988   USE_NAS_FALSE=
37989 fi
37990
37991
37992
37993 echo
37994 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: neon http client plugins ***" >&5
37995 $as_echo "$as_me: *** checking feature: neon http client plugins ***" >&6;}
37996 if test "xneonhttpsrc" != "x"
37997 then
37998   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: neonhttpsrc ***" >&5
37999 $as_echo "$as_me: *** for plug-ins: neonhttpsrc ***" >&6;}
38000 fi
38001 NOUSE=
38002 if test "x$USE_NEON" = "xno"; then
38003   NOUSE="yes"
38004 fi
38005 # Check whether --enable-neon was given.
38006 if test "${enable_neon+set}" = set; then :
38007   enableval=$enable_neon;  case "${enableval}" in
38008       yes) USE_NEON=yes;;
38009       no) USE_NEON=no;;
38010       *) as_fn_error $? "bad value ${enableval} for --enable-neon" "$LINENO" 5 ;;
38011     esac
38012 else
38013    USE_NEON=yes
38014 fi
38015
38016 if test "x$NOUSE" = "xyes"; then
38017   USE_NEON="no"
38018   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** neonhttpsrc pre-configured not to be built" >&5
38019 $as_echo "$as_me: WARNING: *** neonhttpsrc pre-configured not to be built" >&2;}
38020 fi
38021 NOUSE=
38022
38023
38024 if test x$USE_NEON = xyes; then
38025
38026   gst_check_save_LIBS=$LIBS
38027   gst_check_save_LDFLAGS=$LDFLAGS
38028   gst_check_save_CFLAGS=$CFLAGS
38029   gst_check_save_CPPFLAGS=$CPPFLAGS
38030   gst_check_save_CXXFLAGS=$CXXFLAGS
38031
38032   HAVE_NEON=no
38033
38034
38035 pkg_failed=no
38036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for NEON" >&5
38037 $as_echo_n "checking for NEON... " >&6; }
38038
38039 if test -n "$PKG_CONFIG"; then
38040     if test -n "$NEON_CFLAGS"; then
38041         pkg_cv_NEON_CFLAGS="$NEON_CFLAGS"
38042     else
38043         if test -n "$PKG_CONFIG" && \
38044     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"neon >= 0.27.0  neon <= 0.29.99\""; } >&5
38045   ($PKG_CONFIG --exists --print-errors "neon >= 0.27.0  neon <= 0.29.99") 2>&5
38046   ac_status=$?
38047   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
38048   test $ac_status = 0; }; then
38049   pkg_cv_NEON_CFLAGS=`$PKG_CONFIG --cflags "neon >= 0.27.0  neon <= 0.29.99" 2>/dev/null`
38050 else
38051   pkg_failed=yes
38052 fi
38053     fi
38054 else
38055         pkg_failed=untried
38056 fi
38057 if test -n "$PKG_CONFIG"; then
38058     if test -n "$NEON_LIBS"; then
38059         pkg_cv_NEON_LIBS="$NEON_LIBS"
38060     else
38061         if test -n "$PKG_CONFIG" && \
38062     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"neon >= 0.27.0  neon <= 0.29.99\""; } >&5
38063   ($PKG_CONFIG --exists --print-errors "neon >= 0.27.0  neon <= 0.29.99") 2>&5
38064   ac_status=$?
38065   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
38066   test $ac_status = 0; }; then
38067   pkg_cv_NEON_LIBS=`$PKG_CONFIG --libs "neon >= 0.27.0  neon <= 0.29.99" 2>/dev/null`
38068 else
38069   pkg_failed=yes
38070 fi
38071     fi
38072 else
38073         pkg_failed=untried
38074 fi
38075
38076
38077
38078 if test $pkg_failed = yes; then
38079
38080 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
38081         _pkg_short_errors_supported=yes
38082 else
38083         _pkg_short_errors_supported=no
38084 fi
38085         if test $_pkg_short_errors_supported = yes; then
38086                 NEON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "neon >= 0.27.0  neon <= 0.29.99"`
38087         else
38088                 NEON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "neon >= 0.27.0  neon <= 0.29.99"`
38089         fi
38090         # Put the nasty error message in config.log where it belongs
38091         echo "$NEON_PKG_ERRORS" >&5
38092
38093         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38094 $as_echo "no" >&6; }
38095
38096     HAVE_NEON="no"
38097
38098 elif test $pkg_failed = untried; then
38099
38100     HAVE_NEON="no"
38101
38102 else
38103         NEON_CFLAGS=$pkg_cv_NEON_CFLAGS
38104         NEON_LIBS=$pkg_cv_NEON_LIBS
38105         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38106 $as_echo "yes" >&6; }
38107         HAVE_NEON="yes"
38108 fi
38109
38110
38111
38112
38113   LIBS=$gst_check_save_LIBS
38114   LDFLAGS=$gst_check_save_LDFLAGS
38115   CFLAGS=$gst_check_save_CFLAGS
38116   CPPFLAGS=$gst_check_save_CPPFLAGS
38117   CXXFLAGS=$gst_check_save_CXXFLAGS
38118
38119     if test x$HAVE_NEON = xno; then
38120     USE_NEON=no
38121   else
38122     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: neonhttpsrc" >&5
38123 $as_echo "$as_me: *** These plugins will be built: neonhttpsrc" >&6;}
38124   fi
38125 fi
38126 if test x$USE_NEON = xyes; then
38127   :
38128   if test "xneonhttpsrc" != "x"; then
38129     GST_PLUGINS_YES="\tneonhttpsrc\n$GST_PLUGINS_YES"
38130   fi
38131
38132 $as_echo "#define HAVE_NEON /**/" >>confdefs.h
38133
38134 else
38135   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: neonhttpsrc" >&5
38136 $as_echo "$as_me: *** These plugins will not be built: neonhttpsrc" >&6;}
38137   if test "xneonhttpsrc" != "x"; then
38138     GST_PLUGINS_NO="\tneonhttpsrc\n$GST_PLUGINS_NO"
38139   fi
38140   :
38141 fi
38142  if test x$USE_NEON = xyes; then
38143   USE_NEON_TRUE=
38144   USE_NEON_FALSE='#'
38145 else
38146   USE_NEON_TRUE='#'
38147   USE_NEON_FALSE=
38148 fi
38149
38150
38151
38152 echo
38153 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: ofa plugins ***" >&5
38154 $as_echo "$as_me: *** checking feature: ofa plugins ***" >&6;}
38155 if test "xofa" != "x"
38156 then
38157   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: ofa ***" >&5
38158 $as_echo "$as_me: *** for plug-ins: ofa ***" >&6;}
38159 fi
38160 NOUSE=
38161 if test "x$USE_OFA" = "xno"; then
38162   NOUSE="yes"
38163 fi
38164 # Check whether --enable-ofa was given.
38165 if test "${enable_ofa+set}" = set; then :
38166   enableval=$enable_ofa;  case "${enableval}" in
38167       yes) USE_OFA=yes;;
38168       no) USE_OFA=no;;
38169       *) as_fn_error $? "bad value ${enableval} for --enable-ofa" "$LINENO" 5 ;;
38170     esac
38171 else
38172    USE_OFA=yes
38173 fi
38174
38175 if test "x$NOUSE" = "xyes"; then
38176   USE_OFA="no"
38177   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** ofa pre-configured not to be built" >&5
38178 $as_echo "$as_me: WARNING: *** ofa pre-configured not to be built" >&2;}
38179 fi
38180 NOUSE=
38181
38182
38183 if test x$USE_OFA = xyes; then
38184
38185   gst_check_save_LIBS=$LIBS
38186   gst_check_save_LDFLAGS=$LDFLAGS
38187   gst_check_save_CFLAGS=$CFLAGS
38188   gst_check_save_CPPFLAGS=$CPPFLAGS
38189   gst_check_save_CXXFLAGS=$CXXFLAGS
38190
38191   HAVE_OFA=no
38192
38193
38194 pkg_failed=no
38195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OFA" >&5
38196 $as_echo_n "checking for OFA... " >&6; }
38197
38198 if test -n "$PKG_CONFIG"; then
38199     if test -n "$OFA_CFLAGS"; then
38200         pkg_cv_OFA_CFLAGS="$OFA_CFLAGS"
38201     else
38202         if test -n "$PKG_CONFIG" && \
38203     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libofa >= 0.9.3\""; } >&5
38204   ($PKG_CONFIG --exists --print-errors "libofa >= 0.9.3") 2>&5
38205   ac_status=$?
38206   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
38207   test $ac_status = 0; }; then
38208   pkg_cv_OFA_CFLAGS=`$PKG_CONFIG --cflags "libofa >= 0.9.3" 2>/dev/null`
38209 else
38210   pkg_failed=yes
38211 fi
38212     fi
38213 else
38214         pkg_failed=untried
38215 fi
38216 if test -n "$PKG_CONFIG"; then
38217     if test -n "$OFA_LIBS"; then
38218         pkg_cv_OFA_LIBS="$OFA_LIBS"
38219     else
38220         if test -n "$PKG_CONFIG" && \
38221     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libofa >= 0.9.3\""; } >&5
38222   ($PKG_CONFIG --exists --print-errors "libofa >= 0.9.3") 2>&5
38223   ac_status=$?
38224   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
38225   test $ac_status = 0; }; then
38226   pkg_cv_OFA_LIBS=`$PKG_CONFIG --libs "libofa >= 0.9.3" 2>/dev/null`
38227 else
38228   pkg_failed=yes
38229 fi
38230     fi
38231 else
38232         pkg_failed=untried
38233 fi
38234
38235
38236
38237 if test $pkg_failed = yes; then
38238
38239 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
38240         _pkg_short_errors_supported=yes
38241 else
38242         _pkg_short_errors_supported=no
38243 fi
38244         if test $_pkg_short_errors_supported = yes; then
38245                 OFA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libofa >= 0.9.3"`
38246         else
38247                 OFA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libofa >= 0.9.3"`
38248         fi
38249         # Put the nasty error message in config.log where it belongs
38250         echo "$OFA_PKG_ERRORS" >&5
38251
38252         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38253 $as_echo "no" >&6; }
38254
38255     HAVE_OFA="no"
38256
38257 elif test $pkg_failed = untried; then
38258
38259     HAVE_OFA="no"
38260
38261 else
38262         OFA_CFLAGS=$pkg_cv_OFA_CFLAGS
38263         OFA_LIBS=$pkg_cv_OFA_LIBS
38264         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38265 $as_echo "yes" >&6; }
38266         HAVE_OFA="yes"
38267 fi
38268
38269
38270
38271
38272   LIBS=$gst_check_save_LIBS
38273   LDFLAGS=$gst_check_save_LDFLAGS
38274   CFLAGS=$gst_check_save_CFLAGS
38275   CPPFLAGS=$gst_check_save_CPPFLAGS
38276   CXXFLAGS=$gst_check_save_CXXFLAGS
38277
38278     if test x$HAVE_OFA = xno; then
38279     USE_OFA=no
38280   else
38281     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: ofa" >&5
38282 $as_echo "$as_me: *** These plugins will be built: ofa" >&6;}
38283   fi
38284 fi
38285 if test x$USE_OFA = xyes; then
38286   :
38287   if test "xofa" != "x"; then
38288     GST_PLUGINS_YES="\tofa\n$GST_PLUGINS_YES"
38289   fi
38290
38291 $as_echo "#define HAVE_OFA /**/" >>confdefs.h
38292
38293 else
38294   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: ofa" >&5
38295 $as_echo "$as_me: *** These plugins will not be built: ofa" >&6;}
38296   if test "xofa" != "x"; then
38297     GST_PLUGINS_NO="\tofa\n$GST_PLUGINS_NO"
38298   fi
38299   :
38300 fi
38301  if test x$USE_OFA = xyes; then
38302   USE_OFA_TRUE=
38303   USE_OFA_FALSE='#'
38304 else
38305   USE_OFA_TRUE='#'
38306   USE_OFA_FALSE=
38307 fi
38308
38309
38310
38311 echo
38312 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: OpenAL plugin ***" >&5
38313 $as_echo "$as_me: *** checking feature: OpenAL plugin ***" >&6;}
38314 if test "xopenal" != "x"
38315 then
38316   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: openal ***" >&5
38317 $as_echo "$as_me: *** for plug-ins: openal ***" >&6;}
38318 fi
38319 NOUSE=
38320 if test "x$USE_OPENAL" = "xno"; then
38321   NOUSE="yes"
38322 fi
38323 # Check whether --enable-openal was given.
38324 if test "${enable_openal+set}" = set; then :
38325   enableval=$enable_openal;  case "${enableval}" in
38326       yes) USE_OPENAL=yes;;
38327       no) USE_OPENAL=no;;
38328       *) as_fn_error $? "bad value ${enableval} for --enable-openal" "$LINENO" 5 ;;
38329     esac
38330 else
38331    USE_OPENAL=yes
38332 fi
38333
38334 if test "x$NOUSE" = "xyes"; then
38335   USE_OPENAL="no"
38336   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** openal pre-configured not to be built" >&5
38337 $as_echo "$as_me: WARNING: *** openal pre-configured not to be built" >&2;}
38338 fi
38339 NOUSE=
38340
38341
38342 if test x$USE_OPENAL = xyes; then
38343
38344   gst_check_save_LIBS=$LIBS
38345   gst_check_save_LDFLAGS=$LDFLAGS
38346   gst_check_save_CFLAGS=$CFLAGS
38347   gst_check_save_CPPFLAGS=$CPPFLAGS
38348   gst_check_save_CXXFLAGS=$CXXFLAGS
38349
38350   HAVE_OPENAL=no
38351
38352
38353 pkg_failed=no
38354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OPENAL" >&5
38355 $as_echo_n "checking for OPENAL... " >&6; }
38356
38357 if test -n "$PKG_CONFIG"; then
38358     if test -n "$OPENAL_CFLAGS"; then
38359         pkg_cv_OPENAL_CFLAGS="$OPENAL_CFLAGS"
38360     else
38361         if test -n "$PKG_CONFIG" && \
38362     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openal\""; } >&5
38363   ($PKG_CONFIG --exists --print-errors "openal") 2>&5
38364   ac_status=$?
38365   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
38366   test $ac_status = 0; }; then
38367   pkg_cv_OPENAL_CFLAGS=`$PKG_CONFIG --cflags "openal" 2>/dev/null`
38368 else
38369   pkg_failed=yes
38370 fi
38371     fi
38372 else
38373         pkg_failed=untried
38374 fi
38375 if test -n "$PKG_CONFIG"; then
38376     if test -n "$OPENAL_LIBS"; then
38377         pkg_cv_OPENAL_LIBS="$OPENAL_LIBS"
38378     else
38379         if test -n "$PKG_CONFIG" && \
38380     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openal\""; } >&5
38381   ($PKG_CONFIG --exists --print-errors "openal") 2>&5
38382   ac_status=$?
38383   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
38384   test $ac_status = 0; }; then
38385   pkg_cv_OPENAL_LIBS=`$PKG_CONFIG --libs "openal" 2>/dev/null`
38386 else
38387   pkg_failed=yes
38388 fi
38389     fi
38390 else
38391         pkg_failed=untried
38392 fi
38393
38394
38395
38396 if test $pkg_failed = yes; then
38397
38398 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
38399         _pkg_short_errors_supported=yes
38400 else
38401         _pkg_short_errors_supported=no
38402 fi
38403         if test $_pkg_short_errors_supported = yes; then
38404                 OPENAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "openal"`
38405         else
38406                 OPENAL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "openal"`
38407         fi
38408         # Put the nasty error message in config.log where it belongs
38409         echo "$OPENAL_PKG_ERRORS" >&5
38410
38411         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38412 $as_echo "no" >&6; }
38413
38414     HAVE_OPENAL="no"
38415
38416 elif test $pkg_failed = untried; then
38417
38418     HAVE_OPENAL="no"
38419
38420 else
38421         OPENAL_CFLAGS=$pkg_cv_OPENAL_CFLAGS
38422         OPENAL_LIBS=$pkg_cv_OPENAL_LIBS
38423         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38424 $as_echo "yes" >&6; }
38425         HAVE_OPENAL="yes"
38426 fi
38427
38428
38429
38430
38431   LIBS=$gst_check_save_LIBS
38432   LDFLAGS=$gst_check_save_LDFLAGS
38433   CFLAGS=$gst_check_save_CFLAGS
38434   CPPFLAGS=$gst_check_save_CPPFLAGS
38435   CXXFLAGS=$gst_check_save_CXXFLAGS
38436
38437     if test x$HAVE_OPENAL = xno; then
38438     USE_OPENAL=no
38439   else
38440     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: openal" >&5
38441 $as_echo "$as_me: *** These plugins will be built: openal" >&6;}
38442   fi
38443 fi
38444 if test x$USE_OPENAL = xyes; then
38445   :
38446   if test "xopenal" != "x"; then
38447     GST_PLUGINS_YES="\topenal\n$GST_PLUGINS_YES"
38448   fi
38449
38450 $as_echo "#define HAVE_OPENAL /**/" >>confdefs.h
38451
38452 else
38453   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: openal" >&5
38454 $as_echo "$as_me: *** These plugins will not be built: openal" >&6;}
38455   if test "xopenal" != "x"; then
38456     GST_PLUGINS_NO="\topenal\n$GST_PLUGINS_NO"
38457   fi
38458   :
38459 fi
38460  if test x$USE_OPENAL = xyes; then
38461   USE_OPENAL_TRUE=
38462   USE_OPENAL_FALSE='#'
38463 else
38464   USE_OPENAL_TRUE='#'
38465   USE_OPENAL_FALSE=
38466 fi
38467
38468
38469
38470 echo
38471 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: opencv plugins ***" >&5
38472 $as_echo "$as_me: *** checking feature: opencv plugins ***" >&6;}
38473 if test "xopencv" != "x"
38474 then
38475   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: opencv ***" >&5
38476 $as_echo "$as_me: *** for plug-ins: opencv ***" >&6;}
38477 fi
38478 NOUSE=
38479 if test "x$USE_OPENCV" = "xno"; then
38480   NOUSE="yes"
38481 fi
38482 # Check whether --enable-opencv was given.
38483 if test "${enable_opencv+set}" = set; then :
38484   enableval=$enable_opencv;  case "${enableval}" in
38485       yes) USE_OPENCV=yes;;
38486       no) USE_OPENCV=no;;
38487       *) as_fn_error $? "bad value ${enableval} for --enable-opencv" "$LINENO" 5 ;;
38488     esac
38489 else
38490    USE_OPENCV=yes
38491 fi
38492
38493 if test "x$NOUSE" = "xyes"; then
38494   USE_OPENCV="no"
38495   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** opencv pre-configured not to be built" >&5
38496 $as_echo "$as_me: WARNING: *** opencv pre-configured not to be built" >&2;}
38497 fi
38498 NOUSE=
38499
38500
38501 if test x$USE_OPENCV = xyes; then
38502
38503   gst_check_save_LIBS=$LIBS
38504   gst_check_save_LDFLAGS=$LDFLAGS
38505   gst_check_save_CFLAGS=$CFLAGS
38506   gst_check_save_CPPFLAGS=$CPPFLAGS
38507   gst_check_save_CXXFLAGS=$CXXFLAGS
38508
38509   HAVE_OPENCV=no
38510
38511
38512 pkg_failed=no
38513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OPENCV" >&5
38514 $as_echo_n "checking for OPENCV... " >&6; }
38515
38516 if test -n "$PKG_CONFIG"; then
38517     if test -n "$OPENCV_CFLAGS"; then
38518         pkg_cv_OPENCV_CFLAGS="$OPENCV_CFLAGS"
38519     else
38520         if test -n "$PKG_CONFIG" && \
38521     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"opencv >= 2.0.0 opencv <= 2.3.1 \""; } >&5
38522   ($PKG_CONFIG --exists --print-errors "opencv >= 2.0.0 opencv <= 2.3.1 ") 2>&5
38523   ac_status=$?
38524   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
38525   test $ac_status = 0; }; then
38526   pkg_cv_OPENCV_CFLAGS=`$PKG_CONFIG --cflags "opencv >= 2.0.0 opencv <= 2.3.1 " 2>/dev/null`
38527 else
38528   pkg_failed=yes
38529 fi
38530     fi
38531 else
38532         pkg_failed=untried
38533 fi
38534 if test -n "$PKG_CONFIG"; then
38535     if test -n "$OPENCV_LIBS"; then
38536         pkg_cv_OPENCV_LIBS="$OPENCV_LIBS"
38537     else
38538         if test -n "$PKG_CONFIG" && \
38539     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"opencv >= 2.0.0 opencv <= 2.3.1 \""; } >&5
38540   ($PKG_CONFIG --exists --print-errors "opencv >= 2.0.0 opencv <= 2.3.1 ") 2>&5
38541   ac_status=$?
38542   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
38543   test $ac_status = 0; }; then
38544   pkg_cv_OPENCV_LIBS=`$PKG_CONFIG --libs "opencv >= 2.0.0 opencv <= 2.3.1 " 2>/dev/null`
38545 else
38546   pkg_failed=yes
38547 fi
38548     fi
38549 else
38550         pkg_failed=untried
38551 fi
38552
38553
38554
38555 if test $pkg_failed = yes; then
38556
38557 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
38558         _pkg_short_errors_supported=yes
38559 else
38560         _pkg_short_errors_supported=no
38561 fi
38562         if test $_pkg_short_errors_supported = yes; then
38563                 OPENCV_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "opencv >= 2.0.0 opencv <= 2.3.1 "`
38564         else
38565                 OPENCV_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "opencv >= 2.0.0 opencv <= 2.3.1 "`
38566         fi
38567         # Put the nasty error message in config.log where it belongs
38568         echo "$OPENCV_PKG_ERRORS" >&5
38569
38570         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38571 $as_echo "no" >&6; }
38572
38573     HAVE_OPENCV="no"
38574
38575 elif test $pkg_failed = untried; then
38576
38577     HAVE_OPENCV="no"
38578
38579 else
38580         OPENCV_CFLAGS=$pkg_cv_OPENCV_CFLAGS
38581         OPENCV_LIBS=$pkg_cv_OPENCV_LIBS
38582         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38583 $as_echo "yes" >&6; }
38584
38585     ac_ext=cpp
38586 ac_cpp='$CXXCPP $CPPFLAGS'
38587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38590 if test -z "$CXX"; then
38591   if test -n "$CCC"; then
38592     CXX=$CCC
38593   else
38594     if test -n "$ac_tool_prefix"; then
38595   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
38596   do
38597     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
38598 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
38599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38600 $as_echo_n "checking for $ac_word... " >&6; }
38601 if ${ac_cv_prog_CXX+:} false; then :
38602   $as_echo_n "(cached) " >&6
38603 else
38604   if test -n "$CXX"; then
38605   ac_cv_prog_CXX="$CXX" # Let the user override the test.
38606 else
38607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38608 for as_dir in $PATH
38609 do
38610   IFS=$as_save_IFS
38611   test -z "$as_dir" && as_dir=.
38612     for ac_exec_ext in '' $ac_executable_extensions; do
38613   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
38614     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
38615     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38616     break 2
38617   fi
38618 done
38619   done
38620 IFS=$as_save_IFS
38621
38622 fi
38623 fi
38624 CXX=$ac_cv_prog_CXX
38625 if test -n "$CXX"; then
38626   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
38627 $as_echo "$CXX" >&6; }
38628 else
38629   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38630 $as_echo "no" >&6; }
38631 fi
38632
38633
38634     test -n "$CXX" && break
38635   done
38636 fi
38637 if test -z "$CXX"; then
38638   ac_ct_CXX=$CXX
38639   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
38640 do
38641   # Extract the first word of "$ac_prog", so it can be a program name with args.
38642 set dummy $ac_prog; ac_word=$2
38643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38644 $as_echo_n "checking for $ac_word... " >&6; }
38645 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
38646   $as_echo_n "(cached) " >&6
38647 else
38648   if test -n "$ac_ct_CXX"; then
38649   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
38650 else
38651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38652 for as_dir in $PATH
38653 do
38654   IFS=$as_save_IFS
38655   test -z "$as_dir" && as_dir=.
38656     for ac_exec_ext in '' $ac_executable_extensions; do
38657   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
38658     ac_cv_prog_ac_ct_CXX="$ac_prog"
38659     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38660     break 2
38661   fi
38662 done
38663   done
38664 IFS=$as_save_IFS
38665
38666 fi
38667 fi
38668 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
38669 if test -n "$ac_ct_CXX"; then
38670   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
38671 $as_echo "$ac_ct_CXX" >&6; }
38672 else
38673   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38674 $as_echo "no" >&6; }
38675 fi
38676
38677
38678   test -n "$ac_ct_CXX" && break
38679 done
38680
38681   if test "x$ac_ct_CXX" = x; then
38682     CXX="g++"
38683   else
38684     case $cross_compiling:$ac_tool_warned in
38685 yes:)
38686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38687 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38688 ac_tool_warned=yes ;;
38689 esac
38690     CXX=$ac_ct_CXX
38691   fi
38692 fi
38693
38694   fi
38695 fi
38696 # Provide some information about the compiler.
38697 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
38698 set X $ac_compile
38699 ac_compiler=$2
38700 for ac_option in --version -v -V -qversion; do
38701   { { ac_try="$ac_compiler $ac_option >&5"
38702 case "(($ac_try" in
38703   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38704   *) ac_try_echo=$ac_try;;
38705 esac
38706 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
38707 $as_echo "$ac_try_echo"; } >&5
38708   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
38709   ac_status=$?
38710   if test -s conftest.err; then
38711     sed '10a\
38712 ... rest of stderr output deleted ...
38713          10q' conftest.err >conftest.er1
38714     cat conftest.er1 >&5
38715   fi
38716   rm -f conftest.er1 conftest.err
38717   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
38718   test $ac_status = 0; }
38719 done
38720
38721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
38722 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
38723 if ${ac_cv_cxx_compiler_gnu+:} false; then :
38724   $as_echo_n "(cached) " >&6
38725 else
38726   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38727 /* end confdefs.h.  */
38728
38729 int
38730 main ()
38731 {
38732 #ifndef __GNUC__
38733        choke me
38734 #endif
38735
38736   ;
38737   return 0;
38738 }
38739 _ACEOF
38740 if ac_fn_cxx_try_compile "$LINENO"; then :
38741   ac_compiler_gnu=yes
38742 else
38743   ac_compiler_gnu=no
38744 fi
38745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38746 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
38747
38748 fi
38749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
38750 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
38751 if test $ac_compiler_gnu = yes; then
38752   GXX=yes
38753 else
38754   GXX=
38755 fi
38756 ac_test_CXXFLAGS=${CXXFLAGS+set}
38757 ac_save_CXXFLAGS=$CXXFLAGS
38758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
38759 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
38760 if ${ac_cv_prog_cxx_g+:} false; then :
38761   $as_echo_n "(cached) " >&6
38762 else
38763   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
38764    ac_cxx_werror_flag=yes
38765    ac_cv_prog_cxx_g=no
38766    CXXFLAGS="-g"
38767    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38768 /* end confdefs.h.  */
38769
38770 int
38771 main ()
38772 {
38773
38774   ;
38775   return 0;
38776 }
38777 _ACEOF
38778 if ac_fn_cxx_try_compile "$LINENO"; then :
38779   ac_cv_prog_cxx_g=yes
38780 else
38781   CXXFLAGS=""
38782       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38783 /* end confdefs.h.  */
38784
38785 int
38786 main ()
38787 {
38788
38789   ;
38790   return 0;
38791 }
38792 _ACEOF
38793 if ac_fn_cxx_try_compile "$LINENO"; then :
38794
38795 else
38796   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
38797          CXXFLAGS="-g"
38798          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38799 /* end confdefs.h.  */
38800
38801 int
38802 main ()
38803 {
38804
38805   ;
38806   return 0;
38807 }
38808 _ACEOF
38809 if ac_fn_cxx_try_compile "$LINENO"; then :
38810   ac_cv_prog_cxx_g=yes
38811 fi
38812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38813 fi
38814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38815 fi
38816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38817    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
38818 fi
38819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
38820 $as_echo "$ac_cv_prog_cxx_g" >&6; }
38821 if test "$ac_test_CXXFLAGS" = set; then
38822   CXXFLAGS=$ac_save_CXXFLAGS
38823 elif test $ac_cv_prog_cxx_g = yes; then
38824   if test "$GXX" = yes; then
38825     CXXFLAGS="-g -O2"
38826   else
38827     CXXFLAGS="-g"
38828   fi
38829 else
38830   if test "$GXX" = yes; then
38831     CXXFLAGS="-O2"
38832   else
38833     CXXFLAGS=
38834   fi
38835 fi
38836 ac_ext=c
38837 ac_cpp='$CPP $CPPFLAGS'
38838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38841
38842 depcc="$CXX"  am_compiler_list=
38843
38844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
38845 $as_echo_n "checking dependency style of $depcc... " >&6; }
38846 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
38847   $as_echo_n "(cached) " >&6
38848 else
38849   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
38850   # We make a subdir and do the tests there.  Otherwise we can end up
38851   # making bogus files that we don't know about and never remove.  For
38852   # instance it was reported that on HP-UX the gcc test will end up
38853   # making a dummy file named `D' -- because `-MD' means `put the output
38854   # in D'.
38855   rm -rf conftest.dir
38856   mkdir conftest.dir
38857   # Copy depcomp to subdir because otherwise we won't find it if we're
38858   # using a relative directory.
38859   cp "$am_depcomp" conftest.dir
38860   cd conftest.dir
38861   # We will build objects and dependencies in a subdirectory because
38862   # it helps to detect inapplicable dependency modes.  For instance
38863   # both Tru64's cc and ICC support -MD to output dependencies as a
38864   # side effect of compilation, but ICC will put the dependencies in
38865   # the current directory while Tru64 will put them in the object
38866   # directory.
38867   mkdir sub
38868
38869   am_cv_CXX_dependencies_compiler_type=none
38870   if test "$am_compiler_list" = ""; then
38871      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
38872   fi
38873   am__universal=false
38874   case " $depcc " in #(
38875      *\ -arch\ *\ -arch\ *) am__universal=true ;;
38876      esac
38877
38878   for depmode in $am_compiler_list; do
38879     # Setup a source with many dependencies, because some compilers
38880     # like to wrap large dependency lists on column 80 (with \), and
38881     # we should not choose a depcomp mode which is confused by this.
38882     #
38883     # We need to recreate these files for each test, as the compiler may
38884     # overwrite some of them when testing with obscure command lines.
38885     # This happens at least with the AIX C compiler.
38886     : > sub/conftest.c
38887     for i in 1 2 3 4 5 6; do
38888       echo '#include "conftst'$i'.h"' >> sub/conftest.c
38889       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
38890       # Solaris 8's {/usr,}/bin/sh.
38891       touch sub/conftst$i.h
38892     done
38893     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
38894
38895     # We check with `-c' and `-o' for the sake of the "dashmstdout"
38896     # mode.  It turns out that the SunPro C++ compiler does not properly
38897     # handle `-M -o', and we need to detect this.  Also, some Intel
38898     # versions had trouble with output in subdirs
38899     am__obj=sub/conftest.${OBJEXT-o}
38900     am__minus_obj="-o $am__obj"
38901     case $depmode in
38902     gcc)
38903       # This depmode causes a compiler race in universal mode.
38904       test "$am__universal" = false || continue
38905       ;;
38906     nosideeffect)
38907       # after this tag, mechanisms are not by side-effect, so they'll
38908       # only be used when explicitly requested
38909       if test "x$enable_dependency_tracking" = xyes; then
38910         continue
38911       else
38912         break
38913       fi
38914       ;;
38915     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
38916       # This compiler won't grok `-c -o', but also, the minuso test has
38917       # not run yet.  These depmodes are late enough in the game, and
38918       # so weak that their functioning should not be impacted.
38919       am__obj=conftest.${OBJEXT-o}
38920       am__minus_obj=
38921       ;;
38922     none) break ;;
38923     esac
38924     if depmode=$depmode \
38925        source=sub/conftest.c object=$am__obj \
38926        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
38927        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
38928          >/dev/null 2>conftest.err &&
38929        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
38930        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
38931        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
38932        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
38933       # icc doesn't choke on unknown options, it will just issue warnings
38934       # or remarks (even with -Werror).  So we grep stderr for any message
38935       # that says an option was ignored or not supported.
38936       # When given -MP, icc 7.0 and 7.1 complain thusly:
38937       #   icc: Command line warning: ignoring option '-M'; no argument required
38938       # The diagnosis changed in icc 8.0:
38939       #   icc: Command line remark: option '-MP' not supported
38940       if (grep 'ignoring option' conftest.err ||
38941           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
38942         am_cv_CXX_dependencies_compiler_type=$depmode
38943         break
38944       fi
38945     fi
38946   done
38947
38948   cd ..
38949   rm -rf conftest.dir
38950 else
38951   am_cv_CXX_dependencies_compiler_type=none
38952 fi
38953
38954 fi
38955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
38956 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
38957 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
38958
38959  if
38960   test "x$enable_dependency_tracking" != xno \
38961   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
38962   am__fastdepCXX_TRUE=
38963   am__fastdepCXX_FALSE='#'
38964 else
38965   am__fastdepCXX_TRUE='#'
38966   am__fastdepCXX_FALSE=
38967 fi
38968
38969
38970     ac_ext=cpp
38971 ac_cpp='$CXXCPP $CPPFLAGS'
38972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38975
38976     OLD_CPPFLAGS=$CPPFLAGS
38977     CPPFLAGS=$OPENCV_CFLAGS
38978     ac_fn_cxx_check_header_mongrel "$LINENO" "highgui.h" "ac_cv_header_highgui_h" "$ac_includes_default"
38979 if test "x$ac_cv_header_highgui_h" = xyes; then :
38980   HAVE_HIGHGUI="yes"
38981 else
38982   HAVE_HIGHGUI="no"
38983 fi
38984
38985
38986     ac_fn_cxx_check_header_mongrel "$LINENO" "cvaux.h" "ac_cv_header_cvaux_h" "$ac_includes_default"
38987 if test "x$ac_cv_header_cvaux_h" = xyes; then :
38988   HAVE_CVAUX="yes"
38989 else
38990   HAVE_CVAUX="no"
38991 fi
38992
38993
38994     CPPFLAGS=$OLD_CPPFLAGS
38995     ac_ext=c
38996 ac_cpp='$CPP $CPPFLAGS'
38997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39000
39001     if test "x$HAVE_HIGHGUI" = "xno"; then
39002       { $as_echo "$as_me:${as_lineno-$LINENO}: result: highgui.h could not be found." >&5
39003 $as_echo "highgui.h could not be found." >&6; }
39004       HAVE_OPENCV="no"
39005     elif test "x$HAVE_CVAUX" = "xno"; then
39006       { $as_echo "$as_me:${as_lineno-$LINENO}: result: cvaux.h could not be found." >&5
39007 $as_echo "cvaux.h could not be found." >&6; }
39008       HAVE_OPENCV="no"
39009     else
39010       HAVE_OPENCV="yes"
39011     fi
39012
39013 fi
39014
39015
39016
39017
39018   LIBS=$gst_check_save_LIBS
39019   LDFLAGS=$gst_check_save_LDFLAGS
39020   CFLAGS=$gst_check_save_CFLAGS
39021   CPPFLAGS=$gst_check_save_CPPFLAGS
39022   CXXFLAGS=$gst_check_save_CXXFLAGS
39023
39024     if test x$HAVE_OPENCV = xno; then
39025     USE_OPENCV=no
39026   else
39027     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: opencv" >&5
39028 $as_echo "$as_me: *** These plugins will be built: opencv" >&6;}
39029   fi
39030 fi
39031 if test x$USE_OPENCV = xyes; then
39032   :
39033   if test "xopencv" != "x"; then
39034     GST_PLUGINS_YES="\topencv\n$GST_PLUGINS_YES"
39035   fi
39036
39037 $as_echo "#define HAVE_OPENCV /**/" >>confdefs.h
39038
39039 else
39040   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: opencv" >&5
39041 $as_echo "$as_me: *** These plugins will not be built: opencv" >&6;}
39042   if test "xopencv" != "x"; then
39043     GST_PLUGINS_NO="\topencv\n$GST_PLUGINS_NO"
39044   fi
39045   :
39046 fi
39047  if test x$USE_OPENCV = xyes; then
39048   USE_OPENCV_TRUE=
39049   USE_OPENCV_FALSE='#'
39050 else
39051   USE_OPENCV_TRUE='#'
39052   USE_OPENCV_FALSE=
39053 fi
39054
39055
39056
39057 echo
39058 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: opus ***" >&5
39059 $as_echo "$as_me: *** checking feature: opus ***" >&6;}
39060 if test "xopus" != "x"
39061 then
39062   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: opus ***" >&5
39063 $as_echo "$as_me: *** for plug-ins: opus ***" >&6;}
39064 fi
39065 NOUSE=
39066 if test "x$USE_OPUS" = "xno"; then
39067   NOUSE="yes"
39068 fi
39069 # Check whether --enable-opus was given.
39070 if test "${enable_opus+set}" = set; then :
39071   enableval=$enable_opus;  case "${enableval}" in
39072       yes) USE_OPUS=yes;;
39073       no) USE_OPUS=no;;
39074       *) as_fn_error $? "bad value ${enableval} for --enable-opus" "$LINENO" 5 ;;
39075     esac
39076 else
39077    USE_OPUS=yes
39078 fi
39079
39080 if test "x$NOUSE" = "xyes"; then
39081   USE_OPUS="no"
39082   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** opus pre-configured not to be built" >&5
39083 $as_echo "$as_me: WARNING: *** opus pre-configured not to be built" >&2;}
39084 fi
39085 NOUSE=
39086
39087
39088 if test x$USE_OPUS = xyes; then
39089
39090   gst_check_save_LIBS=$LIBS
39091   gst_check_save_LDFLAGS=$LDFLAGS
39092   gst_check_save_CFLAGS=$CFLAGS
39093   gst_check_save_CPPFLAGS=$CPPFLAGS
39094   gst_check_save_CXXFLAGS=$CXXFLAGS
39095
39096   HAVE_OPUS=no
39097
39098
39099 pkg_failed=no
39100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OPUS" >&5
39101 $as_echo_n "checking for OPUS... " >&6; }
39102
39103 if test -n "$PKG_CONFIG"; then
39104     if test -n "$OPUS_CFLAGS"; then
39105         pkg_cv_OPUS_CFLAGS="$OPUS_CFLAGS"
39106     else
39107         if test -n "$PKG_CONFIG" && \
39108     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"opus >= 0.9.4\""; } >&5
39109   ($PKG_CONFIG --exists --print-errors "opus >= 0.9.4") 2>&5
39110   ac_status=$?
39111   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
39112   test $ac_status = 0; }; then
39113   pkg_cv_OPUS_CFLAGS=`$PKG_CONFIG --cflags "opus >= 0.9.4" 2>/dev/null`
39114 else
39115   pkg_failed=yes
39116 fi
39117     fi
39118 else
39119         pkg_failed=untried
39120 fi
39121 if test -n "$PKG_CONFIG"; then
39122     if test -n "$OPUS_LIBS"; then
39123         pkg_cv_OPUS_LIBS="$OPUS_LIBS"
39124     else
39125         if test -n "$PKG_CONFIG" && \
39126     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"opus >= 0.9.4\""; } >&5
39127   ($PKG_CONFIG --exists --print-errors "opus >= 0.9.4") 2>&5
39128   ac_status=$?
39129   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
39130   test $ac_status = 0; }; then
39131   pkg_cv_OPUS_LIBS=`$PKG_CONFIG --libs "opus >= 0.9.4" 2>/dev/null`
39132 else
39133   pkg_failed=yes
39134 fi
39135     fi
39136 else
39137         pkg_failed=untried
39138 fi
39139
39140
39141
39142 if test $pkg_failed = yes; then
39143
39144 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
39145         _pkg_short_errors_supported=yes
39146 else
39147         _pkg_short_errors_supported=no
39148 fi
39149         if test $_pkg_short_errors_supported = yes; then
39150                 OPUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "opus >= 0.9.4"`
39151         else
39152                 OPUS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "opus >= 0.9.4"`
39153         fi
39154         # Put the nasty error message in config.log where it belongs
39155         echo "$OPUS_PKG_ERRORS" >&5
39156
39157         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39158 $as_echo "no" >&6; }
39159
39160           HAVE_OPUS="no"
39161
39162 elif test $pkg_failed = untried; then
39163
39164           HAVE_OPUS="no"
39165
39166 else
39167         OPUS_CFLAGS=$pkg_cv_OPUS_CFLAGS
39168         OPUS_LIBS=$pkg_cv_OPUS_LIBS
39169         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39170 $as_echo "yes" >&6; }
39171
39172
39173 $as_echo "#define HAVE_OPUS 1" >>confdefs.h
39174
39175           HAVE_OPUS="yes"
39176
39177 fi
39178
39179
39180
39181
39182   LIBS=$gst_check_save_LIBS
39183   LDFLAGS=$gst_check_save_LDFLAGS
39184   CFLAGS=$gst_check_save_CFLAGS
39185   CPPFLAGS=$gst_check_save_CPPFLAGS
39186   CXXFLAGS=$gst_check_save_CXXFLAGS
39187
39188     if test x$HAVE_OPUS = xno; then
39189     USE_OPUS=no
39190   else
39191     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: opus" >&5
39192 $as_echo "$as_me: *** These plugins will be built: opus" >&6;}
39193   fi
39194 fi
39195 if test x$USE_OPUS = xyes; then
39196   :
39197   if test "xopus" != "x"; then
39198     GST_PLUGINS_YES="\topus\n$GST_PLUGINS_YES"
39199   fi
39200
39201 $as_echo "#define HAVE_OPUS /**/" >>confdefs.h
39202
39203 else
39204   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: opus" >&5
39205 $as_echo "$as_me: *** These plugins will not be built: opus" >&6;}
39206   if test "xopus" != "x"; then
39207     GST_PLUGINS_NO="\topus\n$GST_PLUGINS_NO"
39208   fi
39209   :
39210 fi
39211  if test x$USE_OPUS = xyes; then
39212   USE_OPUS_TRUE=
39213   USE_OPUS_FALSE='#'
39214 else
39215   USE_OPUS_TRUE='#'
39216   USE_OPUS_FALSE=
39217 fi
39218
39219
39220
39221 echo
39222 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: pvrvideosink ***" >&5
39223 $as_echo "$as_me: *** checking feature: pvrvideosink ***" >&6;}
39224 if test "xpvr" != "x"
39225 then
39226   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: pvr ***" >&5
39227 $as_echo "$as_me: *** for plug-ins: pvr ***" >&6;}
39228 fi
39229 NOUSE=
39230 if test "x$USE_PVR" = "xno"; then
39231   NOUSE="yes"
39232 fi
39233 # Check whether --enable-pvr was given.
39234 if test "${enable_pvr+set}" = set; then :
39235   enableval=$enable_pvr;  case "${enableval}" in
39236       yes) USE_PVR=yes;;
39237       no) USE_PVR=no;;
39238       *) as_fn_error $? "bad value ${enableval} for --enable-pvr" "$LINENO" 5 ;;
39239     esac
39240 else
39241    USE_PVR=yes
39242 fi
39243
39244 if test "x$NOUSE" = "xyes"; then
39245   USE_PVR="no"
39246   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** pvr pre-configured not to be built" >&5
39247 $as_echo "$as_me: WARNING: *** pvr pre-configured not to be built" >&2;}
39248 fi
39249 NOUSE=
39250
39251
39252 if test x$USE_PVR = xyes; then
39253
39254   gst_check_save_LIBS=$LIBS
39255   gst_check_save_LDFLAGS=$LDFLAGS
39256   gst_check_save_CFLAGS=$CFLAGS
39257   gst_check_save_CPPFLAGS=$CPPFLAGS
39258   gst_check_save_CXXFLAGS=$CXXFLAGS
39259
39260   HAVE_PVR=no
39261
39262
39263 pkg_failed=no
39264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PVR" >&5
39265 $as_echo_n "checking for PVR... " >&6; }
39266
39267 if test -n "$PKG_CONFIG"; then
39268     if test -n "$PVR_CFLAGS"; then
39269         pkg_cv_PVR_CFLAGS="$PVR_CFLAGS"
39270     else
39271         if test -n "$PKG_CONFIG" && \
39272     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libtimemmgr\""; } >&5
39273   ($PKG_CONFIG --exists --print-errors "libtimemmgr") 2>&5
39274   ac_status=$?
39275   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
39276   test $ac_status = 0; }; then
39277   pkg_cv_PVR_CFLAGS=`$PKG_CONFIG --cflags "libtimemmgr" 2>/dev/null`
39278 else
39279   pkg_failed=yes
39280 fi
39281     fi
39282 else
39283         pkg_failed=untried
39284 fi
39285 if test -n "$PKG_CONFIG"; then
39286     if test -n "$PVR_LIBS"; then
39287         pkg_cv_PVR_LIBS="$PVR_LIBS"
39288     else
39289         if test -n "$PKG_CONFIG" && \
39290     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libtimemmgr\""; } >&5
39291   ($PKG_CONFIG --exists --print-errors "libtimemmgr") 2>&5
39292   ac_status=$?
39293   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
39294   test $ac_status = 0; }; then
39295   pkg_cv_PVR_LIBS=`$PKG_CONFIG --libs "libtimemmgr" 2>/dev/null`
39296 else
39297   pkg_failed=yes
39298 fi
39299     fi
39300 else
39301         pkg_failed=untried
39302 fi
39303
39304
39305
39306 if test $pkg_failed = yes; then
39307
39308 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
39309         _pkg_short_errors_supported=yes
39310 else
39311         _pkg_short_errors_supported=no
39312 fi
39313         if test $_pkg_short_errors_supported = yes; then
39314                 PVR_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libtimemmgr"`
39315         else
39316                 PVR_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libtimemmgr"`
39317         fi
39318         # Put the nasty error message in config.log where it belongs
39319         echo "$PVR_PKG_ERRORS" >&5
39320
39321         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39322 $as_echo "no" >&6; }
39323                 HAVE_PVR=no
39324 elif test $pkg_failed = untried; then
39325         HAVE_PVR=no
39326 else
39327         PVR_CFLAGS=$pkg_cv_PVR_CFLAGS
39328         PVR_LIBS=$pkg_cv_PVR_LIBS
39329         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39330 $as_echo "yes" >&6; }
39331         HAVE_PVR=yes
39332 fi
39333
39334
39335
39336
39337   LIBS=$gst_check_save_LIBS
39338   LDFLAGS=$gst_check_save_LDFLAGS
39339   CFLAGS=$gst_check_save_CFLAGS
39340   CPPFLAGS=$gst_check_save_CPPFLAGS
39341   CXXFLAGS=$gst_check_save_CXXFLAGS
39342
39343     if test x$HAVE_PVR = xno; then
39344     USE_PVR=no
39345   else
39346     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: pvr" >&5
39347 $as_echo "$as_me: *** These plugins will be built: pvr" >&6;}
39348   fi
39349 fi
39350 if test x$USE_PVR = xyes; then
39351   :
39352   if test "xpvr" != "x"; then
39353     GST_PLUGINS_YES="\tpvr\n$GST_PLUGINS_YES"
39354   fi
39355
39356 $as_echo "#define HAVE_PVR /**/" >>confdefs.h
39357
39358 else
39359   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: pvr" >&5
39360 $as_echo "$as_me: *** These plugins will not be built: pvr" >&6;}
39361   if test "xpvr" != "x"; then
39362     GST_PLUGINS_NO="\tpvr\n$GST_PLUGINS_NO"
39363   fi
39364   :
39365 fi
39366  if test x$USE_PVR = xyes; then
39367   USE_PVR_TRUE=
39368   USE_PVR_FALSE='#'
39369 else
39370   USE_PVR_TRUE='#'
39371   USE_PVR_FALSE=
39372 fi
39373
39374
39375
39376
39377 # Check whether --with-pvr-external-headers was given.
39378 if test "${with_pvr_external_headers+set}" = set; then :
39379   withval=$with_pvr_external_headers; if test "x$with_pvr_external_headers" = "xno"; then :
39380   PVR_CFLAGS="$PVR_CFLAGS -I\$(srcdir)/pvr_includes"
39381 fi
39382 else
39383   PVR_CFLAGS="$PVR_CFLAGS -I\$(srcdir)/pvr_includes"
39384 fi
39385
39386
39387 echo
39388 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: rsvg decoder ***" >&5
39389 $as_echo "$as_me: *** checking feature: rsvg decoder ***" >&6;}
39390 if test "xrsvg" != "x"
39391 then
39392   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: rsvg ***" >&5
39393 $as_echo "$as_me: *** for plug-ins: rsvg ***" >&6;}
39394 fi
39395 NOUSE=
39396 if test "x$USE_RSVG" = "xno"; then
39397   NOUSE="yes"
39398 fi
39399 # Check whether --enable-rsvg was given.
39400 if test "${enable_rsvg+set}" = set; then :
39401   enableval=$enable_rsvg;  case "${enableval}" in
39402       yes) USE_RSVG=yes;;
39403       no) USE_RSVG=no;;
39404       *) as_fn_error $? "bad value ${enableval} for --enable-rsvg" "$LINENO" 5 ;;
39405     esac
39406 else
39407    USE_RSVG=yes
39408 fi
39409
39410 if test "x$NOUSE" = "xyes"; then
39411   USE_RSVG="no"
39412   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** rsvg pre-configured not to be built" >&5
39413 $as_echo "$as_me: WARNING: *** rsvg pre-configured not to be built" >&2;}
39414 fi
39415 NOUSE=
39416
39417
39418 if test x$USE_RSVG = xyes; then
39419
39420   gst_check_save_LIBS=$LIBS
39421   gst_check_save_LDFLAGS=$LDFLAGS
39422   gst_check_save_CFLAGS=$CFLAGS
39423   gst_check_save_CPPFLAGS=$CPPFLAGS
39424   gst_check_save_CXXFLAGS=$CXXFLAGS
39425
39426   HAVE_RSVG=no
39427
39428
39429 pkg_failed=no
39430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSVG" >&5
39431 $as_echo_n "checking for RSVG... " >&6; }
39432
39433 if test -n "$PKG_CONFIG"; then
39434     if test -n "$RSVG_CFLAGS"; then
39435         pkg_cv_RSVG_CFLAGS="$RSVG_CFLAGS"
39436     else
39437         if test -n "$PKG_CONFIG" && \
39438     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"librsvg-2.0 >= 2.14 cairo\""; } >&5
39439   ($PKG_CONFIG --exists --print-errors "librsvg-2.0 >= 2.14 cairo") 2>&5
39440   ac_status=$?
39441   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
39442   test $ac_status = 0; }; then
39443   pkg_cv_RSVG_CFLAGS=`$PKG_CONFIG --cflags "librsvg-2.0 >= 2.14 cairo" 2>/dev/null`
39444 else
39445   pkg_failed=yes
39446 fi
39447     fi
39448 else
39449         pkg_failed=untried
39450 fi
39451 if test -n "$PKG_CONFIG"; then
39452     if test -n "$RSVG_LIBS"; then
39453         pkg_cv_RSVG_LIBS="$RSVG_LIBS"
39454     else
39455         if test -n "$PKG_CONFIG" && \
39456     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"librsvg-2.0 >= 2.14 cairo\""; } >&5
39457   ($PKG_CONFIG --exists --print-errors "librsvg-2.0 >= 2.14 cairo") 2>&5
39458   ac_status=$?
39459   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
39460   test $ac_status = 0; }; then
39461   pkg_cv_RSVG_LIBS=`$PKG_CONFIG --libs "librsvg-2.0 >= 2.14 cairo" 2>/dev/null`
39462 else
39463   pkg_failed=yes
39464 fi
39465     fi
39466 else
39467         pkg_failed=untried
39468 fi
39469
39470
39471
39472 if test $pkg_failed = yes; then
39473
39474 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
39475         _pkg_short_errors_supported=yes
39476 else
39477         _pkg_short_errors_supported=no
39478 fi
39479         if test $_pkg_short_errors_supported = yes; then
39480                 RSVG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "librsvg-2.0 >= 2.14 cairo"`
39481         else
39482                 RSVG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "librsvg-2.0 >= 2.14 cairo"`
39483         fi
39484         # Put the nasty error message in config.log where it belongs
39485         echo "$RSVG_PKG_ERRORS" >&5
39486
39487         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39488 $as_echo "no" >&6; }
39489
39490     HAVE_RSVG="no"
39491
39492 elif test $pkg_failed = untried; then
39493
39494     HAVE_RSVG="no"
39495
39496 else
39497         RSVG_CFLAGS=$pkg_cv_RSVG_CFLAGS
39498         RSVG_LIBS=$pkg_cv_RSVG_LIBS
39499         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39500 $as_echo "yes" >&6; }
39501         HAVE_RSVG="yes"
39502 fi
39503
39504
39505
39506
39507   LIBS=$gst_check_save_LIBS
39508   LDFLAGS=$gst_check_save_LDFLAGS
39509   CFLAGS=$gst_check_save_CFLAGS
39510   CPPFLAGS=$gst_check_save_CPPFLAGS
39511   CXXFLAGS=$gst_check_save_CXXFLAGS
39512
39513     if test x$HAVE_RSVG = xno; then
39514     USE_RSVG=no
39515   else
39516     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: rsvg" >&5
39517 $as_echo "$as_me: *** These plugins will be built: rsvg" >&6;}
39518   fi
39519 fi
39520 if test x$USE_RSVG = xyes; then
39521   :
39522   if test "xrsvg" != "x"; then
39523     GST_PLUGINS_YES="\trsvg\n$GST_PLUGINS_YES"
39524   fi
39525
39526 $as_echo "#define HAVE_RSVG /**/" >>confdefs.h
39527
39528 else
39529   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: rsvg" >&5
39530 $as_echo "$as_me: *** These plugins will not be built: rsvg" >&6;}
39531   if test "xrsvg" != "x"; then
39532     GST_PLUGINS_NO="\trsvg\n$GST_PLUGINS_NO"
39533   fi
39534   :
39535 fi
39536  if test x$USE_RSVG = xyes; then
39537   USE_RSVG_TRUE=
39538   USE_RSVG_FALSE='#'
39539 else
39540   USE_RSVG_TRUE='#'
39541   USE_RSVG_FALSE=
39542 fi
39543
39544
39545
39546 echo
39547 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: timidity midi soft synth plugin ***" >&5
39548 $as_echo "$as_me: *** checking feature: timidity midi soft synth plugin ***" >&6;}
39549 if test "xtimidity" != "x"
39550 then
39551   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: timidity ***" >&5
39552 $as_echo "$as_me: *** for plug-ins: timidity ***" >&6;}
39553 fi
39554 NOUSE=
39555 if test "x$USE_TIMIDITY" = "xno"; then
39556   NOUSE="yes"
39557 fi
39558 # Check whether --enable-timidity was given.
39559 if test "${enable_timidity+set}" = set; then :
39560   enableval=$enable_timidity;  case "${enableval}" in
39561       yes) USE_TIMIDITY=yes;;
39562       no) USE_TIMIDITY=no;;
39563       *) as_fn_error $? "bad value ${enableval} for --enable-timidity" "$LINENO" 5 ;;
39564     esac
39565 else
39566    USE_TIMIDITY=yes
39567 fi
39568
39569 if test "x$NOUSE" = "xyes"; then
39570   USE_TIMIDITY="no"
39571   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** timidity pre-configured not to be built" >&5
39572 $as_echo "$as_me: WARNING: *** timidity pre-configured not to be built" >&2;}
39573 fi
39574 NOUSE=
39575
39576
39577 if test x$USE_TIMIDITY = xyes; then
39578
39579   gst_check_save_LIBS=$LIBS
39580   gst_check_save_LDFLAGS=$LDFLAGS
39581   gst_check_save_CFLAGS=$CFLAGS
39582   gst_check_save_CPPFLAGS=$CPPFLAGS
39583   gst_check_save_CXXFLAGS=$CXXFLAGS
39584
39585   HAVE_TIMIDITY=no
39586
39587
39588 pkg_failed=no
39589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIMIDITY" >&5
39590 $as_echo_n "checking for TIMIDITY... " >&6; }
39591
39592 if test -n "$PKG_CONFIG"; then
39593     if test -n "$TIMIDITY_CFLAGS"; then
39594         pkg_cv_TIMIDITY_CFLAGS="$TIMIDITY_CFLAGS"
39595     else
39596         if test -n "$PKG_CONFIG" && \
39597     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libtimidity\""; } >&5
39598   ($PKG_CONFIG --exists --print-errors "libtimidity") 2>&5
39599   ac_status=$?
39600   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
39601   test $ac_status = 0; }; then
39602   pkg_cv_TIMIDITY_CFLAGS=`$PKG_CONFIG --cflags "libtimidity" 2>/dev/null`
39603 else
39604   pkg_failed=yes
39605 fi
39606     fi
39607 else
39608         pkg_failed=untried
39609 fi
39610 if test -n "$PKG_CONFIG"; then
39611     if test -n "$TIMIDITY_LIBS"; then
39612         pkg_cv_TIMIDITY_LIBS="$TIMIDITY_LIBS"
39613     else
39614         if test -n "$PKG_CONFIG" && \
39615     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libtimidity\""; } >&5
39616   ($PKG_CONFIG --exists --print-errors "libtimidity") 2>&5
39617   ac_status=$?
39618   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
39619   test $ac_status = 0; }; then
39620   pkg_cv_TIMIDITY_LIBS=`$PKG_CONFIG --libs "libtimidity" 2>/dev/null`
39621 else
39622   pkg_failed=yes
39623 fi
39624     fi
39625 else
39626         pkg_failed=untried
39627 fi
39628
39629
39630
39631 if test $pkg_failed = yes; then
39632
39633 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
39634         _pkg_short_errors_supported=yes
39635 else
39636         _pkg_short_errors_supported=no
39637 fi
39638         if test $_pkg_short_errors_supported = yes; then
39639                 TIMIDITY_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libtimidity"`
39640         else
39641                 TIMIDITY_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libtimidity"`
39642         fi
39643         # Put the nasty error message in config.log where it belongs
39644         echo "$TIMIDITY_PKG_ERRORS" >&5
39645
39646         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39647 $as_echo "no" >&6; }
39648
39649     HAVE_TIMIDITY="no"
39650
39651 elif test $pkg_failed = untried; then
39652
39653     HAVE_TIMIDITY="no"
39654
39655 else
39656         TIMIDITY_CFLAGS=$pkg_cv_TIMIDITY_CFLAGS
39657         TIMIDITY_LIBS=$pkg_cv_TIMIDITY_LIBS
39658         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39659 $as_echo "yes" >&6; }
39660
39661     HAVE_TIMIDITY="yes",
39662         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timidity.cfg" >&5
39663 $as_echo_n "checking for timidity.cfg... " >&6; }
39664         timidity_cfg=""
39665         if test -r /etc/timidity.cfg; then
39666           timidity_cfg=/etc/timidity.cfg
39667         elif test -r /etc/timidity/timidity.cfg; then
39668           timidity_cfg=/etc/timidity/timidity.cfg
39669         elif test -r /usr/share/timidity/timidity.cfg; then
39670           timidity_cfg=/usr/share/timidity/timidity.cfg
39671         elif test -r /usr/local/share/timidity/timidity.cfg; then
39672           timidity_cfg=/usr/local/share/timidity/timidity.cfg
39673         fi
39674         if test "x$timidity_cfg" != "x"; then
39675           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $timidity_cfg" >&5
39676 $as_echo "$timidity_cfg" >&6; }
39677
39678 cat >>confdefs.h <<_ACEOF
39679 #define TIMIDITY_CFG "$timidity_cfg"
39680 _ACEOF
39681
39682         else
39683           { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
39684 $as_echo "not found" >&6; }
39685         fi
39686
39687 fi
39688
39689
39690
39691
39692   LIBS=$gst_check_save_LIBS
39693   LDFLAGS=$gst_check_save_LDFLAGS
39694   CFLAGS=$gst_check_save_CFLAGS
39695   CPPFLAGS=$gst_check_save_CPPFLAGS
39696   CXXFLAGS=$gst_check_save_CXXFLAGS
39697
39698     if test x$HAVE_TIMIDITY = xno; then
39699     USE_TIMIDITY=no
39700   else
39701     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: timidity" >&5
39702 $as_echo "$as_me: *** These plugins will be built: timidity" >&6;}
39703   fi
39704 fi
39705 if test x$USE_TIMIDITY = xyes; then
39706   :
39707   if test "xtimidity" != "x"; then
39708     GST_PLUGINS_YES="\ttimidity\n$GST_PLUGINS_YES"
39709   fi
39710
39711 $as_echo "#define HAVE_TIMIDITY /**/" >>confdefs.h
39712
39713 else
39714   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: timidity" >&5
39715 $as_echo "$as_me: *** These plugins will not be built: timidity" >&6;}
39716   if test "xtimidity" != "x"; then
39717     GST_PLUGINS_NO="\ttimidity\n$GST_PLUGINS_NO"
39718   fi
39719   :
39720 fi
39721  if test x$USE_TIMIDITY = xyes; then
39722   USE_TIMIDITY_TRUE=
39723   USE_TIMIDITY_FALSE='#'
39724 else
39725   USE_TIMIDITY_TRUE='#'
39726   USE_TIMIDITY_FALSE=
39727 fi
39728
39729
39730
39731 echo
39732 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Teletext decoder ***" >&5
39733 $as_echo "$as_me: *** checking feature: Teletext decoder ***" >&6;}
39734 if test "xteletextdec" != "x"
39735 then
39736   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: teletextdec ***" >&5
39737 $as_echo "$as_me: *** for plug-ins: teletextdec ***" >&6;}
39738 fi
39739 NOUSE=
39740 if test "x$USE_TELETEXTDEC" = "xno"; then
39741   NOUSE="yes"
39742 fi
39743 # Check whether --enable-teletextdec was given.
39744 if test "${enable_teletextdec+set}" = set; then :
39745   enableval=$enable_teletextdec;  case "${enableval}" in
39746       yes) USE_TELETEXTDEC=yes;;
39747       no) USE_TELETEXTDEC=no;;
39748       *) as_fn_error $? "bad value ${enableval} for --enable-teletextdec" "$LINENO" 5 ;;
39749     esac
39750 else
39751    USE_TELETEXTDEC=yes
39752 fi
39753
39754 if test "x$NOUSE" = "xyes"; then
39755   USE_TELETEXTDEC="no"
39756   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** teletextdec pre-configured not to be built" >&5
39757 $as_echo "$as_me: WARNING: *** teletextdec pre-configured not to be built" >&2;}
39758 fi
39759 NOUSE=
39760
39761
39762 if test x$USE_TELETEXTDEC = xyes; then
39763
39764   gst_check_save_LIBS=$LIBS
39765   gst_check_save_LDFLAGS=$LDFLAGS
39766   gst_check_save_CFLAGS=$CFLAGS
39767   gst_check_save_CPPFLAGS=$CPPFLAGS
39768   gst_check_save_CXXFLAGS=$CXXFLAGS
39769
39770   HAVE_TELETEXTDEC=no
39771
39772
39773   which="zvbi-0.2"
39774     required="no"
39775
39776
39777 pkg_failed=no
39778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TELETEXTDEC" >&5
39779 $as_echo_n "checking for TELETEXTDEC... " >&6; }
39780
39781 if test -n "$PKG_CONFIG"; then
39782     if test -n "$TELETEXTDEC_CFLAGS"; then
39783         pkg_cv_TELETEXTDEC_CFLAGS="$TELETEXTDEC_CFLAGS"
39784     else
39785         if test -n "$PKG_CONFIG" && \
39786     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
39787   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
39788   ac_status=$?
39789   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
39790   test $ac_status = 0; }; then
39791   pkg_cv_TELETEXTDEC_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
39792 else
39793   pkg_failed=yes
39794 fi
39795     fi
39796 else
39797         pkg_failed=untried
39798 fi
39799 if test -n "$PKG_CONFIG"; then
39800     if test -n "$TELETEXTDEC_LIBS"; then
39801         pkg_cv_TELETEXTDEC_LIBS="$TELETEXTDEC_LIBS"
39802     else
39803         if test -n "$PKG_CONFIG" && \
39804     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
39805   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
39806   ac_status=$?
39807   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
39808   test $ac_status = 0; }; then
39809   pkg_cv_TELETEXTDEC_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
39810 else
39811   pkg_failed=yes
39812 fi
39813     fi
39814 else
39815         pkg_failed=untried
39816 fi
39817
39818
39819
39820 if test $pkg_failed = yes; then
39821
39822 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
39823         _pkg_short_errors_supported=yes
39824 else
39825         _pkg_short_errors_supported=no
39826 fi
39827         if test $_pkg_short_errors_supported = yes; then
39828                 TELETEXTDEC_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
39829         else
39830                 TELETEXTDEC_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
39831         fi
39832         # Put the nasty error message in config.log where it belongs
39833         echo "$TELETEXTDEC_PKG_ERRORS" >&5
39834
39835         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39836 $as_echo "no" >&6; }
39837
39838       HAVE_TELETEXTDEC="no"
39839       if test "x$required" = "xyes"; then
39840         as_fn_error $? "$TELETEXTDEC_PKG_ERRORS" "$LINENO" 5
39841       else
39842         { $as_echo "$as_me:${as_lineno-$LINENO}: $TELETEXTDEC_PKG_ERRORS" >&5
39843 $as_echo "$as_me: $TELETEXTDEC_PKG_ERRORS" >&6;}
39844       fi
39845
39846 elif test $pkg_failed = untried; then
39847
39848       HAVE_TELETEXTDEC="no"
39849       if test "x$required" = "xyes"; then
39850         as_fn_error $? "$TELETEXTDEC_PKG_ERRORS" "$LINENO" 5
39851       else
39852         { $as_echo "$as_me:${as_lineno-$LINENO}: $TELETEXTDEC_PKG_ERRORS" >&5
39853 $as_echo "$as_me: $TELETEXTDEC_PKG_ERRORS" >&6;}
39854       fi
39855
39856 else
39857         TELETEXTDEC_CFLAGS=$pkg_cv_TELETEXTDEC_CFLAGS
39858         TELETEXTDEC_LIBS=$pkg_cv_TELETEXTDEC_LIBS
39859         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39860 $as_echo "yes" >&6; }
39861
39862       HAVE_TELETEXTDEC="yes"
39863
39864 fi
39865
39866
39867
39868
39869   LIBS=$gst_check_save_LIBS
39870   LDFLAGS=$gst_check_save_LDFLAGS
39871   CFLAGS=$gst_check_save_CFLAGS
39872   CPPFLAGS=$gst_check_save_CPPFLAGS
39873   CXXFLAGS=$gst_check_save_CXXFLAGS
39874
39875     if test x$HAVE_TELETEXTDEC = xno; then
39876     USE_TELETEXTDEC=no
39877   else
39878     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: teletextdec" >&5
39879 $as_echo "$as_me: *** These plugins will be built: teletextdec" >&6;}
39880   fi
39881 fi
39882 if test x$USE_TELETEXTDEC = xyes; then
39883   :
39884   if test "xteletextdec" != "x"; then
39885     GST_PLUGINS_YES="\tteletextdec\n$GST_PLUGINS_YES"
39886   fi
39887
39888 $as_echo "#define HAVE_TELETEXTDEC /**/" >>confdefs.h
39889
39890 else
39891   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: teletextdec" >&5
39892 $as_echo "$as_me: *** These plugins will not be built: teletextdec" >&6;}
39893   if test "xteletextdec" != "x"; then
39894     GST_PLUGINS_NO="\tteletextdec\n$GST_PLUGINS_NO"
39895   fi
39896   :
39897 fi
39898  if test x$USE_TELETEXTDEC = xyes; then
39899   USE_TELETEXTDEC_TRUE=
39900   USE_TELETEXTDEC_FALSE='#'
39901 else
39902   USE_TELETEXTDEC_TRUE='#'
39903   USE_TELETEXTDEC_FALSE=
39904 fi
39905
39906
39907
39908 echo
39909 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: wildmidi midi soft synth plugin ***" >&5
39910 $as_echo "$as_me: *** checking feature: wildmidi midi soft synth plugin ***" >&6;}
39911 if test "xwildmidi" != "x"
39912 then
39913   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: wildmidi ***" >&5
39914 $as_echo "$as_me: *** for plug-ins: wildmidi ***" >&6;}
39915 fi
39916 NOUSE=
39917 if test "x$USE_WILDMIDI" = "xno"; then
39918   NOUSE="yes"
39919 fi
39920 # Check whether --enable-wildmidi was given.
39921 if test "${enable_wildmidi+set}" = set; then :
39922   enableval=$enable_wildmidi;  case "${enableval}" in
39923       yes) USE_WILDMIDI=yes;;
39924       no) USE_WILDMIDI=no;;
39925       *) as_fn_error $? "bad value ${enableval} for --enable-wildmidi" "$LINENO" 5 ;;
39926     esac
39927 else
39928    USE_WILDMIDI=yes
39929 fi
39930
39931 if test "x$NOUSE" = "xyes"; then
39932   USE_WILDMIDI="no"
39933   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** wildmidi pre-configured not to be built" >&5
39934 $as_echo "$as_me: WARNING: *** wildmidi pre-configured not to be built" >&2;}
39935 fi
39936 NOUSE=
39937
39938
39939 if test x$USE_WILDMIDI = xyes; then
39940
39941   gst_check_save_LIBS=$LIBS
39942   gst_check_save_LDFLAGS=$LDFLAGS
39943   gst_check_save_CFLAGS=$CFLAGS
39944   gst_check_save_CPPFLAGS=$CPPFLAGS
39945   gst_check_save_CXXFLAGS=$CXXFLAGS
39946
39947   HAVE_WILDMIDI=no
39948
39949
39950   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WildMidi_Init in -lWildMidi" >&5
39951 $as_echo_n "checking for WildMidi_Init in -lWildMidi... " >&6; }
39952 if ${ac_cv_lib_WildMidi_WildMidi_Init+:} false; then :
39953   $as_echo_n "(cached) " >&6
39954 else
39955   ac_check_lib_save_LIBS=$LIBS
39956 LIBS="-lWildMidi  $LIBS"
39957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39958 /* end confdefs.h.  */
39959
39960 /* Override any GCC internal prototype to avoid an error.
39961    Use char because int might match the return type of a GCC
39962    builtin and then its argument prototype would still apply.  */
39963 #ifdef __cplusplus
39964 extern "C"
39965 #endif
39966 char WildMidi_Init ();
39967 int
39968 main ()
39969 {
39970 return WildMidi_Init ();
39971   ;
39972   return 0;
39973 }
39974 _ACEOF
39975 if ac_fn_c_try_link "$LINENO"; then :
39976   ac_cv_lib_WildMidi_WildMidi_Init=yes
39977 else
39978   ac_cv_lib_WildMidi_WildMidi_Init=no
39979 fi
39980 rm -f core conftest.err conftest.$ac_objext \
39981     conftest$ac_exeext conftest.$ac_ext
39982 LIBS=$ac_check_lib_save_LIBS
39983 fi
39984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_WildMidi_WildMidi_Init" >&5
39985 $as_echo "$ac_cv_lib_WildMidi_WildMidi_Init" >&6; }
39986 if test "x$ac_cv_lib_WildMidi_WildMidi_Init" = xyes; then :
39987   HAVE_WILDMIDI=yes
39988 else
39989   HAVE_WILDMIDI=no
39990 fi
39991
39992   if test "x$HAVE_WILDMIDI" = "xyes"; then
39993     ac_fn_c_check_header_mongrel "$LINENO" "wildmidi_lib.h" "ac_cv_header_wildmidi_lib_h" "$ac_includes_default"
39994 if test "x$ac_cv_header_wildmidi_lib_h" = xyes; then :
39995   :
39996 else
39997   HAVE_WILDMIDI=no
39998 fi
39999
40000
40001     if test "x$HAVE_WILDMIDI" = "xyes"; then
40002             WILDMIDI_LIBS="-lWildMidi"
40003     else
40004       :
40005     fi
40006   else
40007     :
40008   fi
40009
40010
40011
40012   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WildMidi_LoadSamples in -lWildMidi" >&5
40013 $as_echo_n "checking for WildMidi_LoadSamples in -lWildMidi... " >&6; }
40014 if ${ac_cv_lib_WildMidi_WildMidi_LoadSamples+:} false; then :
40015   $as_echo_n "(cached) " >&6
40016 else
40017   ac_check_lib_save_LIBS=$LIBS
40018 LIBS="-lWildMidi  $LIBS"
40019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40020 /* end confdefs.h.  */
40021
40022 /* Override any GCC internal prototype to avoid an error.
40023    Use char because int might match the return type of a GCC
40024    builtin and then its argument prototype would still apply.  */
40025 #ifdef __cplusplus
40026 extern "C"
40027 #endif
40028 char WildMidi_LoadSamples ();
40029 int
40030 main ()
40031 {
40032 return WildMidi_LoadSamples ();
40033   ;
40034   return 0;
40035 }
40036 _ACEOF
40037 if ac_fn_c_try_link "$LINENO"; then :
40038   ac_cv_lib_WildMidi_WildMidi_LoadSamples=yes
40039 else
40040   ac_cv_lib_WildMidi_WildMidi_LoadSamples=no
40041 fi
40042 rm -f core conftest.err conftest.$ac_objext \
40043     conftest$ac_exeext conftest.$ac_ext
40044 LIBS=$ac_check_lib_save_LIBS
40045 fi
40046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_WildMidi_WildMidi_LoadSamples" >&5
40047 $as_echo "$ac_cv_lib_WildMidi_WildMidi_LoadSamples" >&6; }
40048 if test "x$ac_cv_lib_WildMidi_WildMidi_LoadSamples" = xyes; then :
40049
40050 $as_echo "#define HAVE_WILDMIDI_0_2_2 1" >>confdefs.h
40051
40052 fi
40053
40054
40055   if test "x$HAVE_WILDMIDI" = "xyes"; then
40056          WILDMIDI_CFLAGS=
40057          WILDMIDI_LIBS=-lWildMidi
40058          { $as_echo "$as_me:${as_lineno-$LINENO}: compiling gstWildMidi" >&5
40059 $as_echo "$as_me: compiling gstWildMidi" >&6;}
40060   else
40061          WILDMIDI_CFLAGS=
40062          WILDMIDI_LIBS=
40063          { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no WildMidi library found (libWildMidi)" >&5
40064 $as_echo "$as_me: WARNING: no WildMidi library found (libWildMidi)" >&2;}
40065   fi
40066
40067
40068
40069
40070   LIBS=$gst_check_save_LIBS
40071   LDFLAGS=$gst_check_save_LDFLAGS
40072   CFLAGS=$gst_check_save_CFLAGS
40073   CPPFLAGS=$gst_check_save_CPPFLAGS
40074   CXXFLAGS=$gst_check_save_CXXFLAGS
40075
40076     if test x$HAVE_WILDMIDI = xno; then
40077     USE_WILDMIDI=no
40078   else
40079     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: wildmidi" >&5
40080 $as_echo "$as_me: *** These plugins will be built: wildmidi" >&6;}
40081   fi
40082 fi
40083 if test x$USE_WILDMIDI = xyes; then
40084   :
40085   if test "xwildmidi" != "x"; then
40086     GST_PLUGINS_YES="\twildmidi\n$GST_PLUGINS_YES"
40087   fi
40088
40089 $as_echo "#define HAVE_WILDMIDI /**/" >>confdefs.h
40090
40091 else
40092   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: wildmidi" >&5
40093 $as_echo "$as_me: *** These plugins will not be built: wildmidi" >&6;}
40094   if test "xwildmidi" != "x"; then
40095     GST_PLUGINS_NO="\twildmidi\n$GST_PLUGINS_NO"
40096   fi
40097   :
40098 fi
40099  if test x$USE_WILDMIDI = xyes; then
40100   USE_WILDMIDI_TRUE=
40101   USE_WILDMIDI_FALSE='#'
40102 else
40103   USE_WILDMIDI_TRUE='#'
40104   USE_WILDMIDI_FALSE=
40105 fi
40106
40107
40108
40109 echo
40110 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: SDL plug-in ***" >&5
40111 $as_echo "$as_me: *** checking feature: SDL plug-in ***" >&6;}
40112 if test "xsdlvideosink sdlaudiosink" != "x"
40113 then
40114   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: sdlvideosink sdlaudiosink ***" >&5
40115 $as_echo "$as_me: *** for plug-ins: sdlvideosink sdlaudiosink ***" >&6;}
40116 fi
40117 NOUSE=
40118 if test "x$USE_SDL" = "xno"; then
40119   NOUSE="yes"
40120 fi
40121 # Check whether --enable-sdl was given.
40122 if test "${enable_sdl+set}" = set; then :
40123   enableval=$enable_sdl;  case "${enableval}" in
40124       yes) USE_SDL=yes;;
40125       no) USE_SDL=no;;
40126       *) as_fn_error $? "bad value ${enableval} for --enable-sdl" "$LINENO" 5 ;;
40127     esac
40128 else
40129    USE_SDL=yes
40130 fi
40131
40132 if test "x$NOUSE" = "xyes"; then
40133   USE_SDL="no"
40134   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** sdlvideosink sdlaudiosink pre-configured not to be built" >&5
40135 $as_echo "$as_me: WARNING: *** sdlvideosink sdlaudiosink pre-configured not to be built" >&2;}
40136 fi
40137 NOUSE=
40138
40139
40140 if test x$USE_SDL = xyes; then
40141
40142   gst_check_save_LIBS=$LIBS
40143   gst_check_save_LDFLAGS=$LDFLAGS
40144   gst_check_save_CFLAGS=$CFLAGS
40145   gst_check_save_CPPFLAGS=$CPPFLAGS
40146   gst_check_save_CXXFLAGS=$CXXFLAGS
40147
40148   HAVE_SDL=no
40149
40150
40151 # Check whether --with-sdl-prefix was given.
40152 if test "${with_sdl_prefix+set}" = set; then :
40153   withval=$with_sdl_prefix; sdl_prefix="$withval"
40154 else
40155   sdl_prefix=""
40156 fi
40157
40158
40159
40160 # Check whether --with-sdl-exec-prefix was given.
40161 if test "${with_sdl_exec_prefix+set}" = set; then :
40162   withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
40163 else
40164   sdl_exec_prefix=""
40165 fi
40166
40167
40168 # Check whether --enable-sdltest was given.
40169 if test "${enable_sdltest+set}" = set; then :
40170   enableval=$enable_sdltest;
40171 else
40172   enable_sdltest=yes
40173 fi
40174
40175
40176   if test x$sdl_exec_prefix != x ; then
40177      sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
40178      if test x${SDL_CONFIG+set} != xset ; then
40179         SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
40180      fi
40181   fi
40182   if test x$sdl_prefix != x ; then
40183      sdl_args="$sdl_args --prefix=$sdl_prefix"
40184      if test x${SDL_CONFIG+set} != xset ; then
40185         SDL_CONFIG=$sdl_prefix/bin/sdl-config
40186      fi
40187   fi
40188
40189   # Extract the first word of "sdl-config", so it can be a program name with args.
40190 set dummy sdl-config; ac_word=$2
40191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
40192 $as_echo_n "checking for $ac_word... " >&6; }
40193 if ${ac_cv_path_SDL_CONFIG+:} false; then :
40194   $as_echo_n "(cached) " >&6
40195 else
40196   case $SDL_CONFIG in
40197   [\\/]* | ?:[\\/]*)
40198   ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
40199   ;;
40200   *)
40201   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40202 for as_dir in $PATH
40203 do
40204   IFS=$as_save_IFS
40205   test -z "$as_dir" && as_dir=.
40206     for ac_exec_ext in '' $ac_executable_extensions; do
40207   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
40208     ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
40209     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
40210     break 2
40211   fi
40212 done
40213   done
40214 IFS=$as_save_IFS
40215
40216   test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
40217   ;;
40218 esac
40219 fi
40220 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
40221 if test -n "$SDL_CONFIG"; then
40222   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
40223 $as_echo "$SDL_CONFIG" >&6; }
40224 else
40225   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40226 $as_echo "no" >&6; }
40227 fi
40228
40229
40230   min_sdl_version=0.11.0
40231   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
40232 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
40233   no_sdl=""
40234   if test "$SDL_CONFIG" = "no" ; then
40235     no_sdl=yes
40236   else
40237     SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
40238     SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
40239     SDL_STATIC_LIBS=`$SDL_CONFIG $sdlconf_args --static-libs`
40240
40241
40242     sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
40243            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
40244     sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
40245            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
40246     sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
40247            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
40248     if test "x$enable_sdltest" = "xyes" ; then
40249       ac_save_CFLAGS="$CFLAGS"
40250       ac_save_LIBS="$LIBS"
40251       CFLAGS="$CFLAGS $SDL_CFLAGS"
40252       LIBS="$LIBS $SDL_STATIC_LIBS"
40253       rm -f conf.sdltest
40254       if test "$cross_compiling" = yes; then :
40255   echo $ac_n "cross compiling; assumed OK... $ac_c"
40256 else
40257   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40258 /* end confdefs.h.  */
40259
40260 #include <stdio.h>
40261 #include <stdlib.h>
40262 #include <string.h>
40263 #include "SDL.h"
40264
40265 char*
40266 my_strdup (char *str)
40267 {
40268   char *new_str;
40269
40270   if (str)
40271     {
40272       new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
40273       strcpy (new_str, str);
40274     }
40275   else
40276     new_str = NULL;
40277
40278   return new_str;
40279 }
40280
40281 int main (int argc, char *argv[])
40282 {
40283   int major, minor, micro;
40284   char *tmp_version;
40285
40286   /* This hangs on some systems (?)
40287   system ("touch conf.sdltest");
40288   */
40289   { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
40290
40291   /* HP/UX 9 (%@#!) writes to sscanf strings */
40292   tmp_version = my_strdup("$min_sdl_version");
40293   if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
40294      printf("%s, bad version string\n", "$min_sdl_version");
40295      exit(1);
40296    }
40297
40298    if (($sdl_major_version > major) ||
40299       (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
40300       (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
40301     {
40302       return 0;
40303     }
40304   else
40305     {
40306       printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
40307       printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
40308       printf("*** best to upgrade to the required version.\n");
40309       printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
40310       printf("*** to point to the correct copy of sdl-config, and remove the file\n");
40311       printf("*** config.cache before re-running configure\n");
40312       return 1;
40313     }
40314 }
40315
40316
40317 _ACEOF
40318 if ac_fn_c_try_run "$LINENO"; then :
40319
40320 else
40321   no_sdl=yes
40322 fi
40323 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
40324   conftest.$ac_objext conftest.beam conftest.$ac_ext
40325 fi
40326
40327        CFLAGS="$ac_save_CFLAGS"
40328        LIBS="$ac_save_LIBS"
40329      fi
40330   fi
40331   if test "x$no_sdl" = x ; then
40332      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40333 $as_echo "yes" >&6; }
40334      HAVE_SDL=yes
40335   else
40336      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40337 $as_echo "no" >&6; }
40338      if test "$SDL_CONFIG" = "no" ; then
40339        echo "*** The sdl-config script installed by SDL could not be found"
40340        echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
40341        echo "*** your path, or set the SDL_CONFIG environment variable to the"
40342        echo "*** full path to sdl-config."
40343      else
40344        if test -f conf.sdltest ; then
40345         :
40346        else
40347           echo "*** Could not run SDL test program, checking why..."
40348           CFLAGS="$CFLAGS $SDL_CFLAGS"
40349           LIBS="$LIBS $SDL_LIBS"
40350           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40351 /* end confdefs.h.  */
40352
40353 #include <stdio.h>
40354 #include "SDL.h"
40355
40356 int main(int argc, char *argv[])
40357 { return 0; }
40358 #undef  main
40359 #define main K_and_R_C_main
40360
40361 int
40362 main ()
40363 {
40364  return 0;
40365   ;
40366   return 0;
40367 }
40368 _ACEOF
40369 if ac_fn_c_try_link "$LINENO"; then :
40370    echo "*** The test program compiled, but did not run. This usually means"
40371           echo "*** that the run-time linker is not finding SDL or finding the wrong"
40372           echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
40373           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
40374           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
40375           echo "*** is required on your system"
40376           echo "***"
40377           echo "*** If you have an old version installed, it is best to remove it, although"
40378           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
40379 else
40380    echo "*** The test program failed to compile or link. See the file config.log for the"
40381           echo "*** exact error that occured. This usually means SDL was incorrectly installed"
40382           echo "*** or that you have moved SDL since it was installed. In the latter case, you"
40383           echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
40384 fi
40385 rm -f core conftest.err conftest.$ac_objext \
40386     conftest$ac_exeext conftest.$ac_ext
40387           CFLAGS="$ac_save_CFLAGS"
40388           LIBS="$ac_save_LIBS"
40389        fi
40390      fi
40391      SDL_CFLAGS=""
40392      SDL_LIBS=""
40393      HAVE_SDL=no
40394   fi
40395
40396
40397   rm -f conf.sdltest
40398
40399
40400
40401   LIBS=$gst_check_save_LIBS
40402   LDFLAGS=$gst_check_save_LDFLAGS
40403   CFLAGS=$gst_check_save_CFLAGS
40404   CPPFLAGS=$gst_check_save_CPPFLAGS
40405   CXXFLAGS=$gst_check_save_CXXFLAGS
40406
40407     if test x$HAVE_SDL = xno; then
40408     USE_SDL=no
40409   else
40410     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: sdlvideosink sdlaudiosink" >&5
40411 $as_echo "$as_me: *** These plugins will be built: sdlvideosink sdlaudiosink" >&6;}
40412   fi
40413 fi
40414 if test x$USE_SDL = xyes; then
40415   :
40416   if test "xsdlvideosink sdlaudiosink" != "x"; then
40417     GST_PLUGINS_YES="\tsdlvideosink sdlaudiosink\n$GST_PLUGINS_YES"
40418   fi
40419
40420 $as_echo "#define HAVE_SDL /**/" >>confdefs.h
40421
40422 else
40423   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: sdlvideosink sdlaudiosink" >&5
40424 $as_echo "$as_me: *** These plugins will not be built: sdlvideosink sdlaudiosink" >&6;}
40425   if test "xsdlvideosink sdlaudiosink" != "x"; then
40426     GST_PLUGINS_NO="\tsdlvideosink sdlaudiosink\n$GST_PLUGINS_NO"
40427   fi
40428   :
40429 fi
40430  if test x$USE_SDL = xyes; then
40431   USE_SDL_TRUE=
40432   USE_SDL_FALSE='#'
40433 else
40434   USE_SDL_TRUE='#'
40435   USE_SDL_FALSE=
40436 fi
40437
40438
40439
40440 echo
40441 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: sndfile plug-in ***" >&5
40442 $as_echo "$as_me: *** checking feature: sndfile plug-in ***" >&6;}
40443 if test "xsfsrc sfsink" != "x"
40444 then
40445   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: sfsrc sfsink ***" >&5
40446 $as_echo "$as_me: *** for plug-ins: sfsrc sfsink ***" >&6;}
40447 fi
40448 NOUSE=
40449 if test "x$USE_SNDFILE" = "xno"; then
40450   NOUSE="yes"
40451 fi
40452 # Check whether --enable-sndfile was given.
40453 if test "${enable_sndfile+set}" = set; then :
40454   enableval=$enable_sndfile;  case "${enableval}" in
40455       yes) USE_SNDFILE=yes;;
40456       no) USE_SNDFILE=no;;
40457       *) as_fn_error $? "bad value ${enableval} for --enable-sndfile" "$LINENO" 5 ;;
40458     esac
40459 else
40460    USE_SNDFILE=yes
40461 fi
40462
40463 if test "x$NOUSE" = "xyes"; then
40464   USE_SNDFILE="no"
40465   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** sfsrc sfsink pre-configured not to be built" >&5
40466 $as_echo "$as_me: WARNING: *** sfsrc sfsink pre-configured not to be built" >&2;}
40467 fi
40468 NOUSE=
40469
40470
40471 if test x$USE_SNDFILE = xyes; then
40472
40473   gst_check_save_LIBS=$LIBS
40474   gst_check_save_LDFLAGS=$LDFLAGS
40475   gst_check_save_CFLAGS=$CFLAGS
40476   gst_check_save_CPPFLAGS=$CPPFLAGS
40477   gst_check_save_CXXFLAGS=$CXXFLAGS
40478
40479   HAVE_SNDFILE=no
40480
40481
40482 pkg_failed=no
40483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SNDFILE" >&5
40484 $as_echo_n "checking for SNDFILE... " >&6; }
40485
40486 if test -n "$PKG_CONFIG"; then
40487     if test -n "$SNDFILE_CFLAGS"; then
40488         pkg_cv_SNDFILE_CFLAGS="$SNDFILE_CFLAGS"
40489     else
40490         if test -n "$PKG_CONFIG" && \
40491     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sndfile >= 1.0.16\""; } >&5
40492   ($PKG_CONFIG --exists --print-errors "sndfile >= 1.0.16") 2>&5
40493   ac_status=$?
40494   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
40495   test $ac_status = 0; }; then
40496   pkg_cv_SNDFILE_CFLAGS=`$PKG_CONFIG --cflags "sndfile >= 1.0.16" 2>/dev/null`
40497 else
40498   pkg_failed=yes
40499 fi
40500     fi
40501 else
40502         pkg_failed=untried
40503 fi
40504 if test -n "$PKG_CONFIG"; then
40505     if test -n "$SNDFILE_LIBS"; then
40506         pkg_cv_SNDFILE_LIBS="$SNDFILE_LIBS"
40507     else
40508         if test -n "$PKG_CONFIG" && \
40509     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sndfile >= 1.0.16\""; } >&5
40510   ($PKG_CONFIG --exists --print-errors "sndfile >= 1.0.16") 2>&5
40511   ac_status=$?
40512   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
40513   test $ac_status = 0; }; then
40514   pkg_cv_SNDFILE_LIBS=`$PKG_CONFIG --libs "sndfile >= 1.0.16" 2>/dev/null`
40515 else
40516   pkg_failed=yes
40517 fi
40518     fi
40519 else
40520         pkg_failed=untried
40521 fi
40522
40523
40524
40525 if test $pkg_failed = yes; then
40526
40527 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
40528         _pkg_short_errors_supported=yes
40529 else
40530         _pkg_short_errors_supported=no
40531 fi
40532         if test $_pkg_short_errors_supported = yes; then
40533                 SNDFILE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "sndfile >= 1.0.16"`
40534         else
40535                 SNDFILE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "sndfile >= 1.0.16"`
40536         fi
40537         # Put the nasty error message in config.log where it belongs
40538         echo "$SNDFILE_PKG_ERRORS" >&5
40539
40540         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40541 $as_echo "no" >&6; }
40542                 HAVE_SNDFILE="no"
40543 elif test $pkg_failed = untried; then
40544         HAVE_SNDFILE="no"
40545 else
40546         SNDFILE_CFLAGS=$pkg_cv_SNDFILE_CFLAGS
40547         SNDFILE_LIBS=$pkg_cv_SNDFILE_LIBS
40548         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40549 $as_echo "yes" >&6; }
40550         HAVE_SNDFILE="yes"
40551 fi
40552
40553
40554
40555
40556   LIBS=$gst_check_save_LIBS
40557   LDFLAGS=$gst_check_save_LDFLAGS
40558   CFLAGS=$gst_check_save_CFLAGS
40559   CPPFLAGS=$gst_check_save_CPPFLAGS
40560   CXXFLAGS=$gst_check_save_CXXFLAGS
40561
40562     if test x$HAVE_SNDFILE = xno; then
40563     USE_SNDFILE=no
40564   else
40565     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: sfsrc sfsink" >&5
40566 $as_echo "$as_me: *** These plugins will be built: sfsrc sfsink" >&6;}
40567   fi
40568 fi
40569 if test x$USE_SNDFILE = xyes; then
40570   :
40571   if test "xsfsrc sfsink" != "x"; then
40572     GST_PLUGINS_YES="\tsfsrc sfsink\n$GST_PLUGINS_YES"
40573   fi
40574
40575 $as_echo "#define HAVE_SNDFILE /**/" >>confdefs.h
40576
40577 else
40578   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: sfsrc sfsink" >&5
40579 $as_echo "$as_me: *** These plugins will not be built: sfsrc sfsink" >&6;}
40580   if test "xsfsrc sfsink" != "x"; then
40581     GST_PLUGINS_NO="\tsfsrc sfsink\n$GST_PLUGINS_NO"
40582   fi
40583   :
40584 fi
40585  if test x$USE_SNDFILE = xyes; then
40586   USE_SNDFILE_TRUE=
40587   USE_SNDFILE_FALSE='#'
40588 else
40589   USE_SNDFILE_TRUE='#'
40590   USE_SNDFILE_FALSE=
40591 fi
40592
40593
40594
40595 echo
40596 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: soundtouch plug-in ***" >&5
40597 $as_echo "$as_me: *** checking feature: soundtouch plug-in ***" >&6;}
40598 if test "xsoundtouch" != "x"
40599 then
40600   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: soundtouch ***" >&5
40601 $as_echo "$as_me: *** for plug-ins: soundtouch ***" >&6;}
40602 fi
40603 NOUSE=
40604 if test "x$USE_SOUNDTOUCH" = "xno"; then
40605   NOUSE="yes"
40606 fi
40607 # Check whether --enable-soundtouch was given.
40608 if test "${enable_soundtouch+set}" = set; then :
40609   enableval=$enable_soundtouch;  case "${enableval}" in
40610       yes) USE_SOUNDTOUCH=yes;;
40611       no) USE_SOUNDTOUCH=no;;
40612       *) as_fn_error $? "bad value ${enableval} for --enable-soundtouch" "$LINENO" 5 ;;
40613     esac
40614 else
40615    USE_SOUNDTOUCH=yes
40616 fi
40617
40618 if test "x$NOUSE" = "xyes"; then
40619   USE_SOUNDTOUCH="no"
40620   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** soundtouch pre-configured not to be built" >&5
40621 $as_echo "$as_me: WARNING: *** soundtouch pre-configured not to be built" >&2;}
40622 fi
40623 NOUSE=
40624
40625
40626 if test x$USE_SOUNDTOUCH = xyes; then
40627
40628   gst_check_save_LIBS=$LIBS
40629   gst_check_save_LDFLAGS=$LDFLAGS
40630   gst_check_save_CFLAGS=$CFLAGS
40631   gst_check_save_CPPFLAGS=$CPPFLAGS
40632   gst_check_save_CXXFLAGS=$CXXFLAGS
40633
40634   HAVE_SOUNDTOUCH=no
40635
40636         HAVE_SOUNDTOUCH_1_4=yes
40637
40638 pkg_failed=no
40639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUNDTOUCH" >&5
40640 $as_echo_n "checking for SOUNDTOUCH... " >&6; }
40641
40642 if test -n "$PKG_CONFIG"; then
40643     if test -n "$SOUNDTOUCH_CFLAGS"; then
40644         pkg_cv_SOUNDTOUCH_CFLAGS="$SOUNDTOUCH_CFLAGS"
40645     else
40646         if test -n "$PKG_CONFIG" && \
40647     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"soundtouch\""; } >&5
40648   ($PKG_CONFIG --exists --print-errors "soundtouch") 2>&5
40649   ac_status=$?
40650   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
40651   test $ac_status = 0; }; then
40652   pkg_cv_SOUNDTOUCH_CFLAGS=`$PKG_CONFIG --cflags "soundtouch" 2>/dev/null`
40653 else
40654   pkg_failed=yes
40655 fi
40656     fi
40657 else
40658         pkg_failed=untried
40659 fi
40660 if test -n "$PKG_CONFIG"; then
40661     if test -n "$SOUNDTOUCH_LIBS"; then
40662         pkg_cv_SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS"
40663     else
40664         if test -n "$PKG_CONFIG" && \
40665     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"soundtouch\""; } >&5
40666   ($PKG_CONFIG --exists --print-errors "soundtouch") 2>&5
40667   ac_status=$?
40668   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
40669   test $ac_status = 0; }; then
40670   pkg_cv_SOUNDTOUCH_LIBS=`$PKG_CONFIG --libs "soundtouch" 2>/dev/null`
40671 else
40672   pkg_failed=yes
40673 fi
40674     fi
40675 else
40676         pkg_failed=untried
40677 fi
40678
40679
40680
40681 if test $pkg_failed = yes; then
40682
40683 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
40684         _pkg_short_errors_supported=yes
40685 else
40686         _pkg_short_errors_supported=no
40687 fi
40688         if test $_pkg_short_errors_supported = yes; then
40689                 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "soundtouch"`
40690         else
40691                 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "soundtouch"`
40692         fi
40693         # Put the nasty error message in config.log where it belongs
40694         echo "$SOUNDTOUCH_PKG_ERRORS" >&5
40695
40696         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40697 $as_echo "no" >&6; }
40698
40699 pkg_failed=no
40700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUNDTOUCH" >&5
40701 $as_echo_n "checking for SOUNDTOUCH... " >&6; }
40702
40703 if test -n "$PKG_CONFIG"; then
40704     if test -n "$SOUNDTOUCH_CFLAGS"; then
40705         pkg_cv_SOUNDTOUCH_CFLAGS="$SOUNDTOUCH_CFLAGS"
40706     else
40707         if test -n "$PKG_CONFIG" && \
40708     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"soundtouch-1.4\""; } >&5
40709   ($PKG_CONFIG --exists --print-errors "soundtouch-1.4") 2>&5
40710   ac_status=$?
40711   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
40712   test $ac_status = 0; }; then
40713   pkg_cv_SOUNDTOUCH_CFLAGS=`$PKG_CONFIG --cflags "soundtouch-1.4" 2>/dev/null`
40714 else
40715   pkg_failed=yes
40716 fi
40717     fi
40718 else
40719         pkg_failed=untried
40720 fi
40721 if test -n "$PKG_CONFIG"; then
40722     if test -n "$SOUNDTOUCH_LIBS"; then
40723         pkg_cv_SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS"
40724     else
40725         if test -n "$PKG_CONFIG" && \
40726     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"soundtouch-1.4\""; } >&5
40727   ($PKG_CONFIG --exists --print-errors "soundtouch-1.4") 2>&5
40728   ac_status=$?
40729   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
40730   test $ac_status = 0; }; then
40731   pkg_cv_SOUNDTOUCH_LIBS=`$PKG_CONFIG --libs "soundtouch-1.4" 2>/dev/null`
40732 else
40733   pkg_failed=yes
40734 fi
40735     fi
40736 else
40737         pkg_failed=untried
40738 fi
40739
40740
40741
40742 if test $pkg_failed = yes; then
40743
40744 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
40745         _pkg_short_errors_supported=yes
40746 else
40747         _pkg_short_errors_supported=no
40748 fi
40749         if test $_pkg_short_errors_supported = yes; then
40750                 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "soundtouch-1.4"`
40751         else
40752                 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "soundtouch-1.4"`
40753         fi
40754         # Put the nasty error message in config.log where it belongs
40755         echo "$SOUNDTOUCH_PKG_ERRORS" >&5
40756
40757         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40758 $as_echo "no" >&6; }
40759
40760 pkg_failed=no
40761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUNDTOUCH" >&5
40762 $as_echo_n "checking for SOUNDTOUCH... " >&6; }
40763
40764 if test -n "$PKG_CONFIG"; then
40765     if test -n "$SOUNDTOUCH_CFLAGS"; then
40766         pkg_cv_SOUNDTOUCH_CFLAGS="$SOUNDTOUCH_CFLAGS"
40767     else
40768         if test -n "$PKG_CONFIG" && \
40769     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"soundtouch-1.0\""; } >&5
40770   ($PKG_CONFIG --exists --print-errors "soundtouch-1.0") 2>&5
40771   ac_status=$?
40772   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
40773   test $ac_status = 0; }; then
40774   pkg_cv_SOUNDTOUCH_CFLAGS=`$PKG_CONFIG --cflags "soundtouch-1.0" 2>/dev/null`
40775 else
40776   pkg_failed=yes
40777 fi
40778     fi
40779 else
40780         pkg_failed=untried
40781 fi
40782 if test -n "$PKG_CONFIG"; then
40783     if test -n "$SOUNDTOUCH_LIBS"; then
40784         pkg_cv_SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS"
40785     else
40786         if test -n "$PKG_CONFIG" && \
40787     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"soundtouch-1.0\""; } >&5
40788   ($PKG_CONFIG --exists --print-errors "soundtouch-1.0") 2>&5
40789   ac_status=$?
40790   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
40791   test $ac_status = 0; }; then
40792   pkg_cv_SOUNDTOUCH_LIBS=`$PKG_CONFIG --libs "soundtouch-1.0" 2>/dev/null`
40793 else
40794   pkg_failed=yes
40795 fi
40796     fi
40797 else
40798         pkg_failed=untried
40799 fi
40800
40801
40802
40803 if test $pkg_failed = yes; then
40804
40805 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
40806         _pkg_short_errors_supported=yes
40807 else
40808         _pkg_short_errors_supported=no
40809 fi
40810         if test $_pkg_short_errors_supported = yes; then
40811                 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "soundtouch-1.0"`
40812         else
40813                 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "soundtouch-1.0"`
40814         fi
40815         # Put the nasty error message in config.log where it belongs
40816         echo "$SOUNDTOUCH_PKG_ERRORS" >&5
40817
40818         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40819 $as_echo "no" >&6; }
40820
40821 pkg_failed=no
40822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUNDTOUCH" >&5
40823 $as_echo_n "checking for SOUNDTOUCH... " >&6; }
40824
40825 if test -n "$PKG_CONFIG"; then
40826     if test -n "$SOUNDTOUCH_CFLAGS"; then
40827         pkg_cv_SOUNDTOUCH_CFLAGS="$SOUNDTOUCH_CFLAGS"
40828     else
40829         if test -n "$PKG_CONFIG" && \
40830     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch >= 1.4\""; } >&5
40831   ($PKG_CONFIG --exists --print-errors "libSoundTouch >= 1.4") 2>&5
40832   ac_status=$?
40833   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
40834   test $ac_status = 0; }; then
40835   pkg_cv_SOUNDTOUCH_CFLAGS=`$PKG_CONFIG --cflags "libSoundTouch >= 1.4" 2>/dev/null`
40836 else
40837   pkg_failed=yes
40838 fi
40839     fi
40840 else
40841         pkg_failed=untried
40842 fi
40843 if test -n "$PKG_CONFIG"; then
40844     if test -n "$SOUNDTOUCH_LIBS"; then
40845         pkg_cv_SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS"
40846     else
40847         if test -n "$PKG_CONFIG" && \
40848     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch >= 1.4\""; } >&5
40849   ($PKG_CONFIG --exists --print-errors "libSoundTouch >= 1.4") 2>&5
40850   ac_status=$?
40851   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
40852   test $ac_status = 0; }; then
40853   pkg_cv_SOUNDTOUCH_LIBS=`$PKG_CONFIG --libs "libSoundTouch >= 1.4" 2>/dev/null`
40854 else
40855   pkg_failed=yes
40856 fi
40857     fi
40858 else
40859         pkg_failed=untried
40860 fi
40861
40862
40863
40864 if test $pkg_failed = yes; then
40865
40866 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
40867         _pkg_short_errors_supported=yes
40868 else
40869         _pkg_short_errors_supported=no
40870 fi
40871         if test $_pkg_short_errors_supported = yes; then
40872                 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libSoundTouch >= 1.4"`
40873         else
40874                 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libSoundTouch >= 1.4"`
40875         fi
40876         # Put the nasty error message in config.log where it belongs
40877         echo "$SOUNDTOUCH_PKG_ERRORS" >&5
40878
40879         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40880 $as_echo "no" >&6; }
40881
40882 pkg_failed=no
40883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUNDTOUCH" >&5
40884 $as_echo_n "checking for SOUNDTOUCH... " >&6; }
40885
40886 if test -n "$PKG_CONFIG"; then
40887     if test -n "$SOUNDTOUCH_CFLAGS"; then
40888         pkg_cv_SOUNDTOUCH_CFLAGS="$SOUNDTOUCH_CFLAGS"
40889     else
40890         if test -n "$PKG_CONFIG" && \
40891     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch\""; } >&5
40892   ($PKG_CONFIG --exists --print-errors "libSoundTouch") 2>&5
40893   ac_status=$?
40894   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
40895   test $ac_status = 0; }; then
40896   pkg_cv_SOUNDTOUCH_CFLAGS=`$PKG_CONFIG --cflags "libSoundTouch" 2>/dev/null`
40897 else
40898   pkg_failed=yes
40899 fi
40900     fi
40901 else
40902         pkg_failed=untried
40903 fi
40904 if test -n "$PKG_CONFIG"; then
40905     if test -n "$SOUNDTOUCH_LIBS"; then
40906         pkg_cv_SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS"
40907     else
40908         if test -n "$PKG_CONFIG" && \
40909     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch\""; } >&5
40910   ($PKG_CONFIG --exists --print-errors "libSoundTouch") 2>&5
40911   ac_status=$?
40912   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
40913   test $ac_status = 0; }; then
40914   pkg_cv_SOUNDTOUCH_LIBS=`$PKG_CONFIG --libs "libSoundTouch" 2>/dev/null`
40915 else
40916   pkg_failed=yes
40917 fi
40918     fi
40919 else
40920         pkg_failed=untried
40921 fi
40922
40923
40924
40925 if test $pkg_failed = yes; then
40926
40927 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
40928         _pkg_short_errors_supported=yes
40929 else
40930         _pkg_short_errors_supported=no
40931 fi
40932         if test $_pkg_short_errors_supported = yes; then
40933                 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libSoundTouch"`
40934         else
40935                 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libSoundTouch"`
40936         fi
40937         # Put the nasty error message in config.log where it belongs
40938         echo "$SOUNDTOUCH_PKG_ERRORS" >&5
40939
40940         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40941 $as_echo "no" >&6; }
40942                 HAVE_SOUNDTOUCH=no
40943 elif test $pkg_failed = untried; then
40944         HAVE_SOUNDTOUCH=no
40945 else
40946         SOUNDTOUCH_CFLAGS=$pkg_cv_SOUNDTOUCH_CFLAGS
40947         SOUNDTOUCH_LIBS=$pkg_cv_SOUNDTOUCH_LIBS
40948         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40949 $as_echo "yes" >&6; }
40950         HAVE_SOUNDTOUCH=yes
40951               HAVE_SOUNDTOUCH_1_4=no
40952               SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS -lBPM"
40953 fi
40954 elif test $pkg_failed = untried; then
40955
40956 pkg_failed=no
40957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUNDTOUCH" >&5
40958 $as_echo_n "checking for SOUNDTOUCH... " >&6; }
40959
40960 if test -n "$PKG_CONFIG"; then
40961     if test -n "$SOUNDTOUCH_CFLAGS"; then
40962         pkg_cv_SOUNDTOUCH_CFLAGS="$SOUNDTOUCH_CFLAGS"
40963     else
40964         if test -n "$PKG_CONFIG" && \
40965     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch\""; } >&5
40966   ($PKG_CONFIG --exists --print-errors "libSoundTouch") 2>&5
40967   ac_status=$?
40968   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
40969   test $ac_status = 0; }; then
40970   pkg_cv_SOUNDTOUCH_CFLAGS=`$PKG_CONFIG --cflags "libSoundTouch" 2>/dev/null`
40971 else
40972   pkg_failed=yes
40973 fi
40974     fi
40975 else
40976         pkg_failed=untried
40977 fi
40978 if test -n "$PKG_CONFIG"; then
40979     if test -n "$SOUNDTOUCH_LIBS"; then
40980         pkg_cv_SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS"
40981     else
40982         if test -n "$PKG_CONFIG" && \
40983     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch\""; } >&5
40984   ($PKG_CONFIG --exists --print-errors "libSoundTouch") 2>&5
40985   ac_status=$?
40986   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
40987   test $ac_status = 0; }; then
40988   pkg_cv_SOUNDTOUCH_LIBS=`$PKG_CONFIG --libs "libSoundTouch" 2>/dev/null`
40989 else
40990   pkg_failed=yes
40991 fi
40992     fi
40993 else
40994         pkg_failed=untried
40995 fi
40996
40997
40998
40999 if test $pkg_failed = yes; then
41000
41001 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41002         _pkg_short_errors_supported=yes
41003 else
41004         _pkg_short_errors_supported=no
41005 fi
41006         if test $_pkg_short_errors_supported = yes; then
41007                 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libSoundTouch"`
41008         else
41009                 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libSoundTouch"`
41010         fi
41011         # Put the nasty error message in config.log where it belongs
41012         echo "$SOUNDTOUCH_PKG_ERRORS" >&5
41013
41014         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41015 $as_echo "no" >&6; }
41016                 HAVE_SOUNDTOUCH=no
41017 elif test $pkg_failed = untried; then
41018         HAVE_SOUNDTOUCH=no
41019 else
41020         SOUNDTOUCH_CFLAGS=$pkg_cv_SOUNDTOUCH_CFLAGS
41021         SOUNDTOUCH_LIBS=$pkg_cv_SOUNDTOUCH_LIBS
41022         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41023 $as_echo "yes" >&6; }
41024         HAVE_SOUNDTOUCH=yes
41025               HAVE_SOUNDTOUCH_1_4=no
41026               SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS -lBPM"
41027 fi
41028 else
41029         SOUNDTOUCH_CFLAGS=$pkg_cv_SOUNDTOUCH_CFLAGS
41030         SOUNDTOUCH_LIBS=$pkg_cv_SOUNDTOUCH_LIBS
41031         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41032 $as_echo "yes" >&6; }
41033         HAVE_SOUNDTOUCH=yes
41034 fi
41035 elif test $pkg_failed = untried; then
41036
41037 pkg_failed=no
41038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUNDTOUCH" >&5
41039 $as_echo_n "checking for SOUNDTOUCH... " >&6; }
41040
41041 if test -n "$PKG_CONFIG"; then
41042     if test -n "$SOUNDTOUCH_CFLAGS"; then
41043         pkg_cv_SOUNDTOUCH_CFLAGS="$SOUNDTOUCH_CFLAGS"
41044     else
41045         if test -n "$PKG_CONFIG" && \
41046     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch >= 1.4\""; } >&5
41047   ($PKG_CONFIG --exists --print-errors "libSoundTouch >= 1.4") 2>&5
41048   ac_status=$?
41049   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
41050   test $ac_status = 0; }; then
41051   pkg_cv_SOUNDTOUCH_CFLAGS=`$PKG_CONFIG --cflags "libSoundTouch >= 1.4" 2>/dev/null`
41052 else
41053   pkg_failed=yes
41054 fi
41055     fi
41056 else
41057         pkg_failed=untried
41058 fi
41059 if test -n "$PKG_CONFIG"; then
41060     if test -n "$SOUNDTOUCH_LIBS"; then
41061         pkg_cv_SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS"
41062     else
41063         if test -n "$PKG_CONFIG" && \
41064     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch >= 1.4\""; } >&5
41065   ($PKG_CONFIG --exists --print-errors "libSoundTouch >= 1.4") 2>&5
41066   ac_status=$?
41067   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
41068   test $ac_status = 0; }; then
41069   pkg_cv_SOUNDTOUCH_LIBS=`$PKG_CONFIG --libs "libSoundTouch >= 1.4" 2>/dev/null`
41070 else
41071   pkg_failed=yes
41072 fi
41073     fi
41074 else
41075         pkg_failed=untried
41076 fi
41077
41078
41079
41080 if test $pkg_failed = yes; then
41081
41082 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41083         _pkg_short_errors_supported=yes
41084 else
41085         _pkg_short_errors_supported=no
41086 fi
41087         if test $_pkg_short_errors_supported = yes; then
41088                 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libSoundTouch >= 1.4"`
41089         else
41090                 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libSoundTouch >= 1.4"`
41091         fi
41092         # Put the nasty error message in config.log where it belongs
41093         echo "$SOUNDTOUCH_PKG_ERRORS" >&5
41094
41095         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41096 $as_echo "no" >&6; }
41097
41098 pkg_failed=no
41099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUNDTOUCH" >&5
41100 $as_echo_n "checking for SOUNDTOUCH... " >&6; }
41101
41102 if test -n "$PKG_CONFIG"; then
41103     if test -n "$SOUNDTOUCH_CFLAGS"; then
41104         pkg_cv_SOUNDTOUCH_CFLAGS="$SOUNDTOUCH_CFLAGS"
41105     else
41106         if test -n "$PKG_CONFIG" && \
41107     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch\""; } >&5
41108   ($PKG_CONFIG --exists --print-errors "libSoundTouch") 2>&5
41109   ac_status=$?
41110   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
41111   test $ac_status = 0; }; then
41112   pkg_cv_SOUNDTOUCH_CFLAGS=`$PKG_CONFIG --cflags "libSoundTouch" 2>/dev/null`
41113 else
41114   pkg_failed=yes
41115 fi
41116     fi
41117 else
41118         pkg_failed=untried
41119 fi
41120 if test -n "$PKG_CONFIG"; then
41121     if test -n "$SOUNDTOUCH_LIBS"; then
41122         pkg_cv_SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS"
41123     else
41124         if test -n "$PKG_CONFIG" && \
41125     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch\""; } >&5
41126   ($PKG_CONFIG --exists --print-errors "libSoundTouch") 2>&5
41127   ac_status=$?
41128   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
41129   test $ac_status = 0; }; then
41130   pkg_cv_SOUNDTOUCH_LIBS=`$PKG_CONFIG --libs "libSoundTouch" 2>/dev/null`
41131 else
41132   pkg_failed=yes
41133 fi
41134     fi
41135 else
41136         pkg_failed=untried
41137 fi
41138
41139
41140
41141 if test $pkg_failed = yes; then
41142
41143 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41144         _pkg_short_errors_supported=yes
41145 else
41146         _pkg_short_errors_supported=no
41147 fi
41148         if test $_pkg_short_errors_supported = yes; then
41149                 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libSoundTouch"`
41150         else
41151                 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libSoundTouch"`
41152         fi
41153         # Put the nasty error message in config.log where it belongs
41154         echo "$SOUNDTOUCH_PKG_ERRORS" >&5
41155
41156         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41157 $as_echo "no" >&6; }
41158                 HAVE_SOUNDTOUCH=no
41159 elif test $pkg_failed = untried; then
41160         HAVE_SOUNDTOUCH=no
41161 else
41162         SOUNDTOUCH_CFLAGS=$pkg_cv_SOUNDTOUCH_CFLAGS
41163         SOUNDTOUCH_LIBS=$pkg_cv_SOUNDTOUCH_LIBS
41164         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41165 $as_echo "yes" >&6; }
41166         HAVE_SOUNDTOUCH=yes
41167               HAVE_SOUNDTOUCH_1_4=no
41168               SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS -lBPM"
41169 fi
41170 elif test $pkg_failed = untried; then
41171
41172 pkg_failed=no
41173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUNDTOUCH" >&5
41174 $as_echo_n "checking for SOUNDTOUCH... " >&6; }
41175
41176 if test -n "$PKG_CONFIG"; then
41177     if test -n "$SOUNDTOUCH_CFLAGS"; then
41178         pkg_cv_SOUNDTOUCH_CFLAGS="$SOUNDTOUCH_CFLAGS"
41179     else
41180         if test -n "$PKG_CONFIG" && \
41181     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch\""; } >&5
41182   ($PKG_CONFIG --exists --print-errors "libSoundTouch") 2>&5
41183   ac_status=$?
41184   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
41185   test $ac_status = 0; }; then
41186   pkg_cv_SOUNDTOUCH_CFLAGS=`$PKG_CONFIG --cflags "libSoundTouch" 2>/dev/null`
41187 else
41188   pkg_failed=yes
41189 fi
41190     fi
41191 else
41192         pkg_failed=untried
41193 fi
41194 if test -n "$PKG_CONFIG"; then
41195     if test -n "$SOUNDTOUCH_LIBS"; then
41196         pkg_cv_SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS"
41197     else
41198         if test -n "$PKG_CONFIG" && \
41199     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch\""; } >&5
41200   ($PKG_CONFIG --exists --print-errors "libSoundTouch") 2>&5
41201   ac_status=$?
41202   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
41203   test $ac_status = 0; }; then
41204   pkg_cv_SOUNDTOUCH_LIBS=`$PKG_CONFIG --libs "libSoundTouch" 2>/dev/null`
41205 else
41206   pkg_failed=yes
41207 fi
41208     fi
41209 else
41210         pkg_failed=untried
41211 fi
41212
41213
41214
41215 if test $pkg_failed = yes; then
41216
41217 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41218         _pkg_short_errors_supported=yes
41219 else
41220         _pkg_short_errors_supported=no
41221 fi
41222         if test $_pkg_short_errors_supported = yes; then
41223                 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libSoundTouch"`
41224         else
41225                 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libSoundTouch"`
41226         fi
41227         # Put the nasty error message in config.log where it belongs
41228         echo "$SOUNDTOUCH_PKG_ERRORS" >&5
41229
41230         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41231 $as_echo "no" >&6; }
41232                 HAVE_SOUNDTOUCH=no
41233 elif test $pkg_failed = untried; then
41234         HAVE_SOUNDTOUCH=no
41235 else
41236         SOUNDTOUCH_CFLAGS=$pkg_cv_SOUNDTOUCH_CFLAGS
41237         SOUNDTOUCH_LIBS=$pkg_cv_SOUNDTOUCH_LIBS
41238         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41239 $as_echo "yes" >&6; }
41240         HAVE_SOUNDTOUCH=yes
41241               HAVE_SOUNDTOUCH_1_4=no
41242               SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS -lBPM"
41243 fi
41244 else
41245         SOUNDTOUCH_CFLAGS=$pkg_cv_SOUNDTOUCH_CFLAGS
41246         SOUNDTOUCH_LIBS=$pkg_cv_SOUNDTOUCH_LIBS
41247         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41248 $as_echo "yes" >&6; }
41249         HAVE_SOUNDTOUCH=yes
41250 fi
41251 else
41252         SOUNDTOUCH_CFLAGS=$pkg_cv_SOUNDTOUCH_CFLAGS
41253         SOUNDTOUCH_LIBS=$pkg_cv_SOUNDTOUCH_LIBS
41254         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41255 $as_echo "yes" >&6; }
41256         HAVE_SOUNDTOUCH=yes
41257           HAVE_SOUNDTOUCH_1_4=no
41258           SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS -lBPM"
41259 fi
41260 elif test $pkg_failed = untried; then
41261
41262 pkg_failed=no
41263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUNDTOUCH" >&5
41264 $as_echo_n "checking for SOUNDTOUCH... " >&6; }
41265
41266 if test -n "$PKG_CONFIG"; then
41267     if test -n "$SOUNDTOUCH_CFLAGS"; then
41268         pkg_cv_SOUNDTOUCH_CFLAGS="$SOUNDTOUCH_CFLAGS"
41269     else
41270         if test -n "$PKG_CONFIG" && \
41271     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"soundtouch-1.0\""; } >&5
41272   ($PKG_CONFIG --exists --print-errors "soundtouch-1.0") 2>&5
41273   ac_status=$?
41274   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
41275   test $ac_status = 0; }; then
41276   pkg_cv_SOUNDTOUCH_CFLAGS=`$PKG_CONFIG --cflags "soundtouch-1.0" 2>/dev/null`
41277 else
41278   pkg_failed=yes
41279 fi
41280     fi
41281 else
41282         pkg_failed=untried
41283 fi
41284 if test -n "$PKG_CONFIG"; then
41285     if test -n "$SOUNDTOUCH_LIBS"; then
41286         pkg_cv_SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS"
41287     else
41288         if test -n "$PKG_CONFIG" && \
41289     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"soundtouch-1.0\""; } >&5
41290   ($PKG_CONFIG --exists --print-errors "soundtouch-1.0") 2>&5
41291   ac_status=$?
41292   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
41293   test $ac_status = 0; }; then
41294   pkg_cv_SOUNDTOUCH_LIBS=`$PKG_CONFIG --libs "soundtouch-1.0" 2>/dev/null`
41295 else
41296   pkg_failed=yes
41297 fi
41298     fi
41299 else
41300         pkg_failed=untried
41301 fi
41302
41303
41304
41305 if test $pkg_failed = yes; then
41306
41307 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41308         _pkg_short_errors_supported=yes
41309 else
41310         _pkg_short_errors_supported=no
41311 fi
41312         if test $_pkg_short_errors_supported = yes; then
41313                 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "soundtouch-1.0"`
41314         else
41315                 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "soundtouch-1.0"`
41316         fi
41317         # Put the nasty error message in config.log where it belongs
41318         echo "$SOUNDTOUCH_PKG_ERRORS" >&5
41319
41320         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41321 $as_echo "no" >&6; }
41322
41323 pkg_failed=no
41324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUNDTOUCH" >&5
41325 $as_echo_n "checking for SOUNDTOUCH... " >&6; }
41326
41327 if test -n "$PKG_CONFIG"; then
41328     if test -n "$SOUNDTOUCH_CFLAGS"; then
41329         pkg_cv_SOUNDTOUCH_CFLAGS="$SOUNDTOUCH_CFLAGS"
41330     else
41331         if test -n "$PKG_CONFIG" && \
41332     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch >= 1.4\""; } >&5
41333   ($PKG_CONFIG --exists --print-errors "libSoundTouch >= 1.4") 2>&5
41334   ac_status=$?
41335   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
41336   test $ac_status = 0; }; then
41337   pkg_cv_SOUNDTOUCH_CFLAGS=`$PKG_CONFIG --cflags "libSoundTouch >= 1.4" 2>/dev/null`
41338 else
41339   pkg_failed=yes
41340 fi
41341     fi
41342 else
41343         pkg_failed=untried
41344 fi
41345 if test -n "$PKG_CONFIG"; then
41346     if test -n "$SOUNDTOUCH_LIBS"; then
41347         pkg_cv_SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS"
41348     else
41349         if test -n "$PKG_CONFIG" && \
41350     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch >= 1.4\""; } >&5
41351   ($PKG_CONFIG --exists --print-errors "libSoundTouch >= 1.4") 2>&5
41352   ac_status=$?
41353   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
41354   test $ac_status = 0; }; then
41355   pkg_cv_SOUNDTOUCH_LIBS=`$PKG_CONFIG --libs "libSoundTouch >= 1.4" 2>/dev/null`
41356 else
41357   pkg_failed=yes
41358 fi
41359     fi
41360 else
41361         pkg_failed=untried
41362 fi
41363
41364
41365
41366 if test $pkg_failed = yes; then
41367
41368 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41369         _pkg_short_errors_supported=yes
41370 else
41371         _pkg_short_errors_supported=no
41372 fi
41373         if test $_pkg_short_errors_supported = yes; then
41374                 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libSoundTouch >= 1.4"`
41375         else
41376                 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libSoundTouch >= 1.4"`
41377         fi
41378         # Put the nasty error message in config.log where it belongs
41379         echo "$SOUNDTOUCH_PKG_ERRORS" >&5
41380
41381         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41382 $as_echo "no" >&6; }
41383
41384 pkg_failed=no
41385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUNDTOUCH" >&5
41386 $as_echo_n "checking for SOUNDTOUCH... " >&6; }
41387
41388 if test -n "$PKG_CONFIG"; then
41389     if test -n "$SOUNDTOUCH_CFLAGS"; then
41390         pkg_cv_SOUNDTOUCH_CFLAGS="$SOUNDTOUCH_CFLAGS"
41391     else
41392         if test -n "$PKG_CONFIG" && \
41393     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch\""; } >&5
41394   ($PKG_CONFIG --exists --print-errors "libSoundTouch") 2>&5
41395   ac_status=$?
41396   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
41397   test $ac_status = 0; }; then
41398   pkg_cv_SOUNDTOUCH_CFLAGS=`$PKG_CONFIG --cflags "libSoundTouch" 2>/dev/null`
41399 else
41400   pkg_failed=yes
41401 fi
41402     fi
41403 else
41404         pkg_failed=untried
41405 fi
41406 if test -n "$PKG_CONFIG"; then
41407     if test -n "$SOUNDTOUCH_LIBS"; then
41408         pkg_cv_SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS"
41409     else
41410         if test -n "$PKG_CONFIG" && \
41411     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch\""; } >&5
41412   ($PKG_CONFIG --exists --print-errors "libSoundTouch") 2>&5
41413   ac_status=$?
41414   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
41415   test $ac_status = 0; }; then
41416   pkg_cv_SOUNDTOUCH_LIBS=`$PKG_CONFIG --libs "libSoundTouch" 2>/dev/null`
41417 else
41418   pkg_failed=yes
41419 fi
41420     fi
41421 else
41422         pkg_failed=untried
41423 fi
41424
41425
41426
41427 if test $pkg_failed = yes; then
41428
41429 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41430         _pkg_short_errors_supported=yes
41431 else
41432         _pkg_short_errors_supported=no
41433 fi
41434         if test $_pkg_short_errors_supported = yes; then
41435                 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libSoundTouch"`
41436         else
41437                 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libSoundTouch"`
41438         fi
41439         # Put the nasty error message in config.log where it belongs
41440         echo "$SOUNDTOUCH_PKG_ERRORS" >&5
41441
41442         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41443 $as_echo "no" >&6; }
41444                 HAVE_SOUNDTOUCH=no
41445 elif test $pkg_failed = untried; then
41446         HAVE_SOUNDTOUCH=no
41447 else
41448         SOUNDTOUCH_CFLAGS=$pkg_cv_SOUNDTOUCH_CFLAGS
41449         SOUNDTOUCH_LIBS=$pkg_cv_SOUNDTOUCH_LIBS
41450         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41451 $as_echo "yes" >&6; }
41452         HAVE_SOUNDTOUCH=yes
41453               HAVE_SOUNDTOUCH_1_4=no
41454               SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS -lBPM"
41455 fi
41456 elif test $pkg_failed = untried; then
41457
41458 pkg_failed=no
41459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUNDTOUCH" >&5
41460 $as_echo_n "checking for SOUNDTOUCH... " >&6; }
41461
41462 if test -n "$PKG_CONFIG"; then
41463     if test -n "$SOUNDTOUCH_CFLAGS"; then
41464         pkg_cv_SOUNDTOUCH_CFLAGS="$SOUNDTOUCH_CFLAGS"
41465     else
41466         if test -n "$PKG_CONFIG" && \
41467     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch\""; } >&5
41468   ($PKG_CONFIG --exists --print-errors "libSoundTouch") 2>&5
41469   ac_status=$?
41470   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
41471   test $ac_status = 0; }; then
41472   pkg_cv_SOUNDTOUCH_CFLAGS=`$PKG_CONFIG --cflags "libSoundTouch" 2>/dev/null`
41473 else
41474   pkg_failed=yes
41475 fi
41476     fi
41477 else
41478         pkg_failed=untried
41479 fi
41480 if test -n "$PKG_CONFIG"; then
41481     if test -n "$SOUNDTOUCH_LIBS"; then
41482         pkg_cv_SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS"
41483     else
41484         if test -n "$PKG_CONFIG" && \
41485     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch\""; } >&5
41486   ($PKG_CONFIG --exists --print-errors "libSoundTouch") 2>&5
41487   ac_status=$?
41488   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
41489   test $ac_status = 0; }; then
41490   pkg_cv_SOUNDTOUCH_LIBS=`$PKG_CONFIG --libs "libSoundTouch" 2>/dev/null`
41491 else
41492   pkg_failed=yes
41493 fi
41494     fi
41495 else
41496         pkg_failed=untried
41497 fi
41498
41499
41500
41501 if test $pkg_failed = yes; then
41502
41503 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41504         _pkg_short_errors_supported=yes
41505 else
41506         _pkg_short_errors_supported=no
41507 fi
41508         if test $_pkg_short_errors_supported = yes; then
41509                 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libSoundTouch"`
41510         else
41511                 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libSoundTouch"`
41512         fi
41513         # Put the nasty error message in config.log where it belongs
41514         echo "$SOUNDTOUCH_PKG_ERRORS" >&5
41515
41516         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41517 $as_echo "no" >&6; }
41518                 HAVE_SOUNDTOUCH=no
41519 elif test $pkg_failed = untried; then
41520         HAVE_SOUNDTOUCH=no
41521 else
41522         SOUNDTOUCH_CFLAGS=$pkg_cv_SOUNDTOUCH_CFLAGS
41523         SOUNDTOUCH_LIBS=$pkg_cv_SOUNDTOUCH_LIBS
41524         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41525 $as_echo "yes" >&6; }
41526         HAVE_SOUNDTOUCH=yes
41527               HAVE_SOUNDTOUCH_1_4=no
41528               SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS -lBPM"
41529 fi
41530 else
41531         SOUNDTOUCH_CFLAGS=$pkg_cv_SOUNDTOUCH_CFLAGS
41532         SOUNDTOUCH_LIBS=$pkg_cv_SOUNDTOUCH_LIBS
41533         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41534 $as_echo "yes" >&6; }
41535         HAVE_SOUNDTOUCH=yes
41536 fi
41537 elif test $pkg_failed = untried; then
41538
41539 pkg_failed=no
41540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUNDTOUCH" >&5
41541 $as_echo_n "checking for SOUNDTOUCH... " >&6; }
41542
41543 if test -n "$PKG_CONFIG"; then
41544     if test -n "$SOUNDTOUCH_CFLAGS"; then
41545         pkg_cv_SOUNDTOUCH_CFLAGS="$SOUNDTOUCH_CFLAGS"
41546     else
41547         if test -n "$PKG_CONFIG" && \
41548     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch >= 1.4\""; } >&5
41549   ($PKG_CONFIG --exists --print-errors "libSoundTouch >= 1.4") 2>&5
41550   ac_status=$?
41551   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
41552   test $ac_status = 0; }; then
41553   pkg_cv_SOUNDTOUCH_CFLAGS=`$PKG_CONFIG --cflags "libSoundTouch >= 1.4" 2>/dev/null`
41554 else
41555   pkg_failed=yes
41556 fi
41557     fi
41558 else
41559         pkg_failed=untried
41560 fi
41561 if test -n "$PKG_CONFIG"; then
41562     if test -n "$SOUNDTOUCH_LIBS"; then
41563         pkg_cv_SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS"
41564     else
41565         if test -n "$PKG_CONFIG" && \
41566     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch >= 1.4\""; } >&5
41567   ($PKG_CONFIG --exists --print-errors "libSoundTouch >= 1.4") 2>&5
41568   ac_status=$?
41569   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
41570   test $ac_status = 0; }; then
41571   pkg_cv_SOUNDTOUCH_LIBS=`$PKG_CONFIG --libs "libSoundTouch >= 1.4" 2>/dev/null`
41572 else
41573   pkg_failed=yes
41574 fi
41575     fi
41576 else
41577         pkg_failed=untried
41578 fi
41579
41580
41581
41582 if test $pkg_failed = yes; then
41583
41584 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41585         _pkg_short_errors_supported=yes
41586 else
41587         _pkg_short_errors_supported=no
41588 fi
41589         if test $_pkg_short_errors_supported = yes; then
41590                 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libSoundTouch >= 1.4"`
41591         else
41592                 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libSoundTouch >= 1.4"`
41593         fi
41594         # Put the nasty error message in config.log where it belongs
41595         echo "$SOUNDTOUCH_PKG_ERRORS" >&5
41596
41597         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41598 $as_echo "no" >&6; }
41599
41600 pkg_failed=no
41601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUNDTOUCH" >&5
41602 $as_echo_n "checking for SOUNDTOUCH... " >&6; }
41603
41604 if test -n "$PKG_CONFIG"; then
41605     if test -n "$SOUNDTOUCH_CFLAGS"; then
41606         pkg_cv_SOUNDTOUCH_CFLAGS="$SOUNDTOUCH_CFLAGS"
41607     else
41608         if test -n "$PKG_CONFIG" && \
41609     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch\""; } >&5
41610   ($PKG_CONFIG --exists --print-errors "libSoundTouch") 2>&5
41611   ac_status=$?
41612   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
41613   test $ac_status = 0; }; then
41614   pkg_cv_SOUNDTOUCH_CFLAGS=`$PKG_CONFIG --cflags "libSoundTouch" 2>/dev/null`
41615 else
41616   pkg_failed=yes
41617 fi
41618     fi
41619 else
41620         pkg_failed=untried
41621 fi
41622 if test -n "$PKG_CONFIG"; then
41623     if test -n "$SOUNDTOUCH_LIBS"; then
41624         pkg_cv_SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS"
41625     else
41626         if test -n "$PKG_CONFIG" && \
41627     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch\""; } >&5
41628   ($PKG_CONFIG --exists --print-errors "libSoundTouch") 2>&5
41629   ac_status=$?
41630   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
41631   test $ac_status = 0; }; then
41632   pkg_cv_SOUNDTOUCH_LIBS=`$PKG_CONFIG --libs "libSoundTouch" 2>/dev/null`
41633 else
41634   pkg_failed=yes
41635 fi
41636     fi
41637 else
41638         pkg_failed=untried
41639 fi
41640
41641
41642
41643 if test $pkg_failed = yes; then
41644
41645 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41646         _pkg_short_errors_supported=yes
41647 else
41648         _pkg_short_errors_supported=no
41649 fi
41650         if test $_pkg_short_errors_supported = yes; then
41651                 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libSoundTouch"`
41652         else
41653                 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libSoundTouch"`
41654         fi
41655         # Put the nasty error message in config.log where it belongs
41656         echo "$SOUNDTOUCH_PKG_ERRORS" >&5
41657
41658         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41659 $as_echo "no" >&6; }
41660                 HAVE_SOUNDTOUCH=no
41661 elif test $pkg_failed = untried; then
41662         HAVE_SOUNDTOUCH=no
41663 else
41664         SOUNDTOUCH_CFLAGS=$pkg_cv_SOUNDTOUCH_CFLAGS
41665         SOUNDTOUCH_LIBS=$pkg_cv_SOUNDTOUCH_LIBS
41666         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41667 $as_echo "yes" >&6; }
41668         HAVE_SOUNDTOUCH=yes
41669               HAVE_SOUNDTOUCH_1_4=no
41670               SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS -lBPM"
41671 fi
41672 elif test $pkg_failed = untried; then
41673
41674 pkg_failed=no
41675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUNDTOUCH" >&5
41676 $as_echo_n "checking for SOUNDTOUCH... " >&6; }
41677
41678 if test -n "$PKG_CONFIG"; then
41679     if test -n "$SOUNDTOUCH_CFLAGS"; then
41680         pkg_cv_SOUNDTOUCH_CFLAGS="$SOUNDTOUCH_CFLAGS"
41681     else
41682         if test -n "$PKG_CONFIG" && \
41683     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch\""; } >&5
41684   ($PKG_CONFIG --exists --print-errors "libSoundTouch") 2>&5
41685   ac_status=$?
41686   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
41687   test $ac_status = 0; }; then
41688   pkg_cv_SOUNDTOUCH_CFLAGS=`$PKG_CONFIG --cflags "libSoundTouch" 2>/dev/null`
41689 else
41690   pkg_failed=yes
41691 fi
41692     fi
41693 else
41694         pkg_failed=untried
41695 fi
41696 if test -n "$PKG_CONFIG"; then
41697     if test -n "$SOUNDTOUCH_LIBS"; then
41698         pkg_cv_SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS"
41699     else
41700         if test -n "$PKG_CONFIG" && \
41701     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch\""; } >&5
41702   ($PKG_CONFIG --exists --print-errors "libSoundTouch") 2>&5
41703   ac_status=$?
41704   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
41705   test $ac_status = 0; }; then
41706   pkg_cv_SOUNDTOUCH_LIBS=`$PKG_CONFIG --libs "libSoundTouch" 2>/dev/null`
41707 else
41708   pkg_failed=yes
41709 fi
41710     fi
41711 else
41712         pkg_failed=untried
41713 fi
41714
41715
41716
41717 if test $pkg_failed = yes; then
41718
41719 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41720         _pkg_short_errors_supported=yes
41721 else
41722         _pkg_short_errors_supported=no
41723 fi
41724         if test $_pkg_short_errors_supported = yes; then
41725                 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libSoundTouch"`
41726         else
41727                 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libSoundTouch"`
41728         fi
41729         # Put the nasty error message in config.log where it belongs
41730         echo "$SOUNDTOUCH_PKG_ERRORS" >&5
41731
41732         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41733 $as_echo "no" >&6; }
41734                 HAVE_SOUNDTOUCH=no
41735 elif test $pkg_failed = untried; then
41736         HAVE_SOUNDTOUCH=no
41737 else
41738         SOUNDTOUCH_CFLAGS=$pkg_cv_SOUNDTOUCH_CFLAGS
41739         SOUNDTOUCH_LIBS=$pkg_cv_SOUNDTOUCH_LIBS
41740         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41741 $as_echo "yes" >&6; }
41742         HAVE_SOUNDTOUCH=yes
41743               HAVE_SOUNDTOUCH_1_4=no
41744               SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS -lBPM"
41745 fi
41746 else
41747         SOUNDTOUCH_CFLAGS=$pkg_cv_SOUNDTOUCH_CFLAGS
41748         SOUNDTOUCH_LIBS=$pkg_cv_SOUNDTOUCH_LIBS
41749         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41750 $as_echo "yes" >&6; }
41751         HAVE_SOUNDTOUCH=yes
41752 fi
41753 else
41754         SOUNDTOUCH_CFLAGS=$pkg_cv_SOUNDTOUCH_CFLAGS
41755         SOUNDTOUCH_LIBS=$pkg_cv_SOUNDTOUCH_LIBS
41756         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41757 $as_echo "yes" >&6; }
41758         HAVE_SOUNDTOUCH=yes
41759           HAVE_SOUNDTOUCH_1_4=no
41760           SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS -lBPM"
41761 fi
41762 else
41763         SOUNDTOUCH_CFLAGS=$pkg_cv_SOUNDTOUCH_CFLAGS
41764         SOUNDTOUCH_LIBS=$pkg_cv_SOUNDTOUCH_LIBS
41765         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41766 $as_echo "yes" >&6; }
41767         HAVE_SOUNDTOUCH=yes
41768 fi
41769 elif test $pkg_failed = untried; then
41770
41771 pkg_failed=no
41772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUNDTOUCH" >&5
41773 $as_echo_n "checking for SOUNDTOUCH... " >&6; }
41774
41775 if test -n "$PKG_CONFIG"; then
41776     if test -n "$SOUNDTOUCH_CFLAGS"; then
41777         pkg_cv_SOUNDTOUCH_CFLAGS="$SOUNDTOUCH_CFLAGS"
41778     else
41779         if test -n "$PKG_CONFIG" && \
41780     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"soundtouch-1.4\""; } >&5
41781   ($PKG_CONFIG --exists --print-errors "soundtouch-1.4") 2>&5
41782   ac_status=$?
41783   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
41784   test $ac_status = 0; }; then
41785   pkg_cv_SOUNDTOUCH_CFLAGS=`$PKG_CONFIG --cflags "soundtouch-1.4" 2>/dev/null`
41786 else
41787   pkg_failed=yes
41788 fi
41789     fi
41790 else
41791         pkg_failed=untried
41792 fi
41793 if test -n "$PKG_CONFIG"; then
41794     if test -n "$SOUNDTOUCH_LIBS"; then
41795         pkg_cv_SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS"
41796     else
41797         if test -n "$PKG_CONFIG" && \
41798     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"soundtouch-1.4\""; } >&5
41799   ($PKG_CONFIG --exists --print-errors "soundtouch-1.4") 2>&5
41800   ac_status=$?
41801   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
41802   test $ac_status = 0; }; then
41803   pkg_cv_SOUNDTOUCH_LIBS=`$PKG_CONFIG --libs "soundtouch-1.4" 2>/dev/null`
41804 else
41805   pkg_failed=yes
41806 fi
41807     fi
41808 else
41809         pkg_failed=untried
41810 fi
41811
41812
41813
41814 if test $pkg_failed = yes; then
41815
41816 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41817         _pkg_short_errors_supported=yes
41818 else
41819         _pkg_short_errors_supported=no
41820 fi
41821         if test $_pkg_short_errors_supported = yes; then
41822                 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "soundtouch-1.4"`
41823         else
41824                 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "soundtouch-1.4"`
41825         fi
41826         # Put the nasty error message in config.log where it belongs
41827         echo "$SOUNDTOUCH_PKG_ERRORS" >&5
41828
41829         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41830 $as_echo "no" >&6; }
41831
41832 pkg_failed=no
41833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUNDTOUCH" >&5
41834 $as_echo_n "checking for SOUNDTOUCH... " >&6; }
41835
41836 if test -n "$PKG_CONFIG"; then
41837     if test -n "$SOUNDTOUCH_CFLAGS"; then
41838         pkg_cv_SOUNDTOUCH_CFLAGS="$SOUNDTOUCH_CFLAGS"
41839     else
41840         if test -n "$PKG_CONFIG" && \
41841     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"soundtouch-1.0\""; } >&5
41842   ($PKG_CONFIG --exists --print-errors "soundtouch-1.0") 2>&5
41843   ac_status=$?
41844   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
41845   test $ac_status = 0; }; then
41846   pkg_cv_SOUNDTOUCH_CFLAGS=`$PKG_CONFIG --cflags "soundtouch-1.0" 2>/dev/null`
41847 else
41848   pkg_failed=yes
41849 fi
41850     fi
41851 else
41852         pkg_failed=untried
41853 fi
41854 if test -n "$PKG_CONFIG"; then
41855     if test -n "$SOUNDTOUCH_LIBS"; then
41856         pkg_cv_SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS"
41857     else
41858         if test -n "$PKG_CONFIG" && \
41859     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"soundtouch-1.0\""; } >&5
41860   ($PKG_CONFIG --exists --print-errors "soundtouch-1.0") 2>&5
41861   ac_status=$?
41862   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
41863   test $ac_status = 0; }; then
41864   pkg_cv_SOUNDTOUCH_LIBS=`$PKG_CONFIG --libs "soundtouch-1.0" 2>/dev/null`
41865 else
41866   pkg_failed=yes
41867 fi
41868     fi
41869 else
41870         pkg_failed=untried
41871 fi
41872
41873
41874
41875 if test $pkg_failed = yes; then
41876
41877 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41878         _pkg_short_errors_supported=yes
41879 else
41880         _pkg_short_errors_supported=no
41881 fi
41882         if test $_pkg_short_errors_supported = yes; then
41883                 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "soundtouch-1.0"`
41884         else
41885                 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "soundtouch-1.0"`
41886         fi
41887         # Put the nasty error message in config.log where it belongs
41888         echo "$SOUNDTOUCH_PKG_ERRORS" >&5
41889
41890         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41891 $as_echo "no" >&6; }
41892
41893 pkg_failed=no
41894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUNDTOUCH" >&5
41895 $as_echo_n "checking for SOUNDTOUCH... " >&6; }
41896
41897 if test -n "$PKG_CONFIG"; then
41898     if test -n "$SOUNDTOUCH_CFLAGS"; then
41899         pkg_cv_SOUNDTOUCH_CFLAGS="$SOUNDTOUCH_CFLAGS"
41900     else
41901         if test -n "$PKG_CONFIG" && \
41902     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch >= 1.4\""; } >&5
41903   ($PKG_CONFIG --exists --print-errors "libSoundTouch >= 1.4") 2>&5
41904   ac_status=$?
41905   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
41906   test $ac_status = 0; }; then
41907   pkg_cv_SOUNDTOUCH_CFLAGS=`$PKG_CONFIG --cflags "libSoundTouch >= 1.4" 2>/dev/null`
41908 else
41909   pkg_failed=yes
41910 fi
41911     fi
41912 else
41913         pkg_failed=untried
41914 fi
41915 if test -n "$PKG_CONFIG"; then
41916     if test -n "$SOUNDTOUCH_LIBS"; then
41917         pkg_cv_SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS"
41918     else
41919         if test -n "$PKG_CONFIG" && \
41920     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch >= 1.4\""; } >&5
41921   ($PKG_CONFIG --exists --print-errors "libSoundTouch >= 1.4") 2>&5
41922   ac_status=$?
41923   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
41924   test $ac_status = 0; }; then
41925   pkg_cv_SOUNDTOUCH_LIBS=`$PKG_CONFIG --libs "libSoundTouch >= 1.4" 2>/dev/null`
41926 else
41927   pkg_failed=yes
41928 fi
41929     fi
41930 else
41931         pkg_failed=untried
41932 fi
41933
41934
41935
41936 if test $pkg_failed = yes; then
41937
41938 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41939         _pkg_short_errors_supported=yes
41940 else
41941         _pkg_short_errors_supported=no
41942 fi
41943         if test $_pkg_short_errors_supported = yes; then
41944                 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libSoundTouch >= 1.4"`
41945         else
41946                 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libSoundTouch >= 1.4"`
41947         fi
41948         # Put the nasty error message in config.log where it belongs
41949         echo "$SOUNDTOUCH_PKG_ERRORS" >&5
41950
41951         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41952 $as_echo "no" >&6; }
41953
41954 pkg_failed=no
41955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUNDTOUCH" >&5
41956 $as_echo_n "checking for SOUNDTOUCH... " >&6; }
41957
41958 if test -n "$PKG_CONFIG"; then
41959     if test -n "$SOUNDTOUCH_CFLAGS"; then
41960         pkg_cv_SOUNDTOUCH_CFLAGS="$SOUNDTOUCH_CFLAGS"
41961     else
41962         if test -n "$PKG_CONFIG" && \
41963     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch\""; } >&5
41964   ($PKG_CONFIG --exists --print-errors "libSoundTouch") 2>&5
41965   ac_status=$?
41966   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
41967   test $ac_status = 0; }; then
41968   pkg_cv_SOUNDTOUCH_CFLAGS=`$PKG_CONFIG --cflags "libSoundTouch" 2>/dev/null`
41969 else
41970   pkg_failed=yes
41971 fi
41972     fi
41973 else
41974         pkg_failed=untried
41975 fi
41976 if test -n "$PKG_CONFIG"; then
41977     if test -n "$SOUNDTOUCH_LIBS"; then
41978         pkg_cv_SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS"
41979     else
41980         if test -n "$PKG_CONFIG" && \
41981     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch\""; } >&5
41982   ($PKG_CONFIG --exists --print-errors "libSoundTouch") 2>&5
41983   ac_status=$?
41984   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
41985   test $ac_status = 0; }; then
41986   pkg_cv_SOUNDTOUCH_LIBS=`$PKG_CONFIG --libs "libSoundTouch" 2>/dev/null`
41987 else
41988   pkg_failed=yes
41989 fi
41990     fi
41991 else
41992         pkg_failed=untried
41993 fi
41994
41995
41996
41997 if test $pkg_failed = yes; then
41998
41999 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42000         _pkg_short_errors_supported=yes
42001 else
42002         _pkg_short_errors_supported=no
42003 fi
42004         if test $_pkg_short_errors_supported = yes; then
42005                 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libSoundTouch"`
42006         else
42007                 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libSoundTouch"`
42008         fi
42009         # Put the nasty error message in config.log where it belongs
42010         echo "$SOUNDTOUCH_PKG_ERRORS" >&5
42011
42012         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
42013 $as_echo "no" >&6; }
42014                 HAVE_SOUNDTOUCH=no
42015 elif test $pkg_failed = untried; then
42016         HAVE_SOUNDTOUCH=no
42017 else
42018         SOUNDTOUCH_CFLAGS=$pkg_cv_SOUNDTOUCH_CFLAGS
42019         SOUNDTOUCH_LIBS=$pkg_cv_SOUNDTOUCH_LIBS
42020         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42021 $as_echo "yes" >&6; }
42022         HAVE_SOUNDTOUCH=yes
42023               HAVE_SOUNDTOUCH_1_4=no
42024               SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS -lBPM"
42025 fi
42026 elif test $pkg_failed = untried; then
42027
42028 pkg_failed=no
42029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUNDTOUCH" >&5
42030 $as_echo_n "checking for SOUNDTOUCH... " >&6; }
42031
42032 if test -n "$PKG_CONFIG"; then
42033     if test -n "$SOUNDTOUCH_CFLAGS"; then
42034         pkg_cv_SOUNDTOUCH_CFLAGS="$SOUNDTOUCH_CFLAGS"
42035     else
42036         if test -n "$PKG_CONFIG" && \
42037     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch\""; } >&5
42038   ($PKG_CONFIG --exists --print-errors "libSoundTouch") 2>&5
42039   ac_status=$?
42040   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
42041   test $ac_status = 0; }; then
42042   pkg_cv_SOUNDTOUCH_CFLAGS=`$PKG_CONFIG --cflags "libSoundTouch" 2>/dev/null`
42043 else
42044   pkg_failed=yes
42045 fi
42046     fi
42047 else
42048         pkg_failed=untried
42049 fi
42050 if test -n "$PKG_CONFIG"; then
42051     if test -n "$SOUNDTOUCH_LIBS"; then
42052         pkg_cv_SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS"
42053     else
42054         if test -n "$PKG_CONFIG" && \
42055     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch\""; } >&5
42056   ($PKG_CONFIG --exists --print-errors "libSoundTouch") 2>&5
42057   ac_status=$?
42058   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
42059   test $ac_status = 0; }; then
42060   pkg_cv_SOUNDTOUCH_LIBS=`$PKG_CONFIG --libs "libSoundTouch" 2>/dev/null`
42061 else
42062   pkg_failed=yes
42063 fi
42064     fi
42065 else
42066         pkg_failed=untried
42067 fi
42068
42069
42070
42071 if test $pkg_failed = yes; then
42072
42073 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42074         _pkg_short_errors_supported=yes
42075 else
42076         _pkg_short_errors_supported=no
42077 fi
42078         if test $_pkg_short_errors_supported = yes; then
42079                 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libSoundTouch"`
42080         else
42081                 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libSoundTouch"`
42082         fi
42083         # Put the nasty error message in config.log where it belongs
42084         echo "$SOUNDTOUCH_PKG_ERRORS" >&5
42085
42086         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
42087 $as_echo "no" >&6; }
42088                 HAVE_SOUNDTOUCH=no
42089 elif test $pkg_failed = untried; then
42090         HAVE_SOUNDTOUCH=no
42091 else
42092         SOUNDTOUCH_CFLAGS=$pkg_cv_SOUNDTOUCH_CFLAGS
42093         SOUNDTOUCH_LIBS=$pkg_cv_SOUNDTOUCH_LIBS
42094         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42095 $as_echo "yes" >&6; }
42096         HAVE_SOUNDTOUCH=yes
42097               HAVE_SOUNDTOUCH_1_4=no
42098               SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS -lBPM"
42099 fi
42100 else
42101         SOUNDTOUCH_CFLAGS=$pkg_cv_SOUNDTOUCH_CFLAGS
42102         SOUNDTOUCH_LIBS=$pkg_cv_SOUNDTOUCH_LIBS
42103         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42104 $as_echo "yes" >&6; }
42105         HAVE_SOUNDTOUCH=yes
42106 fi
42107 elif test $pkg_failed = untried; then
42108
42109 pkg_failed=no
42110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUNDTOUCH" >&5
42111 $as_echo_n "checking for SOUNDTOUCH... " >&6; }
42112
42113 if test -n "$PKG_CONFIG"; then
42114     if test -n "$SOUNDTOUCH_CFLAGS"; then
42115         pkg_cv_SOUNDTOUCH_CFLAGS="$SOUNDTOUCH_CFLAGS"
42116     else
42117         if test -n "$PKG_CONFIG" && \
42118     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch >= 1.4\""; } >&5
42119   ($PKG_CONFIG --exists --print-errors "libSoundTouch >= 1.4") 2>&5
42120   ac_status=$?
42121   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
42122   test $ac_status = 0; }; then
42123   pkg_cv_SOUNDTOUCH_CFLAGS=`$PKG_CONFIG --cflags "libSoundTouch >= 1.4" 2>/dev/null`
42124 else
42125   pkg_failed=yes
42126 fi
42127     fi
42128 else
42129         pkg_failed=untried
42130 fi
42131 if test -n "$PKG_CONFIG"; then
42132     if test -n "$SOUNDTOUCH_LIBS"; then
42133         pkg_cv_SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS"
42134     else
42135         if test -n "$PKG_CONFIG" && \
42136     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch >= 1.4\""; } >&5
42137   ($PKG_CONFIG --exists --print-errors "libSoundTouch >= 1.4") 2>&5
42138   ac_status=$?
42139   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
42140   test $ac_status = 0; }; then
42141   pkg_cv_SOUNDTOUCH_LIBS=`$PKG_CONFIG --libs "libSoundTouch >= 1.4" 2>/dev/null`
42142 else
42143   pkg_failed=yes
42144 fi
42145     fi
42146 else
42147         pkg_failed=untried
42148 fi
42149
42150
42151
42152 if test $pkg_failed = yes; then
42153
42154 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42155         _pkg_short_errors_supported=yes
42156 else
42157         _pkg_short_errors_supported=no
42158 fi
42159         if test $_pkg_short_errors_supported = yes; then
42160                 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libSoundTouch >= 1.4"`
42161         else
42162                 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libSoundTouch >= 1.4"`
42163         fi
42164         # Put the nasty error message in config.log where it belongs
42165         echo "$SOUNDTOUCH_PKG_ERRORS" >&5
42166
42167         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
42168 $as_echo "no" >&6; }
42169
42170 pkg_failed=no
42171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUNDTOUCH" >&5
42172 $as_echo_n "checking for SOUNDTOUCH... " >&6; }
42173
42174 if test -n "$PKG_CONFIG"; then
42175     if test -n "$SOUNDTOUCH_CFLAGS"; then
42176         pkg_cv_SOUNDTOUCH_CFLAGS="$SOUNDTOUCH_CFLAGS"
42177     else
42178         if test -n "$PKG_CONFIG" && \
42179     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch\""; } >&5
42180   ($PKG_CONFIG --exists --print-errors "libSoundTouch") 2>&5
42181   ac_status=$?
42182   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
42183   test $ac_status = 0; }; then
42184   pkg_cv_SOUNDTOUCH_CFLAGS=`$PKG_CONFIG --cflags "libSoundTouch" 2>/dev/null`
42185 else
42186   pkg_failed=yes
42187 fi
42188     fi
42189 else
42190         pkg_failed=untried
42191 fi
42192 if test -n "$PKG_CONFIG"; then
42193     if test -n "$SOUNDTOUCH_LIBS"; then
42194         pkg_cv_SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS"
42195     else
42196         if test -n "$PKG_CONFIG" && \
42197     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch\""; } >&5
42198   ($PKG_CONFIG --exists --print-errors "libSoundTouch") 2>&5
42199   ac_status=$?
42200   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
42201   test $ac_status = 0; }; then
42202   pkg_cv_SOUNDTOUCH_LIBS=`$PKG_CONFIG --libs "libSoundTouch" 2>/dev/null`
42203 else
42204   pkg_failed=yes
42205 fi
42206     fi
42207 else
42208         pkg_failed=untried
42209 fi
42210
42211
42212
42213 if test $pkg_failed = yes; then
42214
42215 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42216         _pkg_short_errors_supported=yes
42217 else
42218         _pkg_short_errors_supported=no
42219 fi
42220         if test $_pkg_short_errors_supported = yes; then
42221                 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libSoundTouch"`
42222         else
42223                 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libSoundTouch"`
42224         fi
42225         # Put the nasty error message in config.log where it belongs
42226         echo "$SOUNDTOUCH_PKG_ERRORS" >&5
42227
42228         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
42229 $as_echo "no" >&6; }
42230                 HAVE_SOUNDTOUCH=no
42231 elif test $pkg_failed = untried; then
42232         HAVE_SOUNDTOUCH=no
42233 else
42234         SOUNDTOUCH_CFLAGS=$pkg_cv_SOUNDTOUCH_CFLAGS
42235         SOUNDTOUCH_LIBS=$pkg_cv_SOUNDTOUCH_LIBS
42236         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42237 $as_echo "yes" >&6; }
42238         HAVE_SOUNDTOUCH=yes
42239               HAVE_SOUNDTOUCH_1_4=no
42240               SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS -lBPM"
42241 fi
42242 elif test $pkg_failed = untried; then
42243
42244 pkg_failed=no
42245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUNDTOUCH" >&5
42246 $as_echo_n "checking for SOUNDTOUCH... " >&6; }
42247
42248 if test -n "$PKG_CONFIG"; then
42249     if test -n "$SOUNDTOUCH_CFLAGS"; then
42250         pkg_cv_SOUNDTOUCH_CFLAGS="$SOUNDTOUCH_CFLAGS"
42251     else
42252         if test -n "$PKG_CONFIG" && \
42253     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch\""; } >&5
42254   ($PKG_CONFIG --exists --print-errors "libSoundTouch") 2>&5
42255   ac_status=$?
42256   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
42257   test $ac_status = 0; }; then
42258   pkg_cv_SOUNDTOUCH_CFLAGS=`$PKG_CONFIG --cflags "libSoundTouch" 2>/dev/null`
42259 else
42260   pkg_failed=yes
42261 fi
42262     fi
42263 else
42264         pkg_failed=untried
42265 fi
42266 if test -n "$PKG_CONFIG"; then
42267     if test -n "$SOUNDTOUCH_LIBS"; then
42268         pkg_cv_SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS"
42269     else
42270         if test -n "$PKG_CONFIG" && \
42271     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch\""; } >&5
42272   ($PKG_CONFIG --exists --print-errors "libSoundTouch") 2>&5
42273   ac_status=$?
42274   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
42275   test $ac_status = 0; }; then
42276   pkg_cv_SOUNDTOUCH_LIBS=`$PKG_CONFIG --libs "libSoundTouch" 2>/dev/null`
42277 else
42278   pkg_failed=yes
42279 fi
42280     fi
42281 else
42282         pkg_failed=untried
42283 fi
42284
42285
42286
42287 if test $pkg_failed = yes; then
42288
42289 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42290         _pkg_short_errors_supported=yes
42291 else
42292         _pkg_short_errors_supported=no
42293 fi
42294         if test $_pkg_short_errors_supported = yes; then
42295                 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libSoundTouch"`
42296         else
42297                 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libSoundTouch"`
42298         fi
42299         # Put the nasty error message in config.log where it belongs
42300         echo "$SOUNDTOUCH_PKG_ERRORS" >&5
42301
42302         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
42303 $as_echo "no" >&6; }
42304                 HAVE_SOUNDTOUCH=no
42305 elif test $pkg_failed = untried; then
42306         HAVE_SOUNDTOUCH=no
42307 else
42308         SOUNDTOUCH_CFLAGS=$pkg_cv_SOUNDTOUCH_CFLAGS
42309         SOUNDTOUCH_LIBS=$pkg_cv_SOUNDTOUCH_LIBS
42310         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42311 $as_echo "yes" >&6; }
42312         HAVE_SOUNDTOUCH=yes
42313               HAVE_SOUNDTOUCH_1_4=no
42314               SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS -lBPM"
42315 fi
42316 else
42317         SOUNDTOUCH_CFLAGS=$pkg_cv_SOUNDTOUCH_CFLAGS
42318         SOUNDTOUCH_LIBS=$pkg_cv_SOUNDTOUCH_LIBS
42319         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42320 $as_echo "yes" >&6; }
42321         HAVE_SOUNDTOUCH=yes
42322 fi
42323 else
42324         SOUNDTOUCH_CFLAGS=$pkg_cv_SOUNDTOUCH_CFLAGS
42325         SOUNDTOUCH_LIBS=$pkg_cv_SOUNDTOUCH_LIBS
42326         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42327 $as_echo "yes" >&6; }
42328         HAVE_SOUNDTOUCH=yes
42329           HAVE_SOUNDTOUCH_1_4=no
42330           SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS -lBPM"
42331 fi
42332 elif test $pkg_failed = untried; then
42333
42334 pkg_failed=no
42335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUNDTOUCH" >&5
42336 $as_echo_n "checking for SOUNDTOUCH... " >&6; }
42337
42338 if test -n "$PKG_CONFIG"; then
42339     if test -n "$SOUNDTOUCH_CFLAGS"; then
42340         pkg_cv_SOUNDTOUCH_CFLAGS="$SOUNDTOUCH_CFLAGS"
42341     else
42342         if test -n "$PKG_CONFIG" && \
42343     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"soundtouch-1.0\""; } >&5
42344   ($PKG_CONFIG --exists --print-errors "soundtouch-1.0") 2>&5
42345   ac_status=$?
42346   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
42347   test $ac_status = 0; }; then
42348   pkg_cv_SOUNDTOUCH_CFLAGS=`$PKG_CONFIG --cflags "soundtouch-1.0" 2>/dev/null`
42349 else
42350   pkg_failed=yes
42351 fi
42352     fi
42353 else
42354         pkg_failed=untried
42355 fi
42356 if test -n "$PKG_CONFIG"; then
42357     if test -n "$SOUNDTOUCH_LIBS"; then
42358         pkg_cv_SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS"
42359     else
42360         if test -n "$PKG_CONFIG" && \
42361     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"soundtouch-1.0\""; } >&5
42362   ($PKG_CONFIG --exists --print-errors "soundtouch-1.0") 2>&5
42363   ac_status=$?
42364   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
42365   test $ac_status = 0; }; then
42366   pkg_cv_SOUNDTOUCH_LIBS=`$PKG_CONFIG --libs "soundtouch-1.0" 2>/dev/null`
42367 else
42368   pkg_failed=yes
42369 fi
42370     fi
42371 else
42372         pkg_failed=untried
42373 fi
42374
42375
42376
42377 if test $pkg_failed = yes; then
42378
42379 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42380         _pkg_short_errors_supported=yes
42381 else
42382         _pkg_short_errors_supported=no
42383 fi
42384         if test $_pkg_short_errors_supported = yes; then
42385                 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "soundtouch-1.0"`
42386         else
42387                 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "soundtouch-1.0"`
42388         fi
42389         # Put the nasty error message in config.log where it belongs
42390         echo "$SOUNDTOUCH_PKG_ERRORS" >&5
42391
42392         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
42393 $as_echo "no" >&6; }
42394
42395 pkg_failed=no
42396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUNDTOUCH" >&5
42397 $as_echo_n "checking for SOUNDTOUCH... " >&6; }
42398
42399 if test -n "$PKG_CONFIG"; then
42400     if test -n "$SOUNDTOUCH_CFLAGS"; then
42401         pkg_cv_SOUNDTOUCH_CFLAGS="$SOUNDTOUCH_CFLAGS"
42402     else
42403         if test -n "$PKG_CONFIG" && \
42404     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch >= 1.4\""; } >&5
42405   ($PKG_CONFIG --exists --print-errors "libSoundTouch >= 1.4") 2>&5
42406   ac_status=$?
42407   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
42408   test $ac_status = 0; }; then
42409   pkg_cv_SOUNDTOUCH_CFLAGS=`$PKG_CONFIG --cflags "libSoundTouch >= 1.4" 2>/dev/null`
42410 else
42411   pkg_failed=yes
42412 fi
42413     fi
42414 else
42415         pkg_failed=untried
42416 fi
42417 if test -n "$PKG_CONFIG"; then
42418     if test -n "$SOUNDTOUCH_LIBS"; then
42419         pkg_cv_SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS"
42420     else
42421         if test -n "$PKG_CONFIG" && \
42422     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch >= 1.4\""; } >&5
42423   ($PKG_CONFIG --exists --print-errors "libSoundTouch >= 1.4") 2>&5
42424   ac_status=$?
42425   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
42426   test $ac_status = 0; }; then
42427   pkg_cv_SOUNDTOUCH_LIBS=`$PKG_CONFIG --libs "libSoundTouch >= 1.4" 2>/dev/null`
42428 else
42429   pkg_failed=yes
42430 fi
42431     fi
42432 else
42433         pkg_failed=untried
42434 fi
42435
42436
42437
42438 if test $pkg_failed = yes; then
42439
42440 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42441         _pkg_short_errors_supported=yes
42442 else
42443         _pkg_short_errors_supported=no
42444 fi
42445         if test $_pkg_short_errors_supported = yes; then
42446                 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libSoundTouch >= 1.4"`
42447         else
42448                 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libSoundTouch >= 1.4"`
42449         fi
42450         # Put the nasty error message in config.log where it belongs
42451         echo "$SOUNDTOUCH_PKG_ERRORS" >&5
42452
42453         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
42454 $as_echo "no" >&6; }
42455
42456 pkg_failed=no
42457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUNDTOUCH" >&5
42458 $as_echo_n "checking for SOUNDTOUCH... " >&6; }
42459
42460 if test -n "$PKG_CONFIG"; then
42461     if test -n "$SOUNDTOUCH_CFLAGS"; then
42462         pkg_cv_SOUNDTOUCH_CFLAGS="$SOUNDTOUCH_CFLAGS"
42463     else
42464         if test -n "$PKG_CONFIG" && \
42465     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch\""; } >&5
42466   ($PKG_CONFIG --exists --print-errors "libSoundTouch") 2>&5
42467   ac_status=$?
42468   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
42469   test $ac_status = 0; }; then
42470   pkg_cv_SOUNDTOUCH_CFLAGS=`$PKG_CONFIG --cflags "libSoundTouch" 2>/dev/null`
42471 else
42472   pkg_failed=yes
42473 fi
42474     fi
42475 else
42476         pkg_failed=untried
42477 fi
42478 if test -n "$PKG_CONFIG"; then
42479     if test -n "$SOUNDTOUCH_LIBS"; then
42480         pkg_cv_SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS"
42481     else
42482         if test -n "$PKG_CONFIG" && \
42483     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch\""; } >&5
42484   ($PKG_CONFIG --exists --print-errors "libSoundTouch") 2>&5
42485   ac_status=$?
42486   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
42487   test $ac_status = 0; }; then
42488   pkg_cv_SOUNDTOUCH_LIBS=`$PKG_CONFIG --libs "libSoundTouch" 2>/dev/null`
42489 else
42490   pkg_failed=yes
42491 fi
42492     fi
42493 else
42494         pkg_failed=untried
42495 fi
42496
42497
42498
42499 if test $pkg_failed = yes; then
42500
42501 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42502         _pkg_short_errors_supported=yes
42503 else
42504         _pkg_short_errors_supported=no
42505 fi
42506         if test $_pkg_short_errors_supported = yes; then
42507                 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libSoundTouch"`
42508         else
42509                 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libSoundTouch"`
42510         fi
42511         # Put the nasty error message in config.log where it belongs
42512         echo "$SOUNDTOUCH_PKG_ERRORS" >&5
42513
42514         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
42515 $as_echo "no" >&6; }
42516                 HAVE_SOUNDTOUCH=no
42517 elif test $pkg_failed = untried; then
42518         HAVE_SOUNDTOUCH=no
42519 else
42520         SOUNDTOUCH_CFLAGS=$pkg_cv_SOUNDTOUCH_CFLAGS
42521         SOUNDTOUCH_LIBS=$pkg_cv_SOUNDTOUCH_LIBS
42522         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42523 $as_echo "yes" >&6; }
42524         HAVE_SOUNDTOUCH=yes
42525               HAVE_SOUNDTOUCH_1_4=no
42526               SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS -lBPM"
42527 fi
42528 elif test $pkg_failed = untried; then
42529
42530 pkg_failed=no
42531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUNDTOUCH" >&5
42532 $as_echo_n "checking for SOUNDTOUCH... " >&6; }
42533
42534 if test -n "$PKG_CONFIG"; then
42535     if test -n "$SOUNDTOUCH_CFLAGS"; then
42536         pkg_cv_SOUNDTOUCH_CFLAGS="$SOUNDTOUCH_CFLAGS"
42537     else
42538         if test -n "$PKG_CONFIG" && \
42539     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch\""; } >&5
42540   ($PKG_CONFIG --exists --print-errors "libSoundTouch") 2>&5
42541   ac_status=$?
42542   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
42543   test $ac_status = 0; }; then
42544   pkg_cv_SOUNDTOUCH_CFLAGS=`$PKG_CONFIG --cflags "libSoundTouch" 2>/dev/null`
42545 else
42546   pkg_failed=yes
42547 fi
42548     fi
42549 else
42550         pkg_failed=untried
42551 fi
42552 if test -n "$PKG_CONFIG"; then
42553     if test -n "$SOUNDTOUCH_LIBS"; then
42554         pkg_cv_SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS"
42555     else
42556         if test -n "$PKG_CONFIG" && \
42557     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch\""; } >&5
42558   ($PKG_CONFIG --exists --print-errors "libSoundTouch") 2>&5
42559   ac_status=$?
42560   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
42561   test $ac_status = 0; }; then
42562   pkg_cv_SOUNDTOUCH_LIBS=`$PKG_CONFIG --libs "libSoundTouch" 2>/dev/null`
42563 else
42564   pkg_failed=yes
42565 fi
42566     fi
42567 else
42568         pkg_failed=untried
42569 fi
42570
42571
42572
42573 if test $pkg_failed = yes; then
42574
42575 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42576         _pkg_short_errors_supported=yes
42577 else
42578         _pkg_short_errors_supported=no
42579 fi
42580         if test $_pkg_short_errors_supported = yes; then
42581                 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libSoundTouch"`
42582         else
42583                 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libSoundTouch"`
42584         fi
42585         # Put the nasty error message in config.log where it belongs
42586         echo "$SOUNDTOUCH_PKG_ERRORS" >&5
42587
42588         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
42589 $as_echo "no" >&6; }
42590                 HAVE_SOUNDTOUCH=no
42591 elif test $pkg_failed = untried; then
42592         HAVE_SOUNDTOUCH=no
42593 else
42594         SOUNDTOUCH_CFLAGS=$pkg_cv_SOUNDTOUCH_CFLAGS
42595         SOUNDTOUCH_LIBS=$pkg_cv_SOUNDTOUCH_LIBS
42596         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42597 $as_echo "yes" >&6; }
42598         HAVE_SOUNDTOUCH=yes
42599               HAVE_SOUNDTOUCH_1_4=no
42600               SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS -lBPM"
42601 fi
42602 else
42603         SOUNDTOUCH_CFLAGS=$pkg_cv_SOUNDTOUCH_CFLAGS
42604         SOUNDTOUCH_LIBS=$pkg_cv_SOUNDTOUCH_LIBS
42605         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42606 $as_echo "yes" >&6; }
42607         HAVE_SOUNDTOUCH=yes
42608 fi
42609 elif test $pkg_failed = untried; then
42610
42611 pkg_failed=no
42612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUNDTOUCH" >&5
42613 $as_echo_n "checking for SOUNDTOUCH... " >&6; }
42614
42615 if test -n "$PKG_CONFIG"; then
42616     if test -n "$SOUNDTOUCH_CFLAGS"; then
42617         pkg_cv_SOUNDTOUCH_CFLAGS="$SOUNDTOUCH_CFLAGS"
42618     else
42619         if test -n "$PKG_CONFIG" && \
42620     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch >= 1.4\""; } >&5
42621   ($PKG_CONFIG --exists --print-errors "libSoundTouch >= 1.4") 2>&5
42622   ac_status=$?
42623   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
42624   test $ac_status = 0; }; then
42625   pkg_cv_SOUNDTOUCH_CFLAGS=`$PKG_CONFIG --cflags "libSoundTouch >= 1.4" 2>/dev/null`
42626 else
42627   pkg_failed=yes
42628 fi
42629     fi
42630 else
42631         pkg_failed=untried
42632 fi
42633 if test -n "$PKG_CONFIG"; then
42634     if test -n "$SOUNDTOUCH_LIBS"; then
42635         pkg_cv_SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS"
42636     else
42637         if test -n "$PKG_CONFIG" && \
42638     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch >= 1.4\""; } >&5
42639   ($PKG_CONFIG --exists --print-errors "libSoundTouch >= 1.4") 2>&5
42640   ac_status=$?
42641   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
42642   test $ac_status = 0; }; then
42643   pkg_cv_SOUNDTOUCH_LIBS=`$PKG_CONFIG --libs "libSoundTouch >= 1.4" 2>/dev/null`
42644 else
42645   pkg_failed=yes
42646 fi
42647     fi
42648 else
42649         pkg_failed=untried
42650 fi
42651
42652
42653
42654 if test $pkg_failed = yes; then
42655
42656 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42657         _pkg_short_errors_supported=yes
42658 else
42659         _pkg_short_errors_supported=no
42660 fi
42661         if test $_pkg_short_errors_supported = yes; then
42662                 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libSoundTouch >= 1.4"`
42663         else
42664                 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libSoundTouch >= 1.4"`
42665         fi
42666         # Put the nasty error message in config.log where it belongs
42667         echo "$SOUNDTOUCH_PKG_ERRORS" >&5
42668
42669         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
42670 $as_echo "no" >&6; }
42671
42672 pkg_failed=no
42673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUNDTOUCH" >&5
42674 $as_echo_n "checking for SOUNDTOUCH... " >&6; }
42675
42676 if test -n "$PKG_CONFIG"; then
42677     if test -n "$SOUNDTOUCH_CFLAGS"; then
42678         pkg_cv_SOUNDTOUCH_CFLAGS="$SOUNDTOUCH_CFLAGS"
42679     else
42680         if test -n "$PKG_CONFIG" && \
42681     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch\""; } >&5
42682   ($PKG_CONFIG --exists --print-errors "libSoundTouch") 2>&5
42683   ac_status=$?
42684   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
42685   test $ac_status = 0; }; then
42686   pkg_cv_SOUNDTOUCH_CFLAGS=`$PKG_CONFIG --cflags "libSoundTouch" 2>/dev/null`
42687 else
42688   pkg_failed=yes
42689 fi
42690     fi
42691 else
42692         pkg_failed=untried
42693 fi
42694 if test -n "$PKG_CONFIG"; then
42695     if test -n "$SOUNDTOUCH_LIBS"; then
42696         pkg_cv_SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS"
42697     else
42698         if test -n "$PKG_CONFIG" && \
42699     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch\""; } >&5
42700   ($PKG_CONFIG --exists --print-errors "libSoundTouch") 2>&5
42701   ac_status=$?
42702   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
42703   test $ac_status = 0; }; then
42704   pkg_cv_SOUNDTOUCH_LIBS=`$PKG_CONFIG --libs "libSoundTouch" 2>/dev/null`
42705 else
42706   pkg_failed=yes
42707 fi
42708     fi
42709 else
42710         pkg_failed=untried
42711 fi
42712
42713
42714
42715 if test $pkg_failed = yes; then
42716
42717 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42718         _pkg_short_errors_supported=yes
42719 else
42720         _pkg_short_errors_supported=no
42721 fi
42722         if test $_pkg_short_errors_supported = yes; then
42723                 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libSoundTouch"`
42724         else
42725                 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libSoundTouch"`
42726         fi
42727         # Put the nasty error message in config.log where it belongs
42728         echo "$SOUNDTOUCH_PKG_ERRORS" >&5
42729
42730         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
42731 $as_echo "no" >&6; }
42732                 HAVE_SOUNDTOUCH=no
42733 elif test $pkg_failed = untried; then
42734         HAVE_SOUNDTOUCH=no
42735 else
42736         SOUNDTOUCH_CFLAGS=$pkg_cv_SOUNDTOUCH_CFLAGS
42737         SOUNDTOUCH_LIBS=$pkg_cv_SOUNDTOUCH_LIBS
42738         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42739 $as_echo "yes" >&6; }
42740         HAVE_SOUNDTOUCH=yes
42741               HAVE_SOUNDTOUCH_1_4=no
42742               SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS -lBPM"
42743 fi
42744 elif test $pkg_failed = untried; then
42745
42746 pkg_failed=no
42747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUNDTOUCH" >&5
42748 $as_echo_n "checking for SOUNDTOUCH... " >&6; }
42749
42750 if test -n "$PKG_CONFIG"; then
42751     if test -n "$SOUNDTOUCH_CFLAGS"; then
42752         pkg_cv_SOUNDTOUCH_CFLAGS="$SOUNDTOUCH_CFLAGS"
42753     else
42754         if test -n "$PKG_CONFIG" && \
42755     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch\""; } >&5
42756   ($PKG_CONFIG --exists --print-errors "libSoundTouch") 2>&5
42757   ac_status=$?
42758   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
42759   test $ac_status = 0; }; then
42760   pkg_cv_SOUNDTOUCH_CFLAGS=`$PKG_CONFIG --cflags "libSoundTouch" 2>/dev/null`
42761 else
42762   pkg_failed=yes
42763 fi
42764     fi
42765 else
42766         pkg_failed=untried
42767 fi
42768 if test -n "$PKG_CONFIG"; then
42769     if test -n "$SOUNDTOUCH_LIBS"; then
42770         pkg_cv_SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS"
42771     else
42772         if test -n "$PKG_CONFIG" && \
42773     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch\""; } >&5
42774   ($PKG_CONFIG --exists --print-errors "libSoundTouch") 2>&5
42775   ac_status=$?
42776   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
42777   test $ac_status = 0; }; then
42778   pkg_cv_SOUNDTOUCH_LIBS=`$PKG_CONFIG --libs "libSoundTouch" 2>/dev/null`
42779 else
42780   pkg_failed=yes
42781 fi
42782     fi
42783 else
42784         pkg_failed=untried
42785 fi
42786
42787
42788
42789 if test $pkg_failed = yes; then
42790
42791 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42792         _pkg_short_errors_supported=yes
42793 else
42794         _pkg_short_errors_supported=no
42795 fi
42796         if test $_pkg_short_errors_supported = yes; then
42797                 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libSoundTouch"`
42798         else
42799                 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libSoundTouch"`
42800         fi
42801         # Put the nasty error message in config.log where it belongs
42802         echo "$SOUNDTOUCH_PKG_ERRORS" >&5
42803
42804         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
42805 $as_echo "no" >&6; }
42806                 HAVE_SOUNDTOUCH=no
42807 elif test $pkg_failed = untried; then
42808         HAVE_SOUNDTOUCH=no
42809 else
42810         SOUNDTOUCH_CFLAGS=$pkg_cv_SOUNDTOUCH_CFLAGS
42811         SOUNDTOUCH_LIBS=$pkg_cv_SOUNDTOUCH_LIBS
42812         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42813 $as_echo "yes" >&6; }
42814         HAVE_SOUNDTOUCH=yes
42815               HAVE_SOUNDTOUCH_1_4=no
42816               SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS -lBPM"
42817 fi
42818 else
42819         SOUNDTOUCH_CFLAGS=$pkg_cv_SOUNDTOUCH_CFLAGS
42820         SOUNDTOUCH_LIBS=$pkg_cv_SOUNDTOUCH_LIBS
42821         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42822 $as_echo "yes" >&6; }
42823         HAVE_SOUNDTOUCH=yes
42824 fi
42825 else
42826         SOUNDTOUCH_CFLAGS=$pkg_cv_SOUNDTOUCH_CFLAGS
42827         SOUNDTOUCH_LIBS=$pkg_cv_SOUNDTOUCH_LIBS
42828         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42829 $as_echo "yes" >&6; }
42830         HAVE_SOUNDTOUCH=yes
42831           HAVE_SOUNDTOUCH_1_4=no
42832           SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS -lBPM"
42833 fi
42834 else
42835         SOUNDTOUCH_CFLAGS=$pkg_cv_SOUNDTOUCH_CFLAGS
42836         SOUNDTOUCH_LIBS=$pkg_cv_SOUNDTOUCH_LIBS
42837         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42838 $as_echo "yes" >&6; }
42839         HAVE_SOUNDTOUCH=yes
42840 fi
42841 else
42842         SOUNDTOUCH_CFLAGS=$pkg_cv_SOUNDTOUCH_CFLAGS
42843         SOUNDTOUCH_LIBS=$pkg_cv_SOUNDTOUCH_LIBS
42844         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42845 $as_echo "yes" >&6; }
42846         HAVE_SOUNDTOUCH=yes
42847 fi
42848
42849
42850   if test "x$HAVE_CXX" != "xyes"; then
42851     USE_SOUNDTOUCH=false
42852     { $as_echo "$as_me:${as_lineno-$LINENO}: Not building soundtouch plugin: no C++ compiler found" >&5
42853 $as_echo "$as_me: Not building soundtouch plugin: no C++ compiler found" >&6;}
42854   fi
42855   if test "x$HAVE_SOUNDTOUCH" = "xyes" -a "x$HAVE_SOUNDTOUCH_1_4" = "xyes"; then
42856
42857 $as_echo "#define HAVE_SOUNDTOUCH_1_4 1" >>confdefs.h
42858
42859   fi
42860
42861
42862   LIBS=$gst_check_save_LIBS
42863   LDFLAGS=$gst_check_save_LDFLAGS
42864   CFLAGS=$gst_check_save_CFLAGS
42865   CPPFLAGS=$gst_check_save_CPPFLAGS
42866   CXXFLAGS=$gst_check_save_CXXFLAGS
42867
42868     if test x$HAVE_SOUNDTOUCH = xno; then
42869     USE_SOUNDTOUCH=no
42870   else
42871     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: soundtouch" >&5
42872 $as_echo "$as_me: *** These plugins will be built: soundtouch" >&6;}
42873   fi
42874 fi
42875 if test x$USE_SOUNDTOUCH = xyes; then
42876   :
42877   if test "xsoundtouch" != "x"; then
42878     GST_PLUGINS_YES="\tsoundtouch\n$GST_PLUGINS_YES"
42879   fi
42880
42881 $as_echo "#define HAVE_SOUNDTOUCH /**/" >>confdefs.h
42882
42883 else
42884   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: soundtouch" >&5
42885 $as_echo "$as_me: *** These plugins will not be built: soundtouch" >&6;}
42886   if test "xsoundtouch" != "x"; then
42887     GST_PLUGINS_NO="\tsoundtouch\n$GST_PLUGINS_NO"
42888   fi
42889   :
42890 fi
42891  if test x$USE_SOUNDTOUCH = xyes; then
42892   USE_SOUNDTOUCH_TRUE=
42893   USE_SOUNDTOUCH_FALSE='#'
42894 else
42895   USE_SOUNDTOUCH_TRUE='#'
42896   USE_SOUNDTOUCH_FALSE=
42897 fi
42898
42899
42900
42901 echo
42902 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: spc decoder ***" >&5
42903 $as_echo "$as_me: *** checking feature: spc decoder ***" >&6;}
42904 if test "xspc" != "x"
42905 then
42906   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: spc ***" >&5
42907 $as_echo "$as_me: *** for plug-ins: spc ***" >&6;}
42908 fi
42909 NOUSE=
42910 if test "x$USE_SPC" = "xno"; then
42911   NOUSE="yes"
42912 fi
42913 # Check whether --enable-spc was given.
42914 if test "${enable_spc+set}" = set; then :
42915   enableval=$enable_spc;  case "${enableval}" in
42916       yes) USE_SPC=yes;;
42917       no) USE_SPC=no;;
42918       *) as_fn_error $? "bad value ${enableval} for --enable-spc" "$LINENO" 5 ;;
42919     esac
42920 else
42921    USE_SPC=yes
42922 fi
42923
42924 if test "x$NOUSE" = "xyes"; then
42925   USE_SPC="no"
42926   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** spc pre-configured not to be built" >&5
42927 $as_echo "$as_me: WARNING: *** spc pre-configured not to be built" >&2;}
42928 fi
42929 NOUSE=
42930
42931
42932 if test x$USE_SPC = xyes; then
42933
42934   gst_check_save_LIBS=$LIBS
42935   gst_check_save_LDFLAGS=$LDFLAGS
42936   gst_check_save_CFLAGS=$CFLAGS
42937   gst_check_save_CPPFLAGS=$CPPFLAGS
42938   gst_check_save_CXXFLAGS=$CXXFLAGS
42939
42940   HAVE_SPC=no
42941
42942   ac_fn_c_check_header_mongrel "$LINENO" "openspc.h" "ac_cv_header_openspc_h" "$ac_includes_default"
42943 if test "x$ac_cv_header_openspc_h" = xyes; then :
42944
42945     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OSPC_Init in -lopenspc" >&5
42946 $as_echo_n "checking for OSPC_Init in -lopenspc... " >&6; }
42947 if ${ac_cv_lib_openspc_OSPC_Init+:} false; then :
42948   $as_echo_n "(cached) " >&6
42949 else
42950   ac_check_lib_save_LIBS=$LIBS
42951 LIBS="-lopenspc  $LIBS"
42952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42953 /* end confdefs.h.  */
42954
42955 /* Override any GCC internal prototype to avoid an error.
42956    Use char because int might match the return type of a GCC
42957    builtin and then its argument prototype would still apply.  */
42958 #ifdef __cplusplus
42959 extern "C"
42960 #endif
42961 char OSPC_Init ();
42962 int
42963 main ()
42964 {
42965 return OSPC_Init ();
42966   ;
42967   return 0;
42968 }
42969 _ACEOF
42970 if ac_fn_c_try_link "$LINENO"; then :
42971   ac_cv_lib_openspc_OSPC_Init=yes
42972 else
42973   ac_cv_lib_openspc_OSPC_Init=no
42974 fi
42975 rm -f core conftest.err conftest.$ac_objext \
42976     conftest$ac_exeext conftest.$ac_ext
42977 LIBS=$ac_check_lib_save_LIBS
42978 fi
42979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_openspc_OSPC_Init" >&5
42980 $as_echo "$ac_cv_lib_openspc_OSPC_Init" >&6; }
42981 if test "x$ac_cv_lib_openspc_OSPC_Init" = xyes; then :
42982
42983       SPC_LIBS="-lopenspc"
42984
42985       HAVE_SPC=yes
42986
42987 else
42988
42989       HAVE_SPC=no
42990
42991 fi
42992
42993
42994 else
42995
42996     HAVE_SPC=no
42997
42998 fi
42999
43000
43001
43002
43003   LIBS=$gst_check_save_LIBS
43004   LDFLAGS=$gst_check_save_LDFLAGS
43005   CFLAGS=$gst_check_save_CFLAGS
43006   CPPFLAGS=$gst_check_save_CPPFLAGS
43007   CXXFLAGS=$gst_check_save_CXXFLAGS
43008
43009     if test x$HAVE_SPC = xno; then
43010     USE_SPC=no
43011   else
43012     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: spc" >&5
43013 $as_echo "$as_me: *** These plugins will be built: spc" >&6;}
43014   fi
43015 fi
43016 if test x$USE_SPC = xyes; then
43017   :
43018   if test "xspc" != "x"; then
43019     GST_PLUGINS_YES="\tspc\n$GST_PLUGINS_YES"
43020   fi
43021
43022 $as_echo "#define HAVE_SPC /**/" >>confdefs.h
43023
43024 else
43025   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: spc" >&5
43026 $as_echo "$as_me: *** These plugins will not be built: spc" >&6;}
43027   if test "xspc" != "x"; then
43028     GST_PLUGINS_NO="\tspc\n$GST_PLUGINS_NO"
43029   fi
43030   :
43031 fi
43032  if test x$USE_SPC = xyes; then
43033   USE_SPC_TRUE=
43034   USE_SPC_FALSE='#'
43035 else
43036   USE_SPC_TRUE='#'
43037   USE_SPC_FALSE=
43038 fi
43039
43040
43041
43042 echo
43043 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: gme decoder ***" >&5
43044 $as_echo "$as_me: *** checking feature: gme decoder ***" >&6;}
43045 if test "xgme" != "x"
43046 then
43047   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: gme ***" >&5
43048 $as_echo "$as_me: *** for plug-ins: gme ***" >&6;}
43049 fi
43050 NOUSE=
43051 if test "x$USE_GME" = "xno"; then
43052   NOUSE="yes"
43053 fi
43054 # Check whether --enable-gme was given.
43055 if test "${enable_gme+set}" = set; then :
43056   enableval=$enable_gme;  case "${enableval}" in
43057       yes) USE_GME=yes;;
43058       no) USE_GME=no;;
43059       *) as_fn_error $? "bad value ${enableval} for --enable-gme" "$LINENO" 5 ;;
43060     esac
43061 else
43062    USE_GME=yes
43063 fi
43064
43065 if test "x$NOUSE" = "xyes"; then
43066   USE_GME="no"
43067   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** gme pre-configured not to be built" >&5
43068 $as_echo "$as_me: WARNING: *** gme pre-configured not to be built" >&2;}
43069 fi
43070 NOUSE=
43071
43072
43073 if test x$USE_GME = xyes; then
43074
43075   gst_check_save_LIBS=$LIBS
43076   gst_check_save_LDFLAGS=$LDFLAGS
43077   gst_check_save_CFLAGS=$CFLAGS
43078   gst_check_save_CPPFLAGS=$CPPFLAGS
43079   gst_check_save_CXXFLAGS=$CXXFLAGS
43080
43081   HAVE_GME=no
43082
43083   ac_fn_c_check_header_mongrel "$LINENO" "gme/gme.h" "ac_cv_header_gme_gme_h" "$ac_includes_default"
43084 if test "x$ac_cv_header_gme_gme_h" = xyes; then :
43085
43086     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gme_new_emu in -lgme" >&5
43087 $as_echo_n "checking for gme_new_emu in -lgme... " >&6; }
43088 if ${ac_cv_lib_gme_gme_new_emu+:} false; then :
43089   $as_echo_n "(cached) " >&6
43090 else
43091   ac_check_lib_save_LIBS=$LIBS
43092 LIBS="-lgme  $LIBS"
43093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43094 /* end confdefs.h.  */
43095
43096 /* Override any GCC internal prototype to avoid an error.
43097    Use char because int might match the return type of a GCC
43098    builtin and then its argument prototype would still apply.  */
43099 #ifdef __cplusplus
43100 extern "C"
43101 #endif
43102 char gme_new_emu ();
43103 int
43104 main ()
43105 {
43106 return gme_new_emu ();
43107   ;
43108   return 0;
43109 }
43110 _ACEOF
43111 if ac_fn_c_try_link "$LINENO"; then :
43112   ac_cv_lib_gme_gme_new_emu=yes
43113 else
43114   ac_cv_lib_gme_gme_new_emu=no
43115 fi
43116 rm -f core conftest.err conftest.$ac_objext \
43117     conftest$ac_exeext conftest.$ac_ext
43118 LIBS=$ac_check_lib_save_LIBS
43119 fi
43120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gme_gme_new_emu" >&5
43121 $as_echo "$ac_cv_lib_gme_gme_new_emu" >&6; }
43122 if test "x$ac_cv_lib_gme_gme_new_emu" = xyes; then :
43123
43124       GME_LIBS="-lgme"
43125
43126       HAVE_GME=yes
43127
43128 else
43129
43130       HAVE_GME=no
43131
43132 fi
43133
43134
43135 else
43136
43137     HAVE_GME=no
43138
43139 fi
43140
43141
43142
43143   if test "x$HAVE_GME" = "xyes"; then
43144     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gme_enable_accuracy in -lgme" >&5
43145 $as_echo_n "checking for gme_enable_accuracy in -lgme... " >&6; }
43146 if ${ac_cv_lib_gme_gme_enable_accuracy+:} false; then :
43147   $as_echo_n "(cached) " >&6
43148 else
43149   ac_check_lib_save_LIBS=$LIBS
43150 LIBS="-lgme  $LIBS"
43151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43152 /* end confdefs.h.  */
43153
43154 /* Override any GCC internal prototype to avoid an error.
43155    Use char because int might match the return type of a GCC
43156    builtin and then its argument prototype would still apply.  */
43157 #ifdef __cplusplus
43158 extern "C"
43159 #endif
43160 char gme_enable_accuracy ();
43161 int
43162 main ()
43163 {
43164 return gme_enable_accuracy ();
43165   ;
43166   return 0;
43167 }
43168 _ACEOF
43169 if ac_fn_c_try_link "$LINENO"; then :
43170   ac_cv_lib_gme_gme_enable_accuracy=yes
43171 else
43172   ac_cv_lib_gme_gme_enable_accuracy=no
43173 fi
43174 rm -f core conftest.err conftest.$ac_objext \
43175     conftest$ac_exeext conftest.$ac_ext
43176 LIBS=$ac_check_lib_save_LIBS
43177 fi
43178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gme_gme_enable_accuracy" >&5
43179 $as_echo "$ac_cv_lib_gme_gme_enable_accuracy" >&6; }
43180 if test "x$ac_cv_lib_gme_gme_enable_accuracy" = xyes; then :
43181
43182
43183 $as_echo "#define HAVE_LIBGME_ACCURACY 1" >>confdefs.h
43184
43185
43186 fi
43187
43188   fi
43189
43190
43191   LIBS=$gst_check_save_LIBS
43192   LDFLAGS=$gst_check_save_LDFLAGS
43193   CFLAGS=$gst_check_save_CFLAGS
43194   CPPFLAGS=$gst_check_save_CPPFLAGS
43195   CXXFLAGS=$gst_check_save_CXXFLAGS
43196
43197     if test x$HAVE_GME = xno; then
43198     USE_GME=no
43199   else
43200     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: gme" >&5
43201 $as_echo "$as_me: *** These plugins will be built: gme" >&6;}
43202   fi
43203 fi
43204 if test x$USE_GME = xyes; then
43205   :
43206   if test "xgme" != "x"; then
43207     GST_PLUGINS_YES="\tgme\n$GST_PLUGINS_YES"
43208   fi
43209
43210 $as_echo "#define HAVE_GME /**/" >>confdefs.h
43211
43212 else
43213   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: gme" >&5
43214 $as_echo "$as_me: *** These plugins will not be built: gme" >&6;}
43215   if test "xgme" != "x"; then
43216     GST_PLUGINS_NO="\tgme\n$GST_PLUGINS_NO"
43217   fi
43218   :
43219 fi
43220  if test x$USE_GME = xyes; then
43221   USE_GME_TRUE=
43222   USE_GME_FALSE='#'
43223 else
43224   USE_GME_TRUE='#'
43225   USE_GME_FALSE=
43226 fi
43227
43228
43229
43230 echo
43231 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: swfdec plug-in ***" >&5
43232 $as_echo "$as_me: *** checking feature: swfdec plug-in ***" >&6;}
43233 if test "xswfdec" != "x"
43234 then
43235   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: swfdec ***" >&5
43236 $as_echo "$as_me: *** for plug-ins: swfdec ***" >&6;}
43237 fi
43238 NOUSE=
43239 if test "x$USE_SWFDEC" = "xno"; then
43240   NOUSE="yes"
43241 fi
43242 # Check whether --enable-swfdec was given.
43243 if test "${enable_swfdec+set}" = set; then :
43244   enableval=$enable_swfdec;  case "${enableval}" in
43245       yes) USE_SWFDEC=yes;;
43246       no) USE_SWFDEC=no;;
43247       *) as_fn_error $? "bad value ${enableval} for --enable-swfdec" "$LINENO" 5 ;;
43248     esac
43249 else
43250    USE_SWFDEC=yes
43251 fi
43252
43253 if test "x$NOUSE" = "xyes"; then
43254   USE_SWFDEC="no"
43255   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** swfdec pre-configured not to be built" >&5
43256 $as_echo "$as_me: WARNING: *** swfdec pre-configured not to be built" >&2;}
43257 fi
43258 NOUSE=
43259
43260
43261 if test x$USE_SWFDEC = xyes; then
43262
43263   gst_check_save_LIBS=$LIBS
43264   gst_check_save_LDFLAGS=$LDFLAGS
43265   gst_check_save_CFLAGS=$CFLAGS
43266   gst_check_save_CPPFLAGS=$CPPFLAGS
43267   gst_check_save_CXXFLAGS=$CXXFLAGS
43268
43269   HAVE_SWFDEC=no
43270
43271
43272 pkg_failed=no
43273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SWFDEC" >&5
43274 $as_echo_n "checking for SWFDEC... " >&6; }
43275
43276 if test -n "$PKG_CONFIG"; then
43277     if test -n "$SWFDEC_CFLAGS"; then
43278         pkg_cv_SWFDEC_CFLAGS="$SWFDEC_CFLAGS"
43279     else
43280         if test -n "$PKG_CONFIG" && \
43281     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"swfdec-0.3 >= 0.3.6\""; } >&5
43282   ($PKG_CONFIG --exists --print-errors "swfdec-0.3 >= 0.3.6") 2>&5
43283   ac_status=$?
43284   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
43285   test $ac_status = 0; }; then
43286   pkg_cv_SWFDEC_CFLAGS=`$PKG_CONFIG --cflags "swfdec-0.3 >= 0.3.6" 2>/dev/null`
43287 else
43288   pkg_failed=yes
43289 fi
43290     fi
43291 else
43292         pkg_failed=untried
43293 fi
43294 if test -n "$PKG_CONFIG"; then
43295     if test -n "$SWFDEC_LIBS"; then
43296         pkg_cv_SWFDEC_LIBS="$SWFDEC_LIBS"
43297     else
43298         if test -n "$PKG_CONFIG" && \
43299     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"swfdec-0.3 >= 0.3.6\""; } >&5
43300   ($PKG_CONFIG --exists --print-errors "swfdec-0.3 >= 0.3.6") 2>&5
43301   ac_status=$?
43302   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
43303   test $ac_status = 0; }; then
43304   pkg_cv_SWFDEC_LIBS=`$PKG_CONFIG --libs "swfdec-0.3 >= 0.3.6" 2>/dev/null`
43305 else
43306   pkg_failed=yes
43307 fi
43308     fi
43309 else
43310         pkg_failed=untried
43311 fi
43312
43313
43314
43315 if test $pkg_failed = yes; then
43316
43317 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43318         _pkg_short_errors_supported=yes
43319 else
43320         _pkg_short_errors_supported=no
43321 fi
43322         if test $_pkg_short_errors_supported = yes; then
43323                 SWFDEC_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "swfdec-0.3 >= 0.3.6"`
43324         else
43325                 SWFDEC_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "swfdec-0.3 >= 0.3.6"`
43326         fi
43327         # Put the nasty error message in config.log where it belongs
43328         echo "$SWFDEC_PKG_ERRORS" >&5
43329
43330         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
43331 $as_echo "no" >&6; }
43332
43333     HAVE_SWFDEC=no
43334
43335 elif test $pkg_failed = untried; then
43336
43337     HAVE_SWFDEC=no
43338
43339 else
43340         SWFDEC_CFLAGS=$pkg_cv_SWFDEC_CFLAGS
43341         SWFDEC_LIBS=$pkg_cv_SWFDEC_LIBS
43342         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43343 $as_echo "yes" >&6; }
43344         HAVE_SWFDEC=yes
43345 fi
43346
43347
43348
43349
43350   LIBS=$gst_check_save_LIBS
43351   LDFLAGS=$gst_check_save_LDFLAGS
43352   CFLAGS=$gst_check_save_CFLAGS
43353   CPPFLAGS=$gst_check_save_CPPFLAGS
43354   CXXFLAGS=$gst_check_save_CXXFLAGS
43355
43356     if test x$HAVE_SWFDEC = xno; then
43357     USE_SWFDEC=no
43358   else
43359     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: swfdec" >&5
43360 $as_echo "$as_me: *** These plugins will be built: swfdec" >&6;}
43361   fi
43362 fi
43363 if test x$USE_SWFDEC = xyes; then
43364   :
43365   if test "xswfdec" != "x"; then
43366     GST_PLUGINS_YES="\tswfdec\n$GST_PLUGINS_YES"
43367   fi
43368
43369 $as_echo "#define HAVE_SWFDEC /**/" >>confdefs.h
43370
43371 else
43372   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: swfdec" >&5
43373 $as_echo "$as_me: *** These plugins will not be built: swfdec" >&6;}
43374   if test "xswfdec" != "x"; then
43375     GST_PLUGINS_NO="\tswfdec\n$GST_PLUGINS_NO"
43376   fi
43377   :
43378 fi
43379  if test x$USE_SWFDEC = xyes; then
43380   USE_SWFDEC_TRUE=
43381   USE_SWFDEC_FALSE='#'
43382 else
43383   USE_SWFDEC_TRUE='#'
43384   USE_SWFDEC_FALSE=
43385 fi
43386
43387
43388
43389 echo
43390 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: xvid plugins ***" >&5
43391 $as_echo "$as_me: *** checking feature: xvid plugins ***" >&6;}
43392 if test "xxvid" != "x"
43393 then
43394   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: xvid ***" >&5
43395 $as_echo "$as_me: *** for plug-ins: xvid ***" >&6;}
43396 fi
43397 NOUSE=
43398 if test "x$USE_XVID" = "xno"; then
43399   NOUSE="yes"
43400 fi
43401 # Check whether --enable-xvid was given.
43402 if test "${enable_xvid+set}" = set; then :
43403   enableval=$enable_xvid;  case "${enableval}" in
43404       yes) USE_XVID=yes;;
43405       no) USE_XVID=no;;
43406       *) as_fn_error $? "bad value ${enableval} for --enable-xvid" "$LINENO" 5 ;;
43407     esac
43408 else
43409    USE_XVID=yes
43410 fi
43411
43412 if test "x$NOUSE" = "xyes"; then
43413   USE_XVID="no"
43414   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** xvid pre-configured not to be built" >&5
43415 $as_echo "$as_me: WARNING: *** xvid pre-configured not to be built" >&2;}
43416 fi
43417 NOUSE=
43418
43419
43420 if test x$USE_XVID = xyes; then
43421
43422   gst_check_save_LIBS=$LIBS
43423   gst_check_save_LDFLAGS=$LDFLAGS
43424   gst_check_save_CFLAGS=$CFLAGS
43425   gst_check_save_CPPFLAGS=$CPPFLAGS
43426   gst_check_save_CXXFLAGS=$CXXFLAGS
43427
43428   HAVE_XVID=no
43429
43430   HAVE_XVID=no
43431   ac_fn_c_check_header_mongrel "$LINENO" "xvid.h" "ac_cv_header_xvid_h" "$ac_includes_default"
43432 if test "x$ac_cv_header_xvid_h" = xyes; then :
43433
43434     OLD_LIBS="$LIBS"
43435     LIBS="-lpthread $LIBM"
43436     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xvid_encore in -lxvidcore" >&5
43437 $as_echo_n "checking for xvid_encore in -lxvidcore... " >&6; }
43438 if ${ac_cv_lib_xvidcore_xvid_encore+:} false; then :
43439   $as_echo_n "(cached) " >&6
43440 else
43441   ac_check_lib_save_LIBS=$LIBS
43442 LIBS="-lxvidcore  $LIBS"
43443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43444 /* end confdefs.h.  */
43445
43446 /* Override any GCC internal prototype to avoid an error.
43447    Use char because int might match the return type of a GCC
43448    builtin and then its argument prototype would still apply.  */
43449 #ifdef __cplusplus
43450 extern "C"
43451 #endif
43452 char xvid_encore ();
43453 int
43454 main ()
43455 {
43456 return xvid_encore ();
43457   ;
43458   return 0;
43459 }
43460 _ACEOF
43461 if ac_fn_c_try_link "$LINENO"; then :
43462   ac_cv_lib_xvidcore_xvid_encore=yes
43463 else
43464   ac_cv_lib_xvidcore_xvid_encore=no
43465 fi
43466 rm -f core conftest.err conftest.$ac_objext \
43467     conftest$ac_exeext conftest.$ac_ext
43468 LIBS=$ac_check_lib_save_LIBS
43469 fi
43470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xvidcore_xvid_encore" >&5
43471 $as_echo "$ac_cv_lib_xvidcore_xvid_encore" >&6; }
43472 if test "x$ac_cv_lib_xvidcore_xvid_encore" = xyes; then :
43473
43474       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xvid_decore in -lxvidcore" >&5
43475 $as_echo_n "checking for xvid_decore in -lxvidcore... " >&6; }
43476 if ${ac_cv_lib_xvidcore_xvid_decore+:} false; then :
43477   $as_echo_n "(cached) " >&6
43478 else
43479   ac_check_lib_save_LIBS=$LIBS
43480 LIBS="-lxvidcore  $LIBS"
43481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43482 /* end confdefs.h.  */
43483
43484 /* Override any GCC internal prototype to avoid an error.
43485    Use char because int might match the return type of a GCC
43486    builtin and then its argument prototype would still apply.  */
43487 #ifdef __cplusplus
43488 extern "C"
43489 #endif
43490 char xvid_decore ();
43491 int
43492 main ()
43493 {
43494 return xvid_decore ();
43495   ;
43496   return 0;
43497 }
43498 _ACEOF
43499 if ac_fn_c_try_link "$LINENO"; then :
43500   ac_cv_lib_xvidcore_xvid_decore=yes
43501 else
43502   ac_cv_lib_xvidcore_xvid_decore=no
43503 fi
43504 rm -f core conftest.err conftest.$ac_objext \
43505     conftest$ac_exeext conftest.$ac_ext
43506 LIBS=$ac_check_lib_save_LIBS
43507 fi
43508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xvidcore_xvid_decore" >&5
43509 $as_echo "$ac_cv_lib_xvidcore_xvid_decore" >&6; }
43510 if test "x$ac_cv_lib_xvidcore_xvid_decore" = xyes; then :
43511
43512         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xvid_global in -lxvidcore" >&5
43513 $as_echo_n "checking for xvid_global in -lxvidcore... " >&6; }
43514 if ${ac_cv_lib_xvidcore_xvid_global+:} false; then :
43515   $as_echo_n "(cached) " >&6
43516 else
43517   ac_check_lib_save_LIBS=$LIBS
43518 LIBS="-lxvidcore  $LIBS"
43519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43520 /* end confdefs.h.  */
43521
43522 /* Override any GCC internal prototype to avoid an error.
43523    Use char because int might match the return type of a GCC
43524    builtin and then its argument prototype would still apply.  */
43525 #ifdef __cplusplus
43526 extern "C"
43527 #endif
43528 char xvid_global ();
43529 int
43530 main ()
43531 {
43532 return xvid_global ();
43533   ;
43534   return 0;
43535 }
43536 _ACEOF
43537 if ac_fn_c_try_link "$LINENO"; then :
43538   ac_cv_lib_xvidcore_xvid_global=yes
43539 else
43540   ac_cv_lib_xvidcore_xvid_global=no
43541 fi
43542 rm -f core conftest.err conftest.$ac_objext \
43543     conftest$ac_exeext conftest.$ac_ext
43544 LIBS=$ac_check_lib_save_LIBS
43545 fi
43546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xvidcore_xvid_global" >&5
43547 $as_echo "$ac_cv_lib_xvidcore_xvid_global" >&6; }
43548 if test "x$ac_cv_lib_xvidcore_xvid_global" = xyes; then :
43549
43550           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uptodate XviD API version" >&5
43551 $as_echo_n "checking for uptodate XviD API version... " >&6; }
43552           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43553 /* end confdefs.h.  */
43554 #include <xvid.h>
43555 int
43556 main ()
43557 {
43558
43559               #if XVID_API_MAJOR(XVID_API) != 4
43560               #error "Incompatible XviD API version"
43561               #endif
43562               #if XVID_API_MAJOR(XVID_API) == 4 && XVID_API_MINOR(XVID_API) < 3
43563               #error "Incompatible XviD API version"
43564               #endif
43565
43566   ;
43567   return 0;
43568 }
43569 _ACEOF
43570 if ac_fn_c_try_compile "$LINENO"; then :
43571    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43572 $as_echo "yes" >&6; }
43573             XVID_LIBS="-lxvidcore $LIBM"
43574
43575             HAVE_XVID=yes
43576
43577 else
43578   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
43579 $as_echo "no" >&6; }
43580 fi
43581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43582
43583 fi
43584
43585
43586 fi
43587
43588
43589 fi
43590
43591     LIBS="$OLD_LIBS"
43592
43593 fi
43594
43595
43596
43597
43598   LIBS=$gst_check_save_LIBS
43599   LDFLAGS=$gst_check_save_LDFLAGS
43600   CFLAGS=$gst_check_save_CFLAGS
43601   CPPFLAGS=$gst_check_save_CPPFLAGS
43602   CXXFLAGS=$gst_check_save_CXXFLAGS
43603
43604     if test x$HAVE_XVID = xno; then
43605     USE_XVID=no
43606   else
43607     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: xvid" >&5
43608 $as_echo "$as_me: *** These plugins will be built: xvid" >&6;}
43609   fi
43610 fi
43611 if test x$USE_XVID = xyes; then
43612   :
43613   if test "xxvid" != "x"; then
43614     GST_PLUGINS_YES="\txvid\n$GST_PLUGINS_YES"
43615   fi
43616
43617 $as_echo "#define HAVE_XVID /**/" >>confdefs.h
43618
43619 else
43620   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: xvid" >&5
43621 $as_echo "$as_me: *** These plugins will not be built: xvid" >&6;}
43622   if test "xxvid" != "x"; then
43623     GST_PLUGINS_NO="\txvid\n$GST_PLUGINS_NO"
43624   fi
43625   :
43626 fi
43627  if test x$USE_XVID = xyes; then
43628   USE_XVID_TRUE=
43629   USE_XVID_FALSE='#'
43630 else
43631   USE_XVID_TRUE='#'
43632   USE_XVID_FALSE=
43633 fi
43634
43635
43636
43637 echo
43638 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: DVB Source ***" >&5
43639 $as_echo "$as_me: *** checking feature: DVB Source ***" >&6;}
43640 if test "xdvb" != "x"
43641 then
43642   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: dvb ***" >&5
43643 $as_echo "$as_me: *** for plug-ins: dvb ***" >&6;}
43644 fi
43645 NOUSE=
43646 if test "x$USE_DVB" = "xno"; then
43647   NOUSE="yes"
43648 fi
43649 # Check whether --enable-dvb was given.
43650 if test "${enable_dvb+set}" = set; then :
43651   enableval=$enable_dvb;  case "${enableval}" in
43652       yes) USE_DVB=yes;;
43653       no) USE_DVB=no;;
43654       *) as_fn_error $? "bad value ${enableval} for --enable-dvb" "$LINENO" 5 ;;
43655     esac
43656 else
43657    USE_DVB=yes
43658 fi
43659
43660 if test "x$NOUSE" = "xyes"; then
43661   USE_DVB="no"
43662   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** dvb pre-configured not to be built" >&5
43663 $as_echo "$as_me: WARNING: *** dvb pre-configured not to be built" >&2;}
43664 fi
43665 NOUSE=
43666
43667
43668 if test x$USE_DVB = xyes; then
43669
43670   gst_check_save_LIBS=$LIBS
43671   gst_check_save_LDFLAGS=$LDFLAGS
43672   gst_check_save_CFLAGS=$CFLAGS
43673   gst_check_save_CPPFLAGS=$CPPFLAGS
43674   gst_check_save_CXXFLAGS=$CXXFLAGS
43675
43676   HAVE_DVB=no
43677
43678   { $as_echo "$as_me:${as_lineno-$LINENO}: checking Checking for up to date dvb installation" >&5
43679 $as_echo_n "checking Checking for up to date dvb installation... " >&6; }
43680   ac_fn_c_check_header_mongrel "$LINENO" "linux/dvb/frontend.h" "ac_cv_header_linux_dvb_frontend_h" "$ac_includes_default"
43681 if test "x$ac_cv_header_linux_dvb_frontend_h" = xyes; then :
43682   HAVE_DVB="yes"
43683 else
43684   HAVE_DVB="no"
43685 fi
43686
43687
43688
43689
43690   LIBS=$gst_check_save_LIBS
43691   LDFLAGS=$gst_check_save_LDFLAGS
43692   CFLAGS=$gst_check_save_CFLAGS
43693   CPPFLAGS=$gst_check_save_CPPFLAGS
43694   CXXFLAGS=$gst_check_save_CXXFLAGS
43695
43696     if test x$HAVE_DVB = xno; then
43697     USE_DVB=no
43698   else
43699     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: dvb" >&5
43700 $as_echo "$as_me: *** These plugins will be built: dvb" >&6;}
43701   fi
43702 fi
43703 if test x$USE_DVB = xyes; then
43704   :
43705   if test "xdvb" != "x"; then
43706     GST_PLUGINS_YES="\tdvb\n$GST_PLUGINS_YES"
43707   fi
43708
43709 $as_echo "#define HAVE_DVB /**/" >>confdefs.h
43710
43711 else
43712   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: dvb" >&5
43713 $as_echo "$as_me: *** These plugins will not be built: dvb" >&6;}
43714   if test "xdvb" != "x"; then
43715     GST_PLUGINS_NO="\tdvb\n$GST_PLUGINS_NO"
43716   fi
43717   :
43718 fi
43719  if test x$USE_DVB = xyes; then
43720   USE_DVB_TRUE=
43721   USE_DVB_FALSE='#'
43722 else
43723   USE_DVB_TRUE='#'
43724   USE_DVB_FALSE=
43725 fi
43726
43727
43728
43729 echo
43730 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Windows internet library ***" >&5
43731 $as_echo "$as_me: *** checking feature: Windows internet library ***" >&6;}
43732 if test "xwininet" != "x"
43733 then
43734   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: wininet ***" >&5
43735 $as_echo "$as_me: *** for plug-ins: wininet ***" >&6;}
43736 fi
43737 NOUSE=
43738 if test "x$USE_WININET" = "xno"; then
43739   NOUSE="yes"
43740 fi
43741 # Check whether --enable-wininet was given.
43742 if test "${enable_wininet+set}" = set; then :
43743   enableval=$enable_wininet;  case "${enableval}" in
43744       yes) USE_WININET=yes;;
43745       no) USE_WININET=no;;
43746       *) as_fn_error $? "bad value ${enableval} for --enable-wininet" "$LINENO" 5 ;;
43747     esac
43748 else
43749    USE_WININET=yes
43750 fi
43751
43752 if test "x$NOUSE" = "xyes"; then
43753   USE_WININET="no"
43754   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** wininet pre-configured not to be built" >&5
43755 $as_echo "$as_me: WARNING: *** wininet pre-configured not to be built" >&2;}
43756 fi
43757 NOUSE=
43758
43759
43760 if test x$USE_WININET = xyes; then
43761
43762   gst_check_save_LIBS=$LIBS
43763   gst_check_save_LDFLAGS=$LDFLAGS
43764   gst_check_save_CFLAGS=$CFLAGS
43765   gst_check_save_CPPFLAGS=$CPPFLAGS
43766   gst_check_save_CXXFLAGS=$CXXFLAGS
43767
43768   HAVE_WININET=no
43769
43770   { $as_echo "$as_me:${as_lineno-$LINENO}: checking Checking for windows internet support" >&5
43771 $as_echo_n "checking Checking for windows internet support... " >&6; }
43772   for ac_header in windows.h wininet.h
43773 do :
43774   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
43775 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
43776 #include <windows.h>
43777 "
43778 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
43779   cat >>confdefs.h <<_ACEOF
43780 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
43781 _ACEOF
43782  HAVE_WININET="yes"
43783 else
43784   HAVE_WININET="no"
43785 fi
43786
43787 done
43788
43789
43790
43791   LIBS=$gst_check_save_LIBS
43792   LDFLAGS=$gst_check_save_LDFLAGS
43793   CFLAGS=$gst_check_save_CFLAGS
43794   CPPFLAGS=$gst_check_save_CPPFLAGS
43795   CXXFLAGS=$gst_check_save_CXXFLAGS
43796
43797     if test x$HAVE_WININET = xno; then
43798     USE_WININET=no
43799   else
43800     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: wininet" >&5
43801 $as_echo "$as_me: *** These plugins will be built: wininet" >&6;}
43802   fi
43803 fi
43804 if test x$USE_WININET = xyes; then
43805   :
43806   if test "xwininet" != "x"; then
43807     GST_PLUGINS_YES="\twininet\n$GST_PLUGINS_YES"
43808   fi
43809
43810 $as_echo "#define HAVE_WININET /**/" >>confdefs.h
43811
43812 else
43813   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: wininet" >&5
43814 $as_echo "$as_me: *** These plugins will not be built: wininet" >&6;}
43815   if test "xwininet" != "x"; then
43816     GST_PLUGINS_NO="\twininet\n$GST_PLUGINS_NO"
43817   fi
43818   :
43819 fi
43820  if test x$USE_WININET = xyes; then
43821   USE_WININET_TRUE=
43822   USE_WININET_FALSE='#'
43823 else
43824   USE_WININET_TRUE='#'
43825   USE_WININET_FALSE=
43826 fi
43827
43828
43829
43830 echo
43831 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Windows ACM library ***" >&5
43832 $as_echo "$as_me: *** checking feature: Windows ACM library ***" >&6;}
43833 if test "xacm" != "x"
43834 then
43835   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: acm ***" >&5
43836 $as_echo "$as_me: *** for plug-ins: acm ***" >&6;}
43837 fi
43838 NOUSE=
43839 if test "x$USE_ACM" = "xno"; then
43840   NOUSE="yes"
43841 fi
43842 # Check whether --enable-acm was given.
43843 if test "${enable_acm+set}" = set; then :
43844   enableval=$enable_acm;  case "${enableval}" in
43845       yes) USE_ACM=yes;;
43846       no) USE_ACM=no;;
43847       *) as_fn_error $? "bad value ${enableval} for --enable-acm" "$LINENO" 5 ;;
43848     esac
43849 else
43850    USE_ACM=yes
43851 fi
43852
43853 if test "x$NOUSE" = "xyes"; then
43854   USE_ACM="no"
43855   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** acm pre-configured not to be built" >&5
43856 $as_echo "$as_me: WARNING: *** acm pre-configured not to be built" >&2;}
43857 fi
43858 NOUSE=
43859
43860
43861 if test x$USE_ACM = xyes; then
43862
43863   gst_check_save_LIBS=$LIBS
43864   gst_check_save_LDFLAGS=$LDFLAGS
43865   gst_check_save_CFLAGS=$CFLAGS
43866   gst_check_save_CPPFLAGS=$CPPFLAGS
43867   gst_check_save_CXXFLAGS=$CXXFLAGS
43868
43869   HAVE_ACM=no
43870
43871   { $as_echo "$as_me:${as_lineno-$LINENO}: checking Checking for ACM support" >&5
43872 $as_echo_n "checking Checking for ACM support... " >&6; }
43873   for ac_header in windows.h msacm.h
43874 do :
43875   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
43876 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
43877 #include <windows.h>
43878 "
43879 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
43880   cat >>confdefs.h <<_ACEOF
43881 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
43882 _ACEOF
43883  HAVE_ACM="yes"
43884
43885
43886
43887 else
43888   HAVE_ACM="no"
43889 fi
43890
43891 done
43892
43893
43894
43895   LIBS=$gst_check_save_LIBS
43896   LDFLAGS=$gst_check_save_LDFLAGS
43897   CFLAGS=$gst_check_save_CFLAGS
43898   CPPFLAGS=$gst_check_save_CPPFLAGS
43899   CXXFLAGS=$gst_check_save_CXXFLAGS
43900
43901     if test x$HAVE_ACM = xno; then
43902     USE_ACM=no
43903   else
43904     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: acm" >&5
43905 $as_echo "$as_me: *** These plugins will be built: acm" >&6;}
43906   fi
43907 fi
43908 if test x$USE_ACM = xyes; then
43909   :
43910   if test "xacm" != "x"; then
43911     GST_PLUGINS_YES="\tacm\n$GST_PLUGINS_YES"
43912   fi
43913
43914 $as_echo "#define HAVE_ACM /**/" >>confdefs.h
43915
43916 else
43917   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: acm" >&5
43918 $as_echo "$as_me: *** These plugins will not be built: acm" >&6;}
43919   if test "xacm" != "x"; then
43920     GST_PLUGINS_NO="\tacm\n$GST_PLUGINS_NO"
43921   fi
43922   :
43923 fi
43924  if test x$USE_ACM = xyes; then
43925   USE_ACM_TRUE=
43926   USE_ACM_FALSE='#'
43927 else
43928   USE_ACM_TRUE='#'
43929   USE_ACM_FALSE=
43930 fi
43931
43932
43933
43934 echo
43935 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: VDPAU ***" >&5
43936 $as_echo "$as_me: *** checking feature: VDPAU ***" >&6;}
43937 if test "xvdpau" != "x"
43938 then
43939   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: vdpau ***" >&5
43940 $as_echo "$as_me: *** for plug-ins: vdpau ***" >&6;}
43941 fi
43942 NOUSE=
43943 if test "x$USE_VDPAU" = "xno"; then
43944   NOUSE="yes"
43945 fi
43946 # Check whether --enable-vdpau was given.
43947 if test "${enable_vdpau+set}" = set; then :
43948   enableval=$enable_vdpau;  case "${enableval}" in
43949       yes) USE_VDPAU=yes;;
43950       no) USE_VDPAU=no;;
43951       *) as_fn_error $? "bad value ${enableval} for --enable-vdpau" "$LINENO" 5 ;;
43952     esac
43953 else
43954    USE_VDPAU=yes
43955 fi
43956
43957 if test "x$NOUSE" = "xyes"; then
43958   USE_VDPAU="no"
43959   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** vdpau pre-configured not to be built" >&5
43960 $as_echo "$as_me: WARNING: *** vdpau pre-configured not to be built" >&2;}
43961 fi
43962 NOUSE=
43963
43964
43965 if test x$USE_VDPAU = xyes; then
43966
43967   gst_check_save_LIBS=$LIBS
43968   gst_check_save_LDFLAGS=$LDFLAGS
43969   gst_check_save_CFLAGS=$CFLAGS
43970   gst_check_save_CPPFLAGS=$CPPFLAGS
43971   gst_check_save_CXXFLAGS=$CXXFLAGS
43972
43973   HAVE_VDPAU=no
43974
43975   VDPAU_CFLAGS=
43976   VDPAU_LIBS=-lvdpau
43977   HAVE_VDPAU=no
43978
43979
43980 pkg_failed=no
43981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for VDPAU" >&5
43982 $as_echo_n "checking for VDPAU... " >&6; }
43983
43984 if test -n "$PKG_CONFIG"; then
43985     if test -n "$VDPAU_CFLAGS"; then
43986         pkg_cv_VDPAU_CFLAGS="$VDPAU_CFLAGS"
43987     else
43988         if test -n "$PKG_CONFIG" && \
43989     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"vdpau\""; } >&5
43990   ($PKG_CONFIG --exists --print-errors "vdpau") 2>&5
43991   ac_status=$?
43992   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
43993   test $ac_status = 0; }; then
43994   pkg_cv_VDPAU_CFLAGS=`$PKG_CONFIG --cflags "vdpau" 2>/dev/null`
43995 else
43996   pkg_failed=yes
43997 fi
43998     fi
43999 else
44000         pkg_failed=untried
44001 fi
44002 if test -n "$PKG_CONFIG"; then
44003     if test -n "$VDPAU_LIBS"; then
44004         pkg_cv_VDPAU_LIBS="$VDPAU_LIBS"
44005     else
44006         if test -n "$PKG_CONFIG" && \
44007     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"vdpau\""; } >&5
44008   ($PKG_CONFIG --exists --print-errors "vdpau") 2>&5
44009   ac_status=$?
44010   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
44011   test $ac_status = 0; }; then
44012   pkg_cv_VDPAU_LIBS=`$PKG_CONFIG --libs "vdpau" 2>/dev/null`
44013 else
44014   pkg_failed=yes
44015 fi
44016     fi
44017 else
44018         pkg_failed=untried
44019 fi
44020
44021
44022
44023 if test $pkg_failed = yes; then
44024
44025 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44026         _pkg_short_errors_supported=yes
44027 else
44028         _pkg_short_errors_supported=no
44029 fi
44030         if test $_pkg_short_errors_supported = yes; then
44031                 VDPAU_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "vdpau"`
44032         else
44033                 VDPAU_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "vdpau"`
44034         fi
44035         # Put the nasty error message in config.log where it belongs
44036         echo "$VDPAU_PKG_ERRORS" >&5
44037
44038         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
44039 $as_echo "no" >&6; }
44040
44041     if test "$HAVE_VDPAU" = "no"; then
44042       saved_CPPFLAGS="$CPPFLAGS"
44043       ac_fn_c_check_header_mongrel "$LINENO" "vdpau/vdpau.h" "ac_cv_header_vdpau_vdpau_h" "$ac_includes_default"
44044 if test "x$ac_cv_header_vdpau_vdpau_h" = xyes; then :
44045   HAVE_VDPAU_H=yes
44046 fi
44047
44048
44049
44050       if test -z "$HAVE_VDPAU_H"; then
44051                         { $as_echo "$as_me:${as_lineno-$LINENO}: VDPAU header not in standard path. Checking /usr/include/nvidia" >&5
44052 $as_echo "$as_me: VDPAU header not in standard path. Checking /usr/include/nvidia" >&6;}
44053         unset ac_cv_header_vdpau_vdpau_h
44054         unset ac_cv_header_vdpau_vdpau_x11_h
44055         VDPAU_CFLAGS="-I/usr/include/nvidia"
44056         VDPAU_LIBS="-L/usr/lib/nvidia -lvdpau"
44057         CPPFLAGS="$VDPAU_CFLAGS $saved_CPPFLAGS"
44058         ac_fn_c_check_header_mongrel "$LINENO" "vdpau/vdpau.h" "ac_cv_header_vdpau_vdpau_h" "$ac_includes_default"
44059 if test "x$ac_cv_header_vdpau_vdpau_h" = xyes; then :
44060   HAVE_VDPAU_H=yes
44061 fi
44062
44063
44064       fi
44065
44066       ac_fn_c_check_header_mongrel "$LINENO" "vdpau/vdpau_x11.h" "ac_cv_header_vdpau_vdpau_x11_h" "$ac_includes_default"
44067 if test "x$ac_cv_header_vdpau_vdpau_x11_h" = xyes; then :
44068   HAVE_VDPAU_X11_H=yes
44069 fi
44070
44071
44072
44073       if test "x$HAVE_VDPAU_H" = "xyes" -a "x$HAVE_VDPAU_X11_H" = "xyes"; then
44074                 { $as_echo "$as_me:${as_lineno-$LINENO}: VDPAU headers found. Checking libraries" >&5
44075 $as_echo "$as_me: VDPAU headers found. Checking libraries" >&6;}
44076         saved_LIBS="$LIBS"
44077         LIBS="$VDPAU_LIBS $saved_LIBS"
44078         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vdp_device_create_x11 in -lvdpau" >&5
44079 $as_echo_n "checking for vdp_device_create_x11 in -lvdpau... " >&6; }
44080 if ${ac_cv_lib_vdpau_vdp_device_create_x11+:} false; then :
44081   $as_echo_n "(cached) " >&6
44082 else
44083   ac_check_lib_save_LIBS=$LIBS
44084 LIBS="-lvdpau  $LIBS"
44085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44086 /* end confdefs.h.  */
44087
44088 /* Override any GCC internal prototype to avoid an error.
44089    Use char because int might match the return type of a GCC
44090    builtin and then its argument prototype would still apply.  */
44091 #ifdef __cplusplus
44092 extern "C"
44093 #endif
44094 char vdp_device_create_x11 ();
44095 int
44096 main ()
44097 {
44098 return vdp_device_create_x11 ();
44099   ;
44100   return 0;
44101 }
44102 _ACEOF
44103 if ac_fn_c_try_link "$LINENO"; then :
44104   ac_cv_lib_vdpau_vdp_device_create_x11=yes
44105 else
44106   ac_cv_lib_vdpau_vdp_device_create_x11=no
44107 fi
44108 rm -f core conftest.err conftest.$ac_objext \
44109     conftest$ac_exeext conftest.$ac_ext
44110 LIBS=$ac_check_lib_save_LIBS
44111 fi
44112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_vdpau_vdp_device_create_x11" >&5
44113 $as_echo "$ac_cv_lib_vdpau_vdp_device_create_x11" >&6; }
44114 if test "x$ac_cv_lib_vdpau_vdp_device_create_x11" = xyes; then :
44115   HAVE_VDPAU="yes"
44116 fi
44117
44118         LIBS="$saved_LIBS"
44119       fi
44120     fi
44121
44122 elif test $pkg_failed = untried; then
44123
44124     if test "$HAVE_VDPAU" = "no"; then
44125       saved_CPPFLAGS="$CPPFLAGS"
44126       ac_fn_c_check_header_mongrel "$LINENO" "vdpau/vdpau.h" "ac_cv_header_vdpau_vdpau_h" "$ac_includes_default"
44127 if test "x$ac_cv_header_vdpau_vdpau_h" = xyes; then :
44128   HAVE_VDPAU_H=yes
44129 fi
44130
44131
44132
44133       if test -z "$HAVE_VDPAU_H"; then
44134                         { $as_echo "$as_me:${as_lineno-$LINENO}: VDPAU header not in standard path. Checking /usr/include/nvidia" >&5
44135 $as_echo "$as_me: VDPAU header not in standard path. Checking /usr/include/nvidia" >&6;}
44136         unset ac_cv_header_vdpau_vdpau_h
44137         unset ac_cv_header_vdpau_vdpau_x11_h
44138         VDPAU_CFLAGS="-I/usr/include/nvidia"
44139         VDPAU_LIBS="-L/usr/lib/nvidia -lvdpau"
44140         CPPFLAGS="$VDPAU_CFLAGS $saved_CPPFLAGS"
44141         ac_fn_c_check_header_mongrel "$LINENO" "vdpau/vdpau.h" "ac_cv_header_vdpau_vdpau_h" "$ac_includes_default"
44142 if test "x$ac_cv_header_vdpau_vdpau_h" = xyes; then :
44143   HAVE_VDPAU_H=yes
44144 fi
44145
44146
44147       fi
44148
44149       ac_fn_c_check_header_mongrel "$LINENO" "vdpau/vdpau_x11.h" "ac_cv_header_vdpau_vdpau_x11_h" "$ac_includes_default"
44150 if test "x$ac_cv_header_vdpau_vdpau_x11_h" = xyes; then :
44151   HAVE_VDPAU_X11_H=yes
44152 fi
44153
44154
44155
44156       if test "x$HAVE_VDPAU_H" = "xyes" -a "x$HAVE_VDPAU_X11_H" = "xyes"; then
44157                 { $as_echo "$as_me:${as_lineno-$LINENO}: VDPAU headers found. Checking libraries" >&5
44158 $as_echo "$as_me: VDPAU headers found. Checking libraries" >&6;}
44159         saved_LIBS="$LIBS"
44160         LIBS="$VDPAU_LIBS $saved_LIBS"
44161         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vdp_device_create_x11 in -lvdpau" >&5
44162 $as_echo_n "checking for vdp_device_create_x11 in -lvdpau... " >&6; }
44163 if ${ac_cv_lib_vdpau_vdp_device_create_x11+:} false; then :
44164   $as_echo_n "(cached) " >&6
44165 else
44166   ac_check_lib_save_LIBS=$LIBS
44167 LIBS="-lvdpau  $LIBS"
44168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44169 /* end confdefs.h.  */
44170
44171 /* Override any GCC internal prototype to avoid an error.
44172    Use char because int might match the return type of a GCC
44173    builtin and then its argument prototype would still apply.  */
44174 #ifdef __cplusplus
44175 extern "C"
44176 #endif
44177 char vdp_device_create_x11 ();
44178 int
44179 main ()
44180 {
44181 return vdp_device_create_x11 ();
44182   ;
44183   return 0;
44184 }
44185 _ACEOF
44186 if ac_fn_c_try_link "$LINENO"; then :
44187   ac_cv_lib_vdpau_vdp_device_create_x11=yes
44188 else
44189   ac_cv_lib_vdpau_vdp_device_create_x11=no
44190 fi
44191 rm -f core conftest.err conftest.$ac_objext \
44192     conftest$ac_exeext conftest.$ac_ext
44193 LIBS=$ac_check_lib_save_LIBS
44194 fi
44195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_vdpau_vdp_device_create_x11" >&5
44196 $as_echo "$ac_cv_lib_vdpau_vdp_device_create_x11" >&6; }
44197 if test "x$ac_cv_lib_vdpau_vdp_device_create_x11" = xyes; then :
44198   HAVE_VDPAU="yes"
44199 fi
44200
44201         LIBS="$saved_LIBS"
44202       fi
44203     fi
44204
44205 else
44206         VDPAU_CFLAGS=$pkg_cv_VDPAU_CFLAGS
44207         VDPAU_LIBS=$pkg_cv_VDPAU_LIBS
44208         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44209 $as_echo "yes" >&6; }
44210         HAVE_VDPAU="yes"
44211 fi
44212
44213   if test "$HAVE_VDPAU" = "yes"; then
44214     { $as_echo "$as_me:${as_lineno-$LINENO}: Found up to date VDPAU installation" >&5
44215 $as_echo "$as_me: Found up to date VDPAU installation" >&6;}
44216
44217
44218   fi
44219
44220
44221   LIBS=$gst_check_save_LIBS
44222   LDFLAGS=$gst_check_save_LDFLAGS
44223   CFLAGS=$gst_check_save_CFLAGS
44224   CPPFLAGS=$gst_check_save_CPPFLAGS
44225   CXXFLAGS=$gst_check_save_CXXFLAGS
44226
44227     if test x$HAVE_VDPAU = xno; then
44228     USE_VDPAU=no
44229   else
44230     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: vdpau" >&5
44231 $as_echo "$as_me: *** These plugins will be built: vdpau" >&6;}
44232   fi
44233 fi
44234 if test x$USE_VDPAU = xyes; then
44235   :
44236   if test "xvdpau" != "x"; then
44237     GST_PLUGINS_YES="\tvdpau\n$GST_PLUGINS_YES"
44238   fi
44239
44240 $as_echo "#define HAVE_VDPAU /**/" >>confdefs.h
44241
44242 else
44243   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: vdpau" >&5
44244 $as_echo "$as_me: *** These plugins will not be built: vdpau" >&6;}
44245   if test "xvdpau" != "x"; then
44246     GST_PLUGINS_NO="\tvdpau\n$GST_PLUGINS_NO"
44247   fi
44248   :
44249 fi
44250  if test x$USE_VDPAU = xyes; then
44251   USE_VDPAU_TRUE=
44252   USE_VDPAU_FALSE='#'
44253 else
44254   USE_VDPAU_TRUE='#'
44255   USE_VDPAU_FALSE=
44256 fi
44257
44258
44259
44260 echo
44261 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Schroedinger video codec ***" >&5
44262 $as_echo "$as_me: *** checking feature: Schroedinger video codec ***" >&6;}
44263 if test "xschro" != "x"
44264 then
44265   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: schro ***" >&5
44266 $as_echo "$as_me: *** for plug-ins: schro ***" >&6;}
44267 fi
44268 NOUSE=
44269 if test "x$USE_SCHRO" = "xno"; then
44270   NOUSE="yes"
44271 fi
44272 # Check whether --enable-schro was given.
44273 if test "${enable_schro+set}" = set; then :
44274   enableval=$enable_schro;  case "${enableval}" in
44275       yes) USE_SCHRO=yes;;
44276       no) USE_SCHRO=no;;
44277       *) as_fn_error $? "bad value ${enableval} for --enable-schro" "$LINENO" 5 ;;
44278     esac
44279 else
44280    USE_SCHRO=yes
44281 fi
44282
44283 if test "x$NOUSE" = "xyes"; then
44284   USE_SCHRO="no"
44285   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** schro pre-configured not to be built" >&5
44286 $as_echo "$as_me: WARNING: *** schro pre-configured not to be built" >&2;}
44287 fi
44288 NOUSE=
44289
44290
44291 if test x$USE_SCHRO = xyes; then
44292
44293   gst_check_save_LIBS=$LIBS
44294   gst_check_save_LDFLAGS=$LDFLAGS
44295   gst_check_save_CFLAGS=$CFLAGS
44296   gst_check_save_CPPFLAGS=$CPPFLAGS
44297   gst_check_save_CXXFLAGS=$CXXFLAGS
44298
44299   HAVE_SCHRO=no
44300
44301
44302   which="schroedinger-1.0 >= 1.0.7"
44303     required="no"
44304
44305
44306 pkg_failed=no
44307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SCHRO" >&5
44308 $as_echo_n "checking for SCHRO... " >&6; }
44309
44310 if test -n "$PKG_CONFIG"; then
44311     if test -n "$SCHRO_CFLAGS"; then
44312         pkg_cv_SCHRO_CFLAGS="$SCHRO_CFLAGS"
44313     else
44314         if test -n "$PKG_CONFIG" && \
44315     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
44316   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
44317   ac_status=$?
44318   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
44319   test $ac_status = 0; }; then
44320   pkg_cv_SCHRO_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
44321 else
44322   pkg_failed=yes
44323 fi
44324     fi
44325 else
44326         pkg_failed=untried
44327 fi
44328 if test -n "$PKG_CONFIG"; then
44329     if test -n "$SCHRO_LIBS"; then
44330         pkg_cv_SCHRO_LIBS="$SCHRO_LIBS"
44331     else
44332         if test -n "$PKG_CONFIG" && \
44333     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
44334   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
44335   ac_status=$?
44336   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
44337   test $ac_status = 0; }; then
44338   pkg_cv_SCHRO_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
44339 else
44340   pkg_failed=yes
44341 fi
44342     fi
44343 else
44344         pkg_failed=untried
44345 fi
44346
44347
44348
44349 if test $pkg_failed = yes; then
44350
44351 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44352         _pkg_short_errors_supported=yes
44353 else
44354         _pkg_short_errors_supported=no
44355 fi
44356         if test $_pkg_short_errors_supported = yes; then
44357                 SCHRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
44358         else
44359                 SCHRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
44360         fi
44361         # Put the nasty error message in config.log where it belongs
44362         echo "$SCHRO_PKG_ERRORS" >&5
44363
44364         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
44365 $as_echo "no" >&6; }
44366
44367       HAVE_SCHRO="no"
44368       if test "x$required" = "xyes"; then
44369         as_fn_error $? "$SCHRO_PKG_ERRORS" "$LINENO" 5
44370       else
44371         { $as_echo "$as_me:${as_lineno-$LINENO}: $SCHRO_PKG_ERRORS" >&5
44372 $as_echo "$as_me: $SCHRO_PKG_ERRORS" >&6;}
44373       fi
44374
44375 elif test $pkg_failed = untried; then
44376
44377       HAVE_SCHRO="no"
44378       if test "x$required" = "xyes"; then
44379         as_fn_error $? "$SCHRO_PKG_ERRORS" "$LINENO" 5
44380       else
44381         { $as_echo "$as_me:${as_lineno-$LINENO}: $SCHRO_PKG_ERRORS" >&5
44382 $as_echo "$as_me: $SCHRO_PKG_ERRORS" >&6;}
44383       fi
44384
44385 else
44386         SCHRO_CFLAGS=$pkg_cv_SCHRO_CFLAGS
44387         SCHRO_LIBS=$pkg_cv_SCHRO_LIBS
44388         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44389 $as_echo "yes" >&6; }
44390
44391       HAVE_SCHRO="yes"
44392
44393 fi
44394
44395
44396
44397
44398   LIBS=$gst_check_save_LIBS
44399   LDFLAGS=$gst_check_save_LDFLAGS
44400   CFLAGS=$gst_check_save_CFLAGS
44401   CPPFLAGS=$gst_check_save_CPPFLAGS
44402   CXXFLAGS=$gst_check_save_CXXFLAGS
44403
44404     if test x$HAVE_SCHRO = xno; then
44405     USE_SCHRO=no
44406   else
44407     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: schro" >&5
44408 $as_echo "$as_me: *** These plugins will be built: schro" >&6;}
44409   fi
44410 fi
44411 if test x$USE_SCHRO = xyes; then
44412   :
44413   if test "xschro" != "x"; then
44414     GST_PLUGINS_YES="\tschro\n$GST_PLUGINS_YES"
44415   fi
44416
44417 $as_echo "#define HAVE_SCHRO /**/" >>confdefs.h
44418
44419 else
44420   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: schro" >&5
44421 $as_echo "$as_me: *** These plugins will not be built: schro" >&6;}
44422   if test "xschro" != "x"; then
44423     GST_PLUGINS_NO="\tschro\n$GST_PLUGINS_NO"
44424   fi
44425   :
44426 fi
44427  if test x$USE_SCHRO = xyes; then
44428   USE_SCHRO_TRUE=
44429   USE_SCHRO_FALSE='#'
44430 else
44431   USE_SCHRO_TRUE='#'
44432   USE_SCHRO_FALSE=
44433 fi
44434
44435
44436
44437 echo
44438 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: ZBar barcode detector ***" >&5
44439 $as_echo "$as_me: *** checking feature: ZBar barcode detector ***" >&6;}
44440 if test "xzbar" != "x"
44441 then
44442   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: zbar ***" >&5
44443 $as_echo "$as_me: *** for plug-ins: zbar ***" >&6;}
44444 fi
44445 NOUSE=
44446 if test "x$USE_ZBAR" = "xno"; then
44447   NOUSE="yes"
44448 fi
44449 # Check whether --enable-zbar was given.
44450 if test "${enable_zbar+set}" = set; then :
44451   enableval=$enable_zbar;  case "${enableval}" in
44452       yes) USE_ZBAR=yes;;
44453       no) USE_ZBAR=no;;
44454       *) as_fn_error $? "bad value ${enableval} for --enable-zbar" "$LINENO" 5 ;;
44455     esac
44456 else
44457    USE_ZBAR=yes
44458 fi
44459
44460 if test "x$NOUSE" = "xyes"; then
44461   USE_ZBAR="no"
44462   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** zbar pre-configured not to be built" >&5
44463 $as_echo "$as_me: WARNING: *** zbar pre-configured not to be built" >&2;}
44464 fi
44465 NOUSE=
44466
44467
44468 if test x$USE_ZBAR = xyes; then
44469
44470   gst_check_save_LIBS=$LIBS
44471   gst_check_save_LDFLAGS=$LDFLAGS
44472   gst_check_save_CFLAGS=$CFLAGS
44473   gst_check_save_CPPFLAGS=$CPPFLAGS
44474   gst_check_save_CXXFLAGS=$CXXFLAGS
44475
44476   HAVE_ZBAR=no
44477
44478
44479   which="zbar >= 0.9"
44480     required="no"
44481
44482
44483 pkg_failed=no
44484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ZBAR" >&5
44485 $as_echo_n "checking for ZBAR... " >&6; }
44486
44487 if test -n "$PKG_CONFIG"; then
44488     if test -n "$ZBAR_CFLAGS"; then
44489         pkg_cv_ZBAR_CFLAGS="$ZBAR_CFLAGS"
44490     else
44491         if test -n "$PKG_CONFIG" && \
44492     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
44493   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
44494   ac_status=$?
44495   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
44496   test $ac_status = 0; }; then
44497   pkg_cv_ZBAR_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
44498 else
44499   pkg_failed=yes
44500 fi
44501     fi
44502 else
44503         pkg_failed=untried
44504 fi
44505 if test -n "$PKG_CONFIG"; then
44506     if test -n "$ZBAR_LIBS"; then
44507         pkg_cv_ZBAR_LIBS="$ZBAR_LIBS"
44508     else
44509         if test -n "$PKG_CONFIG" && \
44510     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
44511   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
44512   ac_status=$?
44513   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
44514   test $ac_status = 0; }; then
44515   pkg_cv_ZBAR_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
44516 else
44517   pkg_failed=yes
44518 fi
44519     fi
44520 else
44521         pkg_failed=untried
44522 fi
44523
44524
44525
44526 if test $pkg_failed = yes; then
44527
44528 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44529         _pkg_short_errors_supported=yes
44530 else
44531         _pkg_short_errors_supported=no
44532 fi
44533         if test $_pkg_short_errors_supported = yes; then
44534                 ZBAR_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
44535         else
44536                 ZBAR_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
44537         fi
44538         # Put the nasty error message in config.log where it belongs
44539         echo "$ZBAR_PKG_ERRORS" >&5
44540
44541         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
44542 $as_echo "no" >&6; }
44543
44544       HAVE_ZBAR="no"
44545       if test "x$required" = "xyes"; then
44546         as_fn_error $? "$ZBAR_PKG_ERRORS" "$LINENO" 5
44547       else
44548         { $as_echo "$as_me:${as_lineno-$LINENO}: $ZBAR_PKG_ERRORS" >&5
44549 $as_echo "$as_me: $ZBAR_PKG_ERRORS" >&6;}
44550       fi
44551
44552 elif test $pkg_failed = untried; then
44553
44554       HAVE_ZBAR="no"
44555       if test "x$required" = "xyes"; then
44556         as_fn_error $? "$ZBAR_PKG_ERRORS" "$LINENO" 5
44557       else
44558         { $as_echo "$as_me:${as_lineno-$LINENO}: $ZBAR_PKG_ERRORS" >&5
44559 $as_echo "$as_me: $ZBAR_PKG_ERRORS" >&6;}
44560       fi
44561
44562 else
44563         ZBAR_CFLAGS=$pkg_cv_ZBAR_CFLAGS
44564         ZBAR_LIBS=$pkg_cv_ZBAR_LIBS
44565         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44566 $as_echo "yes" >&6; }
44567
44568       HAVE_ZBAR="yes"
44569
44570 fi
44571
44572
44573
44574
44575   LIBS=$gst_check_save_LIBS
44576   LDFLAGS=$gst_check_save_LDFLAGS
44577   CFLAGS=$gst_check_save_CFLAGS
44578   CPPFLAGS=$gst_check_save_CPPFLAGS
44579   CXXFLAGS=$gst_check_save_CXXFLAGS
44580
44581     if test x$HAVE_ZBAR = xno; then
44582     USE_ZBAR=no
44583   else
44584     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: zbar" >&5
44585 $as_echo "$as_me: *** These plugins will be built: zbar" >&6;}
44586   fi
44587 fi
44588 if test x$USE_ZBAR = xyes; then
44589   :
44590   if test "xzbar" != "x"; then
44591     GST_PLUGINS_YES="\tzbar\n$GST_PLUGINS_YES"
44592   fi
44593
44594 $as_echo "#define HAVE_ZBAR /**/" >>confdefs.h
44595
44596 else
44597   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: zbar" >&5
44598 $as_echo "$as_me: *** These plugins will not be built: zbar" >&6;}
44599   if test "xzbar" != "x"; then
44600     GST_PLUGINS_NO="\tzbar\n$GST_PLUGINS_NO"
44601   fi
44602   :
44603 fi
44604  if test x$USE_ZBAR = xyes; then
44605   USE_ZBAR_TRUE=
44606   USE_ZBAR_FALSE='#'
44607 else
44608   USE_ZBAR_TRUE='#'
44609   USE_ZBAR_FALSE=
44610 fi
44611
44612
44613
44614 echo
44615 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: VP8 decoder ***" >&5
44616 $as_echo "$as_me: *** checking feature: VP8 decoder ***" >&6;}
44617 if test "xvp8" != "x"
44618 then
44619   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: vp8 ***" >&5
44620 $as_echo "$as_me: *** for plug-ins: vp8 ***" >&6;}
44621 fi
44622 NOUSE=
44623 if test "x$USE_VP8" = "xno"; then
44624   NOUSE="yes"
44625 fi
44626 # Check whether --enable-vp8 was given.
44627 if test "${enable_vp8+set}" = set; then :
44628   enableval=$enable_vp8;  case "${enableval}" in
44629       yes) USE_VP8=yes;;
44630       no) USE_VP8=no;;
44631       *) as_fn_error $? "bad value ${enableval} for --enable-vp8" "$LINENO" 5 ;;
44632     esac
44633 else
44634    USE_VP8=yes
44635 fi
44636
44637 if test "x$NOUSE" = "xyes"; then
44638   USE_VP8="no"
44639   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** vp8 pre-configured not to be built" >&5
44640 $as_echo "$as_me: WARNING: *** vp8 pre-configured not to be built" >&2;}
44641 fi
44642 NOUSE=
44643
44644
44645 if test x$USE_VP8 = xyes; then
44646
44647   gst_check_save_LIBS=$LIBS
44648   gst_check_save_LDFLAGS=$LDFLAGS
44649   gst_check_save_CFLAGS=$CFLAGS
44650   gst_check_save_CPPFLAGS=$CPPFLAGS
44651   gst_check_save_CXXFLAGS=$CXXFLAGS
44652
44653   HAVE_VP8=no
44654
44655   VPX_LIBS=""
44656
44657   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vpx_codec_version in -lvpx" >&5
44658 $as_echo_n "checking for vpx_codec_version in -lvpx... " >&6; }
44659 if ${ac_cv_lib_vpx_vpx_codec_version+:} false; then :
44660   $as_echo_n "(cached) " >&6
44661 else
44662   ac_check_lib_save_LIBS=$LIBS
44663 LIBS="-lvpx  $LIBS"
44664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44665 /* end confdefs.h.  */
44666
44667 /* Override any GCC internal prototype to avoid an error.
44668    Use char because int might match the return type of a GCC
44669    builtin and then its argument prototype would still apply.  */
44670 #ifdef __cplusplus
44671 extern "C"
44672 #endif
44673 char vpx_codec_version ();
44674 int
44675 main ()
44676 {
44677 return vpx_codec_version ();
44678   ;
44679   return 0;
44680 }
44681 _ACEOF
44682 if ac_fn_c_try_link "$LINENO"; then :
44683   ac_cv_lib_vpx_vpx_codec_version=yes
44684 else
44685   ac_cv_lib_vpx_vpx_codec_version=no
44686 fi
44687 rm -f core conftest.err conftest.$ac_objext \
44688     conftest$ac_exeext conftest.$ac_ext
44689 LIBS=$ac_check_lib_save_LIBS
44690 fi
44691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_vpx_vpx_codec_version" >&5
44692 $as_echo "$ac_cv_lib_vpx_vpx_codec_version" >&6; }
44693 if test "x$ac_cv_lib_vpx_vpx_codec_version" = xyes; then :
44694   HAVE_VPX=yes
44695 else
44696   HAVE_VPX=no
44697 fi
44698
44699   if test "x$HAVE_VPX" = "xyes"; then
44700     ac_fn_c_check_header_mongrel "$LINENO" "vpx/vpx_codec.h" "ac_cv_header_vpx_vpx_codec_h" "$ac_includes_default"
44701 if test "x$ac_cv_header_vpx_vpx_codec_h" = xyes; then :
44702   :
44703 else
44704   HAVE_VPX=no
44705 fi
44706
44707
44708     if test "x$HAVE_VPX" = "xyes"; then
44709
44710     HAVE_VP8_ENCODER=no
44711     HAVE_VP8_DECODER=no
44712
44713     OLD_LIBS="$LIBS"
44714     LIBS="$LIBS $LIBM -lpthread"
44715     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vpx_codec_vp8_cx_algo in -lvpx" >&5
44716 $as_echo_n "checking for vpx_codec_vp8_cx_algo in -lvpx... " >&6; }
44717 if ${ac_cv_lib_vpx_vpx_codec_vp8_cx_algo+:} false; then :
44718   $as_echo_n "(cached) " >&6
44719 else
44720   ac_check_lib_save_LIBS=$LIBS
44721 LIBS="-lvpx  $LIBS"
44722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44723 /* end confdefs.h.  */
44724
44725 /* Override any GCC internal prototype to avoid an error.
44726    Use char because int might match the return type of a GCC
44727    builtin and then its argument prototype would still apply.  */
44728 #ifdef __cplusplus
44729 extern "C"
44730 #endif
44731 char vpx_codec_vp8_cx_algo ();
44732 int
44733 main ()
44734 {
44735 return vpx_codec_vp8_cx_algo ();
44736   ;
44737   return 0;
44738 }
44739 _ACEOF
44740 if ac_fn_c_try_link "$LINENO"; then :
44741   ac_cv_lib_vpx_vpx_codec_vp8_cx_algo=yes
44742 else
44743   ac_cv_lib_vpx_vpx_codec_vp8_cx_algo=no
44744 fi
44745 rm -f core conftest.err conftest.$ac_objext \
44746     conftest$ac_exeext conftest.$ac_ext
44747 LIBS=$ac_check_lib_save_LIBS
44748 fi
44749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_vpx_vpx_codec_vp8_cx_algo" >&5
44750 $as_echo "$ac_cv_lib_vpx_vpx_codec_vp8_cx_algo" >&6; }
44751 if test "x$ac_cv_lib_vpx_vpx_codec_vp8_cx_algo" = xyes; then :
44752
44753       HAVE_VP8=yes
44754
44755 $as_echo "#define HAVE_VP8_ENCODER 1" >>confdefs.h
44756
44757       VPX_LIBS="-lvpx"
44758
44759       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for VP8E_SET_TUNING presence" >&5
44760 $as_echo_n "checking for VP8E_SET_TUNING presence... " >&6; }
44761       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44762 /* end confdefs.h.  */
44763
44764 #include <vpx/vpx_encoder.h>
44765 #include <vpx/vp8cx.h>
44766 int foo=VP8E_SET_TUNING;
44767
44768 int
44769 main ()
44770 {
44771
44772 return 0;
44773
44774   ;
44775   return 0;
44776 }
44777 _ACEOF
44778 if ac_fn_c_try_compile "$LINENO"; then :
44779
44780
44781 $as_echo "#define HAVE_VP8ENC_TUNING 1" >>confdefs.h
44782
44783         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44784 $as_echo "yes" >&6; }
44785
44786 else
44787
44788         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
44789 $as_echo "no" >&6; }
44790
44791 fi
44792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44793
44794 fi
44795
44796     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vpx_codec_vp8_dx_algo in -lvpx" >&5
44797 $as_echo_n "checking for vpx_codec_vp8_dx_algo in -lvpx... " >&6; }
44798 if ${ac_cv_lib_vpx_vpx_codec_vp8_dx_algo+:} false; then :
44799   $as_echo_n "(cached) " >&6
44800 else
44801   ac_check_lib_save_LIBS=$LIBS
44802 LIBS="-lvpx  $LIBS"
44803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44804 /* end confdefs.h.  */
44805
44806 /* Override any GCC internal prototype to avoid an error.
44807    Use char because int might match the return type of a GCC
44808    builtin and then its argument prototype would still apply.  */
44809 #ifdef __cplusplus
44810 extern "C"
44811 #endif
44812 char vpx_codec_vp8_dx_algo ();
44813 int
44814 main ()
44815 {
44816 return vpx_codec_vp8_dx_algo ();
44817   ;
44818   return 0;
44819 }
44820 _ACEOF
44821 if ac_fn_c_try_link "$LINENO"; then :
44822   ac_cv_lib_vpx_vpx_codec_vp8_dx_algo=yes
44823 else
44824   ac_cv_lib_vpx_vpx_codec_vp8_dx_algo=no
44825 fi
44826 rm -f core conftest.err conftest.$ac_objext \
44827     conftest$ac_exeext conftest.$ac_ext
44828 LIBS=$ac_check_lib_save_LIBS
44829 fi
44830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_vpx_vpx_codec_vp8_dx_algo" >&5
44831 $as_echo "$ac_cv_lib_vpx_vpx_codec_vp8_dx_algo" >&6; }
44832 if test "x$ac_cv_lib_vpx_vpx_codec_vp8_dx_algo" = xyes; then :
44833
44834       HAVE_VP8=yes
44835
44836 $as_echo "#define HAVE_VP8_DECODER 1" >>confdefs.h
44837
44838       VPX_LIBS="-lvpx"
44839
44840 fi
44841
44842     LIBS="$OLD_LIBS"
44843
44844     else
44845       :
44846     fi
44847   else
44848     :
44849   fi
44850
44851
44852
44853
44854
44855
44856   LIBS=$gst_check_save_LIBS
44857   LDFLAGS=$gst_check_save_LDFLAGS
44858   CFLAGS=$gst_check_save_CFLAGS
44859   CPPFLAGS=$gst_check_save_CPPFLAGS
44860   CXXFLAGS=$gst_check_save_CXXFLAGS
44861
44862     if test x$HAVE_VP8 = xno; then
44863     USE_VP8=no
44864   else
44865     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: vp8" >&5
44866 $as_echo "$as_me: *** These plugins will be built: vp8" >&6;}
44867   fi
44868 fi
44869 if test x$USE_VP8 = xyes; then
44870   :
44871   if test "xvp8" != "x"; then
44872     GST_PLUGINS_YES="\tvp8\n$GST_PLUGINS_YES"
44873   fi
44874
44875 $as_echo "#define HAVE_VP8 /**/" >>confdefs.h
44876
44877 else
44878   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: vp8" >&5
44879 $as_echo "$as_me: *** These plugins will not be built: vp8" >&6;}
44880   if test "xvp8" != "x"; then
44881     GST_PLUGINS_NO="\tvp8\n$GST_PLUGINS_NO"
44882   fi
44883   :
44884 fi
44885  if test x$USE_VP8 = xyes; then
44886   USE_VP8_TRUE=
44887   USE_VP8_FALSE='#'
44888 else
44889   USE_VP8_TRUE='#'
44890   USE_VP8_FALSE=
44891 fi
44892
44893
44894
44895 echo
44896 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: rtmp library ***" >&5
44897 $as_echo "$as_me: *** checking feature: rtmp library ***" >&6;}
44898 if test "xrtmp" != "x"
44899 then
44900   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: rtmp ***" >&5
44901 $as_echo "$as_me: *** for plug-ins: rtmp ***" >&6;}
44902 fi
44903 NOUSE=
44904 if test "x$USE_RTMP" = "xno"; then
44905   NOUSE="yes"
44906 fi
44907 # Check whether --enable-rtmp was given.
44908 if test "${enable_rtmp+set}" = set; then :
44909   enableval=$enable_rtmp;  case "${enableval}" in
44910       yes) USE_RTMP=yes;;
44911       no) USE_RTMP=no;;
44912       *) as_fn_error $? "bad value ${enableval} for --enable-rtmp" "$LINENO" 5 ;;
44913     esac
44914 else
44915    USE_RTMP=yes
44916 fi
44917
44918 if test "x$NOUSE" = "xyes"; then
44919   USE_RTMP="no"
44920   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** rtmp pre-configured not to be built" >&5
44921 $as_echo "$as_me: WARNING: *** rtmp pre-configured not to be built" >&2;}
44922 fi
44923 NOUSE=
44924
44925
44926 if test x$USE_RTMP = xyes; then
44927
44928   gst_check_save_LIBS=$LIBS
44929   gst_check_save_LDFLAGS=$LDFLAGS
44930   gst_check_save_CFLAGS=$CFLAGS
44931   gst_check_save_CPPFLAGS=$CPPFLAGS
44932   gst_check_save_CXXFLAGS=$CXXFLAGS
44933
44934   HAVE_RTMP=no
44935
44936
44937   which="librtmp"
44938     required="no"
44939
44940
44941 pkg_failed=no
44942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RTMP" >&5
44943 $as_echo_n "checking for RTMP... " >&6; }
44944
44945 if test -n "$PKG_CONFIG"; then
44946     if test -n "$RTMP_CFLAGS"; then
44947         pkg_cv_RTMP_CFLAGS="$RTMP_CFLAGS"
44948     else
44949         if test -n "$PKG_CONFIG" && \
44950     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
44951   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
44952   ac_status=$?
44953   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
44954   test $ac_status = 0; }; then
44955   pkg_cv_RTMP_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
44956 else
44957   pkg_failed=yes
44958 fi
44959     fi
44960 else
44961         pkg_failed=untried
44962 fi
44963 if test -n "$PKG_CONFIG"; then
44964     if test -n "$RTMP_LIBS"; then
44965         pkg_cv_RTMP_LIBS="$RTMP_LIBS"
44966     else
44967         if test -n "$PKG_CONFIG" && \
44968     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
44969   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
44970   ac_status=$?
44971   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
44972   test $ac_status = 0; }; then
44973   pkg_cv_RTMP_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
44974 else
44975   pkg_failed=yes
44976 fi
44977     fi
44978 else
44979         pkg_failed=untried
44980 fi
44981
44982
44983
44984 if test $pkg_failed = yes; then
44985
44986 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44987         _pkg_short_errors_supported=yes
44988 else
44989         _pkg_short_errors_supported=no
44990 fi
44991         if test $_pkg_short_errors_supported = yes; then
44992                 RTMP_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
44993         else
44994                 RTMP_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
44995         fi
44996         # Put the nasty error message in config.log where it belongs
44997         echo "$RTMP_PKG_ERRORS" >&5
44998
44999         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
45000 $as_echo "no" >&6; }
45001
45002       HAVE_RTMP="no"
45003       if test "x$required" = "xyes"; then
45004         as_fn_error $? "$RTMP_PKG_ERRORS" "$LINENO" 5
45005       else
45006         { $as_echo "$as_me:${as_lineno-$LINENO}: $RTMP_PKG_ERRORS" >&5
45007 $as_echo "$as_me: $RTMP_PKG_ERRORS" >&6;}
45008       fi
45009
45010 elif test $pkg_failed = untried; then
45011
45012       HAVE_RTMP="no"
45013       if test "x$required" = "xyes"; then
45014         as_fn_error $? "$RTMP_PKG_ERRORS" "$LINENO" 5
45015       else
45016         { $as_echo "$as_me:${as_lineno-$LINENO}: $RTMP_PKG_ERRORS" >&5
45017 $as_echo "$as_me: $RTMP_PKG_ERRORS" >&6;}
45018       fi
45019
45020 else
45021         RTMP_CFLAGS=$pkg_cv_RTMP_CFLAGS
45022         RTMP_LIBS=$pkg_cv_RTMP_LIBS
45023         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45024 $as_echo "yes" >&6; }
45025
45026       HAVE_RTMP="yes"
45027
45028 fi
45029
45030
45031
45032
45033   LIBS=$gst_check_save_LIBS
45034   LDFLAGS=$gst_check_save_LDFLAGS
45035   CFLAGS=$gst_check_save_CFLAGS
45036   CPPFLAGS=$gst_check_save_CPPFLAGS
45037   CXXFLAGS=$gst_check_save_CXXFLAGS
45038
45039     if test x$HAVE_RTMP = xno; then
45040     USE_RTMP=no
45041   else
45042     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: rtmp" >&5
45043 $as_echo "$as_me: *** These plugins will be built: rtmp" >&6;}
45044   fi
45045 fi
45046 if test x$USE_RTMP = xyes; then
45047   :
45048   if test "xrtmp" != "x"; then
45049     GST_PLUGINS_YES="\trtmp\n$GST_PLUGINS_YES"
45050   fi
45051
45052 $as_echo "#define HAVE_RTMP /**/" >>confdefs.h
45053
45054 else
45055   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: rtmp" >&5
45056 $as_echo "$as_me: *** These plugins will not be built: rtmp" >&6;}
45057   if test "xrtmp" != "x"; then
45058     GST_PLUGINS_NO="\trtmp\n$GST_PLUGINS_NO"
45059   fi
45060   :
45061 fi
45062  if test x$USE_RTMP = xyes; then
45063   USE_RTMP_TRUE=
45064   USE_RTMP_FALSE='#'
45065 else
45066   USE_RTMP_TRUE='#'
45067   USE_RTMP_FALSE=
45068 fi
45069
45070
45071
45072 echo
45073 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Spandsp ***" >&5
45074 $as_echo "$as_me: *** checking feature: Spandsp ***" >&6;}
45075 if test "xspandsp" != "x"
45076 then
45077   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: spandsp ***" >&5
45078 $as_echo "$as_me: *** for plug-ins: spandsp ***" >&6;}
45079 fi
45080 NOUSE=
45081 if test "x$USE_SPANDSP" = "xno"; then
45082   NOUSE="yes"
45083 fi
45084 # Check whether --enable-spandsp was given.
45085 if test "${enable_spandsp+set}" = set; then :
45086   enableval=$enable_spandsp;  case "${enableval}" in
45087       yes) USE_SPANDSP=yes;;
45088       no) USE_SPANDSP=no;;
45089       *) as_fn_error $? "bad value ${enableval} for --enable-spandsp" "$LINENO" 5 ;;
45090     esac
45091 else
45092    USE_SPANDSP=yes
45093 fi
45094
45095 if test "x$NOUSE" = "xyes"; then
45096   USE_SPANDSP="no"
45097   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** spandsp pre-configured not to be built" >&5
45098 $as_echo "$as_me: WARNING: *** spandsp pre-configured not to be built" >&2;}
45099 fi
45100 NOUSE=
45101
45102
45103 if test x$USE_SPANDSP = xyes; then
45104
45105   gst_check_save_LIBS=$LIBS
45106   gst_check_save_LDFLAGS=$LDFLAGS
45107   gst_check_save_CFLAGS=$CFLAGS
45108   gst_check_save_CPPFLAGS=$CPPFLAGS
45109   gst_check_save_CXXFLAGS=$CXXFLAGS
45110
45111   HAVE_SPANDSP=no
45112
45113
45114 pkg_failed=no
45115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SPANDSP" >&5
45116 $as_echo_n "checking for SPANDSP... " >&6; }
45117
45118 if test -n "$PKG_CONFIG"; then
45119     if test -n "$SPANDSP_CFLAGS"; then
45120         pkg_cv_SPANDSP_CFLAGS="$SPANDSP_CFLAGS"
45121     else
45122         if test -n "$PKG_CONFIG" && \
45123     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"spandsp >= 0.0.6\""; } >&5
45124   ($PKG_CONFIG --exists --print-errors "spandsp >= 0.0.6") 2>&5
45125   ac_status=$?
45126   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
45127   test $ac_status = 0; }; then
45128   pkg_cv_SPANDSP_CFLAGS=`$PKG_CONFIG --cflags "spandsp >= 0.0.6" 2>/dev/null`
45129 else
45130   pkg_failed=yes
45131 fi
45132     fi
45133 else
45134         pkg_failed=untried
45135 fi
45136 if test -n "$PKG_CONFIG"; then
45137     if test -n "$SPANDSP_LIBS"; then
45138         pkg_cv_SPANDSP_LIBS="$SPANDSP_LIBS"
45139     else
45140         if test -n "$PKG_CONFIG" && \
45141     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"spandsp >= 0.0.6\""; } >&5
45142   ($PKG_CONFIG --exists --print-errors "spandsp >= 0.0.6") 2>&5
45143   ac_status=$?
45144   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
45145   test $ac_status = 0; }; then
45146   pkg_cv_SPANDSP_LIBS=`$PKG_CONFIG --libs "spandsp >= 0.0.6" 2>/dev/null`
45147 else
45148   pkg_failed=yes
45149 fi
45150     fi
45151 else
45152         pkg_failed=untried
45153 fi
45154
45155
45156
45157 if test $pkg_failed = yes; then
45158
45159 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45160         _pkg_short_errors_supported=yes
45161 else
45162         _pkg_short_errors_supported=no
45163 fi
45164         if test $_pkg_short_errors_supported = yes; then
45165                 SPANDSP_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "spandsp >= 0.0.6"`
45166         else
45167                 SPANDSP_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "spandsp >= 0.0.6"`
45168         fi
45169         # Put the nasty error message in config.log where it belongs
45170         echo "$SPANDSP_PKG_ERRORS" >&5
45171
45172         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
45173 $as_echo "no" >&6; }
45174
45175     HAVE_SPANDSP="no"
45176
45177 elif test $pkg_failed = untried; then
45178
45179     HAVE_SPANDSP="no"
45180
45181 else
45182         SPANDSP_CFLAGS=$pkg_cv_SPANDSP_CFLAGS
45183         SPANDSP_LIBS=$pkg_cv_SPANDSP_LIBS
45184         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45185 $as_echo "yes" >&6; }
45186
45187     HAVE_SPANDSP="yes"
45188 fi
45189
45190
45191   LIBS=$gst_check_save_LIBS
45192   LDFLAGS=$gst_check_save_LDFLAGS
45193   CFLAGS=$gst_check_save_CFLAGS
45194   CPPFLAGS=$gst_check_save_CPPFLAGS
45195   CXXFLAGS=$gst_check_save_CXXFLAGS
45196
45197     if test x$HAVE_SPANDSP = xno; then
45198     USE_SPANDSP=no
45199   else
45200     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: spandsp" >&5
45201 $as_echo "$as_me: *** These plugins will be built: spandsp" >&6;}
45202   fi
45203 fi
45204 if test x$USE_SPANDSP = xyes; then
45205   :
45206   if test "xspandsp" != "x"; then
45207     GST_PLUGINS_YES="\tspandsp\n$GST_PLUGINS_YES"
45208   fi
45209
45210 $as_echo "#define HAVE_SPANDSP /**/" >>confdefs.h
45211
45212 else
45213   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: spandsp" >&5
45214 $as_echo "$as_me: *** These plugins will not be built: spandsp" >&6;}
45215   if test "xspandsp" != "x"; then
45216     GST_PLUGINS_NO="\tspandsp\n$GST_PLUGINS_NO"
45217   fi
45218   :
45219 fi
45220  if test x$USE_SPANDSP = xyes; then
45221   USE_SPANDSP_TRUE=
45222   USE_SPANDSP_FALSE='#'
45223 else
45224   USE_SPANDSP_TRUE='#'
45225   USE_SPANDSP_FALSE=
45226 fi
45227
45228
45229
45230
45231
45232 echo
45233 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: GSettings plugin ***" >&5
45234 $as_echo "$as_me: *** checking feature: GSettings plugin ***" >&6;}
45235 if test "xgsettings" != "x"
45236 then
45237   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: gsettings ***" >&5
45238 $as_echo "$as_me: *** for plug-ins: gsettings ***" >&6;}
45239 fi
45240 NOUSE=
45241 if test "x$USE_GSETTINGS" = "xno"; then
45242   NOUSE="yes"
45243 fi
45244 # Check whether --enable-gsettings was given.
45245 if test "${enable_gsettings+set}" = set; then :
45246   enableval=$enable_gsettings;  case "${enableval}" in
45247       yes) USE_GSETTINGS=yes;;
45248       no) USE_GSETTINGS=no;;
45249       *) as_fn_error $? "bad value ${enableval} for --enable-gsettings" "$LINENO" 5 ;;
45250     esac
45251 else
45252    USE_GSETTINGS=yes
45253 fi
45254
45255 if test "x$NOUSE" = "xyes"; then
45256   USE_GSETTINGS="no"
45257   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** gsettings pre-configured not to be built" >&5
45258 $as_echo "$as_me: WARNING: *** gsettings pre-configured not to be built" >&2;}
45259 fi
45260 NOUSE=
45261
45262
45263 if test x$USE_GSETTINGS = xyes; then
45264
45265   gst_check_save_LIBS=$LIBS
45266   gst_check_save_LDFLAGS=$LDFLAGS
45267   gst_check_save_CFLAGS=$CFLAGS
45268   gst_check_save_CPPFLAGS=$CPPFLAGS
45269   gst_check_save_CXXFLAGS=$CXXFLAGS
45270
45271   HAVE_GSETTINGS=no
45272
45273
45274   which="gio-2.0 >= 2.25.0"
45275     required="no"
45276
45277
45278 pkg_failed=no
45279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSETTINGS" >&5
45280 $as_echo_n "checking for GSETTINGS... " >&6; }
45281
45282 if test -n "$PKG_CONFIG"; then
45283     if test -n "$GSETTINGS_CFLAGS"; then
45284         pkg_cv_GSETTINGS_CFLAGS="$GSETTINGS_CFLAGS"
45285     else
45286         if test -n "$PKG_CONFIG" && \
45287     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
45288   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
45289   ac_status=$?
45290   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
45291   test $ac_status = 0; }; then
45292   pkg_cv_GSETTINGS_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
45293 else
45294   pkg_failed=yes
45295 fi
45296     fi
45297 else
45298         pkg_failed=untried
45299 fi
45300 if test -n "$PKG_CONFIG"; then
45301     if test -n "$GSETTINGS_LIBS"; then
45302         pkg_cv_GSETTINGS_LIBS="$GSETTINGS_LIBS"
45303     else
45304         if test -n "$PKG_CONFIG" && \
45305     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
45306   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
45307   ac_status=$?
45308   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
45309   test $ac_status = 0; }; then
45310   pkg_cv_GSETTINGS_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
45311 else
45312   pkg_failed=yes
45313 fi
45314     fi
45315 else
45316         pkg_failed=untried
45317 fi
45318
45319
45320
45321 if test $pkg_failed = yes; then
45322
45323 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45324         _pkg_short_errors_supported=yes
45325 else
45326         _pkg_short_errors_supported=no
45327 fi
45328         if test $_pkg_short_errors_supported = yes; then
45329                 GSETTINGS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
45330         else
45331                 GSETTINGS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
45332         fi
45333         # Put the nasty error message in config.log where it belongs
45334         echo "$GSETTINGS_PKG_ERRORS" >&5
45335
45336         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
45337 $as_echo "no" >&6; }
45338
45339       HAVE_GSETTINGS="no"
45340       if test "x$required" = "xyes"; then
45341         as_fn_error $? "$GSETTINGS_PKG_ERRORS" "$LINENO" 5
45342       else
45343         { $as_echo "$as_me:${as_lineno-$LINENO}: $GSETTINGS_PKG_ERRORS" >&5
45344 $as_echo "$as_me: $GSETTINGS_PKG_ERRORS" >&6;}
45345       fi
45346
45347 elif test $pkg_failed = untried; then
45348
45349       HAVE_GSETTINGS="no"
45350       if test "x$required" = "xyes"; then
45351         as_fn_error $? "$GSETTINGS_PKG_ERRORS" "$LINENO" 5
45352       else
45353         { $as_echo "$as_me:${as_lineno-$LINENO}: $GSETTINGS_PKG_ERRORS" >&5
45354 $as_echo "$as_me: $GSETTINGS_PKG_ERRORS" >&6;}
45355       fi
45356
45357 else
45358         GSETTINGS_CFLAGS=$pkg_cv_GSETTINGS_CFLAGS
45359         GSETTINGS_LIBS=$pkg_cv_GSETTINGS_LIBS
45360         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45361 $as_echo "yes" >&6; }
45362
45363       HAVE_GSETTINGS="yes"
45364
45365 fi
45366
45367
45368   if test "x$HAVE_GSETTINGS" = "xyes"; then
45369
45370
45371   # Check whether --enable-schemas-compile was given.
45372 if test "${enable_schemas_compile+set}" = set; then :
45373   enableval=$enable_schemas_compile; case ${enableval} in
45374                   yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE=""  ;;
45375                   no)  GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;;
45376                   *) as_fn_error $? "bad value ${enableval} for --enable-schemas-compile" "$LINENO" 5 ;;
45377                  esac
45378 fi
45379
45380
45381
45382
45383 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
45384         if test -n "$ac_tool_prefix"; then
45385   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
45386 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
45387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
45388 $as_echo_n "checking for $ac_word... " >&6; }
45389 if ${ac_cv_path_PKG_CONFIG+:} false; then :
45390   $as_echo_n "(cached) " >&6
45391 else
45392   case $PKG_CONFIG in
45393   [\\/]* | ?:[\\/]*)
45394   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
45395   ;;
45396   *)
45397   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45398 for as_dir in $PATH
45399 do
45400   IFS=$as_save_IFS
45401   test -z "$as_dir" && as_dir=.
45402     for ac_exec_ext in '' $ac_executable_extensions; do
45403   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45404     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
45405     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
45406     break 2
45407   fi
45408 done
45409   done
45410 IFS=$as_save_IFS
45411
45412   ;;
45413 esac
45414 fi
45415 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
45416 if test -n "$PKG_CONFIG"; then
45417   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
45418 $as_echo "$PKG_CONFIG" >&6; }
45419 else
45420   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
45421 $as_echo "no" >&6; }
45422 fi
45423
45424
45425 fi
45426 if test -z "$ac_cv_path_PKG_CONFIG"; then
45427   ac_pt_PKG_CONFIG=$PKG_CONFIG
45428   # Extract the first word of "pkg-config", so it can be a program name with args.
45429 set dummy pkg-config; ac_word=$2
45430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
45431 $as_echo_n "checking for $ac_word... " >&6; }
45432 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
45433   $as_echo_n "(cached) " >&6
45434 else
45435   case $ac_pt_PKG_CONFIG in
45436   [\\/]* | ?:[\\/]*)
45437   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
45438   ;;
45439   *)
45440   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45441 for as_dir in $PATH
45442 do
45443   IFS=$as_save_IFS
45444   test -z "$as_dir" && as_dir=.
45445     for ac_exec_ext in '' $ac_executable_extensions; do
45446   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45447     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
45448     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
45449     break 2
45450   fi
45451 done
45452   done
45453 IFS=$as_save_IFS
45454
45455   ;;
45456 esac
45457 fi
45458 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
45459 if test -n "$ac_pt_PKG_CONFIG"; then
45460   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
45461 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
45462 else
45463   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
45464 $as_echo "no" >&6; }
45465 fi
45466
45467   if test "x$ac_pt_PKG_CONFIG" = x; then
45468     PKG_CONFIG=""
45469   else
45470     case $cross_compiling:$ac_tool_warned in
45471 yes:)
45472 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
45473 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
45474 ac_tool_warned=yes ;;
45475 esac
45476     PKG_CONFIG=$ac_pt_PKG_CONFIG
45477   fi
45478 else
45479   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
45480 fi
45481
45482 fi
45483 if test -n "$PKG_CONFIG"; then
45484         _pkg_min_version=0.16
45485         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
45486 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
45487         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
45488                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45489 $as_echo "yes" >&6; }
45490         else
45491                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
45492 $as_echo "no" >&6; }
45493                 PKG_CONFIG=""
45494         fi
45495
45496 fi
45497   gsettingsschemadir=${datadir}/glib-2.0/schemas
45498
45499   if test x$cross_compiling != xyes; then
45500     GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable glib_compile_schemas gio-2.0`
45501   else
45502     # Extract the first word of "glib-compile-schemas", so it can be a program name with args.
45503 set dummy glib-compile-schemas; ac_word=$2
45504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
45505 $as_echo_n "checking for $ac_word... " >&6; }
45506 if ${ac_cv_path_GLIB_COMPILE_SCHEMAS+:} false; then :
45507   $as_echo_n "(cached) " >&6
45508 else
45509   case $GLIB_COMPILE_SCHEMAS in
45510   [\\/]* | ?:[\\/]*)
45511   ac_cv_path_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS" # Let the user override the test with a path.
45512   ;;
45513   *)
45514   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45515 for as_dir in $PATH
45516 do
45517   IFS=$as_save_IFS
45518   test -z "$as_dir" && as_dir=.
45519     for ac_exec_ext in '' $ac_executable_extensions; do
45520   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45521     ac_cv_path_GLIB_COMPILE_SCHEMAS="$as_dir/$ac_word$ac_exec_ext"
45522     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
45523     break 2
45524   fi
45525 done
45526   done
45527 IFS=$as_save_IFS
45528
45529   ;;
45530 esac
45531 fi
45532 GLIB_COMPILE_SCHEMAS=$ac_cv_path_GLIB_COMPILE_SCHEMAS
45533 if test -n "$GLIB_COMPILE_SCHEMAS"; then
45534   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_COMPILE_SCHEMAS" >&5
45535 $as_echo "$GLIB_COMPILE_SCHEMAS" >&6; }
45536 else
45537   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
45538 $as_echo "no" >&6; }
45539 fi
45540
45541
45542   fi
45543
45544   if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then
45545     as_fn_error $? "glib-compile-schemas not found." "$LINENO" 5
45546   else
45547     :
45548   fi
45549
45550   GSETTINGS_RULES='
45551 .PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas
45552
45553 mostlyclean-am: clean-gsettings-schemas
45554
45555 gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE))
45556
45557 %.gschema.valid: %.gschema.xml $(gsettings__enum_file)
45558         $(AM_V_GEN) if test -f "$<"; then d=; else d="$(srcdir)/"; fi; $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$${d}$< && touch $@
45559
45560 all-am: $(gsettings_SCHEMAS:.xml=.valid)
45561 uninstall-am: uninstall-gsettings-schemas
45562 install-data-am: install-gsettings-schemas
45563
45564 .SECONDARY: $(gsettings_SCHEMAS)
45565
45566 install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file)
45567         @$(NORMAL_INSTALL)
45568         if test -n "$^"; then \
45569                 test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \
45570                 $(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \
45571                 test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \
45572         fi
45573
45574 uninstall-gsettings-schemas:
45575         @$(NORMAL_UNINSTALL)
45576         @list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \
45577         files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \
45578         test -n "$$files" || exit 0; \
45579         echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \
45580         cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files
45581         test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
45582
45583 clean-gsettings-schemas:
45584         rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file)
45585
45586 ifdef gsettings_ENUM_NAMESPACE
45587 $(gsettings__enum_file): $(gsettings_ENUM_FILES)
45588         $(AM_V_GEN) glib-mkenums --comments '\''<!-- @comment@ -->'\'' --fhead "<schemalist>" --vhead "  <@type@ id='\''$(gsettings_ENUM_NAMESPACE).@EnumName@'\''>" --vprod "    <value nick='\''@valuenick@'\'' value='\''@valuenum@'\''/>" --vtail "  </@type@>" --ftail "</schemalist>" $^ > $@.tmp && mv $@.tmp $@
45589 endif
45590 '
45591
45592
45593
45594
45595
45596
45597   fi
45598
45599
45600   LIBS=$gst_check_save_LIBS
45601   LDFLAGS=$gst_check_save_LDFLAGS
45602   CFLAGS=$gst_check_save_CFLAGS
45603   CPPFLAGS=$gst_check_save_CPPFLAGS
45604   CXXFLAGS=$gst_check_save_CXXFLAGS
45605
45606     if test x$HAVE_GSETTINGS = xno; then
45607     USE_GSETTINGS=no
45608   else
45609     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: gsettings" >&5
45610 $as_echo "$as_me: *** These plugins will be built: gsettings" >&6;}
45611   fi
45612 fi
45613 if test x$USE_GSETTINGS = xyes; then
45614   :
45615   if test "xgsettings" != "x"; then
45616     GST_PLUGINS_YES="\tgsettings\n$GST_PLUGINS_YES"
45617   fi
45618
45619 $as_echo "#define HAVE_GSETTINGS /**/" >>confdefs.h
45620
45621 else
45622   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: gsettings" >&5
45623 $as_echo "$as_me: *** These plugins will not be built: gsettings" >&6;}
45624   if test "xgsettings" != "x"; then
45625     GST_PLUGINS_NO="\tgsettings\n$GST_PLUGINS_NO"
45626   fi
45627   :
45628 fi
45629  if test x$USE_GSETTINGS = xyes; then
45630   USE_GSETTINGS_TRUE=
45631   USE_GSETTINGS_FALSE='#'
45632 else
45633   USE_GSETTINGS_TRUE='#'
45634   USE_GSETTINGS_FALSE=
45635 fi
45636
45637
45638
45639 else
45640
45641
45642  if false; then
45643   USE_ASSRENDER_TRUE=
45644   USE_ASSRENDER_FALSE='#'
45645 else
45646   USE_ASSRENDER_TRUE='#'
45647   USE_ASSRENDER_FALSE=
45648 fi
45649
45650  if false; then
45651   USE_VOAMRWBENC_TRUE=
45652   USE_VOAMRWBENC_FALSE='#'
45653 else
45654   USE_VOAMRWBENC_TRUE='#'
45655   USE_VOAMRWBENC_FALSE=
45656 fi
45657
45658  if false; then
45659   USE_VOAACENC_TRUE=
45660   USE_VOAACENC_FALSE='#'
45661 else
45662   USE_VOAACENC_TRUE='#'
45663   USE_VOAACENC_FALSE=
45664 fi
45665
45666  if false; then
45667   USE_APEXSINK_TRUE=
45668   USE_APEXSINK_FALSE='#'
45669 else
45670   USE_APEXSINK_TRUE='#'
45671   USE_APEXSINK_FALSE=
45672 fi
45673
45674  if false; then
45675   USE_BZ2_TRUE=
45676   USE_BZ2_FALSE='#'
45677 else
45678   USE_BZ2_TRUE='#'
45679   USE_BZ2_FALSE=
45680 fi
45681
45682  if false; then
45683   USE_CDAUDIO_TRUE=
45684   USE_CDAUDIO_FALSE='#'
45685 else
45686   USE_CDAUDIO_TRUE='#'
45687   USE_CDAUDIO_FALSE=
45688 fi
45689
45690  if false; then
45691   USE_CELT_TRUE=
45692   USE_CELT_FALSE='#'
45693 else
45694   USE_CELT_TRUE='#'
45695   USE_CELT_FALSE=
45696 fi
45697
45698  if false; then
45699   USE_COG_TRUE=
45700   USE_COG_FALSE='#'
45701 else
45702   USE_COG_TRUE='#'
45703   USE_COG_FALSE=
45704 fi
45705
45706  if false; then
45707   USE_CURL_TRUE=
45708   USE_CURL_FALSE='#'
45709 else
45710   USE_CURL_TRUE='#'
45711   USE_CURL_FALSE=
45712 fi
45713
45714  if false; then
45715   USE_DC1394_TRUE=
45716   USE_DC1394_FALSE='#'
45717 else
45718   USE_DC1394_TRUE='#'
45719   USE_DC1394_FALSE=
45720 fi
45721
45722  if false; then
45723   USE_DECKLINK_TRUE=
45724   USE_DECKLINK_FALSE='#'
45725 else
45726   USE_DECKLINK_TRUE='#'
45727   USE_DECKLINK_FALSE=
45728 fi
45729
45730  if false; then
45731   USE_DIRECTFB_TRUE=
45732   USE_DIRECTFB_FALSE='#'
45733 else
45734   USE_DIRECTFB_TRUE='#'
45735   USE_DIRECTFB_FALSE=
45736 fi
45737
45738  if false; then
45739   USE_DIRAC_TRUE=
45740   USE_DIRAC_FALSE='#'
45741 else
45742   USE_DIRAC_TRUE='#'
45743   USE_DIRAC_FALSE=
45744 fi
45745
45746  if false; then
45747   USE_DTS_TRUE=
45748   USE_DTS_FALSE='#'
45749 else
45750   USE_DTS_TRUE='#'
45751   USE_DTS_FALSE=
45752 fi
45753
45754  if false; then
45755   USE_DIVX_TRUE=
45756   USE_DIVX_FALSE='#'
45757 else
45758   USE_DIVX_TRUE='#'
45759   USE_DIVX_FALSE=
45760 fi
45761
45762  if false; then
45763   USE_EXIF_TRUE=
45764   USE_EXIF_FALSE='#'
45765 else
45766   USE_EXIF_TRUE='#'
45767   USE_EXIF_FALSE=
45768 fi
45769
45770  if false; then
45771   USE_RESINDVD_TRUE=
45772   USE_RESINDVD_FALSE='#'
45773 else
45774   USE_RESINDVD_TRUE='#'
45775   USE_RESINDVD_FALSE=
45776 fi
45777
45778  if false; then
45779   USE_FAAC_TRUE=
45780   USE_FAAC_FALSE='#'
45781 else
45782   USE_FAAC_TRUE='#'
45783   USE_FAAC_FALSE=
45784 fi
45785
45786  if false; then
45787   USE_FAAD_TRUE=
45788   USE_FAAD_FALSE='#'
45789 else
45790   USE_FAAD_TRUE='#'
45791   USE_FAAD_FALSE=
45792 fi
45793
45794  if false; then
45795   USE_FBDEV_TRUE=
45796   USE_FBDEV_FALSE='#'
45797 else
45798   USE_FBDEV_TRUE='#'
45799   USE_FBDEV_FALSE=
45800 fi
45801
45802  if false; then
45803   USE_FLITE_TRUE=
45804   USE_FLITE_FALSE='#'
45805 else
45806   USE_FLITE_TRUE='#'
45807   USE_FLITE_FALSE=
45808 fi
45809
45810  if false; then
45811   USE_GSM_TRUE=
45812   USE_GSM_FALSE='#'
45813 else
45814   USE_GSM_TRUE='#'
45815   USE_GSM_FALSE=
45816 fi
45817
45818  if false; then
45819   USE_JP2K_TRUE=
45820   USE_JP2K_FALSE='#'
45821 else
45822   USE_JP2K_TRUE='#'
45823   USE_JP2K_FALSE=
45824 fi
45825
45826  if false; then
45827   USE_KATE_TRUE=
45828   USE_KATE_FALSE='#'
45829 else
45830   USE_KATE_TRUE='#'
45831   USE_KATE_FALSE=
45832 fi
45833
45834  if false; then
45835   USE_TIGER_TRUE=
45836   USE_TIGER_FALSE='#'
45837 else
45838   USE_TIGER_TRUE='#'
45839   USE_TIGER_FALSE=
45840 fi
45841
45842  if false; then
45843   USE_LADSPA_TRUE=
45844   USE_LADSPA_FALSE='#'
45845 else
45846   USE_LADSPA_TRUE='#'
45847   USE_LADSPA_FALSE=
45848 fi
45849
45850  if false; then
45851   USE_LV2_TRUE=
45852   USE_LV2_FALSE='#'
45853 else
45854   USE_LV2_TRUE='#'
45855   USE_LV2_FALSE=
45856 fi
45857
45858  if false; then
45859   USE_LIBMMS_TRUE=
45860   USE_LIBMMS_FALSE='#'
45861 else
45862   USE_LIBMMS_TRUE='#'
45863   USE_LIBMMS_FALSE=
45864 fi
45865
45866  if false; then
45867   USE_LINSYS_TRUE=
45868   USE_LINSYS_FALSE='#'
45869 else
45870   USE_LINSYS_TRUE='#'
45871   USE_LINSYS_FALSE=
45872 fi
45873
45874  if false; then
45875   USE_MODPLUG_TRUE=
45876   USE_MODPLUG_FALSE='#'
45877 else
45878   USE_MODPLUG_TRUE='#'
45879   USE_MODPLUG_FALSE=
45880 fi
45881
45882  if false; then
45883   USE_MIMIC_TRUE=
45884   USE_MIMIC_FALSE='#'
45885 else
45886   USE_MIMIC_TRUE='#'
45887   USE_MIMIC_FALSE=
45888 fi
45889
45890  if false; then
45891   USE_MPEG2ENC_TRUE=
45892   USE_MPEG2ENC_FALSE='#'
45893 else
45894   USE_MPEG2ENC_TRUE='#'
45895   USE_MPEG2ENC_FALSE=
45896 fi
45897
45898  if false; then
45899   USE_MPLEX_TRUE=
45900   USE_MPLEX_FALSE='#'
45901 else
45902   USE_MPLEX_TRUE='#'
45903   USE_MPLEX_FALSE=
45904 fi
45905
45906  if false; then
45907   USE_MUSEPACK_TRUE=
45908   USE_MUSEPACK_FALSE='#'
45909 else
45910   USE_MUSEPACK_TRUE='#'
45911   USE_MUSEPACK_FALSE=
45912 fi
45913
45914  if false; then
45915   USE_MUSICBRAINZ_TRUE=
45916   USE_MUSICBRAINZ_FALSE='#'
45917 else
45918   USE_MUSICBRAINZ_TRUE='#'
45919   USE_MUSICBRAINZ_FALSE=
45920 fi
45921
45922  if false; then
45923   USE_MYTHTV_TRUE=
45924   USE_MYTHTV_FALSE='#'
45925 else
45926   USE_MYTHTV_TRUE='#'
45927   USE_MYTHTV_FALSE=
45928 fi
45929
45930  if false; then
45931   USE_NAS_TRUE=
45932   USE_NAS_FALSE='#'
45933 else
45934   USE_NAS_TRUE='#'
45935   USE_NAS_FALSE=
45936 fi
45937
45938  if false; then
45939   USE_NEON_TRUE=
45940   USE_NEON_FALSE='#'
45941 else
45942   USE_NEON_TRUE='#'
45943   USE_NEON_FALSE=
45944 fi
45945
45946  if false; then
45947   USE_OFA_TRUE=
45948   USE_OFA_FALSE='#'
45949 else
45950   USE_OFA_TRUE='#'
45951   USE_OFA_FALSE=
45952 fi
45953
45954  if false; then
45955   USE_OPENAL_TRUE=
45956   USE_OPENAL_FALSE='#'
45957 else
45958   USE_OPENAL_TRUE='#'
45959   USE_OPENAL_FALSE=
45960 fi
45961
45962  if false; then
45963   USE_OPENCV_TRUE=
45964   USE_OPENCV_FALSE='#'
45965 else
45966   USE_OPENCV_TRUE='#'
45967   USE_OPENCV_FALSE=
45968 fi
45969
45970  if false; then
45971   USE_OPUS_TRUE=
45972   USE_OPUS_FALSE='#'
45973 else
45974   USE_OPUS_TRUE='#'
45975   USE_OPUS_FALSE=
45976 fi
45977
45978  if false; then
45979   USE_PVR_TRUE=
45980   USE_PVR_FALSE='#'
45981 else
45982   USE_PVR_TRUE='#'
45983   USE_PVR_FALSE=
45984 fi
45985
45986  if false; then
45987   USE_RSVG_TRUE=
45988   USE_RSVG_FALSE='#'
45989 else
45990   USE_RSVG_TRUE='#'
45991   USE_RSVG_FALSE=
45992 fi
45993
45994  if false; then
45995   USE_TIMIDITY_TRUE=
45996   USE_TIMIDITY_FALSE='#'
45997 else
45998   USE_TIMIDITY_TRUE='#'
45999   USE_TIMIDITY_FALSE=
46000 fi
46001
46002  if false; then
46003   USE_WILDMIDI_TRUE=
46004   USE_WILDMIDI_FALSE='#'
46005 else
46006   USE_WILDMIDI_TRUE='#'
46007   USE_WILDMIDI_FALSE=
46008 fi
46009
46010  if false; then
46011   USE_SDL_TRUE=
46012   USE_SDL_FALSE='#'
46013 else
46014   USE_SDL_TRUE='#'
46015   USE_SDL_FALSE=
46016 fi
46017
46018  if false; then
46019   USE_SNDFILE_TRUE=
46020   USE_SNDFILE_FALSE='#'
46021 else
46022   USE_SNDFILE_TRUE='#'
46023   USE_SNDFILE_FALSE=
46024 fi
46025
46026  if false; then
46027   USE_SOUNDTOUCH_TRUE=
46028   USE_SOUNDTOUCH_FALSE='#'
46029 else
46030   USE_SOUNDTOUCH_TRUE='#'
46031   USE_SOUNDTOUCH_FALSE=
46032 fi
46033
46034  if false; then
46035   USE_SPANDSP_TRUE=
46036   USE_SPANDSP_FALSE='#'
46037 else
46038   USE_SPANDSP_TRUE='#'
46039   USE_SPANDSP_FALSE=
46040 fi
46041
46042  if false; then
46043   USE_SPC_TRUE=
46044   USE_SPC_FALSE='#'
46045 else
46046   USE_SPC_TRUE='#'
46047   USE_SPC_FALSE=
46048 fi
46049
46050  if false; then
46051   USE_GME_TRUE=
46052   USE_GME_FALSE='#'
46053 else
46054   USE_GME_TRUE='#'
46055   USE_GME_FALSE=
46056 fi
46057
46058  if false; then
46059   USE_GSETTINGS_TRUE=
46060   USE_GSETTINGS_FALSE='#'
46061 else
46062   USE_GSETTINGS_TRUE='#'
46063   USE_GSETTINGS_FALSE=
46064 fi
46065
46066  if false; then
46067   USE_SWFDEC_TRUE=
46068   USE_SWFDEC_FALSE='#'
46069 else
46070   USE_SWFDEC_TRUE='#'
46071   USE_SWFDEC_FALSE=
46072 fi
46073
46074  if false; then
46075   USE_XVID_TRUE=
46076   USE_XVID_FALSE='#'
46077 else
46078   USE_XVID_TRUE='#'
46079   USE_XVID_FALSE=
46080 fi
46081
46082  if false; then
46083   USE_DVB_TRUE=
46084   USE_DVB_FALSE='#'
46085 else
46086   USE_DVB_TRUE='#'
46087   USE_DVB_FALSE=
46088 fi
46089
46090  if false; then
46091   USE_WININET_TRUE=
46092   USE_WININET_FALSE='#'
46093 else
46094   USE_WININET_TRUE='#'
46095   USE_WININET_FALSE=
46096 fi
46097
46098  if false; then
46099   USE_ACM_TRUE=
46100   USE_ACM_FALSE='#'
46101 else
46102   USE_ACM_TRUE='#'
46103   USE_ACM_FALSE=
46104 fi
46105
46106  if false; then
46107   USE_VDPAU_TRUE=
46108   USE_VDPAU_FALSE='#'
46109 else
46110   USE_VDPAU_TRUE='#'
46111   USE_VDPAU_FALSE=
46112 fi
46113
46114  if false; then
46115   USE_SCHRO_TRUE=
46116   USE_SCHRO_FALSE='#'
46117 else
46118   USE_SCHRO_TRUE='#'
46119   USE_SCHRO_FALSE=
46120 fi
46121
46122  if false; then
46123   USE_ZBAR_TRUE=
46124   USE_ZBAR_FALSE='#'
46125 else
46126   USE_ZBAR_TRUE='#'
46127   USE_ZBAR_FALSE=
46128 fi
46129
46130  if false; then
46131   USE_VP8_TRUE=
46132   USE_VP8_FALSE='#'
46133 else
46134   USE_VP8_TRUE='#'
46135   USE_VP8_FALSE=
46136 fi
46137
46138  if false; then
46139   USE_RTMP_TRUE=
46140   USE_RTMP_FALSE='#'
46141 else
46142   USE_RTMP_TRUE='#'
46143   USE_RTMP_FALSE=
46144 fi
46145
46146  if false; then
46147   USE_TELETEXTDEC_TRUE=
46148   USE_TELETEXTDEC_FALSE='#'
46149 else
46150   USE_TELETEXTDEC_TRUE='#'
46151   USE_TELETEXTDEC_FALSE=
46152 fi
46153
46154
46155 fi
46156
46157
46158 if test "x$USE_DEBUG" = xyes; then
46159    PROFILE_CFLAGS="-g"
46160 fi
46161
46162
46163 if test "x$PACKAGE_VERSION_NANO" = "x1"; then
46164     DEPRECATED_CFLAGS="-DGST_DISABLE_DEPRECATED"
46165 else
46166   DEPRECATED_CFLAGS=""
46167 fi
46168
46169
46170 GST_OPTION_CFLAGS="\$(WARNING_CFLAGS) \$(ERROR_CFLAGS) \$(DEBUG_CFLAGS) \$(PROFILE_CFLAGS) \$(GCOV_CFLAGS) \$(OPT_CFLAGS) \$(DEPRECATED_CFLAGS)"
46171 GST_OPTION_CXXFLAGS="\$(WARNING_CXXFLAGS) \$(ERROR_CXXFLAGS) \$(DEBUG_CFLAGS) \$(PROFILE_CFLAGS) \$(GCOV_CFLAGS) \$(OPT_CFLAGS) \$(DEPRECATED_CFLAGS)"
46172
46173
46174
46175 GST_CXXFLAGS="$GST_CFLAGS $GLIB_EXTRA_CFLAGS \$(GST_OPTION_CXXFLAGS)"
46176 GST_CFLAGS="$GST_CFLAGS $GLIB_EXTRA_CFLAGS \$(GST_OPTION_CFLAGS)"
46177
46178
46179
46180 GST_PLUGINS_BAD_CXXFLAGS="-I\$(top_srcdir)/gst-libs -I\$(top_builddir)/gst-libs"
46181 GST_PLUGINS_BAD_CFLAGS="-I\$(top_srcdir)/gst-libs -I\$(top_builddir)/gst-libs"
46182
46183
46184
46185 GST_ALL_LDFLAGS="-no-undefined"
46186
46187
46188 GST_LIB_LDFLAGS="-export-symbols-regex ^_?\(gst_\|Gst\|GST_\).*"
46189
46190
46191 GST_PLUGIN_LDFLAGS="-module -avoid-version -export-symbols-regex '^_*gst_plugin_desc.*' $GST_ALL_LDFLAGS"
46192
46193
46194
46195
46196 ac_config_files="$ac_config_files Makefile common/Makefile common/m4/Makefile gst-plugins-bad.spec gst/Makefile gst/adpcmdec/Makefile gst/adpcmenc/Makefile gst/aiff/Makefile gst/asfmux/Makefile gst/audiovisualizers/Makefile gst/autoconvert/Makefile gst/bayer/Makefile gst/camerabin/Makefile gst/camerabin2/Makefile gst/cdxaparse/Makefile gst/colorspace/Makefile gst/coloreffects/Makefile gst/dataurisrc/Makefile gst/dccp/Makefile gst/debugutils/Makefile gst/dtmf/Makefile gst/dvbsuboverlay/Makefile gst/dvdspu/Makefile gst/faceoverlay/Makefile gst/festival/Makefile gst/fieldanalysis/Makefile gst/freeze/Makefile gst/freeverb/Makefile gst/frei0r/Makefile gst/gaudieffects/Makefile gst/geometrictransform/Makefile gst/h264parse/Makefile gst/hdvparse/Makefile gst/hls/Makefile gst/id3tag/Makefile gst/inter/Makefile gst/interlace/Makefile gst/ivfparse/Makefile gst/jp2kdecimator/Makefile gst/jpegformat/Makefile gst/legacyresample/Makefile gst/librfb/Makefile gst/liveadder/Makefile gst/mpegdemux/Makefile gst/mpegtsdemux/Makefile gst/mpegtsmux/Makefile gst/mpegtsmux/tsmux/Makefile gst/mpegpsmux/Makefile gst/mpegvideoparse/Makefile gst/mve/Makefile gst/mxf/Makefile gst/nsf/Makefile gst/nuvdemux/Makefile gst/patchdetect/Makefile gst/pcapparse/Makefile gst/pnm/Makefile gst/rawparse/Makefile gst/real/Makefile gst/removesilence/Makefile gst/rtpmux/Makefile gst/rtpvp8/Makefile gst/scaletempo/Makefile gst/sdi/Makefile gst/sdp/Makefile gst/segmentclip/Makefile gst/siren/Makefile gst/smooth/Makefile gst/speed/Makefile gst/subenc/Makefile gst/stereo/Makefile gst/tta/Makefile gst/videofilters/Makefile gst/videomaxrate/Makefile gst/videomeasure/Makefile gst/videoparsers/Makefile gst/videosignal/Makefile gst/vmnc/Makefile gst/y4m/Makefile gst-libs/Makefile gst-libs/gst/Makefile gst-libs/gst/basecamerabinsrc/Makefile gst-libs/gst/interfaces/Makefile gst-libs/gst/signalprocessor/Makefile gst-libs/gst/codecparsers/Makefile gst-libs/gst/video/Makefile sys/Makefile sys/dshowdecwrapper/Makefile sys/acmenc/Makefile sys/acmmp3dec/Makefile sys/applemedia/Makefile sys/avc/Makefile sys/d3dvideosink/Makefile sys/decklink/Makefile sys/directdraw/Makefile sys/directsound/Makefile sys/dshowsrcwrapper/Makefile sys/dshowvideosink/Makefile sys/dvb/Makefile sys/fbdev/Makefile sys/linsys/Makefile sys/osxvideo/Makefile sys/qtwrapper/Makefile sys/shm/Makefile sys/vcd/Makefile sys/vdpau/Makefile sys/vdpau/gstvdp/Makefile sys/vdpau/basevideodecoder/Makefile sys/pvr2d/Makefile sys/wasapi/Makefile sys/wininet/Makefile sys/winks/Makefile sys/winscreencap/Makefile tests/Makefile tests/check/Makefile tests/files/Makefile tests/examples/Makefile tests/examples/camerabin/Makefile tests/examples/camerabin2/Makefile tests/examples/directfb/Makefile tests/examples/mxf/Makefile tests/examples/scaletempo/Makefile tests/examples/opencv/Makefile tests/icles/Makefile ext/voamrwbenc/Makefile ext/voaacenc/Makefile ext/assrender/Makefile ext/apexsink/Makefile ext/bz2/Makefile ext/cdaudio/Makefile ext/celt/Makefile ext/cog/Makefile ext/curl/Makefile ext/dc1394/Makefile ext/dirac/Makefile ext/directfb/Makefile ext/divx/Makefile ext/dts/Makefile ext/faac/Makefile ext/faad/Makefile ext/flite/Makefile ext/gsm/Makefile ext/jp2k/Makefile ext/kate/Makefile ext/ladspa/Makefile ext/lv2/Makefile ext/libmms/Makefile ext/Makefile ext/modplug/Makefile ext/mpeg2enc/Makefile ext/mimic/Makefile ext/mplex/Makefile ext/musepack/Makefile ext/musicbrainz/Makefile ext/mythtv/Makefile ext/nas/Makefile ext/neon/Makefile ext/ofa/Makefile ext/openal/Makefile ext/opencv/Makefile ext/opus/Makefile ext/rsvg/Makefile ext/resindvd/Makefile ext/rtmp/Makefile ext/schroedinger/Makefile ext/sdl/Makefile ext/sndfile/Makefile ext/soundtouch/Makefile ext/spandsp/Makefile ext/teletextdec/Makefile ext/gme/Makefile ext/gsettings/Makefile ext/gsettings/org.freedesktop.gstreamer.default-elements.gschema.xml ext/spc/Makefile ext/swfdec/Makefile ext/timidity/Makefile ext/vp8/Makefile ext/xvid/Makefile ext/zbar/Makefile po/Makefile.in docs/Makefile docs/plugins/Makefile docs/libs/Makefile docs/version.entities pkgconfig/Makefile pkgconfig/gstreamer-plugins-bad.pc pkgconfig/gstreamer-plugins-bad-uninstalled.pc pkgconfig/gstreamer-codecparsers.pc pkgconfig/gstreamer-codecparsers-uninstalled.pc pkgconfig/gstreamer-basevideo.pc pkgconfig/gstreamer-basevideo-uninstalled.pc tools/Makefile m4/Makefile win32/common/config.h"
46197
46198 cat >confcache <<\_ACEOF
46199 # This file is a shell script that caches the results of configure
46200 # tests run on this system so they can be shared between configure
46201 # scripts and configure runs, see configure's option --config-cache.
46202 # It is not useful on other systems.  If it contains results you don't
46203 # want to keep, you may remove or edit it.
46204 #
46205 # config.status only pays attention to the cache file if you give it
46206 # the --recheck option to rerun configure.
46207 #
46208 # `ac_cv_env_foo' variables (set or unset) will be overridden when
46209 # loading this file, other *unset* `ac_cv_foo' will be assigned the
46210 # following values.
46211
46212 _ACEOF
46213
46214 # The following way of writing the cache mishandles newlines in values,
46215 # but we know of no workaround that is simple, portable, and efficient.
46216 # So, we kill variables containing newlines.
46217 # Ultrix sh set writes to stderr and can't be redirected directly,
46218 # and sets the high bit in the cache file unless we assign to the vars.
46219 (
46220   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
46221     eval ac_val=\$$ac_var
46222     case $ac_val in #(
46223     *${as_nl}*)
46224       case $ac_var in #(
46225       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
46226 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
46227       esac
46228       case $ac_var in #(
46229       _ | IFS | as_nl) ;; #(
46230       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
46231       *) { eval $ac_var=; unset $ac_var;} ;;
46232       esac ;;
46233     esac
46234   done
46235
46236   (set) 2>&1 |
46237     case $as_nl`(ac_space=' '; set) 2>&1` in #(
46238     *${as_nl}ac_space=\ *)
46239       # `set' does not quote correctly, so add quotes: double-quote
46240       # substitution turns \\\\ into \\, and sed turns \\ into \.
46241       sed -n \
46242         "s/'/'\\\\''/g;
46243           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
46244       ;; #(
46245     *)
46246       # `set' quotes correctly as required by POSIX, so do not add quotes.
46247       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
46248       ;;
46249     esac |
46250     sort
46251 ) |
46252   sed '
46253      /^ac_cv_env_/b end
46254      t clear
46255      :clear
46256      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
46257      t end
46258      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
46259      :end' >>confcache
46260 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
46261   if test -w "$cache_file"; then
46262     if test "x$cache_file" != "x/dev/null"; then
46263       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
46264 $as_echo "$as_me: updating cache $cache_file" >&6;}
46265       if test ! -f "$cache_file" || test -h "$cache_file"; then
46266         cat confcache >"$cache_file"
46267       else
46268         case $cache_file in #(
46269         */* | ?:*)
46270           mv -f confcache "$cache_file"$$ &&
46271           mv -f "$cache_file"$$ "$cache_file" ;; #(
46272         *)
46273           mv -f confcache "$cache_file" ;;
46274         esac
46275       fi
46276     fi
46277   else
46278     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
46279 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
46280   fi
46281 fi
46282 rm -f confcache
46283
46284 test "x$prefix" = xNONE && prefix=$ac_default_prefix
46285 # Let make expand exec_prefix.
46286 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
46287
46288 DEFS=-DHAVE_CONFIG_H
46289
46290 ac_libobjs=
46291 ac_ltlibobjs=
46292 U=
46293 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
46294   # 1. Remove the extension, and $U if already installed.
46295   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
46296   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
46297   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
46298   #    will be set to the directory where LIBOBJS objects are built.
46299   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
46300   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
46301 done
46302 LIBOBJS=$ac_libobjs
46303
46304 LTLIBOBJS=$ac_ltlibobjs
46305
46306
46307  if test -n "$EXEEXT"; then
46308   am__EXEEXT_TRUE=
46309   am__EXEEXT_FALSE='#'
46310 else
46311   am__EXEEXT_TRUE='#'
46312   am__EXEEXT_FALSE=
46313 fi
46314
46315 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
46316   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
46317 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46318 fi
46319 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
46320   as_fn_error $? "conditional \"AMDEP\" was never defined.
46321 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46322 fi
46323 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
46324   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
46325 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46326 fi
46327 if test -z "${GST_GCOV_ENABLED_TRUE}" && test -z "${GST_GCOV_ENABLED_FALSE}"; then
46328   as_fn_error $? "conditional \"GST_GCOV_ENABLED\" was never defined.
46329 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46330 fi
46331 if test -z "${BUILD_EXAMPLES_TRUE}" && test -z "${BUILD_EXAMPLES_FALSE}"; then
46332   as_fn_error $? "conditional \"BUILD_EXAMPLES\" was never defined.
46333 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46334 fi
46335 if test -z "${USE_EXTERNAL_TRUE}" && test -z "${USE_EXTERNAL_FALSE}"; then
46336   as_fn_error $? "conditional \"USE_EXTERNAL\" was never defined.
46337 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46338 fi
46339 if test -z "${BUILD_EXTERNAL_TRUE}" && test -z "${BUILD_EXTERNAL_FALSE}"; then
46340   as_fn_error $? "conditional \"BUILD_EXTERNAL\" was never defined.
46341 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46342 fi
46343 if test -z "${USE_EXPERIMENTAL_TRUE}" && test -z "${USE_EXPERIMENTAL_FALSE}"; then
46344   as_fn_error $? "conditional \"USE_EXPERIMENTAL\" was never defined.
46345 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46346 fi
46347 if test -z "${BUILD_EXPERIMENTAL_TRUE}" && test -z "${BUILD_EXPERIMENTAL_FALSE}"; then
46348   as_fn_error $? "conditional \"BUILD_EXPERIMENTAL\" was never defined.
46349 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46350 fi
46351
46352 if test -z "${HAVE_CPU_I386_TRUE}" && test -z "${HAVE_CPU_I386_FALSE}"; then
46353   as_fn_error $? "conditional \"HAVE_CPU_I386\" was never defined.
46354 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46355 fi
46356 if test -z "${HAVE_CPU_PPC_TRUE}" && test -z "${HAVE_CPU_PPC_FALSE}"; then
46357   as_fn_error $? "conditional \"HAVE_CPU_PPC\" was never defined.
46358 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46359 fi
46360 if test -z "${HAVE_CPU_PPC64_TRUE}" && test -z "${HAVE_CPU_PPC64_FALSE}"; then
46361   as_fn_error $? "conditional \"HAVE_CPU_PPC64\" was never defined.
46362 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46363 fi
46364 if test -z "${HAVE_CPU_ALPHA_TRUE}" && test -z "${HAVE_CPU_ALPHA_FALSE}"; then
46365   as_fn_error $? "conditional \"HAVE_CPU_ALPHA\" was never defined.
46366 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46367 fi
46368 if test -z "${HAVE_CPU_ARM_TRUE}" && test -z "${HAVE_CPU_ARM_FALSE}"; then
46369   as_fn_error $? "conditional \"HAVE_CPU_ARM\" was never defined.
46370 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46371 fi
46372 if test -z "${HAVE_CPU_SPARC_TRUE}" && test -z "${HAVE_CPU_SPARC_FALSE}"; then
46373   as_fn_error $? "conditional \"HAVE_CPU_SPARC\" was never defined.
46374 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46375 fi
46376 if test -z "${HAVE_CPU_HPPA_TRUE}" && test -z "${HAVE_CPU_HPPA_FALSE}"; then
46377   as_fn_error $? "conditional \"HAVE_CPU_HPPA\" was never defined.
46378 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46379 fi
46380 if test -z "${HAVE_CPU_MIPS_TRUE}" && test -z "${HAVE_CPU_MIPS_FALSE}"; then
46381   as_fn_error $? "conditional \"HAVE_CPU_MIPS\" was never defined.
46382 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46383 fi
46384 if test -z "${HAVE_CPU_S390_TRUE}" && test -z "${HAVE_CPU_S390_FALSE}"; then
46385   as_fn_error $? "conditional \"HAVE_CPU_S390\" was never defined.
46386 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46387 fi
46388 if test -z "${HAVE_CPU_IA64_TRUE}" && test -z "${HAVE_CPU_IA64_FALSE}"; then
46389   as_fn_error $? "conditional \"HAVE_CPU_IA64\" was never defined.
46390 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46391 fi
46392 if test -z "${HAVE_CPU_M68K_TRUE}" && test -z "${HAVE_CPU_M68K_FALSE}"; then
46393   as_fn_error $? "conditional \"HAVE_CPU_M68K\" was never defined.
46394 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46395 fi
46396 if test -z "${HAVE_CPU_X86_64_TRUE}" && test -z "${HAVE_CPU_X86_64_FALSE}"; then
46397   as_fn_error $? "conditional \"HAVE_CPU_X86_64\" was never defined.
46398 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46399 fi
46400 if test -z "${HAVE_CPU_CRIS_TRUE}" && test -z "${HAVE_CPU_CRIS_FALSE}"; then
46401   as_fn_error $? "conditional \"HAVE_CPU_CRIS\" was never defined.
46402 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46403 fi
46404 if test -z "${HAVE_CPU_CRISV32_TRUE}" && test -z "${HAVE_CPU_CRISV32_FALSE}"; then
46405   as_fn_error $? "conditional \"HAVE_CPU_CRISV32\" was never defined.
46406 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46407 fi
46408
46409 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
46410   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
46411 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46412 fi
46413 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
46414   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
46415 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46416 fi
46417 if test -z "${am__fastdepOBJC_TRUE}" && test -z "${am__fastdepOBJC_FALSE}"; then
46418   as_fn_error $? "conditional \"am__fastdepOBJC\" was never defined.
46419 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46420 fi
46421 if test -z "${am__fastdepOBJC_TRUE}" && test -z "${am__fastdepOBJC_FALSE}"; then
46422   as_fn_error $? "conditional \"am__fastdepOBJC\" was never defined.
46423 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46424 fi
46425 if test -z "${HAVE_VALGRIND_TRUE}" && test -z "${HAVE_VALGRIND_FALSE}"; then
46426   as_fn_error $? "conditional \"HAVE_VALGRIND\" was never defined.
46427 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46428 fi
46429 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
46430   as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
46431 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46432 fi
46433 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
46434   as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
46435 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46436 fi
46437 if test -z "${ENABLE_PLUGIN_DOCS_TRUE}" && test -z "${ENABLE_PLUGIN_DOCS_FALSE}"; then
46438   as_fn_error $? "conditional \"ENABLE_PLUGIN_DOCS\" was never defined.
46439 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46440 fi
46441 if test -z "${HAVE_UNISTD_H_TRUE}" && test -z "${HAVE_UNISTD_H_FALSE}"; then
46442   as_fn_error $? "conditional \"HAVE_UNISTD_H\" was never defined.
46443 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46444 fi
46445 if test -z "${HAVE_PTHREAD_H_TRUE}" && test -z "${HAVE_PTHREAD_H_FALSE}"; then
46446   as_fn_error $? "conditional \"HAVE_PTHREAD_H\" was never defined.
46447 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46448 fi
46449 if test -z "${HAVE_GST_CHECK_TRUE}" && test -z "${HAVE_GST_CHECK_FALSE}"; then
46450   as_fn_error $? "conditional \"HAVE_GST_CHECK\" was never defined.
46451 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46452 fi
46453 if test -z "${HAVE_GTK_TRUE}" && test -z "${HAVE_GTK_FALSE}"; then
46454   as_fn_error $? "conditional \"HAVE_GTK\" was never defined.
46455 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46456 fi
46457 if test -z "${HAVE_X11_TRUE}" && test -z "${HAVE_X11_FALSE}"; then
46458   as_fn_error $? "conditional \"HAVE_X11\" was never defined.
46459 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46460 fi
46461 if test -z "${USE_EXIF_TRUE}" && test -z "${USE_EXIF_FALSE}"; then
46462   as_fn_error $? "conditional \"USE_EXIF\" was never defined.
46463 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46464 fi
46465 if test -z "${HAVE_ORC_TRUE}" && test -z "${HAVE_ORC_FALSE}"; then
46466   as_fn_error $? "conditional \"HAVE_ORC\" was never defined.
46467 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46468 fi
46469 if test -z "${HAVE_ORCC_TRUE}" && test -z "${HAVE_ORCC_FALSE}"; then
46470   as_fn_error $? "conditional \"HAVE_ORCC\" was never defined.
46471 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46472 fi
46473 if test -z "${USE_PLUGIN_ADPCMDEC_TRUE}" && test -z "${USE_PLUGIN_ADPCMDEC_FALSE}"; then
46474   as_fn_error $? "conditional \"USE_PLUGIN_ADPCMDEC\" was never defined.
46475 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46476 fi
46477 if test -z "${USE_PLUGIN_ADPCMENC_TRUE}" && test -z "${USE_PLUGIN_ADPCMENC_FALSE}"; then
46478   as_fn_error $? "conditional \"USE_PLUGIN_ADPCMENC\" was never defined.
46479 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46480 fi
46481 if test -z "${USE_PLUGIN_AIFF_TRUE}" && test -z "${USE_PLUGIN_AIFF_FALSE}"; then
46482   as_fn_error $? "conditional \"USE_PLUGIN_AIFF\" was never defined.
46483 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46484 fi
46485 if test -z "${USE_PLUGIN_ASFMUX_TRUE}" && test -z "${USE_PLUGIN_ASFMUX_FALSE}"; then
46486   as_fn_error $? "conditional \"USE_PLUGIN_ASFMUX\" was never defined.
46487 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46488 fi
46489 if test -z "${USE_PLUGIN_AUDIOVISUALIZERS_TRUE}" && test -z "${USE_PLUGIN_AUDIOVISUALIZERS_FALSE}"; then
46490   as_fn_error $? "conditional \"USE_PLUGIN_AUDIOVISUALIZERS\" was never defined.
46491 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46492 fi
46493 if test -z "${USE_PLUGIN_AUTOCONVERT_TRUE}" && test -z "${USE_PLUGIN_AUTOCONVERT_FALSE}"; then
46494   as_fn_error $? "conditional \"USE_PLUGIN_AUTOCONVERT\" was never defined.
46495 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46496 fi
46497 if test -z "${USE_PLUGIN_BAYER_TRUE}" && test -z "${USE_PLUGIN_BAYER_FALSE}"; then
46498   as_fn_error $? "conditional \"USE_PLUGIN_BAYER\" was never defined.
46499 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46500 fi
46501 if test -z "${USE_PLUGIN_CAMERABIN_TRUE}" && test -z "${USE_PLUGIN_CAMERABIN_FALSE}"; then
46502   as_fn_error $? "conditional \"USE_PLUGIN_CAMERABIN\" was never defined.
46503 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46504 fi
46505 if test -z "${USE_PLUGIN_CAMERABIN2_TRUE}" && test -z "${USE_PLUGIN_CAMERABIN2_FALSE}"; then
46506   as_fn_error $? "conditional \"USE_PLUGIN_CAMERABIN2\" was never defined.
46507 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46508 fi
46509 if test -z "${USE_PLUGIN_CDXAPARSE_TRUE}" && test -z "${USE_PLUGIN_CDXAPARSE_FALSE}"; then
46510   as_fn_error $? "conditional \"USE_PLUGIN_CDXAPARSE\" was never defined.
46511 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46512 fi
46513 if test -z "${USE_PLUGIN_COLOREFFECTS_TRUE}" && test -z "${USE_PLUGIN_COLOREFFECTS_FALSE}"; then
46514   as_fn_error $? "conditional \"USE_PLUGIN_COLOREFFECTS\" was never defined.
46515 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46516 fi
46517 if test -z "${USE_PLUGIN_COLORSPACE_TRUE}" && test -z "${USE_PLUGIN_COLORSPACE_FALSE}"; then
46518   as_fn_error $? "conditional \"USE_PLUGIN_COLORSPACE\" was never defined.
46519 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46520 fi
46521 if test -z "${USE_PLUGIN_DATAURISRC_TRUE}" && test -z "${USE_PLUGIN_DATAURISRC_FALSE}"; then
46522   as_fn_error $? "conditional \"USE_PLUGIN_DATAURISRC\" was never defined.
46523 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46524 fi
46525 if test -z "${USE_PLUGIN_DCCP_TRUE}" && test -z "${USE_PLUGIN_DCCP_FALSE}"; then
46526   as_fn_error $? "conditional \"USE_PLUGIN_DCCP\" was never defined.
46527 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46528 fi
46529 if test -z "${USE_PLUGIN_DEBUGUTILS_TRUE}" && test -z "${USE_PLUGIN_DEBUGUTILS_FALSE}"; then
46530   as_fn_error $? "conditional \"USE_PLUGIN_DEBUGUTILS\" was never defined.
46531 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46532 fi
46533 if test -z "${USE_PLUGIN_DTMF_TRUE}" && test -z "${USE_PLUGIN_DTMF_FALSE}"; then
46534   as_fn_error $? "conditional \"USE_PLUGIN_DTMF\" was never defined.
46535 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46536 fi
46537 if test -z "${USE_PLUGIN_DVBSUBOVERLAY_TRUE}" && test -z "${USE_PLUGIN_DVBSUBOVERLAY_FALSE}"; then
46538   as_fn_error $? "conditional \"USE_PLUGIN_DVBSUBOVERLAY\" was never defined.
46539 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46540 fi
46541 if test -z "${USE_PLUGIN_DVDSPU_TRUE}" && test -z "${USE_PLUGIN_DVDSPU_FALSE}"; then
46542   as_fn_error $? "conditional \"USE_PLUGIN_DVDSPU\" was never defined.
46543 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46544 fi
46545 if test -z "${USE_PLUGIN_FACEOVERLAY_TRUE}" && test -z "${USE_PLUGIN_FACEOVERLAY_FALSE}"; then
46546   as_fn_error $? "conditional \"USE_PLUGIN_FACEOVERLAY\" was never defined.
46547 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46548 fi
46549 if test -z "${USE_PLUGIN_FESTIVAL_TRUE}" && test -z "${USE_PLUGIN_FESTIVAL_FALSE}"; then
46550   as_fn_error $? "conditional \"USE_PLUGIN_FESTIVAL\" was never defined.
46551 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46552 fi
46553 if test -z "${USE_PLUGIN_FIELDANALYSIS_TRUE}" && test -z "${USE_PLUGIN_FIELDANALYSIS_FALSE}"; then
46554   as_fn_error $? "conditional \"USE_PLUGIN_FIELDANALYSIS\" was never defined.
46555 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46556 fi
46557 if test -z "${USE_PLUGIN_FREEZE_TRUE}" && test -z "${USE_PLUGIN_FREEZE_FALSE}"; then
46558   as_fn_error $? "conditional \"USE_PLUGIN_FREEZE\" was never defined.
46559 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46560 fi
46561 if test -z "${USE_PLUGIN_FREEVERB_TRUE}" && test -z "${USE_PLUGIN_FREEVERB_FALSE}"; then
46562   as_fn_error $? "conditional \"USE_PLUGIN_FREEVERB\" was never defined.
46563 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46564 fi
46565 if test -z "${USE_PLUGIN_FREI0R_TRUE}" && test -z "${USE_PLUGIN_FREI0R_FALSE}"; then
46566   as_fn_error $? "conditional \"USE_PLUGIN_FREI0R\" was never defined.
46567 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46568 fi
46569 if test -z "${USE_PLUGIN_GAUDIEFFECTS_TRUE}" && test -z "${USE_PLUGIN_GAUDIEFFECTS_FALSE}"; then
46570   as_fn_error $? "conditional \"USE_PLUGIN_GAUDIEFFECTS\" was never defined.
46571 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46572 fi
46573 if test -z "${USE_PLUGIN_GEOMETRICTRANSFORM_TRUE}" && test -z "${USE_PLUGIN_GEOMETRICTRANSFORM_FALSE}"; then
46574   as_fn_error $? "conditional \"USE_PLUGIN_GEOMETRICTRANSFORM\" was never defined.
46575 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46576 fi
46577 if test -z "${USE_PLUGIN_H264PARSE_TRUE}" && test -z "${USE_PLUGIN_H264PARSE_FALSE}"; then
46578   as_fn_error $? "conditional \"USE_PLUGIN_H264PARSE\" was never defined.
46579 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46580 fi
46581 if test -z "${USE_PLUGIN_HDVPARSE_TRUE}" && test -z "${USE_PLUGIN_HDVPARSE_FALSE}"; then
46582   as_fn_error $? "conditional \"USE_PLUGIN_HDVPARSE\" was never defined.
46583 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46584 fi
46585 if test -z "${USE_PLUGIN_HLS_TRUE}" && test -z "${USE_PLUGIN_HLS_FALSE}"; then
46586   as_fn_error $? "conditional \"USE_PLUGIN_HLS\" was never defined.
46587 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46588 fi
46589 if test -z "${USE_PLUGIN_ID3TAG_TRUE}" && test -z "${USE_PLUGIN_ID3TAG_FALSE}"; then
46590   as_fn_error $? "conditional \"USE_PLUGIN_ID3TAG\" was never defined.
46591 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46592 fi
46593 if test -z "${USE_PLUGIN_INTER_TRUE}" && test -z "${USE_PLUGIN_INTER_FALSE}"; then
46594   as_fn_error $? "conditional \"USE_PLUGIN_INTER\" was never defined.
46595 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46596 fi
46597 if test -z "${USE_PLUGIN_INTERLACE_TRUE}" && test -z "${USE_PLUGIN_INTERLACE_FALSE}"; then
46598   as_fn_error $? "conditional \"USE_PLUGIN_INTERLACE\" was never defined.
46599 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46600 fi
46601 if test -z "${USE_PLUGIN_IVFPARSE_TRUE}" && test -z "${USE_PLUGIN_IVFPARSE_FALSE}"; then
46602   as_fn_error $? "conditional \"USE_PLUGIN_IVFPARSE\" was never defined.
46603 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46604 fi
46605 if test -z "${USE_PLUGIN_JP2KDECIMATOR_TRUE}" && test -z "${USE_PLUGIN_JP2KDECIMATOR_FALSE}"; then
46606   as_fn_error $? "conditional \"USE_PLUGIN_JP2KDECIMATOR\" was never defined.
46607 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46608 fi
46609 if test -z "${USE_PLUGIN_JPEGFORMAT_TRUE}" && test -z "${USE_PLUGIN_JPEGFORMAT_FALSE}"; then
46610   as_fn_error $? "conditional \"USE_PLUGIN_JPEGFORMAT\" was never defined.
46611 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46612 fi
46613 if test -z "${USE_PLUGIN_LEGACYRESAMPLE_TRUE}" && test -z "${USE_PLUGIN_LEGACYRESAMPLE_FALSE}"; then
46614   as_fn_error $? "conditional \"USE_PLUGIN_LEGACYRESAMPLE\" was never defined.
46615 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46616 fi
46617 if test -z "${USE_PLUGIN_LIBRFB_TRUE}" && test -z "${USE_PLUGIN_LIBRFB_FALSE}"; then
46618   as_fn_error $? "conditional \"USE_PLUGIN_LIBRFB\" was never defined.
46619 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46620 fi
46621 if test -z "${USE_PLUGIN_LIVEADDER_TRUE}" && test -z "${USE_PLUGIN_LIVEADDER_FALSE}"; then
46622   as_fn_error $? "conditional \"USE_PLUGIN_LIVEADDER\" was never defined.
46623 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46624 fi
46625 if test -z "${USE_PLUGIN_MPEGDEMUX_TRUE}" && test -z "${USE_PLUGIN_MPEGDEMUX_FALSE}"; then
46626   as_fn_error $? "conditional \"USE_PLUGIN_MPEGDEMUX\" was never defined.
46627 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46628 fi
46629 if test -z "${USE_PLUGIN_MPEGTSDEMUX_TRUE}" && test -z "${USE_PLUGIN_MPEGTSDEMUX_FALSE}"; then
46630   as_fn_error $? "conditional \"USE_PLUGIN_MPEGTSDEMUX\" was never defined.
46631 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46632 fi
46633 if test -z "${USE_PLUGIN_MPEGTSMUX_TRUE}" && test -z "${USE_PLUGIN_MPEGTSMUX_FALSE}"; then
46634   as_fn_error $? "conditional \"USE_PLUGIN_MPEGTSMUX\" was never defined.
46635 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46636 fi
46637 if test -z "${USE_PLUGIN_MPEGPSMUX_TRUE}" && test -z "${USE_PLUGIN_MPEGPSMUX_FALSE}"; then
46638   as_fn_error $? "conditional \"USE_PLUGIN_MPEGPSMUX\" was never defined.
46639 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46640 fi
46641 if test -z "${USE_PLUGIN_MPEGVIDEOPARSE_TRUE}" && test -z "${USE_PLUGIN_MPEGVIDEOPARSE_FALSE}"; then
46642   as_fn_error $? "conditional \"USE_PLUGIN_MPEGVIDEOPARSE\" was never defined.
46643 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46644 fi
46645 if test -z "${USE_PLUGIN_MVE_TRUE}" && test -z "${USE_PLUGIN_MVE_FALSE}"; then
46646   as_fn_error $? "conditional \"USE_PLUGIN_MVE\" was never defined.
46647 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46648 fi
46649 if test -z "${USE_PLUGIN_MXF_TRUE}" && test -z "${USE_PLUGIN_MXF_FALSE}"; then
46650   as_fn_error $? "conditional \"USE_PLUGIN_MXF\" was never defined.
46651 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46652 fi
46653 if test -z "${USE_PLUGIN_NSF_TRUE}" && test -z "${USE_PLUGIN_NSF_FALSE}"; then
46654   as_fn_error $? "conditional \"USE_PLUGIN_NSF\" was never defined.
46655 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46656 fi
46657 if test -z "${USE_PLUGIN_NUVDEMUX_TRUE}" && test -z "${USE_PLUGIN_NUVDEMUX_FALSE}"; then
46658   as_fn_error $? "conditional \"USE_PLUGIN_NUVDEMUX\" was never defined.
46659 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46660 fi
46661 if test -z "${USE_PLUGIN_PATCHDETECT_TRUE}" && test -z "${USE_PLUGIN_PATCHDETECT_FALSE}"; then
46662   as_fn_error $? "conditional \"USE_PLUGIN_PATCHDETECT\" was never defined.
46663 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46664 fi
46665 if test -z "${USE_PLUGIN_PCAPPARSE_TRUE}" && test -z "${USE_PLUGIN_PCAPPARSE_FALSE}"; then
46666   as_fn_error $? "conditional \"USE_PLUGIN_PCAPPARSE\" was never defined.
46667 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46668 fi
46669 if test -z "${USE_PLUGIN_PNM_TRUE}" && test -z "${USE_PLUGIN_PNM_FALSE}"; then
46670   as_fn_error $? "conditional \"USE_PLUGIN_PNM\" was never defined.
46671 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46672 fi
46673 if test -z "${USE_PLUGIN_RAWPARSE_TRUE}" && test -z "${USE_PLUGIN_RAWPARSE_FALSE}"; then
46674   as_fn_error $? "conditional \"USE_PLUGIN_RAWPARSE\" was never defined.
46675 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46676 fi
46677 if test -z "${USE_PLUGIN_REAL_TRUE}" && test -z "${USE_PLUGIN_REAL_FALSE}"; then
46678   as_fn_error $? "conditional \"USE_PLUGIN_REAL\" was never defined.
46679 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46680 fi
46681 if test -z "${USE_PLUGIN_REMOVESILENCE_TRUE}" && test -z "${USE_PLUGIN_REMOVESILENCE_FALSE}"; then
46682   as_fn_error $? "conditional \"USE_PLUGIN_REMOVESILENCE\" was never defined.
46683 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46684 fi
46685 if test -z "${USE_PLUGIN_RTPMUX_TRUE}" && test -z "${USE_PLUGIN_RTPMUX_FALSE}"; then
46686   as_fn_error $? "conditional \"USE_PLUGIN_RTPMUX\" was never defined.
46687 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46688 fi
46689 if test -z "${USE_PLUGIN_RTPVP8_TRUE}" && test -z "${USE_PLUGIN_RTPVP8_FALSE}"; then
46690   as_fn_error $? "conditional \"USE_PLUGIN_RTPVP8\" was never defined.
46691 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46692 fi
46693 if test -z "${USE_PLUGIN_SCALETEMPO_TRUE}" && test -z "${USE_PLUGIN_SCALETEMPO_FALSE}"; then
46694   as_fn_error $? "conditional \"USE_PLUGIN_SCALETEMPO\" was never defined.
46695 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46696 fi
46697 if test -z "${USE_PLUGIN_SDI_TRUE}" && test -z "${USE_PLUGIN_SDI_FALSE}"; then
46698   as_fn_error $? "conditional \"USE_PLUGIN_SDI\" was never defined.
46699 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46700 fi
46701 if test -z "${USE_PLUGIN_SDP_TRUE}" && test -z "${USE_PLUGIN_SDP_FALSE}"; then
46702   as_fn_error $? "conditional \"USE_PLUGIN_SDP\" was never defined.
46703 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46704 fi
46705 if test -z "${USE_PLUGIN_SEGMENTCLIP_TRUE}" && test -z "${USE_PLUGIN_SEGMENTCLIP_FALSE}"; then
46706   as_fn_error $? "conditional \"USE_PLUGIN_SEGMENTCLIP\" was never defined.
46707 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46708 fi
46709 if test -z "${USE_PLUGIN_SIREN_TRUE}" && test -z "${USE_PLUGIN_SIREN_FALSE}"; then
46710   as_fn_error $? "conditional \"USE_PLUGIN_SIREN\" was never defined.
46711 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46712 fi
46713 if test -z "${USE_PLUGIN_SMOOTH_TRUE}" && test -z "${USE_PLUGIN_SMOOTH_FALSE}"; then
46714   as_fn_error $? "conditional \"USE_PLUGIN_SMOOTH\" was never defined.
46715 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46716 fi
46717 if test -z "${USE_PLUGIN_SPEED_TRUE}" && test -z "${USE_PLUGIN_SPEED_FALSE}"; then
46718   as_fn_error $? "conditional \"USE_PLUGIN_SPEED\" was never defined.
46719 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46720 fi
46721 if test -z "${USE_PLUGIN_SUBENC_TRUE}" && test -z "${USE_PLUGIN_SUBENC_FALSE}"; then
46722   as_fn_error $? "conditional \"USE_PLUGIN_SUBENC\" was never defined.
46723 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46724 fi
46725 if test -z "${USE_PLUGIN_STEREO_TRUE}" && test -z "${USE_PLUGIN_STEREO_FALSE}"; then
46726   as_fn_error $? "conditional \"USE_PLUGIN_STEREO\" was never defined.
46727 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46728 fi
46729 if test -z "${USE_PLUGIN_TTA_TRUE}" && test -z "${USE_PLUGIN_TTA_FALSE}"; then
46730   as_fn_error $? "conditional \"USE_PLUGIN_TTA\" was never defined.
46731 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46732 fi
46733 if test -z "${USE_PLUGIN_VIDEOFILTERS_TRUE}" && test -z "${USE_PLUGIN_VIDEOFILTERS_FALSE}"; then
46734   as_fn_error $? "conditional \"USE_PLUGIN_VIDEOFILTERS\" was never defined.
46735 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46736 fi
46737 if test -z "${USE_PLUGIN_VIDEOMAXRATE_TRUE}" && test -z "${USE_PLUGIN_VIDEOMAXRATE_FALSE}"; then
46738   as_fn_error $? "conditional \"USE_PLUGIN_VIDEOMAXRATE\" was never defined.
46739 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46740 fi
46741 if test -z "${USE_PLUGIN_VIDEOMEASURE_TRUE}" && test -z "${USE_PLUGIN_VIDEOMEASURE_FALSE}"; then
46742   as_fn_error $? "conditional \"USE_PLUGIN_VIDEOMEASURE\" was never defined.
46743 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46744 fi
46745 if test -z "${USE_PLUGIN_VIDEOPARSERS_TRUE}" && test -z "${USE_PLUGIN_VIDEOPARSERS_FALSE}"; then
46746   as_fn_error $? "conditional \"USE_PLUGIN_VIDEOPARSERS\" was never defined.
46747 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46748 fi
46749 if test -z "${USE_PLUGIN_VIDEOSIGNAL_TRUE}" && test -z "${USE_PLUGIN_VIDEOSIGNAL_FALSE}"; then
46750   as_fn_error $? "conditional \"USE_PLUGIN_VIDEOSIGNAL\" was never defined.
46751 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46752 fi
46753 if test -z "${USE_PLUGIN_VMNC_TRUE}" && test -z "${USE_PLUGIN_VMNC_FALSE}"; then
46754   as_fn_error $? "conditional \"USE_PLUGIN_VMNC\" was never defined.
46755 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46756 fi
46757 if test -z "${USE_PLUGIN_Y4M_TRUE}" && test -z "${USE_PLUGIN_Y4M_FALSE}"; then
46758   as_fn_error $? "conditional \"USE_PLUGIN_Y4M\" was never defined.
46759 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46760 fi
46761 if test -z "${USE_PLUGIN_REAL_TRUE}" && test -z "${USE_PLUGIN_REAL_FALSE}"; then
46762   as_fn_error $? "conditional \"USE_PLUGIN_REAL\" was never defined.
46763 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46764 fi
46765 if test -z "${HAVE_WINSOCK2_H_TRUE}" && test -z "${HAVE_WINSOCK2_H_FALSE}"; then
46766   as_fn_error $? "conditional \"HAVE_WINSOCK2_H\" was never defined.
46767 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46768 fi
46769 if test -z "${USE_PLUGIN_DCCP_TRUE}" && test -z "${USE_PLUGIN_DCCP_FALSE}"; then
46770   as_fn_error $? "conditional \"USE_PLUGIN_DCCP\" was never defined.
46771 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46772 fi
46773 if test -z "${USE_DIRECTSOUND_TRUE}" && test -z "${USE_DIRECTSOUND_FALSE}"; then
46774   as_fn_error $? "conditional \"USE_DIRECTSOUND\" was never defined.
46775 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46776 fi
46777 if test -z "${USE_DIRECT3D_TRUE}" && test -z "${USE_DIRECT3D_FALSE}"; then
46778   as_fn_error $? "conditional \"USE_DIRECT3D\" was never defined.
46779 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46780 fi
46781 if test -z "${USE_DIRECTDRAW_TRUE}" && test -z "${USE_DIRECTDRAW_FALSE}"; then
46782   as_fn_error $? "conditional \"USE_DIRECTDRAW\" was never defined.
46783 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46784 fi
46785 if test -z "${USE_APPLE_MEDIA_TRUE}" && test -z "${USE_APPLE_MEDIA_FALSE}"; then
46786   as_fn_error $? "conditional \"USE_APPLE_MEDIA\" was never defined.
46787 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46788 fi
46789 if test -z "${HAVE_IOS_TRUE}" && test -z "${HAVE_IOS_FALSE}"; then
46790   as_fn_error $? "conditional \"HAVE_IOS\" was never defined.
46791 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46792 fi
46793 if test -z "${USE_OSX_VIDEO_TRUE}" && test -z "${USE_OSX_VIDEO_FALSE}"; then
46794   as_fn_error $? "conditional \"USE_OSX_VIDEO\" was never defined.
46795 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46796 fi
46797 if test -z "${USE_AVC_TRUE}" && test -z "${USE_AVC_FALSE}"; then
46798   as_fn_error $? "conditional \"USE_AVC\" was never defined.
46799 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46800 fi
46801 if test -z "${USE_QUICKTIME_TRUE}" && test -z "${USE_QUICKTIME_FALSE}"; then
46802   as_fn_error $? "conditional \"USE_QUICKTIME\" was never defined.
46803 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46804 fi
46805 if test -z "${USE_SHM_TRUE}" && test -z "${USE_SHM_FALSE}"; then
46806   as_fn_error $? "conditional \"USE_SHM\" was never defined.
46807 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46808 fi
46809 if test -z "${USE_VCD_TRUE}" && test -z "${USE_VCD_FALSE}"; then
46810   as_fn_error $? "conditional \"USE_VCD\" was never defined.
46811 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46812 fi
46813 if test -z "${USE_ASSRENDER_TRUE}" && test -z "${USE_ASSRENDER_FALSE}"; then
46814   as_fn_error $? "conditional \"USE_ASSRENDER\" was never defined.
46815 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46816 fi
46817 if test -z "${USE_VOAMRWBENC_TRUE}" && test -z "${USE_VOAMRWBENC_FALSE}"; then
46818   as_fn_error $? "conditional \"USE_VOAMRWBENC\" was never defined.
46819 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46820 fi
46821 if test -z "${USE_VOAACENC_TRUE}" && test -z "${USE_VOAACENC_FALSE}"; then
46822   as_fn_error $? "conditional \"USE_VOAACENC\" was never defined.
46823 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46824 fi
46825 if test -z "${USE_APEXSINK_TRUE}" && test -z "${USE_APEXSINK_FALSE}"; then
46826   as_fn_error $? "conditional \"USE_APEXSINK\" was never defined.
46827 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46828 fi
46829 if test -z "${USE_BZ2_TRUE}" && test -z "${USE_BZ2_FALSE}"; then
46830   as_fn_error $? "conditional \"USE_BZ2\" was never defined.
46831 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46832 fi
46833 if test -z "${USE_CDAUDIO_TRUE}" && test -z "${USE_CDAUDIO_FALSE}"; then
46834   as_fn_error $? "conditional \"USE_CDAUDIO\" was never defined.
46835 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46836 fi
46837 if test -z "${USE_CELT_TRUE}" && test -z "${USE_CELT_FALSE}"; then
46838   as_fn_error $? "conditional \"USE_CELT\" was never defined.
46839 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46840 fi
46841 if test -z "${USE_COG_TRUE}" && test -z "${USE_COG_FALSE}"; then
46842   as_fn_error $? "conditional \"USE_COG\" was never defined.
46843 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46844 fi
46845 if test -z "${USE_CURL_TRUE}" && test -z "${USE_CURL_FALSE}"; then
46846   as_fn_error $? "conditional \"USE_CURL\" was never defined.
46847 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46848 fi
46849 if test -z "${USE_DC1394_TRUE}" && test -z "${USE_DC1394_FALSE}"; then
46850   as_fn_error $? "conditional \"USE_DC1394\" was never defined.
46851 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46852 fi
46853 if test -z "${USE_DECKLINK_TRUE}" && test -z "${USE_DECKLINK_FALSE}"; then
46854   as_fn_error $? "conditional \"USE_DECKLINK\" was never defined.
46855 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46856 fi
46857 if test -z "${USE_DIRECTFB_TRUE}" && test -z "${USE_DIRECTFB_FALSE}"; then
46858   as_fn_error $? "conditional \"USE_DIRECTFB\" was never defined.
46859 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46860 fi
46861 if test -z "${USE_DIRAC_TRUE}" && test -z "${USE_DIRAC_FALSE}"; then
46862   as_fn_error $? "conditional \"USE_DIRAC\" was never defined.
46863 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46864 fi
46865 if test -z "${USE_DTS_TRUE}" && test -z "${USE_DTS_FALSE}"; then
46866   as_fn_error $? "conditional \"USE_DTS\" was never defined.
46867 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46868 fi
46869 if test -z "${USE_DIVX_TRUE}" && test -z "${USE_DIVX_FALSE}"; then
46870   as_fn_error $? "conditional \"USE_DIVX\" was never defined.
46871 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46872 fi
46873 if test -z "${USE_RESINDVD_TRUE}" && test -z "${USE_RESINDVD_FALSE}"; then
46874   as_fn_error $? "conditional \"USE_RESINDVD\" was never defined.
46875 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46876 fi
46877 if test -z "${USE_FAAC_TRUE}" && test -z "${USE_FAAC_FALSE}"; then
46878   as_fn_error $? "conditional \"USE_FAAC\" was never defined.
46879 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46880 fi
46881 if test -z "${USE_FAAD_TRUE}" && test -z "${USE_FAAD_FALSE}"; then
46882   as_fn_error $? "conditional \"USE_FAAD\" was never defined.
46883 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46884 fi
46885 if test -z "${USE_FBDEV_TRUE}" && test -z "${USE_FBDEV_FALSE}"; then
46886   as_fn_error $? "conditional \"USE_FBDEV\" was never defined.
46887 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46888 fi
46889 if test -z "${USE_FLITE_TRUE}" && test -z "${USE_FLITE_FALSE}"; then
46890   as_fn_error $? "conditional \"USE_FLITE\" was never defined.
46891 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46892 fi
46893 if test -z "${USE_GSM_TRUE}" && test -z "${USE_GSM_FALSE}"; then
46894   as_fn_error $? "conditional \"USE_GSM\" was never defined.
46895 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46896 fi
46897 if test -z "${USE_JP2K_TRUE}" && test -z "${USE_JP2K_FALSE}"; then
46898   as_fn_error $? "conditional \"USE_JP2K\" was never defined.
46899 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46900 fi
46901 if test -z "${USE_TIGER_TRUE}" && test -z "${USE_TIGER_FALSE}"; then
46902   as_fn_error $? "conditional \"USE_TIGER\" was never defined.
46903 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46904 fi
46905 if test -z "${USE_TIGER_TRUE}" && test -z "${USE_TIGER_FALSE}"; then
46906   as_fn_error $? "conditional \"USE_TIGER\" was never defined.
46907 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46908 fi
46909 if test -z "${USE_KATE_TRUE}" && test -z "${USE_KATE_FALSE}"; then
46910   as_fn_error $? "conditional \"USE_KATE\" was never defined.
46911 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46912 fi
46913 if test -z "${USE_LADSPA_TRUE}" && test -z "${USE_LADSPA_FALSE}"; then
46914   as_fn_error $? "conditional \"USE_LADSPA\" was never defined.
46915 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46916 fi
46917 if test -z "${USE_LV2_TRUE}" && test -z "${USE_LV2_FALSE}"; then
46918   as_fn_error $? "conditional \"USE_LV2\" was never defined.
46919 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46920 fi
46921 if test -z "${USE_LIBMMS_TRUE}" && test -z "${USE_LIBMMS_FALSE}"; then
46922   as_fn_error $? "conditional \"USE_LIBMMS\" was never defined.
46923 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46924 fi
46925 if test -z "${USE_LINSYS_TRUE}" && test -z "${USE_LINSYS_FALSE}"; then
46926   as_fn_error $? "conditional \"USE_LINSYS\" was never defined.
46927 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46928 fi
46929 if test -z "${USE_MODPLUG_TRUE}" && test -z "${USE_MODPLUG_FALSE}"; then
46930   as_fn_error $? "conditional \"USE_MODPLUG\" was never defined.
46931 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46932 fi
46933 if test -z "${USE_MIMIC_TRUE}" && test -z "${USE_MIMIC_FALSE}"; then
46934   as_fn_error $? "conditional \"USE_MIMIC\" was never defined.
46935 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46936 fi
46937 if test -z "${USE_MPEG2ENC_TRUE}" && test -z "${USE_MPEG2ENC_FALSE}"; then
46938   as_fn_error $? "conditional \"USE_MPEG2ENC\" was never defined.
46939 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46940 fi
46941 if test -z "${USE_MPLEX_TRUE}" && test -z "${USE_MPLEX_FALSE}"; then
46942   as_fn_error $? "conditional \"USE_MPLEX\" was never defined.
46943 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46944 fi
46945 if test -z "${USE_MUSEPACK_TRUE}" && test -z "${USE_MUSEPACK_FALSE}"; then
46946   as_fn_error $? "conditional \"USE_MUSEPACK\" was never defined.
46947 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46948 fi
46949 if test -z "${USE_MUSICBRAINZ_TRUE}" && test -z "${USE_MUSICBRAINZ_FALSE}"; then
46950   as_fn_error $? "conditional \"USE_MUSICBRAINZ\" was never defined.
46951 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46952 fi
46953 if test -z "${USE_MYTHTV_TRUE}" && test -z "${USE_MYTHTV_FALSE}"; then
46954   as_fn_error $? "conditional \"USE_MYTHTV\" was never defined.
46955 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46956 fi
46957 if test -z "${USE_NAS_TRUE}" && test -z "${USE_NAS_FALSE}"; then
46958   as_fn_error $? "conditional \"USE_NAS\" was never defined.
46959 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46960 fi
46961 if test -z "${USE_NEON_TRUE}" && test -z "${USE_NEON_FALSE}"; then
46962   as_fn_error $? "conditional \"USE_NEON\" was never defined.
46963 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46964 fi
46965 if test -z "${USE_OFA_TRUE}" && test -z "${USE_OFA_FALSE}"; then
46966   as_fn_error $? "conditional \"USE_OFA\" was never defined.
46967 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46968 fi
46969 if test -z "${USE_OPENAL_TRUE}" && test -z "${USE_OPENAL_FALSE}"; then
46970   as_fn_error $? "conditional \"USE_OPENAL\" was never defined.
46971 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46972 fi
46973 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
46974   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
46975 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46976 fi
46977 if test -z "${USE_OPENCV_TRUE}" && test -z "${USE_OPENCV_FALSE}"; then
46978   as_fn_error $? "conditional \"USE_OPENCV\" was never defined.
46979 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46980 fi
46981 if test -z "${USE_OPUS_TRUE}" && test -z "${USE_OPUS_FALSE}"; then
46982   as_fn_error $? "conditional \"USE_OPUS\" was never defined.
46983 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46984 fi
46985 if test -z "${USE_PVR_TRUE}" && test -z "${USE_PVR_FALSE}"; then
46986   as_fn_error $? "conditional \"USE_PVR\" was never defined.
46987 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46988 fi
46989 if test -z "${USE_RSVG_TRUE}" && test -z "${USE_RSVG_FALSE}"; then
46990   as_fn_error $? "conditional \"USE_RSVG\" was never defined.
46991 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46992 fi
46993 if test -z "${USE_TIMIDITY_TRUE}" && test -z "${USE_TIMIDITY_FALSE}"; then
46994   as_fn_error $? "conditional \"USE_TIMIDITY\" was never defined.
46995 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46996 fi
46997 if test -z "${USE_TELETEXTDEC_TRUE}" && test -z "${USE_TELETEXTDEC_FALSE}"; then
46998   as_fn_error $? "conditional \"USE_TELETEXTDEC\" was never defined.
46999 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47000 fi
47001 if test -z "${USE_WILDMIDI_TRUE}" && test -z "${USE_WILDMIDI_FALSE}"; then
47002   as_fn_error $? "conditional \"USE_WILDMIDI\" was never defined.
47003 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47004 fi
47005 if test -z "${USE_SDL_TRUE}" && test -z "${USE_SDL_FALSE}"; then
47006   as_fn_error $? "conditional \"USE_SDL\" was never defined.
47007 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47008 fi
47009 if test -z "${USE_SNDFILE_TRUE}" && test -z "${USE_SNDFILE_FALSE}"; then
47010   as_fn_error $? "conditional \"USE_SNDFILE\" was never defined.
47011 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47012 fi
47013 if test -z "${USE_SOUNDTOUCH_TRUE}" && test -z "${USE_SOUNDTOUCH_FALSE}"; then
47014   as_fn_error $? "conditional \"USE_SOUNDTOUCH\" was never defined.
47015 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47016 fi
47017 if test -z "${USE_SPC_TRUE}" && test -z "${USE_SPC_FALSE}"; then
47018   as_fn_error $? "conditional \"USE_SPC\" was never defined.
47019 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47020 fi
47021 if test -z "${USE_GME_TRUE}" && test -z "${USE_GME_FALSE}"; then
47022   as_fn_error $? "conditional \"USE_GME\" was never defined.
47023 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47024 fi
47025 if test -z "${USE_SWFDEC_TRUE}" && test -z "${USE_SWFDEC_FALSE}"; then
47026   as_fn_error $? "conditional \"USE_SWFDEC\" was never defined.
47027 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47028 fi
47029 if test -z "${USE_XVID_TRUE}" && test -z "${USE_XVID_FALSE}"; then
47030   as_fn_error $? "conditional \"USE_XVID\" was never defined.
47031 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47032 fi
47033 if test -z "${USE_DVB_TRUE}" && test -z "${USE_DVB_FALSE}"; then
47034   as_fn_error $? "conditional \"USE_DVB\" was never defined.
47035 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47036 fi
47037 if test -z "${USE_WININET_TRUE}" && test -z "${USE_WININET_FALSE}"; then
47038   as_fn_error $? "conditional \"USE_WININET\" was never defined.
47039 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47040 fi
47041 if test -z "${USE_ACM_TRUE}" && test -z "${USE_ACM_FALSE}"; then
47042   as_fn_error $? "conditional \"USE_ACM\" was never defined.
47043 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47044 fi
47045 if test -z "${USE_VDPAU_TRUE}" && test -z "${USE_VDPAU_FALSE}"; then
47046   as_fn_error $? "conditional \"USE_VDPAU\" was never defined.
47047 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47048 fi
47049 if test -z "${USE_SCHRO_TRUE}" && test -z "${USE_SCHRO_FALSE}"; then
47050   as_fn_error $? "conditional \"USE_SCHRO\" was never defined.
47051 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47052 fi
47053 if test -z "${USE_ZBAR_TRUE}" && test -z "${USE_ZBAR_FALSE}"; then
47054   as_fn_error $? "conditional \"USE_ZBAR\" was never defined.
47055 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47056 fi
47057 if test -z "${USE_VP8_TRUE}" && test -z "${USE_VP8_FALSE}"; then
47058   as_fn_error $? "conditional \"USE_VP8\" was never defined.
47059 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47060 fi
47061 if test -z "${USE_RTMP_TRUE}" && test -z "${USE_RTMP_FALSE}"; then
47062   as_fn_error $? "conditional \"USE_RTMP\" was never defined.
47063 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47064 fi
47065 if test -z "${USE_SPANDSP_TRUE}" && test -z "${USE_SPANDSP_FALSE}"; then
47066   as_fn_error $? "conditional \"USE_SPANDSP\" was never defined.
47067 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47068 fi
47069 if test -z "${USE_GSETTINGS_TRUE}" && test -z "${USE_GSETTINGS_FALSE}"; then
47070   as_fn_error $? "conditional \"USE_GSETTINGS\" was never defined.
47071 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47072 fi
47073 if test -z "${USE_ASSRENDER_TRUE}" && test -z "${USE_ASSRENDER_FALSE}"; then
47074   as_fn_error $? "conditional \"USE_ASSRENDER\" was never defined.
47075 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47076 fi
47077 if test -z "${USE_VOAMRWBENC_TRUE}" && test -z "${USE_VOAMRWBENC_FALSE}"; then
47078   as_fn_error $? "conditional \"USE_VOAMRWBENC\" was never defined.
47079 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47080 fi
47081 if test -z "${USE_VOAACENC_TRUE}" && test -z "${USE_VOAACENC_FALSE}"; then
47082   as_fn_error $? "conditional \"USE_VOAACENC\" was never defined.
47083 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47084 fi
47085 if test -z "${USE_APEXSINK_TRUE}" && test -z "${USE_APEXSINK_FALSE}"; then
47086   as_fn_error $? "conditional \"USE_APEXSINK\" was never defined.
47087 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47088 fi
47089 if test -z "${USE_BZ2_TRUE}" && test -z "${USE_BZ2_FALSE}"; then
47090   as_fn_error $? "conditional \"USE_BZ2\" was never defined.
47091 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47092 fi
47093 if test -z "${USE_CDAUDIO_TRUE}" && test -z "${USE_CDAUDIO_FALSE}"; then
47094   as_fn_error $? "conditional \"USE_CDAUDIO\" was never defined.
47095 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47096 fi
47097 if test -z "${USE_CELT_TRUE}" && test -z "${USE_CELT_FALSE}"; then
47098   as_fn_error $? "conditional \"USE_CELT\" was never defined.
47099 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47100 fi
47101 if test -z "${USE_COG_TRUE}" && test -z "${USE_COG_FALSE}"; then
47102   as_fn_error $? "conditional \"USE_COG\" was never defined.
47103 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47104 fi
47105 if test -z "${USE_CURL_TRUE}" && test -z "${USE_CURL_FALSE}"; then
47106   as_fn_error $? "conditional \"USE_CURL\" was never defined.
47107 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47108 fi
47109 if test -z "${USE_DC1394_TRUE}" && test -z "${USE_DC1394_FALSE}"; then
47110   as_fn_error $? "conditional \"USE_DC1394\" was never defined.
47111 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47112 fi
47113 if test -z "${USE_DECKLINK_TRUE}" && test -z "${USE_DECKLINK_FALSE}"; then
47114   as_fn_error $? "conditional \"USE_DECKLINK\" was never defined.
47115 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47116 fi
47117 if test -z "${USE_DIRECTFB_TRUE}" && test -z "${USE_DIRECTFB_FALSE}"; then
47118   as_fn_error $? "conditional \"USE_DIRECTFB\" was never defined.
47119 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47120 fi
47121 if test -z "${USE_DIRAC_TRUE}" && test -z "${USE_DIRAC_FALSE}"; then
47122   as_fn_error $? "conditional \"USE_DIRAC\" was never defined.
47123 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47124 fi
47125 if test -z "${USE_DTS_TRUE}" && test -z "${USE_DTS_FALSE}"; then
47126   as_fn_error $? "conditional \"USE_DTS\" was never defined.
47127 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47128 fi
47129 if test -z "${USE_DIVX_TRUE}" && test -z "${USE_DIVX_FALSE}"; then
47130   as_fn_error $? "conditional \"USE_DIVX\" was never defined.
47131 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47132 fi
47133 if test -z "${USE_EXIF_TRUE}" && test -z "${USE_EXIF_FALSE}"; then
47134   as_fn_error $? "conditional \"USE_EXIF\" was never defined.
47135 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47136 fi
47137 if test -z "${USE_RESINDVD_TRUE}" && test -z "${USE_RESINDVD_FALSE}"; then
47138   as_fn_error $? "conditional \"USE_RESINDVD\" was never defined.
47139 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47140 fi
47141 if test -z "${USE_FAAC_TRUE}" && test -z "${USE_FAAC_FALSE}"; then
47142   as_fn_error $? "conditional \"USE_FAAC\" was never defined.
47143 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47144 fi
47145 if test -z "${USE_FAAD_TRUE}" && test -z "${USE_FAAD_FALSE}"; then
47146   as_fn_error $? "conditional \"USE_FAAD\" was never defined.
47147 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47148 fi
47149 if test -z "${USE_FBDEV_TRUE}" && test -z "${USE_FBDEV_FALSE}"; then
47150   as_fn_error $? "conditional \"USE_FBDEV\" was never defined.
47151 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47152 fi
47153 if test -z "${USE_FLITE_TRUE}" && test -z "${USE_FLITE_FALSE}"; then
47154   as_fn_error $? "conditional \"USE_FLITE\" was never defined.
47155 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47156 fi
47157 if test -z "${USE_GSM_TRUE}" && test -z "${USE_GSM_FALSE}"; then
47158   as_fn_error $? "conditional \"USE_GSM\" was never defined.
47159 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47160 fi
47161 if test -z "${USE_JP2K_TRUE}" && test -z "${USE_JP2K_FALSE}"; then
47162   as_fn_error $? "conditional \"USE_JP2K\" was never defined.
47163 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47164 fi
47165 if test -z "${USE_KATE_TRUE}" && test -z "${USE_KATE_FALSE}"; then
47166   as_fn_error $? "conditional \"USE_KATE\" was never defined.
47167 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47168 fi
47169 if test -z "${USE_TIGER_TRUE}" && test -z "${USE_TIGER_FALSE}"; then
47170   as_fn_error $? "conditional \"USE_TIGER\" was never defined.
47171 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47172 fi
47173 if test -z "${USE_LADSPA_TRUE}" && test -z "${USE_LADSPA_FALSE}"; then
47174   as_fn_error $? "conditional \"USE_LADSPA\" was never defined.
47175 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47176 fi
47177 if test -z "${USE_LV2_TRUE}" && test -z "${USE_LV2_FALSE}"; then
47178   as_fn_error $? "conditional \"USE_LV2\" was never defined.
47179 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47180 fi
47181 if test -z "${USE_LIBMMS_TRUE}" && test -z "${USE_LIBMMS_FALSE}"; then
47182   as_fn_error $? "conditional \"USE_LIBMMS\" was never defined.
47183 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47184 fi
47185 if test -z "${USE_LINSYS_TRUE}" && test -z "${USE_LINSYS_FALSE}"; then
47186   as_fn_error $? "conditional \"USE_LINSYS\" was never defined.
47187 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47188 fi
47189 if test -z "${USE_MODPLUG_TRUE}" && test -z "${USE_MODPLUG_FALSE}"; then
47190   as_fn_error $? "conditional \"USE_MODPLUG\" was never defined.
47191 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47192 fi
47193 if test -z "${USE_MIMIC_TRUE}" && test -z "${USE_MIMIC_FALSE}"; then
47194   as_fn_error $? "conditional \"USE_MIMIC\" was never defined.
47195 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47196 fi
47197 if test -z "${USE_MPEG2ENC_TRUE}" && test -z "${USE_MPEG2ENC_FALSE}"; then
47198   as_fn_error $? "conditional \"USE_MPEG2ENC\" was never defined.
47199 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47200 fi
47201 if test -z "${USE_MPLEX_TRUE}" && test -z "${USE_MPLEX_FALSE}"; then
47202   as_fn_error $? "conditional \"USE_MPLEX\" was never defined.
47203 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47204 fi
47205 if test -z "${USE_MUSEPACK_TRUE}" && test -z "${USE_MUSEPACK_FALSE}"; then
47206   as_fn_error $? "conditional \"USE_MUSEPACK\" was never defined.
47207 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47208 fi
47209 if test -z "${USE_MUSICBRAINZ_TRUE}" && test -z "${USE_MUSICBRAINZ_FALSE}"; then
47210   as_fn_error $? "conditional \"USE_MUSICBRAINZ\" was never defined.
47211 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47212 fi
47213 if test -z "${USE_MYTHTV_TRUE}" && test -z "${USE_MYTHTV_FALSE}"; then
47214   as_fn_error $? "conditional \"USE_MYTHTV\" was never defined.
47215 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47216 fi
47217 if test -z "${USE_NAS_TRUE}" && test -z "${USE_NAS_FALSE}"; then
47218   as_fn_error $? "conditional \"USE_NAS\" was never defined.
47219 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47220 fi
47221 if test -z "${USE_NEON_TRUE}" && test -z "${USE_NEON_FALSE}"; then
47222   as_fn_error $? "conditional \"USE_NEON\" was never defined.
47223 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47224 fi
47225 if test -z "${USE_OFA_TRUE}" && test -z "${USE_OFA_FALSE}"; then
47226   as_fn_error $? "conditional \"USE_OFA\" was never defined.
47227 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47228 fi
47229 if test -z "${USE_OPENAL_TRUE}" && test -z "${USE_OPENAL_FALSE}"; then
47230   as_fn_error $? "conditional \"USE_OPENAL\" was never defined.
47231 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47232 fi
47233 if test -z "${USE_OPENCV_TRUE}" && test -z "${USE_OPENCV_FALSE}"; then
47234   as_fn_error $? "conditional \"USE_OPENCV\" was never defined.
47235 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47236 fi
47237 if test -z "${USE_OPUS_TRUE}" && test -z "${USE_OPUS_FALSE}"; then
47238   as_fn_error $? "conditional \"USE_OPUS\" was never defined.
47239 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47240 fi
47241 if test -z "${USE_PVR_TRUE}" && test -z "${USE_PVR_FALSE}"; then
47242   as_fn_error $? "conditional \"USE_PVR\" was never defined.
47243 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47244 fi
47245 if test -z "${USE_RSVG_TRUE}" && test -z "${USE_RSVG_FALSE}"; then
47246   as_fn_error $? "conditional \"USE_RSVG\" was never defined.
47247 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47248 fi
47249 if test -z "${USE_TIMIDITY_TRUE}" && test -z "${USE_TIMIDITY_FALSE}"; then
47250   as_fn_error $? "conditional \"USE_TIMIDITY\" was never defined.
47251 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47252 fi
47253 if test -z "${USE_WILDMIDI_TRUE}" && test -z "${USE_WILDMIDI_FALSE}"; then
47254   as_fn_error $? "conditional \"USE_WILDMIDI\" was never defined.
47255 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47256 fi
47257 if test -z "${USE_SDL_TRUE}" && test -z "${USE_SDL_FALSE}"; then
47258   as_fn_error $? "conditional \"USE_SDL\" was never defined.
47259 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47260 fi
47261 if test -z "${USE_SNDFILE_TRUE}" && test -z "${USE_SNDFILE_FALSE}"; then
47262   as_fn_error $? "conditional \"USE_SNDFILE\" was never defined.
47263 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47264 fi
47265 if test -z "${USE_SOUNDTOUCH_TRUE}" && test -z "${USE_SOUNDTOUCH_FALSE}"; then
47266   as_fn_error $? "conditional \"USE_SOUNDTOUCH\" was never defined.
47267 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47268 fi
47269 if test -z "${USE_SPANDSP_TRUE}" && test -z "${USE_SPANDSP_FALSE}"; then
47270   as_fn_error $? "conditional \"USE_SPANDSP\" was never defined.
47271 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47272 fi
47273 if test -z "${USE_SPC_TRUE}" && test -z "${USE_SPC_FALSE}"; then
47274   as_fn_error $? "conditional \"USE_SPC\" was never defined.
47275 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47276 fi
47277 if test -z "${USE_GME_TRUE}" && test -z "${USE_GME_FALSE}"; then
47278   as_fn_error $? "conditional \"USE_GME\" was never defined.
47279 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47280 fi
47281 if test -z "${USE_GSETTINGS_TRUE}" && test -z "${USE_GSETTINGS_FALSE}"; then
47282   as_fn_error $? "conditional \"USE_GSETTINGS\" was never defined.
47283 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47284 fi
47285 if test -z "${USE_SWFDEC_TRUE}" && test -z "${USE_SWFDEC_FALSE}"; then
47286   as_fn_error $? "conditional \"USE_SWFDEC\" was never defined.
47287 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47288 fi
47289 if test -z "${USE_XVID_TRUE}" && test -z "${USE_XVID_FALSE}"; then
47290   as_fn_error $? "conditional \"USE_XVID\" was never defined.
47291 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47292 fi
47293 if test -z "${USE_DVB_TRUE}" && test -z "${USE_DVB_FALSE}"; then
47294   as_fn_error $? "conditional \"USE_DVB\" was never defined.
47295 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47296 fi
47297 if test -z "${USE_WININET_TRUE}" && test -z "${USE_WININET_FALSE}"; then
47298   as_fn_error $? "conditional \"USE_WININET\" was never defined.
47299 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47300 fi
47301 if test -z "${USE_ACM_TRUE}" && test -z "${USE_ACM_FALSE}"; then
47302   as_fn_error $? "conditional \"USE_ACM\" was never defined.
47303 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47304 fi
47305 if test -z "${USE_VDPAU_TRUE}" && test -z "${USE_VDPAU_FALSE}"; then
47306   as_fn_error $? "conditional \"USE_VDPAU\" was never defined.
47307 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47308 fi
47309 if test -z "${USE_SCHRO_TRUE}" && test -z "${USE_SCHRO_FALSE}"; then
47310   as_fn_error $? "conditional \"USE_SCHRO\" was never defined.
47311 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47312 fi
47313 if test -z "${USE_ZBAR_TRUE}" && test -z "${USE_ZBAR_FALSE}"; then
47314   as_fn_error $? "conditional \"USE_ZBAR\" was never defined.
47315 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47316 fi
47317 if test -z "${USE_VP8_TRUE}" && test -z "${USE_VP8_FALSE}"; then
47318   as_fn_error $? "conditional \"USE_VP8\" was never defined.
47319 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47320 fi
47321 if test -z "${USE_RTMP_TRUE}" && test -z "${USE_RTMP_FALSE}"; then
47322   as_fn_error $? "conditional \"USE_RTMP\" was never defined.
47323 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47324 fi
47325 if test -z "${USE_TELETEXTDEC_TRUE}" && test -z "${USE_TELETEXTDEC_FALSE}"; then
47326   as_fn_error $? "conditional \"USE_TELETEXTDEC\" was never defined.
47327 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47328 fi
47329
47330 : "${CONFIG_STATUS=./config.status}"
47331 ac_write_fail=0
47332 ac_clean_files_save=$ac_clean_files
47333 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
47334 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
47335 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
47336 as_write_fail=0
47337 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
47338 #! $SHELL
47339 # Generated by $as_me.
47340 # Run this file to recreate the current configuration.
47341 # Compiler output produced by configure, useful for debugging
47342 # configure, is in config.log if it exists.
47343
47344 debug=false
47345 ac_cs_recheck=false
47346 ac_cs_silent=false
47347
47348 SHELL=\${CONFIG_SHELL-$SHELL}
47349 export SHELL
47350 _ASEOF
47351 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
47352 ## -------------------- ##
47353 ## M4sh Initialization. ##
47354 ## -------------------- ##
47355
47356 # Be more Bourne compatible
47357 DUALCASE=1; export DUALCASE # for MKS sh
47358 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
47359   emulate sh
47360   NULLCMD=:
47361   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
47362   # is contrary to our usage.  Disable this feature.
47363   alias -g '${1+"$@"}'='"$@"'
47364   setopt NO_GLOB_SUBST
47365 else
47366   case `(set -o) 2>/dev/null` in #(
47367   *posix*) :
47368     set -o posix ;; #(
47369   *) :
47370      ;;
47371 esac
47372 fi
47373
47374
47375 as_nl='
47376 '
47377 export as_nl
47378 # Printing a long string crashes Solaris 7 /usr/bin/printf.
47379 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47380 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
47381 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47382 # Prefer a ksh shell builtin over an external printf program on Solaris,
47383 # but without wasting forks for bash or zsh.
47384 if test -z "$BASH_VERSION$ZSH_VERSION" \
47385     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47386   as_echo='print -r --'
47387   as_echo_n='print -rn --'
47388 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
47389   as_echo='printf %s\n'
47390   as_echo_n='printf %s'
47391 else
47392   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
47393     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
47394     as_echo_n='/usr/ucb/echo -n'
47395   else
47396     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
47397     as_echo_n_body='eval
47398       arg=$1;
47399       case $arg in #(
47400       *"$as_nl"*)
47401         expr "X$arg" : "X\\(.*\\)$as_nl";
47402         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
47403       esac;
47404       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
47405     '
47406     export as_echo_n_body
47407     as_echo_n='sh -c $as_echo_n_body as_echo'
47408   fi
47409   export as_echo_body
47410   as_echo='sh -c $as_echo_body as_echo'
47411 fi
47412
47413 # The user is always right.
47414 if test "${PATH_SEPARATOR+set}" != set; then
47415   PATH_SEPARATOR=:
47416   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
47417     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
47418       PATH_SEPARATOR=';'
47419   }
47420 fi
47421
47422
47423 # IFS
47424 # We need space, tab and new line, in precisely that order.  Quoting is
47425 # there to prevent editors from complaining about space-tab.
47426 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
47427 # splitting by setting IFS to empty value.)
47428 IFS=" ""        $as_nl"
47429
47430 # Find who we are.  Look in the path if we contain no directory separator.
47431 as_myself=
47432 case $0 in #((
47433   *[\\/]* ) as_myself=$0 ;;
47434   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47435 for as_dir in $PATH
47436 do
47437   IFS=$as_save_IFS
47438   test -z "$as_dir" && as_dir=.
47439     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
47440   done
47441 IFS=$as_save_IFS
47442
47443      ;;
47444 esac
47445 # We did not find ourselves, most probably we were run as `sh COMMAND'
47446 # in which case we are not to be found in the path.
47447 if test "x$as_myself" = x; then
47448   as_myself=$0
47449 fi
47450 if test ! -f "$as_myself"; then
47451   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
47452   exit 1
47453 fi
47454
47455 # Unset variables that we do not need and which cause bugs (e.g. in
47456 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
47457 # suppresses any "Segmentation fault" message there.  '((' could
47458 # trigger a bug in pdksh 5.2.14.
47459 for as_var in BASH_ENV ENV MAIL MAILPATH
47460 do eval test x\${$as_var+set} = xset \
47461   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
47462 done
47463 PS1='$ '
47464 PS2='> '
47465 PS4='+ '
47466
47467 # NLS nuisances.
47468 LC_ALL=C
47469 export LC_ALL
47470 LANGUAGE=C
47471 export LANGUAGE
47472
47473 # CDPATH.
47474 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
47475
47476
47477 # as_fn_error STATUS ERROR [LINENO LOG_FD]
47478 # ----------------------------------------
47479 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
47480 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
47481 # script with STATUS, using 1 if that was 0.
47482 as_fn_error ()
47483 {
47484   as_status=$1; test $as_status -eq 0 && as_status=1
47485   if test "$4"; then
47486     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
47487     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
47488   fi
47489   $as_echo "$as_me: error: $2" >&2
47490   as_fn_exit $as_status
47491 } # as_fn_error
47492
47493
47494 # as_fn_set_status STATUS
47495 # -----------------------
47496 # Set $? to STATUS, without forking.
47497 as_fn_set_status ()
47498 {
47499   return $1
47500 } # as_fn_set_status
47501
47502 # as_fn_exit STATUS
47503 # -----------------
47504 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
47505 as_fn_exit ()
47506 {
47507   set +e
47508   as_fn_set_status $1
47509   exit $1
47510 } # as_fn_exit
47511
47512 # as_fn_unset VAR
47513 # ---------------
47514 # Portably unset VAR.
47515 as_fn_unset ()
47516 {
47517   { eval $1=; unset $1;}
47518 }
47519 as_unset=as_fn_unset
47520 # as_fn_append VAR VALUE
47521 # ----------------------
47522 # Append the text in VALUE to the end of the definition contained in VAR. Take
47523 # advantage of any shell optimizations that allow amortized linear growth over
47524 # repeated appends, instead of the typical quadratic growth present in naive
47525 # implementations.
47526 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
47527   eval 'as_fn_append ()
47528   {
47529     eval $1+=\$2
47530   }'
47531 else
47532   as_fn_append ()
47533   {
47534     eval $1=\$$1\$2
47535   }
47536 fi # as_fn_append
47537
47538 # as_fn_arith ARG...
47539 # ------------------
47540 # Perform arithmetic evaluation on the ARGs, and store the result in the
47541 # global $as_val. Take advantage of shells that can avoid forks. The arguments
47542 # must be portable across $(()) and expr.
47543 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
47544   eval 'as_fn_arith ()
47545   {
47546     as_val=$(( $* ))
47547   }'
47548 else
47549   as_fn_arith ()
47550   {
47551     as_val=`expr "$@" || test $? -eq 1`
47552   }
47553 fi # as_fn_arith
47554
47555
47556 if expr a : '\(a\)' >/dev/null 2>&1 &&
47557    test "X`expr 00001 : '.*\(...\)'`" = X001; then
47558   as_expr=expr
47559 else
47560   as_expr=false
47561 fi
47562
47563 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
47564   as_basename=basename
47565 else
47566   as_basename=false
47567 fi
47568
47569 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
47570   as_dirname=dirname
47571 else
47572   as_dirname=false
47573 fi
47574
47575 as_me=`$as_basename -- "$0" ||
47576 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
47577          X"$0" : 'X\(//\)$' \| \
47578          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
47579 $as_echo X/"$0" |
47580     sed '/^.*\/\([^/][^/]*\)\/*$/{
47581             s//\1/
47582             q
47583           }
47584           /^X\/\(\/\/\)$/{
47585             s//\1/
47586             q
47587           }
47588           /^X\/\(\/\).*/{
47589             s//\1/
47590             q
47591           }
47592           s/.*/./; q'`
47593
47594 # Avoid depending upon Character Ranges.
47595 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
47596 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
47597 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
47598 as_cr_digits='0123456789'
47599 as_cr_alnum=$as_cr_Letters$as_cr_digits
47600
47601 ECHO_C= ECHO_N= ECHO_T=
47602 case `echo -n x` in #(((((
47603 -n*)
47604   case `echo 'xy\c'` in
47605   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
47606   xy)  ECHO_C='\c';;
47607   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
47608        ECHO_T=' ';;
47609   esac;;
47610 *)
47611   ECHO_N='-n';;
47612 esac
47613
47614 rm -f conf$$ conf$$.exe conf$$.file
47615 if test -d conf$$.dir; then
47616   rm -f conf$$.dir/conf$$.file
47617 else
47618   rm -f conf$$.dir
47619   mkdir conf$$.dir 2>/dev/null
47620 fi
47621 if (echo >conf$$.file) 2>/dev/null; then
47622   if ln -s conf$$.file conf$$ 2>/dev/null; then
47623     as_ln_s='ln -s'
47624     # ... but there are two gotchas:
47625     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
47626     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
47627     # In both cases, we have to default to `cp -p'.
47628     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
47629       as_ln_s='cp -p'
47630   elif ln conf$$.file conf$$ 2>/dev/null; then
47631     as_ln_s=ln
47632   else
47633     as_ln_s='cp -p'
47634   fi
47635 else
47636   as_ln_s='cp -p'
47637 fi
47638 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
47639 rmdir conf$$.dir 2>/dev/null
47640
47641
47642 # as_fn_mkdir_p
47643 # -------------
47644 # Create "$as_dir" as a directory, including parents if necessary.
47645 as_fn_mkdir_p ()
47646 {
47647
47648   case $as_dir in #(
47649   -*) as_dir=./$as_dir;;
47650   esac
47651   test -d "$as_dir" || eval $as_mkdir_p || {
47652     as_dirs=
47653     while :; do
47654       case $as_dir in #(
47655       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
47656       *) as_qdir=$as_dir;;
47657       esac
47658       as_dirs="'$as_qdir' $as_dirs"
47659       as_dir=`$as_dirname -- "$as_dir" ||
47660 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
47661          X"$as_dir" : 'X\(//\)[^/]' \| \
47662          X"$as_dir" : 'X\(//\)$' \| \
47663          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
47664 $as_echo X"$as_dir" |
47665     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
47666             s//\1/
47667             q
47668           }
47669           /^X\(\/\/\)[^/].*/{
47670             s//\1/
47671             q
47672           }
47673           /^X\(\/\/\)$/{
47674             s//\1/
47675             q
47676           }
47677           /^X\(\/\).*/{
47678             s//\1/
47679             q
47680           }
47681           s/.*/./; q'`
47682       test -d "$as_dir" && break
47683     done
47684     test -z "$as_dirs" || eval "mkdir $as_dirs"
47685   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
47686
47687
47688 } # as_fn_mkdir_p
47689 if mkdir -p . 2>/dev/null; then
47690   as_mkdir_p='mkdir -p "$as_dir"'
47691 else
47692   test -d ./-p && rmdir ./-p
47693   as_mkdir_p=false
47694 fi
47695
47696 if test -x / >/dev/null 2>&1; then
47697   as_test_x='test -x'
47698 else
47699   if ls -dL / >/dev/null 2>&1; then
47700     as_ls_L_option=L
47701   else
47702     as_ls_L_option=
47703   fi
47704   as_test_x='
47705     eval sh -c '\''
47706       if test -d "$1"; then
47707         test -d "$1/.";
47708       else
47709         case $1 in #(
47710         -*)set "./$1";;
47711         esac;
47712         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
47713         ???[sx]*):;;*)false;;esac;fi
47714     '\'' sh
47715   '
47716 fi
47717 as_executable_p=$as_test_x
47718
47719 # Sed expression to map a string onto a valid CPP name.
47720 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
47721
47722 # Sed expression to map a string onto a valid variable name.
47723 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
47724
47725
47726 exec 6>&1
47727 ## ----------------------------------- ##
47728 ## Main body of $CONFIG_STATUS script. ##
47729 ## ----------------------------------- ##
47730 _ASEOF
47731 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
47732
47733 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
47734 # Save the log message, to keep $0 and so on meaningful, and to
47735 # report actual input values of CONFIG_FILES etc. instead of their
47736 # values after options handling.
47737 ac_log="
47738 This file was extended by GStreamer Bad Plug-ins $as_me 0.10.23, which was
47739 generated by GNU Autoconf 2.68.  Invocation command line was
47740
47741   CONFIG_FILES    = $CONFIG_FILES
47742   CONFIG_HEADERS  = $CONFIG_HEADERS
47743   CONFIG_LINKS    = $CONFIG_LINKS
47744   CONFIG_COMMANDS = $CONFIG_COMMANDS
47745   $ $0 $@
47746
47747 on `(hostname || uname -n) 2>/dev/null | sed 1q`
47748 "
47749
47750 _ACEOF
47751
47752 case $ac_config_files in *"
47753 "*) set x $ac_config_files; shift; ac_config_files=$*;;
47754 esac
47755
47756 case $ac_config_headers in *"
47757 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
47758 esac
47759
47760
47761 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
47762 # Files that config.status was made for.
47763 config_files="$ac_config_files"
47764 config_headers="$ac_config_headers"
47765 config_commands="$ac_config_commands"
47766
47767 _ACEOF
47768
47769 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
47770 ac_cs_usage="\
47771 \`$as_me' instantiates files and other configuration actions
47772 from templates according to the current configuration.  Unless the files
47773 and actions are specified as TAGs, all are instantiated by default.
47774
47775 Usage: $0 [OPTION]... [TAG]...
47776
47777   -h, --help       print this help, then exit
47778   -V, --version    print version number and configuration settings, then exit
47779       --config     print configuration, then exit
47780   -q, --quiet, --silent
47781                    do not print progress messages
47782   -d, --debug      don't remove temporary files
47783       --recheck    update $as_me by reconfiguring in the same conditions
47784       --file=FILE[:TEMPLATE]
47785                    instantiate the configuration file FILE
47786       --header=FILE[:TEMPLATE]
47787                    instantiate the configuration header FILE
47788
47789 Configuration files:
47790 $config_files
47791
47792 Configuration headers:
47793 $config_headers
47794
47795 Configuration commands:
47796 $config_commands
47797
47798 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer>."
47799
47800 _ACEOF
47801 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
47802 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
47803 ac_cs_version="\\
47804 GStreamer Bad Plug-ins config.status 0.10.23
47805 configured by $0, generated by GNU Autoconf 2.68,
47806   with options \\"\$ac_cs_config\\"
47807
47808 Copyright (C) 2010 Free Software Foundation, Inc.
47809 This config.status script is free software; the Free Software Foundation
47810 gives unlimited permission to copy, distribute and modify it."
47811
47812 ac_pwd='$ac_pwd'
47813 srcdir='$srcdir'
47814 INSTALL='$INSTALL'
47815 MKDIR_P='$MKDIR_P'
47816 AWK='$AWK'
47817 test -n "\$AWK" || AWK=awk
47818 _ACEOF
47819
47820 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
47821 # The default lists apply if the user does not specify any file.
47822 ac_need_defaults=:
47823 while test $# != 0
47824 do
47825   case $1 in
47826   --*=?*)
47827     ac_option=`expr "X$1" : 'X\([^=]*\)='`
47828     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
47829     ac_shift=:
47830     ;;
47831   --*=)
47832     ac_option=`expr "X$1" : 'X\([^=]*\)='`
47833     ac_optarg=
47834     ac_shift=:
47835     ;;
47836   *)
47837     ac_option=$1
47838     ac_optarg=$2
47839     ac_shift=shift
47840     ;;
47841   esac
47842
47843   case $ac_option in
47844   # Handling of the options.
47845   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
47846     ac_cs_recheck=: ;;
47847   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
47848     $as_echo "$ac_cs_version"; exit ;;
47849   --config | --confi | --conf | --con | --co | --c )
47850     $as_echo "$ac_cs_config"; exit ;;
47851   --debug | --debu | --deb | --de | --d | -d )
47852     debug=: ;;
47853   --file | --fil | --fi | --f )
47854     $ac_shift
47855     case $ac_optarg in
47856     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
47857     '') as_fn_error $? "missing file argument" ;;
47858     esac
47859     as_fn_append CONFIG_FILES " '$ac_optarg'"
47860     ac_need_defaults=false;;
47861   --header | --heade | --head | --hea )
47862     $ac_shift
47863     case $ac_optarg in
47864     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
47865     esac
47866     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
47867     ac_need_defaults=false;;
47868   --he | --h)
47869     # Conflict between --help and --header
47870     as_fn_error $? "ambiguous option: \`$1'
47871 Try \`$0 --help' for more information.";;
47872   --help | --hel | -h )
47873     $as_echo "$ac_cs_usage"; exit ;;
47874   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
47875   | -silent | --silent | --silen | --sile | --sil | --si | --s)
47876     ac_cs_silent=: ;;
47877
47878   # This is an error.
47879   -*) as_fn_error $? "unrecognized option: \`$1'
47880 Try \`$0 --help' for more information." ;;
47881
47882   *) as_fn_append ac_config_targets " $1"
47883      ac_need_defaults=false ;;
47884
47885   esac
47886   shift
47887 done
47888
47889 ac_configure_extra_args=
47890
47891 if $ac_cs_silent; then
47892   exec 6>/dev/null
47893   ac_configure_extra_args="$ac_configure_extra_args --silent"
47894 fi
47895
47896 _ACEOF
47897 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
47898 if \$ac_cs_recheck; then
47899   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
47900   shift
47901   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
47902   CONFIG_SHELL='$SHELL'
47903   export CONFIG_SHELL
47904   exec "\$@"
47905 fi
47906
47907 _ACEOF
47908 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
47909 exec 5>>config.log
47910 {
47911   echo
47912   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
47913 ## Running $as_me. ##
47914 _ASBOX
47915   $as_echo "$ac_log"
47916 } >&5
47917
47918 _ACEOF
47919 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
47920 #
47921 # INIT-COMMANDS
47922 #
47923 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
47924
47925
47926 # The HP-UX ksh and POSIX shell print the target directory to stdout
47927 # if CDPATH is set.
47928 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
47929
47930 sed_quote_subst='$sed_quote_subst'
47931 double_quote_subst='$double_quote_subst'
47932 delay_variable_subst='$delay_variable_subst'
47933 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
47934 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
47935 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
47936 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
47937 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
47938 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
47939 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
47940 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
47941 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
47942 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
47943 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
47944 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
47945 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
47946 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
47947 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
47948 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
47949 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
47950 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
47951 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
47952 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
47953 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
47954 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
47955 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
47956 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
47957 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
47958 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
47959 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
47960 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
47961 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
47962 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
47963 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
47964 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
47965 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
47966 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
47967 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
47968 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
47969 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
47970 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
47971 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
47972 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
47973 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
47974 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
47975 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
47976 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
47977 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
47978 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
47979 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
47980 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
47981 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
47982 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
47983 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
47984 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
47985 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
47986 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
47987 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
47988 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
47989 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
47990 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"`'
47991 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
47992 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
47993 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
47994 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
47995 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
47996 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
47997 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
47998 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
47999 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
48000 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
48001 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
48002 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
48003 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
48004 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
48005 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
48006 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
48007 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
48008 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
48009 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
48010 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
48011 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
48012 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
48013 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
48014 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
48015 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
48016 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
48017 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
48018 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
48019 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
48020 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
48021 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
48022 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
48023 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
48024 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
48025 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
48026 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
48027 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
48028 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
48029 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
48030 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
48031 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
48032 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
48033 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
48034 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
48035 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
48036 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
48037 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
48038 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
48039 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
48040 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
48041 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
48042 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
48043 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
48044 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
48045 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
48046 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
48047 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
48048 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
48049 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
48050 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
48051 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
48052 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
48053 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
48054 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
48055 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
48056 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
48057 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
48058 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
48059 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
48060 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
48061 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
48062 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
48063 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
48064 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
48065 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
48066 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
48067 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
48068 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
48069 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
48070 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
48071 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
48072 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
48073 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
48074 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
48075 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
48076 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
48077 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
48078 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
48079 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
48080 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
48081 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
48082 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
48083 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
48084 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
48085 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
48086 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
48087 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
48088 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
48089 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
48090 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
48091 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
48092 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
48093 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
48094 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
48095 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
48096 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
48097 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
48098 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
48099 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
48100 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
48101 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
48102 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
48103 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
48104 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
48105 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
48106 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
48107 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
48108 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
48109 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
48110 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
48111 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
48112 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
48113 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
48114 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
48115 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
48116 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
48117 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
48118
48119 LTCC='$LTCC'
48120 LTCFLAGS='$LTCFLAGS'
48121 compiler='$compiler_DEFAULT'
48122
48123 # A function that is used when there is no print builtin or printf.
48124 func_fallback_echo ()
48125 {
48126   eval 'cat <<_LTECHO_EOF
48127 \$1
48128 _LTECHO_EOF'
48129 }
48130
48131 # Quote evaled strings.
48132 for var in AS \
48133 DLLTOOL \
48134 OBJDUMP \
48135 SHELL \
48136 ECHO \
48137 PATH_SEPARATOR \
48138 SED \
48139 GREP \
48140 EGREP \
48141 FGREP \
48142 LD \
48143 NM \
48144 LN_S \
48145 lt_SP2NL \
48146 lt_NL2SP \
48147 reload_flag \
48148 deplibs_check_method \
48149 file_magic_cmd \
48150 file_magic_glob \
48151 want_nocaseglob \
48152 sharedlib_from_linklib_cmd \
48153 AR \
48154 AR_FLAGS \
48155 archiver_list_spec \
48156 STRIP \
48157 RANLIB \
48158 CC \
48159 CFLAGS \
48160 compiler \
48161 lt_cv_sys_global_symbol_pipe \
48162 lt_cv_sys_global_symbol_to_cdecl \
48163 lt_cv_sys_global_symbol_to_c_name_address \
48164 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
48165 nm_file_list_spec \
48166 lt_prog_compiler_no_builtin_flag \
48167 lt_prog_compiler_pic \
48168 lt_prog_compiler_wl \
48169 lt_prog_compiler_static \
48170 lt_cv_prog_compiler_c_o \
48171 need_locks \
48172 MANIFEST_TOOL \
48173 DSYMUTIL \
48174 NMEDIT \
48175 LIPO \
48176 OTOOL \
48177 OTOOL64 \
48178 shrext_cmds \
48179 export_dynamic_flag_spec \
48180 whole_archive_flag_spec \
48181 compiler_needs_object \
48182 with_gnu_ld \
48183 allow_undefined_flag \
48184 no_undefined_flag \
48185 hardcode_libdir_flag_spec \
48186 hardcode_libdir_separator \
48187 exclude_expsyms \
48188 include_expsyms \
48189 file_list_spec \
48190 variables_saved_for_relink \
48191 libname_spec \
48192 library_names_spec \
48193 soname_spec \
48194 install_override_mode \
48195 finish_eval \
48196 old_striplib \
48197 striplib \
48198 compiler_lib_search_dirs \
48199 predep_objects \
48200 postdep_objects \
48201 predeps \
48202 postdeps \
48203 compiler_lib_search_path \
48204 LD_CXX \
48205 reload_flag_CXX \
48206 compiler_CXX \
48207 lt_prog_compiler_no_builtin_flag_CXX \
48208 lt_prog_compiler_pic_CXX \
48209 lt_prog_compiler_wl_CXX \
48210 lt_prog_compiler_static_CXX \
48211 lt_cv_prog_compiler_c_o_CXX \
48212 export_dynamic_flag_spec_CXX \
48213 whole_archive_flag_spec_CXX \
48214 compiler_needs_object_CXX \
48215 with_gnu_ld_CXX \
48216 allow_undefined_flag_CXX \
48217 no_undefined_flag_CXX \
48218 hardcode_libdir_flag_spec_CXX \
48219 hardcode_libdir_separator_CXX \
48220 exclude_expsyms_CXX \
48221 include_expsyms_CXX \
48222 file_list_spec_CXX \
48223 compiler_lib_search_dirs_CXX \
48224 predep_objects_CXX \
48225 postdep_objects_CXX \
48226 predeps_CXX \
48227 postdeps_CXX \
48228 compiler_lib_search_path_CXX; do
48229     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
48230     *[\\\\\\\`\\"\\\$]*)
48231       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
48232       ;;
48233     *)
48234       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
48235       ;;
48236     esac
48237 done
48238
48239 # Double-quote double-evaled strings.
48240 for var in reload_cmds \
48241 old_postinstall_cmds \
48242 old_postuninstall_cmds \
48243 old_archive_cmds \
48244 extract_expsyms_cmds \
48245 old_archive_from_new_cmds \
48246 old_archive_from_expsyms_cmds \
48247 archive_cmds \
48248 archive_expsym_cmds \
48249 module_cmds \
48250 module_expsym_cmds \
48251 export_symbols_cmds \
48252 prelink_cmds \
48253 postlink_cmds \
48254 postinstall_cmds \
48255 postuninstall_cmds \
48256 finish_cmds \
48257 sys_lib_search_path_spec \
48258 sys_lib_dlsearch_path_spec \
48259 reload_cmds_CXX \
48260 old_archive_cmds_CXX \
48261 old_archive_from_new_cmds_CXX \
48262 old_archive_from_expsyms_cmds_CXX \
48263 archive_cmds_CXX \
48264 archive_expsym_cmds_CXX \
48265 module_cmds_CXX \
48266 module_expsym_cmds_CXX \
48267 export_symbols_cmds_CXX \
48268 prelink_cmds_CXX \
48269 postlink_cmds_CXX; do
48270     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
48271     *[\\\\\\\`\\"\\\$]*)
48272       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
48273       ;;
48274     *)
48275       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
48276       ;;
48277     esac
48278 done
48279
48280 ac_aux_dir='$ac_aux_dir'
48281 xsi_shell='$xsi_shell'
48282 lt_shell_append='$lt_shell_append'
48283
48284 # See if we are running on zsh, and set the options which allow our
48285 # commands through without removal of \ escapes INIT.
48286 if test -n "\${ZSH_VERSION+set}" ; then
48287    setopt NO_GLOB_SUBST
48288 fi
48289
48290
48291     PACKAGE='$PACKAGE'
48292     VERSION='$VERSION'
48293     TIMESTAMP='$TIMESTAMP'
48294     RM='$RM'
48295     ofile='$ofile'
48296
48297
48298
48299
48300
48301 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
48302     # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
48303     # from automake < 1.5.
48304     eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
48305     # Capture the value of LINGUAS because we need it to compute CATALOGS.
48306     LINGUAS="${LINGUAS-%UNSET%}"
48307
48308 # variables for create stdint.h replacement
48309 PACKAGE="$PACKAGE"
48310 VERSION="$VERSION"
48311 ac_stdint_h="$ac_stdint_h"
48312 _ac_stdint_h=`$as_echo "_$PACKAGE-$ac_stdint_h" | $as_tr_cpp`
48313 ac_cv_stdint_message="$ac_cv_stdint_message"
48314 ac_cv_header_stdint_t="$ac_cv_header_stdint_t"
48315 ac_cv_header_stdint_x="$ac_cv_header_stdint_x"
48316 ac_cv_header_stdint_o="$ac_cv_header_stdint_o"
48317 ac_cv_header_stdint_u="$ac_cv_header_stdint_u"
48318 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
48319 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
48320 ac_cv_char_data_model="$ac_cv_char_data_model"
48321 ac_cv_long_data_model="$ac_cv_long_data_model"
48322 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
48323 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
48324 ac_cv_type_intmax_t="$ac_cv_type_intmax_t"
48325
48326
48327 _ACEOF
48328
48329 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
48330
48331 # Handling of arguments.
48332 for ac_config_target in $ac_config_targets
48333 do
48334   case $ac_config_target in
48335     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
48336     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
48337     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
48338     "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
48339     "$ac_stdint_h") CONFIG_COMMANDS="$CONFIG_COMMANDS $ac_stdint_h" ;;
48340     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
48341     "common/Makefile") CONFIG_FILES="$CONFIG_FILES common/Makefile" ;;
48342     "common/m4/Makefile") CONFIG_FILES="$CONFIG_FILES common/m4/Makefile" ;;
48343     "gst-plugins-bad.spec") CONFIG_FILES="$CONFIG_FILES gst-plugins-bad.spec" ;;
48344     "gst/Makefile") CONFIG_FILES="$CONFIG_FILES gst/Makefile" ;;
48345     "gst/adpcmdec/Makefile") CONFIG_FILES="$CONFIG_FILES gst/adpcmdec/Makefile" ;;
48346     "gst/adpcmenc/Makefile") CONFIG_FILES="$CONFIG_FILES gst/adpcmenc/Makefile" ;;
48347     "gst/aiff/Makefile") CONFIG_FILES="$CONFIG_FILES gst/aiff/Makefile" ;;
48348     "gst/asfmux/Makefile") CONFIG_FILES="$CONFIG_FILES gst/asfmux/Makefile" ;;
48349     "gst/audiovisualizers/Makefile") CONFIG_FILES="$CONFIG_FILES gst/audiovisualizers/Makefile" ;;
48350     "gst/autoconvert/Makefile") CONFIG_FILES="$CONFIG_FILES gst/autoconvert/Makefile" ;;
48351     "gst/bayer/Makefile") CONFIG_FILES="$CONFIG_FILES gst/bayer/Makefile" ;;
48352     "gst/camerabin/Makefile") CONFIG_FILES="$CONFIG_FILES gst/camerabin/Makefile" ;;
48353     "gst/camerabin2/Makefile") CONFIG_FILES="$CONFIG_FILES gst/camerabin2/Makefile" ;;
48354     "gst/cdxaparse/Makefile") CONFIG_FILES="$CONFIG_FILES gst/cdxaparse/Makefile" ;;
48355     "gst/colorspace/Makefile") CONFIG_FILES="$CONFIG_FILES gst/colorspace/Makefile" ;;
48356     "gst/coloreffects/Makefile") CONFIG_FILES="$CONFIG_FILES gst/coloreffects/Makefile" ;;
48357     "gst/dataurisrc/Makefile") CONFIG_FILES="$CONFIG_FILES gst/dataurisrc/Makefile" ;;
48358     "gst/dccp/Makefile") CONFIG_FILES="$CONFIG_FILES gst/dccp/Makefile" ;;
48359     "gst/debugutils/Makefile") CONFIG_FILES="$CONFIG_FILES gst/debugutils/Makefile" ;;
48360     "gst/dtmf/Makefile") CONFIG_FILES="$CONFIG_FILES gst/dtmf/Makefile" ;;
48361     "gst/dvbsuboverlay/Makefile") CONFIG_FILES="$CONFIG_FILES gst/dvbsuboverlay/Makefile" ;;
48362     "gst/dvdspu/Makefile") CONFIG_FILES="$CONFIG_FILES gst/dvdspu/Makefile" ;;
48363     "gst/faceoverlay/Makefile") CONFIG_FILES="$CONFIG_FILES gst/faceoverlay/Makefile" ;;
48364     "gst/festival/Makefile") CONFIG_FILES="$CONFIG_FILES gst/festival/Makefile" ;;
48365     "gst/fieldanalysis/Makefile") CONFIG_FILES="$CONFIG_FILES gst/fieldanalysis/Makefile" ;;
48366     "gst/freeze/Makefile") CONFIG_FILES="$CONFIG_FILES gst/freeze/Makefile" ;;
48367     "gst/freeverb/Makefile") CONFIG_FILES="$CONFIG_FILES gst/freeverb/Makefile" ;;
48368     "gst/frei0r/Makefile") CONFIG_FILES="$CONFIG_FILES gst/frei0r/Makefile" ;;
48369     "gst/gaudieffects/Makefile") CONFIG_FILES="$CONFIG_FILES gst/gaudieffects/Makefile" ;;
48370     "gst/geometrictransform/Makefile") CONFIG_FILES="$CONFIG_FILES gst/geometrictransform/Makefile" ;;
48371     "gst/h264parse/Makefile") CONFIG_FILES="$CONFIG_FILES gst/h264parse/Makefile" ;;
48372     "gst/hdvparse/Makefile") CONFIG_FILES="$CONFIG_FILES gst/hdvparse/Makefile" ;;
48373     "gst/hls/Makefile") CONFIG_FILES="$CONFIG_FILES gst/hls/Makefile" ;;
48374     "gst/id3tag/Makefile") CONFIG_FILES="$CONFIG_FILES gst/id3tag/Makefile" ;;
48375     "gst/inter/Makefile") CONFIG_FILES="$CONFIG_FILES gst/inter/Makefile" ;;
48376     "gst/interlace/Makefile") CONFIG_FILES="$CONFIG_FILES gst/interlace/Makefile" ;;
48377     "gst/ivfparse/Makefile") CONFIG_FILES="$CONFIG_FILES gst/ivfparse/Makefile" ;;
48378     "gst/jp2kdecimator/Makefile") CONFIG_FILES="$CONFIG_FILES gst/jp2kdecimator/Makefile" ;;
48379     "gst/jpegformat/Makefile") CONFIG_FILES="$CONFIG_FILES gst/jpegformat/Makefile" ;;
48380     "gst/legacyresample/Makefile") CONFIG_FILES="$CONFIG_FILES gst/legacyresample/Makefile" ;;
48381     "gst/librfb/Makefile") CONFIG_FILES="$CONFIG_FILES gst/librfb/Makefile" ;;
48382     "gst/liveadder/Makefile") CONFIG_FILES="$CONFIG_FILES gst/liveadder/Makefile" ;;
48383     "gst/mpegdemux/Makefile") CONFIG_FILES="$CONFIG_FILES gst/mpegdemux/Makefile" ;;
48384     "gst/mpegtsdemux/Makefile") CONFIG_FILES="$CONFIG_FILES gst/mpegtsdemux/Makefile" ;;
48385     "gst/mpegtsmux/Makefile") CONFIG_FILES="$CONFIG_FILES gst/mpegtsmux/Makefile" ;;
48386     "gst/mpegtsmux/tsmux/Makefile") CONFIG_FILES="$CONFIG_FILES gst/mpegtsmux/tsmux/Makefile" ;;
48387     "gst/mpegpsmux/Makefile") CONFIG_FILES="$CONFIG_FILES gst/mpegpsmux/Makefile" ;;
48388     "gst/mpegvideoparse/Makefile") CONFIG_FILES="$CONFIG_FILES gst/mpegvideoparse/Makefile" ;;
48389     "gst/mve/Makefile") CONFIG_FILES="$CONFIG_FILES gst/mve/Makefile" ;;
48390     "gst/mxf/Makefile") CONFIG_FILES="$CONFIG_FILES gst/mxf/Makefile" ;;
48391     "gst/nsf/Makefile") CONFIG_FILES="$CONFIG_FILES gst/nsf/Makefile" ;;
48392     "gst/nuvdemux/Makefile") CONFIG_FILES="$CONFIG_FILES gst/nuvdemux/Makefile" ;;
48393     "gst/patchdetect/Makefile") CONFIG_FILES="$CONFIG_FILES gst/patchdetect/Makefile" ;;
48394     "gst/pcapparse/Makefile") CONFIG_FILES="$CONFIG_FILES gst/pcapparse/Makefile" ;;
48395     "gst/pnm/Makefile") CONFIG_FILES="$CONFIG_FILES gst/pnm/Makefile" ;;
48396     "gst/rawparse/Makefile") CONFIG_FILES="$CONFIG_FILES gst/rawparse/Makefile" ;;
48397     "gst/real/Makefile") CONFIG_FILES="$CONFIG_FILES gst/real/Makefile" ;;
48398     "gst/removesilence/Makefile") CONFIG_FILES="$CONFIG_FILES gst/removesilence/Makefile" ;;
48399     "gst/rtpmux/Makefile") CONFIG_FILES="$CONFIG_FILES gst/rtpmux/Makefile" ;;
48400     "gst/rtpvp8/Makefile") CONFIG_FILES="$CONFIG_FILES gst/rtpvp8/Makefile" ;;
48401     "gst/scaletempo/Makefile") CONFIG_FILES="$CONFIG_FILES gst/scaletempo/Makefile" ;;
48402     "gst/sdi/Makefile") CONFIG_FILES="$CONFIG_FILES gst/sdi/Makefile" ;;
48403     "gst/sdp/Makefile") CONFIG_FILES="$CONFIG_FILES gst/sdp/Makefile" ;;
48404     "gst/segmentclip/Makefile") CONFIG_FILES="$CONFIG_FILES gst/segmentclip/Makefile" ;;
48405     "gst/siren/Makefile") CONFIG_FILES="$CONFIG_FILES gst/siren/Makefile" ;;
48406     "gst/smooth/Makefile") CONFIG_FILES="$CONFIG_FILES gst/smooth/Makefile" ;;
48407     "gst/speed/Makefile") CONFIG_FILES="$CONFIG_FILES gst/speed/Makefile" ;;
48408     "gst/subenc/Makefile") CONFIG_FILES="$CONFIG_FILES gst/subenc/Makefile" ;;
48409     "gst/stereo/Makefile") CONFIG_FILES="$CONFIG_FILES gst/stereo/Makefile" ;;
48410     "gst/tta/Makefile") CONFIG_FILES="$CONFIG_FILES gst/tta/Makefile" ;;
48411     "gst/videofilters/Makefile") CONFIG_FILES="$CONFIG_FILES gst/videofilters/Makefile" ;;
48412     "gst/videomaxrate/Makefile") CONFIG_FILES="$CONFIG_FILES gst/videomaxrate/Makefile" ;;
48413     "gst/videomeasure/Makefile") CONFIG_FILES="$CONFIG_FILES gst/videomeasure/Makefile" ;;
48414     "gst/videoparsers/Makefile") CONFIG_FILES="$CONFIG_FILES gst/videoparsers/Makefile" ;;
48415     "gst/videosignal/Makefile") CONFIG_FILES="$CONFIG_FILES gst/videosignal/Makefile" ;;
48416     "gst/vmnc/Makefile") CONFIG_FILES="$CONFIG_FILES gst/vmnc/Makefile" ;;
48417     "gst/y4m/Makefile") CONFIG_FILES="$CONFIG_FILES gst/y4m/Makefile" ;;
48418     "gst-libs/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/Makefile" ;;
48419     "gst-libs/gst/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/Makefile" ;;
48420     "gst-libs/gst/basecamerabinsrc/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/basecamerabinsrc/Makefile" ;;
48421     "gst-libs/gst/interfaces/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/interfaces/Makefile" ;;
48422     "gst-libs/gst/signalprocessor/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/signalprocessor/Makefile" ;;
48423     "gst-libs/gst/codecparsers/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/codecparsers/Makefile" ;;
48424     "gst-libs/gst/video/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/video/Makefile" ;;
48425     "sys/Makefile") CONFIG_FILES="$CONFIG_FILES sys/Makefile" ;;
48426     "sys/dshowdecwrapper/Makefile") CONFIG_FILES="$CONFIG_FILES sys/dshowdecwrapper/Makefile" ;;
48427     "sys/acmenc/Makefile") CONFIG_FILES="$CONFIG_FILES sys/acmenc/Makefile" ;;
48428     "sys/acmmp3dec/Makefile") CONFIG_FILES="$CONFIG_FILES sys/acmmp3dec/Makefile" ;;
48429     "sys/applemedia/Makefile") CONFIG_FILES="$CONFIG_FILES sys/applemedia/Makefile" ;;
48430     "sys/avc/Makefile") CONFIG_FILES="$CONFIG_FILES sys/avc/Makefile" ;;
48431     "sys/d3dvideosink/Makefile") CONFIG_FILES="$CONFIG_FILES sys/d3dvideosink/Makefile" ;;
48432     "sys/decklink/Makefile") CONFIG_FILES="$CONFIG_FILES sys/decklink/Makefile" ;;
48433     "sys/directdraw/Makefile") CONFIG_FILES="$CONFIG_FILES sys/directdraw/Makefile" ;;
48434     "sys/directsound/Makefile") CONFIG_FILES="$CONFIG_FILES sys/directsound/Makefile" ;;
48435     "sys/dshowsrcwrapper/Makefile") CONFIG_FILES="$CONFIG_FILES sys/dshowsrcwrapper/Makefile" ;;
48436     "sys/dshowvideosink/Makefile") CONFIG_FILES="$CONFIG_FILES sys/dshowvideosink/Makefile" ;;
48437     "sys/dvb/Makefile") CONFIG_FILES="$CONFIG_FILES sys/dvb/Makefile" ;;
48438     "sys/fbdev/Makefile") CONFIG_FILES="$CONFIG_FILES sys/fbdev/Makefile" ;;
48439     "sys/linsys/Makefile") CONFIG_FILES="$CONFIG_FILES sys/linsys/Makefile" ;;
48440     "sys/osxvideo/Makefile") CONFIG_FILES="$CONFIG_FILES sys/osxvideo/Makefile" ;;
48441     "sys/qtwrapper/Makefile") CONFIG_FILES="$CONFIG_FILES sys/qtwrapper/Makefile" ;;
48442     "sys/shm/Makefile") CONFIG_FILES="$CONFIG_FILES sys/shm/Makefile" ;;
48443     "sys/vcd/Makefile") CONFIG_FILES="$CONFIG_FILES sys/vcd/Makefile" ;;
48444     "sys/vdpau/Makefile") CONFIG_FILES="$CONFIG_FILES sys/vdpau/Makefile" ;;
48445     "sys/vdpau/gstvdp/Makefile") CONFIG_FILES="$CONFIG_FILES sys/vdpau/gstvdp/Makefile" ;;
48446     "sys/vdpau/basevideodecoder/Makefile") CONFIG_FILES="$CONFIG_FILES sys/vdpau/basevideodecoder/Makefile" ;;
48447     "sys/pvr2d/Makefile") CONFIG_FILES="$CONFIG_FILES sys/pvr2d/Makefile" ;;
48448     "sys/wasapi/Makefile") CONFIG_FILES="$CONFIG_FILES sys/wasapi/Makefile" ;;
48449     "sys/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES sys/wininet/Makefile" ;;
48450     "sys/winks/Makefile") CONFIG_FILES="$CONFIG_FILES sys/winks/Makefile" ;;
48451     "sys/winscreencap/Makefile") CONFIG_FILES="$CONFIG_FILES sys/winscreencap/Makefile" ;;
48452     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
48453     "tests/check/Makefile") CONFIG_FILES="$CONFIG_FILES tests/check/Makefile" ;;
48454     "tests/files/Makefile") CONFIG_FILES="$CONFIG_FILES tests/files/Makefile" ;;
48455     "tests/examples/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/Makefile" ;;
48456     "tests/examples/camerabin/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/camerabin/Makefile" ;;
48457     "tests/examples/camerabin2/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/camerabin2/Makefile" ;;
48458     "tests/examples/directfb/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/directfb/Makefile" ;;
48459     "tests/examples/mxf/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/mxf/Makefile" ;;
48460     "tests/examples/scaletempo/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/scaletempo/Makefile" ;;
48461     "tests/examples/opencv/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/opencv/Makefile" ;;
48462     "tests/icles/Makefile") CONFIG_FILES="$CONFIG_FILES tests/icles/Makefile" ;;
48463     "ext/voamrwbenc/Makefile") CONFIG_FILES="$CONFIG_FILES ext/voamrwbenc/Makefile" ;;
48464     "ext/voaacenc/Makefile") CONFIG_FILES="$CONFIG_FILES ext/voaacenc/Makefile" ;;
48465     "ext/assrender/Makefile") CONFIG_FILES="$CONFIG_FILES ext/assrender/Makefile" ;;
48466     "ext/apexsink/Makefile") CONFIG_FILES="$CONFIG_FILES ext/apexsink/Makefile" ;;
48467     "ext/bz2/Makefile") CONFIG_FILES="$CONFIG_FILES ext/bz2/Makefile" ;;
48468     "ext/cdaudio/Makefile") CONFIG_FILES="$CONFIG_FILES ext/cdaudio/Makefile" ;;
48469     "ext/celt/Makefile") CONFIG_FILES="$CONFIG_FILES ext/celt/Makefile" ;;
48470     "ext/cog/Makefile") CONFIG_FILES="$CONFIG_FILES ext/cog/Makefile" ;;
48471     "ext/curl/Makefile") CONFIG_FILES="$CONFIG_FILES ext/curl/Makefile" ;;
48472     "ext/dc1394/Makefile") CONFIG_FILES="$CONFIG_FILES ext/dc1394/Makefile" ;;
48473     "ext/dirac/Makefile") CONFIG_FILES="$CONFIG_FILES ext/dirac/Makefile" ;;
48474     "ext/directfb/Makefile") CONFIG_FILES="$CONFIG_FILES ext/directfb/Makefile" ;;
48475     "ext/divx/Makefile") CONFIG_FILES="$CONFIG_FILES ext/divx/Makefile" ;;
48476     "ext/dts/Makefile") CONFIG_FILES="$CONFIG_FILES ext/dts/Makefile" ;;
48477     "ext/faac/Makefile") CONFIG_FILES="$CONFIG_FILES ext/faac/Makefile" ;;
48478     "ext/faad/Makefile") CONFIG_FILES="$CONFIG_FILES ext/faad/Makefile" ;;
48479     "ext/flite/Makefile") CONFIG_FILES="$CONFIG_FILES ext/flite/Makefile" ;;
48480     "ext/gsm/Makefile") CONFIG_FILES="$CONFIG_FILES ext/gsm/Makefile" ;;
48481     "ext/jp2k/Makefile") CONFIG_FILES="$CONFIG_FILES ext/jp2k/Makefile" ;;
48482     "ext/kate/Makefile") CONFIG_FILES="$CONFIG_FILES ext/kate/Makefile" ;;
48483     "ext/ladspa/Makefile") CONFIG_FILES="$CONFIG_FILES ext/ladspa/Makefile" ;;
48484     "ext/lv2/Makefile") CONFIG_FILES="$CONFIG_FILES ext/lv2/Makefile" ;;
48485     "ext/libmms/Makefile") CONFIG_FILES="$CONFIG_FILES ext/libmms/Makefile" ;;
48486     "ext/Makefile") CONFIG_FILES="$CONFIG_FILES ext/Makefile" ;;
48487     "ext/modplug/Makefile") CONFIG_FILES="$CONFIG_FILES ext/modplug/Makefile" ;;
48488     "ext/mpeg2enc/Makefile") CONFIG_FILES="$CONFIG_FILES ext/mpeg2enc/Makefile" ;;
48489     "ext/mimic/Makefile") CONFIG_FILES="$CONFIG_FILES ext/mimic/Makefile" ;;
48490     "ext/mplex/Makefile") CONFIG_FILES="$CONFIG_FILES ext/mplex/Makefile" ;;
48491     "ext/musepack/Makefile") CONFIG_FILES="$CONFIG_FILES ext/musepack/Makefile" ;;
48492     "ext/musicbrainz/Makefile") CONFIG_FILES="$CONFIG_FILES ext/musicbrainz/Makefile" ;;
48493     "ext/mythtv/Makefile") CONFIG_FILES="$CONFIG_FILES ext/mythtv/Makefile" ;;
48494     "ext/nas/Makefile") CONFIG_FILES="$CONFIG_FILES ext/nas/Makefile" ;;
48495     "ext/neon/Makefile") CONFIG_FILES="$CONFIG_FILES ext/neon/Makefile" ;;
48496     "ext/ofa/Makefile") CONFIG_FILES="$CONFIG_FILES ext/ofa/Makefile" ;;
48497     "ext/openal/Makefile") CONFIG_FILES="$CONFIG_FILES ext/openal/Makefile" ;;
48498     "ext/opencv/Makefile") CONFIG_FILES="$CONFIG_FILES ext/opencv/Makefile" ;;
48499     "ext/opus/Makefile") CONFIG_FILES="$CONFIG_FILES ext/opus/Makefile" ;;
48500     "ext/rsvg/Makefile") CONFIG_FILES="$CONFIG_FILES ext/rsvg/Makefile" ;;
48501     "ext/resindvd/Makefile") CONFIG_FILES="$CONFIG_FILES ext/resindvd/Makefile" ;;
48502     "ext/rtmp/Makefile") CONFIG_FILES="$CONFIG_FILES ext/rtmp/Makefile" ;;
48503     "ext/schroedinger/Makefile") CONFIG_FILES="$CONFIG_FILES ext/schroedinger/Makefile" ;;
48504     "ext/sdl/Makefile") CONFIG_FILES="$CONFIG_FILES ext/sdl/Makefile" ;;
48505     "ext/sndfile/Makefile") CONFIG_FILES="$CONFIG_FILES ext/sndfile/Makefile" ;;
48506     "ext/soundtouch/Makefile") CONFIG_FILES="$CONFIG_FILES ext/soundtouch/Makefile" ;;
48507     "ext/spandsp/Makefile") CONFIG_FILES="$CONFIG_FILES ext/spandsp/Makefile" ;;
48508     "ext/teletextdec/Makefile") CONFIG_FILES="$CONFIG_FILES ext/teletextdec/Makefile" ;;
48509     "ext/gme/Makefile") CONFIG_FILES="$CONFIG_FILES ext/gme/Makefile" ;;
48510     "ext/gsettings/Makefile") CONFIG_FILES="$CONFIG_FILES ext/gsettings/Makefile" ;;
48511     "ext/gsettings/org.freedesktop.gstreamer.default-elements.gschema.xml") CONFIG_FILES="$CONFIG_FILES ext/gsettings/org.freedesktop.gstreamer.default-elements.gschema.xml" ;;
48512     "ext/spc/Makefile") CONFIG_FILES="$CONFIG_FILES ext/spc/Makefile" ;;
48513     "ext/swfdec/Makefile") CONFIG_FILES="$CONFIG_FILES ext/swfdec/Makefile" ;;
48514     "ext/timidity/Makefile") CONFIG_FILES="$CONFIG_FILES ext/timidity/Makefile" ;;
48515     "ext/vp8/Makefile") CONFIG_FILES="$CONFIG_FILES ext/vp8/Makefile" ;;
48516     "ext/xvid/Makefile") CONFIG_FILES="$CONFIG_FILES ext/xvid/Makefile" ;;
48517     "ext/zbar/Makefile") CONFIG_FILES="$CONFIG_FILES ext/zbar/Makefile" ;;
48518     "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
48519     "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
48520     "docs/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES docs/plugins/Makefile" ;;
48521     "docs/libs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/libs/Makefile" ;;
48522     "docs/version.entities") CONFIG_FILES="$CONFIG_FILES docs/version.entities" ;;
48523     "pkgconfig/Makefile") CONFIG_FILES="$CONFIG_FILES pkgconfig/Makefile" ;;
48524     "pkgconfig/gstreamer-plugins-bad.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-plugins-bad.pc" ;;
48525     "pkgconfig/gstreamer-plugins-bad-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-plugins-bad-uninstalled.pc" ;;
48526     "pkgconfig/gstreamer-codecparsers.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-codecparsers.pc" ;;
48527     "pkgconfig/gstreamer-codecparsers-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-codecparsers-uninstalled.pc" ;;
48528     "pkgconfig/gstreamer-basevideo.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-basevideo.pc" ;;
48529     "pkgconfig/gstreamer-basevideo-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-basevideo-uninstalled.pc" ;;
48530     "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
48531     "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
48532     "win32/common/config.h") CONFIG_FILES="$CONFIG_FILES win32/common/config.h" ;;
48533
48534   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
48535   esac
48536 done
48537
48538
48539 # If the user did not use the arguments to specify the items to instantiate,
48540 # then the envvar interface is used.  Set only those that are not.
48541 # We use the long form for the default assignment because of an extremely
48542 # bizarre bug on SunOS 4.1.3.
48543 if $ac_need_defaults; then
48544   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
48545   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
48546   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
48547 fi
48548
48549 # Have a temporary directory for convenience.  Make it in the build tree
48550 # simply because there is no reason against having it here, and in addition,
48551 # creating and moving files from /tmp can sometimes cause problems.
48552 # Hook for its removal unless debugging.
48553 # Note that there is a small window in which the directory will not be cleaned:
48554 # after its creation but before its name has been assigned to `$tmp'.
48555 $debug ||
48556 {
48557   tmp= ac_tmp=
48558   trap 'exit_status=$?
48559   : "${ac_tmp:=$tmp}"
48560   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
48561 ' 0
48562   trap 'as_fn_exit 1' 1 2 13 15
48563 }
48564 # Create a (secure) tmp directory for tmp files.
48565
48566 {
48567   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
48568   test -d "$tmp"
48569 }  ||
48570 {
48571   tmp=./conf$$-$RANDOM
48572   (umask 077 && mkdir "$tmp")
48573 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
48574 ac_tmp=$tmp
48575
48576 # Set up the scripts for CONFIG_FILES section.
48577 # No need to generate them if there are no CONFIG_FILES.
48578 # This happens for instance with `./config.status config.h'.
48579 if test -n "$CONFIG_FILES"; then
48580
48581
48582 ac_cr=`echo X | tr X '\015'`
48583 # On cygwin, bash can eat \r inside `` if the user requested igncr.
48584 # But we know of no other shell where ac_cr would be empty at this
48585 # point, so we can use a bashism as a fallback.
48586 if test "x$ac_cr" = x; then
48587   eval ac_cr=\$\'\\r\'
48588 fi
48589 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
48590 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
48591   ac_cs_awk_cr='\\r'
48592 else
48593   ac_cs_awk_cr=$ac_cr
48594 fi
48595
48596 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
48597 _ACEOF
48598
48599
48600 {
48601   echo "cat >conf$$subs.awk <<_ACEOF" &&
48602   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
48603   echo "_ACEOF"
48604 } >conf$$subs.sh ||
48605   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
48606 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
48607 ac_delim='%!_!# '
48608 for ac_last_try in false false false false false :; do
48609   . ./conf$$subs.sh ||
48610     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
48611
48612   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
48613   if test $ac_delim_n = $ac_delim_num; then
48614     break
48615   elif $ac_last_try; then
48616     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
48617   else
48618     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
48619   fi
48620 done
48621 rm -f conf$$subs.sh
48622
48623 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
48624 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
48625 _ACEOF
48626 sed -n '
48627 h
48628 s/^/S["/; s/!.*/"]=/
48629 p
48630 g
48631 s/^[^!]*!//
48632 :repl
48633 t repl
48634 s/'"$ac_delim"'$//
48635 t delim
48636 :nl
48637 h
48638 s/\(.\{148\}\)..*/\1/
48639 t more1
48640 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
48641 p
48642 n
48643 b repl
48644 :more1
48645 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
48646 p
48647 g
48648 s/.\{148\}//
48649 t nl
48650 :delim
48651 h
48652 s/\(.\{148\}\)..*/\1/
48653 t more2
48654 s/["\\]/\\&/g; s/^/"/; s/$/"/
48655 p
48656 b
48657 :more2
48658 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
48659 p
48660 g
48661 s/.\{148\}//
48662 t delim
48663 ' <conf$$subs.awk | sed '
48664 /^[^""]/{
48665   N
48666   s/\n//
48667 }
48668 ' >>$CONFIG_STATUS || ac_write_fail=1
48669 rm -f conf$$subs.awk
48670 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
48671 _ACAWK
48672 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
48673   for (key in S) S_is_set[key] = 1
48674   FS = "\a"
48675
48676 }
48677 {
48678   line = $ 0
48679   nfields = split(line, field, "@")
48680   substed = 0
48681   len = length(field[1])
48682   for (i = 2; i < nfields; i++) {
48683     key = field[i]
48684     keylen = length(key)
48685     if (S_is_set[key]) {
48686       value = S[key]
48687       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
48688       len += length(value) + length(field[++i])
48689       substed = 1
48690     } else
48691       len += 1 + keylen
48692   }
48693
48694   print line
48695 }
48696
48697 _ACAWK
48698 _ACEOF
48699 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
48700 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
48701   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
48702 else
48703   cat
48704 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
48705   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
48706 _ACEOF
48707
48708 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
48709 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
48710 # trailing colons and then remove the whole line if VPATH becomes empty
48711 # (actually we leave an empty line to preserve line numbers).
48712 if test "x$srcdir" = x.; then
48713   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
48714 h
48715 s///
48716 s/^/:/
48717 s/[      ]*$/:/
48718 s/:\$(srcdir):/:/g
48719 s/:\${srcdir}:/:/g
48720 s/:@srcdir@:/:/g
48721 s/^:*//
48722 s/:*$//
48723 x
48724 s/\(=[   ]*\).*/\1/
48725 G
48726 s/\n//
48727 s/^[^=]*=[       ]*$//
48728 }'
48729 fi
48730
48731 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
48732 fi # test -n "$CONFIG_FILES"
48733
48734 # Set up the scripts for CONFIG_HEADERS section.
48735 # No need to generate them if there are no CONFIG_HEADERS.
48736 # This happens for instance with `./config.status Makefile'.
48737 if test -n "$CONFIG_HEADERS"; then
48738 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
48739 BEGIN {
48740 _ACEOF
48741
48742 # Transform confdefs.h into an awk script `defines.awk', embedded as
48743 # here-document in config.status, that substitutes the proper values into
48744 # config.h.in to produce config.h.
48745
48746 # Create a delimiter string that does not exist in confdefs.h, to ease
48747 # handling of long lines.
48748 ac_delim='%!_!# '
48749 for ac_last_try in false false :; do
48750   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
48751   if test -z "$ac_tt"; then
48752     break
48753   elif $ac_last_try; then
48754     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
48755   else
48756     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
48757   fi
48758 done
48759
48760 # For the awk script, D is an array of macro values keyed by name,
48761 # likewise P contains macro parameters if any.  Preserve backslash
48762 # newline sequences.
48763
48764 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
48765 sed -n '
48766 s/.\{148\}/&'"$ac_delim"'/g
48767 t rset
48768 :rset
48769 s/^[     ]*#[    ]*define[       ][      ]*/ /
48770 t def
48771 d
48772 :def
48773 s/\\$//
48774 t bsnl
48775 s/["\\]/\\&/g
48776 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
48777 D["\1"]=" \3"/p
48778 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
48779 d
48780 :bsnl
48781 s/["\\]/\\&/g
48782 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
48783 D["\1"]=" \3\\\\\\n"\\/p
48784 t cont
48785 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
48786 t cont
48787 d
48788 :cont
48789 n
48790 s/.\{148\}/&'"$ac_delim"'/g
48791 t clear
48792 :clear
48793 s/\\$//
48794 t bsnlc
48795 s/["\\]/\\&/g; s/^/"/; s/$/"/p
48796 d
48797 :bsnlc
48798 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
48799 b cont
48800 ' <confdefs.h | sed '
48801 s/'"$ac_delim"'/"\\\
48802 "/g' >>$CONFIG_STATUS || ac_write_fail=1
48803
48804 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
48805   for (key in D) D_is_set[key] = 1
48806   FS = "\a"
48807 }
48808 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
48809   line = \$ 0
48810   split(line, arg, " ")
48811   if (arg[1] == "#") {
48812     defundef = arg[2]
48813     mac1 = arg[3]
48814   } else {
48815     defundef = substr(arg[1], 2)
48816     mac1 = arg[2]
48817   }
48818   split(mac1, mac2, "(") #)
48819   macro = mac2[1]
48820   prefix = substr(line, 1, index(line, defundef) - 1)
48821   if (D_is_set[macro]) {
48822     # Preserve the white space surrounding the "#".
48823     print prefix "define", macro P[macro] D[macro]
48824     next
48825   } else {
48826     # Replace #undef with comments.  This is necessary, for example,
48827     # in the case of _POSIX_SOURCE, which is predefined and required
48828     # on some systems where configure will not decide to define it.
48829     if (defundef == "undef") {
48830       print "/*", prefix defundef, macro, "*/"
48831       next
48832     }
48833   }
48834 }
48835 { print }
48836 _ACAWK
48837 _ACEOF
48838 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
48839   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
48840 fi # test -n "$CONFIG_HEADERS"
48841
48842
48843 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
48844 shift
48845 for ac_tag
48846 do
48847   case $ac_tag in
48848   :[FHLC]) ac_mode=$ac_tag; continue;;
48849   esac
48850   case $ac_mode$ac_tag in
48851   :[FHL]*:*);;
48852   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
48853   :[FH]-) ac_tag=-:-;;
48854   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
48855   esac
48856   ac_save_IFS=$IFS
48857   IFS=:
48858   set x $ac_tag
48859   IFS=$ac_save_IFS
48860   shift
48861   ac_file=$1
48862   shift
48863
48864   case $ac_mode in
48865   :L) ac_source=$1;;
48866   :[FH])
48867     ac_file_inputs=
48868     for ac_f
48869     do
48870       case $ac_f in
48871       -) ac_f="$ac_tmp/stdin";;
48872       *) # Look for the file first in the build tree, then in the source tree
48873          # (if the path is not absolute).  The absolute path cannot be DOS-style,
48874          # because $ac_f cannot contain `:'.
48875          test -f "$ac_f" ||
48876            case $ac_f in
48877            [\\/$]*) false;;
48878            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
48879            esac ||
48880            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
48881       esac
48882       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
48883       as_fn_append ac_file_inputs " '$ac_f'"
48884     done
48885
48886     # Let's still pretend it is `configure' which instantiates (i.e., don't
48887     # use $as_me), people would be surprised to read:
48888     #    /* config.h.  Generated by config.status.  */
48889     configure_input='Generated from '`
48890           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
48891         `' by configure.'
48892     if test x"$ac_file" != x-; then
48893       configure_input="$ac_file.  $configure_input"
48894       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
48895 $as_echo "$as_me: creating $ac_file" >&6;}
48896     fi
48897     # Neutralize special characters interpreted by sed in replacement strings.
48898     case $configure_input in #(
48899     *\&* | *\|* | *\\* )
48900        ac_sed_conf_input=`$as_echo "$configure_input" |
48901        sed 's/[\\\\&|]/\\\\&/g'`;; #(
48902     *) ac_sed_conf_input=$configure_input;;
48903     esac
48904
48905     case $ac_tag in
48906     *:-:* | *:-) cat >"$ac_tmp/stdin" \
48907       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
48908     esac
48909     ;;
48910   esac
48911
48912   ac_dir=`$as_dirname -- "$ac_file" ||
48913 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
48914          X"$ac_file" : 'X\(//\)[^/]' \| \
48915          X"$ac_file" : 'X\(//\)$' \| \
48916          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
48917 $as_echo X"$ac_file" |
48918     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
48919             s//\1/
48920             q
48921           }
48922           /^X\(\/\/\)[^/].*/{
48923             s//\1/
48924             q
48925           }
48926           /^X\(\/\/\)$/{
48927             s//\1/
48928             q
48929           }
48930           /^X\(\/\).*/{
48931             s//\1/
48932             q
48933           }
48934           s/.*/./; q'`
48935   as_dir="$ac_dir"; as_fn_mkdir_p
48936   ac_builddir=.
48937
48938 case "$ac_dir" in
48939 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
48940 *)
48941   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
48942   # A ".." for each directory in $ac_dir_suffix.
48943   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
48944   case $ac_top_builddir_sub in
48945   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
48946   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
48947   esac ;;
48948 esac
48949 ac_abs_top_builddir=$ac_pwd
48950 ac_abs_builddir=$ac_pwd$ac_dir_suffix
48951 # for backward compatibility:
48952 ac_top_builddir=$ac_top_build_prefix
48953
48954 case $srcdir in
48955   .)  # We are building in place.
48956     ac_srcdir=.
48957     ac_top_srcdir=$ac_top_builddir_sub
48958     ac_abs_top_srcdir=$ac_pwd ;;
48959   [\\/]* | ?:[\\/]* )  # Absolute name.
48960     ac_srcdir=$srcdir$ac_dir_suffix;
48961     ac_top_srcdir=$srcdir
48962     ac_abs_top_srcdir=$srcdir ;;
48963   *) # Relative name.
48964     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
48965     ac_top_srcdir=$ac_top_build_prefix$srcdir
48966     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
48967 esac
48968 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
48969
48970
48971   case $ac_mode in
48972   :F)
48973   #
48974   # CONFIG_FILE
48975   #
48976
48977   case $INSTALL in
48978   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
48979   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
48980   esac
48981   ac_MKDIR_P=$MKDIR_P
48982   case $MKDIR_P in
48983   [\\/$]* | ?:[\\/]* ) ;;
48984   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
48985   esac
48986 _ACEOF
48987
48988 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
48989 # If the template does not know about datarootdir, expand it.
48990 # FIXME: This hack should be removed a few years after 2.60.
48991 ac_datarootdir_hack=; ac_datarootdir_seen=
48992 ac_sed_dataroot='
48993 /datarootdir/ {
48994   p
48995   q
48996 }
48997 /@datadir@/p
48998 /@docdir@/p
48999 /@infodir@/p
49000 /@localedir@/p
49001 /@mandir@/p'
49002 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
49003 *datarootdir*) ac_datarootdir_seen=yes;;
49004 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
49005   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
49006 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
49007 _ACEOF
49008 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
49009   ac_datarootdir_hack='
49010   s&@datadir@&$datadir&g
49011   s&@docdir@&$docdir&g
49012   s&@infodir@&$infodir&g
49013   s&@localedir@&$localedir&g
49014   s&@mandir@&$mandir&g
49015   s&\\\${datarootdir}&$datarootdir&g' ;;
49016 esac
49017 _ACEOF
49018
49019 # Neutralize VPATH when `$srcdir' = `.'.
49020 # Shell code in configure.ac might set extrasub.
49021 # FIXME: do we really want to maintain this feature?
49022 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
49023 ac_sed_extra="$ac_vpsub
49024 $extrasub
49025 _ACEOF
49026 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
49027 :t
49028 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
49029 s|@configure_input@|$ac_sed_conf_input|;t t
49030 s&@top_builddir@&$ac_top_builddir_sub&;t t
49031 s&@top_build_prefix@&$ac_top_build_prefix&;t t
49032 s&@srcdir@&$ac_srcdir&;t t
49033 s&@abs_srcdir@&$ac_abs_srcdir&;t t
49034 s&@top_srcdir@&$ac_top_srcdir&;t t
49035 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
49036 s&@builddir@&$ac_builddir&;t t
49037 s&@abs_builddir@&$ac_abs_builddir&;t t
49038 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
49039 s&@INSTALL@&$ac_INSTALL&;t t
49040 s&@MKDIR_P@&$ac_MKDIR_P&;t t
49041 $ac_datarootdir_hack
49042 "
49043 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
49044   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
49045
49046 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
49047   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
49048   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
49049       "$ac_tmp/out"`; test -z "$ac_out"; } &&
49050   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
49051 which seems to be undefined.  Please make sure it is defined" >&5
49052 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
49053 which seems to be undefined.  Please make sure it is defined" >&2;}
49054
49055   rm -f "$ac_tmp/stdin"
49056   case $ac_file in
49057   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
49058   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
49059   esac \
49060   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
49061  ;;
49062   :H)
49063   #
49064   # CONFIG_HEADER
49065   #
49066   if test x"$ac_file" != x-; then
49067     {
49068       $as_echo "/* $configure_input  */" \
49069       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
49070     } >"$ac_tmp/config.h" \
49071       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
49072     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
49073       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
49074 $as_echo "$as_me: $ac_file is unchanged" >&6;}
49075     else
49076       rm -f "$ac_file"
49077       mv "$ac_tmp/config.h" "$ac_file" \
49078         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
49079     fi
49080   else
49081     $as_echo "/* $configure_input  */" \
49082       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
49083       || as_fn_error $? "could not create -" "$LINENO" 5
49084   fi
49085 # Compute "$ac_file"'s index in $config_headers.
49086 _am_arg="$ac_file"
49087 _am_stamp_count=1
49088 for _am_header in $config_headers :; do
49089   case $_am_header in
49090     $_am_arg | $_am_arg:* )
49091       break ;;
49092     * )
49093       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
49094   esac
49095 done
49096 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
49097 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49098          X"$_am_arg" : 'X\(//\)[^/]' \| \
49099          X"$_am_arg" : 'X\(//\)$' \| \
49100          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
49101 $as_echo X"$_am_arg" |
49102     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
49103             s//\1/
49104             q
49105           }
49106           /^X\(\/\/\)[^/].*/{
49107             s//\1/
49108             q
49109           }
49110           /^X\(\/\/\)$/{
49111             s//\1/
49112             q
49113           }
49114           /^X\(\/\).*/{
49115             s//\1/
49116             q
49117           }
49118           s/.*/./; q'`/stamp-h$_am_stamp_count
49119  ;;
49120
49121   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
49122 $as_echo "$as_me: executing $ac_file commands" >&6;}
49123  ;;
49124   esac
49125
49126
49127   case $ac_file$ac_mode in
49128     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
49129   # Autoconf 2.62 quotes --file arguments for eval, but not when files
49130   # are listed without --file.  Let's play safe and only enable the eval
49131   # if we detect the quoting.
49132   case $CONFIG_FILES in
49133   *\'*) eval set x "$CONFIG_FILES" ;;
49134   *)   set x $CONFIG_FILES ;;
49135   esac
49136   shift
49137   for mf
49138   do
49139     # Strip MF so we end up with the name of the file.
49140     mf=`echo "$mf" | sed -e 's/:.*$//'`
49141     # Check whether this is an Automake generated Makefile or not.
49142     # We used to match only the files named `Makefile.in', but
49143     # some people rename them; so instead we look at the file content.
49144     # Grep'ing the first line is not enough: some people post-process
49145     # each Makefile.in and add a new line on top of each file to say so.
49146     # Grep'ing the whole file is not good either: AIX grep has a line
49147     # limit of 2048, but all sed's we know have understand at least 4000.
49148     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
49149       dirpart=`$as_dirname -- "$mf" ||
49150 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49151          X"$mf" : 'X\(//\)[^/]' \| \
49152          X"$mf" : 'X\(//\)$' \| \
49153          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
49154 $as_echo X"$mf" |
49155     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
49156             s//\1/
49157             q
49158           }
49159           /^X\(\/\/\)[^/].*/{
49160             s//\1/
49161             q
49162           }
49163           /^X\(\/\/\)$/{
49164             s//\1/
49165             q
49166           }
49167           /^X\(\/\).*/{
49168             s//\1/
49169             q
49170           }
49171           s/.*/./; q'`
49172     else
49173       continue
49174     fi
49175     # Extract the definition of DEPDIR, am__include, and am__quote
49176     # from the Makefile without running `make'.
49177     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
49178     test -z "$DEPDIR" && continue
49179     am__include=`sed -n 's/^am__include = //p' < "$mf"`
49180     test -z "am__include" && continue
49181     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
49182     # When using ansi2knr, U may be empty or an underscore; expand it
49183     U=`sed -n 's/^U = //p' < "$mf"`
49184     # Find all dependency output files, they are included files with
49185     # $(DEPDIR) in their names.  We invoke sed twice because it is the
49186     # simplest approach to changing $(DEPDIR) to its actual value in the
49187     # expansion.
49188     for file in `sed -n "
49189       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
49190          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
49191       # Make sure the directory exists.
49192       test -f "$dirpart/$file" && continue
49193       fdir=`$as_dirname -- "$file" ||
49194 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49195          X"$file" : 'X\(//\)[^/]' \| \
49196          X"$file" : 'X\(//\)$' \| \
49197          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
49198 $as_echo X"$file" |
49199     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
49200             s//\1/
49201             q
49202           }
49203           /^X\(\/\/\)[^/].*/{
49204             s//\1/
49205             q
49206           }
49207           /^X\(\/\/\)$/{
49208             s//\1/
49209             q
49210           }
49211           /^X\(\/\).*/{
49212             s//\1/
49213             q
49214           }
49215           s/.*/./; q'`
49216       as_dir=$dirpart/$fdir; as_fn_mkdir_p
49217       # echo "creating $dirpart/$file"
49218       echo '# dummy' > "$dirpart/$file"
49219     done
49220   done
49221 }
49222  ;;
49223     "libtool":C)
49224
49225     # See if we are running on zsh, and set the options which allow our
49226     # commands through without removal of \ escapes.
49227     if test -n "${ZSH_VERSION+set}" ; then
49228       setopt NO_GLOB_SUBST
49229     fi
49230
49231     cfgfile="${ofile}T"
49232     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
49233     $RM "$cfgfile"
49234
49235     cat <<_LT_EOF >> "$cfgfile"
49236 #! $SHELL
49237
49238 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
49239 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
49240 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
49241 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
49242 #
49243 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
49244 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
49245 #                 Foundation, Inc.
49246 #   Written by Gordon Matzigkeit, 1996
49247 #
49248 #   This file is part of GNU Libtool.
49249 #
49250 # GNU Libtool is free software; you can redistribute it and/or
49251 # modify it under the terms of the GNU General Public License as
49252 # published by the Free Software Foundation; either version 2 of
49253 # the License, or (at your option) any later version.
49254 #
49255 # As a special exception to the GNU General Public License,
49256 # if you distribute this file as part of a program or library that
49257 # is built using GNU Libtool, you may include this file under the
49258 # same distribution terms that you use for the rest of that program.
49259 #
49260 # GNU Libtool is distributed in the hope that it will be useful,
49261 # but WITHOUT ANY WARRANTY; without even the implied warranty of
49262 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
49263 # GNU General Public License for more details.
49264 #
49265 # You should have received a copy of the GNU General Public License
49266 # along with GNU Libtool; see the file COPYING.  If not, a copy
49267 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
49268 # obtained by writing to the Free Software Foundation, Inc.,
49269 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
49270
49271
49272 # The names of the tagged configurations supported by this script.
49273 available_tags="CXX "
49274
49275 # ### BEGIN LIBTOOL CONFIG
49276
49277 # Assembler program.
49278 AS=$lt_AS
49279
49280 # DLL creation program.
49281 DLLTOOL=$lt_DLLTOOL
49282
49283 # Object dumper program.
49284 OBJDUMP=$lt_OBJDUMP
49285
49286 # Which release of libtool.m4 was used?
49287 macro_version=$macro_version
49288 macro_revision=$macro_revision
49289
49290 # Whether or not to build shared libraries.
49291 build_libtool_libs=$enable_shared
49292
49293 # Whether or not to build static libraries.
49294 build_old_libs=$enable_static
49295
49296 # What type of objects to build.
49297 pic_mode=$pic_mode
49298
49299 # Whether or not to optimize for fast installation.
49300 fast_install=$enable_fast_install
49301
49302 # Shell to use when invoking shell scripts.
49303 SHELL=$lt_SHELL
49304
49305 # An echo program that protects backslashes.
49306 ECHO=$lt_ECHO
49307
49308 # The PATH separator for the build system.
49309 PATH_SEPARATOR=$lt_PATH_SEPARATOR
49310
49311 # The host system.
49312 host_alias=$host_alias
49313 host=$host
49314 host_os=$host_os
49315
49316 # The build system.
49317 build_alias=$build_alias
49318 build=$build
49319 build_os=$build_os
49320
49321 # A sed program that does not truncate output.
49322 SED=$lt_SED
49323
49324 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
49325 Xsed="\$SED -e 1s/^X//"
49326
49327 # A grep program that handles long lines.
49328 GREP=$lt_GREP
49329
49330 # An ERE matcher.
49331 EGREP=$lt_EGREP
49332
49333 # A literal string matcher.
49334 FGREP=$lt_FGREP
49335
49336 # A BSD- or MS-compatible name lister.
49337 NM=$lt_NM
49338
49339 # Whether we need soft or hard links.
49340 LN_S=$lt_LN_S
49341
49342 # What is the maximum length of a command?
49343 max_cmd_len=$max_cmd_len
49344
49345 # Object file suffix (normally "o").
49346 objext=$ac_objext
49347
49348 # Executable file suffix (normally "").
49349 exeext=$exeext
49350
49351 # whether the shell understands "unset".
49352 lt_unset=$lt_unset
49353
49354 # turn spaces into newlines.
49355 SP2NL=$lt_lt_SP2NL
49356
49357 # turn newlines into spaces.
49358 NL2SP=$lt_lt_NL2SP
49359
49360 # convert \$build file names to \$host format.
49361 to_host_file_cmd=$lt_cv_to_host_file_cmd
49362
49363 # convert \$build files to toolchain format.
49364 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
49365
49366 # Method to check whether dependent libraries are shared objects.
49367 deplibs_check_method=$lt_deplibs_check_method
49368
49369 # Command to use when deplibs_check_method = "file_magic".
49370 file_magic_cmd=$lt_file_magic_cmd
49371
49372 # How to find potential files when deplibs_check_method = "file_magic".
49373 file_magic_glob=$lt_file_magic_glob
49374
49375 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
49376 want_nocaseglob=$lt_want_nocaseglob
49377
49378 # Command to associate shared and link libraries.
49379 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
49380
49381 # The archiver.
49382 AR=$lt_AR
49383
49384 # Flags to create an archive.
49385 AR_FLAGS=$lt_AR_FLAGS
49386
49387 # How to feed a file listing to the archiver.
49388 archiver_list_spec=$lt_archiver_list_spec
49389
49390 # A symbol stripping program.
49391 STRIP=$lt_STRIP
49392
49393 # Commands used to install an old-style archive.
49394 RANLIB=$lt_RANLIB
49395 old_postinstall_cmds=$lt_old_postinstall_cmds
49396 old_postuninstall_cmds=$lt_old_postuninstall_cmds
49397
49398 # Whether to use a lock for old archive extraction.
49399 lock_old_archive_extraction=$lock_old_archive_extraction
49400
49401 # A C compiler.
49402 LTCC=$lt_CC
49403
49404 # LTCC compiler flags.
49405 LTCFLAGS=$lt_CFLAGS
49406
49407 # Take the output of nm and produce a listing of raw symbols and C names.
49408 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
49409
49410 # Transform the output of nm in a proper C declaration.
49411 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
49412
49413 # Transform the output of nm in a C name address pair.
49414 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
49415
49416 # Transform the output of nm in a C name address pair when lib prefix is needed.
49417 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
49418
49419 # Specify filename containing input files for \$NM.
49420 nm_file_list_spec=$lt_nm_file_list_spec
49421
49422 # The root where to search for dependent libraries,and in which our libraries should be installed.
49423 lt_sysroot=$lt_sysroot
49424
49425 # The name of the directory that contains temporary libtool files.
49426 objdir=$objdir
49427
49428 # Used to examine libraries when file_magic_cmd begins with "file".
49429 MAGIC_CMD=$MAGIC_CMD
49430
49431 # Must we lock files when doing compilation?
49432 need_locks=$lt_need_locks
49433
49434 # Manifest tool.
49435 MANIFEST_TOOL=$lt_MANIFEST_TOOL
49436
49437 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
49438 DSYMUTIL=$lt_DSYMUTIL
49439
49440 # Tool to change global to local symbols on Mac OS X.
49441 NMEDIT=$lt_NMEDIT
49442
49443 # Tool to manipulate fat objects and archives on Mac OS X.
49444 LIPO=$lt_LIPO
49445
49446 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
49447 OTOOL=$lt_OTOOL
49448
49449 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
49450 OTOOL64=$lt_OTOOL64
49451
49452 # Old archive suffix (normally "a").
49453 libext=$libext
49454
49455 # Shared library suffix (normally ".so").
49456 shrext_cmds=$lt_shrext_cmds
49457
49458 # The commands to extract the exported symbol list from a shared archive.
49459 extract_expsyms_cmds=$lt_extract_expsyms_cmds
49460
49461 # Variables whose values should be saved in libtool wrapper scripts and
49462 # restored at link time.
49463 variables_saved_for_relink=$lt_variables_saved_for_relink
49464
49465 # Do we need the "lib" prefix for modules?
49466 need_lib_prefix=$need_lib_prefix
49467
49468 # Do we need a version for libraries?
49469 need_version=$need_version
49470
49471 # Library versioning type.
49472 version_type=$version_type
49473
49474 # Shared library runtime path variable.
49475 runpath_var=$runpath_var
49476
49477 # Shared library path variable.
49478 shlibpath_var=$shlibpath_var
49479
49480 # Is shlibpath searched before the hard-coded library search path?
49481 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
49482
49483 # Format of library name prefix.
49484 libname_spec=$lt_libname_spec
49485
49486 # List of archive names.  First name is the real one, the rest are links.
49487 # The last name is the one that the linker finds with -lNAME
49488 library_names_spec=$lt_library_names_spec
49489
49490 # The coded name of the library, if different from the real name.
49491 soname_spec=$lt_soname_spec
49492
49493 # Permission mode override for installation of shared libraries.
49494 install_override_mode=$lt_install_override_mode
49495
49496 # Command to use after installation of a shared archive.
49497 postinstall_cmds=$lt_postinstall_cmds
49498
49499 # Command to use after uninstallation of a shared archive.
49500 postuninstall_cmds=$lt_postuninstall_cmds
49501
49502 # Commands used to finish a libtool library installation in a directory.
49503 finish_cmds=$lt_finish_cmds
49504
49505 # As "finish_cmds", except a single script fragment to be evaled but
49506 # not shown.
49507 finish_eval=$lt_finish_eval
49508
49509 # Whether we should hardcode library paths into libraries.
49510 hardcode_into_libs=$hardcode_into_libs
49511
49512 # Compile-time system search path for libraries.
49513 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
49514
49515 # Run-time system search path for libraries.
49516 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
49517
49518 # Whether dlopen is supported.
49519 dlopen_support=$enable_dlopen
49520
49521 # Whether dlopen of programs is supported.
49522 dlopen_self=$enable_dlopen_self
49523
49524 # Whether dlopen of statically linked programs is supported.
49525 dlopen_self_static=$enable_dlopen_self_static
49526
49527 # Commands to strip libraries.
49528 old_striplib=$lt_old_striplib
49529 striplib=$lt_striplib
49530
49531
49532 # The linker used to build libraries.
49533 LD=$lt_LD
49534
49535 # How to create reloadable object files.
49536 reload_flag=$lt_reload_flag
49537 reload_cmds=$lt_reload_cmds
49538
49539 # Commands used to build an old-style archive.
49540 old_archive_cmds=$lt_old_archive_cmds
49541
49542 # A language specific compiler.
49543 CC=$lt_compiler
49544
49545 # Is the compiler the GNU compiler?
49546 with_gcc=$GCC
49547
49548 # Compiler flag to turn off builtin functions.
49549 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
49550
49551 # Additional compiler flags for building library objects.
49552 pic_flag=$lt_lt_prog_compiler_pic
49553
49554 # How to pass a linker flag through the compiler.
49555 wl=$lt_lt_prog_compiler_wl
49556
49557 # Compiler flag to prevent dynamic linking.
49558 link_static_flag=$lt_lt_prog_compiler_static
49559
49560 # Does compiler simultaneously support -c and -o options?
49561 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
49562
49563 # Whether or not to add -lc for building shared libraries.
49564 build_libtool_need_lc=$archive_cmds_need_lc
49565
49566 # Whether or not to disallow shared libs when runtime libs are static.
49567 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
49568
49569 # Compiler flag to allow reflexive dlopens.
49570 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
49571
49572 # Compiler flag to generate shared objects directly from archives.
49573 whole_archive_flag_spec=$lt_whole_archive_flag_spec
49574
49575 # Whether the compiler copes with passing no objects directly.
49576 compiler_needs_object=$lt_compiler_needs_object
49577
49578 # Create an old-style archive from a shared archive.
49579 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
49580
49581 # Create a temporary old-style archive to link instead of a shared archive.
49582 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
49583
49584 # Commands used to build a shared archive.
49585 archive_cmds=$lt_archive_cmds
49586 archive_expsym_cmds=$lt_archive_expsym_cmds
49587
49588 # Commands used to build a loadable module if different from building
49589 # a shared archive.
49590 module_cmds=$lt_module_cmds
49591 module_expsym_cmds=$lt_module_expsym_cmds
49592
49593 # Whether we are building with GNU ld or not.
49594 with_gnu_ld=$lt_with_gnu_ld
49595
49596 # Flag that allows shared libraries with undefined symbols to be built.
49597 allow_undefined_flag=$lt_allow_undefined_flag
49598
49599 # Flag that enforces no undefined symbols.
49600 no_undefined_flag=$lt_no_undefined_flag
49601
49602 # Flag to hardcode \$libdir into a binary during linking.
49603 # This must work even if \$libdir does not exist
49604 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
49605
49606 # Whether we need a single "-rpath" flag with a separated argument.
49607 hardcode_libdir_separator=$lt_hardcode_libdir_separator
49608
49609 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
49610 # DIR into the resulting binary.
49611 hardcode_direct=$hardcode_direct
49612
49613 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
49614 # DIR into the resulting binary and the resulting library dependency is
49615 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
49616 # library is relocated.
49617 hardcode_direct_absolute=$hardcode_direct_absolute
49618
49619 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
49620 # into the resulting binary.
49621 hardcode_minus_L=$hardcode_minus_L
49622
49623 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
49624 # into the resulting binary.
49625 hardcode_shlibpath_var=$hardcode_shlibpath_var
49626
49627 # Set to "yes" if building a shared library automatically hardcodes DIR
49628 # into the library and all subsequent libraries and executables linked
49629 # against it.
49630 hardcode_automatic=$hardcode_automatic
49631
49632 # Set to yes if linker adds runtime paths of dependent libraries
49633 # to runtime path list.
49634 inherit_rpath=$inherit_rpath
49635
49636 # Whether libtool must link a program against all its dependency libraries.
49637 link_all_deplibs=$link_all_deplibs
49638
49639 # Set to "yes" if exported symbols are required.
49640 always_export_symbols=$always_export_symbols
49641
49642 # The commands to list exported symbols.
49643 export_symbols_cmds=$lt_export_symbols_cmds
49644
49645 # Symbols that should not be listed in the preloaded symbols.
49646 exclude_expsyms=$lt_exclude_expsyms
49647
49648 # Symbols that must always be exported.
49649 include_expsyms=$lt_include_expsyms
49650
49651 # Commands necessary for linking programs (against libraries) with templates.
49652 prelink_cmds=$lt_prelink_cmds
49653
49654 # Commands necessary for finishing linking programs.
49655 postlink_cmds=$lt_postlink_cmds
49656
49657 # Specify filename containing input files.
49658 file_list_spec=$lt_file_list_spec
49659
49660 # How to hardcode a shared library path into an executable.
49661 hardcode_action=$hardcode_action
49662
49663 # The directories searched by this compiler when creating a shared library.
49664 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
49665
49666 # Dependencies to place before and after the objects being linked to
49667 # create a shared library.
49668 predep_objects=$lt_predep_objects
49669 postdep_objects=$lt_postdep_objects
49670 predeps=$lt_predeps
49671 postdeps=$lt_postdeps
49672
49673 # The library search path used internally by the compiler when linking
49674 # a shared library.
49675 compiler_lib_search_path=$lt_compiler_lib_search_path
49676
49677 # ### END LIBTOOL CONFIG
49678
49679 _LT_EOF
49680
49681   case $host_os in
49682   aix3*)
49683     cat <<\_LT_EOF >> "$cfgfile"
49684 # AIX sometimes has problems with the GCC collect2 program.  For some
49685 # reason, if we set the COLLECT_NAMES environment variable, the problems
49686 # vanish in a puff of smoke.
49687 if test "X${COLLECT_NAMES+set}" != Xset; then
49688   COLLECT_NAMES=
49689   export COLLECT_NAMES
49690 fi
49691 _LT_EOF
49692     ;;
49693   esac
49694
49695
49696 ltmain="$ac_aux_dir/ltmain.sh"
49697
49698
49699   # We use sed instead of cat because bash on DJGPP gets confused if
49700   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
49701   # text mode, it properly converts lines to CR/LF.  This bash problem
49702   # is reportedly fixed, but why not run on old versions too?
49703   sed '$q' "$ltmain" >> "$cfgfile" \
49704      || (rm -f "$cfgfile"; exit 1)
49705
49706   if test x"$xsi_shell" = xyes; then
49707   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
49708 func_dirname ()\
49709 {\
49710 \    case ${1} in\
49711 \      */*) func_dirname_result="${1%/*}${2}" ;;\
49712 \      *  ) func_dirname_result="${3}" ;;\
49713 \    esac\
49714 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
49715   && mv -f "$cfgfile.tmp" "$cfgfile" \
49716     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
49717 test 0 -eq $? || _lt_function_replace_fail=:
49718
49719
49720   sed -e '/^func_basename ()$/,/^} # func_basename /c\
49721 func_basename ()\
49722 {\
49723 \    func_basename_result="${1##*/}"\
49724 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
49725   && mv -f "$cfgfile.tmp" "$cfgfile" \
49726     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
49727 test 0 -eq $? || _lt_function_replace_fail=:
49728
49729
49730   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
49731 func_dirname_and_basename ()\
49732 {\
49733 \    case ${1} in\
49734 \      */*) func_dirname_result="${1%/*}${2}" ;;\
49735 \      *  ) func_dirname_result="${3}" ;;\
49736 \    esac\
49737 \    func_basename_result="${1##*/}"\
49738 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
49739   && mv -f "$cfgfile.tmp" "$cfgfile" \
49740     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
49741 test 0 -eq $? || _lt_function_replace_fail=:
49742
49743
49744   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
49745 func_stripname ()\
49746 {\
49747 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
49748 \    # positional parameters, so assign one to ordinary parameter first.\
49749 \    func_stripname_result=${3}\
49750 \    func_stripname_result=${func_stripname_result#"${1}"}\
49751 \    func_stripname_result=${func_stripname_result%"${2}"}\
49752 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
49753   && mv -f "$cfgfile.tmp" "$cfgfile" \
49754     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
49755 test 0 -eq $? || _lt_function_replace_fail=:
49756
49757
49758   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
49759 func_split_long_opt ()\
49760 {\
49761 \    func_split_long_opt_name=${1%%=*}\
49762 \    func_split_long_opt_arg=${1#*=}\
49763 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
49764   && mv -f "$cfgfile.tmp" "$cfgfile" \
49765     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
49766 test 0 -eq $? || _lt_function_replace_fail=:
49767
49768
49769   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
49770 func_split_short_opt ()\
49771 {\
49772 \    func_split_short_opt_arg=${1#??}\
49773 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
49774 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
49775   && mv -f "$cfgfile.tmp" "$cfgfile" \
49776     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
49777 test 0 -eq $? || _lt_function_replace_fail=:
49778
49779
49780   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
49781 func_lo2o ()\
49782 {\
49783 \    case ${1} in\
49784 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
49785 \      *)    func_lo2o_result=${1} ;;\
49786 \    esac\
49787 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
49788   && mv -f "$cfgfile.tmp" "$cfgfile" \
49789     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
49790 test 0 -eq $? || _lt_function_replace_fail=:
49791
49792
49793   sed -e '/^func_xform ()$/,/^} # func_xform /c\
49794 func_xform ()\
49795 {\
49796     func_xform_result=${1%.*}.lo\
49797 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
49798   && mv -f "$cfgfile.tmp" "$cfgfile" \
49799     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
49800 test 0 -eq $? || _lt_function_replace_fail=:
49801
49802
49803   sed -e '/^func_arith ()$/,/^} # func_arith /c\
49804 func_arith ()\
49805 {\
49806     func_arith_result=$(( $* ))\
49807 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
49808   && mv -f "$cfgfile.tmp" "$cfgfile" \
49809     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
49810 test 0 -eq $? || _lt_function_replace_fail=:
49811
49812
49813   sed -e '/^func_len ()$/,/^} # func_len /c\
49814 func_len ()\
49815 {\
49816     func_len_result=${#1}\
49817 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
49818   && mv -f "$cfgfile.tmp" "$cfgfile" \
49819     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
49820 test 0 -eq $? || _lt_function_replace_fail=:
49821
49822 fi
49823
49824 if test x"$lt_shell_append" = xyes; then
49825   sed -e '/^func_append ()$/,/^} # func_append /c\
49826 func_append ()\
49827 {\
49828     eval "${1}+=\\${2}"\
49829 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
49830   && mv -f "$cfgfile.tmp" "$cfgfile" \
49831     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
49832 test 0 -eq $? || _lt_function_replace_fail=:
49833
49834
49835   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
49836 func_append_quoted ()\
49837 {\
49838 \    func_quote_for_eval "${2}"\
49839 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
49840 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
49841   && mv -f "$cfgfile.tmp" "$cfgfile" \
49842     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
49843 test 0 -eq $? || _lt_function_replace_fail=:
49844
49845
49846   # Save a `func_append' function call where possible by direct use of '+='
49847   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
49848     && mv -f "$cfgfile.tmp" "$cfgfile" \
49849       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
49850   test 0 -eq $? || _lt_function_replace_fail=:
49851 else
49852   # Save a `func_append' function call even when '+=' is not available
49853   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
49854     && mv -f "$cfgfile.tmp" "$cfgfile" \
49855       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
49856   test 0 -eq $? || _lt_function_replace_fail=:
49857 fi
49858
49859 if test x"$_lt_function_replace_fail" = x":"; then
49860   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
49861 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
49862 fi
49863
49864
49865    mv -f "$cfgfile" "$ofile" ||
49866     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
49867   chmod +x "$ofile"
49868
49869
49870     cat <<_LT_EOF >> "$ofile"
49871
49872 # ### BEGIN LIBTOOL TAG CONFIG: CXX
49873
49874 # The linker used to build libraries.
49875 LD=$lt_LD_CXX
49876
49877 # How to create reloadable object files.
49878 reload_flag=$lt_reload_flag_CXX
49879 reload_cmds=$lt_reload_cmds_CXX
49880
49881 # Commands used to build an old-style archive.
49882 old_archive_cmds=$lt_old_archive_cmds_CXX
49883
49884 # A language specific compiler.
49885 CC=$lt_compiler_CXX
49886
49887 # Is the compiler the GNU compiler?
49888 with_gcc=$GCC_CXX
49889
49890 # Compiler flag to turn off builtin functions.
49891 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
49892
49893 # Additional compiler flags for building library objects.
49894 pic_flag=$lt_lt_prog_compiler_pic_CXX
49895
49896 # How to pass a linker flag through the compiler.
49897 wl=$lt_lt_prog_compiler_wl_CXX
49898
49899 # Compiler flag to prevent dynamic linking.
49900 link_static_flag=$lt_lt_prog_compiler_static_CXX
49901
49902 # Does compiler simultaneously support -c and -o options?
49903 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
49904
49905 # Whether or not to add -lc for building shared libraries.
49906 build_libtool_need_lc=$archive_cmds_need_lc_CXX
49907
49908 # Whether or not to disallow shared libs when runtime libs are static.
49909 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
49910
49911 # Compiler flag to allow reflexive dlopens.
49912 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
49913
49914 # Compiler flag to generate shared objects directly from archives.
49915 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
49916
49917 # Whether the compiler copes with passing no objects directly.
49918 compiler_needs_object=$lt_compiler_needs_object_CXX
49919
49920 # Create an old-style archive from a shared archive.
49921 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
49922
49923 # Create a temporary old-style archive to link instead of a shared archive.
49924 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
49925
49926 # Commands used to build a shared archive.
49927 archive_cmds=$lt_archive_cmds_CXX
49928 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
49929
49930 # Commands used to build a loadable module if different from building
49931 # a shared archive.
49932 module_cmds=$lt_module_cmds_CXX
49933 module_expsym_cmds=$lt_module_expsym_cmds_CXX
49934
49935 # Whether we are building with GNU ld or not.
49936 with_gnu_ld=$lt_with_gnu_ld_CXX
49937
49938 # Flag that allows shared libraries with undefined symbols to be built.
49939 allow_undefined_flag=$lt_allow_undefined_flag_CXX
49940
49941 # Flag that enforces no undefined symbols.
49942 no_undefined_flag=$lt_no_undefined_flag_CXX
49943
49944 # Flag to hardcode \$libdir into a binary during linking.
49945 # This must work even if \$libdir does not exist
49946 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
49947
49948 # Whether we need a single "-rpath" flag with a separated argument.
49949 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
49950
49951 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
49952 # DIR into the resulting binary.
49953 hardcode_direct=$hardcode_direct_CXX
49954
49955 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
49956 # DIR into the resulting binary and the resulting library dependency is
49957 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
49958 # library is relocated.
49959 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
49960
49961 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
49962 # into the resulting binary.
49963 hardcode_minus_L=$hardcode_minus_L_CXX
49964
49965 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
49966 # into the resulting binary.
49967 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
49968
49969 # Set to "yes" if building a shared library automatically hardcodes DIR
49970 # into the library and all subsequent libraries and executables linked
49971 # against it.
49972 hardcode_automatic=$hardcode_automatic_CXX
49973
49974 # Set to yes if linker adds runtime paths of dependent libraries
49975 # to runtime path list.
49976 inherit_rpath=$inherit_rpath_CXX
49977
49978 # Whether libtool must link a program against all its dependency libraries.
49979 link_all_deplibs=$link_all_deplibs_CXX
49980
49981 # Set to "yes" if exported symbols are required.
49982 always_export_symbols=$always_export_symbols_CXX
49983
49984 # The commands to list exported symbols.
49985 export_symbols_cmds=$lt_export_symbols_cmds_CXX
49986
49987 # Symbols that should not be listed in the preloaded symbols.
49988 exclude_expsyms=$lt_exclude_expsyms_CXX
49989
49990 # Symbols that must always be exported.
49991 include_expsyms=$lt_include_expsyms_CXX
49992
49993 # Commands necessary for linking programs (against libraries) with templates.
49994 prelink_cmds=$lt_prelink_cmds_CXX
49995
49996 # Commands necessary for finishing linking programs.
49997 postlink_cmds=$lt_postlink_cmds_CXX
49998
49999 # Specify filename containing input files.
50000 file_list_spec=$lt_file_list_spec_CXX
50001
50002 # How to hardcode a shared library path into an executable.
50003 hardcode_action=$hardcode_action_CXX
50004
50005 # The directories searched by this compiler when creating a shared library.
50006 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
50007
50008 # Dependencies to place before and after the objects being linked to
50009 # create a shared library.
50010 predep_objects=$lt_predep_objects_CXX
50011 postdep_objects=$lt_postdep_objects_CXX
50012 predeps=$lt_predeps_CXX
50013 postdeps=$lt_postdeps_CXX
50014
50015 # The library search path used internally by the compiler when linking
50016 # a shared library.
50017 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
50018
50019 # ### END LIBTOOL TAG CONFIG: CXX
50020 _LT_EOF
50021
50022  ;;
50023     "po-directories":C)
50024     for ac_file in $CONFIG_FILES; do
50025       # Support "outfile[:infile[:infile...]]"
50026       case "$ac_file" in
50027         *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
50028       esac
50029       # PO directories have a Makefile.in generated from Makefile.in.in.
50030       case "$ac_file" in */Makefile.in)
50031         # Adjust a relative srcdir.
50032         ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
50033         ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
50034         ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
50035         # In autoconf-2.13 it is called $ac_given_srcdir.
50036         # In autoconf-2.50 it is called $srcdir.
50037         test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
50038         case "$ac_given_srcdir" in
50039           .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
50040           /*) top_srcdir="$ac_given_srcdir" ;;
50041           *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
50042         esac
50043         # Treat a directory as a PO directory if and only if it has a
50044         # POTFILES.in file. This allows packages to have multiple PO
50045         # directories under different names or in different locations.
50046         if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
50047           rm -f "$ac_dir/POTFILES"
50048           test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
50049           cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[   ]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
50050           POMAKEFILEDEPS="POTFILES.in"
50051           # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
50052           # on $ac_dir but don't depend on user-specified configuration
50053           # parameters.
50054           if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
50055             # The LINGUAS file contains the set of available languages.
50056             if test -n "$OBSOLETE_ALL_LINGUAS"; then
50057               test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
50058             fi
50059             ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
50060             # Hide the ALL_LINGUAS assigment from automake < 1.5.
50061             eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
50062             POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
50063           else
50064             # The set of available languages was given in configure.in.
50065             # Hide the ALL_LINGUAS assigment from automake < 1.5.
50066             eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
50067           fi
50068           # Compute POFILES
50069           # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
50070           # Compute UPDATEPOFILES
50071           # as      $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
50072           # Compute DUMMYPOFILES
50073           # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
50074           # Compute GMOFILES
50075           # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
50076           case "$ac_given_srcdir" in
50077             .) srcdirpre= ;;
50078             *) srcdirpre='$(srcdir)/' ;;
50079           esac
50080           POFILES=
50081           UPDATEPOFILES=
50082           DUMMYPOFILES=
50083           GMOFILES=
50084           for lang in $ALL_LINGUAS; do
50085             POFILES="$POFILES $srcdirpre$lang.po"
50086             UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
50087             DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
50088             GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
50089           done
50090           # CATALOGS depends on both $ac_dir and the user's LINGUAS
50091           # environment variable.
50092           INST_LINGUAS=
50093           if test -n "$ALL_LINGUAS"; then
50094             for presentlang in $ALL_LINGUAS; do
50095               useit=no
50096               if test "%UNSET%" != "$LINGUAS"; then
50097                 desiredlanguages="$LINGUAS"
50098               else
50099                 desiredlanguages="$ALL_LINGUAS"
50100               fi
50101               for desiredlang in $desiredlanguages; do
50102                 # Use the presentlang catalog if desiredlang is
50103                 #   a. equal to presentlang, or
50104                 #   b. a variant of presentlang (because in this case,
50105                 #      presentlang can be used as a fallback for messages
50106                 #      which are not translated in the desiredlang catalog).
50107                 case "$desiredlang" in
50108                   "$presentlang"*) useit=yes;;
50109                 esac
50110               done
50111               if test $useit = yes; then
50112                 INST_LINGUAS="$INST_LINGUAS $presentlang"
50113               fi
50114             done
50115           fi
50116           CATALOGS=
50117           if test -n "$INST_LINGUAS"; then
50118             for lang in $INST_LINGUAS; do
50119               CATALOGS="$CATALOGS $lang.gmo"
50120             done
50121           fi
50122           test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
50123           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"
50124           for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
50125             if test -f "$f"; then
50126               case "$f" in
50127                 *.orig | *.bak | *~) ;;
50128                 *) cat "$f" >> "$ac_dir/Makefile" ;;
50129               esac
50130             fi
50131           done
50132         fi
50133         ;;
50134       esac
50135     done ;;
50136     "$ac_stdint_h":C)
50137 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_stdint_h : $_ac_stdint_h" >&5
50138 $as_echo "$as_me: creating $ac_stdint_h : $_ac_stdint_h" >&6;}
50139 ac_stdint=$tmp/_stdint.h
50140
50141 echo "#ifndef" $_ac_stdint_h >$ac_stdint
50142 echo "#define" $_ac_stdint_h "1" >>$ac_stdint
50143 echo "#ifndef" _GENERATED_STDINT_H >>$ac_stdint
50144 echo "#define" _GENERATED_STDINT_H '"'$PACKAGE $VERSION'"' >>$ac_stdint
50145 echo "/* generated $ac_cv_stdint_message */" >>$ac_stdint
50146 if test "_$ac_cv_header_stdint_t" != "_" ; then
50147 echo "#define _STDINT_HAVE_STDINT_H" "1" >>$ac_stdint
50148 echo "#include <stdint.h>" >>$ac_stdint
50149 echo "#endif" >>$ac_stdint
50150 echo "#endif" >>$ac_stdint
50151 else
50152
50153 cat >>$ac_stdint <<STDINT_EOF
50154
50155 /* ................... shortcircuit part ........................... */
50156
50157 #if defined HAVE_STDINT_H || defined _STDINT_HAVE_STDINT_H
50158 #include <stdint.h>
50159 #else
50160 #include <stddef.h>
50161
50162 /* .................... configured part ............................ */
50163
50164 STDINT_EOF
50165
50166 echo "/* whether we have a C99 compatible stdint header file */" >>$ac_stdint
50167 if test "_$ac_cv_header_stdint_x" != "_" ; then
50168   ac_header="$ac_cv_header_stdint_x"
50169   echo "#define _STDINT_HEADER_INTPTR" '"'"$ac_header"'"' >>$ac_stdint
50170 else
50171   echo "/* #undef _STDINT_HEADER_INTPTR */" >>$ac_stdint
50172 fi
50173
50174 echo "/* whether we have a C96 compatible inttypes header file */" >>$ac_stdint
50175 if  test "_$ac_cv_header_stdint_o" != "_" ; then
50176   ac_header="$ac_cv_header_stdint_o"
50177   echo "#define _STDINT_HEADER_UINT32" '"'"$ac_header"'"' >>$ac_stdint
50178 else
50179   echo "/* #undef _STDINT_HEADER_UINT32 */" >>$ac_stdint
50180 fi
50181
50182 echo "/* whether we have a BSD compatible inet types header */" >>$ac_stdint
50183 if  test "_$ac_cv_header_stdint_u" != "_" ; then
50184   ac_header="$ac_cv_header_stdint_u"
50185   echo "#define _STDINT_HEADER_U_INT32" '"'"$ac_header"'"' >>$ac_stdint
50186 else
50187   echo "/* #undef _STDINT_HEADER_U_INT32 */" >>$ac_stdint
50188 fi
50189
50190 echo "" >>$ac_stdint
50191
50192 if test "_$ac_header" != "_" ; then if test "$ac_header" != "stddef.h" ; then
50193   echo "#include <$ac_header>" >>$ac_stdint
50194   echo "" >>$ac_stdint
50195 fi fi
50196
50197 echo "/* which 64bit typedef has been found */" >>$ac_stdint
50198 if test "$ac_cv_type_uint64_t" = "yes" ; then
50199 echo "#define   _STDINT_HAVE_UINT64_T" "1"  >>$ac_stdint
50200 else
50201 echo "/* #undef _STDINT_HAVE_UINT64_T */" >>$ac_stdint
50202 fi
50203 if test "$ac_cv_type_u_int64_t" = "yes" ; then
50204 echo "#define   _STDINT_HAVE_U_INT64_T" "1"  >>$ac_stdint
50205 else
50206 echo "/* #undef _STDINT_HAVE_U_INT64_T */" >>$ac_stdint
50207 fi
50208 echo "" >>$ac_stdint
50209
50210 echo "/* which type model has been detected */" >>$ac_stdint
50211 if test "_$ac_cv_char_data_model" != "_" ; then
50212 echo "#define   _STDINT_CHAR_MODEL" "$ac_cv_char_data_model" >>$ac_stdint
50213 echo "#define   _STDINT_LONG_MODEL" "$ac_cv_long_data_model" >>$ac_stdint
50214 else
50215 echo "/* #undef _STDINT_CHAR_MODEL // skipped */" >>$ac_stdint
50216 echo "/* #undef _STDINT_LONG_MODEL // skipped */" >>$ac_stdint
50217 fi
50218 echo "" >>$ac_stdint
50219
50220 echo "/* whether int_least types were detected */" >>$ac_stdint
50221 if test "$ac_cv_type_int_least32_t" = "yes"; then
50222 echo "#define   _STDINT_HAVE_INT_LEAST32_T" "1"  >>$ac_stdint
50223 else
50224 echo "/* #undef _STDINT_HAVE_INT_LEAST32_T */" >>$ac_stdint
50225 fi
50226 echo "/* whether int_fast types were detected */" >>$ac_stdint
50227 if test "$ac_cv_type_int_fast32_t" = "yes"; then
50228 echo "#define   _STDINT_HAVE_INT_FAST32_T" "1" >>$ac_stdint
50229 else
50230 echo "/* #undef _STDINT_HAVE_INT_FAST32_T */" >>$ac_stdint
50231 fi
50232 echo "/* whether intmax_t type was detected */" >>$ac_stdint
50233 if test "$ac_cv_type_intmax_t" = "yes"; then
50234 echo "#define   _STDINT_HAVE_INTMAX_T" "1" >>$ac_stdint
50235 else
50236 echo "/* #undef _STDINT_HAVE_INTMAX_T */" >>$ac_stdint
50237 fi
50238 echo "" >>$ac_stdint
50239
50240   cat >>$ac_stdint <<STDINT_EOF
50241 /* .................... detections part ............................ */
50242
50243 /* whether we need to define bitspecific types from compiler base types */
50244 #ifndef _STDINT_HEADER_INTPTR
50245 #ifndef _STDINT_HEADER_UINT32
50246 #ifndef _STDINT_HEADER_U_INT32
50247 #define _STDINT_NEED_INT_MODEL_T
50248 #else
50249 #define _STDINT_HAVE_U_INT_TYPES
50250 #endif
50251 #endif
50252 #endif
50253
50254 #ifdef _STDINT_HAVE_U_INT_TYPES
50255 #undef _STDINT_NEED_INT_MODEL_T
50256 #endif
50257
50258 #ifdef  _STDINT_CHAR_MODEL
50259 #if     _STDINT_CHAR_MODEL+0 == 122 || _STDINT_CHAR_MODEL+0 == 124
50260 #ifndef _STDINT_BYTE_MODEL
50261 #define _STDINT_BYTE_MODEL 12
50262 #endif
50263 #endif
50264 #endif
50265
50266 #ifndef _STDINT_HAVE_INT_LEAST32_T
50267 #define _STDINT_NEED_INT_LEAST_T
50268 #endif
50269
50270 #ifndef _STDINT_HAVE_INT_FAST32_T
50271 #define _STDINT_NEED_INT_FAST_T
50272 #endif
50273
50274 #ifndef _STDINT_HEADER_INTPTR
50275 #define _STDINT_NEED_INTPTR_T
50276 #ifndef _STDINT_HAVE_INTMAX_T
50277 #define _STDINT_NEED_INTMAX_T
50278 #endif
50279 #endif
50280
50281
50282 /* .................... definition part ............................ */
50283
50284 /* some system headers have good uint64_t */
50285 #ifndef _HAVE_UINT64_T
50286 #if     defined _STDINT_HAVE_UINT64_T  || defined HAVE_UINT64_T
50287 #define _HAVE_UINT64_T
50288 #elif   defined _STDINT_HAVE_U_INT64_T || defined HAVE_U_INT64_T
50289 #define _HAVE_UINT64_T
50290 typedef u_int64_t uint64_t;
50291 #endif
50292 #endif
50293
50294 #ifndef _HAVE_UINT64_T
50295 /* .. here are some common heuristics using compiler runtime specifics */
50296 #if defined __STDC_VERSION__ && defined __STDC_VERSION__ >= 199901L
50297 #define _HAVE_UINT64_T
50298 #define _HAVE_LONGLONG_UINT64_T
50299 typedef long long int64_t;
50300 typedef unsigned long long uint64_t;
50301
50302 #elif !defined __STRICT_ANSI__
50303 #if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
50304 #define _HAVE_UINT64_T
50305 typedef __int64 int64_t;
50306 typedef unsigned __int64 uint64_t;
50307
50308 #elif defined __GNUC__ || defined __MWERKS__ || defined __ELF__
50309 /* note: all ELF-systems seem to have loff-support which needs 64-bit */
50310 #if !defined _NO_LONGLONG
50311 #define _HAVE_UINT64_T
50312 #define _HAVE_LONGLONG_UINT64_T
50313 typedef long long int64_t;
50314 typedef unsigned long long uint64_t;
50315 #endif
50316
50317 #elif defined __alpha || (defined __mips && defined _ABIN32)
50318 #if !defined _NO_LONGLONG
50319 typedef long int64_t;
50320 typedef unsigned long uint64_t;
50321 #endif
50322   /* compiler/cpu type to define int64_t */
50323 #endif
50324 #endif
50325 #endif
50326
50327 #if defined _STDINT_HAVE_U_INT_TYPES
50328 /* int8_t int16_t int32_t defined by inet code, redeclare the u_intXX types */
50329 typedef u_int8_t uint8_t;
50330 typedef u_int16_t uint16_t;
50331 typedef u_int32_t uint32_t;
50332
50333 /* glibc compatibility */
50334 #ifndef __int8_t_defined
50335 #define __int8_t_defined
50336 #endif
50337 #endif
50338
50339 #ifdef _STDINT_NEED_INT_MODEL_T
50340 /* we must guess all the basic types. Apart from byte-adressable system, */
50341 /* there a few 32-bit-only dsp-systems that we guard with BYTE_MODEL 8-} */
50342 /* (btw, those nibble-addressable systems are way off, or so we assume) */
50343
50344
50345 #if defined _STDINT_BYTE_MODEL
50346 #if _STDINT_LONG_MODEL+0 == 242
50347 /* 2:4:2 =  IP16 = a normal 16-bit system                */
50348 typedef unsigned char   uint8_t;
50349 typedef unsigned short  uint16_t;
50350 typedef unsigned long   uint32_t;
50351 #ifndef __int8_t_defined
50352 #define __int8_t_defined
50353 typedef          char    int8_t;
50354 typedef          short   int16_t;
50355 typedef          long    int32_t;
50356 #endif
50357 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL == 444
50358 /* 2:4:4 =  LP32 = a 32-bit system derived from a 16-bit */
50359 /* 4:4:4 = ILP32 = a normal 32-bit system                */
50360 typedef unsigned char   uint8_t;
50361 typedef unsigned short  uint16_t;
50362 typedef unsigned int    uint32_t;
50363 #ifndef __int8_t_defined
50364 #define __int8_t_defined
50365 typedef          char    int8_t;
50366 typedef          short   int16_t;
50367 typedef          int     int32_t;
50368 #endif
50369 #elif _STDINT_LONG_MODEL+0 == 484 || _STDINT_LONG_MODEL+0 == 488
50370 /* 4:8:4 =  IP32 = a 32-bit system prepared for 64-bit    */
50371 /* 4:8:8 =  LP64 = a normal 64-bit system                 */
50372 typedef unsigned char   uint8_t;
50373 typedef unsigned short  uint16_t;
50374 typedef unsigned int    uint32_t;
50375 #ifndef __int8_t_defined
50376 #define __int8_t_defined
50377 typedef          char    int8_t;
50378 typedef          short   int16_t;
50379 typedef          int     int32_t;
50380 #endif
50381 /* this system has a "long" of 64bit */
50382 #ifndef _HAVE_UINT64_T
50383 #define _HAVE_UINT64_T
50384 typedef unsigned long   uint64_t;
50385 typedef          long    int64_t;
50386 #endif
50387 #elif _STDINT_LONG_MODEL+0 == 448
50388 /*      LLP64   a 64-bit system derived from a 32-bit system */
50389 typedef unsigned char   uint8_t;
50390 typedef unsigned short  uint16_t;
50391 typedef unsigned int    uint32_t;
50392 #ifndef __int8_t_defined
50393 #define __int8_t_defined
50394 typedef          char    int8_t;
50395 typedef          short   int16_t;
50396 typedef          int     int32_t;
50397 #endif
50398 /* assuming the system has a "long long" */
50399 #ifndef _HAVE_UINT64_T
50400 #define _HAVE_UINT64_T
50401 #define _HAVE_LONGLONG_UINT64_T
50402 typedef unsigned long long uint64_t;
50403 typedef          long long  int64_t;
50404 #endif
50405 #else
50406 #define _STDINT_NO_INT32_T
50407 #endif
50408 #else
50409 #define _STDINT_NO_INT8_T
50410 #define _STDINT_NO_INT32_T
50411 #endif
50412 #endif
50413
50414 /*
50415  * quote from SunOS-5.8 sys/inttypes.h:
50416  * Use at your own risk.  As of February 1996, the committee is squarely
50417  * behind the fixed sized types; the "least" and "fast" types are still being
50418  * discussed.  The probability that the "fast" types may be removed before
50419  * the standard is finalized is high enough that they are not currently
50420  * implemented.
50421  */
50422
50423 #if defined _STDINT_NEED_INT_LEAST_T
50424 typedef  int8_t    int_least8_t;
50425 typedef  int16_t   int_least16_t;
50426 typedef  int32_t   int_least32_t;
50427 #ifdef _HAVE_UINT64_T
50428 typedef  int64_t   int_least64_t;
50429 #endif
50430
50431 typedef uint8_t   uint_least8_t;
50432 typedef uint16_t  uint_least16_t;
50433 typedef uint32_t  uint_least32_t;
50434 #ifdef _HAVE_UINT64_T
50435 typedef uint64_t  uint_least64_t;
50436 #endif
50437   /* least types */
50438 #endif
50439
50440 #if defined _STDINT_NEED_INT_FAST_T
50441 typedef  int8_t    int_fast8_t;
50442 typedef  int       int_fast16_t;
50443 typedef  int32_t   int_fast32_t;
50444 #ifdef _HAVE_UINT64_T
50445 typedef  int64_t   int_fast64_t;
50446 #endif
50447
50448 typedef uint8_t   uint_fast8_t;
50449 typedef unsigned  uint_fast16_t;
50450 typedef uint32_t  uint_fast32_t;
50451 #ifdef _HAVE_UINT64_T
50452 typedef uint64_t  uint_fast64_t;
50453 #endif
50454   /* fast types */
50455 #endif
50456
50457 #ifdef _STDINT_NEED_INTMAX_T
50458 #ifdef _HAVE_UINT64_T
50459 typedef  int64_t       intmax_t;
50460 typedef uint64_t      uintmax_t;
50461 #else
50462 typedef          long  intmax_t;
50463 typedef unsigned long uintmax_t;
50464 #endif
50465 #endif
50466
50467 #ifdef _STDINT_NEED_INTPTR_T
50468 #ifndef __intptr_t_defined
50469 #define __intptr_t_defined
50470 /* we encourage using "long" to store pointer values, never use "int" ! */
50471 #if   _STDINT_LONG_MODEL+0 == 242 || _STDINT_LONG_MODEL+0 == 484
50472 typedef  unsigned int   uintptr_t;
50473 typedef           int    intptr_t;
50474 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL+0 == 444
50475 typedef  unsigned long  uintptr_t;
50476 typedef           long   intptr_t;
50477 #elif _STDINT_LONG_MODEL+0 == 448 && defined _HAVE_UINT64_T
50478 typedef        uint64_t uintptr_t;
50479 typedef         int64_t  intptr_t;
50480 #else /* matches typical system types ILP32 and LP64 - but not IP16 or LLP64 */
50481 typedef  unsigned long  uintptr_t;
50482 typedef           long   intptr_t;
50483 #endif
50484 #endif
50485 #endif
50486
50487 /* The ISO C99 standard specifies that in C++ implementations these
50488    should only be defined if explicitly requested.  */
50489 #if !defined __cplusplus || defined __STDC_CONSTANT_MACROS
50490 #ifndef UINT32_C
50491
50492 /* Signed.  */
50493 # define INT8_C(c)      c
50494 # define INT16_C(c)     c
50495 # define INT32_C(c)     c
50496 # ifdef _HAVE_LONGLONG_UINT64_T
50497 #  define INT64_C(c)    c ## L
50498 # else
50499 #  define INT64_C(c)    c ## LL
50500 # endif
50501
50502 /* Unsigned.  */
50503 # define UINT8_C(c)     c ## U
50504 # define UINT16_C(c)    c ## U
50505 # define UINT32_C(c)    c ## U
50506 # ifdef _HAVE_LONGLONG_UINT64_T
50507 #  define UINT64_C(c)   c ## UL
50508 # else
50509 #  define UINT64_C(c)   c ## ULL
50510 # endif
50511
50512 /* Maximal type.  */
50513 # ifdef _HAVE_LONGLONG_UINT64_T
50514 #  define INTMAX_C(c)   c ## L
50515 #  define UINTMAX_C(c)  c ## UL
50516 # else
50517 #  define INTMAX_C(c)   c ## LL
50518 #  define UINTMAX_C(c)  c ## ULL
50519 # endif
50520
50521   /* literalnumbers */
50522 #endif
50523 #endif
50524
50525 /* These limits are merily those of a two complement byte-oriented system */
50526
50527 /* Minimum of signed integral types.  */
50528 # define INT8_MIN               (-128)
50529 # define INT16_MIN              (-32767-1)
50530 # define INT32_MIN              (-2147483647-1)
50531 # define INT64_MIN              (-__INT64_C(9223372036854775807)-1)
50532 /* Maximum of signed integral types.  */
50533 # define INT8_MAX               (127)
50534 # define INT16_MAX              (32767)
50535 # define INT32_MAX              (2147483647)
50536 # define INT64_MAX              (__INT64_C(9223372036854775807))
50537
50538 /* Maximum of unsigned integral types.  */
50539 # define UINT8_MAX              (255)
50540 # define UINT16_MAX             (65535)
50541 # define UINT32_MAX             (4294967295U)
50542 # define UINT64_MAX             (__UINT64_C(18446744073709551615))
50543
50544 /* Minimum of signed integral types having a minimum size.  */
50545 # define INT_LEAST8_MIN         INT8_MIN
50546 # define INT_LEAST16_MIN        INT16_MIN
50547 # define INT_LEAST32_MIN        INT32_MIN
50548 # define INT_LEAST64_MIN        INT64_MIN
50549 /* Maximum of signed integral types having a minimum size.  */
50550 # define INT_LEAST8_MAX         INT8_MAX
50551 # define INT_LEAST16_MAX        INT16_MAX
50552 # define INT_LEAST32_MAX        INT32_MAX
50553 # define INT_LEAST64_MAX        INT64_MAX
50554
50555 /* Maximum of unsigned integral types having a minimum size.  */
50556 # define UINT_LEAST8_MAX        UINT8_MAX
50557 # define UINT_LEAST16_MAX       UINT16_MAX
50558 # define UINT_LEAST32_MAX       UINT32_MAX
50559 # define UINT_LEAST64_MAX       UINT64_MAX
50560
50561   /* shortcircuit*/
50562 #endif
50563   /* once */
50564 #endif
50565 #endif
50566 STDINT_EOF
50567 fi
50568     if cmp -s $ac_stdint_h $ac_stdint 2>/dev/null; then
50569       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_stdint_h is unchanged" >&5
50570 $as_echo "$as_me: $ac_stdint_h is unchanged" >&6;}
50571     else
50572       ac_dir=`$as_dirname -- "$ac_stdint_h" ||
50573 $as_expr X"$ac_stdint_h" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50574          X"$ac_stdint_h" : 'X\(//\)[^/]' \| \
50575          X"$ac_stdint_h" : 'X\(//\)$' \| \
50576          X"$ac_stdint_h" : 'X\(/\)' \| . 2>/dev/null ||
50577 $as_echo X"$ac_stdint_h" |
50578     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
50579             s//\1/
50580             q
50581           }
50582           /^X\(\/\/\)[^/].*/{
50583             s//\1/
50584             q
50585           }
50586           /^X\(\/\/\)$/{
50587             s//\1/
50588             q
50589           }
50590           /^X\(\/\).*/{
50591             s//\1/
50592             q
50593           }
50594           s/.*/./; q'`
50595       as_dir="$ac_dir"; as_fn_mkdir_p
50596       rm -f $ac_stdint_h
50597       mv $ac_stdint $ac_stdint_h
50598     fi
50599  ;;
50600
50601   esac
50602 done # for ac_tag
50603
50604
50605 as_fn_exit 0
50606 _ACEOF
50607 ac_clean_files=$ac_clean_files_save
50608
50609 test $ac_write_fail = 0 ||
50610   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
50611
50612
50613 # configure is writing to config.log, and then calls config.status.
50614 # config.status does its own redirection, appending to config.log.
50615 # Unfortunately, on DOS this fails, as config.log is still kept open
50616 # by configure, so config.status won't be able to write to it; its
50617 # output is simply discarded.  So we exec the FD to /dev/null,
50618 # effectively closing config.log, so it can be properly (re)opened and
50619 # appended to by config.status.  When coming back to configure, we
50620 # need to make the FD available again.
50621 if test "$no_create" != yes; then
50622   ac_cs_success=:
50623   ac_config_status_args=
50624   test "$silent" = yes &&
50625     ac_config_status_args="$ac_config_status_args --quiet"
50626   exec 5>/dev/null
50627   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
50628   exec 5>>config.log
50629   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
50630   # would make configure fail if this is the last instruction.
50631   $ac_cs_success || as_fn_exit 1
50632 fi
50633 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
50634   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
50635 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
50636 fi
50637
50638
50639
50640
50641 printf "configure: *** Plug-ins without external dependencies that will be built:\n"
50642 ( for i in $GST_PLUGINS_SELECTED; do printf '\t'$i'\n'; done ) | sort
50643 printf "\n"
50644
50645 printf "configure: *** Plug-ins without external dependencies that will NOT be built:\n"
50646 ( for i in $GST_PLUGINS_ALL; do
50647     case " $GST_PLUGINS_SELECTED " in
50648       *\ $i\ *)
50649         ;;
50650       *)
50651         printf '\t'$i'\n'
50652         ;;
50653     esac
50654   done ) | sort
50655 printf "\n"
50656
50657 if test "x$BUILD_EXTERNAL" = "xno"; then
50658   printf "configure: *** No plug-ins with external dependencies will be built\n"
50659 else
50660   printf "configure: *** Plug-ins with dependencies that will be built:"
50661   printf "$GST_PLUGINS_YES\n" | sort
50662   printf "\n"
50663   printf "configure: *** Plug-ins with dependencies that will NOT be built:"
50664   printf "$GST_PLUGINS_NO\n" | sort
50665   printf "\n"
50666 fi
50667
50668
50669   if test "$HAVE_ORC" = yes ; then
50670     printf "configure: *** Orc acceleration enabled.\n"
50671   else
50672     if test "x$enable_orc" = "xno" ; then
50673       printf "configure: *** Orc acceleration disabled by --disable-orc.  Slower code paths\n"
50674       printf "               will be used.\n"
50675     else
50676       printf "configure: *** Orc acceleration disabled.  Requires Orc >= $ORC_REQ, which was\n"
50677       printf "               not found.  Slower code paths will be used.\n"
50678     fi
50679   fi
50680   printf "\n"
50681
50682