tizen 2.3 release
[framework/multimedia/gst-plugins-base0.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 Base Plug-ins 0.10.36.
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 Base Plug-ins'
573 PACKAGE_TARNAME='gst-plugins-base'
574 PACKAGE_VERSION='0.10.36'
575 PACKAGE_STRING='GStreamer Base Plug-ins 0.10.36'
576 PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer'
577 PACKAGE_URL=''
578
579 ac_unique_file="gst/audiotestsrc/gstaudiotestsrc.c"
580 # Factoring default headers for most tests.
581 ac_includes_default="\
582 #include <stdio.h>
583 #ifdef HAVE_SYS_TYPES_H
584 # include <sys/types.h>
585 #endif
586 #ifdef HAVE_SYS_STAT_H
587 # include <sys/stat.h>
588 #endif
589 #ifdef STDC_HEADERS
590 # include <stdlib.h>
591 # include <stddef.h>
592 #else
593 # ifdef HAVE_STDLIB_H
594 #  include <stdlib.h>
595 # endif
596 #endif
597 #ifdef HAVE_STRING_H
598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
599 #  include <memory.h>
600 # endif
601 # include <string.h>
602 #endif
603 #ifdef HAVE_STRINGS_H
604 # include <strings.h>
605 #endif
606 #ifdef HAVE_INTTYPES_H
607 # include <inttypes.h>
608 #endif
609 #ifdef HAVE_STDINT_H
610 # include <stdint.h>
611 #endif
612 #ifdef HAVE_UNISTD_H
613 # include <unistd.h>
614 #endif"
615
616 gt_needs=
617 ac_subst_vars='am__EXEEXT_FALSE
618 am__EXEEXT_TRUE
619 LTLIBOBJS
620 LIBOBJS
621 GST_PLUGIN_LDFLAGS
622 GST_LIB_LDFLAGS
623 GST_ALL_LDFLAGS
624 GST_CXXFLAGS
625 GST_PLUGINS_BASE_CFLAGS
626 GST_OPTION_CXXFLAGS
627 GST_OPTION_CFLAGS
628 DEPRECATED_CFLAGS
629 PROFILE_CFLAGS
630 HAVE_FT2_FALSE
631 HAVE_FT2_TRUE
632 FT2_CONFIG
633 FT2_LIBS
634 FT2_CFLAGS
635 USE_VORBIS_FALSE
636 USE_VORBIS_TRUE
637 VORBISENC_LIBS
638 VORBISFILE_LIBS
639 VORBIS_LIBS
640 VORBIS_CFLAGS
641 USE_THEORA_FALSE
642 USE_THEORA_TRUE
643 THEORA_LIBS
644 THEORA_CFLAGS
645 USE_PANGO_FALSE
646 USE_PANGO_TRUE
647 PANGO_LIBS
648 PANGO_CFLAGS
649 USE_OGG_FALSE
650 USE_OGG_TRUE
651 OGG_LIBS
652 OGG_CFLAGS
653 USE_LIBVISUAL_FALSE
654 USE_LIBVISUAL_TRUE
655 LIBVISUAL_LIBS
656 LIBVISUAL_CFLAGS
657 USE_GIO_FALSE
658 USE_GIO_TRUE
659 GIO_LDFLAGS
660 GIO_LIBS
661 GIO_CFLAGS
662 USE_IVORBIS_FALSE
663 USE_IVORBIS_TRUE
664 IVORBIS_LIBS
665 IVORBIS_CFLAGS
666 USE_GNOME_VFS_FALSE
667 USE_GNOME_VFS_TRUE
668 GNOME_VFS_LIBS
669 GNOME_VFS_CFLAGS
670 USE_CDPARANOIA_FALSE
671 USE_CDPARANOIA_TRUE
672 HAVE_CDPARANOIA
673 CDPARANOIA_LIBS
674 CDPARANOIA_CFLAGS
675 USE_ALSA_FALSE
676 USE_ALSA_TRUE
677 ALSA_LIBS
678 ALSA_CFLAGS
679 GUDEV_LIBS
680 GUDEV_CFLAGS
681 USE_GST_V4L_FALSE
682 USE_GST_V4L_TRUE
683 USE_XSHM_FALSE
684 USE_XSHM_TRUE
685 XSHM_LIBS
686 HAVE_XSHM
687 USE_XVIDEO_FALSE
688 USE_XVIDEO_TRUE
689 XVIDEO_LIBS
690 USE_X_FALSE
691 USE_X_TRUE
692 HAVE_X
693 X_EXTRA_LIBS
694 X_LIBS
695 X_PRE_LIBS
696 X_CFLAGS
697 XMKMF
698 USE_ZLIB_FALSE
699 USE_ZLIB_TRUE
700 HAVE_ZLIB
701 ZLIB_LIBS
702 ZLIB_CFLAGS
703 USE_ISO_CODES_FALSE
704 USE_ISO_CODES_TRUE
705 USE_XML_FALSE
706 USE_XML_TRUE
707 GST_DISABLE_XML
708 GST_DISABLE_PLUGIN
709 GST_DISABLE_REGISTRY
710 GST_DISABLE_ALLOC_TRACE
711 GST_DISABLE_TRACE
712 GST_DISABLE_PARSE
713 GST_DISABLE_LOADSAVE
714 GST_DISABLE_GST_DEBUG
715 USE_PLUGIN_VOLUME_FALSE
716 USE_PLUGIN_VOLUME_TRUE
717 USE_PLUGIN_VIDEOSCALE_FALSE
718 USE_PLUGIN_VIDEOSCALE_TRUE
719 USE_PLUGIN_VIDEORATE_FALSE
720 USE_PLUGIN_VIDEORATE_TRUE
721 USE_PLUGIN_VIDEOTESTSRC_FALSE
722 USE_PLUGIN_VIDEOTESTSRC_TRUE
723 USE_PLUGIN_TYPEFIND_FALSE
724 USE_PLUGIN_TYPEFIND_TRUE
725 USE_PLUGIN_TCP_FALSE
726 USE_PLUGIN_TCP_TRUE
727 USE_PLUGIN_SUBPARSE_FALSE
728 USE_PLUGIN_SUBPARSE_TRUE
729 USE_PLUGIN_AUDIORESAMPLE_FALSE
730 USE_PLUGIN_AUDIORESAMPLE_TRUE
731 USE_PLUGIN_PLAYBACK_FALSE
732 USE_PLUGIN_PLAYBACK_TRUE
733 USE_PLUGIN_GDP_FALSE
734 USE_PLUGIN_GDP_TRUE
735 USE_PLUGIN_FFMPEGCOLORSPACE_FALSE
736 USE_PLUGIN_FFMPEGCOLORSPACE_TRUE
737 USE_PLUGIN_ENCODING_FALSE
738 USE_PLUGIN_ENCODING_TRUE
739 USE_PLUGIN_AUDIOTESTSRC_FALSE
740 USE_PLUGIN_AUDIOTESTSRC_TRUE
741 USE_PLUGIN_AUDIORATE_FALSE
742 USE_PLUGIN_AUDIORATE_TRUE
743 USE_PLUGIN_AUDIOCONVERT_FALSE
744 USE_PLUGIN_AUDIOCONVERT_TRUE
745 USE_PLUGIN_APP_FALSE
746 USE_PLUGIN_APP_TRUE
747 USE_PLUGIN_ADDER_FALSE
748 USE_PLUGIN_ADDER_TRUE
749 AUDIORESAMPLE_FORMAT_AUTO
750 AUDIORESAMPLE_FORMAT_FLOAT
751 AUDIORESAMPLE_FORMAT_INT
752 DEFAULT_VISUALIZER
753 DEFAULT_VIDEOSRC
754 DEFAULT_VIDEOSINK
755 DEFAULT_AUDIOSRC
756 DEFAULT_AUDIOSINK
757 GST_LEVEL_DEFAULT
758 ERROR_CXXFLAGS
759 WARNING_CXXFLAGS
760 ERROR_CFLAGS
761 WARNING_CFLAGS
762 plugindir
763 PLUGINDIR
764 GST_LICENSE
765 HAVE_LINUX_JOYSTICK_HEADERS_FALSE
766 HAVE_LINUX_JOYSTICK_HEADERS_TRUE
767 HAVE_QT_GV_FALSE
768 HAVE_QT_GV_TRUE
769 HAVE_QT_FALSE
770 HAVE_QT_TRUE
771 QT4_MOC
772 QT_LIBS
773 QT_CFLAGS
774 HAVE_GTK_X11_FALSE
775 HAVE_GTK_X11_TRUE
776 HAVE_GTK_FALSE
777 HAVE_GTK_TRUE
778 GTK_X11_LIBS
779 GTK_X11_CFLAGS
780 GTK_LIBS
781 GTK_CFLAGS
782 GST_PREFIX
783 GLIB_PREFIX
784 HAVE_GST_CHECK_FALSE
785 HAVE_GST_CHECK_TRUE
786 GST_CHECK_LIBS
787 GST_CHECK_CFLAGS
788 GST_CONTROLLER_LIBS
789 GST_CONTROLLER_CFLAGS
790 GST_GDP_LIBS
791 GST_GDP_CFLAGS
792 GST_BASE_LIBS
793 GST_BASE_CFLAGS
794 GST_PLUGINS_DIR
795 GST_TOOLS_DIR
796 GST_LIBS
797 GST_CFLAGS
798 HAVE_ORCC_FALSE
799 HAVE_ORCC_TRUE
800 HAVE_ORC_FALSE
801 HAVE_ORC_TRUE
802 ORCC_FLAGS
803 ORCC
804 ORC_LIBS
805 ORC_CFLAGS
806 GLIB_EXTRA_CFLAGS
807 GLIB_LIBS
808 GLIB_CFLAGS
809 GLIB_REQ
810 HSTRERROR_LIBS
811 WIN32_LIBS
812 HAVE_SYS_SOCKET_H_FALSE
813 HAVE_SYS_SOCKET_H_TRUE
814 HAVE_LIBXML_HTML_FALSE
815 HAVE_LIBXML_HTML_TRUE
816 LIBM
817 ENABLE_PLUGIN_DOCS_FALSE
818 ENABLE_PLUGIN_DOCS_TRUE
819 pkgpyexecdir
820 pyexecdir
821 pkgpythondir
822 pythondir
823 PYTHON_PLATFORM
824 PYTHON_EXEC_PREFIX
825 PYTHON_PREFIX
826 PYTHON_VERSION
827 PYTHON
828 GTK_DOC_USE_LIBTOOL_FALSE
829 GTK_DOC_USE_LIBTOOL_TRUE
830 ENABLE_GTK_DOC_FALSE
831 ENABLE_GTK_DOC_TRUE
832 GTKDOC_CHECK
833 HTML_DIR
834 HAVE_INTROSPECTION_FALSE
835 HAVE_INTROSPECTION_TRUE
836 INTROSPECTION_MAKEFILE
837 INTROSPECTION_LIBS
838 INTROSPECTION_CFLAGS
839 INTROSPECTION_TYPELIBDIR
840 INTROSPECTION_GIRDIR
841 INTROSPECTION_GENERATE
842 INTROSPECTION_COMPILER
843 INTROSPECTION_SCANNER
844 HAVE_VALGRIND_FALSE
845 HAVE_VALGRIND_TRUE
846 VALGRIND_PATH
847 HAVE_CXX_FALSE
848 HAVE_CXX_TRUE
849 CXXCPP
850 am__fastdepCXX_FALSE
851 am__fastdepCXX_TRUE
852 CXXDEPMODE
853 ac_ct_CXX
854 CXX
855 HAVE_CPU_CRISV32_FALSE
856 HAVE_CPU_CRISV32_TRUE
857 HAVE_CPU_CRIS_FALSE
858 HAVE_CPU_CRIS_TRUE
859 HAVE_CPU_X86_64_FALSE
860 HAVE_CPU_X86_64_TRUE
861 HAVE_CPU_M68K_FALSE
862 HAVE_CPU_M68K_TRUE
863 HAVE_CPU_IA64_FALSE
864 HAVE_CPU_IA64_TRUE
865 HAVE_CPU_S390_FALSE
866 HAVE_CPU_S390_TRUE
867 HAVE_CPU_MIPS_FALSE
868 HAVE_CPU_MIPS_TRUE
869 HAVE_CPU_HPPA_FALSE
870 HAVE_CPU_HPPA_TRUE
871 HAVE_CPU_SPARC_FALSE
872 HAVE_CPU_SPARC_TRUE
873 HAVE_CPU_ARM_FALSE
874 HAVE_CPU_ARM_TRUE
875 HAVE_CPU_ALPHA_FALSE
876 HAVE_CPU_ALPHA_TRUE
877 HAVE_CPU_PPC64_FALSE
878 HAVE_CPU_PPC64_TRUE
879 HAVE_CPU_PPC_FALSE
880 HAVE_CPU_PPC_TRUE
881 HAVE_CPU_I386_FALSE
882 HAVE_CPU_I386_TRUE
883 BUILD_EXPERIMENTAL_FALSE
884 BUILD_EXPERIMENTAL_TRUE
885 USE_EXPERIMENTAL_FALSE
886 USE_EXPERIMENTAL_TRUE
887 BUILD_EXTERNAL_FALSE
888 BUILD_EXTERNAL_TRUE
889 USE_EXTERNAL_FALSE
890 USE_EXTERNAL_TRUE
891 GST_PLUGINS_SELECTED
892 GST_PLUGINS_ALL
893 GST_INSTALL_PLUGINS_HELPER
894 GST_PKG_CONFIG_PATH
895 GST_PACKAGE_ORIGIN
896 GST_PACKAGE_NAME
897 BUILD_EXAMPLES_FALSE
898 BUILD_EXAMPLES_TRUE
899 GST_GCOV_ENABLED_FALSE
900 GST_GCOV_ENABLED_TRUE
901 CCASFLAGS
902 FFLAGS
903 CXXFLAGS
904 GCOV
905 GCOV_LIBS
906 GCOV_CFLAGS
907 VALGRIND_LIBS
908 VALGRIND_CFLAGS
909 PKG_CONFIG
910 LOCALEDIR
911 GETTEXT_PACKAGE
912 POSUB
913 LTLIBINTL
914 LIBINTL
915 INTLLIBS
916 LTLIBICONV
917 LIBICONV
918 INTL_MACOSX_LIBS
919 XGETTEXT_EXTRA_OPTIONS
920 MSGMERGE
921 XGETTEXT_015
922 XGETTEXT
923 GMSGFMT_015
924 MSGFMT_015
925 GMSGFMT
926 MSGFMT
927 GETTEXT_MACRO_VERSION
928 USE_NLS
929 ACLOCAL_AMFLAGS
930 CPP
931 OTOOL64
932 OTOOL
933 LIPO
934 NMEDIT
935 DSYMUTIL
936 MANIFEST_TOOL
937 RANLIB
938 ac_ct_AR
939 AR
940 LN_S
941 NM
942 ac_ct_DUMPBIN
943 DUMPBIN
944 LD
945 FGREP
946 EGREP
947 GREP
948 SED
949 am__fastdepCC_FALSE
950 am__fastdepCC_TRUE
951 CCDEPMODE
952 am__nodep
953 AMDEPBACKSLASH
954 AMDEP_FALSE
955 AMDEP_TRUE
956 am__quote
957 am__include
958 DEPDIR
959 OBJEXT
960 EXEEXT
961 ac_ct_CC
962 CPPFLAGS
963 LDFLAGS
964 CFLAGS
965 CC
966 LIBTOOL
967 OBJDUMP
968 DLLTOOL
969 AS
970 GST_LT_LDFLAGS
971 GST_LIBVERSION
972 GST_AGE
973 GST_REVISION
974 GST_CURRENT
975 GST_MAJORMINOR
976 AM_BACKSLASH
977 AM_DEFAULT_VERBOSITY
978 AM_DEFAULT_V
979 AM_V
980 host_os
981 host_vendor
982 host_cpu
983 host
984 build_os
985 build_vendor
986 build_cpu
987 build
988 MAINT
989 MAINTAINER_MODE_FALSE
990 MAINTAINER_MODE_TRUE
991 PACKAGE_VERSION_RELEASE
992 PACKAGE_VERSION_NANO
993 PACKAGE_VERSION_MICRO
994 PACKAGE_VERSION_MINOR
995 PACKAGE_VERSION_MAJOR
996 am__untar
997 am__tar
998 AMTAR
999 am__leading_dot
1000 SET_MAKE
1001 AWK
1002 mkdir_p
1003 MKDIR_P
1004 INSTALL_STRIP_PROGRAM
1005 STRIP
1006 install_sh
1007 MAKEINFO
1008 AUTOHEADER
1009 AUTOMAKE
1010 AUTOCONF
1011 ACLOCAL
1012 VERSION
1013 PACKAGE
1014 CYGPATH_W
1015 am__isrc
1016 INSTALL_DATA
1017 INSTALL_SCRIPT
1018 INSTALL_PROGRAM
1019 target_alias
1020 host_alias
1021 build_alias
1022 LIBS
1023 ECHO_T
1024 ECHO_N
1025 ECHO_C
1026 DEFS
1027 mandir
1028 localedir
1029 libdir
1030 psdir
1031 pdfdir
1032 dvidir
1033 htmldir
1034 infodir
1035 docdir
1036 oldincludedir
1037 includedir
1038 localstatedir
1039 sharedstatedir
1040 sysconfdir
1041 datadir
1042 datarootdir
1043 libexecdir
1044 sbindir
1045 bindir
1046 program_transform_name
1047 prefix
1048 exec_prefix
1049 PACKAGE_URL
1050 PACKAGE_BUGREPORT
1051 PACKAGE_STRING
1052 PACKAGE_VERSION
1053 PACKAGE_TARNAME
1054 PACKAGE_NAME
1055 PATH_SEPARATOR
1056 SHELL'
1057 ac_subst_files=''
1058 ac_user_opts='
1059 enable_option_checking
1060 enable_maintainer_mode
1061 enable_silent_rules
1062 enable_shared
1063 enable_static
1064 with_pic
1065 enable_fast_install
1066 enable_dependency_tracking
1067 with_gnu_ld
1068 with_sysroot
1069 enable_libtool_lock
1070 with_autoconf
1071 with_autoheader
1072 with_automake
1073 with_aclocal
1074 enable_nls
1075 enable_rpath
1076 with_libiconv_prefix
1077 with_libintl_prefix
1078 enable_debug
1079 enable_profiling
1080 enable_valgrind
1081 enable_gcov
1082 enable_examples
1083 with_pkg_config_path
1084 with_package_name
1085 with_package_origin
1086 with_install_plugins_helper
1087 with_plugins
1088 enable_external
1089 enable_experimental
1090 enable_largefile
1091 enable_introspection
1092 with_html_dir
1093 enable_gtk_doc
1094 enable_gobject_cast_checks
1095 enable_glib_asserts
1096 enable_orc
1097 enable_Bsymbolic
1098 with_default_audiosink
1099 with_default_audiosrc
1100 with_default_videosink
1101 with_default_videosrc
1102 with_default_visualizer
1103 with_audioresample_format
1104 enable_adder
1105 enable_app
1106 enable_audioconvert
1107 enable_audiorate
1108 enable_audiotestsrc
1109 enable_encoding
1110 enable_ffmpegcolorspace
1111 enable_gdp
1112 enable_playback
1113 enable_audioresample
1114 enable_subparse
1115 enable_tcp
1116 enable_typefind
1117 enable_videotestsrc
1118 enable_videorate
1119 enable_videoscale
1120 enable_volume
1121 enable_iso_codes
1122 enable_zlib
1123 enable_x
1124 with_x
1125 enable_xvideo
1126 enable_xshm
1127 enable_gst_v4l
1128 with_gudev
1129 enable_alsa
1130 with_alsa_prefix
1131 with_alsa_inc_prefix
1132 enable_cdparanoia
1133 enable_gnome_vfs
1134 enable_ivorbis
1135 enable_gio
1136 enable_libvisual
1137 enable_ogg
1138 with_ogg
1139 with_ogg_libraries
1140 with_ogg_includes
1141 enable_oggtest
1142 enable_pango
1143 enable_theora
1144 enable_vorbis
1145 with_vorbis
1146 with_vorbis_libraries
1147 with_vorbis_includes
1148 enable_vorbistest
1149 with_ft_prefix
1150 with_ft_exec_prefix
1151 enable_freetypetest
1152 '
1153       ac_precious_vars='build_alias
1154 host_alias
1155 target_alias
1156 CC
1157 CFLAGS
1158 LDFLAGS
1159 LIBS
1160 CPPFLAGS
1161 CPP
1162 PKG_CONFIG
1163 VALGRIND_CFLAGS
1164 VALGRIND_LIBS
1165 CXX
1166 CXXFLAGS
1167 CCC
1168 CXXCPP
1169 GLIB_CFLAGS
1170 GLIB_LIBS
1171 ORC_CFLAGS
1172 ORC_LIBS
1173 GST_CFLAGS
1174 GST_LIBS
1175 GST_BASE_CFLAGS
1176 GST_BASE_LIBS
1177 GST_GDP_CFLAGS
1178 GST_GDP_LIBS
1179 GST_CONTROLLER_CFLAGS
1180 GST_CONTROLLER_LIBS
1181 GST_CHECK_CFLAGS
1182 GST_CHECK_LIBS
1183 GTK_CFLAGS
1184 GTK_LIBS
1185 GTK_X11_CFLAGS
1186 GTK_X11_LIBS
1187 QT_CFLAGS
1188 QT_LIBS
1189 ZLIB_CFLAGS
1190 ZLIB_LIBS
1191 XMKMF
1192 GUDEV_CFLAGS
1193 GUDEV_LIBS
1194 ALSA_CFLAGS
1195 ALSA_LIBS
1196 CDPARANOIA_CFLAGS
1197 CDPARANOIA_LIBS
1198 GNOME_VFS_CFLAGS
1199 GNOME_VFS_LIBS
1200 IVORBIS_CFLAGS
1201 IVORBIS_LIBS
1202 GIO_CFLAGS
1203 GIO_LIBS
1204 LIBVISUAL_CFLAGS
1205 LIBVISUAL_LIBS
1206 OGG_CFLAGS
1207 OGG_LIBS
1208 PANGO_CFLAGS
1209 PANGO_LIBS
1210 THEORA_CFLAGS
1211 THEORA_LIBS
1212 VORBIS_CFLAGS
1213 VORBIS_LIBS
1214 FT2_CFLAGS
1215 FT2_LIBS'
1216
1217
1218 # Initialize some variables set by options.
1219 ac_init_help=
1220 ac_init_version=false
1221 ac_unrecognized_opts=
1222 ac_unrecognized_sep=
1223 # The variables have the same names as the options, with
1224 # dashes changed to underlines.
1225 cache_file=/dev/null
1226 exec_prefix=NONE
1227 no_create=
1228 no_recursion=
1229 prefix=NONE
1230 program_prefix=NONE
1231 program_suffix=NONE
1232 program_transform_name=s,x,x,
1233 silent=
1234 site=
1235 srcdir=
1236 verbose=
1237 x_includes=NONE
1238 x_libraries=NONE
1239
1240 # Installation directory options.
1241 # These are left unexpanded so users can "make install exec_prefix=/foo"
1242 # and all the variables that are supposed to be based on exec_prefix
1243 # by default will actually change.
1244 # Use braces instead of parens because sh, perl, etc. also accept them.
1245 # (The list follows the same order as the GNU Coding Standards.)
1246 bindir='${exec_prefix}/bin'
1247 sbindir='${exec_prefix}/sbin'
1248 libexecdir='${exec_prefix}/libexec'
1249 datarootdir='${prefix}/share'
1250 datadir='${datarootdir}'
1251 sysconfdir='${prefix}/etc'
1252 sharedstatedir='${prefix}/com'
1253 localstatedir='${prefix}/var'
1254 includedir='${prefix}/include'
1255 oldincludedir='/usr/include'
1256 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1257 infodir='${datarootdir}/info'
1258 htmldir='${docdir}'
1259 dvidir='${docdir}'
1260 pdfdir='${docdir}'
1261 psdir='${docdir}'
1262 libdir='${exec_prefix}/lib'
1263 localedir='${datarootdir}/locale'
1264 mandir='${datarootdir}/man'
1265
1266 ac_prev=
1267 ac_dashdash=
1268 for ac_option
1269 do
1270   # If the previous option needs an argument, assign it.
1271   if test -n "$ac_prev"; then
1272     eval $ac_prev=\$ac_option
1273     ac_prev=
1274     continue
1275   fi
1276
1277   case $ac_option in
1278   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1279   *=)   ac_optarg= ;;
1280   *)    ac_optarg=yes ;;
1281   esac
1282
1283   # Accept the important Cygnus configure options, so we can diagnose typos.
1284
1285   case $ac_dashdash$ac_option in
1286   --)
1287     ac_dashdash=yes ;;
1288
1289   -bindir | --bindir | --bindi | --bind | --bin | --bi)
1290     ac_prev=bindir ;;
1291   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1292     bindir=$ac_optarg ;;
1293
1294   -build | --build | --buil | --bui | --bu)
1295     ac_prev=build_alias ;;
1296   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1297     build_alias=$ac_optarg ;;
1298
1299   -cache-file | --cache-file | --cache-fil | --cache-fi \
1300   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1301     ac_prev=cache_file ;;
1302   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1303   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1304     cache_file=$ac_optarg ;;
1305
1306   --config-cache | -C)
1307     cache_file=config.cache ;;
1308
1309   -datadir | --datadir | --datadi | --datad)
1310     ac_prev=datadir ;;
1311   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1312     datadir=$ac_optarg ;;
1313
1314   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1315   | --dataroo | --dataro | --datar)
1316     ac_prev=datarootdir ;;
1317   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1318   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1319     datarootdir=$ac_optarg ;;
1320
1321   -disable-* | --disable-*)
1322     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1323     # Reject names that are not valid shell variable names.
1324     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1325       as_fn_error $? "invalid feature name: $ac_useropt"
1326     ac_useropt_orig=$ac_useropt
1327     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1328     case $ac_user_opts in
1329       *"
1330 "enable_$ac_useropt"
1331 "*) ;;
1332       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1333          ac_unrecognized_sep=', ';;
1334     esac
1335     eval enable_$ac_useropt=no ;;
1336
1337   -docdir | --docdir | --docdi | --doc | --do)
1338     ac_prev=docdir ;;
1339   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1340     docdir=$ac_optarg ;;
1341
1342   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1343     ac_prev=dvidir ;;
1344   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1345     dvidir=$ac_optarg ;;
1346
1347   -enable-* | --enable-*)
1348     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1349     # Reject names that are not valid shell variable names.
1350     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1351       as_fn_error $? "invalid feature name: $ac_useropt"
1352     ac_useropt_orig=$ac_useropt
1353     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1354     case $ac_user_opts in
1355       *"
1356 "enable_$ac_useropt"
1357 "*) ;;
1358       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1359          ac_unrecognized_sep=', ';;
1360     esac
1361     eval enable_$ac_useropt=\$ac_optarg ;;
1362
1363   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1364   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1365   | --exec | --exe | --ex)
1366     ac_prev=exec_prefix ;;
1367   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1368   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1369   | --exec=* | --exe=* | --ex=*)
1370     exec_prefix=$ac_optarg ;;
1371
1372   -gas | --gas | --ga | --g)
1373     # Obsolete; use --with-gas.
1374     with_gas=yes ;;
1375
1376   -help | --help | --hel | --he | -h)
1377     ac_init_help=long ;;
1378   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1379     ac_init_help=recursive ;;
1380   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1381     ac_init_help=short ;;
1382
1383   -host | --host | --hos | --ho)
1384     ac_prev=host_alias ;;
1385   -host=* | --host=* | --hos=* | --ho=*)
1386     host_alias=$ac_optarg ;;
1387
1388   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1389     ac_prev=htmldir ;;
1390   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1391   | --ht=*)
1392     htmldir=$ac_optarg ;;
1393
1394   -includedir | --includedir | --includedi | --included | --include \
1395   | --includ | --inclu | --incl | --inc)
1396     ac_prev=includedir ;;
1397   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1398   | --includ=* | --inclu=* | --incl=* | --inc=*)
1399     includedir=$ac_optarg ;;
1400
1401   -infodir | --infodir | --infodi | --infod | --info | --inf)
1402     ac_prev=infodir ;;
1403   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1404     infodir=$ac_optarg ;;
1405
1406   -libdir | --libdir | --libdi | --libd)
1407     ac_prev=libdir ;;
1408   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1409     libdir=$ac_optarg ;;
1410
1411   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1412   | --libexe | --libex | --libe)
1413     ac_prev=libexecdir ;;
1414   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1415   | --libexe=* | --libex=* | --libe=*)
1416     libexecdir=$ac_optarg ;;
1417
1418   -localedir | --localedir | --localedi | --localed | --locale)
1419     ac_prev=localedir ;;
1420   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1421     localedir=$ac_optarg ;;
1422
1423   -localstatedir | --localstatedir | --localstatedi | --localstated \
1424   | --localstate | --localstat | --localsta | --localst | --locals)
1425     ac_prev=localstatedir ;;
1426   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1427   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1428     localstatedir=$ac_optarg ;;
1429
1430   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1431     ac_prev=mandir ;;
1432   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1433     mandir=$ac_optarg ;;
1434
1435   -nfp | --nfp | --nf)
1436     # Obsolete; use --without-fp.
1437     with_fp=no ;;
1438
1439   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1440   | --no-cr | --no-c | -n)
1441     no_create=yes ;;
1442
1443   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1444   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1445     no_recursion=yes ;;
1446
1447   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1448   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1449   | --oldin | --oldi | --old | --ol | --o)
1450     ac_prev=oldincludedir ;;
1451   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1452   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1453   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1454     oldincludedir=$ac_optarg ;;
1455
1456   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1457     ac_prev=prefix ;;
1458   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1459     prefix=$ac_optarg ;;
1460
1461   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1462   | --program-pre | --program-pr | --program-p)
1463     ac_prev=program_prefix ;;
1464   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1465   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1466     program_prefix=$ac_optarg ;;
1467
1468   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1469   | --program-suf | --program-su | --program-s)
1470     ac_prev=program_suffix ;;
1471   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1472   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1473     program_suffix=$ac_optarg ;;
1474
1475   -program-transform-name | --program-transform-name \
1476   | --program-transform-nam | --program-transform-na \
1477   | --program-transform-n | --program-transform- \
1478   | --program-transform | --program-transfor \
1479   | --program-transfo | --program-transf \
1480   | --program-trans | --program-tran \
1481   | --progr-tra | --program-tr | --program-t)
1482     ac_prev=program_transform_name ;;
1483   -program-transform-name=* | --program-transform-name=* \
1484   | --program-transform-nam=* | --program-transform-na=* \
1485   | --program-transform-n=* | --program-transform-=* \
1486   | --program-transform=* | --program-transfor=* \
1487   | --program-transfo=* | --program-transf=* \
1488   | --program-trans=* | --program-tran=* \
1489   | --progr-tra=* | --program-tr=* | --program-t=*)
1490     program_transform_name=$ac_optarg ;;
1491
1492   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1493     ac_prev=pdfdir ;;
1494   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1495     pdfdir=$ac_optarg ;;
1496
1497   -psdir | --psdir | --psdi | --psd | --ps)
1498     ac_prev=psdir ;;
1499   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1500     psdir=$ac_optarg ;;
1501
1502   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1503   | -silent | --silent | --silen | --sile | --sil)
1504     silent=yes ;;
1505
1506   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1507     ac_prev=sbindir ;;
1508   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1509   | --sbi=* | --sb=*)
1510     sbindir=$ac_optarg ;;
1511
1512   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1513   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1514   | --sharedst | --shareds | --shared | --share | --shar \
1515   | --sha | --sh)
1516     ac_prev=sharedstatedir ;;
1517   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1518   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1519   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1520   | --sha=* | --sh=*)
1521     sharedstatedir=$ac_optarg ;;
1522
1523   -site | --site | --sit)
1524     ac_prev=site ;;
1525   -site=* | --site=* | --sit=*)
1526     site=$ac_optarg ;;
1527
1528   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1529     ac_prev=srcdir ;;
1530   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1531     srcdir=$ac_optarg ;;
1532
1533   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1534   | --syscon | --sysco | --sysc | --sys | --sy)
1535     ac_prev=sysconfdir ;;
1536   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1537   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1538     sysconfdir=$ac_optarg ;;
1539
1540   -target | --target | --targe | --targ | --tar | --ta | --t)
1541     ac_prev=target_alias ;;
1542   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1543     target_alias=$ac_optarg ;;
1544
1545   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1546     verbose=yes ;;
1547
1548   -version | --version | --versio | --versi | --vers | -V)
1549     ac_init_version=: ;;
1550
1551   -with-* | --with-*)
1552     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1553     # Reject names that are not valid shell variable names.
1554     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1555       as_fn_error $? "invalid package name: $ac_useropt"
1556     ac_useropt_orig=$ac_useropt
1557     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1558     case $ac_user_opts in
1559       *"
1560 "with_$ac_useropt"
1561 "*) ;;
1562       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1563          ac_unrecognized_sep=', ';;
1564     esac
1565     eval with_$ac_useropt=\$ac_optarg ;;
1566
1567   -without-* | --without-*)
1568     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1569     # Reject names that are not valid shell variable names.
1570     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1571       as_fn_error $? "invalid package name: $ac_useropt"
1572     ac_useropt_orig=$ac_useropt
1573     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1574     case $ac_user_opts in
1575       *"
1576 "with_$ac_useropt"
1577 "*) ;;
1578       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1579          ac_unrecognized_sep=', ';;
1580     esac
1581     eval with_$ac_useropt=no ;;
1582
1583   --x)
1584     # Obsolete; use --with-x.
1585     with_x=yes ;;
1586
1587   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1588   | --x-incl | --x-inc | --x-in | --x-i)
1589     ac_prev=x_includes ;;
1590   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1591   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1592     x_includes=$ac_optarg ;;
1593
1594   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1595   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1596     ac_prev=x_libraries ;;
1597   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1598   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1599     x_libraries=$ac_optarg ;;
1600
1601   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1602 Try \`$0 --help' for more information"
1603     ;;
1604
1605   *=*)
1606     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1607     # Reject names that are not valid shell variable names.
1608     case $ac_envvar in #(
1609       '' | [0-9]* | *[!_$as_cr_alnum]* )
1610       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1611     esac
1612     eval $ac_envvar=\$ac_optarg
1613     export $ac_envvar ;;
1614
1615   *)
1616     # FIXME: should be removed in autoconf 3.0.
1617     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1618     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1619       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1620     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1621     ;;
1622
1623   esac
1624 done
1625
1626 if test -n "$ac_prev"; then
1627   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1628   as_fn_error $? "missing argument to $ac_option"
1629 fi
1630
1631 if test -n "$ac_unrecognized_opts"; then
1632   case $enable_option_checking in
1633     no) ;;
1634     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1635     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1636   esac
1637 fi
1638
1639 # Check all directory arguments for consistency.
1640 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1641                 datadir sysconfdir sharedstatedir localstatedir includedir \
1642                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1643                 libdir localedir mandir
1644 do
1645   eval ac_val=\$$ac_var
1646   # Remove trailing slashes.
1647   case $ac_val in
1648     */ )
1649       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1650       eval $ac_var=\$ac_val;;
1651   esac
1652   # Be sure to have absolute directory names.
1653   case $ac_val in
1654     [\\/$]* | ?:[\\/]* )  continue;;
1655     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1656   esac
1657   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1658 done
1659
1660 # There might be people who depend on the old broken behavior: `$host'
1661 # used to hold the argument of --host etc.
1662 # FIXME: To remove some day.
1663 build=$build_alias
1664 host=$host_alias
1665 target=$target_alias
1666
1667 # FIXME: To remove some day.
1668 if test "x$host_alias" != x; then
1669   if test "x$build_alias" = x; then
1670     cross_compiling=maybe
1671     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1672     If a cross compiler is detected then cross compile mode will be used" >&2
1673   elif test "x$build_alias" != "x$host_alias"; then
1674     cross_compiling=yes
1675   fi
1676 fi
1677
1678 ac_tool_prefix=
1679 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1680
1681 test "$silent" = yes && exec 6>/dev/null
1682
1683
1684 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1685 ac_ls_di=`ls -di .` &&
1686 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1687   as_fn_error $? "working directory cannot be determined"
1688 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1689   as_fn_error $? "pwd does not report name of working directory"
1690
1691
1692 # Find the source files, if location was not specified.
1693 if test -z "$srcdir"; then
1694   ac_srcdir_defaulted=yes
1695   # Try the directory containing this script, then the parent directory.
1696   ac_confdir=`$as_dirname -- "$as_myself" ||
1697 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1698          X"$as_myself" : 'X\(//\)[^/]' \| \
1699          X"$as_myself" : 'X\(//\)$' \| \
1700          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1701 $as_echo X"$as_myself" |
1702     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1703             s//\1/
1704             q
1705           }
1706           /^X\(\/\/\)[^/].*/{
1707             s//\1/
1708             q
1709           }
1710           /^X\(\/\/\)$/{
1711             s//\1/
1712             q
1713           }
1714           /^X\(\/\).*/{
1715             s//\1/
1716             q
1717           }
1718           s/.*/./; q'`
1719   srcdir=$ac_confdir
1720   if test ! -r "$srcdir/$ac_unique_file"; then
1721     srcdir=..
1722   fi
1723 else
1724   ac_srcdir_defaulted=no
1725 fi
1726 if test ! -r "$srcdir/$ac_unique_file"; then
1727   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1728   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1729 fi
1730 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1731 ac_abs_confdir=`(
1732         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1733         pwd)`
1734 # When building in place, set srcdir=.
1735 if test "$ac_abs_confdir" = "$ac_pwd"; then
1736   srcdir=.
1737 fi
1738 # Remove unnecessary trailing slashes from srcdir.
1739 # Double slashes in file names in object file debugging info
1740 # mess up M-x gdb in Emacs.
1741 case $srcdir in
1742 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1743 esac
1744 for ac_var in $ac_precious_vars; do
1745   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1746   eval ac_env_${ac_var}_value=\$${ac_var}
1747   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1748   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1749 done
1750
1751 #
1752 # Report the --help message.
1753 #
1754 if test "$ac_init_help" = "long"; then
1755   # Omit some internal or obsolete options to make the list less imposing.
1756   # This message is too long to be a string in the A/UX 3.1 sh.
1757   cat <<_ACEOF
1758 \`configure' configures GStreamer Base Plug-ins 0.10.36 to adapt to many kinds of systems.
1759
1760 Usage: $0 [OPTION]... [VAR=VALUE]...
1761
1762 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1763 VAR=VALUE.  See below for descriptions of some of the useful variables.
1764
1765 Defaults for the options are specified in brackets.
1766
1767 Configuration:
1768   -h, --help              display this help and exit
1769       --help=short        display options specific to this package
1770       --help=recursive    display the short help of all the included packages
1771   -V, --version           display version information and exit
1772   -q, --quiet, --silent   do not print \`checking ...' messages
1773       --cache-file=FILE   cache test results in FILE [disabled]
1774   -C, --config-cache      alias for \`--cache-file=config.cache'
1775   -n, --no-create         do not create output files
1776       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1777
1778 Installation directories:
1779   --prefix=PREFIX         install architecture-independent files in PREFIX
1780                           [$ac_default_prefix]
1781   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1782                           [PREFIX]
1783
1784 By default, \`make install' will install all the files in
1785 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1786 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1787 for instance \`--prefix=\$HOME'.
1788
1789 For better control, use the options below.
1790
1791 Fine tuning of the installation directories:
1792   --bindir=DIR            user executables [EPREFIX/bin]
1793   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1794   --libexecdir=DIR        program executables [EPREFIX/libexec]
1795   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1796   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1797   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1798   --libdir=DIR            object code libraries [EPREFIX/lib]
1799   --includedir=DIR        C header files [PREFIX/include]
1800   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1801   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1802   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1803   --infodir=DIR           info documentation [DATAROOTDIR/info]
1804   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1805   --mandir=DIR            man documentation [DATAROOTDIR/man]
1806   --docdir=DIR            documentation root
1807                           [DATAROOTDIR/doc/gst-plugins-base]
1808   --htmldir=DIR           html documentation [DOCDIR]
1809   --dvidir=DIR            dvi documentation [DOCDIR]
1810   --pdfdir=DIR            pdf documentation [DOCDIR]
1811   --psdir=DIR             ps documentation [DOCDIR]
1812 _ACEOF
1813
1814   cat <<\_ACEOF
1815
1816 Program names:
1817   --program-prefix=PREFIX            prepend PREFIX to installed program names
1818   --program-suffix=SUFFIX            append SUFFIX to installed program names
1819   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1820
1821 X features:
1822   --x-includes=DIR    X include files are in DIR
1823   --x-libraries=DIR   X library files are in DIR
1824
1825 System types:
1826   --build=BUILD     configure for building on BUILD [guessed]
1827   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1828 _ACEOF
1829 fi
1830
1831 if test -n "$ac_init_help"; then
1832   case $ac_init_help in
1833      short | recursive ) echo "Configuration of GStreamer Base Plug-ins 0.10.36:";;
1834    esac
1835   cat <<\_ACEOF
1836
1837 Optional Features:
1838   --disable-option-checking  ignore unrecognized --enable/--with options
1839   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1840   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1841   --enable-maintainer-mode  enable make rules and dependencies not useful
1842                           (and sometimes confusing) to the casual installer
1843   --enable-silent-rules          less verbose build output (undo: `make V=1')
1844   --disable-silent-rules         verbose build output (undo: `make V=0')
1845   --enable-shared[=PKGS]  build shared libraries [default=yes]
1846   --enable-static[=PKGS]  build static libraries [default=yes]
1847   --enable-fast-install[=PKGS]
1848                           optimize for fast installation [default=yes]
1849   --disable-dependency-tracking  speeds up one-time build
1850   --enable-dependency-tracking   do not reject slow dependency extractors
1851   --disable-libtool-lock  avoid locking (might break parallel builds)
1852   --disable-nls           do not use Native Language Support
1853   --disable-rpath         do not hardcode runtime library paths
1854   --disable-debug         disable addition of -g debugging info
1855   --enable-profiling      adds -pg to compiler commandline, for profiling
1856   --disable-valgrind      disable run-time valgrind detection
1857   --enable-gcov           compile with coverage profiling instrumentation (gcc
1858                           only)
1859   --disable-examples      disable building examples
1860   --disable-external           disable building of plug-ins with external deps
1861   --enable-experimental        enable building of experimental plug-ins
1862   --disable-largefile     omit support for large files
1863   --enable-introspection=[no/auto/yes]
1864                           Enable introspection for this build
1865   --enable-gtk-doc        use gtk-doc to build documentation [[default=no]]
1866   --enable-gobject-cast-checks=[no/auto/yes]
1867                           Enable GObject cast checks
1868   --enable-glib-asserts=[no/auto/yes]
1869                           Enable GLib assertion
1870   --enable-orc            use Orc if installed
1871   --disable-Bsymbolic     avoid linking with -Bsymbolic
1872   --disable-adder         disable dependency-less adder plugin
1873   --disable-app           disable dependency-less app plugin
1874   --disable-audioconvert  disable dependency-less audioconvert plugin
1875   --disable-audiorate     disable dependency-less audiorate plugin
1876   --disable-audiotestsrc  disable dependency-less audiotestsrc plugin
1877   --disable-encoding      disable dependency-less encoding plugin
1878   --disable-ffmpegcolorspace
1879                           disable dependency-less ffmpegcolorspace plugin
1880   --disable-gdp           disable dependency-less gdp plugin
1881   --disable-playback      disable dependency-less playback plugin
1882   --disable-audioresample disable dependency-less audioresample plugin
1883   --disable-subparse      disable dependency-less subparse plugin
1884   --disable-tcp           disable dependency-less tcp plugin
1885   --disable-typefind      disable dependency-less typefind plugin
1886   --disable-videotestsrc  disable dependency-less videotestsrc plugin
1887   --disable-videorate     disable dependency-less videorate plugin
1888   --disable-videoscale    disable dependency-less videoscale plugin
1889   --disable-volume        disable dependency-less volume plugin
1890   --enable-iso-codes      use iso-codes if installed
1891   --disable-zlib               disable zlib support for ID3 parsing in libgsttag
1892   --disable-x                  disable X libraries and plugins: ximagesink
1893   --disable-xvideo             disable X11 XVideo extensions: xvimagesink
1894   --disable-xshm               disable X Shared Memory extension
1895   --disable-gst_v4l            disable Video 4 Linux: video4linux
1896   --disable-alsa               disable ALSA: alsa
1897   --disable-cdparanoia         disable CDParanoia: cdparanoia
1898   --disable-gnome_vfs          disable GNOME VFS: gnomevfs
1899   --disable-ivorbis            disable integer vorbis plug-in: ivorbisdec
1900   --disable-gio                disable GIO library: gio
1901   --disable-libvisual          disable libvisual visualization library: libvisual
1902   --disable-ogg                disable Xiph Ogg library: ogg
1903   --disable-oggtest       Do not try to compile and run a test Ogg program
1904   --disable-pango              disable Pango font rendering: pango
1905   --disable-theora             disable Xiph Theora video codec: theora
1906   --disable-vorbis             disable Xiph Vorbis audio codec: vorbis
1907   --disable-vorbistest       Do not try to compile and run a test Vorbis program
1908   --disable-freetypetest  Do not try to compile and run
1909                           a test FreeType program
1910
1911 Optional Packages:
1912   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1913   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1914   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1915                           both]
1916   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1917   --with-sysroot=DIR Search for dependent libraries within DIR
1918                         (or the compiler's sysroot if not specified).
1919   --with-autoconf         use a different autoconf for regeneration of
1920                           Makefiles
1921   --with-autoheader       use a different autoheader for regeneration of
1922                           Makefiles
1923   --with-automake         use a different automake for regeneration of
1924                           Makefiles
1925   --with-aclocal          use a different aclocal for regeneration of
1926                           Makefiles
1927   --with-gnu-ld           assume the C compiler uses GNU ld default=no
1928   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1929   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1930   --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
1931   --without-libintl-prefix     don't search for libintl in includedir and libdir
1932   --with-pkg-config-path  colon-separated list of pkg-config(1) dirs
1933   --with-package-name     specify package name to use in plugins
1934   --with-package-origin   specify package origin URL to use in plugins
1935   --with-install-plugins-helper
1936                           specify path of helper script to call to install
1937                           plugins
1938   --with-plugins          comma-separated list of dependencyless plug-ins to
1939                           compile
1940   --with-html-dir=PATH    path to installed docs
1941   --with-default-audiosink
1942                           specify default audio sink
1943   --with-default-audiosrc specify default audio source
1944   --with-default-videosink
1945                           specify default video sink
1946   --with-default-videosrc specify default video source
1947   --with-default-visualizer
1948                           specify default visualizer
1949   --with-audioresample-format
1950                           Which implementation should be used for integer
1951                           audio resampling, int/float/auto, (default is auto)
1952   --with-x                use the X Window System
1953   --with-gudev            device detection with gudev
1954   --with-alsa-prefix=PFX  prefix where Alsa library is installed(optional)
1955   --with-alsa-inc-prefix=PFX
1956                           prefix where include libraries are (optional)
1957   --with-ogg=PFX   Prefix where libogg is installed (optional)
1958   --with-ogg-libraries=DIR   Directory where libogg library is installed (optional)
1959   --with-ogg-includes=DIR   Directory where libogg header files are installed (optional)
1960   --with-vorbis=PFX   Prefix where libvorbis is installed (optional)
1961   --with-vorbis-libraries=DIR   Directory where libvorbis library is installed (optional)
1962   --with-vorbis-includes=DIR   Directory where libvorbis header files are installed (optional)
1963   --with-ft-prefix=PREFIX
1964                           Prefix where FreeType is installed (optional)
1965   --with-ft-exec-prefix=PREFIX
1966                           Exec prefix where FreeType is installed (optional)
1967
1968 Some influential environment variables:
1969   CC          C compiler command
1970   CFLAGS      C compiler flags
1971   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1972               nonstandard directory <lib dir>
1973   LIBS        libraries to pass to the linker, e.g. -l<library>
1974   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1975               you have headers in a nonstandard directory <include dir>
1976   CPP         C preprocessor
1977   PKG_CONFIG  path to pkg-config utility
1978   VALGRIND_CFLAGS
1979               C compiler flags for VALGRIND, overriding pkg-config
1980   VALGRIND_LIBS
1981               linker flags for VALGRIND, overriding pkg-config
1982   CXX         C++ compiler command
1983   CXXFLAGS    C++ compiler flags
1984   CXXCPP      C++ preprocessor
1985   GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1986   GLIB_LIBS   linker flags for GLIB, overriding pkg-config
1987   ORC_CFLAGS  C compiler flags for ORC, overriding pkg-config
1988   ORC_LIBS    linker flags for ORC, overriding pkg-config
1989   GST_CFLAGS  C compiler flags for GST, overriding pkg-config
1990   GST_LIBS    linker flags for GST, overriding pkg-config
1991   GST_BASE_CFLAGS
1992               C compiler flags for GST_BASE, overriding pkg-config
1993   GST_BASE_LIBS
1994               linker flags for GST_BASE, overriding pkg-config
1995   GST_GDP_CFLAGS
1996               C compiler flags for GST_GDP, overriding pkg-config
1997   GST_GDP_LIBS
1998               linker flags for GST_GDP, overriding pkg-config
1999   GST_CONTROLLER_CFLAGS
2000               C compiler flags for GST_CONTROLLER, overriding pkg-config
2001   GST_CONTROLLER_LIBS
2002               linker flags for GST_CONTROLLER, overriding pkg-config
2003   GST_CHECK_CFLAGS
2004               C compiler flags for GST_CHECK, overriding pkg-config
2005   GST_CHECK_LIBS
2006               linker flags for GST_CHECK, overriding pkg-config
2007   GTK_CFLAGS  C compiler flags for GTK, overriding pkg-config
2008   GTK_LIBS    linker flags for GTK, overriding pkg-config
2009   GTK_X11_CFLAGS
2010               C compiler flags for GTK_X11, overriding pkg-config
2011   GTK_X11_LIBS
2012               linker flags for GTK_X11, overriding pkg-config
2013   QT_CFLAGS   C compiler flags for QT, overriding pkg-config
2014   QT_LIBS     linker flags for QT, overriding pkg-config
2015   ZLIB_CFLAGS C compiler flags for ZLIB, overriding pkg-config
2016   ZLIB_LIBS   linker flags for ZLIB, overriding pkg-config
2017   XMKMF       Path to xmkmf, Makefile generator for X Window System
2018   GUDEV_CFLAGS
2019               C compiler flags for GUDEV, overriding pkg-config
2020   GUDEV_LIBS  linker flags for GUDEV, overriding pkg-config
2021   ALSA_CFLAGS C compiler flags for ALSA, overriding pkg-config
2022   ALSA_LIBS   linker flags for ALSA, overriding pkg-config
2023   CDPARANOIA_CFLAGS
2024               C compiler flags for CDPARANOIA, overriding pkg-config
2025   CDPARANOIA_LIBS
2026               linker flags for CDPARANOIA, overriding pkg-config
2027   GNOME_VFS_CFLAGS
2028               C compiler flags for GNOME_VFS, overriding pkg-config
2029   GNOME_VFS_LIBS
2030               linker flags for GNOME_VFS, overriding pkg-config
2031   IVORBIS_CFLAGS
2032               C compiler flags for IVORBIS, overriding pkg-config
2033   IVORBIS_LIBS
2034               linker flags for IVORBIS, overriding pkg-config
2035   GIO_CFLAGS  C compiler flags for GIO, overriding pkg-config
2036   GIO_LIBS    linker flags for GIO, overriding pkg-config
2037   LIBVISUAL_CFLAGS
2038               C compiler flags for LIBVISUAL, overriding pkg-config
2039   LIBVISUAL_LIBS
2040               linker flags for LIBVISUAL, overriding pkg-config
2041   OGG_CFLAGS  C compiler flags for OGG, overriding pkg-config
2042   OGG_LIBS    linker flags for OGG, overriding pkg-config
2043   PANGO_CFLAGS
2044               C compiler flags for PANGO, overriding pkg-config
2045   PANGO_LIBS  linker flags for PANGO, overriding pkg-config
2046   THEORA_CFLAGS
2047               C compiler flags for THEORA, overriding pkg-config
2048   THEORA_LIBS linker flags for THEORA, overriding pkg-config
2049   VORBIS_CFLAGS
2050               C compiler flags for VORBIS, overriding pkg-config
2051   VORBIS_LIBS linker flags for VORBIS, overriding pkg-config
2052   FT2_CFLAGS  C compiler flags for FT2, overriding pkg-config
2053   FT2_LIBS    linker flags for FT2, overriding pkg-config
2054
2055 Use these variables to override the choices made by `configure' or to help
2056 it to find libraries and programs with nonstandard names/locations.
2057
2058 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer>.
2059 _ACEOF
2060 ac_status=$?
2061 fi
2062
2063 if test "$ac_init_help" = "recursive"; then
2064   # If there are subdirs, report their specific --help.
2065   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2066     test -d "$ac_dir" ||
2067       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2068       continue
2069     ac_builddir=.
2070
2071 case "$ac_dir" in
2072 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2073 *)
2074   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2075   # A ".." for each directory in $ac_dir_suffix.
2076   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2077   case $ac_top_builddir_sub in
2078   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2079   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2080   esac ;;
2081 esac
2082 ac_abs_top_builddir=$ac_pwd
2083 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2084 # for backward compatibility:
2085 ac_top_builddir=$ac_top_build_prefix
2086
2087 case $srcdir in
2088   .)  # We are building in place.
2089     ac_srcdir=.
2090     ac_top_srcdir=$ac_top_builddir_sub
2091     ac_abs_top_srcdir=$ac_pwd ;;
2092   [\\/]* | ?:[\\/]* )  # Absolute name.
2093     ac_srcdir=$srcdir$ac_dir_suffix;
2094     ac_top_srcdir=$srcdir
2095     ac_abs_top_srcdir=$srcdir ;;
2096   *) # Relative name.
2097     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2098     ac_top_srcdir=$ac_top_build_prefix$srcdir
2099     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2100 esac
2101 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2102
2103     cd "$ac_dir" || { ac_status=$?; continue; }
2104     # Check for guested configure.
2105     if test -f "$ac_srcdir/configure.gnu"; then
2106       echo &&
2107       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2108     elif test -f "$ac_srcdir/configure"; then
2109       echo &&
2110       $SHELL "$ac_srcdir/configure" --help=recursive
2111     else
2112       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2113     fi || ac_status=$?
2114     cd "$ac_pwd" || { ac_status=$?; break; }
2115   done
2116 fi
2117
2118 test -n "$ac_init_help" && exit $ac_status
2119 if $ac_init_version; then
2120   cat <<\_ACEOF
2121 GStreamer Base Plug-ins configure 0.10.36
2122 generated by GNU Autoconf 2.68
2123
2124 Copyright (C) 2010 Free Software Foundation, Inc.
2125 This configure script is free software; the Free Software Foundation
2126 gives unlimited permission to copy, distribute and modify it.
2127 _ACEOF
2128   exit
2129 fi
2130
2131 ## ------------------------ ##
2132 ## Autoconf initialization. ##
2133 ## ------------------------ ##
2134
2135 # ac_fn_c_try_compile LINENO
2136 # --------------------------
2137 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2138 ac_fn_c_try_compile ()
2139 {
2140   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2141   rm -f conftest.$ac_objext
2142   if { { ac_try="$ac_compile"
2143 case "(($ac_try" in
2144   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2145   *) ac_try_echo=$ac_try;;
2146 esac
2147 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2148 $as_echo "$ac_try_echo"; } >&5
2149   (eval "$ac_compile") 2>conftest.err
2150   ac_status=$?
2151   if test -s conftest.err; then
2152     grep -v '^ *+' conftest.err >conftest.er1
2153     cat conftest.er1 >&5
2154     mv -f conftest.er1 conftest.err
2155   fi
2156   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2157   test $ac_status = 0; } && {
2158          test -z "$ac_c_werror_flag" ||
2159          test ! -s conftest.err
2160        } && test -s conftest.$ac_objext; then :
2161   ac_retval=0
2162 else
2163   $as_echo "$as_me: failed program was:" >&5
2164 sed 's/^/| /' conftest.$ac_ext >&5
2165
2166         ac_retval=1
2167 fi
2168   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2169   as_fn_set_status $ac_retval
2170
2171 } # ac_fn_c_try_compile
2172
2173 # ac_fn_c_try_link LINENO
2174 # -----------------------
2175 # Try to link conftest.$ac_ext, and return whether this succeeded.
2176 ac_fn_c_try_link ()
2177 {
2178   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2179   rm -f conftest.$ac_objext conftest$ac_exeext
2180   if { { ac_try="$ac_link"
2181 case "(($ac_try" in
2182   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2183   *) ac_try_echo=$ac_try;;
2184 esac
2185 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2186 $as_echo "$ac_try_echo"; } >&5
2187   (eval "$ac_link") 2>conftest.err
2188   ac_status=$?
2189   if test -s conftest.err; then
2190     grep -v '^ *+' conftest.err >conftest.er1
2191     cat conftest.er1 >&5
2192     mv -f conftest.er1 conftest.err
2193   fi
2194   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2195   test $ac_status = 0; } && {
2196          test -z "$ac_c_werror_flag" ||
2197          test ! -s conftest.err
2198        } && test -s conftest$ac_exeext && {
2199          test "$cross_compiling" = yes ||
2200          $as_test_x conftest$ac_exeext
2201        }; then :
2202   ac_retval=0
2203 else
2204   $as_echo "$as_me: failed program was:" >&5
2205 sed 's/^/| /' conftest.$ac_ext >&5
2206
2207         ac_retval=1
2208 fi
2209   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2210   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2211   # interfere with the next link command; also delete a directory that is
2212   # left behind by Apple's compiler.  We do this before executing the actions.
2213   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2214   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2215   as_fn_set_status $ac_retval
2216
2217 } # ac_fn_c_try_link
2218
2219 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2220 # -------------------------------------------------------
2221 # Tests whether HEADER exists and can be compiled using the include files in
2222 # INCLUDES, setting the cache variable VAR accordingly.
2223 ac_fn_c_check_header_compile ()
2224 {
2225   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2226   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2227 $as_echo_n "checking for $2... " >&6; }
2228 if eval \${$3+:} false; then :
2229   $as_echo_n "(cached) " >&6
2230 else
2231   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2232 /* end confdefs.h.  */
2233 $4
2234 #include <$2>
2235 _ACEOF
2236 if ac_fn_c_try_compile "$LINENO"; then :
2237   eval "$3=yes"
2238 else
2239   eval "$3=no"
2240 fi
2241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2242 fi
2243 eval ac_res=\$$3
2244                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2245 $as_echo "$ac_res" >&6; }
2246   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2247
2248 } # ac_fn_c_check_header_compile
2249
2250 # ac_fn_c_try_cpp LINENO
2251 # ----------------------
2252 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2253 ac_fn_c_try_cpp ()
2254 {
2255   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2256   if { { ac_try="$ac_cpp conftest.$ac_ext"
2257 case "(($ac_try" in
2258   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2259   *) ac_try_echo=$ac_try;;
2260 esac
2261 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2262 $as_echo "$ac_try_echo"; } >&5
2263   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2264   ac_status=$?
2265   if test -s conftest.err; then
2266     grep -v '^ *+' conftest.err >conftest.er1
2267     cat conftest.er1 >&5
2268     mv -f conftest.er1 conftest.err
2269   fi
2270   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2271   test $ac_status = 0; } > conftest.i && {
2272          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2273          test ! -s conftest.err
2274        }; then :
2275   ac_retval=0
2276 else
2277   $as_echo "$as_me: failed program was:" >&5
2278 sed 's/^/| /' conftest.$ac_ext >&5
2279
2280     ac_retval=1
2281 fi
2282   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2283   as_fn_set_status $ac_retval
2284
2285 } # ac_fn_c_try_cpp
2286
2287 # ac_fn_c_try_run LINENO
2288 # ----------------------
2289 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2290 # that executables *can* be run.
2291 ac_fn_c_try_run ()
2292 {
2293   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2294   if { { ac_try="$ac_link"
2295 case "(($ac_try" in
2296   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2297   *) ac_try_echo=$ac_try;;
2298 esac
2299 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2300 $as_echo "$ac_try_echo"; } >&5
2301   (eval "$ac_link") 2>&5
2302   ac_status=$?
2303   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2304   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2305   { { case "(($ac_try" in
2306   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2307   *) ac_try_echo=$ac_try;;
2308 esac
2309 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2310 $as_echo "$ac_try_echo"; } >&5
2311   (eval "$ac_try") 2>&5
2312   ac_status=$?
2313   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2314   test $ac_status = 0; }; }; then :
2315   ac_retval=0
2316 else
2317   $as_echo "$as_me: program exited with status $ac_status" >&5
2318        $as_echo "$as_me: failed program was:" >&5
2319 sed 's/^/| /' conftest.$ac_ext >&5
2320
2321        ac_retval=$ac_status
2322 fi
2323   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2324   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2325   as_fn_set_status $ac_retval
2326
2327 } # ac_fn_c_try_run
2328
2329 # ac_fn_c_check_func LINENO FUNC VAR
2330 # ----------------------------------
2331 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2332 ac_fn_c_check_func ()
2333 {
2334   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2335   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2336 $as_echo_n "checking for $2... " >&6; }
2337 if eval \${$3+:} false; then :
2338   $as_echo_n "(cached) " >&6
2339 else
2340   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2341 /* end confdefs.h.  */
2342 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2343    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
2344 #define $2 innocuous_$2
2345
2346 /* System header to define __stub macros and hopefully few prototypes,
2347     which can conflict with char $2 (); below.
2348     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2349     <limits.h> exists even on freestanding compilers.  */
2350
2351 #ifdef __STDC__
2352 # include <limits.h>
2353 #else
2354 # include <assert.h>
2355 #endif
2356
2357 #undef $2
2358
2359 /* Override any GCC internal prototype to avoid an error.
2360    Use char because int might match the return type of a GCC
2361    builtin and then its argument prototype would still apply.  */
2362 #ifdef __cplusplus
2363 extern "C"
2364 #endif
2365 char $2 ();
2366 /* The GNU C library defines this for functions which it implements
2367     to always fail with ENOSYS.  Some functions are actually named
2368     something starting with __ and the normal name is an alias.  */
2369 #if defined __stub_$2 || defined __stub___$2
2370 choke me
2371 #endif
2372
2373 int
2374 main ()
2375 {
2376 return $2 ();
2377   ;
2378   return 0;
2379 }
2380 _ACEOF
2381 if ac_fn_c_try_link "$LINENO"; then :
2382   eval "$3=yes"
2383 else
2384   eval "$3=no"
2385 fi
2386 rm -f core conftest.err conftest.$ac_objext \
2387     conftest$ac_exeext conftest.$ac_ext
2388 fi
2389 eval ac_res=\$$3
2390                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2391 $as_echo "$ac_res" >&6; }
2392   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2393
2394 } # ac_fn_c_check_func
2395
2396 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2397 # ---------------------------------------------
2398 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2399 # accordingly.
2400 ac_fn_c_check_decl ()
2401 {
2402   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2403   as_decl_name=`echo $2|sed 's/ *(.*//'`
2404   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2405   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2406 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2407 if eval \${$3+:} false; then :
2408   $as_echo_n "(cached) " >&6
2409 else
2410   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2411 /* end confdefs.h.  */
2412 $4
2413 int
2414 main ()
2415 {
2416 #ifndef $as_decl_name
2417 #ifdef __cplusplus
2418   (void) $as_decl_use;
2419 #else
2420   (void) $as_decl_name;
2421 #endif
2422 #endif
2423
2424   ;
2425   return 0;
2426 }
2427 _ACEOF
2428 if ac_fn_c_try_compile "$LINENO"; then :
2429   eval "$3=yes"
2430 else
2431   eval "$3=no"
2432 fi
2433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2434 fi
2435 eval ac_res=\$$3
2436                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2437 $as_echo "$ac_res" >&6; }
2438   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2439
2440 } # ac_fn_c_check_decl
2441
2442 # ac_fn_cxx_try_compile LINENO
2443 # ----------------------------
2444 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2445 ac_fn_cxx_try_compile ()
2446 {
2447   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2448   rm -f conftest.$ac_objext
2449   if { { ac_try="$ac_compile"
2450 case "(($ac_try" in
2451   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2452   *) ac_try_echo=$ac_try;;
2453 esac
2454 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2455 $as_echo "$ac_try_echo"; } >&5
2456   (eval "$ac_compile") 2>conftest.err
2457   ac_status=$?
2458   if test -s conftest.err; then
2459     grep -v '^ *+' conftest.err >conftest.er1
2460     cat conftest.er1 >&5
2461     mv -f conftest.er1 conftest.err
2462   fi
2463   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2464   test $ac_status = 0; } && {
2465          test -z "$ac_cxx_werror_flag" ||
2466          test ! -s conftest.err
2467        } && test -s conftest.$ac_objext; then :
2468   ac_retval=0
2469 else
2470   $as_echo "$as_me: failed program was:" >&5
2471 sed 's/^/| /' conftest.$ac_ext >&5
2472
2473         ac_retval=1
2474 fi
2475   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2476   as_fn_set_status $ac_retval
2477
2478 } # ac_fn_cxx_try_compile
2479
2480 # ac_fn_cxx_try_cpp LINENO
2481 # ------------------------
2482 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2483 ac_fn_cxx_try_cpp ()
2484 {
2485   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2486   if { { ac_try="$ac_cpp conftest.$ac_ext"
2487 case "(($ac_try" in
2488   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2489   *) ac_try_echo=$ac_try;;
2490 esac
2491 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2492 $as_echo "$ac_try_echo"; } >&5
2493   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2494   ac_status=$?
2495   if test -s conftest.err; then
2496     grep -v '^ *+' conftest.err >conftest.er1
2497     cat conftest.er1 >&5
2498     mv -f conftest.er1 conftest.err
2499   fi
2500   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2501   test $ac_status = 0; } > conftest.i && {
2502          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2503          test ! -s conftest.err
2504        }; then :
2505   ac_retval=0
2506 else
2507   $as_echo "$as_me: failed program was:" >&5
2508 sed 's/^/| /' conftest.$ac_ext >&5
2509
2510     ac_retval=1
2511 fi
2512   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2513   as_fn_set_status $ac_retval
2514
2515 } # ac_fn_cxx_try_cpp
2516
2517 # ac_fn_cxx_try_link LINENO
2518 # -------------------------
2519 # Try to link conftest.$ac_ext, and return whether this succeeded.
2520 ac_fn_cxx_try_link ()
2521 {
2522   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2523   rm -f conftest.$ac_objext conftest$ac_exeext
2524   if { { ac_try="$ac_link"
2525 case "(($ac_try" in
2526   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2527   *) ac_try_echo=$ac_try;;
2528 esac
2529 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2530 $as_echo "$ac_try_echo"; } >&5
2531   (eval "$ac_link") 2>conftest.err
2532   ac_status=$?
2533   if test -s conftest.err; then
2534     grep -v '^ *+' conftest.err >conftest.er1
2535     cat conftest.er1 >&5
2536     mv -f conftest.er1 conftest.err
2537   fi
2538   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2539   test $ac_status = 0; } && {
2540          test -z "$ac_cxx_werror_flag" ||
2541          test ! -s conftest.err
2542        } && test -s conftest$ac_exeext && {
2543          test "$cross_compiling" = yes ||
2544          $as_test_x conftest$ac_exeext
2545        }; then :
2546   ac_retval=0
2547 else
2548   $as_echo "$as_me: failed program was:" >&5
2549 sed 's/^/| /' conftest.$ac_ext >&5
2550
2551         ac_retval=1
2552 fi
2553   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2554   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2555   # interfere with the next link command; also delete a directory that is
2556   # left behind by Apple's compiler.  We do this before executing the actions.
2557   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2558   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2559   as_fn_set_status $ac_retval
2560
2561 } # ac_fn_cxx_try_link
2562
2563 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2564 # -------------------------------------------------------
2565 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2566 # the include files in INCLUDES and setting the cache variable VAR
2567 # accordingly.
2568 ac_fn_c_check_header_mongrel ()
2569 {
2570   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2571   if eval \${$3+:} false; then :
2572   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2573 $as_echo_n "checking for $2... " >&6; }
2574 if eval \${$3+:} false; then :
2575   $as_echo_n "(cached) " >&6
2576 fi
2577 eval ac_res=\$$3
2578                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2579 $as_echo "$ac_res" >&6; }
2580 else
2581   # Is the header compilable?
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2583 $as_echo_n "checking $2 usability... " >&6; }
2584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2585 /* end confdefs.h.  */
2586 $4
2587 #include <$2>
2588 _ACEOF
2589 if ac_fn_c_try_compile "$LINENO"; then :
2590   ac_header_compiler=yes
2591 else
2592   ac_header_compiler=no
2593 fi
2594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2596 $as_echo "$ac_header_compiler" >&6; }
2597
2598 # Is the header present?
2599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2600 $as_echo_n "checking $2 presence... " >&6; }
2601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2602 /* end confdefs.h.  */
2603 #include <$2>
2604 _ACEOF
2605 if ac_fn_c_try_cpp "$LINENO"; then :
2606   ac_header_preproc=yes
2607 else
2608   ac_header_preproc=no
2609 fi
2610 rm -f conftest.err conftest.i conftest.$ac_ext
2611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2612 $as_echo "$ac_header_preproc" >&6; }
2613
2614 # So?  What about this header?
2615 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2616   yes:no: )
2617     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2618 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2619     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2620 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2621     ;;
2622   no:yes:* )
2623     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2624 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2625     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2626 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2627     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2628 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2629     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2630 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2631     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2632 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2633 ( $as_echo "## ------------------------------------------------------------------------ ##
2634 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer ##
2635 ## ------------------------------------------------------------------------ ##"
2636      ) | sed "s/^/$as_me: WARNING:     /" >&2
2637     ;;
2638 esac
2639   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2640 $as_echo_n "checking for $2... " >&6; }
2641 if eval \${$3+:} false; then :
2642   $as_echo_n "(cached) " >&6
2643 else
2644   eval "$3=\$ac_header_compiler"
2645 fi
2646 eval ac_res=\$$3
2647                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2648 $as_echo "$ac_res" >&6; }
2649 fi
2650   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2651
2652 } # ac_fn_c_check_header_mongrel
2653
2654 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2655 # -------------------------------------------
2656 # Tests whether TYPE exists after having included INCLUDES, setting cache
2657 # variable VAR accordingly.
2658 ac_fn_c_check_type ()
2659 {
2660   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2661   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2662 $as_echo_n "checking for $2... " >&6; }
2663 if eval \${$3+:} false; then :
2664   $as_echo_n "(cached) " >&6
2665 else
2666   eval "$3=no"
2667   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2668 /* end confdefs.h.  */
2669 $4
2670 int
2671 main ()
2672 {
2673 if (sizeof ($2))
2674          return 0;
2675   ;
2676   return 0;
2677 }
2678 _ACEOF
2679 if ac_fn_c_try_compile "$LINENO"; then :
2680   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2681 /* end confdefs.h.  */
2682 $4
2683 int
2684 main ()
2685 {
2686 if (sizeof (($2)))
2687             return 0;
2688   ;
2689   return 0;
2690 }
2691 _ACEOF
2692 if ac_fn_c_try_compile "$LINENO"; then :
2693
2694 else
2695   eval "$3=yes"
2696 fi
2697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2698 fi
2699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2700 fi
2701 eval ac_res=\$$3
2702                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2703 $as_echo "$ac_res" >&6; }
2704   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2705
2706 } # ac_fn_c_check_type
2707
2708 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2709 # --------------------------------------------
2710 # Tries to find the compile-time value of EXPR in a program that includes
2711 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2712 # computed
2713 ac_fn_c_compute_int ()
2714 {
2715   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2716   if test "$cross_compiling" = yes; then
2717     # Depending upon the size, compute the lo and hi bounds.
2718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2719 /* end confdefs.h.  */
2720 $4
2721 int
2722 main ()
2723 {
2724 static int test_array [1 - 2 * !(($2) >= 0)];
2725 test_array [0] = 0
2726
2727   ;
2728   return 0;
2729 }
2730 _ACEOF
2731 if ac_fn_c_try_compile "$LINENO"; then :
2732   ac_lo=0 ac_mid=0
2733   while :; do
2734     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2735 /* end confdefs.h.  */
2736 $4
2737 int
2738 main ()
2739 {
2740 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2741 test_array [0] = 0
2742
2743   ;
2744   return 0;
2745 }
2746 _ACEOF
2747 if ac_fn_c_try_compile "$LINENO"; then :
2748   ac_hi=$ac_mid; break
2749 else
2750   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2751                         if test $ac_lo -le $ac_mid; then
2752                           ac_lo= ac_hi=
2753                           break
2754                         fi
2755                         as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2756 fi
2757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2758   done
2759 else
2760   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2761 /* end confdefs.h.  */
2762 $4
2763 int
2764 main ()
2765 {
2766 static int test_array [1 - 2 * !(($2) < 0)];
2767 test_array [0] = 0
2768
2769   ;
2770   return 0;
2771 }
2772 _ACEOF
2773 if ac_fn_c_try_compile "$LINENO"; then :
2774   ac_hi=-1 ac_mid=-1
2775   while :; do
2776     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2777 /* end confdefs.h.  */
2778 $4
2779 int
2780 main ()
2781 {
2782 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2783 test_array [0] = 0
2784
2785   ;
2786   return 0;
2787 }
2788 _ACEOF
2789 if ac_fn_c_try_compile "$LINENO"; then :
2790   ac_lo=$ac_mid; break
2791 else
2792   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2793                         if test $ac_mid -le $ac_hi; then
2794                           ac_lo= ac_hi=
2795                           break
2796                         fi
2797                         as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2798 fi
2799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2800   done
2801 else
2802   ac_lo= ac_hi=
2803 fi
2804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2805 fi
2806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2807 # Binary search between lo and hi bounds.
2808 while test "x$ac_lo" != "x$ac_hi"; do
2809   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2810   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2811 /* end confdefs.h.  */
2812 $4
2813 int
2814 main ()
2815 {
2816 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2817 test_array [0] = 0
2818
2819   ;
2820   return 0;
2821 }
2822 _ACEOF
2823 if ac_fn_c_try_compile "$LINENO"; then :
2824   ac_hi=$ac_mid
2825 else
2826   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2827 fi
2828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2829 done
2830 case $ac_lo in #((
2831 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2832 '') ac_retval=1 ;;
2833 esac
2834   else
2835     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2836 /* end confdefs.h.  */
2837 $4
2838 static long int longval () { return $2; }
2839 static unsigned long int ulongval () { return $2; }
2840 #include <stdio.h>
2841 #include <stdlib.h>
2842 int
2843 main ()
2844 {
2845
2846   FILE *f = fopen ("conftest.val", "w");
2847   if (! f)
2848     return 1;
2849   if (($2) < 0)
2850     {
2851       long int i = longval ();
2852       if (i != ($2))
2853         return 1;
2854       fprintf (f, "%ld", i);
2855     }
2856   else
2857     {
2858       unsigned long int i = ulongval ();
2859       if (i != ($2))
2860         return 1;
2861       fprintf (f, "%lu", i);
2862     }
2863   /* Do not output a trailing newline, as this causes \r\n confusion
2864      on some platforms.  */
2865   return ferror (f) || fclose (f) != 0;
2866
2867   ;
2868   return 0;
2869 }
2870 _ACEOF
2871 if ac_fn_c_try_run "$LINENO"; then :
2872   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2873 else
2874   ac_retval=1
2875 fi
2876 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2877   conftest.$ac_objext conftest.beam conftest.$ac_ext
2878 rm -f conftest.val
2879
2880   fi
2881   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2882   as_fn_set_status $ac_retval
2883
2884 } # ac_fn_c_compute_int
2885 cat >config.log <<_ACEOF
2886 This file contains any messages produced by compilers while
2887 running configure, to aid debugging if configure makes a mistake.
2888
2889 It was created by GStreamer Base Plug-ins $as_me 0.10.36, which was
2890 generated by GNU Autoconf 2.68.  Invocation command line was
2891
2892   $ $0 $@
2893
2894 _ACEOF
2895 exec 5>>config.log
2896 {
2897 cat <<_ASUNAME
2898 ## --------- ##
2899 ## Platform. ##
2900 ## --------- ##
2901
2902 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2903 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2904 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2905 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2906 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2907
2908 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2909 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2910
2911 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2912 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2913 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2914 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2915 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2916 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2917 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2918
2919 _ASUNAME
2920
2921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2922 for as_dir in $PATH
2923 do
2924   IFS=$as_save_IFS
2925   test -z "$as_dir" && as_dir=.
2926     $as_echo "PATH: $as_dir"
2927   done
2928 IFS=$as_save_IFS
2929
2930 } >&5
2931
2932 cat >&5 <<_ACEOF
2933
2934
2935 ## ----------- ##
2936 ## Core tests. ##
2937 ## ----------- ##
2938
2939 _ACEOF
2940
2941
2942 # Keep a trace of the command line.
2943 # Strip out --no-create and --no-recursion so they do not pile up.
2944 # Strip out --silent because we don't want to record it for future runs.
2945 # Also quote any args containing shell meta-characters.
2946 # Make two passes to allow for proper duplicate-argument suppression.
2947 ac_configure_args=
2948 ac_configure_args0=
2949 ac_configure_args1=
2950 ac_must_keep_next=false
2951 for ac_pass in 1 2
2952 do
2953   for ac_arg
2954   do
2955     case $ac_arg in
2956     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2957     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2958     | -silent | --silent | --silen | --sile | --sil)
2959       continue ;;
2960     *\'*)
2961       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2962     esac
2963     case $ac_pass in
2964     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2965     2)
2966       as_fn_append ac_configure_args1 " '$ac_arg'"
2967       if test $ac_must_keep_next = true; then
2968         ac_must_keep_next=false # Got value, back to normal.
2969       else
2970         case $ac_arg in
2971           *=* | --config-cache | -C | -disable-* | --disable-* \
2972           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2973           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2974           | -with-* | --with-* | -without-* | --without-* | --x)
2975             case "$ac_configure_args0 " in
2976               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2977             esac
2978             ;;
2979           -* ) ac_must_keep_next=true ;;
2980         esac
2981       fi
2982       as_fn_append ac_configure_args " '$ac_arg'"
2983       ;;
2984     esac
2985   done
2986 done
2987 { ac_configure_args0=; unset ac_configure_args0;}
2988 { ac_configure_args1=; unset ac_configure_args1;}
2989
2990 # When interrupted or exit'd, cleanup temporary files, and complete
2991 # config.log.  We remove comments because anyway the quotes in there
2992 # would cause problems or look ugly.
2993 # WARNING: Use '\'' to represent an apostrophe within the trap.
2994 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2995 trap 'exit_status=$?
2996   # Save into config.log some information that might help in debugging.
2997   {
2998     echo
2999
3000     $as_echo "## ---------------- ##
3001 ## Cache variables. ##
3002 ## ---------------- ##"
3003     echo
3004     # The following way of writing the cache mishandles newlines in values,
3005 (
3006   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3007     eval ac_val=\$$ac_var
3008     case $ac_val in #(
3009     *${as_nl}*)
3010       case $ac_var in #(
3011       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3012 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3013       esac
3014       case $ac_var in #(
3015       _ | IFS | as_nl) ;; #(
3016       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3017       *) { eval $ac_var=; unset $ac_var;} ;;
3018       esac ;;
3019     esac
3020   done
3021   (set) 2>&1 |
3022     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3023     *${as_nl}ac_space=\ *)
3024       sed -n \
3025         "s/'\''/'\''\\\\'\'''\''/g;
3026           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3027       ;; #(
3028     *)
3029       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3030       ;;
3031     esac |
3032     sort
3033 )
3034     echo
3035
3036     $as_echo "## ----------------- ##
3037 ## Output variables. ##
3038 ## ----------------- ##"
3039     echo
3040     for ac_var in $ac_subst_vars
3041     do
3042       eval ac_val=\$$ac_var
3043       case $ac_val in
3044       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3045       esac
3046       $as_echo "$ac_var='\''$ac_val'\''"
3047     done | sort
3048     echo
3049
3050     if test -n "$ac_subst_files"; then
3051       $as_echo "## ------------------- ##
3052 ## File substitutions. ##
3053 ## ------------------- ##"
3054       echo
3055       for ac_var in $ac_subst_files
3056       do
3057         eval ac_val=\$$ac_var
3058         case $ac_val in
3059         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3060         esac
3061         $as_echo "$ac_var='\''$ac_val'\''"
3062       done | sort
3063       echo
3064     fi
3065
3066     if test -s confdefs.h; then
3067       $as_echo "## ----------- ##
3068 ## confdefs.h. ##
3069 ## ----------- ##"
3070       echo
3071       cat confdefs.h
3072       echo
3073     fi
3074     test "$ac_signal" != 0 &&
3075       $as_echo "$as_me: caught signal $ac_signal"
3076     $as_echo "$as_me: exit $exit_status"
3077   } >&5
3078   rm -f core *.core core.conftest.* &&
3079     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3080     exit $exit_status
3081 ' 0
3082 for ac_signal in 1 2 13 15; do
3083   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3084 done
3085 ac_signal=0
3086
3087 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3088 rm -f -r conftest* confdefs.h
3089
3090 $as_echo "/* confdefs.h */" > confdefs.h
3091
3092 # Predefined preprocessor variables.
3093
3094 cat >>confdefs.h <<_ACEOF
3095 #define PACKAGE_NAME "$PACKAGE_NAME"
3096 _ACEOF
3097
3098 cat >>confdefs.h <<_ACEOF
3099 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3100 _ACEOF
3101
3102 cat >>confdefs.h <<_ACEOF
3103 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3104 _ACEOF
3105
3106 cat >>confdefs.h <<_ACEOF
3107 #define PACKAGE_STRING "$PACKAGE_STRING"
3108 _ACEOF
3109
3110 cat >>confdefs.h <<_ACEOF
3111 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3112 _ACEOF
3113
3114 cat >>confdefs.h <<_ACEOF
3115 #define PACKAGE_URL "$PACKAGE_URL"
3116 _ACEOF
3117
3118
3119 # Let the site file select an alternate cache file if it wants to.
3120 # Prefer an explicitly selected file to automatically selected ones.
3121 ac_site_file1=NONE
3122 ac_site_file2=NONE
3123 if test -n "$CONFIG_SITE"; then
3124   # We do not want a PATH search for config.site.
3125   case $CONFIG_SITE in #((
3126     -*)  ac_site_file1=./$CONFIG_SITE;;
3127     */*) ac_site_file1=$CONFIG_SITE;;
3128     *)   ac_site_file1=./$CONFIG_SITE;;
3129   esac
3130 elif test "x$prefix" != xNONE; then
3131   ac_site_file1=$prefix/share/config.site
3132   ac_site_file2=$prefix/etc/config.site
3133 else
3134   ac_site_file1=$ac_default_prefix/share/config.site
3135   ac_site_file2=$ac_default_prefix/etc/config.site
3136 fi
3137 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3138 do
3139   test "x$ac_site_file" = xNONE && continue
3140   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3141     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3142 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3143     sed 's/^/| /' "$ac_site_file" >&5
3144     . "$ac_site_file" \
3145       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3146 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3147 as_fn_error $? "failed to load site script $ac_site_file
3148 See \`config.log' for more details" "$LINENO" 5; }
3149   fi
3150 done
3151
3152 if test -r "$cache_file"; then
3153   # Some versions of bash will fail to source /dev/null (special files
3154   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
3155   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3156     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3157 $as_echo "$as_me: loading cache $cache_file" >&6;}
3158     case $cache_file in
3159       [\\/]* | ?:[\\/]* ) . "$cache_file";;
3160       *)                      . "./$cache_file";;
3161     esac
3162   fi
3163 else
3164   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3165 $as_echo "$as_me: creating cache $cache_file" >&6;}
3166   >$cache_file
3167 fi
3168
3169 gt_needs="$gt_needs "
3170 # Check that the precious variables saved in the cache have kept the same
3171 # value.
3172 ac_cache_corrupted=false
3173 for ac_var in $ac_precious_vars; do
3174   eval ac_old_set=\$ac_cv_env_${ac_var}_set
3175   eval ac_new_set=\$ac_env_${ac_var}_set
3176   eval ac_old_val=\$ac_cv_env_${ac_var}_value
3177   eval ac_new_val=\$ac_env_${ac_var}_value
3178   case $ac_old_set,$ac_new_set in
3179     set,)
3180       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3181 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3182       ac_cache_corrupted=: ;;
3183     ,set)
3184       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3185 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3186       ac_cache_corrupted=: ;;
3187     ,);;
3188     *)
3189       if test "x$ac_old_val" != "x$ac_new_val"; then
3190         # differences in whitespace do not lead to failure.
3191         ac_old_val_w=`echo x $ac_old_val`
3192         ac_new_val_w=`echo x $ac_new_val`
3193         if test "$ac_old_val_w" != "$ac_new_val_w"; then
3194           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3195 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3196           ac_cache_corrupted=:
3197         else
3198           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3199 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3200           eval $ac_var=\$ac_old_val
3201         fi
3202         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
3203 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
3204         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
3205 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
3206       fi;;
3207   esac
3208   # Pass precious variables to config.status.
3209   if test "$ac_new_set" = set; then
3210     case $ac_new_val in
3211     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3212     *) ac_arg=$ac_var=$ac_new_val ;;
3213     esac
3214     case " $ac_configure_args " in
3215       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
3216       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3217     esac
3218   fi
3219 done
3220 if $ac_cache_corrupted; then
3221   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3222 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3223   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3224 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3225   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3226 fi
3227 ## -------------------- ##
3228 ## Main body of script. ##
3229 ## -------------------- ##
3230
3231 ac_ext=c
3232 ac_cpp='$CPP $CPPFLAGS'
3233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3236
3237
3238
3239
3240
3241
3242
3243 am__api_version='1.11'
3244
3245 ac_aux_dir=
3246 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3247   if test -f "$ac_dir/install-sh"; then
3248     ac_aux_dir=$ac_dir
3249     ac_install_sh="$ac_aux_dir/install-sh -c"
3250     break
3251   elif test -f "$ac_dir/install.sh"; then
3252     ac_aux_dir=$ac_dir
3253     ac_install_sh="$ac_aux_dir/install.sh -c"
3254     break
3255   elif test -f "$ac_dir/shtool"; then
3256     ac_aux_dir=$ac_dir
3257     ac_install_sh="$ac_aux_dir/shtool install -c"
3258     break
3259   fi
3260 done
3261 if test -z "$ac_aux_dir"; then
3262   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3263 fi
3264
3265 # These three variables are undocumented and unsupported,
3266 # and are intended to be withdrawn in a future Autoconf release.
3267 # They can cause serious problems if a builder's source tree is in a directory
3268 # whose full name contains unusual characters.
3269 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
3270 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
3271 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
3272
3273
3274 # Find a good install program.  We prefer a C program (faster),
3275 # so one script is as good as another.  But avoid the broken or
3276 # incompatible versions:
3277 # SysV /etc/install, /usr/sbin/install
3278 # SunOS /usr/etc/install
3279 # IRIX /sbin/install
3280 # AIX /bin/install
3281 # AmigaOS /C/install, which installs bootblocks on floppy discs
3282 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3283 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3284 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3285 # OS/2's system install, which has a completely different semantic
3286 # ./install, which can be erroneously created by make from ./install.sh.
3287 # Reject install programs that cannot install multiple files.
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3289 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3290 if test -z "$INSTALL"; then
3291 if ${ac_cv_path_install+:} false; then :
3292   $as_echo_n "(cached) " >&6
3293 else
3294   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3295 for as_dir in $PATH
3296 do
3297   IFS=$as_save_IFS
3298   test -z "$as_dir" && as_dir=.
3299     # Account for people who put trailing slashes in PATH elements.
3300 case $as_dir/ in #((
3301   ./ | .// | /[cC]/* | \
3302   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3303   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3304   /usr/ucb/* ) ;;
3305   *)
3306     # OSF1 and SCO ODT 3.0 have their own names for install.
3307     # Don't use installbsd from OSF since it installs stuff as root
3308     # by default.
3309     for ac_prog in ginstall scoinst install; do
3310       for ac_exec_ext in '' $ac_executable_extensions; do
3311         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3312           if test $ac_prog = install &&
3313             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3314             # AIX install.  It has an incompatible calling convention.
3315             :
3316           elif test $ac_prog = install &&
3317             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3318             # program-specific install script used by HP pwplus--don't use.
3319             :
3320           else
3321             rm -rf conftest.one conftest.two conftest.dir
3322             echo one > conftest.one
3323             echo two > conftest.two
3324             mkdir conftest.dir
3325             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3326               test -s conftest.one && test -s conftest.two &&
3327               test -s conftest.dir/conftest.one &&
3328               test -s conftest.dir/conftest.two
3329             then
3330               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3331               break 3
3332             fi
3333           fi
3334         fi
3335       done
3336     done
3337     ;;
3338 esac
3339
3340   done
3341 IFS=$as_save_IFS
3342
3343 rm -rf conftest.one conftest.two conftest.dir
3344
3345 fi
3346   if test "${ac_cv_path_install+set}" = set; then
3347     INSTALL=$ac_cv_path_install
3348   else
3349     # As a last resort, use the slow shell script.  Don't cache a
3350     # value for INSTALL within a source directory, because that will
3351     # break other packages using the cache if that directory is
3352     # removed, or if the value is a relative name.
3353     INSTALL=$ac_install_sh
3354   fi
3355 fi
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3357 $as_echo "$INSTALL" >&6; }
3358
3359 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3360 # It thinks the first close brace ends the variable substitution.
3361 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3362
3363 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3364
3365 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3366
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3368 $as_echo_n "checking whether build environment is sane... " >&6; }
3369 # Just in case
3370 sleep 1
3371 echo timestamp > conftest.file
3372 # Reject unsafe characters in $srcdir or the absolute working directory
3373 # name.  Accept space and tab only in the latter.
3374 am_lf='
3375 '
3376 case `pwd` in
3377   *[\\\"\#\$\&\'\`$am_lf]*)
3378     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3379 esac
3380 case $srcdir in
3381   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
3382     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3383 esac
3384
3385 # Do `set' in a subshell so we don't clobber the current shell's
3386 # arguments.  Must try -L first in case configure is actually a
3387 # symlink; some systems play weird games with the mod time of symlinks
3388 # (eg FreeBSD returns the mod time of the symlink's containing
3389 # directory).
3390 if (
3391    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3392    if test "$*" = "X"; then
3393       # -L didn't work.
3394       set X `ls -t "$srcdir/configure" conftest.file`
3395    fi
3396    rm -f conftest.file
3397    if test "$*" != "X $srcdir/configure conftest.file" \
3398       && test "$*" != "X conftest.file $srcdir/configure"; then
3399
3400       # If neither matched, then we have a broken ls.  This can happen
3401       # if, for instance, CONFIG_SHELL is bash and it inherits a
3402       # broken ls alias from the environment.  This has actually
3403       # happened.  Such a system could not be considered "sane".
3404       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
3405 alias in your environment" "$LINENO" 5
3406    fi
3407
3408    test "$2" = conftest.file
3409    )
3410 then
3411    # Ok.
3412    :
3413 else
3414    as_fn_error $? "newly created file is older than distributed files!
3415 Check your system clock" "$LINENO" 5
3416 fi
3417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3418 $as_echo "yes" >&6; }
3419 test "$program_prefix" != NONE &&
3420   program_transform_name="s&^&$program_prefix&;$program_transform_name"
3421 # Use a double $ so make ignores it.
3422 test "$program_suffix" != NONE &&
3423   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3424 # Double any \ or $.
3425 # By default was `s,x,x', remove it if useless.
3426 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3427 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3428
3429 # expand $ac_aux_dir to an absolute path
3430 am_aux_dir=`cd $ac_aux_dir && pwd`
3431
3432 if test x"${MISSING+set}" != xset; then
3433   case $am_aux_dir in
3434   *\ * | *\     *)
3435     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3436   *)
3437     MISSING="\${SHELL} $am_aux_dir/missing" ;;
3438   esac
3439 fi
3440 # Use eval to expand $SHELL
3441 if eval "$MISSING --run true"; then
3442   am_missing_run="$MISSING --run "
3443 else
3444   am_missing_run=
3445   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3446 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3447 fi
3448
3449 if test x"${install_sh}" != xset; then
3450   case $am_aux_dir in
3451   *\ * | *\     *)
3452     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3453   *)
3454     install_sh="\${SHELL} $am_aux_dir/install-sh"
3455   esac
3456 fi
3457
3458 # Installed binaries are usually stripped using `strip' when the user
3459 # run `make install-strip'.  However `strip' might not be the right
3460 # tool to use in cross-compilation environments, therefore Automake
3461 # will honor the `STRIP' environment variable to overrule this program.
3462 if test "$cross_compiling" != no; then
3463   if test -n "$ac_tool_prefix"; then
3464   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3465 set dummy ${ac_tool_prefix}strip; ac_word=$2
3466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3467 $as_echo_n "checking for $ac_word... " >&6; }
3468 if ${ac_cv_prog_STRIP+:} false; then :
3469   $as_echo_n "(cached) " >&6
3470 else
3471   if test -n "$STRIP"; then
3472   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3473 else
3474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3475 for as_dir in $PATH
3476 do
3477   IFS=$as_save_IFS
3478   test -z "$as_dir" && as_dir=.
3479     for ac_exec_ext in '' $ac_executable_extensions; do
3480   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3481     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3482     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3483     break 2
3484   fi
3485 done
3486   done
3487 IFS=$as_save_IFS
3488
3489 fi
3490 fi
3491 STRIP=$ac_cv_prog_STRIP
3492 if test -n "$STRIP"; then
3493   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3494 $as_echo "$STRIP" >&6; }
3495 else
3496   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3497 $as_echo "no" >&6; }
3498 fi
3499
3500
3501 fi
3502 if test -z "$ac_cv_prog_STRIP"; then
3503   ac_ct_STRIP=$STRIP
3504   # Extract the first word of "strip", so it can be a program name with args.
3505 set dummy strip; ac_word=$2
3506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3507 $as_echo_n "checking for $ac_word... " >&6; }
3508 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3509   $as_echo_n "(cached) " >&6
3510 else
3511   if test -n "$ac_ct_STRIP"; then
3512   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3513 else
3514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3515 for as_dir in $PATH
3516 do
3517   IFS=$as_save_IFS
3518   test -z "$as_dir" && as_dir=.
3519     for ac_exec_ext in '' $ac_executable_extensions; do
3520   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3521     ac_cv_prog_ac_ct_STRIP="strip"
3522     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3523     break 2
3524   fi
3525 done
3526   done
3527 IFS=$as_save_IFS
3528
3529 fi
3530 fi
3531 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3532 if test -n "$ac_ct_STRIP"; then
3533   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3534 $as_echo "$ac_ct_STRIP" >&6; }
3535 else
3536   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3537 $as_echo "no" >&6; }
3538 fi
3539
3540   if test "x$ac_ct_STRIP" = x; then
3541     STRIP=":"
3542   else
3543     case $cross_compiling:$ac_tool_warned in
3544 yes:)
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3546 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3547 ac_tool_warned=yes ;;
3548 esac
3549     STRIP=$ac_ct_STRIP
3550   fi
3551 else
3552   STRIP="$ac_cv_prog_STRIP"
3553 fi
3554
3555 fi
3556 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3557
3558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3559 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3560 if test -z "$MKDIR_P"; then
3561   if ${ac_cv_path_mkdir+:} false; then :
3562   $as_echo_n "(cached) " >&6
3563 else
3564   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3565 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3566 do
3567   IFS=$as_save_IFS
3568   test -z "$as_dir" && as_dir=.
3569     for ac_prog in mkdir gmkdir; do
3570          for ac_exec_ext in '' $ac_executable_extensions; do
3571            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3572            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3573              'mkdir (GNU coreutils) '* | \
3574              'mkdir (coreutils) '* | \
3575              'mkdir (fileutils) '4.1*)
3576                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3577                break 3;;
3578            esac
3579          done
3580        done
3581   done
3582 IFS=$as_save_IFS
3583
3584 fi
3585
3586   test -d ./--version && rmdir ./--version
3587   if test "${ac_cv_path_mkdir+set}" = set; then
3588     MKDIR_P="$ac_cv_path_mkdir -p"
3589   else
3590     # As a last resort, use the slow shell script.  Don't cache a
3591     # value for MKDIR_P within a source directory, because that will
3592     # break other packages using the cache if that directory is
3593     # removed, or if the value is a relative name.
3594     MKDIR_P="$ac_install_sh -d"
3595   fi
3596 fi
3597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3598 $as_echo "$MKDIR_P" >&6; }
3599
3600 mkdir_p="$MKDIR_P"
3601 case $mkdir_p in
3602   [\\/$]* | ?:[\\/]*) ;;
3603   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3604 esac
3605
3606 for ac_prog in gawk mawk nawk awk
3607 do
3608   # Extract the first word of "$ac_prog", so it can be a program name with args.
3609 set dummy $ac_prog; ac_word=$2
3610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3611 $as_echo_n "checking for $ac_word... " >&6; }
3612 if ${ac_cv_prog_AWK+:} false; then :
3613   $as_echo_n "(cached) " >&6
3614 else
3615   if test -n "$AWK"; then
3616   ac_cv_prog_AWK="$AWK" # Let the user override the test.
3617 else
3618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3619 for as_dir in $PATH
3620 do
3621   IFS=$as_save_IFS
3622   test -z "$as_dir" && as_dir=.
3623     for ac_exec_ext in '' $ac_executable_extensions; do
3624   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3625     ac_cv_prog_AWK="$ac_prog"
3626     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3627     break 2
3628   fi
3629 done
3630   done
3631 IFS=$as_save_IFS
3632
3633 fi
3634 fi
3635 AWK=$ac_cv_prog_AWK
3636 if test -n "$AWK"; then
3637   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3638 $as_echo "$AWK" >&6; }
3639 else
3640   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3641 $as_echo "no" >&6; }
3642 fi
3643
3644
3645   test -n "$AWK" && break
3646 done
3647
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3649 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3650 set x ${MAKE-make}
3651 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3652 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3653   $as_echo_n "(cached) " >&6
3654 else
3655   cat >conftest.make <<\_ACEOF
3656 SHELL = /bin/sh
3657 all:
3658         @echo '@@@%%%=$(MAKE)=@@@%%%'
3659 _ACEOF
3660 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3661 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3662   *@@@%%%=?*=@@@%%%*)
3663     eval ac_cv_prog_make_${ac_make}_set=yes;;
3664   *)
3665     eval ac_cv_prog_make_${ac_make}_set=no;;
3666 esac
3667 rm -f conftest.make
3668 fi
3669 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3670   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3671 $as_echo "yes" >&6; }
3672   SET_MAKE=
3673 else
3674   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3675 $as_echo "no" >&6; }
3676   SET_MAKE="MAKE=${MAKE-make}"
3677 fi
3678
3679 rm -rf .tst 2>/dev/null
3680 mkdir .tst 2>/dev/null
3681 if test -d .tst; then
3682   am__leading_dot=.
3683 else
3684   am__leading_dot=_
3685 fi
3686 rmdir .tst 2>/dev/null
3687
3688 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3689   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3690   # is not polluted with repeated "-I."
3691   am__isrc=' -I$(srcdir)'
3692   # test to see if srcdir already configured
3693   if test -f $srcdir/config.status; then
3694     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3695   fi
3696 fi
3697
3698 # test whether we have cygpath
3699 if test -z "$CYGPATH_W"; then
3700   if (cygpath --version) >/dev/null 2>/dev/null; then
3701     CYGPATH_W='cygpath -w'
3702   else
3703     CYGPATH_W=echo
3704   fi
3705 fi
3706
3707
3708 # Define the identity of the package.
3709  PACKAGE='gst-plugins-base'
3710  VERSION='0.10.36'
3711
3712
3713 cat >>confdefs.h <<_ACEOF
3714 #define PACKAGE "$PACKAGE"
3715 _ACEOF
3716
3717
3718 cat >>confdefs.h <<_ACEOF
3719 #define VERSION "$VERSION"
3720 _ACEOF
3721
3722 # Some tools Automake needs.
3723
3724 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3725
3726
3727 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3728
3729
3730 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3731
3732
3733 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3734
3735
3736 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3737
3738 # We need awk for the "check" target.  The system "awk" is bad on
3739 # some platforms.
3740 # Always define AMTAR for backward compatibility.  Yes, it's still used
3741 # in the wild :-(  We should find a proper way to deprecate it ...
3742 AMTAR='$${TAR-tar}'
3743
3744 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3745
3746
3747
3748
3749
3750
3751
3752   PACKAGE_VERSION_MAJOR=$(echo 0.10.36 | cut -d'.' -f1)
3753   PACKAGE_VERSION_MINOR=$(echo 0.10.36 | cut -d'.' -f2)
3754   PACKAGE_VERSION_MICRO=$(echo 0.10.36 | cut -d'.' -f3)
3755
3756
3757
3758
3759
3760
3761
3762   { $as_echo "$as_me:${as_lineno-$LINENO}: checking nano version" >&5
3763 $as_echo_n "checking nano version... " >&6; }
3764
3765   NANO=$(echo 0.10.36 | cut -d'.' -f4)
3766
3767   if test x"$NANO" = x || test "x$NANO" = "x0" ; then
3768     { $as_echo "$as_me:${as_lineno-$LINENO}: result: 0 (release)" >&5
3769 $as_echo "0 (release)" >&6; }
3770     NANO=0
3771     PACKAGE_VERSION_RELEASE=1
3772     GST_GIT="no"
3773   else
3774     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NANO" >&5
3775 $as_echo "$NANO" >&6; }
3776     PACKAGE_VERSION_RELEASE=0.`date +%Y%m%d.%H%M%S`
3777     if test "x$NANO" != "x1" ; then
3778        GST_GIT="no"
3779     else
3780        GST_GIT="yes"
3781     fi
3782   fi
3783   PACKAGE_VERSION_NANO=$NANO
3784
3785
3786
3787
3788
3789
3790 ac_config_headers="$ac_config_headers config.h"
3791
3792
3793
3794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3795 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3796     # Check whether --enable-maintainer-mode was given.
3797 if test "${enable_maintainer_mode+set}" = set; then :
3798   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3799 else
3800   USE_MAINTAINER_MODE=no
3801 fi
3802
3803   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3804 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3805    if test $USE_MAINTAINER_MODE = yes; then
3806   MAINTAINER_MODE_TRUE=
3807   MAINTAINER_MODE_FALSE='#'
3808 else
3809   MAINTAINER_MODE_TRUE='#'
3810   MAINTAINER_MODE_FALSE=
3811 fi
3812
3813   MAINT=$MAINTAINER_MODE_TRUE
3814
3815
3816
3817 # Make sure we can run config.sub.
3818 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3819   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3820
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3822 $as_echo_n "checking build system type... " >&6; }
3823 if ${ac_cv_build+:} false; then :
3824   $as_echo_n "(cached) " >&6
3825 else
3826   ac_build_alias=$build_alias
3827 test "x$ac_build_alias" = x &&
3828   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3829 test "x$ac_build_alias" = x &&
3830   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3831 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3832   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3833
3834 fi
3835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3836 $as_echo "$ac_cv_build" >&6; }
3837 case $ac_cv_build in
3838 *-*-*) ;;
3839 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3840 esac
3841 build=$ac_cv_build
3842 ac_save_IFS=$IFS; IFS='-'
3843 set x $ac_cv_build
3844 shift
3845 build_cpu=$1
3846 build_vendor=$2
3847 shift; shift
3848 # Remember, the first character of IFS is used to create $*,
3849 # except with old shells:
3850 build_os=$*
3851 IFS=$ac_save_IFS
3852 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3853
3854
3855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3856 $as_echo_n "checking host system type... " >&6; }
3857 if ${ac_cv_host+:} false; then :
3858   $as_echo_n "(cached) " >&6
3859 else
3860   if test "x$host_alias" = x; then
3861   ac_cv_host=$ac_cv_build
3862 else
3863   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3864     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3865 fi
3866
3867 fi
3868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3869 $as_echo "$ac_cv_host" >&6; }
3870 case $ac_cv_host in
3871 *-*-*) ;;
3872 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3873 esac
3874 host=$ac_cv_host
3875 ac_save_IFS=$IFS; IFS='-'
3876 set x $ac_cv_host
3877 shift
3878 host_cpu=$1
3879 host_vendor=$2
3880 shift; shift
3881 # Remember, the first character of IFS is used to create $*,
3882 # except with old shells:
3883 host_os=$*
3884 IFS=$ac_save_IFS
3885 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3886
3887
3888
3889 # Check whether --enable-silent-rules was given.
3890 if test "${enable_silent_rules+set}" = set; then :
3891   enableval=$enable_silent_rules;
3892 fi
3893
3894 case $enable_silent_rules in
3895 yes) AM_DEFAULT_VERBOSITY=0;;
3896 no)  AM_DEFAULT_VERBOSITY=1;;
3897 *)   AM_DEFAULT_VERBOSITY=0;;
3898 esac
3899 am_make=${MAKE-make}
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3901 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3902 if ${am_cv_make_support_nested_variables+:} false; then :
3903   $as_echo_n "(cached) " >&6
3904 else
3905   if $as_echo 'TRUE=$(BAR$(V))
3906 BAR0=false
3907 BAR1=true
3908 V=1
3909 am__doit:
3910         @$(TRUE)
3911 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3912   am_cv_make_support_nested_variables=yes
3913 else
3914   am_cv_make_support_nested_variables=no
3915 fi
3916 fi
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3918 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3919 if test $am_cv_make_support_nested_variables = yes; then
3920     AM_V='$(V)'
3921   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3922 else
3923   AM_V=$AM_DEFAULT_VERBOSITY
3924   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3925 fi
3926 AM_BACKSLASH='\'
3927
3928
3929 GST_MAJORMINOR=$PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR
3930 GST_MAJORMINOR=0.10
3931
3932
3933
3934   GST_CURRENT=25
3935   GST_REVISION=0
3936   GST_AGE=25
3937   GST_LIBVERSION=25:0:25
3938
3939
3940
3941
3942
3943   GST_LT_LDFLAGS="$GST_LT_LDFLAGS -version-info $GST_LIBVERSION"
3944   if test ! -z ""
3945   then
3946     GST_LT_LDFLAGS="$GST_LT_LDFLAGS -release "
3947   fi
3948
3949
3950   enable_dlopen=yes
3951
3952
3953
3954
3955
3956
3957 enable_win32_dll=yes
3958
3959 case $host in
3960 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
3961   if test -n "$ac_tool_prefix"; then
3962   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3963 set dummy ${ac_tool_prefix}as; ac_word=$2
3964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3965 $as_echo_n "checking for $ac_word... " >&6; }
3966 if ${ac_cv_prog_AS+:} false; then :
3967   $as_echo_n "(cached) " >&6
3968 else
3969   if test -n "$AS"; then
3970   ac_cv_prog_AS="$AS" # Let the user override the test.
3971 else
3972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3973 for as_dir in $PATH
3974 do
3975   IFS=$as_save_IFS
3976   test -z "$as_dir" && as_dir=.
3977     for ac_exec_ext in '' $ac_executable_extensions; do
3978   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3979     ac_cv_prog_AS="${ac_tool_prefix}as"
3980     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3981     break 2
3982   fi
3983 done
3984   done
3985 IFS=$as_save_IFS
3986
3987 fi
3988 fi
3989 AS=$ac_cv_prog_AS
3990 if test -n "$AS"; then
3991   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
3992 $as_echo "$AS" >&6; }
3993 else
3994   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3995 $as_echo "no" >&6; }
3996 fi
3997
3998
3999 fi
4000 if test -z "$ac_cv_prog_AS"; then
4001   ac_ct_AS=$AS
4002   # Extract the first word of "as", so it can be a program name with args.
4003 set dummy as; ac_word=$2
4004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4005 $as_echo_n "checking for $ac_word... " >&6; }
4006 if ${ac_cv_prog_ac_ct_AS+:} false; then :
4007   $as_echo_n "(cached) " >&6
4008 else
4009   if test -n "$ac_ct_AS"; then
4010   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4011 else
4012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4013 for as_dir in $PATH
4014 do
4015   IFS=$as_save_IFS
4016   test -z "$as_dir" && as_dir=.
4017     for ac_exec_ext in '' $ac_executable_extensions; do
4018   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4019     ac_cv_prog_ac_ct_AS="as"
4020     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4021     break 2
4022   fi
4023 done
4024   done
4025 IFS=$as_save_IFS
4026
4027 fi
4028 fi
4029 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4030 if test -n "$ac_ct_AS"; then
4031   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4032 $as_echo "$ac_ct_AS" >&6; }
4033 else
4034   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4035 $as_echo "no" >&6; }
4036 fi
4037
4038   if test "x$ac_ct_AS" = x; then
4039     AS="false"
4040   else
4041     case $cross_compiling:$ac_tool_warned in
4042 yes:)
4043 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4044 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4045 ac_tool_warned=yes ;;
4046 esac
4047     AS=$ac_ct_AS
4048   fi
4049 else
4050   AS="$ac_cv_prog_AS"
4051 fi
4052
4053   if test -n "$ac_tool_prefix"; then
4054   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4055 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
4056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4057 $as_echo_n "checking for $ac_word... " >&6; }
4058 if ${ac_cv_prog_DLLTOOL+:} false; then :
4059   $as_echo_n "(cached) " >&6
4060 else
4061   if test -n "$DLLTOOL"; then
4062   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
4063 else
4064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4065 for as_dir in $PATH
4066 do
4067   IFS=$as_save_IFS
4068   test -z "$as_dir" && as_dir=.
4069     for ac_exec_ext in '' $ac_executable_extensions; do
4070   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4071     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
4072     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4073     break 2
4074   fi
4075 done
4076   done
4077 IFS=$as_save_IFS
4078
4079 fi
4080 fi
4081 DLLTOOL=$ac_cv_prog_DLLTOOL
4082 if test -n "$DLLTOOL"; then
4083   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
4084 $as_echo "$DLLTOOL" >&6; }
4085 else
4086   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4087 $as_echo "no" >&6; }
4088 fi
4089
4090
4091 fi
4092 if test -z "$ac_cv_prog_DLLTOOL"; then
4093   ac_ct_DLLTOOL=$DLLTOOL
4094   # Extract the first word of "dlltool", so it can be a program name with args.
4095 set dummy dlltool; ac_word=$2
4096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4097 $as_echo_n "checking for $ac_word... " >&6; }
4098 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
4099   $as_echo_n "(cached) " >&6
4100 else
4101   if test -n "$ac_ct_DLLTOOL"; then
4102   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
4103 else
4104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4105 for as_dir in $PATH
4106 do
4107   IFS=$as_save_IFS
4108   test -z "$as_dir" && as_dir=.
4109     for ac_exec_ext in '' $ac_executable_extensions; do
4110   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4111     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
4112     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4113     break 2
4114   fi
4115 done
4116   done
4117 IFS=$as_save_IFS
4118
4119 fi
4120 fi
4121 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
4122 if test -n "$ac_ct_DLLTOOL"; then
4123   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
4124 $as_echo "$ac_ct_DLLTOOL" >&6; }
4125 else
4126   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4127 $as_echo "no" >&6; }
4128 fi
4129
4130   if test "x$ac_ct_DLLTOOL" = x; then
4131     DLLTOOL="false"
4132   else
4133     case $cross_compiling:$ac_tool_warned in
4134 yes:)
4135 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4136 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4137 ac_tool_warned=yes ;;
4138 esac
4139     DLLTOOL=$ac_ct_DLLTOOL
4140   fi
4141 else
4142   DLLTOOL="$ac_cv_prog_DLLTOOL"
4143 fi
4144
4145   if test -n "$ac_tool_prefix"; then
4146   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4147 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4149 $as_echo_n "checking for $ac_word... " >&6; }
4150 if ${ac_cv_prog_OBJDUMP+:} false; then :
4151   $as_echo_n "(cached) " >&6
4152 else
4153   if test -n "$OBJDUMP"; then
4154   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4155 else
4156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4157 for as_dir in $PATH
4158 do
4159   IFS=$as_save_IFS
4160   test -z "$as_dir" && as_dir=.
4161     for ac_exec_ext in '' $ac_executable_extensions; do
4162   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4163     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4164     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4165     break 2
4166   fi
4167 done
4168   done
4169 IFS=$as_save_IFS
4170
4171 fi
4172 fi
4173 OBJDUMP=$ac_cv_prog_OBJDUMP
4174 if test -n "$OBJDUMP"; then
4175   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4176 $as_echo "$OBJDUMP" >&6; }
4177 else
4178   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4179 $as_echo "no" >&6; }
4180 fi
4181
4182
4183 fi
4184 if test -z "$ac_cv_prog_OBJDUMP"; then
4185   ac_ct_OBJDUMP=$OBJDUMP
4186   # Extract the first word of "objdump", so it can be a program name with args.
4187 set dummy objdump; ac_word=$2
4188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4189 $as_echo_n "checking for $ac_word... " >&6; }
4190 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4191   $as_echo_n "(cached) " >&6
4192 else
4193   if test -n "$ac_ct_OBJDUMP"; then
4194   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4195 else
4196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4197 for as_dir in $PATH
4198 do
4199   IFS=$as_save_IFS
4200   test -z "$as_dir" && as_dir=.
4201     for ac_exec_ext in '' $ac_executable_extensions; do
4202   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4203     ac_cv_prog_ac_ct_OBJDUMP="objdump"
4204     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4205     break 2
4206   fi
4207 done
4208   done
4209 IFS=$as_save_IFS
4210
4211 fi
4212 fi
4213 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4214 if test -n "$ac_ct_OBJDUMP"; then
4215   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4216 $as_echo "$ac_ct_OBJDUMP" >&6; }
4217 else
4218   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4219 $as_echo "no" >&6; }
4220 fi
4221
4222   if test "x$ac_ct_OBJDUMP" = x; then
4223     OBJDUMP="false"
4224   else
4225     case $cross_compiling:$ac_tool_warned in
4226 yes:)
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4228 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4229 ac_tool_warned=yes ;;
4230 esac
4231     OBJDUMP=$ac_ct_OBJDUMP
4232   fi
4233 else
4234   OBJDUMP="$ac_cv_prog_OBJDUMP"
4235 fi
4236
4237   ;;
4238 esac
4239
4240 test -z "$AS" && AS=as
4241
4242
4243
4244
4245
4246 test -z "$DLLTOOL" && DLLTOOL=dlltool
4247
4248
4249
4250
4251
4252 test -z "$OBJDUMP" && OBJDUMP=objdump
4253
4254
4255
4256
4257
4258
4259
4260 case `pwd` in
4261   *\ * | *\     *)
4262     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4263 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4264 esac
4265
4266
4267
4268 macro_version='2.4.2'
4269 macro_revision='1.3337'
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283 ltmain="$ac_aux_dir/ltmain.sh"
4284
4285 # Backslashify metacharacters that are still active within
4286 # double-quoted strings.
4287 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4288
4289 # Same as above, but do not quote variable references.
4290 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4291
4292 # Sed substitution to delay expansion of an escaped shell variable in a
4293 # double_quote_subst'ed string.
4294 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4295
4296 # Sed substitution to delay expansion of an escaped single quote.
4297 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4298
4299 # Sed substitution to avoid accidental globbing in evaled expressions
4300 no_glob_subst='s/\*/\\\*/g'
4301
4302 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4303 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4304 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4305
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4307 $as_echo_n "checking how to print strings... " >&6; }
4308 # Test print first, because it will be a builtin if present.
4309 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4310    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4311   ECHO='print -r --'
4312 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4313   ECHO='printf %s\n'
4314 else
4315   # Use this function as a fallback that always works.
4316   func_fallback_echo ()
4317   {
4318     eval 'cat <<_LTECHO_EOF
4319 $1
4320 _LTECHO_EOF'
4321   }
4322   ECHO='func_fallback_echo'
4323 fi
4324
4325 # func_echo_all arg...
4326 # Invoke $ECHO with all args, space-separated.
4327 func_echo_all ()
4328 {
4329     $ECHO ""
4330 }
4331
4332 case "$ECHO" in
4333   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4334 $as_echo "printf" >&6; } ;;
4335   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4336 $as_echo "print -r" >&6; } ;;
4337   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4338 $as_echo "cat" >&6; } ;;
4339 esac
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354 DEPDIR="${am__leading_dot}deps"
4355
4356 ac_config_commands="$ac_config_commands depfiles"
4357
4358
4359 am_make=${MAKE-make}
4360 cat > confinc << 'END'
4361 am__doit:
4362         @echo this is the am__doit target
4363 .PHONY: am__doit
4364 END
4365 # If we don't find an include directive, just comment out the code.
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4367 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4368 am__include="#"
4369 am__quote=
4370 _am_result=none
4371 # First try GNU make style include.
4372 echo "include confinc" > confmf
4373 # Ignore all kinds of additional output from `make'.
4374 case `$am_make -s -f confmf 2> /dev/null` in #(
4375 *the\ am__doit\ target*)
4376   am__include=include
4377   am__quote=
4378   _am_result=GNU
4379   ;;
4380 esac
4381 # Now try BSD make style include.
4382 if test "$am__include" = "#"; then
4383    echo '.include "confinc"' > confmf
4384    case `$am_make -s -f confmf 2> /dev/null` in #(
4385    *the\ am__doit\ target*)
4386      am__include=.include
4387      am__quote="\""
4388      _am_result=BSD
4389      ;;
4390    esac
4391 fi
4392
4393
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4395 $as_echo "$_am_result" >&6; }
4396 rm -f confinc confmf
4397
4398 # Check whether --enable-dependency-tracking was given.
4399 if test "${enable_dependency_tracking+set}" = set; then :
4400   enableval=$enable_dependency_tracking;
4401 fi
4402
4403 if test "x$enable_dependency_tracking" != xno; then
4404   am_depcomp="$ac_aux_dir/depcomp"
4405   AMDEPBACKSLASH='\'
4406   am__nodep='_no'
4407 fi
4408  if test "x$enable_dependency_tracking" != xno; then
4409   AMDEP_TRUE=
4410   AMDEP_FALSE='#'
4411 else
4412   AMDEP_TRUE='#'
4413   AMDEP_FALSE=
4414 fi
4415
4416
4417 ac_ext=c
4418 ac_cpp='$CPP $CPPFLAGS'
4419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4422 if test -n "$ac_tool_prefix"; then
4423   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4424 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4426 $as_echo_n "checking for $ac_word... " >&6; }
4427 if ${ac_cv_prog_CC+:} false; then :
4428   $as_echo_n "(cached) " >&6
4429 else
4430   if test -n "$CC"; then
4431   ac_cv_prog_CC="$CC" # Let the user override the test.
4432 else
4433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4434 for as_dir in $PATH
4435 do
4436   IFS=$as_save_IFS
4437   test -z "$as_dir" && as_dir=.
4438     for ac_exec_ext in '' $ac_executable_extensions; do
4439   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4440     ac_cv_prog_CC="${ac_tool_prefix}gcc"
4441     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4442     break 2
4443   fi
4444 done
4445   done
4446 IFS=$as_save_IFS
4447
4448 fi
4449 fi
4450 CC=$ac_cv_prog_CC
4451 if test -n "$CC"; then
4452   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4453 $as_echo "$CC" >&6; }
4454 else
4455   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4456 $as_echo "no" >&6; }
4457 fi
4458
4459
4460 fi
4461 if test -z "$ac_cv_prog_CC"; then
4462   ac_ct_CC=$CC
4463   # Extract the first word of "gcc", so it can be a program name with args.
4464 set dummy gcc; ac_word=$2
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4466 $as_echo_n "checking for $ac_word... " >&6; }
4467 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4468   $as_echo_n "(cached) " >&6
4469 else
4470   if test -n "$ac_ct_CC"; then
4471   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4472 else
4473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4474 for as_dir in $PATH
4475 do
4476   IFS=$as_save_IFS
4477   test -z "$as_dir" && as_dir=.
4478     for ac_exec_ext in '' $ac_executable_extensions; do
4479   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4480     ac_cv_prog_ac_ct_CC="gcc"
4481     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4482     break 2
4483   fi
4484 done
4485   done
4486 IFS=$as_save_IFS
4487
4488 fi
4489 fi
4490 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4491 if test -n "$ac_ct_CC"; then
4492   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4493 $as_echo "$ac_ct_CC" >&6; }
4494 else
4495   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4496 $as_echo "no" >&6; }
4497 fi
4498
4499   if test "x$ac_ct_CC" = x; then
4500     CC=""
4501   else
4502     case $cross_compiling:$ac_tool_warned in
4503 yes:)
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4505 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4506 ac_tool_warned=yes ;;
4507 esac
4508     CC=$ac_ct_CC
4509   fi
4510 else
4511   CC="$ac_cv_prog_CC"
4512 fi
4513
4514 if test -z "$CC"; then
4515           if test -n "$ac_tool_prefix"; then
4516     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4517 set dummy ${ac_tool_prefix}cc; ac_word=$2
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4519 $as_echo_n "checking for $ac_word... " >&6; }
4520 if ${ac_cv_prog_CC+:} false; then :
4521   $as_echo_n "(cached) " >&6
4522 else
4523   if test -n "$CC"; then
4524   ac_cv_prog_CC="$CC" # Let the user override the test.
4525 else
4526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4527 for as_dir in $PATH
4528 do
4529   IFS=$as_save_IFS
4530   test -z "$as_dir" && as_dir=.
4531     for ac_exec_ext in '' $ac_executable_extensions; do
4532   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4533     ac_cv_prog_CC="${ac_tool_prefix}cc"
4534     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4535     break 2
4536   fi
4537 done
4538   done
4539 IFS=$as_save_IFS
4540
4541 fi
4542 fi
4543 CC=$ac_cv_prog_CC
4544 if test -n "$CC"; then
4545   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4546 $as_echo "$CC" >&6; }
4547 else
4548   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4549 $as_echo "no" >&6; }
4550 fi
4551
4552
4553   fi
4554 fi
4555 if test -z "$CC"; then
4556   # Extract the first word of "cc", so it can be a program name with args.
4557 set dummy cc; ac_word=$2
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4559 $as_echo_n "checking for $ac_word... " >&6; }
4560 if ${ac_cv_prog_CC+:} false; then :
4561   $as_echo_n "(cached) " >&6
4562 else
4563   if test -n "$CC"; then
4564   ac_cv_prog_CC="$CC" # Let the user override the test.
4565 else
4566   ac_prog_rejected=no
4567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4568 for as_dir in $PATH
4569 do
4570   IFS=$as_save_IFS
4571   test -z "$as_dir" && as_dir=.
4572     for ac_exec_ext in '' $ac_executable_extensions; do
4573   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4574     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4575        ac_prog_rejected=yes
4576        continue
4577      fi
4578     ac_cv_prog_CC="cc"
4579     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4580     break 2
4581   fi
4582 done
4583   done
4584 IFS=$as_save_IFS
4585
4586 if test $ac_prog_rejected = yes; then
4587   # We found a bogon in the path, so make sure we never use it.
4588   set dummy $ac_cv_prog_CC
4589   shift
4590   if test $# != 0; then
4591     # We chose a different compiler from the bogus one.
4592     # However, it has the same basename, so the bogon will be chosen
4593     # first if we set CC to just the basename; use the full file name.
4594     shift
4595     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4596   fi
4597 fi
4598 fi
4599 fi
4600 CC=$ac_cv_prog_CC
4601 if test -n "$CC"; then
4602   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4603 $as_echo "$CC" >&6; }
4604 else
4605   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4606 $as_echo "no" >&6; }
4607 fi
4608
4609
4610 fi
4611 if test -z "$CC"; then
4612   if test -n "$ac_tool_prefix"; then
4613   for ac_prog in cl.exe
4614   do
4615     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4616 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4618 $as_echo_n "checking for $ac_word... " >&6; }
4619 if ${ac_cv_prog_CC+:} false; then :
4620   $as_echo_n "(cached) " >&6
4621 else
4622   if test -n "$CC"; then
4623   ac_cv_prog_CC="$CC" # Let the user override the test.
4624 else
4625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4626 for as_dir in $PATH
4627 do
4628   IFS=$as_save_IFS
4629   test -z "$as_dir" && as_dir=.
4630     for ac_exec_ext in '' $ac_executable_extensions; do
4631   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4632     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4633     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4634     break 2
4635   fi
4636 done
4637   done
4638 IFS=$as_save_IFS
4639
4640 fi
4641 fi
4642 CC=$ac_cv_prog_CC
4643 if test -n "$CC"; then
4644   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4645 $as_echo "$CC" >&6; }
4646 else
4647   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4648 $as_echo "no" >&6; }
4649 fi
4650
4651
4652     test -n "$CC" && break
4653   done
4654 fi
4655 if test -z "$CC"; then
4656   ac_ct_CC=$CC
4657   for ac_prog in cl.exe
4658 do
4659   # Extract the first word of "$ac_prog", so it can be a program name with args.
4660 set dummy $ac_prog; ac_word=$2
4661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4662 $as_echo_n "checking for $ac_word... " >&6; }
4663 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4664   $as_echo_n "(cached) " >&6
4665 else
4666   if test -n "$ac_ct_CC"; then
4667   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4668 else
4669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4670 for as_dir in $PATH
4671 do
4672   IFS=$as_save_IFS
4673   test -z "$as_dir" && as_dir=.
4674     for ac_exec_ext in '' $ac_executable_extensions; do
4675   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4676     ac_cv_prog_ac_ct_CC="$ac_prog"
4677     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4678     break 2
4679   fi
4680 done
4681   done
4682 IFS=$as_save_IFS
4683
4684 fi
4685 fi
4686 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4687 if test -n "$ac_ct_CC"; then
4688   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4689 $as_echo "$ac_ct_CC" >&6; }
4690 else
4691   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4692 $as_echo "no" >&6; }
4693 fi
4694
4695
4696   test -n "$ac_ct_CC" && break
4697 done
4698
4699   if test "x$ac_ct_CC" = x; then
4700     CC=""
4701   else
4702     case $cross_compiling:$ac_tool_warned in
4703 yes:)
4704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4705 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4706 ac_tool_warned=yes ;;
4707 esac
4708     CC=$ac_ct_CC
4709   fi
4710 fi
4711
4712 fi
4713
4714
4715 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4716 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4717 as_fn_error $? "no acceptable C compiler found in \$PATH
4718 See \`config.log' for more details" "$LINENO" 5; }
4719
4720 # Provide some information about the compiler.
4721 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4722 set X $ac_compile
4723 ac_compiler=$2
4724 for ac_option in --version -v -V -qversion; do
4725   { { ac_try="$ac_compiler $ac_option >&5"
4726 case "(($ac_try" in
4727   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4728   *) ac_try_echo=$ac_try;;
4729 esac
4730 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4731 $as_echo "$ac_try_echo"; } >&5
4732   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4733   ac_status=$?
4734   if test -s conftest.err; then
4735     sed '10a\
4736 ... rest of stderr output deleted ...
4737          10q' conftest.err >conftest.er1
4738     cat conftest.er1 >&5
4739   fi
4740   rm -f conftest.er1 conftest.err
4741   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4742   test $ac_status = 0; }
4743 done
4744
4745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4746 /* end confdefs.h.  */
4747
4748 int
4749 main ()
4750 {
4751
4752   ;
4753   return 0;
4754 }
4755 _ACEOF
4756 ac_clean_files_save=$ac_clean_files
4757 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4758 # Try to create an executable without -o first, disregard a.out.
4759 # It will help us diagnose broken compilers, and finding out an intuition
4760 # of exeext.
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4762 $as_echo_n "checking whether the C compiler works... " >&6; }
4763 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4764
4765 # The possible output files:
4766 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4767
4768 ac_rmfiles=
4769 for ac_file in $ac_files
4770 do
4771   case $ac_file in
4772     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4773     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4774   esac
4775 done
4776 rm -f $ac_rmfiles
4777
4778 if { { ac_try="$ac_link_default"
4779 case "(($ac_try" in
4780   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4781   *) ac_try_echo=$ac_try;;
4782 esac
4783 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4784 $as_echo "$ac_try_echo"; } >&5
4785   (eval "$ac_link_default") 2>&5
4786   ac_status=$?
4787   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4788   test $ac_status = 0; }; then :
4789   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4790 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4791 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
4792 # so that the user can short-circuit this test for compilers unknown to
4793 # Autoconf.
4794 for ac_file in $ac_files ''
4795 do
4796   test -f "$ac_file" || continue
4797   case $ac_file in
4798     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4799         ;;
4800     [ab].out )
4801         # We found the default executable, but exeext='' is most
4802         # certainly right.
4803         break;;
4804     *.* )
4805         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4806         then :; else
4807            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4808         fi
4809         # We set ac_cv_exeext here because the later test for it is not
4810         # safe: cross compilers may not add the suffix if given an `-o'
4811         # argument, so we may need to know it at that point already.
4812         # Even if this section looks crufty: it has the advantage of
4813         # actually working.
4814         break;;
4815     * )
4816         break;;
4817   esac
4818 done
4819 test "$ac_cv_exeext" = no && ac_cv_exeext=
4820
4821 else
4822   ac_file=''
4823 fi
4824 if test -z "$ac_file"; then :
4825   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4826 $as_echo "no" >&6; }
4827 $as_echo "$as_me: failed program was:" >&5
4828 sed 's/^/| /' conftest.$ac_ext >&5
4829
4830 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4831 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4832 as_fn_error 77 "C compiler cannot create executables
4833 See \`config.log' for more details" "$LINENO" 5; }
4834 else
4835   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4836 $as_echo "yes" >&6; }
4837 fi
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4839 $as_echo_n "checking for C compiler default output file name... " >&6; }
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4841 $as_echo "$ac_file" >&6; }
4842 ac_exeext=$ac_cv_exeext
4843
4844 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4845 ac_clean_files=$ac_clean_files_save
4846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4847 $as_echo_n "checking for suffix of executables... " >&6; }
4848 if { { ac_try="$ac_link"
4849 case "(($ac_try" in
4850   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4851   *) ac_try_echo=$ac_try;;
4852 esac
4853 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4854 $as_echo "$ac_try_echo"; } >&5
4855   (eval "$ac_link") 2>&5
4856   ac_status=$?
4857   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4858   test $ac_status = 0; }; then :
4859   # If both `conftest.exe' and `conftest' are `present' (well, observable)
4860 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
4861 # work properly (i.e., refer to `conftest.exe'), while it won't with
4862 # `rm'.
4863 for ac_file in conftest.exe conftest conftest.*; do
4864   test -f "$ac_file" || continue
4865   case $ac_file in
4866     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4867     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4868           break;;
4869     * ) break;;
4870   esac
4871 done
4872 else
4873   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4874 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4875 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4876 See \`config.log' for more details" "$LINENO" 5; }
4877 fi
4878 rm -f conftest conftest$ac_cv_exeext
4879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4880 $as_echo "$ac_cv_exeext" >&6; }
4881
4882 rm -f conftest.$ac_ext
4883 EXEEXT=$ac_cv_exeext
4884 ac_exeext=$EXEEXT
4885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4886 /* end confdefs.h.  */
4887 #include <stdio.h>
4888 int
4889 main ()
4890 {
4891 FILE *f = fopen ("conftest.out", "w");
4892  return ferror (f) || fclose (f) != 0;
4893
4894   ;
4895   return 0;
4896 }
4897 _ACEOF
4898 ac_clean_files="$ac_clean_files conftest.out"
4899 # Check that the compiler produces executables we can run.  If not, either
4900 # the compiler is broken, or we cross compile.
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4902 $as_echo_n "checking whether we are cross compiling... " >&6; }
4903 if test "$cross_compiling" != yes; then
4904   { { ac_try="$ac_link"
4905 case "(($ac_try" in
4906   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4907   *) ac_try_echo=$ac_try;;
4908 esac
4909 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4910 $as_echo "$ac_try_echo"; } >&5
4911   (eval "$ac_link") 2>&5
4912   ac_status=$?
4913   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4914   test $ac_status = 0; }
4915   if { ac_try='./conftest$ac_cv_exeext'
4916   { { case "(($ac_try" in
4917   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4918   *) ac_try_echo=$ac_try;;
4919 esac
4920 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4921 $as_echo "$ac_try_echo"; } >&5
4922   (eval "$ac_try") 2>&5
4923   ac_status=$?
4924   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4925   test $ac_status = 0; }; }; then
4926     cross_compiling=no
4927   else
4928     if test "$cross_compiling" = maybe; then
4929         cross_compiling=yes
4930     else
4931         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4932 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4933 as_fn_error $? "cannot run C compiled programs.
4934 If you meant to cross compile, use \`--host'.
4935 See \`config.log' for more details" "$LINENO" 5; }
4936     fi
4937   fi
4938 fi
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4940 $as_echo "$cross_compiling" >&6; }
4941
4942 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4943 ac_clean_files=$ac_clean_files_save
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4945 $as_echo_n "checking for suffix of object files... " >&6; }
4946 if ${ac_cv_objext+:} false; then :
4947   $as_echo_n "(cached) " >&6
4948 else
4949   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4950 /* end confdefs.h.  */
4951
4952 int
4953 main ()
4954 {
4955
4956   ;
4957   return 0;
4958 }
4959 _ACEOF
4960 rm -f conftest.o conftest.obj
4961 if { { ac_try="$ac_compile"
4962 case "(($ac_try" in
4963   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4964   *) ac_try_echo=$ac_try;;
4965 esac
4966 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4967 $as_echo "$ac_try_echo"; } >&5
4968   (eval "$ac_compile") 2>&5
4969   ac_status=$?
4970   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4971   test $ac_status = 0; }; then :
4972   for ac_file in conftest.o conftest.obj conftest.*; do
4973   test -f "$ac_file" || continue;
4974   case $ac_file in
4975     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4976     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4977        break;;
4978   esac
4979 done
4980 else
4981   $as_echo "$as_me: failed program was:" >&5
4982 sed 's/^/| /' conftest.$ac_ext >&5
4983
4984 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4985 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4986 as_fn_error $? "cannot compute suffix of object files: cannot compile
4987 See \`config.log' for more details" "$LINENO" 5; }
4988 fi
4989 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4990 fi
4991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4992 $as_echo "$ac_cv_objext" >&6; }
4993 OBJEXT=$ac_cv_objext
4994 ac_objext=$OBJEXT
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4996 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4997 if ${ac_cv_c_compiler_gnu+:} false; then :
4998   $as_echo_n "(cached) " >&6
4999 else
5000   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5001 /* end confdefs.h.  */
5002
5003 int
5004 main ()
5005 {
5006 #ifndef __GNUC__
5007        choke me
5008 #endif
5009
5010   ;
5011   return 0;
5012 }
5013 _ACEOF
5014 if ac_fn_c_try_compile "$LINENO"; then :
5015   ac_compiler_gnu=yes
5016 else
5017   ac_compiler_gnu=no
5018 fi
5019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5020 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5021
5022 fi
5023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5024 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5025 if test $ac_compiler_gnu = yes; then
5026   GCC=yes
5027 else
5028   GCC=
5029 fi
5030 ac_test_CFLAGS=${CFLAGS+set}
5031 ac_save_CFLAGS=$CFLAGS
5032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5033 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5034 if ${ac_cv_prog_cc_g+:} false; then :
5035   $as_echo_n "(cached) " >&6
5036 else
5037   ac_save_c_werror_flag=$ac_c_werror_flag
5038    ac_c_werror_flag=yes
5039    ac_cv_prog_cc_g=no
5040    CFLAGS="-g"
5041    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5042 /* end confdefs.h.  */
5043
5044 int
5045 main ()
5046 {
5047
5048   ;
5049   return 0;
5050 }
5051 _ACEOF
5052 if ac_fn_c_try_compile "$LINENO"; then :
5053   ac_cv_prog_cc_g=yes
5054 else
5055   CFLAGS=""
5056       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5057 /* end confdefs.h.  */
5058
5059 int
5060 main ()
5061 {
5062
5063   ;
5064   return 0;
5065 }
5066 _ACEOF
5067 if ac_fn_c_try_compile "$LINENO"; then :
5068
5069 else
5070   ac_c_werror_flag=$ac_save_c_werror_flag
5071          CFLAGS="-g"
5072          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5073 /* end confdefs.h.  */
5074
5075 int
5076 main ()
5077 {
5078
5079   ;
5080   return 0;
5081 }
5082 _ACEOF
5083 if ac_fn_c_try_compile "$LINENO"; then :
5084   ac_cv_prog_cc_g=yes
5085 fi
5086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5087 fi
5088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5089 fi
5090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5091    ac_c_werror_flag=$ac_save_c_werror_flag
5092 fi
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5094 $as_echo "$ac_cv_prog_cc_g" >&6; }
5095 if test "$ac_test_CFLAGS" = set; then
5096   CFLAGS=$ac_save_CFLAGS
5097 elif test $ac_cv_prog_cc_g = yes; then
5098   if test "$GCC" = yes; then
5099     CFLAGS="-g -O2"
5100   else
5101     CFLAGS="-g"
5102   fi
5103 else
5104   if test "$GCC" = yes; then
5105     CFLAGS="-O2"
5106   else
5107     CFLAGS=
5108   fi
5109 fi
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5111 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5112 if ${ac_cv_prog_cc_c89+:} false; then :
5113   $as_echo_n "(cached) " >&6
5114 else
5115   ac_cv_prog_cc_c89=no
5116 ac_save_CC=$CC
5117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5118 /* end confdefs.h.  */
5119 #include <stdarg.h>
5120 #include <stdio.h>
5121 #include <sys/types.h>
5122 #include <sys/stat.h>
5123 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
5124 struct buf { int x; };
5125 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5126 static char *e (p, i)
5127      char **p;
5128      int i;
5129 {
5130   return p[i];
5131 }
5132 static char *f (char * (*g) (char **, int), char **p, ...)
5133 {
5134   char *s;
5135   va_list v;
5136   va_start (v,p);
5137   s = g (p, va_arg (v,int));
5138   va_end (v);
5139   return s;
5140 }
5141
5142 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
5143    function prototypes and stuff, but not '\xHH' hex character constants.
5144    These don't provoke an error unfortunately, instead are silently treated
5145    as 'x'.  The following induces an error, until -std is added to get
5146    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
5147    array size at least.  It's necessary to write '\x00'==0 to get something
5148    that's true only with -std.  */
5149 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5150
5151 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5152    inside strings and character constants.  */
5153 #define FOO(x) 'x'
5154 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5155
5156 int test (int i, double x);
5157 struct s1 {int (*f) (int a);};
5158 struct s2 {int (*f) (double a);};
5159 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5160 int argc;
5161 char **argv;
5162 int
5163 main ()
5164 {
5165 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
5166   ;
5167   return 0;
5168 }
5169 _ACEOF
5170 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5171         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5172 do
5173   CC="$ac_save_CC $ac_arg"
5174   if ac_fn_c_try_compile "$LINENO"; then :
5175   ac_cv_prog_cc_c89=$ac_arg
5176 fi
5177 rm -f core conftest.err conftest.$ac_objext
5178   test "x$ac_cv_prog_cc_c89" != "xno" && break
5179 done
5180 rm -f conftest.$ac_ext
5181 CC=$ac_save_CC
5182
5183 fi
5184 # AC_CACHE_VAL
5185 case "x$ac_cv_prog_cc_c89" in
5186   x)
5187     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5188 $as_echo "none needed" >&6; } ;;
5189   xno)
5190     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5191 $as_echo "unsupported" >&6; } ;;
5192   *)
5193     CC="$CC $ac_cv_prog_cc_c89"
5194     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5195 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5196 esac
5197 if test "x$ac_cv_prog_cc_c89" != xno; then :
5198
5199 fi
5200
5201 ac_ext=c
5202 ac_cpp='$CPP $CPPFLAGS'
5203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5206
5207 depcc="$CC"   am_compiler_list=
5208
5209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5210 $as_echo_n "checking dependency style of $depcc... " >&6; }
5211 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5212   $as_echo_n "(cached) " >&6
5213 else
5214   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5215   # We make a subdir and do the tests there.  Otherwise we can end up
5216   # making bogus files that we don't know about and never remove.  For
5217   # instance it was reported that on HP-UX the gcc test will end up
5218   # making a dummy file named `D' -- because `-MD' means `put the output
5219   # in D'.
5220   rm -rf conftest.dir
5221   mkdir conftest.dir
5222   # Copy depcomp to subdir because otherwise we won't find it if we're
5223   # using a relative directory.
5224   cp "$am_depcomp" conftest.dir
5225   cd conftest.dir
5226   # We will build objects and dependencies in a subdirectory because
5227   # it helps to detect inapplicable dependency modes.  For instance
5228   # both Tru64's cc and ICC support -MD to output dependencies as a
5229   # side effect of compilation, but ICC will put the dependencies in
5230   # the current directory while Tru64 will put them in the object
5231   # directory.
5232   mkdir sub
5233
5234   am_cv_CC_dependencies_compiler_type=none
5235   if test "$am_compiler_list" = ""; then
5236      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5237   fi
5238   am__universal=false
5239   case " $depcc " in #(
5240      *\ -arch\ *\ -arch\ *) am__universal=true ;;
5241      esac
5242
5243   for depmode in $am_compiler_list; do
5244     # Setup a source with many dependencies, because some compilers
5245     # like to wrap large dependency lists on column 80 (with \), and
5246     # we should not choose a depcomp mode which is confused by this.
5247     #
5248     # We need to recreate these files for each test, as the compiler may
5249     # overwrite some of them when testing with obscure command lines.
5250     # This happens at least with the AIX C compiler.
5251     : > sub/conftest.c
5252     for i in 1 2 3 4 5 6; do
5253       echo '#include "conftst'$i'.h"' >> sub/conftest.c
5254       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5255       # Solaris 8's {/usr,}/bin/sh.
5256       touch sub/conftst$i.h
5257     done
5258     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5259
5260     # We check with `-c' and `-o' for the sake of the "dashmstdout"
5261     # mode.  It turns out that the SunPro C++ compiler does not properly
5262     # handle `-M -o', and we need to detect this.  Also, some Intel
5263     # versions had trouble with output in subdirs
5264     am__obj=sub/conftest.${OBJEXT-o}
5265     am__minus_obj="-o $am__obj"
5266     case $depmode in
5267     gcc)
5268       # This depmode causes a compiler race in universal mode.
5269       test "$am__universal" = false || continue
5270       ;;
5271     nosideeffect)
5272       # after this tag, mechanisms are not by side-effect, so they'll
5273       # only be used when explicitly requested
5274       if test "x$enable_dependency_tracking" = xyes; then
5275         continue
5276       else
5277         break
5278       fi
5279       ;;
5280     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5281       # This compiler won't grok `-c -o', but also, the minuso test has
5282       # not run yet.  These depmodes are late enough in the game, and
5283       # so weak that their functioning should not be impacted.
5284       am__obj=conftest.${OBJEXT-o}
5285       am__minus_obj=
5286       ;;
5287     none) break ;;
5288     esac
5289     if depmode=$depmode \
5290        source=sub/conftest.c object=$am__obj \
5291        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5292        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5293          >/dev/null 2>conftest.err &&
5294        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5295        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5296        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5297        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5298       # icc doesn't choke on unknown options, it will just issue warnings
5299       # or remarks (even with -Werror).  So we grep stderr for any message
5300       # that says an option was ignored or not supported.
5301       # When given -MP, icc 7.0 and 7.1 complain thusly:
5302       #   icc: Command line warning: ignoring option '-M'; no argument required
5303       # The diagnosis changed in icc 8.0:
5304       #   icc: Command line remark: option '-MP' not supported
5305       if (grep 'ignoring option' conftest.err ||
5306           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5307         am_cv_CC_dependencies_compiler_type=$depmode
5308         break
5309       fi
5310     fi
5311   done
5312
5313   cd ..
5314   rm -rf conftest.dir
5315 else
5316   am_cv_CC_dependencies_compiler_type=none
5317 fi
5318
5319 fi
5320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5321 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5322 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5323
5324  if
5325   test "x$enable_dependency_tracking" != xno \
5326   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5327   am__fastdepCC_TRUE=
5328   am__fastdepCC_FALSE='#'
5329 else
5330   am__fastdepCC_TRUE='#'
5331   am__fastdepCC_FALSE=
5332 fi
5333
5334
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5336 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5337 if ${ac_cv_path_SED+:} false; then :
5338   $as_echo_n "(cached) " >&6
5339 else
5340             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5341      for ac_i in 1 2 3 4 5 6 7; do
5342        ac_script="$ac_script$as_nl$ac_script"
5343      done
5344      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5345      { ac_script=; unset ac_script;}
5346      if test -z "$SED"; then
5347   ac_path_SED_found=false
5348   # Loop through the user's path and test for each of PROGNAME-LIST
5349   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5350 for as_dir in $PATH
5351 do
5352   IFS=$as_save_IFS
5353   test -z "$as_dir" && as_dir=.
5354     for ac_prog in sed gsed; do
5355     for ac_exec_ext in '' $ac_executable_extensions; do
5356       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5357       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5358 # Check for GNU ac_path_SED and select it if it is found.
5359   # Check for GNU $ac_path_SED
5360 case `"$ac_path_SED" --version 2>&1` in
5361 *GNU*)
5362   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5363 *)
5364   ac_count=0
5365   $as_echo_n 0123456789 >"conftest.in"
5366   while :
5367   do
5368     cat "conftest.in" "conftest.in" >"conftest.tmp"
5369     mv "conftest.tmp" "conftest.in"
5370     cp "conftest.in" "conftest.nl"
5371     $as_echo '' >> "conftest.nl"
5372     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5373     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5374     as_fn_arith $ac_count + 1 && ac_count=$as_val
5375     if test $ac_count -gt ${ac_path_SED_max-0}; then
5376       # Best one so far, save it but keep looking for a better one
5377       ac_cv_path_SED="$ac_path_SED"
5378       ac_path_SED_max=$ac_count
5379     fi
5380     # 10*(2^10) chars as input seems more than enough
5381     test $ac_count -gt 10 && break
5382   done
5383   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5384 esac
5385
5386       $ac_path_SED_found && break 3
5387     done
5388   done
5389   done
5390 IFS=$as_save_IFS
5391   if test -z "$ac_cv_path_SED"; then
5392     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5393   fi
5394 else
5395   ac_cv_path_SED=$SED
5396 fi
5397
5398 fi
5399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5400 $as_echo "$ac_cv_path_SED" >&6; }
5401  SED="$ac_cv_path_SED"
5402   rm -f conftest.sed
5403
5404 test -z "$SED" && SED=sed
5405 Xsed="$SED -e 1s/^X//"
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5418 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5419 if ${ac_cv_path_GREP+:} false; then :
5420   $as_echo_n "(cached) " >&6
5421 else
5422   if test -z "$GREP"; then
5423   ac_path_GREP_found=false
5424   # Loop through the user's path and test for each of PROGNAME-LIST
5425   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5426 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5427 do
5428   IFS=$as_save_IFS
5429   test -z "$as_dir" && as_dir=.
5430     for ac_prog in grep ggrep; do
5431     for ac_exec_ext in '' $ac_executable_extensions; do
5432       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5433       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5434 # Check for GNU ac_path_GREP and select it if it is found.
5435   # Check for GNU $ac_path_GREP
5436 case `"$ac_path_GREP" --version 2>&1` in
5437 *GNU*)
5438   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5439 *)
5440   ac_count=0
5441   $as_echo_n 0123456789 >"conftest.in"
5442   while :
5443   do
5444     cat "conftest.in" "conftest.in" >"conftest.tmp"
5445     mv "conftest.tmp" "conftest.in"
5446     cp "conftest.in" "conftest.nl"
5447     $as_echo 'GREP' >> "conftest.nl"
5448     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5449     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5450     as_fn_arith $ac_count + 1 && ac_count=$as_val
5451     if test $ac_count -gt ${ac_path_GREP_max-0}; then
5452       # Best one so far, save it but keep looking for a better one
5453       ac_cv_path_GREP="$ac_path_GREP"
5454       ac_path_GREP_max=$ac_count
5455     fi
5456     # 10*(2^10) chars as input seems more than enough
5457     test $ac_count -gt 10 && break
5458   done
5459   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5460 esac
5461
5462       $ac_path_GREP_found && break 3
5463     done
5464   done
5465   done
5466 IFS=$as_save_IFS
5467   if test -z "$ac_cv_path_GREP"; then
5468     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5469   fi
5470 else
5471   ac_cv_path_GREP=$GREP
5472 fi
5473
5474 fi
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5476 $as_echo "$ac_cv_path_GREP" >&6; }
5477  GREP="$ac_cv_path_GREP"
5478
5479
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5481 $as_echo_n "checking for egrep... " >&6; }
5482 if ${ac_cv_path_EGREP+:} false; then :
5483   $as_echo_n "(cached) " >&6
5484 else
5485   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5486    then ac_cv_path_EGREP="$GREP -E"
5487    else
5488      if test -z "$EGREP"; then
5489   ac_path_EGREP_found=false
5490   # Loop through the user's path and test for each of PROGNAME-LIST
5491   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5492 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5493 do
5494   IFS=$as_save_IFS
5495   test -z "$as_dir" && as_dir=.
5496     for ac_prog in egrep; do
5497     for ac_exec_ext in '' $ac_executable_extensions; do
5498       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5499       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5500 # Check for GNU ac_path_EGREP and select it if it is found.
5501   # Check for GNU $ac_path_EGREP
5502 case `"$ac_path_EGREP" --version 2>&1` in
5503 *GNU*)
5504   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5505 *)
5506   ac_count=0
5507   $as_echo_n 0123456789 >"conftest.in"
5508   while :
5509   do
5510     cat "conftest.in" "conftest.in" >"conftest.tmp"
5511     mv "conftest.tmp" "conftest.in"
5512     cp "conftest.in" "conftest.nl"
5513     $as_echo 'EGREP' >> "conftest.nl"
5514     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5515     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5516     as_fn_arith $ac_count + 1 && ac_count=$as_val
5517     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5518       # Best one so far, save it but keep looking for a better one
5519       ac_cv_path_EGREP="$ac_path_EGREP"
5520       ac_path_EGREP_max=$ac_count
5521     fi
5522     # 10*(2^10) chars as input seems more than enough
5523     test $ac_count -gt 10 && break
5524   done
5525   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5526 esac
5527
5528       $ac_path_EGREP_found && break 3
5529     done
5530   done
5531   done
5532 IFS=$as_save_IFS
5533   if test -z "$ac_cv_path_EGREP"; then
5534     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5535   fi
5536 else
5537   ac_cv_path_EGREP=$EGREP
5538 fi
5539
5540    fi
5541 fi
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5543 $as_echo "$ac_cv_path_EGREP" >&6; }
5544  EGREP="$ac_cv_path_EGREP"
5545
5546
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5548 $as_echo_n "checking for fgrep... " >&6; }
5549 if ${ac_cv_path_FGREP+:} false; then :
5550   $as_echo_n "(cached) " >&6
5551 else
5552   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5553    then ac_cv_path_FGREP="$GREP -F"
5554    else
5555      if test -z "$FGREP"; then
5556   ac_path_FGREP_found=false
5557   # Loop through the user's path and test for each of PROGNAME-LIST
5558   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5559 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5560 do
5561   IFS=$as_save_IFS
5562   test -z "$as_dir" && as_dir=.
5563     for ac_prog in fgrep; do
5564     for ac_exec_ext in '' $ac_executable_extensions; do
5565       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5566       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5567 # Check for GNU ac_path_FGREP and select it if it is found.
5568   # Check for GNU $ac_path_FGREP
5569 case `"$ac_path_FGREP" --version 2>&1` in
5570 *GNU*)
5571   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5572 *)
5573   ac_count=0
5574   $as_echo_n 0123456789 >"conftest.in"
5575   while :
5576   do
5577     cat "conftest.in" "conftest.in" >"conftest.tmp"
5578     mv "conftest.tmp" "conftest.in"
5579     cp "conftest.in" "conftest.nl"
5580     $as_echo 'FGREP' >> "conftest.nl"
5581     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5582     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5583     as_fn_arith $ac_count + 1 && ac_count=$as_val
5584     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5585       # Best one so far, save it but keep looking for a better one
5586       ac_cv_path_FGREP="$ac_path_FGREP"
5587       ac_path_FGREP_max=$ac_count
5588     fi
5589     # 10*(2^10) chars as input seems more than enough
5590     test $ac_count -gt 10 && break
5591   done
5592   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5593 esac
5594
5595       $ac_path_FGREP_found && break 3
5596     done
5597   done
5598   done
5599 IFS=$as_save_IFS
5600   if test -z "$ac_cv_path_FGREP"; then
5601     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5602   fi
5603 else
5604   ac_cv_path_FGREP=$FGREP
5605 fi
5606
5607    fi
5608 fi
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5610 $as_echo "$ac_cv_path_FGREP" >&6; }
5611  FGREP="$ac_cv_path_FGREP"
5612
5613
5614 test -z "$GREP" && GREP=grep
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634 # Check whether --with-gnu-ld was given.
5635 if test "${with_gnu_ld+set}" = set; then :
5636   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5637 else
5638   with_gnu_ld=no
5639 fi
5640
5641 ac_prog=ld
5642 if test "$GCC" = yes; then
5643   # Check if gcc -print-prog-name=ld gives a path.
5644   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5645 $as_echo_n "checking for ld used by $CC... " >&6; }
5646   case $host in
5647   *-*-mingw*)
5648     # gcc leaves a trailing carriage return which upsets mingw
5649     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5650   *)
5651     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5652   esac
5653   case $ac_prog in
5654     # Accept absolute paths.
5655     [\\/]* | ?:[\\/]*)
5656       re_direlt='/[^/][^/]*/\.\./'
5657       # Canonicalize the pathname of ld
5658       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5659       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5660         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5661       done
5662       test -z "$LD" && LD="$ac_prog"
5663       ;;
5664   "")
5665     # If it fails, then pretend we aren't using GCC.
5666     ac_prog=ld
5667     ;;
5668   *)
5669     # If it is relative, then search for the first ld in PATH.
5670     with_gnu_ld=unknown
5671     ;;
5672   esac
5673 elif test "$with_gnu_ld" = yes; then
5674   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5675 $as_echo_n "checking for GNU ld... " >&6; }
5676 else
5677   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5678 $as_echo_n "checking for non-GNU ld... " >&6; }
5679 fi
5680 if ${lt_cv_path_LD+:} false; then :
5681   $as_echo_n "(cached) " >&6
5682 else
5683   if test -z "$LD"; then
5684   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5685   for ac_dir in $PATH; do
5686     IFS="$lt_save_ifs"
5687     test -z "$ac_dir" && ac_dir=.
5688     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5689       lt_cv_path_LD="$ac_dir/$ac_prog"
5690       # Check to see if the program is GNU ld.  I'd rather use --version,
5691       # but apparently some variants of GNU ld only accept -v.
5692       # Break only if it was the GNU/non-GNU ld that we prefer.
5693       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5694       *GNU* | *'with BFD'*)
5695         test "$with_gnu_ld" != no && break
5696         ;;
5697       *)
5698         test "$with_gnu_ld" != yes && break
5699         ;;
5700       esac
5701     fi
5702   done
5703   IFS="$lt_save_ifs"
5704 else
5705   lt_cv_path_LD="$LD" # Let the user override the test with a path.
5706 fi
5707 fi
5708
5709 LD="$lt_cv_path_LD"
5710 if test -n "$LD"; then
5711   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5712 $as_echo "$LD" >&6; }
5713 else
5714   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5715 $as_echo "no" >&6; }
5716 fi
5717 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5719 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5720 if ${lt_cv_prog_gnu_ld+:} false; then :
5721   $as_echo_n "(cached) " >&6
5722 else
5723   # I'd rather use --version here, but apparently some GNU lds only accept -v.
5724 case `$LD -v 2>&1 </dev/null` in
5725 *GNU* | *'with BFD'*)
5726   lt_cv_prog_gnu_ld=yes
5727   ;;
5728 *)
5729   lt_cv_prog_gnu_ld=no
5730   ;;
5731 esac
5732 fi
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5734 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5735 with_gnu_ld=$lt_cv_prog_gnu_ld
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5746 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5747 if ${lt_cv_path_NM+:} false; then :
5748   $as_echo_n "(cached) " >&6
5749 else
5750   if test -n "$NM"; then
5751   # Let the user override the test.
5752   lt_cv_path_NM="$NM"
5753 else
5754   lt_nm_to_check="${ac_tool_prefix}nm"
5755   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5756     lt_nm_to_check="$lt_nm_to_check nm"
5757   fi
5758   for lt_tmp_nm in $lt_nm_to_check; do
5759     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5760     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5761       IFS="$lt_save_ifs"
5762       test -z "$ac_dir" && ac_dir=.
5763       tmp_nm="$ac_dir/$lt_tmp_nm"
5764       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5765         # Check to see if the nm accepts a BSD-compat flag.
5766         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5767         #   nm: unknown option "B" ignored
5768         # Tru64's nm complains that /dev/null is an invalid object file
5769         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5770         */dev/null* | *'Invalid file or object type'*)
5771           lt_cv_path_NM="$tmp_nm -B"
5772           break
5773           ;;
5774         *)
5775           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5776           */dev/null*)
5777             lt_cv_path_NM="$tmp_nm -p"
5778             break
5779             ;;
5780           *)
5781             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5782             continue # so that we can try to find one that supports BSD flags
5783             ;;
5784           esac
5785           ;;
5786         esac
5787       fi
5788     done
5789     IFS="$lt_save_ifs"
5790   done
5791   : ${lt_cv_path_NM=no}
5792 fi
5793 fi
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5795 $as_echo "$lt_cv_path_NM" >&6; }
5796 if test "$lt_cv_path_NM" != "no"; then
5797   NM="$lt_cv_path_NM"
5798 else
5799   # Didn't find any BSD compatible name lister, look for dumpbin.
5800   if test -n "$DUMPBIN"; then :
5801     # Let the user override the test.
5802   else
5803     if test -n "$ac_tool_prefix"; then
5804   for ac_prog in dumpbin "link -dump"
5805   do
5806     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5807 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5809 $as_echo_n "checking for $ac_word... " >&6; }
5810 if ${ac_cv_prog_DUMPBIN+:} false; then :
5811   $as_echo_n "(cached) " >&6
5812 else
5813   if test -n "$DUMPBIN"; then
5814   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5815 else
5816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5817 for as_dir in $PATH
5818 do
5819   IFS=$as_save_IFS
5820   test -z "$as_dir" && as_dir=.
5821     for ac_exec_ext in '' $ac_executable_extensions; do
5822   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5823     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5824     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5825     break 2
5826   fi
5827 done
5828   done
5829 IFS=$as_save_IFS
5830
5831 fi
5832 fi
5833 DUMPBIN=$ac_cv_prog_DUMPBIN
5834 if test -n "$DUMPBIN"; then
5835   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5836 $as_echo "$DUMPBIN" >&6; }
5837 else
5838   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5839 $as_echo "no" >&6; }
5840 fi
5841
5842
5843     test -n "$DUMPBIN" && break
5844   done
5845 fi
5846 if test -z "$DUMPBIN"; then
5847   ac_ct_DUMPBIN=$DUMPBIN
5848   for ac_prog in dumpbin "link -dump"
5849 do
5850   # Extract the first word of "$ac_prog", so it can be a program name with args.
5851 set dummy $ac_prog; ac_word=$2
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5853 $as_echo_n "checking for $ac_word... " >&6; }
5854 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5855   $as_echo_n "(cached) " >&6
5856 else
5857   if test -n "$ac_ct_DUMPBIN"; then
5858   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5859 else
5860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5861 for as_dir in $PATH
5862 do
5863   IFS=$as_save_IFS
5864   test -z "$as_dir" && as_dir=.
5865     for ac_exec_ext in '' $ac_executable_extensions; do
5866   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5867     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5868     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5869     break 2
5870   fi
5871 done
5872   done
5873 IFS=$as_save_IFS
5874
5875 fi
5876 fi
5877 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5878 if test -n "$ac_ct_DUMPBIN"; then
5879   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5880 $as_echo "$ac_ct_DUMPBIN" >&6; }
5881 else
5882   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5883 $as_echo "no" >&6; }
5884 fi
5885
5886
5887   test -n "$ac_ct_DUMPBIN" && break
5888 done
5889
5890   if test "x$ac_ct_DUMPBIN" = x; then
5891     DUMPBIN=":"
5892   else
5893     case $cross_compiling:$ac_tool_warned in
5894 yes:)
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5896 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5897 ac_tool_warned=yes ;;
5898 esac
5899     DUMPBIN=$ac_ct_DUMPBIN
5900   fi
5901 fi
5902
5903     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5904     *COFF*)
5905       DUMPBIN="$DUMPBIN -symbols"
5906       ;;
5907     *)
5908       DUMPBIN=:
5909       ;;
5910     esac
5911   fi
5912
5913   if test "$DUMPBIN" != ":"; then
5914     NM="$DUMPBIN"
5915   fi
5916 fi
5917 test -z "$NM" && NM=nm
5918
5919
5920
5921
5922
5923
5924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5925 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5926 if ${lt_cv_nm_interface+:} false; then :
5927   $as_echo_n "(cached) " >&6
5928 else
5929   lt_cv_nm_interface="BSD nm"
5930   echo "int some_variable = 0;" > conftest.$ac_ext
5931   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5932   (eval "$ac_compile" 2>conftest.err)
5933   cat conftest.err >&5
5934   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5935   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5936   cat conftest.err >&5
5937   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5938   cat conftest.out >&5
5939   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5940     lt_cv_nm_interface="MS dumpbin"
5941   fi
5942   rm -f conftest*
5943 fi
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5945 $as_echo "$lt_cv_nm_interface" >&6; }
5946
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5948 $as_echo_n "checking whether ln -s works... " >&6; }
5949 LN_S=$as_ln_s
5950 if test "$LN_S" = "ln -s"; then
5951   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5952 $as_echo "yes" >&6; }
5953 else
5954   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5955 $as_echo "no, using $LN_S" >&6; }
5956 fi
5957
5958 # find the maximum length of command line arguments
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5960 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5961 if ${lt_cv_sys_max_cmd_len+:} false; then :
5962   $as_echo_n "(cached) " >&6
5963 else
5964     i=0
5965   teststring="ABCD"
5966
5967   case $build_os in
5968   msdosdjgpp*)
5969     # On DJGPP, this test can blow up pretty badly due to problems in libc
5970     # (any single argument exceeding 2000 bytes causes a buffer overrun
5971     # during glob expansion).  Even if it were fixed, the result of this
5972     # check would be larger than it should be.
5973     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5974     ;;
5975
5976   gnu*)
5977     # Under GNU Hurd, this test is not required because there is
5978     # no limit to the length of command line arguments.
5979     # Libtool will interpret -1 as no limit whatsoever
5980     lt_cv_sys_max_cmd_len=-1;
5981     ;;
5982
5983   cygwin* | mingw* | cegcc*)
5984     # On Win9x/ME, this test blows up -- it succeeds, but takes
5985     # about 5 minutes as the teststring grows exponentially.
5986     # Worse, since 9x/ME are not pre-emptively multitasking,
5987     # you end up with a "frozen" computer, even though with patience
5988     # the test eventually succeeds (with a max line length of 256k).
5989     # Instead, let's just punt: use the minimum linelength reported by
5990     # all of the supported platforms: 8192 (on NT/2K/XP).
5991     lt_cv_sys_max_cmd_len=8192;
5992     ;;
5993
5994   mint*)
5995     # On MiNT this can take a long time and run out of memory.
5996     lt_cv_sys_max_cmd_len=8192;
5997     ;;
5998
5999   amigaos*)
6000     # On AmigaOS with pdksh, this test takes hours, literally.
6001     # So we just punt and use a minimum line length of 8192.
6002     lt_cv_sys_max_cmd_len=8192;
6003     ;;
6004
6005   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6006     # This has been around since 386BSD, at least.  Likely further.
6007     if test -x /sbin/sysctl; then
6008       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6009     elif test -x /usr/sbin/sysctl; then
6010       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6011     else
6012       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
6013     fi
6014     # And add a safety zone
6015     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6016     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6017     ;;
6018
6019   interix*)
6020     # We know the value 262144 and hardcode it with a safety zone (like BSD)
6021     lt_cv_sys_max_cmd_len=196608
6022     ;;
6023
6024   os2*)
6025     # The test takes a long time on OS/2.
6026     lt_cv_sys_max_cmd_len=8192
6027     ;;
6028
6029   osf*)
6030     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6031     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6032     # nice to cause kernel panics so lets avoid the loop below.
6033     # First set a reasonable default.
6034     lt_cv_sys_max_cmd_len=16384
6035     #
6036     if test -x /sbin/sysconfig; then
6037       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6038         *1*) lt_cv_sys_max_cmd_len=-1 ;;
6039       esac
6040     fi
6041     ;;
6042   sco3.2v5*)
6043     lt_cv_sys_max_cmd_len=102400
6044     ;;
6045   sysv5* | sco5v6* | sysv4.2uw2*)
6046     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6047     if test -n "$kargmax"; then
6048       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
6049     else
6050       lt_cv_sys_max_cmd_len=32768
6051     fi
6052     ;;
6053   *)
6054     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6055     if test -n "$lt_cv_sys_max_cmd_len"; then
6056       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6057       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6058     else
6059       # Make teststring a little bigger before we do anything with it.
6060       # a 1K string should be a reasonable start.
6061       for i in 1 2 3 4 5 6 7 8 ; do
6062         teststring=$teststring$teststring
6063       done
6064       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6065       # If test is not a shell built-in, we'll probably end up computing a
6066       # maximum length that is only half of the actual maximum length, but
6067       # we can't tell.
6068       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
6069                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6070               test $i != 17 # 1/2 MB should be enough
6071       do
6072         i=`expr $i + 1`
6073         teststring=$teststring$teststring
6074       done
6075       # Only check the string length outside the loop.
6076       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6077       teststring=
6078       # Add a significant safety factor because C++ compilers can tack on
6079       # massive amounts of additional arguments before passing them to the
6080       # linker.  It appears as though 1/2 is a usable value.
6081       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6082     fi
6083     ;;
6084   esac
6085
6086 fi
6087
6088 if test -n $lt_cv_sys_max_cmd_len ; then
6089   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6090 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6091 else
6092   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6093 $as_echo "none" >&6; }
6094 fi
6095 max_cmd_len=$lt_cv_sys_max_cmd_len
6096
6097
6098
6099
6100
6101
6102 : ${CP="cp -f"}
6103 : ${MV="mv -f"}
6104 : ${RM="rm -f"}
6105
6106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6107 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6108 # Try some XSI features
6109 xsi_shell=no
6110 ( _lt_dummy="a/b/c"
6111   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
6112       = c,a/b,b/c, \
6113     && eval 'test $(( 1 + 1 )) -eq 2 \
6114     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6115   && xsi_shell=yes
6116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6117 $as_echo "$xsi_shell" >&6; }
6118
6119
6120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6121 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6122 lt_shell_append=no
6123 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6124     >/dev/null 2>&1 \
6125   && lt_shell_append=yes
6126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6127 $as_echo "$lt_shell_append" >&6; }
6128
6129
6130 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6131   lt_unset=unset
6132 else
6133   lt_unset=false
6134 fi
6135
6136
6137
6138
6139
6140 # test EBCDIC or ASCII
6141 case `echo X|tr X '\101'` in
6142  A) # ASCII based system
6143     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6144   lt_SP2NL='tr \040 \012'
6145   lt_NL2SP='tr \015\012 \040\040'
6146   ;;
6147  *) # EBCDIC based system
6148   lt_SP2NL='tr \100 \n'
6149   lt_NL2SP='tr \r\n \100\100'
6150   ;;
6151 esac
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6162 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6163 if ${lt_cv_to_host_file_cmd+:} false; then :
6164   $as_echo_n "(cached) " >&6
6165 else
6166   case $host in
6167   *-*-mingw* )
6168     case $build in
6169       *-*-mingw* ) # actually msys
6170         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6171         ;;
6172       *-*-cygwin* )
6173         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6174         ;;
6175       * ) # otherwise, assume *nix
6176         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6177         ;;
6178     esac
6179     ;;
6180   *-*-cygwin* )
6181     case $build in
6182       *-*-mingw* ) # actually msys
6183         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6184         ;;
6185       *-*-cygwin* )
6186         lt_cv_to_host_file_cmd=func_convert_file_noop
6187         ;;
6188       * ) # otherwise, assume *nix
6189         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6190         ;;
6191     esac
6192     ;;
6193   * ) # unhandled hosts (and "normal" native builds)
6194     lt_cv_to_host_file_cmd=func_convert_file_noop
6195     ;;
6196 esac
6197
6198 fi
6199
6200 to_host_file_cmd=$lt_cv_to_host_file_cmd
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6202 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6203
6204
6205
6206
6207
6208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6209 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6210 if ${lt_cv_to_tool_file_cmd+:} false; then :
6211   $as_echo_n "(cached) " >&6
6212 else
6213   #assume ordinary cross tools, or native build.
6214 lt_cv_to_tool_file_cmd=func_convert_file_noop
6215 case $host in
6216   *-*-mingw* )
6217     case $build in
6218       *-*-mingw* ) # actually msys
6219         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6220         ;;
6221     esac
6222     ;;
6223 esac
6224
6225 fi
6226
6227 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6229 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6230
6231
6232
6233
6234
6235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6236 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6237 if ${lt_cv_ld_reload_flag+:} false; then :
6238   $as_echo_n "(cached) " >&6
6239 else
6240   lt_cv_ld_reload_flag='-r'
6241 fi
6242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6243 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6244 reload_flag=$lt_cv_ld_reload_flag
6245 case $reload_flag in
6246 "" | " "*) ;;
6247 *) reload_flag=" $reload_flag" ;;
6248 esac
6249 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6250 case $host_os in
6251   cygwin* | mingw* | pw32* | cegcc*)
6252     if test "$GCC" != yes; then
6253       reload_cmds=false
6254     fi
6255     ;;
6256   darwin*)
6257     if test "$GCC" = yes; then
6258       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6259     else
6260       reload_cmds='$LD$reload_flag -o $output$reload_objs'
6261     fi
6262     ;;
6263 esac
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273 if test -n "$ac_tool_prefix"; then
6274   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6275 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6277 $as_echo_n "checking for $ac_word... " >&6; }
6278 if ${ac_cv_prog_OBJDUMP+:} false; then :
6279   $as_echo_n "(cached) " >&6
6280 else
6281   if test -n "$OBJDUMP"; then
6282   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6283 else
6284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6285 for as_dir in $PATH
6286 do
6287   IFS=$as_save_IFS
6288   test -z "$as_dir" && as_dir=.
6289     for ac_exec_ext in '' $ac_executable_extensions; do
6290   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6291     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6292     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6293     break 2
6294   fi
6295 done
6296   done
6297 IFS=$as_save_IFS
6298
6299 fi
6300 fi
6301 OBJDUMP=$ac_cv_prog_OBJDUMP
6302 if test -n "$OBJDUMP"; then
6303   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6304 $as_echo "$OBJDUMP" >&6; }
6305 else
6306   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6307 $as_echo "no" >&6; }
6308 fi
6309
6310
6311 fi
6312 if test -z "$ac_cv_prog_OBJDUMP"; then
6313   ac_ct_OBJDUMP=$OBJDUMP
6314   # Extract the first word of "objdump", so it can be a program name with args.
6315 set dummy objdump; ac_word=$2
6316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6317 $as_echo_n "checking for $ac_word... " >&6; }
6318 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6319   $as_echo_n "(cached) " >&6
6320 else
6321   if test -n "$ac_ct_OBJDUMP"; then
6322   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6323 else
6324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6325 for as_dir in $PATH
6326 do
6327   IFS=$as_save_IFS
6328   test -z "$as_dir" && as_dir=.
6329     for ac_exec_ext in '' $ac_executable_extensions; do
6330   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6331     ac_cv_prog_ac_ct_OBJDUMP="objdump"
6332     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6333     break 2
6334   fi
6335 done
6336   done
6337 IFS=$as_save_IFS
6338
6339 fi
6340 fi
6341 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6342 if test -n "$ac_ct_OBJDUMP"; then
6343   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6344 $as_echo "$ac_ct_OBJDUMP" >&6; }
6345 else
6346   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6347 $as_echo "no" >&6; }
6348 fi
6349
6350   if test "x$ac_ct_OBJDUMP" = x; then
6351     OBJDUMP="false"
6352   else
6353     case $cross_compiling:$ac_tool_warned in
6354 yes:)
6355 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6356 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6357 ac_tool_warned=yes ;;
6358 esac
6359     OBJDUMP=$ac_ct_OBJDUMP
6360   fi
6361 else
6362   OBJDUMP="$ac_cv_prog_OBJDUMP"
6363 fi
6364
6365 test -z "$OBJDUMP" && OBJDUMP=objdump
6366
6367
6368
6369
6370
6371
6372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6373 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6374 if ${lt_cv_deplibs_check_method+:} false; then :
6375   $as_echo_n "(cached) " >&6
6376 else
6377   lt_cv_file_magic_cmd='$MAGIC_CMD'
6378 lt_cv_file_magic_test_file=
6379 lt_cv_deplibs_check_method='unknown'
6380 # Need to set the preceding variable on all platforms that support
6381 # interlibrary dependencies.
6382 # 'none' -- dependencies not supported.
6383 # `unknown' -- same as none, but documents that we really don't know.
6384 # 'pass_all' -- all dependencies passed with no checks.
6385 # 'test_compile' -- check by making test program.
6386 # 'file_magic [[regex]]' -- check by looking for files in library path
6387 # which responds to the $file_magic_cmd with a given extended regex.
6388 # If you have `file' or equivalent on your system and you're not sure
6389 # whether `pass_all' will *always* work, you probably want this one.
6390
6391 case $host_os in
6392 aix[4-9]*)
6393   lt_cv_deplibs_check_method=pass_all
6394   ;;
6395
6396 beos*)
6397   lt_cv_deplibs_check_method=pass_all
6398   ;;
6399
6400 bsdi[45]*)
6401   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6402   lt_cv_file_magic_cmd='/usr/bin/file -L'
6403   lt_cv_file_magic_test_file=/shlib/libc.so
6404   ;;
6405
6406 cygwin*)
6407   # func_win32_libid is a shell function defined in ltmain.sh
6408   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6409   lt_cv_file_magic_cmd='func_win32_libid'
6410   ;;
6411
6412 mingw* | pw32*)
6413   # Base MSYS/MinGW do not provide the 'file' command needed by
6414   # func_win32_libid shell function, so use a weaker test based on 'objdump',
6415   # unless we find 'file', for example because we are cross-compiling.
6416   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6417   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6418     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6419     lt_cv_file_magic_cmd='func_win32_libid'
6420   else
6421     # Keep this pattern in sync with the one in func_win32_libid.
6422     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6423     lt_cv_file_magic_cmd='$OBJDUMP -f'
6424   fi
6425   ;;
6426
6427 cegcc*)
6428   # use the weaker test based on 'objdump'. See mingw*.
6429   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6430   lt_cv_file_magic_cmd='$OBJDUMP -f'
6431   ;;
6432
6433 darwin* | rhapsody*)
6434   lt_cv_deplibs_check_method=pass_all
6435   ;;
6436
6437 freebsd* | dragonfly*)
6438   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6439     case $host_cpu in
6440     i*86 )
6441       # Not sure whether the presence of OpenBSD here was a mistake.
6442       # Let's accept both of them until this is cleared up.
6443       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6444       lt_cv_file_magic_cmd=/usr/bin/file
6445       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6446       ;;
6447     esac
6448   else
6449     lt_cv_deplibs_check_method=pass_all
6450   fi
6451   ;;
6452
6453 gnu*)
6454   lt_cv_deplibs_check_method=pass_all
6455   ;;
6456
6457 haiku*)
6458   lt_cv_deplibs_check_method=pass_all
6459   ;;
6460
6461 hpux10.20* | hpux11*)
6462   lt_cv_file_magic_cmd=/usr/bin/file
6463   case $host_cpu in
6464   ia64*)
6465     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6466     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6467     ;;
6468   hppa*64*)
6469     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]'
6470     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6471     ;;
6472   *)
6473     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6474     lt_cv_file_magic_test_file=/usr/lib/libc.sl
6475     ;;
6476   esac
6477   ;;
6478
6479 interix[3-9]*)
6480   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6481   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6482   ;;
6483
6484 irix5* | irix6* | nonstopux*)
6485   case $LD in
6486   *-32|*"-32 ") libmagic=32-bit;;
6487   *-n32|*"-n32 ") libmagic=N32;;
6488   *-64|*"-64 ") libmagic=64-bit;;
6489   *) libmagic=never-match;;
6490   esac
6491   lt_cv_deplibs_check_method=pass_all
6492   ;;
6493
6494 # This must be glibc/ELF.
6495 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6496   lt_cv_deplibs_check_method=pass_all
6497   ;;
6498
6499 netbsd* | netbsdelf*-gnu)
6500   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6501     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6502   else
6503     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6504   fi
6505   ;;
6506
6507 newos6*)
6508   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6509   lt_cv_file_magic_cmd=/usr/bin/file
6510   lt_cv_file_magic_test_file=/usr/lib/libnls.so
6511   ;;
6512
6513 *nto* | *qnx*)
6514   lt_cv_deplibs_check_method=pass_all
6515   ;;
6516
6517 openbsd*)
6518   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6519     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6520   else
6521     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6522   fi
6523   ;;
6524
6525 osf3* | osf4* | osf5*)
6526   lt_cv_deplibs_check_method=pass_all
6527   ;;
6528
6529 rdos*)
6530   lt_cv_deplibs_check_method=pass_all
6531   ;;
6532
6533 solaris*)
6534   lt_cv_deplibs_check_method=pass_all
6535   ;;
6536
6537 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6538   lt_cv_deplibs_check_method=pass_all
6539   ;;
6540
6541 sysv4 | sysv4.3*)
6542   case $host_vendor in
6543   motorola)
6544     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]'
6545     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6546     ;;
6547   ncr)
6548     lt_cv_deplibs_check_method=pass_all
6549     ;;
6550   sequent)
6551     lt_cv_file_magic_cmd='/bin/file'
6552     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6553     ;;
6554   sni)
6555     lt_cv_file_magic_cmd='/bin/file'
6556     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6557     lt_cv_file_magic_test_file=/lib/libc.so
6558     ;;
6559   siemens)
6560     lt_cv_deplibs_check_method=pass_all
6561     ;;
6562   pc)
6563     lt_cv_deplibs_check_method=pass_all
6564     ;;
6565   esac
6566   ;;
6567
6568 tpf*)
6569   lt_cv_deplibs_check_method=pass_all
6570   ;;
6571 esac
6572
6573 fi
6574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6575 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6576
6577 file_magic_glob=
6578 want_nocaseglob=no
6579 if test "$build" = "$host"; then
6580   case $host_os in
6581   mingw* | pw32*)
6582     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6583       want_nocaseglob=yes
6584     else
6585       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6586     fi
6587     ;;
6588   esac
6589 fi
6590
6591 file_magic_cmd=$lt_cv_file_magic_cmd
6592 deplibs_check_method=$lt_cv_deplibs_check_method
6593 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616 if test -n "$ac_tool_prefix"; then
6617   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6618 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6620 $as_echo_n "checking for $ac_word... " >&6; }
6621 if ${ac_cv_prog_DLLTOOL+:} false; then :
6622   $as_echo_n "(cached) " >&6
6623 else
6624   if test -n "$DLLTOOL"; then
6625   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6626 else
6627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6628 for as_dir in $PATH
6629 do
6630   IFS=$as_save_IFS
6631   test -z "$as_dir" && as_dir=.
6632     for ac_exec_ext in '' $ac_executable_extensions; do
6633   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6634     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6635     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6636     break 2
6637   fi
6638 done
6639   done
6640 IFS=$as_save_IFS
6641
6642 fi
6643 fi
6644 DLLTOOL=$ac_cv_prog_DLLTOOL
6645 if test -n "$DLLTOOL"; then
6646   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6647 $as_echo "$DLLTOOL" >&6; }
6648 else
6649   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6650 $as_echo "no" >&6; }
6651 fi
6652
6653
6654 fi
6655 if test -z "$ac_cv_prog_DLLTOOL"; then
6656   ac_ct_DLLTOOL=$DLLTOOL
6657   # Extract the first word of "dlltool", so it can be a program name with args.
6658 set dummy dlltool; ac_word=$2
6659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6660 $as_echo_n "checking for $ac_word... " >&6; }
6661 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6662   $as_echo_n "(cached) " >&6
6663 else
6664   if test -n "$ac_ct_DLLTOOL"; then
6665   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6666 else
6667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6668 for as_dir in $PATH
6669 do
6670   IFS=$as_save_IFS
6671   test -z "$as_dir" && as_dir=.
6672     for ac_exec_ext in '' $ac_executable_extensions; do
6673   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6674     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6675     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6676     break 2
6677   fi
6678 done
6679   done
6680 IFS=$as_save_IFS
6681
6682 fi
6683 fi
6684 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6685 if test -n "$ac_ct_DLLTOOL"; then
6686   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6687 $as_echo "$ac_ct_DLLTOOL" >&6; }
6688 else
6689   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6690 $as_echo "no" >&6; }
6691 fi
6692
6693   if test "x$ac_ct_DLLTOOL" = x; then
6694     DLLTOOL="false"
6695   else
6696     case $cross_compiling:$ac_tool_warned in
6697 yes:)
6698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6699 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6700 ac_tool_warned=yes ;;
6701 esac
6702     DLLTOOL=$ac_ct_DLLTOOL
6703   fi
6704 else
6705   DLLTOOL="$ac_cv_prog_DLLTOOL"
6706 fi
6707
6708 test -z "$DLLTOOL" && DLLTOOL=dlltool
6709
6710
6711
6712
6713
6714
6715
6716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6717 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6718 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6719   $as_echo_n "(cached) " >&6
6720 else
6721   lt_cv_sharedlib_from_linklib_cmd='unknown'
6722
6723 case $host_os in
6724 cygwin* | mingw* | pw32* | cegcc*)
6725   # two different shell functions defined in ltmain.sh
6726   # decide which to use based on capabilities of $DLLTOOL
6727   case `$DLLTOOL --help 2>&1` in
6728   *--identify-strict*)
6729     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6730     ;;
6731   *)
6732     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6733     ;;
6734   esac
6735   ;;
6736 *)
6737   # fallback: assume linklib IS sharedlib
6738   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6739   ;;
6740 esac
6741
6742 fi
6743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6744 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6745 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6746 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6747
6748
6749
6750
6751
6752
6753
6754
6755 if test -n "$ac_tool_prefix"; then
6756   for ac_prog in ar
6757   do
6758     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6759 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6761 $as_echo_n "checking for $ac_word... " >&6; }
6762 if ${ac_cv_prog_AR+:} false; then :
6763   $as_echo_n "(cached) " >&6
6764 else
6765   if test -n "$AR"; then
6766   ac_cv_prog_AR="$AR" # Let the user override the test.
6767 else
6768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6769 for as_dir in $PATH
6770 do
6771   IFS=$as_save_IFS
6772   test -z "$as_dir" && as_dir=.
6773     for ac_exec_ext in '' $ac_executable_extensions; do
6774   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6775     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6776     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6777     break 2
6778   fi
6779 done
6780   done
6781 IFS=$as_save_IFS
6782
6783 fi
6784 fi
6785 AR=$ac_cv_prog_AR
6786 if test -n "$AR"; then
6787   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6788 $as_echo "$AR" >&6; }
6789 else
6790   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6791 $as_echo "no" >&6; }
6792 fi
6793
6794
6795     test -n "$AR" && break
6796   done
6797 fi
6798 if test -z "$AR"; then
6799   ac_ct_AR=$AR
6800   for ac_prog in ar
6801 do
6802   # Extract the first word of "$ac_prog", so it can be a program name with args.
6803 set dummy $ac_prog; ac_word=$2
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6805 $as_echo_n "checking for $ac_word... " >&6; }
6806 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6807   $as_echo_n "(cached) " >&6
6808 else
6809   if test -n "$ac_ct_AR"; then
6810   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6811 else
6812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6813 for as_dir in $PATH
6814 do
6815   IFS=$as_save_IFS
6816   test -z "$as_dir" && as_dir=.
6817     for ac_exec_ext in '' $ac_executable_extensions; do
6818   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6819     ac_cv_prog_ac_ct_AR="$ac_prog"
6820     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6821     break 2
6822   fi
6823 done
6824   done
6825 IFS=$as_save_IFS
6826
6827 fi
6828 fi
6829 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6830 if test -n "$ac_ct_AR"; then
6831   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6832 $as_echo "$ac_ct_AR" >&6; }
6833 else
6834   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6835 $as_echo "no" >&6; }
6836 fi
6837
6838
6839   test -n "$ac_ct_AR" && break
6840 done
6841
6842   if test "x$ac_ct_AR" = x; then
6843     AR="false"
6844   else
6845     case $cross_compiling:$ac_tool_warned in
6846 yes:)
6847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6848 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6849 ac_tool_warned=yes ;;
6850 esac
6851     AR=$ac_ct_AR
6852   fi
6853 fi
6854
6855 : ${AR=ar}
6856 : ${AR_FLAGS=cru}
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6869 $as_echo_n "checking for archiver @FILE support... " >&6; }
6870 if ${lt_cv_ar_at_file+:} false; then :
6871   $as_echo_n "(cached) " >&6
6872 else
6873   lt_cv_ar_at_file=no
6874    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6875 /* end confdefs.h.  */
6876
6877 int
6878 main ()
6879 {
6880
6881   ;
6882   return 0;
6883 }
6884 _ACEOF
6885 if ac_fn_c_try_compile "$LINENO"; then :
6886   echo conftest.$ac_objext > conftest.lst
6887       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6888       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6889   (eval $lt_ar_try) 2>&5
6890   ac_status=$?
6891   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6892   test $ac_status = 0; }
6893       if test "$ac_status" -eq 0; then
6894         # Ensure the archiver fails upon bogus file names.
6895         rm -f conftest.$ac_objext libconftest.a
6896         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6897   (eval $lt_ar_try) 2>&5
6898   ac_status=$?
6899   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6900   test $ac_status = 0; }
6901         if test "$ac_status" -ne 0; then
6902           lt_cv_ar_at_file=@
6903         fi
6904       fi
6905       rm -f conftest.* libconftest.a
6906
6907 fi
6908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6909
6910 fi
6911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6912 $as_echo "$lt_cv_ar_at_file" >&6; }
6913
6914 if test "x$lt_cv_ar_at_file" = xno; then
6915   archiver_list_spec=
6916 else
6917   archiver_list_spec=$lt_cv_ar_at_file
6918 fi
6919
6920
6921
6922
6923
6924
6925
6926 if test -n "$ac_tool_prefix"; then
6927   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6928 set dummy ${ac_tool_prefix}strip; ac_word=$2
6929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6930 $as_echo_n "checking for $ac_word... " >&6; }
6931 if ${ac_cv_prog_STRIP+:} false; then :
6932   $as_echo_n "(cached) " >&6
6933 else
6934   if test -n "$STRIP"; then
6935   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6936 else
6937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6938 for as_dir in $PATH
6939 do
6940   IFS=$as_save_IFS
6941   test -z "$as_dir" && as_dir=.
6942     for ac_exec_ext in '' $ac_executable_extensions; do
6943   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6944     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6945     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6946     break 2
6947   fi
6948 done
6949   done
6950 IFS=$as_save_IFS
6951
6952 fi
6953 fi
6954 STRIP=$ac_cv_prog_STRIP
6955 if test -n "$STRIP"; then
6956   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6957 $as_echo "$STRIP" >&6; }
6958 else
6959   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6960 $as_echo "no" >&6; }
6961 fi
6962
6963
6964 fi
6965 if test -z "$ac_cv_prog_STRIP"; then
6966   ac_ct_STRIP=$STRIP
6967   # Extract the first word of "strip", so it can be a program name with args.
6968 set dummy strip; ac_word=$2
6969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6970 $as_echo_n "checking for $ac_word... " >&6; }
6971 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6972   $as_echo_n "(cached) " >&6
6973 else
6974   if test -n "$ac_ct_STRIP"; then
6975   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6976 else
6977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6978 for as_dir in $PATH
6979 do
6980   IFS=$as_save_IFS
6981   test -z "$as_dir" && as_dir=.
6982     for ac_exec_ext in '' $ac_executable_extensions; do
6983   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6984     ac_cv_prog_ac_ct_STRIP="strip"
6985     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6986     break 2
6987   fi
6988 done
6989   done
6990 IFS=$as_save_IFS
6991
6992 fi
6993 fi
6994 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6995 if test -n "$ac_ct_STRIP"; then
6996   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6997 $as_echo "$ac_ct_STRIP" >&6; }
6998 else
6999   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7000 $as_echo "no" >&6; }
7001 fi
7002
7003   if test "x$ac_ct_STRIP" = x; then
7004     STRIP=":"
7005   else
7006     case $cross_compiling:$ac_tool_warned in
7007 yes:)
7008 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7009 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7010 ac_tool_warned=yes ;;
7011 esac
7012     STRIP=$ac_ct_STRIP
7013   fi
7014 else
7015   STRIP="$ac_cv_prog_STRIP"
7016 fi
7017
7018 test -z "$STRIP" && STRIP=:
7019
7020
7021
7022
7023
7024
7025 if test -n "$ac_tool_prefix"; then
7026   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7027 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7029 $as_echo_n "checking for $ac_word... " >&6; }
7030 if ${ac_cv_prog_RANLIB+:} false; then :
7031   $as_echo_n "(cached) " >&6
7032 else
7033   if test -n "$RANLIB"; then
7034   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7035 else
7036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7037 for as_dir in $PATH
7038 do
7039   IFS=$as_save_IFS
7040   test -z "$as_dir" && as_dir=.
7041     for ac_exec_ext in '' $ac_executable_extensions; do
7042   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7043     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7044     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7045     break 2
7046   fi
7047 done
7048   done
7049 IFS=$as_save_IFS
7050
7051 fi
7052 fi
7053 RANLIB=$ac_cv_prog_RANLIB
7054 if test -n "$RANLIB"; then
7055   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7056 $as_echo "$RANLIB" >&6; }
7057 else
7058   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7059 $as_echo "no" >&6; }
7060 fi
7061
7062
7063 fi
7064 if test -z "$ac_cv_prog_RANLIB"; then
7065   ac_ct_RANLIB=$RANLIB
7066   # Extract the first word of "ranlib", so it can be a program name with args.
7067 set dummy ranlib; ac_word=$2
7068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7069 $as_echo_n "checking for $ac_word... " >&6; }
7070 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7071   $as_echo_n "(cached) " >&6
7072 else
7073   if test -n "$ac_ct_RANLIB"; then
7074   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7075 else
7076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7077 for as_dir in $PATH
7078 do
7079   IFS=$as_save_IFS
7080   test -z "$as_dir" && as_dir=.
7081     for ac_exec_ext in '' $ac_executable_extensions; do
7082   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7083     ac_cv_prog_ac_ct_RANLIB="ranlib"
7084     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7085     break 2
7086   fi
7087 done
7088   done
7089 IFS=$as_save_IFS
7090
7091 fi
7092 fi
7093 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7094 if test -n "$ac_ct_RANLIB"; then
7095   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7096 $as_echo "$ac_ct_RANLIB" >&6; }
7097 else
7098   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7099 $as_echo "no" >&6; }
7100 fi
7101
7102   if test "x$ac_ct_RANLIB" = x; then
7103     RANLIB=":"
7104   else
7105     case $cross_compiling:$ac_tool_warned in
7106 yes:)
7107 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7108 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7109 ac_tool_warned=yes ;;
7110 esac
7111     RANLIB=$ac_ct_RANLIB
7112   fi
7113 else
7114   RANLIB="$ac_cv_prog_RANLIB"
7115 fi
7116
7117 test -z "$RANLIB" && RANLIB=:
7118
7119
7120
7121
7122
7123
7124 # Determine commands to create old-style static archives.
7125 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7126 old_postinstall_cmds='chmod 644 $oldlib'
7127 old_postuninstall_cmds=
7128
7129 if test -n "$RANLIB"; then
7130   case $host_os in
7131   openbsd*)
7132     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7133     ;;
7134   *)
7135     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7136     ;;
7137   esac
7138   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7139 fi
7140
7141 case $host_os in
7142   darwin*)
7143     lock_old_archive_extraction=yes ;;
7144   *)
7145     lock_old_archive_extraction=no ;;
7146 esac
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186 # If no C compiler was specified, use CC.
7187 LTCC=${LTCC-"$CC"}
7188
7189 # If no C compiler flags were specified, use CFLAGS.
7190 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7191
7192 # Allow CC to be a program name with arguments.
7193 compiler=$CC
7194
7195
7196 # Check for command to grab the raw symbol name followed by C symbol from nm.
7197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7198 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7199 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7200   $as_echo_n "(cached) " >&6
7201 else
7202
7203 # These are sane defaults that work on at least a few old systems.
7204 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
7205
7206 # Character class describing NM global symbol codes.
7207 symcode='[BCDEGRST]'
7208
7209 # Regexp to match symbols that can be accessed directly from C.
7210 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7211
7212 # Define system-specific variables.
7213 case $host_os in
7214 aix*)
7215   symcode='[BCDT]'
7216   ;;
7217 cygwin* | mingw* | pw32* | cegcc*)
7218   symcode='[ABCDGISTW]'
7219   ;;
7220 hpux*)
7221   if test "$host_cpu" = ia64; then
7222     symcode='[ABCDEGRST]'
7223   fi
7224   ;;
7225 irix* | nonstopux*)
7226   symcode='[BCDEGRST]'
7227   ;;
7228 osf*)
7229   symcode='[BCDEGQRST]'
7230   ;;
7231 solaris*)
7232   symcode='[BDRT]'
7233   ;;
7234 sco3.2v5*)
7235   symcode='[DT]'
7236   ;;
7237 sysv4.2uw2*)
7238   symcode='[DT]'
7239   ;;
7240 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7241   symcode='[ABDT]'
7242   ;;
7243 sysv4)
7244   symcode='[DFNSTU]'
7245   ;;
7246 esac
7247
7248 # If we're using GNU nm, then use its standard symbol codes.
7249 case `$NM -V 2>&1` in
7250 *GNU* | *'with BFD'*)
7251   symcode='[ABCDGIRSTW]' ;;
7252 esac
7253
7254 # Transform an extracted symbol line into a proper C declaration.
7255 # Some systems (esp. on ia64) link data and code symbols differently,
7256 # so use this general approach.
7257 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7258
7259 # Transform an extracted symbol line into symbol name and symbol address
7260 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
7261 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'"
7262
7263 # Handle CRLF in mingw tool chain
7264 opt_cr=
7265 case $build_os in
7266 mingw*)
7267   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7268   ;;
7269 esac
7270
7271 # Try without a prefix underscore, then with it.
7272 for ac_symprfx in "" "_"; do
7273
7274   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7275   symxfrm="\\1 $ac_symprfx\\2 \\2"
7276
7277   # Write the raw and C identifiers.
7278   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7279     # Fake it for dumpbin and say T for any non-static function
7280     # and D for any global variable.
7281     # Also find C++ and __fastcall symbols from MSVC++,
7282     # which start with @ or ?.
7283     lt_cv_sys_global_symbol_pipe="$AWK '"\
7284 "     {last_section=section; section=\$ 3};"\
7285 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7286 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7287 "     \$ 0!~/External *\|/{next};"\
7288 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7289 "     {if(hide[section]) next};"\
7290 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7291 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7292 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
7293 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7294 "     ' prfx=^$ac_symprfx"
7295   else
7296     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7297   fi
7298   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7299
7300   # Check to see that the pipe works correctly.
7301   pipe_works=no
7302
7303   rm -f conftest*
7304   cat > conftest.$ac_ext <<_LT_EOF
7305 #ifdef __cplusplus
7306 extern "C" {
7307 #endif
7308 char nm_test_var;
7309 void nm_test_func(void);
7310 void nm_test_func(void){}
7311 #ifdef __cplusplus
7312 }
7313 #endif
7314 int main(){nm_test_var='a';nm_test_func();return(0);}
7315 _LT_EOF
7316
7317   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7318   (eval $ac_compile) 2>&5
7319   ac_status=$?
7320   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7321   test $ac_status = 0; }; then
7322     # Now try to grab the symbols.
7323     nlist=conftest.nm
7324     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7325   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7326   ac_status=$?
7327   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7328   test $ac_status = 0; } && test -s "$nlist"; then
7329       # Try sorting and uniquifying the output.
7330       if sort "$nlist" | uniq > "$nlist"T; then
7331         mv -f "$nlist"T "$nlist"
7332       else
7333         rm -f "$nlist"T
7334       fi
7335
7336       # Make sure that we snagged all the symbols we need.
7337       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7338         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7339           cat <<_LT_EOF > conftest.$ac_ext
7340 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
7341 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7342 /* DATA imports from DLLs on WIN32 con't be const, because runtime
7343    relocations are performed -- see ld's documentation on pseudo-relocs.  */
7344 # define LT_DLSYM_CONST
7345 #elif defined(__osf__)
7346 /* This system does not cope well with relocations in const data.  */
7347 # define LT_DLSYM_CONST
7348 #else
7349 # define LT_DLSYM_CONST const
7350 #endif
7351
7352 #ifdef __cplusplus
7353 extern "C" {
7354 #endif
7355
7356 _LT_EOF
7357           # Now generate the symbol file.
7358           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7359
7360           cat <<_LT_EOF >> conftest.$ac_ext
7361
7362 /* The mapping between symbol names and symbols.  */
7363 LT_DLSYM_CONST struct {
7364   const char *name;
7365   void       *address;
7366 }
7367 lt__PROGRAM__LTX_preloaded_symbols[] =
7368 {
7369   { "@PROGRAM@", (void *) 0 },
7370 _LT_EOF
7371           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7372           cat <<\_LT_EOF >> conftest.$ac_ext
7373   {0, (void *) 0}
7374 };
7375
7376 /* This works around a problem in FreeBSD linker */
7377 #ifdef FREEBSD_WORKAROUND
7378 static const void *lt_preloaded_setup() {
7379   return lt__PROGRAM__LTX_preloaded_symbols;
7380 }
7381 #endif
7382
7383 #ifdef __cplusplus
7384 }
7385 #endif
7386 _LT_EOF
7387           # Now try linking the two files.
7388           mv conftest.$ac_objext conftstm.$ac_objext
7389           lt_globsym_save_LIBS=$LIBS
7390           lt_globsym_save_CFLAGS=$CFLAGS
7391           LIBS="conftstm.$ac_objext"
7392           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7393           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7394   (eval $ac_link) 2>&5
7395   ac_status=$?
7396   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7397   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7398             pipe_works=yes
7399           fi
7400           LIBS=$lt_globsym_save_LIBS
7401           CFLAGS=$lt_globsym_save_CFLAGS
7402         else
7403           echo "cannot find nm_test_func in $nlist" >&5
7404         fi
7405       else
7406         echo "cannot find nm_test_var in $nlist" >&5
7407       fi
7408     else
7409       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7410     fi
7411   else
7412     echo "$progname: failed program was:" >&5
7413     cat conftest.$ac_ext >&5
7414   fi
7415   rm -rf conftest* conftst*
7416
7417   # Do not use the global_symbol_pipe unless it works.
7418   if test "$pipe_works" = yes; then
7419     break
7420   else
7421     lt_cv_sys_global_symbol_pipe=
7422   fi
7423 done
7424
7425 fi
7426
7427 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7428   lt_cv_sys_global_symbol_to_cdecl=
7429 fi
7430 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7431   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7432 $as_echo "failed" >&6; }
7433 else
7434   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7435 $as_echo "ok" >&6; }
7436 fi
7437
7438 # Response file support.
7439 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7440   nm_file_list_spec='@'
7441 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7442   nm_file_list_spec='@'
7443 fi
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7472 $as_echo_n "checking for sysroot... " >&6; }
7473
7474 # Check whether --with-sysroot was given.
7475 if test "${with_sysroot+set}" = set; then :
7476   withval=$with_sysroot;
7477 else
7478   with_sysroot=no
7479 fi
7480
7481
7482 lt_sysroot=
7483 case ${with_sysroot} in #(
7484  yes)
7485    if test "$GCC" = yes; then
7486      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7487    fi
7488    ;; #(
7489  /*)
7490    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7491    ;; #(
7492  no|'')
7493    ;; #(
7494  *)
7495    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
7496 $as_echo "${with_sysroot}" >&6; }
7497    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7498    ;;
7499 esac
7500
7501  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7502 $as_echo "${lt_sysroot:-no}" >&6; }
7503
7504
7505
7506
7507
7508 # Check whether --enable-libtool-lock was given.
7509 if test "${enable_libtool_lock+set}" = set; then :
7510   enableval=$enable_libtool_lock;
7511 fi
7512
7513 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7514
7515 # Some flags need to be propagated to the compiler or linker for good
7516 # libtool support.
7517 case $host in
7518 ia64-*-hpux*)
7519   # Find out which ABI we are using.
7520   echo 'int i;' > conftest.$ac_ext
7521   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7522   (eval $ac_compile) 2>&5
7523   ac_status=$?
7524   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7525   test $ac_status = 0; }; then
7526     case `/usr/bin/file conftest.$ac_objext` in
7527       *ELF-32*)
7528         HPUX_IA64_MODE="32"
7529         ;;
7530       *ELF-64*)
7531         HPUX_IA64_MODE="64"
7532         ;;
7533     esac
7534   fi
7535   rm -rf conftest*
7536   ;;
7537 *-*-irix6*)
7538   # Find out which ABI we are using.
7539   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7540   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7541   (eval $ac_compile) 2>&5
7542   ac_status=$?
7543   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7544   test $ac_status = 0; }; then
7545     if test "$lt_cv_prog_gnu_ld" = yes; then
7546       case `/usr/bin/file conftest.$ac_objext` in
7547         *32-bit*)
7548           LD="${LD-ld} -melf32bsmip"
7549           ;;
7550         *N32*)
7551           LD="${LD-ld} -melf32bmipn32"
7552           ;;
7553         *64-bit*)
7554           LD="${LD-ld} -melf64bmip"
7555         ;;
7556       esac
7557     else
7558       case `/usr/bin/file conftest.$ac_objext` in
7559         *32-bit*)
7560           LD="${LD-ld} -32"
7561           ;;
7562         *N32*)
7563           LD="${LD-ld} -n32"
7564           ;;
7565         *64-bit*)
7566           LD="${LD-ld} -64"
7567           ;;
7568       esac
7569     fi
7570   fi
7571   rm -rf conftest*
7572   ;;
7573
7574 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7575 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7576   # Find out which ABI we are using.
7577   echo 'int i;' > conftest.$ac_ext
7578   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7579   (eval $ac_compile) 2>&5
7580   ac_status=$?
7581   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7582   test $ac_status = 0; }; then
7583     case `/usr/bin/file conftest.o` in
7584       *32-bit*)
7585         case $host in
7586           x86_64-*kfreebsd*-gnu)
7587             LD="${LD-ld} -m elf_i386_fbsd"
7588             ;;
7589           x86_64-*linux*)
7590             LD="${LD-ld} -m elf_i386"
7591             ;;
7592           ppc64-*linux*|powerpc64-*linux*)
7593             LD="${LD-ld} -m elf32ppclinux"
7594             ;;
7595           s390x-*linux*)
7596             LD="${LD-ld} -m elf_s390"
7597             ;;
7598           sparc64-*linux*)
7599             LD="${LD-ld} -m elf32_sparc"
7600             ;;
7601         esac
7602         ;;
7603       *64-bit*)
7604         case $host in
7605           x86_64-*kfreebsd*-gnu)
7606             LD="${LD-ld} -m elf_x86_64_fbsd"
7607             ;;
7608           x86_64-*linux*)
7609             LD="${LD-ld} -m elf_x86_64"
7610             ;;
7611           ppc*-*linux*|powerpc*-*linux*)
7612             LD="${LD-ld} -m elf64ppc"
7613             ;;
7614           s390*-*linux*|s390*-*tpf*)
7615             LD="${LD-ld} -m elf64_s390"
7616             ;;
7617           sparc*-*linux*)
7618             LD="${LD-ld} -m elf64_sparc"
7619             ;;
7620         esac
7621         ;;
7622     esac
7623   fi
7624   rm -rf conftest*
7625   ;;
7626
7627 *-*-sco3.2v5*)
7628   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7629   SAVE_CFLAGS="$CFLAGS"
7630   CFLAGS="$CFLAGS -belf"
7631   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7632 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7633 if ${lt_cv_cc_needs_belf+:} false; then :
7634   $as_echo_n "(cached) " >&6
7635 else
7636   ac_ext=c
7637 ac_cpp='$CPP $CPPFLAGS'
7638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7641
7642      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7643 /* end confdefs.h.  */
7644
7645 int
7646 main ()
7647 {
7648
7649   ;
7650   return 0;
7651 }
7652 _ACEOF
7653 if ac_fn_c_try_link "$LINENO"; then :
7654   lt_cv_cc_needs_belf=yes
7655 else
7656   lt_cv_cc_needs_belf=no
7657 fi
7658 rm -f core conftest.err conftest.$ac_objext \
7659     conftest$ac_exeext conftest.$ac_ext
7660      ac_ext=c
7661 ac_cpp='$CPP $CPPFLAGS'
7662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7665
7666 fi
7667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7668 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7669   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7670     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7671     CFLAGS="$SAVE_CFLAGS"
7672   fi
7673   ;;
7674 *-*solaris*)
7675   # Find out which ABI we are using.
7676   echo 'int i;' > conftest.$ac_ext
7677   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7678   (eval $ac_compile) 2>&5
7679   ac_status=$?
7680   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7681   test $ac_status = 0; }; then
7682     case `/usr/bin/file conftest.o` in
7683     *64-bit*)
7684       case $lt_cv_prog_gnu_ld in
7685       yes*)
7686         case $host in
7687         i?86-*-solaris*)
7688           LD="${LD-ld} -m elf_x86_64"
7689           ;;
7690         sparc*-*-solaris*)
7691           LD="${LD-ld} -m elf64_sparc"
7692           ;;
7693         esac
7694         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
7695         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7696           LD="${LD-ld}_sol2"
7697         fi
7698         ;;
7699       *)
7700         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7701           LD="${LD-ld} -64"
7702         fi
7703         ;;
7704       esac
7705       ;;
7706     esac
7707   fi
7708   rm -rf conftest*
7709   ;;
7710 esac
7711
7712 need_locks="$enable_libtool_lock"
7713
7714 if test -n "$ac_tool_prefix"; then
7715   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7716 set dummy ${ac_tool_prefix}mt; ac_word=$2
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7718 $as_echo_n "checking for $ac_word... " >&6; }
7719 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7720   $as_echo_n "(cached) " >&6
7721 else
7722   if test -n "$MANIFEST_TOOL"; then
7723   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7724 else
7725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7726 for as_dir in $PATH
7727 do
7728   IFS=$as_save_IFS
7729   test -z "$as_dir" && as_dir=.
7730     for ac_exec_ext in '' $ac_executable_extensions; do
7731   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7732     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7733     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7734     break 2
7735   fi
7736 done
7737   done
7738 IFS=$as_save_IFS
7739
7740 fi
7741 fi
7742 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7743 if test -n "$MANIFEST_TOOL"; then
7744   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7745 $as_echo "$MANIFEST_TOOL" >&6; }
7746 else
7747   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7748 $as_echo "no" >&6; }
7749 fi
7750
7751
7752 fi
7753 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7754   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7755   # Extract the first word of "mt", so it can be a program name with args.
7756 set dummy mt; ac_word=$2
7757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7758 $as_echo_n "checking for $ac_word... " >&6; }
7759 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7760   $as_echo_n "(cached) " >&6
7761 else
7762   if test -n "$ac_ct_MANIFEST_TOOL"; then
7763   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7764 else
7765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7766 for as_dir in $PATH
7767 do
7768   IFS=$as_save_IFS
7769   test -z "$as_dir" && as_dir=.
7770     for ac_exec_ext in '' $ac_executable_extensions; do
7771   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7772     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7773     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7774     break 2
7775   fi
7776 done
7777   done
7778 IFS=$as_save_IFS
7779
7780 fi
7781 fi
7782 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7783 if test -n "$ac_ct_MANIFEST_TOOL"; then
7784   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7785 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7786 else
7787   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7788 $as_echo "no" >&6; }
7789 fi
7790
7791   if test "x$ac_ct_MANIFEST_TOOL" = x; then
7792     MANIFEST_TOOL=":"
7793   else
7794     case $cross_compiling:$ac_tool_warned in
7795 yes:)
7796 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7797 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7798 ac_tool_warned=yes ;;
7799 esac
7800     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7801   fi
7802 else
7803   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7804 fi
7805
7806 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7808 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7809 if ${lt_cv_path_mainfest_tool+:} false; then :
7810   $as_echo_n "(cached) " >&6
7811 else
7812   lt_cv_path_mainfest_tool=no
7813   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7814   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7815   cat conftest.err >&5
7816   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7817     lt_cv_path_mainfest_tool=yes
7818   fi
7819   rm -f conftest*
7820 fi
7821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7822 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7823 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7824   MANIFEST_TOOL=:
7825 fi
7826
7827
7828
7829
7830
7831
7832   case $host_os in
7833     rhapsody* | darwin*)
7834     if test -n "$ac_tool_prefix"; then
7835   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7836 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7838 $as_echo_n "checking for $ac_word... " >&6; }
7839 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7840   $as_echo_n "(cached) " >&6
7841 else
7842   if test -n "$DSYMUTIL"; then
7843   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7844 else
7845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7846 for as_dir in $PATH
7847 do
7848   IFS=$as_save_IFS
7849   test -z "$as_dir" && as_dir=.
7850     for ac_exec_ext in '' $ac_executable_extensions; do
7851   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7852     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7853     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7854     break 2
7855   fi
7856 done
7857   done
7858 IFS=$as_save_IFS
7859
7860 fi
7861 fi
7862 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7863 if test -n "$DSYMUTIL"; then
7864   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7865 $as_echo "$DSYMUTIL" >&6; }
7866 else
7867   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7868 $as_echo "no" >&6; }
7869 fi
7870
7871
7872 fi
7873 if test -z "$ac_cv_prog_DSYMUTIL"; then
7874   ac_ct_DSYMUTIL=$DSYMUTIL
7875   # Extract the first word of "dsymutil", so it can be a program name with args.
7876 set dummy dsymutil; ac_word=$2
7877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7878 $as_echo_n "checking for $ac_word... " >&6; }
7879 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7880   $as_echo_n "(cached) " >&6
7881 else
7882   if test -n "$ac_ct_DSYMUTIL"; then
7883   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7884 else
7885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7886 for as_dir in $PATH
7887 do
7888   IFS=$as_save_IFS
7889   test -z "$as_dir" && as_dir=.
7890     for ac_exec_ext in '' $ac_executable_extensions; do
7891   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7892     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7893     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7894     break 2
7895   fi
7896 done
7897   done
7898 IFS=$as_save_IFS
7899
7900 fi
7901 fi
7902 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7903 if test -n "$ac_ct_DSYMUTIL"; then
7904   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7905 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7906 else
7907   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7908 $as_echo "no" >&6; }
7909 fi
7910
7911   if test "x$ac_ct_DSYMUTIL" = x; then
7912     DSYMUTIL=":"
7913   else
7914     case $cross_compiling:$ac_tool_warned in
7915 yes:)
7916 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7917 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7918 ac_tool_warned=yes ;;
7919 esac
7920     DSYMUTIL=$ac_ct_DSYMUTIL
7921   fi
7922 else
7923   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7924 fi
7925
7926     if test -n "$ac_tool_prefix"; then
7927   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7928 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7930 $as_echo_n "checking for $ac_word... " >&6; }
7931 if ${ac_cv_prog_NMEDIT+:} false; then :
7932   $as_echo_n "(cached) " >&6
7933 else
7934   if test -n "$NMEDIT"; then
7935   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7936 else
7937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7938 for as_dir in $PATH
7939 do
7940   IFS=$as_save_IFS
7941   test -z "$as_dir" && as_dir=.
7942     for ac_exec_ext in '' $ac_executable_extensions; do
7943   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7944     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7945     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7946     break 2
7947   fi
7948 done
7949   done
7950 IFS=$as_save_IFS
7951
7952 fi
7953 fi
7954 NMEDIT=$ac_cv_prog_NMEDIT
7955 if test -n "$NMEDIT"; then
7956   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7957 $as_echo "$NMEDIT" >&6; }
7958 else
7959   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7960 $as_echo "no" >&6; }
7961 fi
7962
7963
7964 fi
7965 if test -z "$ac_cv_prog_NMEDIT"; then
7966   ac_ct_NMEDIT=$NMEDIT
7967   # Extract the first word of "nmedit", so it can be a program name with args.
7968 set dummy nmedit; ac_word=$2
7969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7970 $as_echo_n "checking for $ac_word... " >&6; }
7971 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7972   $as_echo_n "(cached) " >&6
7973 else
7974   if test -n "$ac_ct_NMEDIT"; then
7975   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7976 else
7977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7978 for as_dir in $PATH
7979 do
7980   IFS=$as_save_IFS
7981   test -z "$as_dir" && as_dir=.
7982     for ac_exec_ext in '' $ac_executable_extensions; do
7983   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7984     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7985     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7986     break 2
7987   fi
7988 done
7989   done
7990 IFS=$as_save_IFS
7991
7992 fi
7993 fi
7994 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7995 if test -n "$ac_ct_NMEDIT"; then
7996   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7997 $as_echo "$ac_ct_NMEDIT" >&6; }
7998 else
7999   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8000 $as_echo "no" >&6; }
8001 fi
8002
8003   if test "x$ac_ct_NMEDIT" = x; then
8004     NMEDIT=":"
8005   else
8006     case $cross_compiling:$ac_tool_warned in
8007 yes:)
8008 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8009 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8010 ac_tool_warned=yes ;;
8011 esac
8012     NMEDIT=$ac_ct_NMEDIT
8013   fi
8014 else
8015   NMEDIT="$ac_cv_prog_NMEDIT"
8016 fi
8017
8018     if test -n "$ac_tool_prefix"; then
8019   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8020 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8022 $as_echo_n "checking for $ac_word... " >&6; }
8023 if ${ac_cv_prog_LIPO+:} false; then :
8024   $as_echo_n "(cached) " >&6
8025 else
8026   if test -n "$LIPO"; then
8027   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8028 else
8029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8030 for as_dir in $PATH
8031 do
8032   IFS=$as_save_IFS
8033   test -z "$as_dir" && as_dir=.
8034     for ac_exec_ext in '' $ac_executable_extensions; do
8035   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8036     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8037     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8038     break 2
8039   fi
8040 done
8041   done
8042 IFS=$as_save_IFS
8043
8044 fi
8045 fi
8046 LIPO=$ac_cv_prog_LIPO
8047 if test -n "$LIPO"; then
8048   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8049 $as_echo "$LIPO" >&6; }
8050 else
8051   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8052 $as_echo "no" >&6; }
8053 fi
8054
8055
8056 fi
8057 if test -z "$ac_cv_prog_LIPO"; then
8058   ac_ct_LIPO=$LIPO
8059   # Extract the first word of "lipo", so it can be a program name with args.
8060 set dummy lipo; ac_word=$2
8061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8062 $as_echo_n "checking for $ac_word... " >&6; }
8063 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8064   $as_echo_n "(cached) " >&6
8065 else
8066   if test -n "$ac_ct_LIPO"; then
8067   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8068 else
8069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8070 for as_dir in $PATH
8071 do
8072   IFS=$as_save_IFS
8073   test -z "$as_dir" && as_dir=.
8074     for ac_exec_ext in '' $ac_executable_extensions; do
8075   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8076     ac_cv_prog_ac_ct_LIPO="lipo"
8077     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8078     break 2
8079   fi
8080 done
8081   done
8082 IFS=$as_save_IFS
8083
8084 fi
8085 fi
8086 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8087 if test -n "$ac_ct_LIPO"; then
8088   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8089 $as_echo "$ac_ct_LIPO" >&6; }
8090 else
8091   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8092 $as_echo "no" >&6; }
8093 fi
8094
8095   if test "x$ac_ct_LIPO" = x; then
8096     LIPO=":"
8097   else
8098     case $cross_compiling:$ac_tool_warned in
8099 yes:)
8100 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8101 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8102 ac_tool_warned=yes ;;
8103 esac
8104     LIPO=$ac_ct_LIPO
8105   fi
8106 else
8107   LIPO="$ac_cv_prog_LIPO"
8108 fi
8109
8110     if test -n "$ac_tool_prefix"; then
8111   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8112 set dummy ${ac_tool_prefix}otool; ac_word=$2
8113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8114 $as_echo_n "checking for $ac_word... " >&6; }
8115 if ${ac_cv_prog_OTOOL+:} false; then :
8116   $as_echo_n "(cached) " >&6
8117 else
8118   if test -n "$OTOOL"; then
8119   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8120 else
8121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8122 for as_dir in $PATH
8123 do
8124   IFS=$as_save_IFS
8125   test -z "$as_dir" && as_dir=.
8126     for ac_exec_ext in '' $ac_executable_extensions; do
8127   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8128     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8129     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8130     break 2
8131   fi
8132 done
8133   done
8134 IFS=$as_save_IFS
8135
8136 fi
8137 fi
8138 OTOOL=$ac_cv_prog_OTOOL
8139 if test -n "$OTOOL"; then
8140   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8141 $as_echo "$OTOOL" >&6; }
8142 else
8143   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8144 $as_echo "no" >&6; }
8145 fi
8146
8147
8148 fi
8149 if test -z "$ac_cv_prog_OTOOL"; then
8150   ac_ct_OTOOL=$OTOOL
8151   # Extract the first word of "otool", so it can be a program name with args.
8152 set dummy otool; ac_word=$2
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8154 $as_echo_n "checking for $ac_word... " >&6; }
8155 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8156   $as_echo_n "(cached) " >&6
8157 else
8158   if test -n "$ac_ct_OTOOL"; then
8159   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8160 else
8161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8162 for as_dir in $PATH
8163 do
8164   IFS=$as_save_IFS
8165   test -z "$as_dir" && as_dir=.
8166     for ac_exec_ext in '' $ac_executable_extensions; do
8167   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8168     ac_cv_prog_ac_ct_OTOOL="otool"
8169     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8170     break 2
8171   fi
8172 done
8173   done
8174 IFS=$as_save_IFS
8175
8176 fi
8177 fi
8178 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8179 if test -n "$ac_ct_OTOOL"; then
8180   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8181 $as_echo "$ac_ct_OTOOL" >&6; }
8182 else
8183   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8184 $as_echo "no" >&6; }
8185 fi
8186
8187   if test "x$ac_ct_OTOOL" = x; then
8188     OTOOL=":"
8189   else
8190     case $cross_compiling:$ac_tool_warned in
8191 yes:)
8192 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8193 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8194 ac_tool_warned=yes ;;
8195 esac
8196     OTOOL=$ac_ct_OTOOL
8197   fi
8198 else
8199   OTOOL="$ac_cv_prog_OTOOL"
8200 fi
8201
8202     if test -n "$ac_tool_prefix"; then
8203   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8204 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8206 $as_echo_n "checking for $ac_word... " >&6; }
8207 if ${ac_cv_prog_OTOOL64+:} false; then :
8208   $as_echo_n "(cached) " >&6
8209 else
8210   if test -n "$OTOOL64"; then
8211   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8212 else
8213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8214 for as_dir in $PATH
8215 do
8216   IFS=$as_save_IFS
8217   test -z "$as_dir" && as_dir=.
8218     for ac_exec_ext in '' $ac_executable_extensions; do
8219   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8220     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8221     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8222     break 2
8223   fi
8224 done
8225   done
8226 IFS=$as_save_IFS
8227
8228 fi
8229 fi
8230 OTOOL64=$ac_cv_prog_OTOOL64
8231 if test -n "$OTOOL64"; then
8232   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8233 $as_echo "$OTOOL64" >&6; }
8234 else
8235   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8236 $as_echo "no" >&6; }
8237 fi
8238
8239
8240 fi
8241 if test -z "$ac_cv_prog_OTOOL64"; then
8242   ac_ct_OTOOL64=$OTOOL64
8243   # Extract the first word of "otool64", so it can be a program name with args.
8244 set dummy otool64; ac_word=$2
8245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8246 $as_echo_n "checking for $ac_word... " >&6; }
8247 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8248   $as_echo_n "(cached) " >&6
8249 else
8250   if test -n "$ac_ct_OTOOL64"; then
8251   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8252 else
8253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8254 for as_dir in $PATH
8255 do
8256   IFS=$as_save_IFS
8257   test -z "$as_dir" && as_dir=.
8258     for ac_exec_ext in '' $ac_executable_extensions; do
8259   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8260     ac_cv_prog_ac_ct_OTOOL64="otool64"
8261     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8262     break 2
8263   fi
8264 done
8265   done
8266 IFS=$as_save_IFS
8267
8268 fi
8269 fi
8270 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8271 if test -n "$ac_ct_OTOOL64"; then
8272   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8273 $as_echo "$ac_ct_OTOOL64" >&6; }
8274 else
8275   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8276 $as_echo "no" >&6; }
8277 fi
8278
8279   if test "x$ac_ct_OTOOL64" = x; then
8280     OTOOL64=":"
8281   else
8282     case $cross_compiling:$ac_tool_warned in
8283 yes:)
8284 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8285 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8286 ac_tool_warned=yes ;;
8287 esac
8288     OTOOL64=$ac_ct_OTOOL64
8289   fi
8290 else
8291   OTOOL64="$ac_cv_prog_OTOOL64"
8292 fi
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312
8313
8314
8315
8316
8317
8318
8319
8320     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8321 $as_echo_n "checking for -single_module linker flag... " >&6; }
8322 if ${lt_cv_apple_cc_single_mod+:} false; then :
8323   $as_echo_n "(cached) " >&6
8324 else
8325   lt_cv_apple_cc_single_mod=no
8326       if test -z "${LT_MULTI_MODULE}"; then
8327         # By default we will add the -single_module flag. You can override
8328         # by either setting the environment variable LT_MULTI_MODULE
8329         # non-empty at configure time, or by adding -multi_module to the
8330         # link flags.
8331         rm -rf libconftest.dylib*
8332         echo "int foo(void){return 1;}" > conftest.c
8333         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8334 -dynamiclib -Wl,-single_module conftest.c" >&5
8335         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8336           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8337         _lt_result=$?
8338         # If there is a non-empty error log, and "single_module"
8339         # appears in it, assume the flag caused a linker warning
8340         if test -s conftest.err && $GREP single_module conftest.err; then
8341           cat conftest.err >&5
8342         # Otherwise, if the output was created with a 0 exit code from
8343         # the compiler, it worked.
8344         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
8345           lt_cv_apple_cc_single_mod=yes
8346         else
8347           cat conftest.err >&5
8348         fi
8349         rm -rf libconftest.dylib*
8350         rm -f conftest.*
8351       fi
8352 fi
8353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8354 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8355
8356     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8357 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8358 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8359   $as_echo_n "(cached) " >&6
8360 else
8361   lt_cv_ld_exported_symbols_list=no
8362       save_LDFLAGS=$LDFLAGS
8363       echo "_main" > conftest.sym
8364       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8365       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8366 /* end confdefs.h.  */
8367
8368 int
8369 main ()
8370 {
8371
8372   ;
8373   return 0;
8374 }
8375 _ACEOF
8376 if ac_fn_c_try_link "$LINENO"; then :
8377   lt_cv_ld_exported_symbols_list=yes
8378 else
8379   lt_cv_ld_exported_symbols_list=no
8380 fi
8381 rm -f core conftest.err conftest.$ac_objext \
8382     conftest$ac_exeext conftest.$ac_ext
8383         LDFLAGS="$save_LDFLAGS"
8384
8385 fi
8386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8387 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8388
8389     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8390 $as_echo_n "checking for -force_load linker flag... " >&6; }
8391 if ${lt_cv_ld_force_load+:} false; then :
8392   $as_echo_n "(cached) " >&6
8393 else
8394   lt_cv_ld_force_load=no
8395       cat > conftest.c << _LT_EOF
8396 int forced_loaded() { return 2;}
8397 _LT_EOF
8398       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8399       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8400       echo "$AR cru libconftest.a conftest.o" >&5
8401       $AR cru libconftest.a conftest.o 2>&5
8402       echo "$RANLIB libconftest.a" >&5
8403       $RANLIB libconftest.a 2>&5
8404       cat > conftest.c << _LT_EOF
8405 int main() { return 0;}
8406 _LT_EOF
8407       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8408       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8409       _lt_result=$?
8410       if test -s conftest.err && $GREP force_load conftest.err; then
8411         cat conftest.err >&5
8412       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
8413         lt_cv_ld_force_load=yes
8414       else
8415         cat conftest.err >&5
8416       fi
8417         rm -f conftest.err libconftest.a conftest conftest.c
8418         rm -rf conftest.dSYM
8419
8420 fi
8421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8422 $as_echo "$lt_cv_ld_force_load" >&6; }
8423     case $host_os in
8424     rhapsody* | darwin1.[012])
8425       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8426     darwin1.*)
8427       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8428     darwin*) # darwin 5.x on
8429       # if running on 10.5 or later, the deployment target defaults
8430       # to the OS version, if on x86, and 10.4, the deployment
8431       # target defaults to 10.4. Don't you love it?
8432       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8433         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8434           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8435         10.[012]*)
8436           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8437         10.*)
8438           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8439       esac
8440     ;;
8441   esac
8442     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8443       _lt_dar_single_mod='$single_module'
8444     fi
8445     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8446       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8447     else
8448       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8449     fi
8450     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8451       _lt_dsymutil='~$DSYMUTIL $lib || :'
8452     else
8453       _lt_dsymutil=
8454     fi
8455     ;;
8456   esac
8457
8458 ac_ext=c
8459 ac_cpp='$CPP $CPPFLAGS'
8460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
8464 $as_echo_n "checking how to run the C preprocessor... " >&6; }
8465 # On Suns, sometimes $CPP names a directory.
8466 if test -n "$CPP" && test -d "$CPP"; then
8467   CPP=
8468 fi
8469 if test -z "$CPP"; then
8470   if ${ac_cv_prog_CPP+:} false; then :
8471   $as_echo_n "(cached) " >&6
8472 else
8473       # Double quotes because CPP needs to be expanded
8474     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
8475     do
8476       ac_preproc_ok=false
8477 for ac_c_preproc_warn_flag in '' yes
8478 do
8479   # Use a header file that comes with gcc, so configuring glibc
8480   # with a fresh cross-compiler works.
8481   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8482   # <limits.h> exists even on freestanding compilers.
8483   # On the NeXT, cc -E runs the code through the compiler's parser,
8484   # not just through cpp. "Syntax error" is here to catch this case.
8485   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8486 /* end confdefs.h.  */
8487 #ifdef __STDC__
8488 # include <limits.h>
8489 #else
8490 # include <assert.h>
8491 #endif
8492                      Syntax error
8493 _ACEOF
8494 if ac_fn_c_try_cpp "$LINENO"; then :
8495
8496 else
8497   # Broken: fails on valid input.
8498 continue
8499 fi
8500 rm -f conftest.err conftest.i conftest.$ac_ext
8501
8502   # OK, works on sane cases.  Now check whether nonexistent headers
8503   # can be detected and how.
8504   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8505 /* end confdefs.h.  */
8506 #include <ac_nonexistent.h>
8507 _ACEOF
8508 if ac_fn_c_try_cpp "$LINENO"; then :
8509   # Broken: success on invalid input.
8510 continue
8511 else
8512   # Passes both tests.
8513 ac_preproc_ok=:
8514 break
8515 fi
8516 rm -f conftest.err conftest.i conftest.$ac_ext
8517
8518 done
8519 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8520 rm -f conftest.i conftest.err conftest.$ac_ext
8521 if $ac_preproc_ok; then :
8522   break
8523 fi
8524
8525     done
8526     ac_cv_prog_CPP=$CPP
8527
8528 fi
8529   CPP=$ac_cv_prog_CPP
8530 else
8531   ac_cv_prog_CPP=$CPP
8532 fi
8533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
8534 $as_echo "$CPP" >&6; }
8535 ac_preproc_ok=false
8536 for ac_c_preproc_warn_flag in '' yes
8537 do
8538   # Use a header file that comes with gcc, so configuring glibc
8539   # with a fresh cross-compiler works.
8540   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8541   # <limits.h> exists even on freestanding compilers.
8542   # On the NeXT, cc -E runs the code through the compiler's parser,
8543   # not just through cpp. "Syntax error" is here to catch this case.
8544   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8545 /* end confdefs.h.  */
8546 #ifdef __STDC__
8547 # include <limits.h>
8548 #else
8549 # include <assert.h>
8550 #endif
8551                      Syntax error
8552 _ACEOF
8553 if ac_fn_c_try_cpp "$LINENO"; then :
8554
8555 else
8556   # Broken: fails on valid input.
8557 continue
8558 fi
8559 rm -f conftest.err conftest.i conftest.$ac_ext
8560
8561   # OK, works on sane cases.  Now check whether nonexistent headers
8562   # can be detected and how.
8563   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8564 /* end confdefs.h.  */
8565 #include <ac_nonexistent.h>
8566 _ACEOF
8567 if ac_fn_c_try_cpp "$LINENO"; then :
8568   # Broken: success on invalid input.
8569 continue
8570 else
8571   # Passes both tests.
8572 ac_preproc_ok=:
8573 break
8574 fi
8575 rm -f conftest.err conftest.i conftest.$ac_ext
8576
8577 done
8578 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8579 rm -f conftest.i conftest.err conftest.$ac_ext
8580 if $ac_preproc_ok; then :
8581
8582 else
8583   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8584 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8585 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8586 See \`config.log' for more details" "$LINENO" 5; }
8587 fi
8588
8589 ac_ext=c
8590 ac_cpp='$CPP $CPPFLAGS'
8591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8594
8595
8596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8597 $as_echo_n "checking for ANSI C header files... " >&6; }
8598 if ${ac_cv_header_stdc+:} false; then :
8599   $as_echo_n "(cached) " >&6
8600 else
8601   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8602 /* end confdefs.h.  */
8603 #include <stdlib.h>
8604 #include <stdarg.h>
8605 #include <string.h>
8606 #include <float.h>
8607
8608 int
8609 main ()
8610 {
8611
8612   ;
8613   return 0;
8614 }
8615 _ACEOF
8616 if ac_fn_c_try_compile "$LINENO"; then :
8617   ac_cv_header_stdc=yes
8618 else
8619   ac_cv_header_stdc=no
8620 fi
8621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8622
8623 if test $ac_cv_header_stdc = yes; then
8624   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8625   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8626 /* end confdefs.h.  */
8627 #include <string.h>
8628
8629 _ACEOF
8630 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8631   $EGREP "memchr" >/dev/null 2>&1; then :
8632
8633 else
8634   ac_cv_header_stdc=no
8635 fi
8636 rm -f conftest*
8637
8638 fi
8639
8640 if test $ac_cv_header_stdc = yes; then
8641   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8642   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8643 /* end confdefs.h.  */
8644 #include <stdlib.h>
8645
8646 _ACEOF
8647 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8648   $EGREP "free" >/dev/null 2>&1; then :
8649
8650 else
8651   ac_cv_header_stdc=no
8652 fi
8653 rm -f conftest*
8654
8655 fi
8656
8657 if test $ac_cv_header_stdc = yes; then
8658   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8659   if test "$cross_compiling" = yes; then :
8660   :
8661 else
8662   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8663 /* end confdefs.h.  */
8664 #include <ctype.h>
8665 #include <stdlib.h>
8666 #if ((' ' & 0x0FF) == 0x020)
8667 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8668 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8669 #else
8670 # define ISLOWER(c) \
8671                    (('a' <= (c) && (c) <= 'i') \
8672                      || ('j' <= (c) && (c) <= 'r') \
8673                      || ('s' <= (c) && (c) <= 'z'))
8674 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8675 #endif
8676
8677 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8678 int
8679 main ()
8680 {
8681   int i;
8682   for (i = 0; i < 256; i++)
8683     if (XOR (islower (i), ISLOWER (i))
8684         || toupper (i) != TOUPPER (i))
8685       return 2;
8686   return 0;
8687 }
8688 _ACEOF
8689 if ac_fn_c_try_run "$LINENO"; then :
8690
8691 else
8692   ac_cv_header_stdc=no
8693 fi
8694 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8695   conftest.$ac_objext conftest.beam conftest.$ac_ext
8696 fi
8697
8698 fi
8699 fi
8700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8701 $as_echo "$ac_cv_header_stdc" >&6; }
8702 if test $ac_cv_header_stdc = yes; then
8703
8704 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8705
8706 fi
8707
8708 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8709 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8710                   inttypes.h stdint.h unistd.h
8711 do :
8712   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8713 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8714 "
8715 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8716   cat >>confdefs.h <<_ACEOF
8717 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8718 _ACEOF
8719
8720 fi
8721
8722 done
8723
8724
8725 for ac_header in dlfcn.h
8726 do :
8727   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8728 "
8729 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8730   cat >>confdefs.h <<_ACEOF
8731 #define HAVE_DLFCN_H 1
8732 _ACEOF
8733
8734 fi
8735
8736 done
8737
8738
8739
8740
8741
8742 # Set options
8743
8744
8745
8746
8747
8748             # Check whether --enable-shared was given.
8749 if test "${enable_shared+set}" = set; then :
8750   enableval=$enable_shared; p=${PACKAGE-default}
8751     case $enableval in
8752     yes) enable_shared=yes ;;
8753     no) enable_shared=no ;;
8754     *)
8755       enable_shared=no
8756       # Look at the argument we got.  We use all the common list separators.
8757       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8758       for pkg in $enableval; do
8759         IFS="$lt_save_ifs"
8760         if test "X$pkg" = "X$p"; then
8761           enable_shared=yes
8762         fi
8763       done
8764       IFS="$lt_save_ifs"
8765       ;;
8766     esac
8767 else
8768   enable_shared=yes
8769 fi
8770
8771
8772
8773
8774
8775
8776
8777
8778
8779   # Check whether --enable-static was given.
8780 if test "${enable_static+set}" = set; then :
8781   enableval=$enable_static; p=${PACKAGE-default}
8782     case $enableval in
8783     yes) enable_static=yes ;;
8784     no) enable_static=no ;;
8785     *)
8786      enable_static=no
8787       # Look at the argument we got.  We use all the common list separators.
8788       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8789       for pkg in $enableval; do
8790         IFS="$lt_save_ifs"
8791         if test "X$pkg" = "X$p"; then
8792           enable_static=yes
8793         fi
8794       done
8795       IFS="$lt_save_ifs"
8796       ;;
8797     esac
8798 else
8799   enable_static=yes
8800 fi
8801
8802
8803
8804
8805
8806
8807
8808
8809
8810
8811 # Check whether --with-pic was given.
8812 if test "${with_pic+set}" = set; then :
8813   withval=$with_pic; lt_p=${PACKAGE-default}
8814     case $withval in
8815     yes|no) pic_mode=$withval ;;
8816     *)
8817       pic_mode=default
8818       # Look at the argument we got.  We use all the common list separators.
8819       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8820       for lt_pkg in $withval; do
8821         IFS="$lt_save_ifs"
8822         if test "X$lt_pkg" = "X$lt_p"; then
8823           pic_mode=yes
8824         fi
8825       done
8826       IFS="$lt_save_ifs"
8827       ;;
8828     esac
8829 else
8830   pic_mode=default
8831 fi
8832
8833
8834 test -z "$pic_mode" && pic_mode=default
8835
8836
8837
8838
8839
8840
8841
8842   # Check whether --enable-fast-install was given.
8843 if test "${enable_fast_install+set}" = set; then :
8844   enableval=$enable_fast_install; p=${PACKAGE-default}
8845     case $enableval in
8846     yes) enable_fast_install=yes ;;
8847     no) enable_fast_install=no ;;
8848     *)
8849       enable_fast_install=no
8850       # Look at the argument we got.  We use all the common list separators.
8851       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8852       for pkg in $enableval; do
8853         IFS="$lt_save_ifs"
8854         if test "X$pkg" = "X$p"; then
8855           enable_fast_install=yes
8856         fi
8857       done
8858       IFS="$lt_save_ifs"
8859       ;;
8860     esac
8861 else
8862   enable_fast_install=yes
8863 fi
8864
8865
8866
8867
8868
8869
8870
8871
8872
8873
8874
8875 # This can be used to rebuild libtool when needed
8876 LIBTOOL_DEPS="$ltmain"
8877
8878 # Always use our own libtool.
8879 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8880
8881
8882
8883
8884
8885
8886
8887
8888
8889
8890
8891
8892
8893
8894
8895
8896
8897
8898
8899
8900
8901
8902
8903
8904
8905
8906
8907
8908
8909
8910 test -z "$LN_S" && LN_S="ln -s"
8911
8912
8913
8914
8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925 if test -n "${ZSH_VERSION+set}" ; then
8926    setopt NO_GLOB_SUBST
8927 fi
8928
8929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8930 $as_echo_n "checking for objdir... " >&6; }
8931 if ${lt_cv_objdir+:} false; then :
8932   $as_echo_n "(cached) " >&6
8933 else
8934   rm -f .libs 2>/dev/null
8935 mkdir .libs 2>/dev/null
8936 if test -d .libs; then
8937   lt_cv_objdir=.libs
8938 else
8939   # MS-DOS does not allow filenames that begin with a dot.
8940   lt_cv_objdir=_libs
8941 fi
8942 rmdir .libs 2>/dev/null
8943 fi
8944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8945 $as_echo "$lt_cv_objdir" >&6; }
8946 objdir=$lt_cv_objdir
8947
8948
8949
8950
8951
8952 cat >>confdefs.h <<_ACEOF
8953 #define LT_OBJDIR "$lt_cv_objdir/"
8954 _ACEOF
8955
8956
8957
8958
8959 case $host_os in
8960 aix3*)
8961   # AIX sometimes has problems with the GCC collect2 program.  For some
8962   # reason, if we set the COLLECT_NAMES environment variable, the problems
8963   # vanish in a puff of smoke.
8964   if test "X${COLLECT_NAMES+set}" != Xset; then
8965     COLLECT_NAMES=
8966     export COLLECT_NAMES
8967   fi
8968   ;;
8969 esac
8970
8971 # Global variables:
8972 ofile=libtool
8973 can_build_shared=yes
8974
8975 # All known linkers require a `.a' archive for static linking (except MSVC,
8976 # which needs '.lib').
8977 libext=a
8978
8979 with_gnu_ld="$lt_cv_prog_gnu_ld"
8980
8981 old_CC="$CC"
8982 old_CFLAGS="$CFLAGS"
8983
8984 # Set sane defaults for various variables
8985 test -z "$CC" && CC=cc
8986 test -z "$LTCC" && LTCC=$CC
8987 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8988 test -z "$LD" && LD=ld
8989 test -z "$ac_objext" && ac_objext=o
8990
8991 for cc_temp in $compiler""; do
8992   case $cc_temp in
8993     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8994     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8995     \-*) ;;
8996     *) break;;
8997   esac
8998 done
8999 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9000
9001
9002 # Only perform the check for file, if the check method requires it
9003 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9004 case $deplibs_check_method in
9005 file_magic*)
9006   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9007     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9008 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9009 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9010   $as_echo_n "(cached) " >&6
9011 else
9012   case $MAGIC_CMD in
9013 [\\/*] |  ?:[\\/]*)
9014   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9015   ;;
9016 *)
9017   lt_save_MAGIC_CMD="$MAGIC_CMD"
9018   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9019   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9020   for ac_dir in $ac_dummy; do
9021     IFS="$lt_save_ifs"
9022     test -z "$ac_dir" && ac_dir=.
9023     if test -f $ac_dir/${ac_tool_prefix}file; then
9024       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9025       if test -n "$file_magic_test_file"; then
9026         case $deplibs_check_method in
9027         "file_magic "*)
9028           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9029           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9030           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9031             $EGREP "$file_magic_regex" > /dev/null; then
9032             :
9033           else
9034             cat <<_LT_EOF 1>&2
9035
9036 *** Warning: the command libtool uses to detect shared libraries,
9037 *** $file_magic_cmd, produces output that libtool cannot recognize.
9038 *** The result is that libtool may fail to recognize shared libraries
9039 *** as such.  This will affect the creation of libtool libraries that
9040 *** depend on shared libraries, but programs linked with such libtool
9041 *** libraries will work regardless of this problem.  Nevertheless, you
9042 *** may want to report the problem to your system manager and/or to
9043 *** bug-libtool@gnu.org
9044
9045 _LT_EOF
9046           fi ;;
9047         esac
9048       fi
9049       break
9050     fi
9051   done
9052   IFS="$lt_save_ifs"
9053   MAGIC_CMD="$lt_save_MAGIC_CMD"
9054   ;;
9055 esac
9056 fi
9057
9058 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9059 if test -n "$MAGIC_CMD"; then
9060   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9061 $as_echo "$MAGIC_CMD" >&6; }
9062 else
9063   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9064 $as_echo "no" >&6; }
9065 fi
9066
9067
9068
9069
9070
9071 if test -z "$lt_cv_path_MAGIC_CMD"; then
9072   if test -n "$ac_tool_prefix"; then
9073     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9074 $as_echo_n "checking for file... " >&6; }
9075 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9076   $as_echo_n "(cached) " >&6
9077 else
9078   case $MAGIC_CMD in
9079 [\\/*] |  ?:[\\/]*)
9080   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9081   ;;
9082 *)
9083   lt_save_MAGIC_CMD="$MAGIC_CMD"
9084   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9085   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9086   for ac_dir in $ac_dummy; do
9087     IFS="$lt_save_ifs"
9088     test -z "$ac_dir" && ac_dir=.
9089     if test -f $ac_dir/file; then
9090       lt_cv_path_MAGIC_CMD="$ac_dir/file"
9091       if test -n "$file_magic_test_file"; then
9092         case $deplibs_check_method in
9093         "file_magic "*)
9094           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9095           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9096           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9097             $EGREP "$file_magic_regex" > /dev/null; then
9098             :
9099           else
9100             cat <<_LT_EOF 1>&2
9101
9102 *** Warning: the command libtool uses to detect shared libraries,
9103 *** $file_magic_cmd, produces output that libtool cannot recognize.
9104 *** The result is that libtool may fail to recognize shared libraries
9105 *** as such.  This will affect the creation of libtool libraries that
9106 *** depend on shared libraries, but programs linked with such libtool
9107 *** libraries will work regardless of this problem.  Nevertheless, you
9108 *** may want to report the problem to your system manager and/or to
9109 *** bug-libtool@gnu.org
9110
9111 _LT_EOF
9112           fi ;;
9113         esac
9114       fi
9115       break
9116     fi
9117   done
9118   IFS="$lt_save_ifs"
9119   MAGIC_CMD="$lt_save_MAGIC_CMD"
9120   ;;
9121 esac
9122 fi
9123
9124 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9125 if test -n "$MAGIC_CMD"; then
9126   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9127 $as_echo "$MAGIC_CMD" >&6; }
9128 else
9129   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9130 $as_echo "no" >&6; }
9131 fi
9132
9133
9134   else
9135     MAGIC_CMD=:
9136   fi
9137 fi
9138
9139   fi
9140   ;;
9141 esac
9142
9143 # Use C for the default configuration in the libtool script
9144
9145 lt_save_CC="$CC"
9146 ac_ext=c
9147 ac_cpp='$CPP $CPPFLAGS'
9148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9151
9152
9153 # Source file extension for C test sources.
9154 ac_ext=c
9155
9156 # Object file extension for compiled C test sources.
9157 objext=o
9158 objext=$objext
9159
9160 # Code to be used in simple compile tests
9161 lt_simple_compile_test_code="int some_variable = 0;"
9162
9163 # Code to be used in simple link tests
9164 lt_simple_link_test_code='int main(){return(0);}'
9165
9166
9167
9168
9169
9170
9171
9172 # If no C compiler was specified, use CC.
9173 LTCC=${LTCC-"$CC"}
9174
9175 # If no C compiler flags were specified, use CFLAGS.
9176 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9177
9178 # Allow CC to be a program name with arguments.
9179 compiler=$CC
9180
9181 # Save the default compiler, since it gets overwritten when the other
9182 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9183 compiler_DEFAULT=$CC
9184
9185 # save warnings/boilerplate of simple test code
9186 ac_outfile=conftest.$ac_objext
9187 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9188 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9189 _lt_compiler_boilerplate=`cat conftest.err`
9190 $RM conftest*
9191
9192 ac_outfile=conftest.$ac_objext
9193 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9194 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9195 _lt_linker_boilerplate=`cat conftest.err`
9196 $RM -r conftest*
9197
9198
9199 ## CAVEAT EMPTOR:
9200 ## There is no encapsulation within the following macros, do not change
9201 ## the running order or otherwise move them around unless you know exactly
9202 ## what you are doing...
9203 if test -n "$compiler"; then
9204
9205 lt_prog_compiler_no_builtin_flag=
9206
9207 if test "$GCC" = yes; then
9208   case $cc_basename in
9209   nvcc*)
9210     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9211   *)
9212     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9213   esac
9214
9215   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9216 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9217 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9218   $as_echo_n "(cached) " >&6
9219 else
9220   lt_cv_prog_compiler_rtti_exceptions=no
9221    ac_outfile=conftest.$ac_objext
9222    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9223    lt_compiler_flag="-fno-rtti -fno-exceptions"
9224    # Insert the option either (1) after the last *FLAGS variable, or
9225    # (2) before a word containing "conftest.", or (3) at the end.
9226    # Note that $ac_compile itself does not contain backslashes and begins
9227    # with a dollar sign (not a hyphen), so the echo should work correctly.
9228    # The option is referenced via a variable to avoid confusing sed.
9229    lt_compile=`echo "$ac_compile" | $SED \
9230    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9231    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9232    -e 's:$: $lt_compiler_flag:'`
9233    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9234    (eval "$lt_compile" 2>conftest.err)
9235    ac_status=$?
9236    cat conftest.err >&5
9237    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9238    if (exit $ac_status) && test -s "$ac_outfile"; then
9239      # The compiler can only warn and ignore the option if not recognized
9240      # So say no if there are warnings other than the usual output.
9241      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9242      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9243      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9244        lt_cv_prog_compiler_rtti_exceptions=yes
9245      fi
9246    fi
9247    $RM conftest*
9248
9249 fi
9250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9251 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9252
9253 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9254     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9255 else
9256     :
9257 fi
9258
9259 fi
9260
9261
9262
9263
9264
9265
9266   lt_prog_compiler_wl=
9267 lt_prog_compiler_pic=
9268 lt_prog_compiler_static=
9269
9270
9271   if test "$GCC" = yes; then
9272     lt_prog_compiler_wl='-Wl,'
9273     lt_prog_compiler_static='-static'
9274
9275     case $host_os in
9276       aix*)
9277       # All AIX code is PIC.
9278       if test "$host_cpu" = ia64; then
9279         # AIX 5 now supports IA64 processor
9280         lt_prog_compiler_static='-Bstatic'
9281       fi
9282       ;;
9283
9284     amigaos*)
9285       case $host_cpu in
9286       powerpc)
9287             # see comment about AmigaOS4 .so support
9288             lt_prog_compiler_pic='-fPIC'
9289         ;;
9290       m68k)
9291             # FIXME: we need at least 68020 code to build shared libraries, but
9292             # adding the `-m68020' flag to GCC prevents building anything better,
9293             # like `-m68040'.
9294             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9295         ;;
9296       esac
9297       ;;
9298
9299     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9300       # PIC is the default for these OSes.
9301       ;;
9302
9303     mingw* | cygwin* | pw32* | os2* | cegcc*)
9304       # This hack is so that the source file can tell whether it is being
9305       # built for inclusion in a dll (and should export symbols for example).
9306       # Although the cygwin gcc ignores -fPIC, still need this for old-style
9307       # (--disable-auto-import) libraries
9308       lt_prog_compiler_pic='-DDLL_EXPORT'
9309       ;;
9310
9311     darwin* | rhapsody*)
9312       # PIC is the default on this platform
9313       # Common symbols not allowed in MH_DYLIB files
9314       lt_prog_compiler_pic='-fno-common'
9315       ;;
9316
9317     haiku*)
9318       # PIC is the default for Haiku.
9319       # The "-static" flag exists, but is broken.
9320       lt_prog_compiler_static=
9321       ;;
9322
9323     hpux*)
9324       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9325       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9326       # sets the default TLS model and affects inlining.
9327       case $host_cpu in
9328       hppa*64*)
9329         # +Z the default
9330         ;;
9331       *)
9332         lt_prog_compiler_pic='-fPIC'
9333         ;;
9334       esac
9335       ;;
9336
9337     interix[3-9]*)
9338       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9339       # Instead, we relocate shared libraries at runtime.
9340       ;;
9341
9342     msdosdjgpp*)
9343       # Just because we use GCC doesn't mean we suddenly get shared libraries
9344       # on systems that don't support them.
9345       lt_prog_compiler_can_build_shared=no
9346       enable_shared=no
9347       ;;
9348
9349     *nto* | *qnx*)
9350       # QNX uses GNU C++, but need to define -shared option too, otherwise
9351       # it will coredump.
9352       lt_prog_compiler_pic='-fPIC -shared'
9353       ;;
9354
9355     sysv4*MP*)
9356       if test -d /usr/nec; then
9357         lt_prog_compiler_pic=-Kconform_pic
9358       fi
9359       ;;
9360
9361     *)
9362       lt_prog_compiler_pic='-fPIC'
9363       ;;
9364     esac
9365
9366     case $cc_basename in
9367     nvcc*) # Cuda Compiler Driver 2.2
9368       lt_prog_compiler_wl='-Xlinker '
9369       if test -n "$lt_prog_compiler_pic"; then
9370         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9371       fi
9372       ;;
9373     esac
9374   else
9375     # PORTME Check for flag to pass linker flags through the system compiler.
9376     case $host_os in
9377     aix*)
9378       lt_prog_compiler_wl='-Wl,'
9379       if test "$host_cpu" = ia64; then
9380         # AIX 5 now supports IA64 processor
9381         lt_prog_compiler_static='-Bstatic'
9382       else
9383         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9384       fi
9385       ;;
9386
9387     mingw* | cygwin* | pw32* | os2* | cegcc*)
9388       # This hack is so that the source file can tell whether it is being
9389       # built for inclusion in a dll (and should export symbols for example).
9390       lt_prog_compiler_pic='-DDLL_EXPORT'
9391       ;;
9392
9393     hpux9* | hpux10* | hpux11*)
9394       lt_prog_compiler_wl='-Wl,'
9395       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9396       # not for PA HP-UX.
9397       case $host_cpu in
9398       hppa*64*|ia64*)
9399         # +Z the default
9400         ;;
9401       *)
9402         lt_prog_compiler_pic='+Z'
9403         ;;
9404       esac
9405       # Is there a better lt_prog_compiler_static that works with the bundled CC?
9406       lt_prog_compiler_static='${wl}-a ${wl}archive'
9407       ;;
9408
9409     irix5* | irix6* | nonstopux*)
9410       lt_prog_compiler_wl='-Wl,'
9411       # PIC (with -KPIC) is the default.
9412       lt_prog_compiler_static='-non_shared'
9413       ;;
9414
9415     linux* | k*bsd*-gnu | kopensolaris*-gnu)
9416       case $cc_basename in
9417       # old Intel for x86_64 which still supported -KPIC.
9418       ecc*)
9419         lt_prog_compiler_wl='-Wl,'
9420         lt_prog_compiler_pic='-KPIC'
9421         lt_prog_compiler_static='-static'
9422         ;;
9423       # icc used to be incompatible with GCC.
9424       # ICC 10 doesn't accept -KPIC any more.
9425       icc* | ifort*)
9426         lt_prog_compiler_wl='-Wl,'
9427         lt_prog_compiler_pic='-fPIC'
9428         lt_prog_compiler_static='-static'
9429         ;;
9430       # Lahey Fortran 8.1.
9431       lf95*)
9432         lt_prog_compiler_wl='-Wl,'
9433         lt_prog_compiler_pic='--shared'
9434         lt_prog_compiler_static='--static'
9435         ;;
9436       nagfor*)
9437         # NAG Fortran compiler
9438         lt_prog_compiler_wl='-Wl,-Wl,,'
9439         lt_prog_compiler_pic='-PIC'
9440         lt_prog_compiler_static='-Bstatic'
9441         ;;
9442       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9443         # Portland Group compilers (*not* the Pentium gcc compiler,
9444         # which looks to be a dead project)
9445         lt_prog_compiler_wl='-Wl,'
9446         lt_prog_compiler_pic='-fpic'
9447         lt_prog_compiler_static='-Bstatic'
9448         ;;
9449       ccc*)
9450         lt_prog_compiler_wl='-Wl,'
9451         # All Alpha code is PIC.
9452         lt_prog_compiler_static='-non_shared'
9453         ;;
9454       xl* | bgxl* | bgf* | mpixl*)
9455         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9456         lt_prog_compiler_wl='-Wl,'
9457         lt_prog_compiler_pic='-qpic'
9458         lt_prog_compiler_static='-qstaticlink'
9459         ;;
9460       *)
9461         case `$CC -V 2>&1 | sed 5q` in
9462         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9463           # Sun Fortran 8.3 passes all unrecognized flags to the linker
9464           lt_prog_compiler_pic='-KPIC'
9465           lt_prog_compiler_static='-Bstatic'
9466           lt_prog_compiler_wl=''
9467           ;;
9468         *Sun\ F* | *Sun*Fortran*)
9469           lt_prog_compiler_pic='-KPIC'
9470           lt_prog_compiler_static='-Bstatic'
9471           lt_prog_compiler_wl='-Qoption ld '
9472           ;;
9473         *Sun\ C*)
9474           # Sun C 5.9
9475           lt_prog_compiler_pic='-KPIC'
9476           lt_prog_compiler_static='-Bstatic'
9477           lt_prog_compiler_wl='-Wl,'
9478           ;;
9479         *Intel*\ [CF]*Compiler*)
9480           lt_prog_compiler_wl='-Wl,'
9481           lt_prog_compiler_pic='-fPIC'
9482           lt_prog_compiler_static='-static'
9483           ;;
9484         *Portland\ Group*)
9485           lt_prog_compiler_wl='-Wl,'
9486           lt_prog_compiler_pic='-fpic'
9487           lt_prog_compiler_static='-Bstatic'
9488           ;;
9489         esac
9490         ;;
9491       esac
9492       ;;
9493
9494     newsos6)
9495       lt_prog_compiler_pic='-KPIC'
9496       lt_prog_compiler_static='-Bstatic'
9497       ;;
9498
9499     *nto* | *qnx*)
9500       # QNX uses GNU C++, but need to define -shared option too, otherwise
9501       # it will coredump.
9502       lt_prog_compiler_pic='-fPIC -shared'
9503       ;;
9504
9505     osf3* | osf4* | osf5*)
9506       lt_prog_compiler_wl='-Wl,'
9507       # All OSF/1 code is PIC.
9508       lt_prog_compiler_static='-non_shared'
9509       ;;
9510
9511     rdos*)
9512       lt_prog_compiler_static='-non_shared'
9513       ;;
9514
9515     solaris*)
9516       lt_prog_compiler_pic='-KPIC'
9517       lt_prog_compiler_static='-Bstatic'
9518       case $cc_basename in
9519       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9520         lt_prog_compiler_wl='-Qoption ld ';;
9521       *)
9522         lt_prog_compiler_wl='-Wl,';;
9523       esac
9524       ;;
9525
9526     sunos4*)
9527       lt_prog_compiler_wl='-Qoption ld '
9528       lt_prog_compiler_pic='-PIC'
9529       lt_prog_compiler_static='-Bstatic'
9530       ;;
9531
9532     sysv4 | sysv4.2uw2* | sysv4.3*)
9533       lt_prog_compiler_wl='-Wl,'
9534       lt_prog_compiler_pic='-KPIC'
9535       lt_prog_compiler_static='-Bstatic'
9536       ;;
9537
9538     sysv4*MP*)
9539       if test -d /usr/nec ;then
9540         lt_prog_compiler_pic='-Kconform_pic'
9541         lt_prog_compiler_static='-Bstatic'
9542       fi
9543       ;;
9544
9545     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9546       lt_prog_compiler_wl='-Wl,'
9547       lt_prog_compiler_pic='-KPIC'
9548       lt_prog_compiler_static='-Bstatic'
9549       ;;
9550
9551     unicos*)
9552       lt_prog_compiler_wl='-Wl,'
9553       lt_prog_compiler_can_build_shared=no
9554       ;;
9555
9556     uts4*)
9557       lt_prog_compiler_pic='-pic'
9558       lt_prog_compiler_static='-Bstatic'
9559       ;;
9560
9561     *)
9562       lt_prog_compiler_can_build_shared=no
9563       ;;
9564     esac
9565   fi
9566
9567 case $host_os in
9568   # For platforms which do not support PIC, -DPIC is meaningless:
9569   *djgpp*)
9570     lt_prog_compiler_pic=
9571     ;;
9572   *)
9573     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9574     ;;
9575 esac
9576
9577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9578 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9579 if ${lt_cv_prog_compiler_pic+:} false; then :
9580   $as_echo_n "(cached) " >&6
9581 else
9582   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9583 fi
9584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9585 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9586 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9587
9588 #
9589 # Check to make sure the PIC flag actually works.
9590 #
9591 if test -n "$lt_prog_compiler_pic"; then
9592   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9593 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9594 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9595   $as_echo_n "(cached) " >&6
9596 else
9597   lt_cv_prog_compiler_pic_works=no
9598    ac_outfile=conftest.$ac_objext
9599    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9600    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9601    # Insert the option either (1) after the last *FLAGS variable, or
9602    # (2) before a word containing "conftest.", or (3) at the end.
9603    # Note that $ac_compile itself does not contain backslashes and begins
9604    # with a dollar sign (not a hyphen), so the echo should work correctly.
9605    # The option is referenced via a variable to avoid confusing sed.
9606    lt_compile=`echo "$ac_compile" | $SED \
9607    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9608    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9609    -e 's:$: $lt_compiler_flag:'`
9610    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9611    (eval "$lt_compile" 2>conftest.err)
9612    ac_status=$?
9613    cat conftest.err >&5
9614    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9615    if (exit $ac_status) && test -s "$ac_outfile"; then
9616      # The compiler can only warn and ignore the option if not recognized
9617      # So say no if there are warnings other than the usual output.
9618      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9619      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9620      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9621        lt_cv_prog_compiler_pic_works=yes
9622      fi
9623    fi
9624    $RM conftest*
9625
9626 fi
9627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9628 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9629
9630 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9631     case $lt_prog_compiler_pic in
9632      "" | " "*) ;;
9633      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9634      esac
9635 else
9636     lt_prog_compiler_pic=
9637      lt_prog_compiler_can_build_shared=no
9638 fi
9639
9640 fi
9641
9642
9643
9644
9645
9646
9647
9648
9649
9650
9651
9652 #
9653 # Check to make sure the static flag actually works.
9654 #
9655 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9657 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9658 if ${lt_cv_prog_compiler_static_works+:} false; then :
9659   $as_echo_n "(cached) " >&6
9660 else
9661   lt_cv_prog_compiler_static_works=no
9662    save_LDFLAGS="$LDFLAGS"
9663    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9664    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9665    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9666      # The linker can only warn and ignore the option if not recognized
9667      # So say no if there are warnings
9668      if test -s conftest.err; then
9669        # Append any errors to the config.log.
9670        cat conftest.err 1>&5
9671        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9672        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9673        if diff conftest.exp conftest.er2 >/dev/null; then
9674          lt_cv_prog_compiler_static_works=yes
9675        fi
9676      else
9677        lt_cv_prog_compiler_static_works=yes
9678      fi
9679    fi
9680    $RM -r conftest*
9681    LDFLAGS="$save_LDFLAGS"
9682
9683 fi
9684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9685 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9686
9687 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9688     :
9689 else
9690     lt_prog_compiler_static=
9691 fi
9692
9693
9694
9695
9696
9697
9698
9699   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9700 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9701 if ${lt_cv_prog_compiler_c_o+:} false; then :
9702   $as_echo_n "(cached) " >&6
9703 else
9704   lt_cv_prog_compiler_c_o=no
9705    $RM -r conftest 2>/dev/null
9706    mkdir conftest
9707    cd conftest
9708    mkdir out
9709    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9710
9711    lt_compiler_flag="-o out/conftest2.$ac_objext"
9712    # Insert the option either (1) after the last *FLAGS variable, or
9713    # (2) before a word containing "conftest.", or (3) at the end.
9714    # Note that $ac_compile itself does not contain backslashes and begins
9715    # with a dollar sign (not a hyphen), so the echo should work correctly.
9716    lt_compile=`echo "$ac_compile" | $SED \
9717    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9718    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9719    -e 's:$: $lt_compiler_flag:'`
9720    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9721    (eval "$lt_compile" 2>out/conftest.err)
9722    ac_status=$?
9723    cat out/conftest.err >&5
9724    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9725    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9726    then
9727      # The compiler can only warn and ignore the option if not recognized
9728      # So say no if there are warnings
9729      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9730      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9731      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9732        lt_cv_prog_compiler_c_o=yes
9733      fi
9734    fi
9735    chmod u+w . 2>&5
9736    $RM conftest*
9737    # SGI C++ compiler will create directory out/ii_files/ for
9738    # template instantiation
9739    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9740    $RM out/* && rmdir out
9741    cd ..
9742    $RM -r conftest
9743    $RM conftest*
9744
9745 fi
9746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9747 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9748
9749
9750
9751
9752
9753
9754   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9755 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9756 if ${lt_cv_prog_compiler_c_o+:} false; then :
9757   $as_echo_n "(cached) " >&6
9758 else
9759   lt_cv_prog_compiler_c_o=no
9760    $RM -r conftest 2>/dev/null
9761    mkdir conftest
9762    cd conftest
9763    mkdir out
9764    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9765
9766    lt_compiler_flag="-o out/conftest2.$ac_objext"
9767    # Insert the option either (1) after the last *FLAGS variable, or
9768    # (2) before a word containing "conftest.", or (3) at the end.
9769    # Note that $ac_compile itself does not contain backslashes and begins
9770    # with a dollar sign (not a hyphen), so the echo should work correctly.
9771    lt_compile=`echo "$ac_compile" | $SED \
9772    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9773    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9774    -e 's:$: $lt_compiler_flag:'`
9775    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9776    (eval "$lt_compile" 2>out/conftest.err)
9777    ac_status=$?
9778    cat out/conftest.err >&5
9779    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9780    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9781    then
9782      # The compiler can only warn and ignore the option if not recognized
9783      # So say no if there are warnings
9784      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9785      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9786      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9787        lt_cv_prog_compiler_c_o=yes
9788      fi
9789    fi
9790    chmod u+w . 2>&5
9791    $RM conftest*
9792    # SGI C++ compiler will create directory out/ii_files/ for
9793    # template instantiation
9794    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9795    $RM out/* && rmdir out
9796    cd ..
9797    $RM -r conftest
9798    $RM conftest*
9799
9800 fi
9801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9802 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9803
9804
9805
9806
9807 hard_links="nottested"
9808 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9809   # do not overwrite the value of need_locks provided by the user
9810   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9811 $as_echo_n "checking if we can lock with hard links... " >&6; }
9812   hard_links=yes
9813   $RM conftest*
9814   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9815   touch conftest.a
9816   ln conftest.a conftest.b 2>&5 || hard_links=no
9817   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9818   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9819 $as_echo "$hard_links" >&6; }
9820   if test "$hard_links" = no; then
9821     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9822 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9823     need_locks=warn
9824   fi
9825 else
9826   need_locks=no
9827 fi
9828
9829
9830
9831
9832
9833
9834   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9835 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9836
9837   runpath_var=
9838   allow_undefined_flag=
9839   always_export_symbols=no
9840   archive_cmds=
9841   archive_expsym_cmds=
9842   compiler_needs_object=no
9843   enable_shared_with_static_runtimes=no
9844   export_dynamic_flag_spec=
9845   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9846   hardcode_automatic=no
9847   hardcode_direct=no
9848   hardcode_direct_absolute=no
9849   hardcode_libdir_flag_spec=
9850   hardcode_libdir_separator=
9851   hardcode_minus_L=no
9852   hardcode_shlibpath_var=unsupported
9853   inherit_rpath=no
9854   link_all_deplibs=unknown
9855   module_cmds=
9856   module_expsym_cmds=
9857   old_archive_from_new_cmds=
9858   old_archive_from_expsyms_cmds=
9859   thread_safe_flag_spec=
9860   whole_archive_flag_spec=
9861   # include_expsyms should be a list of space-separated symbols to be *always*
9862   # included in the symbol list
9863   include_expsyms=
9864   # exclude_expsyms can be an extended regexp of symbols to exclude
9865   # it will be wrapped by ` (' and `)$', so one must not match beginning or
9866   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9867   # as well as any symbol that contains `d'.
9868   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9869   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9870   # platforms (ab)use it in PIC code, but their linkers get confused if
9871   # the symbol is explicitly referenced.  Since portable code cannot
9872   # rely on this symbol name, it's probably fine to never include it in
9873   # preloaded symbol tables.
9874   # Exclude shared library initialization/finalization symbols.
9875   extract_expsyms_cmds=
9876
9877   case $host_os in
9878   cygwin* | mingw* | pw32* | cegcc*)
9879     # FIXME: the MSVC++ port hasn't been tested in a loooong time
9880     # When not using gcc, we currently assume that we are using
9881     # Microsoft Visual C++.
9882     if test "$GCC" != yes; then
9883       with_gnu_ld=no
9884     fi
9885     ;;
9886   interix*)
9887     # we just hope/assume this is gcc and not c89 (= MSVC++)
9888     with_gnu_ld=yes
9889     ;;
9890   openbsd*)
9891     with_gnu_ld=no
9892     ;;
9893   linux* | k*bsd*-gnu | gnu*)
9894     link_all_deplibs=no
9895     ;;
9896   esac
9897
9898   ld_shlibs=yes
9899
9900   # On some targets, GNU ld is compatible enough with the native linker
9901   # that we're better off using the native interface for both.
9902   lt_use_gnu_ld_interface=no
9903   if test "$with_gnu_ld" = yes; then
9904     case $host_os in
9905       aix*)
9906         # The AIX port of GNU ld has always aspired to compatibility
9907         # with the native linker.  However, as the warning in the GNU ld
9908         # block says, versions before 2.19.5* couldn't really create working
9909         # shared libraries, regardless of the interface used.
9910         case `$LD -v 2>&1` in
9911           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9912           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9913           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9914           *)
9915             lt_use_gnu_ld_interface=yes
9916             ;;
9917         esac
9918         ;;
9919       *)
9920         lt_use_gnu_ld_interface=yes
9921         ;;
9922     esac
9923   fi
9924
9925   if test "$lt_use_gnu_ld_interface" = yes; then
9926     # If archive_cmds runs LD, not CC, wlarc should be empty
9927     wlarc='${wl}'
9928
9929     # Set some defaults for GNU ld with shared library support. These
9930     # are reset later if shared libraries are not supported. Putting them
9931     # here allows them to be overridden if necessary.
9932     runpath_var=LD_RUN_PATH
9933     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9934     export_dynamic_flag_spec='${wl}--export-dynamic'
9935     # ancient GNU ld didn't support --whole-archive et. al.
9936     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9937       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9938     else
9939       whole_archive_flag_spec=
9940     fi
9941     supports_anon_versioning=no
9942     case `$LD -v 2>&1` in
9943       *GNU\ gold*) supports_anon_versioning=yes ;;
9944       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9945       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9946       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9947       *\ 2.11.*) ;; # other 2.11 versions
9948       *) supports_anon_versioning=yes ;;
9949     esac
9950
9951     # See if GNU ld supports shared libraries.
9952     case $host_os in
9953     aix[3-9]*)
9954       # On AIX/PPC, the GNU linker is very broken
9955       if test "$host_cpu" != ia64; then
9956         ld_shlibs=no
9957         cat <<_LT_EOF 1>&2
9958
9959 *** Warning: the GNU linker, at least up to release 2.19, is reported
9960 *** to be unable to reliably create shared libraries on AIX.
9961 *** Therefore, libtool is disabling shared libraries support.  If you
9962 *** really care for shared libraries, you may want to install binutils
9963 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9964 *** You will then need to restart the configuration process.
9965
9966 _LT_EOF
9967       fi
9968       ;;
9969
9970     amigaos*)
9971       case $host_cpu in
9972       powerpc)
9973             # see comment about AmigaOS4 .so support
9974             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9975             archive_expsym_cmds=''
9976         ;;
9977       m68k)
9978             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)'
9979             hardcode_libdir_flag_spec='-L$libdir'
9980             hardcode_minus_L=yes
9981         ;;
9982       esac
9983       ;;
9984
9985     beos*)
9986       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9987         allow_undefined_flag=unsupported
9988         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9989         # support --undefined.  This deserves some investigation.  FIXME
9990         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9991       else
9992         ld_shlibs=no
9993       fi
9994       ;;
9995
9996     cygwin* | mingw* | pw32* | cegcc*)
9997       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9998       # as there is no search path for DLLs.
9999       hardcode_libdir_flag_spec='-L$libdir'
10000       export_dynamic_flag_spec='${wl}--export-all-symbols'
10001       allow_undefined_flag=unsupported
10002       always_export_symbols=no
10003       enable_shared_with_static_runtimes=yes
10004       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'
10005       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10006
10007       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10008         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10009         # If the export-symbols file already is a .def file (1st line
10010         # is EXPORTS), use it as is; otherwise, prepend...
10011         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10012           cp $export_symbols $output_objdir/$soname.def;
10013         else
10014           echo EXPORTS > $output_objdir/$soname.def;
10015           cat $export_symbols >> $output_objdir/$soname.def;
10016         fi~
10017         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10018       else
10019         ld_shlibs=no
10020       fi
10021       ;;
10022
10023     haiku*)
10024       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10025       link_all_deplibs=yes
10026       ;;
10027
10028     interix[3-9]*)
10029       hardcode_direct=no
10030       hardcode_shlibpath_var=no
10031       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10032       export_dynamic_flag_spec='${wl}-E'
10033       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10034       # Instead, shared libraries are loaded at an image base (0x10000000 by
10035       # default) and relocated if they conflict, which is a slow very memory
10036       # consuming and fragmenting process.  To avoid this, we pick a random,
10037       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10038       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
10039       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10040       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'
10041       ;;
10042
10043     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10044       tmp_diet=no
10045       if test "$host_os" = linux-dietlibc; then
10046         case $cc_basename in
10047           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
10048         esac
10049       fi
10050       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10051          && test "$tmp_diet" = no
10052       then
10053         tmp_addflag=' $pic_flag'
10054         tmp_sharedflag='-shared'
10055         case $cc_basename,$host_cpu in
10056         pgcc*)                          # Portland Group C compiler
10057           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'
10058           tmp_addflag=' $pic_flag'
10059           ;;
10060         pgf77* | pgf90* | pgf95* | pgfortran*)
10061                                         # Portland Group f77 and f90 compilers
10062           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'
10063           tmp_addflag=' $pic_flag -Mnomain' ;;
10064         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
10065           tmp_addflag=' -i_dynamic' ;;
10066         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
10067           tmp_addflag=' -i_dynamic -nofor_main' ;;
10068         ifc* | ifort*)                  # Intel Fortran compiler
10069           tmp_addflag=' -nofor_main' ;;
10070         lf95*)                          # Lahey Fortran 8.1
10071           whole_archive_flag_spec=
10072           tmp_sharedflag='--shared' ;;
10073         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10074           tmp_sharedflag='-qmkshrobj'
10075           tmp_addflag= ;;
10076         nvcc*)  # Cuda Compiler Driver 2.2
10077           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'
10078           compiler_needs_object=yes
10079           ;;
10080         esac
10081         case `$CC -V 2>&1 | sed 5q` in
10082         *Sun\ C*)                       # Sun C 5.9
10083           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'
10084           compiler_needs_object=yes
10085           tmp_sharedflag='-G' ;;
10086         *Sun\ F*)                       # Sun Fortran 8.3
10087           tmp_sharedflag='-G' ;;
10088         esac
10089         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10090
10091         if test "x$supports_anon_versioning" = xyes; then
10092           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10093             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10094             echo "local: *; };" >> $output_objdir/$libname.ver~
10095             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10096         fi
10097
10098         case $cc_basename in
10099         xlf* | bgf* | bgxlf* | mpixlf*)
10100           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10101           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10102           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10103           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10104           if test "x$supports_anon_versioning" = xyes; then
10105             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10106               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10107               echo "local: *; };" >> $output_objdir/$libname.ver~
10108               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10109           fi
10110           ;;
10111         esac
10112       else
10113         ld_shlibs=no
10114       fi
10115       ;;
10116
10117     netbsd* | netbsdelf*-gnu)
10118       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10119         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10120         wlarc=
10121       else
10122         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10123         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10124       fi
10125       ;;
10126
10127     solaris*)
10128       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10129         ld_shlibs=no
10130         cat <<_LT_EOF 1>&2
10131
10132 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10133 *** create shared libraries on Solaris systems.  Therefore, libtool
10134 *** is disabling shared libraries support.  We urge you to upgrade GNU
10135 *** binutils to release 2.9.1 or newer.  Another option is to modify
10136 *** your PATH or compiler configuration so that the native linker is
10137 *** used, and then restart.
10138
10139 _LT_EOF
10140       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10141         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10142         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10143       else
10144         ld_shlibs=no
10145       fi
10146       ;;
10147
10148     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10149       case `$LD -v 2>&1` in
10150         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10151         ld_shlibs=no
10152         cat <<_LT_EOF 1>&2
10153
10154 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10155 *** reliably create shared libraries on SCO systems.  Therefore, libtool
10156 *** is disabling shared libraries support.  We urge you to upgrade GNU
10157 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
10158 *** your PATH or compiler configuration so that the native linker is
10159 *** used, and then restart.
10160
10161 _LT_EOF
10162         ;;
10163         *)
10164           # For security reasons, it is highly recommended that you always
10165           # use absolute paths for naming shared libraries, and exclude the
10166           # DT_RUNPATH tag from executables and libraries.  But doing so
10167           # requires that you compile everything twice, which is a pain.
10168           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10169             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10170             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10171             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10172           else
10173             ld_shlibs=no
10174           fi
10175         ;;
10176       esac
10177       ;;
10178
10179     sunos4*)
10180       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10181       wlarc=
10182       hardcode_direct=yes
10183       hardcode_shlibpath_var=no
10184       ;;
10185
10186     *)
10187       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10188         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10189         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10190       else
10191         ld_shlibs=no
10192       fi
10193       ;;
10194     esac
10195
10196     if test "$ld_shlibs" = no; then
10197       runpath_var=
10198       hardcode_libdir_flag_spec=
10199       export_dynamic_flag_spec=
10200       whole_archive_flag_spec=
10201     fi
10202   else
10203     # PORTME fill in a description of your system's linker (not GNU ld)
10204     case $host_os in
10205     aix3*)
10206       allow_undefined_flag=unsupported
10207       always_export_symbols=yes
10208       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'
10209       # Note: this linker hardcodes the directories in LIBPATH if there
10210       # are no directories specified by -L.
10211       hardcode_minus_L=yes
10212       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10213         # Neither direct hardcoding nor static linking is supported with a
10214         # broken collect2.
10215         hardcode_direct=unsupported
10216       fi
10217       ;;
10218
10219     aix[4-9]*)
10220       if test "$host_cpu" = ia64; then
10221         # On IA64, the linker does run time linking by default, so we don't
10222         # have to do anything special.
10223         aix_use_runtimelinking=no
10224         exp_sym_flag='-Bexport'
10225         no_entry_flag=""
10226       else
10227         # If we're using GNU nm, then we don't want the "-C" option.
10228         # -C means demangle to AIX nm, but means don't demangle with GNU nm
10229         # Also, AIX nm treats weak defined symbols like other global
10230         # defined symbols, whereas GNU nm marks them as "W".
10231         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10232           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'
10233         else
10234           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'
10235         fi
10236         aix_use_runtimelinking=no
10237
10238         # Test if we are trying to use run time linking or normal
10239         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10240         # need to do runtime linking.
10241         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10242           for ld_flag in $LDFLAGS; do
10243           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10244             aix_use_runtimelinking=yes
10245             break
10246           fi
10247           done
10248           ;;
10249         esac
10250
10251         exp_sym_flag='-bexport'
10252         no_entry_flag='-bnoentry'
10253       fi
10254
10255       # When large executables or shared objects are built, AIX ld can
10256       # have problems creating the table of contents.  If linking a library
10257       # or program results in "error TOC overflow" add -mminimal-toc to
10258       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10259       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10260
10261       archive_cmds=''
10262       hardcode_direct=yes
10263       hardcode_direct_absolute=yes
10264       hardcode_libdir_separator=':'
10265       link_all_deplibs=yes
10266       file_list_spec='${wl}-f,'
10267
10268       if test "$GCC" = yes; then
10269         case $host_os in aix4.[012]|aix4.[012].*)
10270         # We only want to do this on AIX 4.2 and lower, the check
10271         # below for broken collect2 doesn't work under 4.3+
10272           collect2name=`${CC} -print-prog-name=collect2`
10273           if test -f "$collect2name" &&
10274            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10275           then
10276           # We have reworked collect2
10277           :
10278           else
10279           # We have old collect2
10280           hardcode_direct=unsupported
10281           # It fails to find uninstalled libraries when the uninstalled
10282           # path is not listed in the libpath.  Setting hardcode_minus_L
10283           # to unsupported forces relinking
10284           hardcode_minus_L=yes
10285           hardcode_libdir_flag_spec='-L$libdir'
10286           hardcode_libdir_separator=
10287           fi
10288           ;;
10289         esac
10290         shared_flag='-shared'
10291         if test "$aix_use_runtimelinking" = yes; then
10292           shared_flag="$shared_flag "'${wl}-G'
10293         fi
10294         link_all_deplibs=no
10295       else
10296         # not using gcc
10297         if test "$host_cpu" = ia64; then
10298         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10299         # chokes on -Wl,-G. The following line is correct:
10300           shared_flag='-G'
10301         else
10302           if test "$aix_use_runtimelinking" = yes; then
10303             shared_flag='${wl}-G'
10304           else
10305             shared_flag='${wl}-bM:SRE'
10306           fi
10307         fi
10308       fi
10309
10310       export_dynamic_flag_spec='${wl}-bexpall'
10311       # It seems that -bexpall does not export symbols beginning with
10312       # underscore (_), so it is better to generate a list of symbols to export.
10313       always_export_symbols=yes
10314       if test "$aix_use_runtimelinking" = yes; then
10315         # Warning - without using the other runtime loading flags (-brtl),
10316         # -berok will link without error, but may produce a broken library.
10317         allow_undefined_flag='-berok'
10318         # Determine the default libpath from the value encoded in an
10319         # empty executable.
10320         if test "${lt_cv_aix_libpath+set}" = set; then
10321   aix_libpath=$lt_cv_aix_libpath
10322 else
10323   if ${lt_cv_aix_libpath_+:} false; then :
10324   $as_echo_n "(cached) " >&6
10325 else
10326   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10327 /* end confdefs.h.  */
10328
10329 int
10330 main ()
10331 {
10332
10333   ;
10334   return 0;
10335 }
10336 _ACEOF
10337 if ac_fn_c_try_link "$LINENO"; then :
10338
10339   lt_aix_libpath_sed='
10340       /Import File Strings/,/^$/ {
10341           /^0/ {
10342               s/^0  *\([^ ]*\) *$/\1/
10343               p
10344           }
10345       }'
10346   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10347   # Check for a 64-bit object if we didn't find anything.
10348   if test -z "$lt_cv_aix_libpath_"; then
10349     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10350   fi
10351 fi
10352 rm -f core conftest.err conftest.$ac_objext \
10353     conftest$ac_exeext conftest.$ac_ext
10354   if test -z "$lt_cv_aix_libpath_"; then
10355     lt_cv_aix_libpath_="/usr/lib:/lib"
10356   fi
10357
10358 fi
10359
10360   aix_libpath=$lt_cv_aix_libpath_
10361 fi
10362
10363         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10364         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"
10365       else
10366         if test "$host_cpu" = ia64; then
10367           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10368           allow_undefined_flag="-z nodefs"
10369           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"
10370         else
10371          # Determine the default libpath from the value encoded in an
10372          # empty executable.
10373          if test "${lt_cv_aix_libpath+set}" = set; then
10374   aix_libpath=$lt_cv_aix_libpath
10375 else
10376   if ${lt_cv_aix_libpath_+:} false; then :
10377   $as_echo_n "(cached) " >&6
10378 else
10379   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10380 /* end confdefs.h.  */
10381
10382 int
10383 main ()
10384 {
10385
10386   ;
10387   return 0;
10388 }
10389 _ACEOF
10390 if ac_fn_c_try_link "$LINENO"; then :
10391
10392   lt_aix_libpath_sed='
10393       /Import File Strings/,/^$/ {
10394           /^0/ {
10395               s/^0  *\([^ ]*\) *$/\1/
10396               p
10397           }
10398       }'
10399   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10400   # Check for a 64-bit object if we didn't find anything.
10401   if test -z "$lt_cv_aix_libpath_"; then
10402     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10403   fi
10404 fi
10405 rm -f core conftest.err conftest.$ac_objext \
10406     conftest$ac_exeext conftest.$ac_ext
10407   if test -z "$lt_cv_aix_libpath_"; then
10408     lt_cv_aix_libpath_="/usr/lib:/lib"
10409   fi
10410
10411 fi
10412
10413   aix_libpath=$lt_cv_aix_libpath_
10414 fi
10415
10416          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10417           # Warning - without using the other run time loading flags,
10418           # -berok will link without error, but may produce a broken library.
10419           no_undefined_flag=' ${wl}-bernotok'
10420           allow_undefined_flag=' ${wl}-berok'
10421           if test "$with_gnu_ld" = yes; then
10422             # We only use this code for GNU lds that support --whole-archive.
10423             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10424           else
10425             # Exported symbols can be pulled into shared objects from archives
10426             whole_archive_flag_spec='$convenience'
10427           fi
10428           archive_cmds_need_lc=yes
10429           # This is similar to how AIX traditionally builds its shared libraries.
10430           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'
10431         fi
10432       fi
10433       ;;
10434
10435     amigaos*)
10436       case $host_cpu in
10437       powerpc)
10438             # see comment about AmigaOS4 .so support
10439             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10440             archive_expsym_cmds=''
10441         ;;
10442       m68k)
10443             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)'
10444             hardcode_libdir_flag_spec='-L$libdir'
10445             hardcode_minus_L=yes
10446         ;;
10447       esac
10448       ;;
10449
10450     bsdi[45]*)
10451       export_dynamic_flag_spec=-rdynamic
10452       ;;
10453
10454     cygwin* | mingw* | pw32* | cegcc*)
10455       # When not using gcc, we currently assume that we are using
10456       # Microsoft Visual C++.
10457       # hardcode_libdir_flag_spec is actually meaningless, as there is
10458       # no search path for DLLs.
10459       case $cc_basename in
10460       cl*)
10461         # Native MSVC
10462         hardcode_libdir_flag_spec=' '
10463         allow_undefined_flag=unsupported
10464         always_export_symbols=yes
10465         file_list_spec='@'
10466         # Tell ltmain to make .lib files, not .a files.
10467         libext=lib
10468         # Tell ltmain to make .dll files, not .so files.
10469         shrext_cmds=".dll"
10470         # FIXME: Setting linknames here is a bad hack.
10471         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10472         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10473             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
10474           else
10475             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
10476           fi~
10477           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10478           linknames='
10479         # The linker will not automatically build a static lib if we build a DLL.
10480         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10481         enable_shared_with_static_runtimes=yes
10482         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10483         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10484         # Don't use ranlib
10485         old_postinstall_cmds='chmod 644 $oldlib'
10486         postlink_cmds='lt_outputfile="@OUTPUT@"~
10487           lt_tool_outputfile="@TOOL_OUTPUT@"~
10488           case $lt_outputfile in
10489             *.exe|*.EXE) ;;
10490             *)
10491               lt_outputfile="$lt_outputfile.exe"
10492               lt_tool_outputfile="$lt_tool_outputfile.exe"
10493               ;;
10494           esac~
10495           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10496             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10497             $RM "$lt_outputfile.manifest";
10498           fi'
10499         ;;
10500       *)
10501         # Assume MSVC wrapper
10502         hardcode_libdir_flag_spec=' '
10503         allow_undefined_flag=unsupported
10504         # Tell ltmain to make .lib files, not .a files.
10505         libext=lib
10506         # Tell ltmain to make .dll files, not .so files.
10507         shrext_cmds=".dll"
10508         # FIXME: Setting linknames here is a bad hack.
10509         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10510         # The linker will automatically build a .lib file if we build a DLL.
10511         old_archive_from_new_cmds='true'
10512         # FIXME: Should let the user specify the lib program.
10513         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10514         enable_shared_with_static_runtimes=yes
10515         ;;
10516       esac
10517       ;;
10518
10519     darwin* | rhapsody*)
10520
10521
10522   archive_cmds_need_lc=no
10523   hardcode_direct=no
10524   hardcode_automatic=yes
10525   hardcode_shlibpath_var=unsupported
10526   if test "$lt_cv_ld_force_load" = "yes"; then
10527     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\"`'
10528
10529   else
10530     whole_archive_flag_spec=''
10531   fi
10532   link_all_deplibs=yes
10533   allow_undefined_flag="$_lt_dar_allow_undefined"
10534   case $cc_basename in
10535      ifort*) _lt_dar_can_shared=yes ;;
10536      *) _lt_dar_can_shared=$GCC ;;
10537   esac
10538   if test "$_lt_dar_can_shared" = "yes"; then
10539     output_verbose_link_cmd=func_echo_all
10540     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10541     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10542     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}"
10543     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}"
10544
10545   else
10546   ld_shlibs=no
10547   fi
10548
10549       ;;
10550
10551     dgux*)
10552       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10553       hardcode_libdir_flag_spec='-L$libdir'
10554       hardcode_shlibpath_var=no
10555       ;;
10556
10557     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10558     # support.  Future versions do this automatically, but an explicit c++rt0.o
10559     # does not break anything, and helps significantly (at the cost of a little
10560     # extra space).
10561     freebsd2.2*)
10562       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10563       hardcode_libdir_flag_spec='-R$libdir'
10564       hardcode_direct=yes
10565       hardcode_shlibpath_var=no
10566       ;;
10567
10568     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10569     freebsd2.*)
10570       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10571       hardcode_direct=yes
10572       hardcode_minus_L=yes
10573       hardcode_shlibpath_var=no
10574       ;;
10575
10576     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10577     freebsd* | dragonfly*)
10578       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10579       hardcode_libdir_flag_spec='-R$libdir'
10580       hardcode_direct=yes
10581       hardcode_shlibpath_var=no
10582       ;;
10583
10584     hpux9*)
10585       if test "$GCC" = yes; then
10586         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'
10587       else
10588         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'
10589       fi
10590       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10591       hardcode_libdir_separator=:
10592       hardcode_direct=yes
10593
10594       # hardcode_minus_L: Not really in the search PATH,
10595       # but as the default location of the library.
10596       hardcode_minus_L=yes
10597       export_dynamic_flag_spec='${wl}-E'
10598       ;;
10599
10600     hpux10*)
10601       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10602         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10603       else
10604         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10605       fi
10606       if test "$with_gnu_ld" = no; then
10607         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10608         hardcode_libdir_separator=:
10609         hardcode_direct=yes
10610         hardcode_direct_absolute=yes
10611         export_dynamic_flag_spec='${wl}-E'
10612         # hardcode_minus_L: Not really in the search PATH,
10613         # but as the default location of the library.
10614         hardcode_minus_L=yes
10615       fi
10616       ;;
10617
10618     hpux11*)
10619       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10620         case $host_cpu in
10621         hppa*64*)
10622           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10623           ;;
10624         ia64*)
10625           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10626           ;;
10627         *)
10628           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10629           ;;
10630         esac
10631       else
10632         case $host_cpu in
10633         hppa*64*)
10634           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10635           ;;
10636         ia64*)
10637           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10638           ;;
10639         *)
10640
10641           # Older versions of the 11.00 compiler do not understand -b yet
10642           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10643           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10644 $as_echo_n "checking if $CC understands -b... " >&6; }
10645 if ${lt_cv_prog_compiler__b+:} false; then :
10646   $as_echo_n "(cached) " >&6
10647 else
10648   lt_cv_prog_compiler__b=no
10649    save_LDFLAGS="$LDFLAGS"
10650    LDFLAGS="$LDFLAGS -b"
10651    echo "$lt_simple_link_test_code" > conftest.$ac_ext
10652    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10653      # The linker can only warn and ignore the option if not recognized
10654      # So say no if there are warnings
10655      if test -s conftest.err; then
10656        # Append any errors to the config.log.
10657        cat conftest.err 1>&5
10658        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10659        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10660        if diff conftest.exp conftest.er2 >/dev/null; then
10661          lt_cv_prog_compiler__b=yes
10662        fi
10663      else
10664        lt_cv_prog_compiler__b=yes
10665      fi
10666    fi
10667    $RM -r conftest*
10668    LDFLAGS="$save_LDFLAGS"
10669
10670 fi
10671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10672 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10673
10674 if test x"$lt_cv_prog_compiler__b" = xyes; then
10675     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10676 else
10677     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10678 fi
10679
10680           ;;
10681         esac
10682       fi
10683       if test "$with_gnu_ld" = no; then
10684         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10685         hardcode_libdir_separator=:
10686
10687         case $host_cpu in
10688         hppa*64*|ia64*)
10689           hardcode_direct=no
10690           hardcode_shlibpath_var=no
10691           ;;
10692         *)
10693           hardcode_direct=yes
10694           hardcode_direct_absolute=yes
10695           export_dynamic_flag_spec='${wl}-E'
10696
10697           # hardcode_minus_L: Not really in the search PATH,
10698           # but as the default location of the library.
10699           hardcode_minus_L=yes
10700           ;;
10701         esac
10702       fi
10703       ;;
10704
10705     irix5* | irix6* | nonstopux*)
10706       if test "$GCC" = yes; then
10707         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'
10708         # Try to use the -exported_symbol ld option, if it does not
10709         # work, assume that -exports_file does not work either and
10710         # implicitly export all symbols.
10711         # This should be the same for all languages, so no per-tag cache variable.
10712         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10713 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10714 if ${lt_cv_irix_exported_symbol+:} false; then :
10715   $as_echo_n "(cached) " >&6
10716 else
10717   save_LDFLAGS="$LDFLAGS"
10718            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10719            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10720 /* end confdefs.h.  */
10721 int foo (void) { return 0; }
10722 _ACEOF
10723 if ac_fn_c_try_link "$LINENO"; then :
10724   lt_cv_irix_exported_symbol=yes
10725 else
10726   lt_cv_irix_exported_symbol=no
10727 fi
10728 rm -f core conftest.err conftest.$ac_objext \
10729     conftest$ac_exeext conftest.$ac_ext
10730            LDFLAGS="$save_LDFLAGS"
10731 fi
10732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10733 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10734         if test "$lt_cv_irix_exported_symbol" = yes; then
10735           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'
10736         fi
10737       else
10738         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'
10739         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'
10740       fi
10741       archive_cmds_need_lc='no'
10742       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10743       hardcode_libdir_separator=:
10744       inherit_rpath=yes
10745       link_all_deplibs=yes
10746       ;;
10747
10748     netbsd* | netbsdelf*-gnu)
10749       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10750         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10751       else
10752         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10753       fi
10754       hardcode_libdir_flag_spec='-R$libdir'
10755       hardcode_direct=yes
10756       hardcode_shlibpath_var=no
10757       ;;
10758
10759     newsos6)
10760       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10761       hardcode_direct=yes
10762       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10763       hardcode_libdir_separator=:
10764       hardcode_shlibpath_var=no
10765       ;;
10766
10767     *nto* | *qnx*)
10768       ;;
10769
10770     openbsd*)
10771       if test -f /usr/libexec/ld.so; then
10772         hardcode_direct=yes
10773         hardcode_shlibpath_var=no
10774         hardcode_direct_absolute=yes
10775         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10776           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10777           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10778           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10779           export_dynamic_flag_spec='${wl}-E'
10780         else
10781           case $host_os in
10782            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10783              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10784              hardcode_libdir_flag_spec='-R$libdir'
10785              ;;
10786            *)
10787              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10788              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10789              ;;
10790           esac
10791         fi
10792       else
10793         ld_shlibs=no
10794       fi
10795       ;;
10796
10797     os2*)
10798       hardcode_libdir_flag_spec='-L$libdir'
10799       hardcode_minus_L=yes
10800       allow_undefined_flag=unsupported
10801       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'
10802       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10803       ;;
10804
10805     osf3*)
10806       if test "$GCC" = yes; then
10807         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10808         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'
10809       else
10810         allow_undefined_flag=' -expect_unresolved \*'
10811         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'
10812       fi
10813       archive_cmds_need_lc='no'
10814       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10815       hardcode_libdir_separator=:
10816       ;;
10817
10818     osf4* | osf5*)      # as osf3* with the addition of -msym flag
10819       if test "$GCC" = yes; then
10820         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10821         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'
10822         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10823       else
10824         allow_undefined_flag=' -expect_unresolved \*'
10825         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'
10826         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~
10827         $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'
10828
10829         # Both c and cxx compiler support -rpath directly
10830         hardcode_libdir_flag_spec='-rpath $libdir'
10831       fi
10832       archive_cmds_need_lc='no'
10833       hardcode_libdir_separator=:
10834       ;;
10835
10836     solaris*)
10837       no_undefined_flag=' -z defs'
10838       if test "$GCC" = yes; then
10839         wlarc='${wl}'
10840         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10841         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10842           $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'
10843       else
10844         case `$CC -V 2>&1` in
10845         *"Compilers 5.0"*)
10846           wlarc=''
10847           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10848           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10849           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10850           ;;
10851         *)
10852           wlarc='${wl}'
10853           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10854           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10855           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10856           ;;
10857         esac
10858       fi
10859       hardcode_libdir_flag_spec='-R$libdir'
10860       hardcode_shlibpath_var=no
10861       case $host_os in
10862       solaris2.[0-5] | solaris2.[0-5].*) ;;
10863       *)
10864         # The compiler driver will combine and reorder linker options,
10865         # but understands `-z linker_flag'.  GCC discards it without `$wl',
10866         # but is careful enough not to reorder.
10867         # Supported since Solaris 2.6 (maybe 2.5.1?)
10868         if test "$GCC" = yes; then
10869           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10870         else
10871           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10872         fi
10873         ;;
10874       esac
10875       link_all_deplibs=yes
10876       ;;
10877
10878     sunos4*)
10879       if test "x$host_vendor" = xsequent; then
10880         # Use $CC to link under sequent, because it throws in some extra .o
10881         # files that make .init and .fini sections work.
10882         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10883       else
10884         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10885       fi
10886       hardcode_libdir_flag_spec='-L$libdir'
10887       hardcode_direct=yes
10888       hardcode_minus_L=yes
10889       hardcode_shlibpath_var=no
10890       ;;
10891
10892     sysv4)
10893       case $host_vendor in
10894         sni)
10895           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10896           hardcode_direct=yes # is this really true???
10897         ;;
10898         siemens)
10899           ## LD is ld it makes a PLAMLIB
10900           ## CC just makes a GrossModule.
10901           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10902           reload_cmds='$CC -r -o $output$reload_objs'
10903           hardcode_direct=no
10904         ;;
10905         motorola)
10906           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10907           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10908         ;;
10909       esac
10910       runpath_var='LD_RUN_PATH'
10911       hardcode_shlibpath_var=no
10912       ;;
10913
10914     sysv4.3*)
10915       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10916       hardcode_shlibpath_var=no
10917       export_dynamic_flag_spec='-Bexport'
10918       ;;
10919
10920     sysv4*MP*)
10921       if test -d /usr/nec; then
10922         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10923         hardcode_shlibpath_var=no
10924         runpath_var=LD_RUN_PATH
10925         hardcode_runpath_var=yes
10926         ld_shlibs=yes
10927       fi
10928       ;;
10929
10930     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10931       no_undefined_flag='${wl}-z,text'
10932       archive_cmds_need_lc=no
10933       hardcode_shlibpath_var=no
10934       runpath_var='LD_RUN_PATH'
10935
10936       if test "$GCC" = yes; then
10937         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10938         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10939       else
10940         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10941         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10942       fi
10943       ;;
10944
10945     sysv5* | sco3.2v5* | sco5v6*)
10946       # Note: We can NOT use -z defs as we might desire, because we do not
10947       # link with -lc, and that would cause any symbols used from libc to
10948       # always be unresolved, which means just about no library would
10949       # ever link correctly.  If we're not using GNU ld we use -z text
10950       # though, which does catch some bad symbols but isn't as heavy-handed
10951       # as -z defs.
10952       no_undefined_flag='${wl}-z,text'
10953       allow_undefined_flag='${wl}-z,nodefs'
10954       archive_cmds_need_lc=no
10955       hardcode_shlibpath_var=no
10956       hardcode_libdir_flag_spec='${wl}-R,$libdir'
10957       hardcode_libdir_separator=':'
10958       link_all_deplibs=yes
10959       export_dynamic_flag_spec='${wl}-Bexport'
10960       runpath_var='LD_RUN_PATH'
10961
10962       if test "$GCC" = yes; then
10963         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10964         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10965       else
10966         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10967         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10968       fi
10969       ;;
10970
10971     uts4*)
10972       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10973       hardcode_libdir_flag_spec='-L$libdir'
10974       hardcode_shlibpath_var=no
10975       ;;
10976
10977     *)
10978       ld_shlibs=no
10979       ;;
10980     esac
10981
10982     if test x$host_vendor = xsni; then
10983       case $host in
10984       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10985         export_dynamic_flag_spec='${wl}-Blargedynsym'
10986         ;;
10987       esac
10988     fi
10989   fi
10990
10991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10992 $as_echo "$ld_shlibs" >&6; }
10993 test "$ld_shlibs" = no && can_build_shared=no
10994
10995 with_gnu_ld=$with_gnu_ld
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011 #
11012 # Do we need to explicitly link libc?
11013 #
11014 case "x$archive_cmds_need_lc" in
11015 x|xyes)
11016   # Assume -lc should be added
11017   archive_cmds_need_lc=yes
11018
11019   if test "$enable_shared" = yes && test "$GCC" = yes; then
11020     case $archive_cmds in
11021     *'~'*)
11022       # FIXME: we may have to deal with multi-command sequences.
11023       ;;
11024     '$CC '*)
11025       # Test whether the compiler implicitly links with -lc since on some
11026       # systems, -lgcc has to come before -lc. If gcc already passes -lc
11027       # to ld, don't add -lc before -lgcc.
11028       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11029 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11030 if ${lt_cv_archive_cmds_need_lc+:} false; then :
11031   $as_echo_n "(cached) " >&6
11032 else
11033   $RM conftest*
11034         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11035
11036         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11037   (eval $ac_compile) 2>&5
11038   ac_status=$?
11039   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11040   test $ac_status = 0; } 2>conftest.err; then
11041           soname=conftest
11042           lib=conftest
11043           libobjs=conftest.$ac_objext
11044           deplibs=
11045           wl=$lt_prog_compiler_wl
11046           pic_flag=$lt_prog_compiler_pic
11047           compiler_flags=-v
11048           linker_flags=-v
11049           verstring=
11050           output_objdir=.
11051           libname=conftest
11052           lt_save_allow_undefined_flag=$allow_undefined_flag
11053           allow_undefined_flag=
11054           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11055   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11056   ac_status=$?
11057   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11058   test $ac_status = 0; }
11059           then
11060             lt_cv_archive_cmds_need_lc=no
11061           else
11062             lt_cv_archive_cmds_need_lc=yes
11063           fi
11064           allow_undefined_flag=$lt_save_allow_undefined_flag
11065         else
11066           cat conftest.err 1>&5
11067         fi
11068         $RM conftest*
11069
11070 fi
11071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11072 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11073       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11074       ;;
11075     esac
11076   fi
11077   ;;
11078 esac
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11232 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11233
11234 if test "$GCC" = yes; then
11235   case $host_os in
11236     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11237     *) lt_awk_arg="/^libraries:/" ;;
11238   esac
11239   case $host_os in
11240     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11241     *) lt_sed_strip_eq="s,=/,/,g" ;;
11242   esac
11243   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11244   case $lt_search_path_spec in
11245   *\;*)
11246     # if the path contains ";" then we assume it to be the separator
11247     # otherwise default to the standard path separator (i.e. ":") - it is
11248     # assumed that no part of a normal pathname contains ";" but that should
11249     # okay in the real world where ";" in dirpaths is itself problematic.
11250     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11251     ;;
11252   *)
11253     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11254     ;;
11255   esac
11256   # Ok, now we have the path, separated by spaces, we can step through it
11257   # and add multilib dir if necessary.
11258   lt_tmp_lt_search_path_spec=
11259   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11260   for lt_sys_path in $lt_search_path_spec; do
11261     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11262       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11263     else
11264       test -d "$lt_sys_path" && \
11265         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11266     fi
11267   done
11268   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11269 BEGIN {RS=" "; FS="/|\n";} {
11270   lt_foo="";
11271   lt_count=0;
11272   for (lt_i = NF; lt_i > 0; lt_i--) {
11273     if ($lt_i != "" && $lt_i != ".") {
11274       if ($lt_i == "..") {
11275         lt_count++;
11276       } else {
11277         if (lt_count == 0) {
11278           lt_foo="/" $lt_i lt_foo;
11279         } else {
11280           lt_count--;
11281         }
11282       }
11283     }
11284   }
11285   if (lt_foo != "") { lt_freq[lt_foo]++; }
11286   if (lt_freq[lt_foo] == 1) { print lt_foo; }
11287 }'`
11288   # AWK program above erroneously prepends '/' to C:/dos/paths
11289   # for these hosts.
11290   case $host_os in
11291     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11292       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11293   esac
11294   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11295 else
11296   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11297 fi
11298 library_names_spec=
11299 libname_spec='lib$name'
11300 soname_spec=
11301 shrext_cmds=".so"
11302 postinstall_cmds=
11303 postuninstall_cmds=
11304 finish_cmds=
11305 finish_eval=
11306 shlibpath_var=
11307 shlibpath_overrides_runpath=unknown
11308 version_type=none
11309 dynamic_linker="$host_os ld.so"
11310 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11311 need_lib_prefix=unknown
11312 hardcode_into_libs=no
11313
11314 # when you set need_version to no, make sure it does not cause -set_version
11315 # flags to be left without arguments
11316 need_version=unknown
11317
11318 case $host_os in
11319 aix3*)
11320   version_type=linux # correct to gnu/linux during the next big refactor
11321   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11322   shlibpath_var=LIBPATH
11323
11324   # AIX 3 has no versioning support, so we append a major version to the name.
11325   soname_spec='${libname}${release}${shared_ext}$major'
11326   ;;
11327
11328 aix[4-9]*)
11329   version_type=linux # correct to gnu/linux during the next big refactor
11330   need_lib_prefix=no
11331   need_version=no
11332   hardcode_into_libs=yes
11333   if test "$host_cpu" = ia64; then
11334     # AIX 5 supports IA64
11335     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11336     shlibpath_var=LD_LIBRARY_PATH
11337   else
11338     # With GCC up to 2.95.x, collect2 would create an import file
11339     # for dependence libraries.  The import file would start with
11340     # the line `#! .'.  This would cause the generated library to
11341     # depend on `.', always an invalid library.  This was fixed in
11342     # development snapshots of GCC prior to 3.0.
11343     case $host_os in
11344       aix4 | aix4.[01] | aix4.[01].*)
11345       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11346            echo ' yes '
11347            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11348         :
11349       else
11350         can_build_shared=no
11351       fi
11352       ;;
11353     esac
11354     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11355     # soname into executable. Probably we can add versioning support to
11356     # collect2, so additional links can be useful in future.
11357     if test "$aix_use_runtimelinking" = yes; then
11358       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11359       # instead of lib<name>.a to let people know that these are not
11360       # typical AIX shared libraries.
11361       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11362     else
11363       # We preserve .a as extension for shared libraries through AIX4.2
11364       # and later when we are not doing run time linking.
11365       library_names_spec='${libname}${release}.a $libname.a'
11366       soname_spec='${libname}${release}${shared_ext}$major'
11367     fi
11368     shlibpath_var=LIBPATH
11369   fi
11370   ;;
11371
11372 amigaos*)
11373   case $host_cpu in
11374   powerpc)
11375     # Since July 2007 AmigaOS4 officially supports .so libraries.
11376     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11377     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11378     ;;
11379   m68k)
11380     library_names_spec='$libname.ixlibrary $libname.a'
11381     # Create ${libname}_ixlibrary.a entries in /sys/libs.
11382     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'
11383     ;;
11384   esac
11385   ;;
11386
11387 beos*)
11388   library_names_spec='${libname}${shared_ext}'
11389   dynamic_linker="$host_os ld.so"
11390   shlibpath_var=LIBRARY_PATH
11391   ;;
11392
11393 bsdi[45]*)
11394   version_type=linux # correct to gnu/linux during the next big refactor
11395   need_version=no
11396   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11397   soname_spec='${libname}${release}${shared_ext}$major'
11398   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11399   shlibpath_var=LD_LIBRARY_PATH
11400   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11401   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11402   # the default ld.so.conf also contains /usr/contrib/lib and
11403   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11404   # libtool to hard-code these into programs
11405   ;;
11406
11407 cygwin* | mingw* | pw32* | cegcc*)
11408   version_type=windows
11409   shrext_cmds=".dll"
11410   need_version=no
11411   need_lib_prefix=no
11412
11413   case $GCC,$cc_basename in
11414   yes,*)
11415     # gcc
11416     library_names_spec='$libname.dll.a'
11417     # DLL is installed to $(libdir)/../bin by postinstall_cmds
11418     postinstall_cmds='base_file=`basename \${file}`~
11419       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11420       dldir=$destdir/`dirname \$dlpath`~
11421       test -d \$dldir || mkdir -p \$dldir~
11422       $install_prog $dir/$dlname \$dldir/$dlname~
11423       chmod a+x \$dldir/$dlname~
11424       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11425         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11426       fi'
11427     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11428       dlpath=$dir/\$dldll~
11429        $RM \$dlpath'
11430     shlibpath_overrides_runpath=yes
11431
11432     case $host_os in
11433     cygwin*)
11434       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11435       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11436
11437       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11438       ;;
11439     mingw* | cegcc*)
11440       # MinGW DLLs use traditional 'lib' prefix
11441       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11442       ;;
11443     pw32*)
11444       # pw32 DLLs use 'pw' prefix rather than 'lib'
11445       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11446       ;;
11447     esac
11448     dynamic_linker='Win32 ld.exe'
11449     ;;
11450
11451   *,cl*)
11452     # Native MSVC
11453     libname_spec='$name'
11454     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11455     library_names_spec='${libname}.dll.lib'
11456
11457     case $build_os in
11458     mingw*)
11459       sys_lib_search_path_spec=
11460       lt_save_ifs=$IFS
11461       IFS=';'
11462       for lt_path in $LIB
11463       do
11464         IFS=$lt_save_ifs
11465         # Let DOS variable expansion print the short 8.3 style file name.
11466         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11467         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11468       done
11469       IFS=$lt_save_ifs
11470       # Convert to MSYS style.
11471       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11472       ;;
11473     cygwin*)
11474       # Convert to unix form, then to dos form, then back to unix form
11475       # but this time dos style (no spaces!) so that the unix form looks
11476       # like /cygdrive/c/PROGRA~1:/cygdr...
11477       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11478       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11479       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11480       ;;
11481     *)
11482       sys_lib_search_path_spec="$LIB"
11483       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11484         # It is most probably a Windows format PATH.
11485         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11486       else
11487         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11488       fi
11489       # FIXME: find the short name or the path components, as spaces are
11490       # common. (e.g. "Program Files" -> "PROGRA~1")
11491       ;;
11492     esac
11493
11494     # DLL is installed to $(libdir)/../bin by postinstall_cmds
11495     postinstall_cmds='base_file=`basename \${file}`~
11496       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11497       dldir=$destdir/`dirname \$dlpath`~
11498       test -d \$dldir || mkdir -p \$dldir~
11499       $install_prog $dir/$dlname \$dldir/$dlname'
11500     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11501       dlpath=$dir/\$dldll~
11502        $RM \$dlpath'
11503     shlibpath_overrides_runpath=yes
11504     dynamic_linker='Win32 link.exe'
11505     ;;
11506
11507   *)
11508     # Assume MSVC wrapper
11509     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11510     dynamic_linker='Win32 ld.exe'
11511     ;;
11512   esac
11513   # FIXME: first we should search . and the directory the executable is in
11514   shlibpath_var=PATH
11515   ;;
11516
11517 darwin* | rhapsody*)
11518   dynamic_linker="$host_os dyld"
11519   version_type=darwin
11520   need_lib_prefix=no
11521   need_version=no
11522   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11523   soname_spec='${libname}${release}${major}$shared_ext'
11524   shlibpath_overrides_runpath=yes
11525   shlibpath_var=DYLD_LIBRARY_PATH
11526   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11527
11528   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11529   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11530   ;;
11531
11532 dgux*)
11533   version_type=linux # correct to gnu/linux during the next big refactor
11534   need_lib_prefix=no
11535   need_version=no
11536   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11537   soname_spec='${libname}${release}${shared_ext}$major'
11538   shlibpath_var=LD_LIBRARY_PATH
11539   ;;
11540
11541 freebsd* | dragonfly*)
11542   # DragonFly does not have aout.  When/if they implement a new
11543   # versioning mechanism, adjust this.
11544   if test -x /usr/bin/objformat; then
11545     objformat=`/usr/bin/objformat`
11546   else
11547     case $host_os in
11548     freebsd[23].*) objformat=aout ;;
11549     *) objformat=elf ;;
11550     esac
11551   fi
11552   version_type=freebsd-$objformat
11553   case $version_type in
11554     freebsd-elf*)
11555       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11556       need_version=no
11557       need_lib_prefix=no
11558       ;;
11559     freebsd-*)
11560       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11561       need_version=yes
11562       ;;
11563   esac
11564   shlibpath_var=LD_LIBRARY_PATH
11565   case $host_os in
11566   freebsd2.*)
11567     shlibpath_overrides_runpath=yes
11568     ;;
11569   freebsd3.[01]* | freebsdelf3.[01]*)
11570     shlibpath_overrides_runpath=yes
11571     hardcode_into_libs=yes
11572     ;;
11573   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11574   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11575     shlibpath_overrides_runpath=no
11576     hardcode_into_libs=yes
11577     ;;
11578   *) # from 4.6 on, and DragonFly
11579     shlibpath_overrides_runpath=yes
11580     hardcode_into_libs=yes
11581     ;;
11582   esac
11583   ;;
11584
11585 gnu*)
11586   version_type=linux # correct to gnu/linux during the next big refactor
11587   need_lib_prefix=no
11588   need_version=no
11589   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11590   soname_spec='${libname}${release}${shared_ext}$major'
11591   shlibpath_var=LD_LIBRARY_PATH
11592   shlibpath_overrides_runpath=no
11593   hardcode_into_libs=yes
11594   ;;
11595
11596 haiku*)
11597   version_type=linux # correct to gnu/linux during the next big refactor
11598   need_lib_prefix=no
11599   need_version=no
11600   dynamic_linker="$host_os runtime_loader"
11601   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11602   soname_spec='${libname}${release}${shared_ext}$major'
11603   shlibpath_var=LIBRARY_PATH
11604   shlibpath_overrides_runpath=yes
11605   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11606   hardcode_into_libs=yes
11607   ;;
11608
11609 hpux9* | hpux10* | hpux11*)
11610   # Give a soname corresponding to the major version so that dld.sl refuses to
11611   # link against other versions.
11612   version_type=sunos
11613   need_lib_prefix=no
11614   need_version=no
11615   case $host_cpu in
11616   ia64*)
11617     shrext_cmds='.so'
11618     hardcode_into_libs=yes
11619     dynamic_linker="$host_os dld.so"
11620     shlibpath_var=LD_LIBRARY_PATH
11621     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11622     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11623     soname_spec='${libname}${release}${shared_ext}$major'
11624     if test "X$HPUX_IA64_MODE" = X32; then
11625       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11626     else
11627       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11628     fi
11629     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11630     ;;
11631   hppa*64*)
11632     shrext_cmds='.sl'
11633     hardcode_into_libs=yes
11634     dynamic_linker="$host_os dld.sl"
11635     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11636     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11637     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11638     soname_spec='${libname}${release}${shared_ext}$major'
11639     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11640     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11641     ;;
11642   *)
11643     shrext_cmds='.sl'
11644     dynamic_linker="$host_os dld.sl"
11645     shlibpath_var=SHLIB_PATH
11646     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11647     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11648     soname_spec='${libname}${release}${shared_ext}$major'
11649     ;;
11650   esac
11651   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11652   postinstall_cmds='chmod 555 $lib'
11653   # or fails outright, so override atomically:
11654   install_override_mode=555
11655   ;;
11656
11657 interix[3-9]*)
11658   version_type=linux # correct to gnu/linux during the next big refactor
11659   need_lib_prefix=no
11660   need_version=no
11661   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11662   soname_spec='${libname}${release}${shared_ext}$major'
11663   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11664   shlibpath_var=LD_LIBRARY_PATH
11665   shlibpath_overrides_runpath=no
11666   hardcode_into_libs=yes
11667   ;;
11668
11669 irix5* | irix6* | nonstopux*)
11670   case $host_os in
11671     nonstopux*) version_type=nonstopux ;;
11672     *)
11673         if test "$lt_cv_prog_gnu_ld" = yes; then
11674                 version_type=linux # correct to gnu/linux during the next big refactor
11675         else
11676                 version_type=irix
11677         fi ;;
11678   esac
11679   need_lib_prefix=no
11680   need_version=no
11681   soname_spec='${libname}${release}${shared_ext}$major'
11682   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11683   case $host_os in
11684   irix5* | nonstopux*)
11685     libsuff= shlibsuff=
11686     ;;
11687   *)
11688     case $LD in # libtool.m4 will add one of these switches to LD
11689     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11690       libsuff= shlibsuff= libmagic=32-bit;;
11691     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11692       libsuff=32 shlibsuff=N32 libmagic=N32;;
11693     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11694       libsuff=64 shlibsuff=64 libmagic=64-bit;;
11695     *) libsuff= shlibsuff= libmagic=never-match;;
11696     esac
11697     ;;
11698   esac
11699   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11700   shlibpath_overrides_runpath=no
11701   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11702   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11703   hardcode_into_libs=yes
11704   ;;
11705
11706 # No shared lib support for Linux oldld, aout, or coff.
11707 linux*oldld* | linux*aout* | linux*coff*)
11708   dynamic_linker=no
11709   ;;
11710
11711 # This must be glibc/ELF.
11712 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11713   version_type=linux # correct to gnu/linux during the next big refactor
11714   need_lib_prefix=no
11715   need_version=no
11716   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11717   soname_spec='${libname}${release}${shared_ext}$major'
11718   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11719   shlibpath_var=LD_LIBRARY_PATH
11720   shlibpath_overrides_runpath=no
11721
11722   # Some binutils ld are patched to set DT_RUNPATH
11723   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11724   $as_echo_n "(cached) " >&6
11725 else
11726   lt_cv_shlibpath_overrides_runpath=no
11727     save_LDFLAGS=$LDFLAGS
11728     save_libdir=$libdir
11729     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11730          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11731     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11732 /* end confdefs.h.  */
11733
11734 int
11735 main ()
11736 {
11737
11738   ;
11739   return 0;
11740 }
11741 _ACEOF
11742 if ac_fn_c_try_link "$LINENO"; then :
11743   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11744   lt_cv_shlibpath_overrides_runpath=yes
11745 fi
11746 fi
11747 rm -f core conftest.err conftest.$ac_objext \
11748     conftest$ac_exeext conftest.$ac_ext
11749     LDFLAGS=$save_LDFLAGS
11750     libdir=$save_libdir
11751
11752 fi
11753
11754   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11755
11756   # This implies no fast_install, which is unacceptable.
11757   # Some rework will be needed to allow for fast_install
11758   # before this can be enabled.
11759   hardcode_into_libs=yes
11760
11761   # Append ld.so.conf contents to the search path
11762   if test -f /etc/ld.so.conf; then
11763     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' ' '`
11764     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11765   fi
11766
11767   # We used to test for /lib/ld.so.1 and disable shared libraries on
11768   # powerpc, because MkLinux only supported shared libraries with the
11769   # GNU dynamic linker.  Since this was broken with cross compilers,
11770   # most powerpc-linux boxes support dynamic linking these days and
11771   # people can always --disable-shared, the test was removed, and we
11772   # assume the GNU/Linux dynamic linker is in use.
11773   dynamic_linker='GNU/Linux ld.so'
11774   ;;
11775
11776 netbsdelf*-gnu)
11777   version_type=linux
11778   need_lib_prefix=no
11779   need_version=no
11780   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11781   soname_spec='${libname}${release}${shared_ext}$major'
11782   shlibpath_var=LD_LIBRARY_PATH
11783   shlibpath_overrides_runpath=no
11784   hardcode_into_libs=yes
11785   dynamic_linker='NetBSD ld.elf_so'
11786   ;;
11787
11788 netbsd*)
11789   version_type=sunos
11790   need_lib_prefix=no
11791   need_version=no
11792   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11793     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11794     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11795     dynamic_linker='NetBSD (a.out) ld.so'
11796   else
11797     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11798     soname_spec='${libname}${release}${shared_ext}$major'
11799     dynamic_linker='NetBSD ld.elf_so'
11800   fi
11801   shlibpath_var=LD_LIBRARY_PATH
11802   shlibpath_overrides_runpath=yes
11803   hardcode_into_libs=yes
11804   ;;
11805
11806 newsos6)
11807   version_type=linux # correct to gnu/linux during the next big refactor
11808   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11809   shlibpath_var=LD_LIBRARY_PATH
11810   shlibpath_overrides_runpath=yes
11811   ;;
11812
11813 *nto* | *qnx*)
11814   version_type=qnx
11815   need_lib_prefix=no
11816   need_version=no
11817   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11818   soname_spec='${libname}${release}${shared_ext}$major'
11819   shlibpath_var=LD_LIBRARY_PATH
11820   shlibpath_overrides_runpath=no
11821   hardcode_into_libs=yes
11822   dynamic_linker='ldqnx.so'
11823   ;;
11824
11825 openbsd*)
11826   version_type=sunos
11827   sys_lib_dlsearch_path_spec="/usr/lib"
11828   need_lib_prefix=no
11829   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11830   case $host_os in
11831     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
11832     *)                          need_version=no  ;;
11833   esac
11834   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11835   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11836   shlibpath_var=LD_LIBRARY_PATH
11837   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11838     case $host_os in
11839       openbsd2.[89] | openbsd2.[89].*)
11840         shlibpath_overrides_runpath=no
11841         ;;
11842       *)
11843         shlibpath_overrides_runpath=yes
11844         ;;
11845       esac
11846   else
11847     shlibpath_overrides_runpath=yes
11848   fi
11849   ;;
11850
11851 os2*)
11852   libname_spec='$name'
11853   shrext_cmds=".dll"
11854   need_lib_prefix=no
11855   library_names_spec='$libname${shared_ext} $libname.a'
11856   dynamic_linker='OS/2 ld.exe'
11857   shlibpath_var=LIBPATH
11858   ;;
11859
11860 osf3* | osf4* | osf5*)
11861   version_type=osf
11862   need_lib_prefix=no
11863   need_version=no
11864   soname_spec='${libname}${release}${shared_ext}$major'
11865   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11866   shlibpath_var=LD_LIBRARY_PATH
11867   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11868   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11869   ;;
11870
11871 rdos*)
11872   dynamic_linker=no
11873   ;;
11874
11875 solaris*)
11876   version_type=linux # correct to gnu/linux during the next big refactor
11877   need_lib_prefix=no
11878   need_version=no
11879   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11880   soname_spec='${libname}${release}${shared_ext}$major'
11881   shlibpath_var=LD_LIBRARY_PATH
11882   shlibpath_overrides_runpath=yes
11883   hardcode_into_libs=yes
11884   # ldd complains unless libraries are executable
11885   postinstall_cmds='chmod +x $lib'
11886   ;;
11887
11888 sunos4*)
11889   version_type=sunos
11890   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11891   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11892   shlibpath_var=LD_LIBRARY_PATH
11893   shlibpath_overrides_runpath=yes
11894   if test "$with_gnu_ld" = yes; then
11895     need_lib_prefix=no
11896   fi
11897   need_version=yes
11898   ;;
11899
11900 sysv4 | sysv4.3*)
11901   version_type=linux # correct to gnu/linux during the next big refactor
11902   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11903   soname_spec='${libname}${release}${shared_ext}$major'
11904   shlibpath_var=LD_LIBRARY_PATH
11905   case $host_vendor in
11906     sni)
11907       shlibpath_overrides_runpath=no
11908       need_lib_prefix=no
11909       runpath_var=LD_RUN_PATH
11910       ;;
11911     siemens)
11912       need_lib_prefix=no
11913       ;;
11914     motorola)
11915       need_lib_prefix=no
11916       need_version=no
11917       shlibpath_overrides_runpath=no
11918       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11919       ;;
11920   esac
11921   ;;
11922
11923 sysv4*MP*)
11924   if test -d /usr/nec ;then
11925     version_type=linux # correct to gnu/linux during the next big refactor
11926     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11927     soname_spec='$libname${shared_ext}.$major'
11928     shlibpath_var=LD_LIBRARY_PATH
11929   fi
11930   ;;
11931
11932 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11933   version_type=freebsd-elf
11934   need_lib_prefix=no
11935   need_version=no
11936   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11937   soname_spec='${libname}${release}${shared_ext}$major'
11938   shlibpath_var=LD_LIBRARY_PATH
11939   shlibpath_overrides_runpath=yes
11940   hardcode_into_libs=yes
11941   if test "$with_gnu_ld" = yes; then
11942     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11943   else
11944     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11945     case $host_os in
11946       sco3.2v5*)
11947         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11948         ;;
11949     esac
11950   fi
11951   sys_lib_dlsearch_path_spec='/usr/lib'
11952   ;;
11953
11954 tpf*)
11955   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11956   version_type=linux # correct to gnu/linux during the next big refactor
11957   need_lib_prefix=no
11958   need_version=no
11959   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11960   shlibpath_var=LD_LIBRARY_PATH
11961   shlibpath_overrides_runpath=no
11962   hardcode_into_libs=yes
11963   ;;
11964
11965 uts4*)
11966   version_type=linux # correct to gnu/linux during the next big refactor
11967   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11968   soname_spec='${libname}${release}${shared_ext}$major'
11969   shlibpath_var=LD_LIBRARY_PATH
11970   ;;
11971
11972 *)
11973   dynamic_linker=no
11974   ;;
11975 esac
11976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11977 $as_echo "$dynamic_linker" >&6; }
11978 test "$dynamic_linker" = no && can_build_shared=no
11979
11980 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11981 if test "$GCC" = yes; then
11982   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11983 fi
11984
11985 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11986   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11987 fi
11988 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11989   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11990 fi
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   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12084 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12085 hardcode_action=
12086 if test -n "$hardcode_libdir_flag_spec" ||
12087    test -n "$runpath_var" ||
12088    test "X$hardcode_automatic" = "Xyes" ; then
12089
12090   # We can hardcode non-existent directories.
12091   if test "$hardcode_direct" != no &&
12092      # If the only mechanism to avoid hardcoding is shlibpath_var, we
12093      # have to relink, otherwise we might link with an installed library
12094      # when we should be linking with a yet-to-be-installed one
12095      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12096      test "$hardcode_minus_L" != no; then
12097     # Linking always hardcodes the temporary library directory.
12098     hardcode_action=relink
12099   else
12100     # We can link without hardcoding, and we can hardcode nonexisting dirs.
12101     hardcode_action=immediate
12102   fi
12103 else
12104   # We cannot hardcode anything, or else we can only hardcode existing
12105   # directories.
12106   hardcode_action=unsupported
12107 fi
12108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12109 $as_echo "$hardcode_action" >&6; }
12110
12111 if test "$hardcode_action" = relink ||
12112    test "$inherit_rpath" = yes; then
12113   # Fast installation is not supported
12114   enable_fast_install=no
12115 elif test "$shlibpath_overrides_runpath" = yes ||
12116      test "$enable_shared" = no; then
12117   # Fast installation is not necessary
12118   enable_fast_install=needless
12119 fi
12120
12121
12122
12123
12124
12125
12126   if test "x$enable_dlopen" != xyes; then
12127   enable_dlopen=unknown
12128   enable_dlopen_self=unknown
12129   enable_dlopen_self_static=unknown
12130 else
12131   lt_cv_dlopen=no
12132   lt_cv_dlopen_libs=
12133
12134   case $host_os in
12135   beos*)
12136     lt_cv_dlopen="load_add_on"
12137     lt_cv_dlopen_libs=
12138     lt_cv_dlopen_self=yes
12139     ;;
12140
12141   mingw* | pw32* | cegcc*)
12142     lt_cv_dlopen="LoadLibrary"
12143     lt_cv_dlopen_libs=
12144     ;;
12145
12146   cygwin*)
12147     lt_cv_dlopen="dlopen"
12148     lt_cv_dlopen_libs=
12149     ;;
12150
12151   darwin*)
12152   # if libdl is installed we need to link against it
12153     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12154 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12155 if ${ac_cv_lib_dl_dlopen+:} false; then :
12156   $as_echo_n "(cached) " >&6
12157 else
12158   ac_check_lib_save_LIBS=$LIBS
12159 LIBS="-ldl  $LIBS"
12160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12161 /* end confdefs.h.  */
12162
12163 /* Override any GCC internal prototype to avoid an error.
12164    Use char because int might match the return type of a GCC
12165    builtin and then its argument prototype would still apply.  */
12166 #ifdef __cplusplus
12167 extern "C"
12168 #endif
12169 char dlopen ();
12170 int
12171 main ()
12172 {
12173 return dlopen ();
12174   ;
12175   return 0;
12176 }
12177 _ACEOF
12178 if ac_fn_c_try_link "$LINENO"; then :
12179   ac_cv_lib_dl_dlopen=yes
12180 else
12181   ac_cv_lib_dl_dlopen=no
12182 fi
12183 rm -f core conftest.err conftest.$ac_objext \
12184     conftest$ac_exeext conftest.$ac_ext
12185 LIBS=$ac_check_lib_save_LIBS
12186 fi
12187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12188 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12189 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12190   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12191 else
12192
12193     lt_cv_dlopen="dyld"
12194     lt_cv_dlopen_libs=
12195     lt_cv_dlopen_self=yes
12196
12197 fi
12198
12199     ;;
12200
12201   *)
12202     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12203 if test "x$ac_cv_func_shl_load" = xyes; then :
12204   lt_cv_dlopen="shl_load"
12205 else
12206   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12207 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12208 if ${ac_cv_lib_dld_shl_load+:} false; then :
12209   $as_echo_n "(cached) " >&6
12210 else
12211   ac_check_lib_save_LIBS=$LIBS
12212 LIBS="-ldld  $LIBS"
12213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12214 /* end confdefs.h.  */
12215
12216 /* Override any GCC internal prototype to avoid an error.
12217    Use char because int might match the return type of a GCC
12218    builtin and then its argument prototype would still apply.  */
12219 #ifdef __cplusplus
12220 extern "C"
12221 #endif
12222 char shl_load ();
12223 int
12224 main ()
12225 {
12226 return shl_load ();
12227   ;
12228   return 0;
12229 }
12230 _ACEOF
12231 if ac_fn_c_try_link "$LINENO"; then :
12232   ac_cv_lib_dld_shl_load=yes
12233 else
12234   ac_cv_lib_dld_shl_load=no
12235 fi
12236 rm -f core conftest.err conftest.$ac_objext \
12237     conftest$ac_exeext conftest.$ac_ext
12238 LIBS=$ac_check_lib_save_LIBS
12239 fi
12240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12241 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12242 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12243   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12244 else
12245   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12246 if test "x$ac_cv_func_dlopen" = xyes; then :
12247   lt_cv_dlopen="dlopen"
12248 else
12249   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12250 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12251 if ${ac_cv_lib_dl_dlopen+:} false; then :
12252   $as_echo_n "(cached) " >&6
12253 else
12254   ac_check_lib_save_LIBS=$LIBS
12255 LIBS="-ldl  $LIBS"
12256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12257 /* end confdefs.h.  */
12258
12259 /* Override any GCC internal prototype to avoid an error.
12260    Use char because int might match the return type of a GCC
12261    builtin and then its argument prototype would still apply.  */
12262 #ifdef __cplusplus
12263 extern "C"
12264 #endif
12265 char dlopen ();
12266 int
12267 main ()
12268 {
12269 return dlopen ();
12270   ;
12271   return 0;
12272 }
12273 _ACEOF
12274 if ac_fn_c_try_link "$LINENO"; then :
12275   ac_cv_lib_dl_dlopen=yes
12276 else
12277   ac_cv_lib_dl_dlopen=no
12278 fi
12279 rm -f core conftest.err conftest.$ac_objext \
12280     conftest$ac_exeext conftest.$ac_ext
12281 LIBS=$ac_check_lib_save_LIBS
12282 fi
12283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12284 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12285 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12286   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12287 else
12288   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12289 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12290 if ${ac_cv_lib_svld_dlopen+:} false; then :
12291   $as_echo_n "(cached) " >&6
12292 else
12293   ac_check_lib_save_LIBS=$LIBS
12294 LIBS="-lsvld  $LIBS"
12295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12296 /* end confdefs.h.  */
12297
12298 /* Override any GCC internal prototype to avoid an error.
12299    Use char because int might match the return type of a GCC
12300    builtin and then its argument prototype would still apply.  */
12301 #ifdef __cplusplus
12302 extern "C"
12303 #endif
12304 char dlopen ();
12305 int
12306 main ()
12307 {
12308 return dlopen ();
12309   ;
12310   return 0;
12311 }
12312 _ACEOF
12313 if ac_fn_c_try_link "$LINENO"; then :
12314   ac_cv_lib_svld_dlopen=yes
12315 else
12316   ac_cv_lib_svld_dlopen=no
12317 fi
12318 rm -f core conftest.err conftest.$ac_objext \
12319     conftest$ac_exeext conftest.$ac_ext
12320 LIBS=$ac_check_lib_save_LIBS
12321 fi
12322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12323 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12324 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12325   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12326 else
12327   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12328 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12329 if ${ac_cv_lib_dld_dld_link+:} false; then :
12330   $as_echo_n "(cached) " >&6
12331 else
12332   ac_check_lib_save_LIBS=$LIBS
12333 LIBS="-ldld  $LIBS"
12334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12335 /* end confdefs.h.  */
12336
12337 /* Override any GCC internal prototype to avoid an error.
12338    Use char because int might match the return type of a GCC
12339    builtin and then its argument prototype would still apply.  */
12340 #ifdef __cplusplus
12341 extern "C"
12342 #endif
12343 char dld_link ();
12344 int
12345 main ()
12346 {
12347 return dld_link ();
12348   ;
12349   return 0;
12350 }
12351 _ACEOF
12352 if ac_fn_c_try_link "$LINENO"; then :
12353   ac_cv_lib_dld_dld_link=yes
12354 else
12355   ac_cv_lib_dld_dld_link=no
12356 fi
12357 rm -f core conftest.err conftest.$ac_objext \
12358     conftest$ac_exeext conftest.$ac_ext
12359 LIBS=$ac_check_lib_save_LIBS
12360 fi
12361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12362 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12363 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12364   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12365 fi
12366
12367
12368 fi
12369
12370
12371 fi
12372
12373
12374 fi
12375
12376
12377 fi
12378
12379
12380 fi
12381
12382     ;;
12383   esac
12384
12385   if test "x$lt_cv_dlopen" != xno; then
12386     enable_dlopen=yes
12387   else
12388     enable_dlopen=no
12389   fi
12390
12391   case $lt_cv_dlopen in
12392   dlopen)
12393     save_CPPFLAGS="$CPPFLAGS"
12394     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12395
12396     save_LDFLAGS="$LDFLAGS"
12397     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12398
12399     save_LIBS="$LIBS"
12400     LIBS="$lt_cv_dlopen_libs $LIBS"
12401
12402     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12403 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12404 if ${lt_cv_dlopen_self+:} false; then :
12405   $as_echo_n "(cached) " >&6
12406 else
12407           if test "$cross_compiling" = yes; then :
12408   lt_cv_dlopen_self=cross
12409 else
12410   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12411   lt_status=$lt_dlunknown
12412   cat > conftest.$ac_ext <<_LT_EOF
12413 #line $LINENO "configure"
12414 #include "confdefs.h"
12415
12416 #if HAVE_DLFCN_H
12417 #include <dlfcn.h>
12418 #endif
12419
12420 #include <stdio.h>
12421
12422 #ifdef RTLD_GLOBAL
12423 #  define LT_DLGLOBAL           RTLD_GLOBAL
12424 #else
12425 #  ifdef DL_GLOBAL
12426 #    define LT_DLGLOBAL         DL_GLOBAL
12427 #  else
12428 #    define LT_DLGLOBAL         0
12429 #  endif
12430 #endif
12431
12432 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12433    find out it does not work in some platform. */
12434 #ifndef LT_DLLAZY_OR_NOW
12435 #  ifdef RTLD_LAZY
12436 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12437 #  else
12438 #    ifdef DL_LAZY
12439 #      define LT_DLLAZY_OR_NOW          DL_LAZY
12440 #    else
12441 #      ifdef RTLD_NOW
12442 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
12443 #      else
12444 #        ifdef DL_NOW
12445 #          define LT_DLLAZY_OR_NOW      DL_NOW
12446 #        else
12447 #          define LT_DLLAZY_OR_NOW      0
12448 #        endif
12449 #      endif
12450 #    endif
12451 #  endif
12452 #endif
12453
12454 /* When -fvisbility=hidden is used, assume the code has been annotated
12455    correspondingly for the symbols needed.  */
12456 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12457 int fnord () __attribute__((visibility("default")));
12458 #endif
12459
12460 int fnord () { return 42; }
12461 int main ()
12462 {
12463   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12464   int status = $lt_dlunknown;
12465
12466   if (self)
12467     {
12468       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12469       else
12470         {
12471           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12472           else puts (dlerror ());
12473         }
12474       /* dlclose (self); */
12475     }
12476   else
12477     puts (dlerror ());
12478
12479   return status;
12480 }
12481 _LT_EOF
12482   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12483   (eval $ac_link) 2>&5
12484   ac_status=$?
12485   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12486   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12487     (./conftest; exit; ) >&5 2>/dev/null
12488     lt_status=$?
12489     case x$lt_status in
12490       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12491       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12492       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12493     esac
12494   else :
12495     # compilation failed
12496     lt_cv_dlopen_self=no
12497   fi
12498 fi
12499 rm -fr conftest*
12500
12501
12502 fi
12503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12504 $as_echo "$lt_cv_dlopen_self" >&6; }
12505
12506     if test "x$lt_cv_dlopen_self" = xyes; then
12507       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12508       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12509 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12510 if ${lt_cv_dlopen_self_static+:} false; then :
12511   $as_echo_n "(cached) " >&6
12512 else
12513           if test "$cross_compiling" = yes; then :
12514   lt_cv_dlopen_self_static=cross
12515 else
12516   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12517   lt_status=$lt_dlunknown
12518   cat > conftest.$ac_ext <<_LT_EOF
12519 #line $LINENO "configure"
12520 #include "confdefs.h"
12521
12522 #if HAVE_DLFCN_H
12523 #include <dlfcn.h>
12524 #endif
12525
12526 #include <stdio.h>
12527
12528 #ifdef RTLD_GLOBAL
12529 #  define LT_DLGLOBAL           RTLD_GLOBAL
12530 #else
12531 #  ifdef DL_GLOBAL
12532 #    define LT_DLGLOBAL         DL_GLOBAL
12533 #  else
12534 #    define LT_DLGLOBAL         0
12535 #  endif
12536 #endif
12537
12538 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12539    find out it does not work in some platform. */
12540 #ifndef LT_DLLAZY_OR_NOW
12541 #  ifdef RTLD_LAZY
12542 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12543 #  else
12544 #    ifdef DL_LAZY
12545 #      define LT_DLLAZY_OR_NOW          DL_LAZY
12546 #    else
12547 #      ifdef RTLD_NOW
12548 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
12549 #      else
12550 #        ifdef DL_NOW
12551 #          define LT_DLLAZY_OR_NOW      DL_NOW
12552 #        else
12553 #          define LT_DLLAZY_OR_NOW      0
12554 #        endif
12555 #      endif
12556 #    endif
12557 #  endif
12558 #endif
12559
12560 /* When -fvisbility=hidden is used, assume the code has been annotated
12561    correspondingly for the symbols needed.  */
12562 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12563 int fnord () __attribute__((visibility("default")));
12564 #endif
12565
12566 int fnord () { return 42; }
12567 int main ()
12568 {
12569   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12570   int status = $lt_dlunknown;
12571
12572   if (self)
12573     {
12574       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12575       else
12576         {
12577           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12578           else puts (dlerror ());
12579         }
12580       /* dlclose (self); */
12581     }
12582   else
12583     puts (dlerror ());
12584
12585   return status;
12586 }
12587 _LT_EOF
12588   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12589   (eval $ac_link) 2>&5
12590   ac_status=$?
12591   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12592   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12593     (./conftest; exit; ) >&5 2>/dev/null
12594     lt_status=$?
12595     case x$lt_status in
12596       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12597       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12598       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12599     esac
12600   else :
12601     # compilation failed
12602     lt_cv_dlopen_self_static=no
12603   fi
12604 fi
12605 rm -fr conftest*
12606
12607
12608 fi
12609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12610 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12611     fi
12612
12613     CPPFLAGS="$save_CPPFLAGS"
12614     LDFLAGS="$save_LDFLAGS"
12615     LIBS="$save_LIBS"
12616     ;;
12617   esac
12618
12619   case $lt_cv_dlopen_self in
12620   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12621   *) enable_dlopen_self=unknown ;;
12622   esac
12623
12624   case $lt_cv_dlopen_self_static in
12625   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12626   *) enable_dlopen_self_static=unknown ;;
12627   esac
12628 fi
12629
12630
12631
12632
12633
12634
12635
12636
12637
12638
12639
12640
12641
12642
12643
12644
12645
12646 striplib=
12647 old_striplib=
12648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12649 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12650 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12651   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12652   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12653   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12654 $as_echo "yes" >&6; }
12655 else
12656 # FIXME - insert some real tests, host_os isn't really good enough
12657   case $host_os in
12658   darwin*)
12659     if test -n "$STRIP" ; then
12660       striplib="$STRIP -x"
12661       old_striplib="$STRIP -S"
12662       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12663 $as_echo "yes" >&6; }
12664     else
12665       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12666 $as_echo "no" >&6; }
12667     fi
12668     ;;
12669   *)
12670     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12671 $as_echo "no" >&6; }
12672     ;;
12673   esac
12674 fi
12675
12676
12677
12678
12679
12680
12681
12682
12683
12684
12685
12686
12687   # Report which library types will actually be built
12688   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12689 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12690   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12691 $as_echo "$can_build_shared" >&6; }
12692
12693   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12694 $as_echo_n "checking whether to build shared libraries... " >&6; }
12695   test "$can_build_shared" = "no" && enable_shared=no
12696
12697   # On AIX, shared libraries and static libraries use the same namespace, and
12698   # are all built from PIC.
12699   case $host_os in
12700   aix3*)
12701     test "$enable_shared" = yes && enable_static=no
12702     if test -n "$RANLIB"; then
12703       archive_cmds="$archive_cmds~\$RANLIB \$lib"
12704       postinstall_cmds='$RANLIB $lib'
12705     fi
12706     ;;
12707
12708   aix[4-9]*)
12709     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12710       test "$enable_shared" = yes && enable_static=no
12711     fi
12712     ;;
12713   esac
12714   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12715 $as_echo "$enable_shared" >&6; }
12716
12717   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12718 $as_echo_n "checking whether to build static libraries... " >&6; }
12719   # Make sure either enable_shared or enable_static is yes.
12720   test "$enable_shared" = yes || enable_static=yes
12721   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12722 $as_echo "$enable_static" >&6; }
12723
12724
12725
12726
12727 fi
12728 ac_ext=c
12729 ac_cpp='$CPP $CPPFLAGS'
12730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12733
12734 CC="$lt_save_CC"
12735
12736
12737
12738
12739
12740
12741
12742
12743
12744
12745
12746
12747
12748
12749
12750         ac_config_commands="$ac_config_commands libtool"
12751
12752
12753
12754
12755 # Only expand once:
12756
12757
12758
12759 GST_REQ=0.10.36
12760
12761
12762
12763
12764 # Check whether --with-autoconf was given.
12765 if test "${with_autoconf+set}" = set; then :
12766   withval=$with_autoconf;
12767       unset AUTOCONF
12768
12769 AUTOCONF=${AUTOCONF-"${am_missing_run}${withval}"}
12770
12771       { $as_echo "$as_me:${as_lineno-$LINENO}: Using $AUTOCONF as autoconf" >&5
12772 $as_echo "$as_me: Using $AUTOCONF as autoconf" >&6;}
12773
12774 fi
12775
12776
12777
12778 # Check whether --with-autoheader was given.
12779 if test "${with_autoheader+set}" = set; then :
12780   withval=$with_autoheader;
12781       unset AUTOHEADER
12782
12783 AUTOHEADER=${AUTOHEADER-"${am_missing_run}${withval}"}
12784
12785       { $as_echo "$as_me:${as_lineno-$LINENO}: Using $AUTOHEADER as autoheader" >&5
12786 $as_echo "$as_me: Using $AUTOHEADER as autoheader" >&6;}
12787
12788 fi
12789
12790
12791
12792 # Check whether --with-automake was given.
12793 if test "${with_automake+set}" = set; then :
12794   withval=$with_automake;
12795       unset AUTOMAKE
12796
12797 AUTOMAKE=${AUTOMAKE-"${am_missing_run}${withval}"}
12798
12799       { $as_echo "$as_me:${as_lineno-$LINENO}: Using $AUTOMAKE as automake" >&5
12800 $as_echo "$as_me: Using $AUTOMAKE as automake" >&6;}
12801
12802 fi
12803
12804
12805
12806 # Check whether --with-aclocal was given.
12807 if test "${with_aclocal+set}" = set; then :
12808   withval=$with_aclocal;
12809       unset ACLOCAL
12810
12811 ACLOCAL=${ACLOCAL-"${am_missing_run}${withval}"}
12812
12813       { $as_echo "$as_me:${as_lineno-$LINENO}: Using $ACLOCAL as aclocal" >&5
12814 $as_echo "$as_me: Using $ACLOCAL as aclocal" >&6;}
12815
12816 fi
12817
12818
12819
12820 ACLOCAL_AMFLAGS="-I m4 -I common/m4"
12821
12822
12823
12824
12825   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
12826 $as_echo_n "checking whether NLS is requested... " >&6; }
12827     # Check whether --enable-nls was given.
12828 if test "${enable_nls+set}" = set; then :
12829   enableval=$enable_nls; USE_NLS=$enableval
12830 else
12831   USE_NLS=yes
12832 fi
12833
12834   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
12835 $as_echo "$USE_NLS" >&6; }
12836
12837
12838
12839
12840       GETTEXT_MACRO_VERSION=0.17
12841
12842
12843
12844
12845 # Prepare PATH_SEPARATOR.
12846 # The user is always right.
12847 if test "${PATH_SEPARATOR+set}" != set; then
12848   echo "#! /bin/sh" >conf$$.sh
12849   echo  "exit 0"   >>conf$$.sh
12850   chmod +x conf$$.sh
12851   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12852     PATH_SEPARATOR=';'
12853   else
12854     PATH_SEPARATOR=:
12855   fi
12856   rm -f conf$$.sh
12857 fi
12858
12859 # Find out how to test for executable files. Don't use a zero-byte file,
12860 # as systems may use methods other than mode bits to determine executability.
12861 cat >conf$$.file <<_ASEOF
12862 #! /bin/sh
12863 exit 0
12864 _ASEOF
12865 chmod +x conf$$.file
12866 if test -x conf$$.file >/dev/null 2>&1; then
12867   ac_executable_p="test -x"
12868 else
12869   ac_executable_p="test -f"
12870 fi
12871 rm -f conf$$.file
12872
12873 # Extract the first word of "msgfmt", so it can be a program name with args.
12874 set dummy msgfmt; ac_word=$2
12875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12876 $as_echo_n "checking for $ac_word... " >&6; }
12877 if ${ac_cv_path_MSGFMT+:} false; then :
12878   $as_echo_n "(cached) " >&6
12879 else
12880   case "$MSGFMT" in
12881   [\\/]* | ?:[\\/]*)
12882     ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
12883     ;;
12884   *)
12885     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
12886     for ac_dir in $PATH; do
12887       IFS="$ac_save_IFS"
12888       test -z "$ac_dir" && ac_dir=.
12889       for ac_exec_ext in '' $ac_executable_extensions; do
12890         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12891           echo "$as_me: trying $ac_dir/$ac_word..." >&5
12892           if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
12893      (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
12894             ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
12895             break 2
12896           fi
12897         fi
12898       done
12899     done
12900     IFS="$ac_save_IFS"
12901   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
12902     ;;
12903 esac
12904 fi
12905 MSGFMT="$ac_cv_path_MSGFMT"
12906 if test "$MSGFMT" != ":"; then
12907   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
12908 $as_echo "$MSGFMT" >&6; }
12909 else
12910   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12911 $as_echo "no" >&6; }
12912 fi
12913
12914   # Extract the first word of "gmsgfmt", so it can be a program name with args.
12915 set dummy gmsgfmt; ac_word=$2
12916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12917 $as_echo_n "checking for $ac_word... " >&6; }
12918 if ${ac_cv_path_GMSGFMT+:} false; then :
12919   $as_echo_n "(cached) " >&6
12920 else
12921   case $GMSGFMT in
12922   [\\/]* | ?:[\\/]*)
12923   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
12924   ;;
12925   *)
12926   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12927 for as_dir in $PATH
12928 do
12929   IFS=$as_save_IFS
12930   test -z "$as_dir" && as_dir=.
12931     for ac_exec_ext in '' $ac_executable_extensions; do
12932   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12933     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
12934     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12935     break 2
12936   fi
12937 done
12938   done
12939 IFS=$as_save_IFS
12940
12941   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
12942   ;;
12943 esac
12944 fi
12945 GMSGFMT=$ac_cv_path_GMSGFMT
12946 if test -n "$GMSGFMT"; then
12947   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
12948 $as_echo "$GMSGFMT" >&6; }
12949 else
12950   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12951 $as_echo "no" >&6; }
12952 fi
12953
12954
12955
12956     case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
12957     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
12958     *) MSGFMT_015=$MSGFMT ;;
12959   esac
12960
12961   case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
12962     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
12963     *) GMSGFMT_015=$GMSGFMT ;;
12964   esac
12965
12966
12967
12968 # Prepare PATH_SEPARATOR.
12969 # The user is always right.
12970 if test "${PATH_SEPARATOR+set}" != set; then
12971   echo "#! /bin/sh" >conf$$.sh
12972   echo  "exit 0"   >>conf$$.sh
12973   chmod +x conf$$.sh
12974   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12975     PATH_SEPARATOR=';'
12976   else
12977     PATH_SEPARATOR=:
12978   fi
12979   rm -f conf$$.sh
12980 fi
12981
12982 # Find out how to test for executable files. Don't use a zero-byte file,
12983 # as systems may use methods other than mode bits to determine executability.
12984 cat >conf$$.file <<_ASEOF
12985 #! /bin/sh
12986 exit 0
12987 _ASEOF
12988 chmod +x conf$$.file
12989 if test -x conf$$.file >/dev/null 2>&1; then
12990   ac_executable_p="test -x"
12991 else
12992   ac_executable_p="test -f"
12993 fi
12994 rm -f conf$$.file
12995
12996 # Extract the first word of "xgettext", so it can be a program name with args.
12997 set dummy xgettext; ac_word=$2
12998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12999 $as_echo_n "checking for $ac_word... " >&6; }
13000 if ${ac_cv_path_XGETTEXT+:} false; then :
13001   $as_echo_n "(cached) " >&6
13002 else
13003   case "$XGETTEXT" in
13004   [\\/]* | ?:[\\/]*)
13005     ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
13006     ;;
13007   *)
13008     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
13009     for ac_dir in $PATH; do
13010       IFS="$ac_save_IFS"
13011       test -z "$ac_dir" && ac_dir=.
13012       for ac_exec_ext in '' $ac_executable_extensions; do
13013         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13014           echo "$as_me: trying $ac_dir/$ac_word..." >&5
13015           if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
13016      (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
13017             ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
13018             break 2
13019           fi
13020         fi
13021       done
13022     done
13023     IFS="$ac_save_IFS"
13024   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
13025     ;;
13026 esac
13027 fi
13028 XGETTEXT="$ac_cv_path_XGETTEXT"
13029 if test "$XGETTEXT" != ":"; then
13030   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
13031 $as_echo "$XGETTEXT" >&6; }
13032 else
13033   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13034 $as_echo "no" >&6; }
13035 fi
13036
13037     rm -f messages.po
13038
13039     case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
13040     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
13041     *) XGETTEXT_015=$XGETTEXT ;;
13042   esac
13043
13044
13045
13046 # Prepare PATH_SEPARATOR.
13047 # The user is always right.
13048 if test "${PATH_SEPARATOR+set}" != set; then
13049   echo "#! /bin/sh" >conf$$.sh
13050   echo  "exit 0"   >>conf$$.sh
13051   chmod +x conf$$.sh
13052   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13053     PATH_SEPARATOR=';'
13054   else
13055     PATH_SEPARATOR=:
13056   fi
13057   rm -f conf$$.sh
13058 fi
13059
13060 # Find out how to test for executable files. Don't use a zero-byte file,
13061 # as systems may use methods other than mode bits to determine executability.
13062 cat >conf$$.file <<_ASEOF
13063 #! /bin/sh
13064 exit 0
13065 _ASEOF
13066 chmod +x conf$$.file
13067 if test -x conf$$.file >/dev/null 2>&1; then
13068   ac_executable_p="test -x"
13069 else
13070   ac_executable_p="test -f"
13071 fi
13072 rm -f conf$$.file
13073
13074 # Extract the first word of "msgmerge", so it can be a program name with args.
13075 set dummy msgmerge; ac_word=$2
13076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13077 $as_echo_n "checking for $ac_word... " >&6; }
13078 if ${ac_cv_path_MSGMERGE+:} false; then :
13079   $as_echo_n "(cached) " >&6
13080 else
13081   case "$MSGMERGE" in
13082   [\\/]* | ?:[\\/]*)
13083     ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
13084     ;;
13085   *)
13086     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
13087     for ac_dir in $PATH; do
13088       IFS="$ac_save_IFS"
13089       test -z "$ac_dir" && ac_dir=.
13090       for ac_exec_ext in '' $ac_executable_extensions; do
13091         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13092           echo "$as_me: trying $ac_dir/$ac_word..." >&5
13093           if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
13094             ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
13095             break 2
13096           fi
13097         fi
13098       done
13099     done
13100     IFS="$ac_save_IFS"
13101   test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
13102     ;;
13103 esac
13104 fi
13105 MSGMERGE="$ac_cv_path_MSGMERGE"
13106 if test "$MSGMERGE" != ":"; then
13107   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
13108 $as_echo "$MSGMERGE" >&6; }
13109 else
13110   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13111 $as_echo "no" >&6; }
13112 fi
13113
13114
13115         test -n "$localedir" || localedir='${datadir}/locale'
13116
13117
13118     test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
13119
13120
13121   ac_config_commands="$ac_config_commands po-directories"
13122
13123
13124
13125       if test "X$prefix" = "XNONE"; then
13126     acl_final_prefix="$ac_default_prefix"
13127   else
13128     acl_final_prefix="$prefix"
13129   fi
13130   if test "X$exec_prefix" = "XNONE"; then
13131     acl_final_exec_prefix='${prefix}'
13132   else
13133     acl_final_exec_prefix="$exec_prefix"
13134   fi
13135   acl_save_prefix="$prefix"
13136   prefix="$acl_final_prefix"
13137   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
13138   prefix="$acl_save_prefix"
13139
13140
13141 # Check whether --with-gnu-ld was given.
13142 if test "${with_gnu_ld+set}" = set; then :
13143   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
13144 else
13145   with_gnu_ld=no
13146 fi
13147
13148 # Prepare PATH_SEPARATOR.
13149 # The user is always right.
13150 if test "${PATH_SEPARATOR+set}" != set; then
13151   echo "#! /bin/sh" >conf$$.sh
13152   echo  "exit 0"   >>conf$$.sh
13153   chmod +x conf$$.sh
13154   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13155     PATH_SEPARATOR=';'
13156   else
13157     PATH_SEPARATOR=:
13158   fi
13159   rm -f conf$$.sh
13160 fi
13161 ac_prog=ld
13162 if test "$GCC" = yes; then
13163   # Check if gcc -print-prog-name=ld gives a path.
13164   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
13165 $as_echo_n "checking for ld used by GCC... " >&6; }
13166   case $host in
13167   *-*-mingw*)
13168     # gcc leaves a trailing carriage return which upsets mingw
13169     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13170   *)
13171     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13172   esac
13173   case $ac_prog in
13174     # Accept absolute paths.
13175     [\\/]* | [A-Za-z]:[\\/]*)
13176       re_direlt='/[^/][^/]*/\.\./'
13177       # Canonicalize the path of ld
13178       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
13179       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
13180         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
13181       done
13182       test -z "$LD" && LD="$ac_prog"
13183       ;;
13184   "")
13185     # If it fails, then pretend we aren't using GCC.
13186     ac_prog=ld
13187     ;;
13188   *)
13189     # If it is relative, then search for the first ld in PATH.
13190     with_gnu_ld=unknown
13191     ;;
13192   esac
13193 elif test "$with_gnu_ld" = yes; then
13194   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13195 $as_echo_n "checking for GNU ld... " >&6; }
13196 else
13197   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13198 $as_echo_n "checking for non-GNU ld... " >&6; }
13199 fi
13200 if ${acl_cv_path_LD+:} false; then :
13201   $as_echo_n "(cached) " >&6
13202 else
13203   if test -z "$LD"; then
13204   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
13205   for ac_dir in $PATH; do
13206     test -z "$ac_dir" && ac_dir=.
13207     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13208       acl_cv_path_LD="$ac_dir/$ac_prog"
13209       # Check to see if the program is GNU ld.  I'd rather use --version,
13210       # but apparently some GNU ld's only accept -v.
13211       # Break only if it was the GNU/non-GNU ld that we prefer.
13212       case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
13213       *GNU* | *'with BFD'*)
13214         test "$with_gnu_ld" != no && break ;;
13215       *)
13216         test "$with_gnu_ld" != yes && break ;;
13217       esac
13218     fi
13219   done
13220   IFS="$ac_save_ifs"
13221 else
13222   acl_cv_path_LD="$LD" # Let the user override the test with a path.
13223 fi
13224 fi
13225
13226 LD="$acl_cv_path_LD"
13227 if test -n "$LD"; then
13228   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13229 $as_echo "$LD" >&6; }
13230 else
13231   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13232 $as_echo "no" >&6; }
13233 fi
13234 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
13235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13236 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13237 if ${acl_cv_prog_gnu_ld+:} false; then :
13238   $as_echo_n "(cached) " >&6
13239 else
13240   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
13241 case `$LD -v 2>&1 </dev/null` in
13242 *GNU* | *'with BFD'*)
13243   acl_cv_prog_gnu_ld=yes ;;
13244 *)
13245   acl_cv_prog_gnu_ld=no ;;
13246 esac
13247 fi
13248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
13249 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
13250 with_gnu_ld=$acl_cv_prog_gnu_ld
13251
13252
13253
13254
13255                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
13256 $as_echo_n "checking for shared library run path origin... " >&6; }
13257 if ${acl_cv_rpath+:} false; then :
13258   $as_echo_n "(cached) " >&6
13259 else
13260
13261     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
13262     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
13263     . ./conftest.sh
13264     rm -f ./conftest.sh
13265     acl_cv_rpath=done
13266
13267 fi
13268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
13269 $as_echo "$acl_cv_rpath" >&6; }
13270   wl="$acl_cv_wl"
13271   acl_libext="$acl_cv_libext"
13272   acl_shlibext="$acl_cv_shlibext"
13273   acl_libname_spec="$acl_cv_libname_spec"
13274   acl_library_names_spec="$acl_cv_library_names_spec"
13275   acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
13276   acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
13277   acl_hardcode_direct="$acl_cv_hardcode_direct"
13278   acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
13279     # Check whether --enable-rpath was given.
13280 if test "${enable_rpath+set}" = set; then :
13281   enableval=$enable_rpath; :
13282 else
13283   enable_rpath=yes
13284 fi
13285
13286
13287
13288                   acl_libdirstem=lib
13289   searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
13290   if test -n "$searchpath"; then
13291     acl_save_IFS="${IFS=        }"; IFS=":"
13292     for searchdir in $searchpath; do
13293       if test -d "$searchdir"; then
13294         case "$searchdir" in
13295           */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
13296           *) searchdir=`cd "$searchdir" && pwd`
13297              case "$searchdir" in
13298                */lib64 ) acl_libdirstem=lib64 ;;
13299              esac ;;
13300         esac
13301       fi
13302     done
13303     IFS="$acl_save_IFS"
13304   fi
13305
13306
13307
13308
13309
13310
13311
13312
13313
13314     use_additional=yes
13315
13316   acl_save_prefix="$prefix"
13317   prefix="$acl_final_prefix"
13318   acl_save_exec_prefix="$exec_prefix"
13319   exec_prefix="$acl_final_exec_prefix"
13320
13321     eval additional_includedir=\"$includedir\"
13322     eval additional_libdir=\"$libdir\"
13323
13324   exec_prefix="$acl_save_exec_prefix"
13325   prefix="$acl_save_prefix"
13326
13327
13328 # Check whether --with-libiconv-prefix was given.
13329 if test "${with_libiconv_prefix+set}" = set; then :
13330   withval=$with_libiconv_prefix;
13331     if test "X$withval" = "Xno"; then
13332       use_additional=no
13333     else
13334       if test "X$withval" = "X"; then
13335
13336   acl_save_prefix="$prefix"
13337   prefix="$acl_final_prefix"
13338   acl_save_exec_prefix="$exec_prefix"
13339   exec_prefix="$acl_final_exec_prefix"
13340
13341           eval additional_includedir=\"$includedir\"
13342           eval additional_libdir=\"$libdir\"
13343
13344   exec_prefix="$acl_save_exec_prefix"
13345   prefix="$acl_save_prefix"
13346
13347       else
13348         additional_includedir="$withval/include"
13349         additional_libdir="$withval/$acl_libdirstem"
13350       fi
13351     fi
13352
13353 fi
13354
13355       LIBICONV=
13356   LTLIBICONV=
13357   INCICONV=
13358   LIBICONV_PREFIX=
13359   rpathdirs=
13360   ltrpathdirs=
13361   names_already_handled=
13362   names_next_round='iconv '
13363   while test -n "$names_next_round"; do
13364     names_this_round="$names_next_round"
13365     names_next_round=
13366     for name in $names_this_round; do
13367       already_handled=
13368       for n in $names_already_handled; do
13369         if test "$n" = "$name"; then
13370           already_handled=yes
13371           break
13372         fi
13373       done
13374       if test -z "$already_handled"; then
13375         names_already_handled="$names_already_handled $name"
13376                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
13377         eval value=\"\$HAVE_LIB$uppername\"
13378         if test -n "$value"; then
13379           if test "$value" = yes; then
13380             eval value=\"\$LIB$uppername\"
13381             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
13382             eval value=\"\$LTLIB$uppername\"
13383             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
13384           else
13385                                     :
13386           fi
13387         else
13388                               found_dir=
13389           found_la=
13390           found_so=
13391           found_a=
13392           eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
13393           if test -n "$acl_shlibext"; then
13394             shrext=".$acl_shlibext"             # typically: shrext=.so
13395           else
13396             shrext=
13397           fi
13398           if test $use_additional = yes; then
13399             dir="$additional_libdir"
13400                                     if test -n "$acl_shlibext"; then
13401               if test -f "$dir/$libname$shrext"; then
13402                 found_dir="$dir"
13403                 found_so="$dir/$libname$shrext"
13404               else
13405                 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
13406                   ver=`(cd "$dir" && \
13407                         for f in "$libname$shrext".*; do echo "$f"; done \
13408                         | sed -e "s,^$libname$shrext\\\\.,," \
13409                         | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
13410                         | sed 1q ) 2>/dev/null`
13411                   if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
13412                     found_dir="$dir"
13413                     found_so="$dir/$libname$shrext.$ver"
13414                   fi
13415                 else
13416                   eval library_names=\"$acl_library_names_spec\"
13417                   for f in $library_names; do
13418                     if test -f "$dir/$f"; then
13419                       found_dir="$dir"
13420                       found_so="$dir/$f"
13421                       break
13422                     fi
13423                   done
13424                 fi
13425               fi
13426             fi
13427                         if test "X$found_dir" = "X"; then
13428               if test -f "$dir/$libname.$acl_libext"; then
13429                 found_dir="$dir"
13430                 found_a="$dir/$libname.$acl_libext"
13431               fi
13432             fi
13433             if test "X$found_dir" != "X"; then
13434               if test -f "$dir/$libname.la"; then
13435                 found_la="$dir/$libname.la"
13436               fi
13437             fi
13438           fi
13439           if test "X$found_dir" = "X"; then
13440             for x in $LDFLAGS $LTLIBICONV; do
13441
13442   acl_save_prefix="$prefix"
13443   prefix="$acl_final_prefix"
13444   acl_save_exec_prefix="$exec_prefix"
13445   exec_prefix="$acl_final_exec_prefix"
13446   eval x=\"$x\"
13447   exec_prefix="$acl_save_exec_prefix"
13448   prefix="$acl_save_prefix"
13449
13450               case "$x" in
13451                 -L*)
13452                   dir=`echo "X$x" | sed -e 's/^X-L//'`
13453                                     if test -n "$acl_shlibext"; then
13454                     if test -f "$dir/$libname$shrext"; then
13455                       found_dir="$dir"
13456                       found_so="$dir/$libname$shrext"
13457                     else
13458                       if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
13459                         ver=`(cd "$dir" && \
13460                               for f in "$libname$shrext".*; do echo "$f"; done \
13461                               | sed -e "s,^$libname$shrext\\\\.,," \
13462                               | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
13463                               | sed 1q ) 2>/dev/null`
13464                         if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
13465                           found_dir="$dir"
13466                           found_so="$dir/$libname$shrext.$ver"
13467                         fi
13468                       else
13469                         eval library_names=\"$acl_library_names_spec\"
13470                         for f in $library_names; do
13471                           if test -f "$dir/$f"; then
13472                             found_dir="$dir"
13473                             found_so="$dir/$f"
13474                             break
13475                           fi
13476                         done
13477                       fi
13478                     fi
13479                   fi
13480                                     if test "X$found_dir" = "X"; then
13481                     if test -f "$dir/$libname.$acl_libext"; then
13482                       found_dir="$dir"
13483                       found_a="$dir/$libname.$acl_libext"
13484                     fi
13485                   fi
13486                   if test "X$found_dir" != "X"; then
13487                     if test -f "$dir/$libname.la"; then
13488                       found_la="$dir/$libname.la"
13489                     fi
13490                   fi
13491                   ;;
13492               esac
13493               if test "X$found_dir" != "X"; then
13494                 break
13495               fi
13496             done
13497           fi
13498           if test "X$found_dir" != "X"; then
13499                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
13500             if test "X$found_so" != "X"; then
13501                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
13502                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
13503               else
13504                                                                                 haveit=
13505                 for x in $ltrpathdirs; do
13506                   if test "X$x" = "X$found_dir"; then
13507                     haveit=yes
13508                     break
13509                   fi
13510                 done
13511                 if test -z "$haveit"; then
13512                   ltrpathdirs="$ltrpathdirs $found_dir"
13513                 fi
13514                                 if test "$acl_hardcode_direct" = yes; then
13515                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
13516                 else
13517                   if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
13518                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
13519                                                             haveit=
13520                     for x in $rpathdirs; do
13521                       if test "X$x" = "X$found_dir"; then
13522                         haveit=yes
13523                         break
13524                       fi
13525                     done
13526                     if test -z "$haveit"; then
13527                       rpathdirs="$rpathdirs $found_dir"
13528                     fi
13529                   else
13530                                                                                 haveit=
13531                     for x in $LDFLAGS $LIBICONV; do
13532
13533   acl_save_prefix="$prefix"
13534   prefix="$acl_final_prefix"
13535   acl_save_exec_prefix="$exec_prefix"
13536   exec_prefix="$acl_final_exec_prefix"
13537   eval x=\"$x\"
13538   exec_prefix="$acl_save_exec_prefix"
13539   prefix="$acl_save_prefix"
13540
13541                       if test "X$x" = "X-L$found_dir"; then
13542                         haveit=yes
13543                         break
13544                       fi
13545                     done
13546                     if test -z "$haveit"; then
13547                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
13548                     fi
13549                     if test "$acl_hardcode_minus_L" != no; then
13550                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
13551                     else
13552                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
13553                     fi
13554                   fi
13555                 fi
13556               fi
13557             else
13558               if test "X$found_a" != "X"; then
13559                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
13560               else
13561                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
13562               fi
13563             fi
13564                         additional_includedir=
13565             case "$found_dir" in
13566               */$acl_libdirstem | */$acl_libdirstem/)
13567                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
13568                 LIBICONV_PREFIX="$basedir"
13569                 additional_includedir="$basedir/include"
13570                 ;;
13571             esac
13572             if test "X$additional_includedir" != "X"; then
13573                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
13574                 haveit=
13575                 if test "X$additional_includedir" = "X/usr/local/include"; then
13576                   if test -n "$GCC"; then
13577                     case $host_os in
13578                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
13579                     esac
13580                   fi
13581                 fi
13582                 if test -z "$haveit"; then
13583                   for x in $CPPFLAGS $INCICONV; do
13584
13585   acl_save_prefix="$prefix"
13586   prefix="$acl_final_prefix"
13587   acl_save_exec_prefix="$exec_prefix"
13588   exec_prefix="$acl_final_exec_prefix"
13589   eval x=\"$x\"
13590   exec_prefix="$acl_save_exec_prefix"
13591   prefix="$acl_save_prefix"
13592
13593                     if test "X$x" = "X-I$additional_includedir"; then
13594                       haveit=yes
13595                       break
13596                     fi
13597                   done
13598                   if test -z "$haveit"; then
13599                     if test -d "$additional_includedir"; then
13600                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
13601                     fi
13602                   fi
13603                 fi
13604               fi
13605             fi
13606                         if test -n "$found_la"; then
13607                                                         save_libdir="$libdir"
13608               case "$found_la" in
13609                 */* | *\\*) . "$found_la" ;;
13610                 *) . "./$found_la" ;;
13611               esac
13612               libdir="$save_libdir"
13613                             for dep in $dependency_libs; do
13614                 case "$dep" in
13615                   -L*)
13616                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
13617                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
13618                       haveit=
13619                       if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
13620                         if test -n "$GCC"; then
13621                           case $host_os in
13622                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
13623                           esac
13624                         fi
13625                       fi
13626                       if test -z "$haveit"; then
13627                         haveit=
13628                         for x in $LDFLAGS $LIBICONV; do
13629
13630   acl_save_prefix="$prefix"
13631   prefix="$acl_final_prefix"
13632   acl_save_exec_prefix="$exec_prefix"
13633   exec_prefix="$acl_final_exec_prefix"
13634   eval x=\"$x\"
13635   exec_prefix="$acl_save_exec_prefix"
13636   prefix="$acl_save_prefix"
13637
13638                           if test "X$x" = "X-L$additional_libdir"; then
13639                             haveit=yes
13640                             break
13641                           fi
13642                         done
13643                         if test -z "$haveit"; then
13644                           if test -d "$additional_libdir"; then
13645                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
13646                           fi
13647                         fi
13648                         haveit=
13649                         for x in $LDFLAGS $LTLIBICONV; do
13650
13651   acl_save_prefix="$prefix"
13652   prefix="$acl_final_prefix"
13653   acl_save_exec_prefix="$exec_prefix"
13654   exec_prefix="$acl_final_exec_prefix"
13655   eval x=\"$x\"
13656   exec_prefix="$acl_save_exec_prefix"
13657   prefix="$acl_save_prefix"
13658
13659                           if test "X$x" = "X-L$additional_libdir"; then
13660                             haveit=yes
13661                             break
13662                           fi
13663                         done
13664                         if test -z "$haveit"; then
13665                           if test -d "$additional_libdir"; then
13666                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
13667                           fi
13668                         fi
13669                       fi
13670                     fi
13671                     ;;
13672                   -R*)
13673                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
13674                     if test "$enable_rpath" != no; then
13675                                                                   haveit=
13676                       for x in $rpathdirs; do
13677                         if test "X$x" = "X$dir"; then
13678                           haveit=yes
13679                           break
13680                         fi
13681                       done
13682                       if test -z "$haveit"; then
13683                         rpathdirs="$rpathdirs $dir"
13684                       fi
13685                                                                   haveit=
13686                       for x in $ltrpathdirs; do
13687                         if test "X$x" = "X$dir"; then
13688                           haveit=yes
13689                           break
13690                         fi
13691                       done
13692                       if test -z "$haveit"; then
13693                         ltrpathdirs="$ltrpathdirs $dir"
13694                       fi
13695                     fi
13696                     ;;
13697                   -l*)
13698                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
13699                     ;;
13700                   *.la)
13701                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
13702                     ;;
13703                   *)
13704                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
13705                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
13706                     ;;
13707                 esac
13708               done
13709             fi
13710           else
13711                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
13712             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
13713           fi
13714         fi
13715       fi
13716     done
13717   done
13718   if test "X$rpathdirs" != "X"; then
13719     if test -n "$acl_hardcode_libdir_separator"; then
13720                         alldirs=
13721       for found_dir in $rpathdirs; do
13722         alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
13723       done
13724             acl_save_libdir="$libdir"
13725       libdir="$alldirs"
13726       eval flag=\"$acl_hardcode_libdir_flag_spec\"
13727       libdir="$acl_save_libdir"
13728       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
13729     else
13730             for found_dir in $rpathdirs; do
13731         acl_save_libdir="$libdir"
13732         libdir="$found_dir"
13733         eval flag=\"$acl_hardcode_libdir_flag_spec\"
13734         libdir="$acl_save_libdir"
13735         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
13736       done
13737     fi
13738   fi
13739   if test "X$ltrpathdirs" != "X"; then
13740             for found_dir in $ltrpathdirs; do
13741       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
13742     done
13743   fi
13744
13745
13746
13747
13748
13749
13750
13751
13752
13753
13754
13755
13756
13757
13758
13759
13760
13761
13762
13763
13764
13765
13766
13767
13768
13769     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
13770 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
13771 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
13772   $as_echo_n "(cached) " >&6
13773 else
13774   gt_save_LIBS="$LIBS"
13775      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
13776      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13777 /* end confdefs.h.  */
13778 #include <CoreFoundation/CFPreferences.h>
13779 int
13780 main ()
13781 {
13782 CFPreferencesCopyAppValue(NULL, NULL)
13783   ;
13784   return 0;
13785 }
13786 _ACEOF
13787 if ac_fn_c_try_link "$LINENO"; then :
13788   gt_cv_func_CFPreferencesCopyAppValue=yes
13789 else
13790   gt_cv_func_CFPreferencesCopyAppValue=no
13791 fi
13792 rm -f core conftest.err conftest.$ac_objext \
13793     conftest$ac_exeext conftest.$ac_ext
13794      LIBS="$gt_save_LIBS"
13795 fi
13796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
13797 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
13798   if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
13799
13800 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
13801
13802   fi
13803     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
13804 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
13805 if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
13806   $as_echo_n "(cached) " >&6
13807 else
13808   gt_save_LIBS="$LIBS"
13809      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
13810      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13811 /* end confdefs.h.  */
13812 #include <CoreFoundation/CFLocale.h>
13813 int
13814 main ()
13815 {
13816 CFLocaleCopyCurrent();
13817   ;
13818   return 0;
13819 }
13820 _ACEOF
13821 if ac_fn_c_try_link "$LINENO"; then :
13822   gt_cv_func_CFLocaleCopyCurrent=yes
13823 else
13824   gt_cv_func_CFLocaleCopyCurrent=no
13825 fi
13826 rm -f core conftest.err conftest.$ac_objext \
13827     conftest$ac_exeext conftest.$ac_ext
13828      LIBS="$gt_save_LIBS"
13829 fi
13830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
13831 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
13832   if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
13833
13834 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
13835
13836   fi
13837   INTL_MACOSX_LIBS=
13838   if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
13839     INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
13840   fi
13841
13842
13843
13844
13845
13846
13847   LIBINTL=
13848   LTLIBINTL=
13849   POSUB=
13850
13851     case " $gt_needs " in
13852     *" need-formatstring-macros "*) gt_api_version=3 ;;
13853     *" need-ngettext "*) gt_api_version=2 ;;
13854     *) gt_api_version=1 ;;
13855   esac
13856   gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
13857   gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
13858
13859     if test "$USE_NLS" = "yes"; then
13860     gt_use_preinstalled_gnugettext=no
13861
13862
13863         if test $gt_api_version -ge 3; then
13864           gt_revision_test_code='
13865 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
13866 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
13867 #endif
13868 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
13869 '
13870         else
13871           gt_revision_test_code=
13872         fi
13873         if test $gt_api_version -ge 2; then
13874           gt_expression_test_code=' + * ngettext ("", "", 0)'
13875         else
13876           gt_expression_test_code=
13877         fi
13878
13879         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
13880 $as_echo_n "checking for GNU gettext in libc... " >&6; }
13881 if eval \${$gt_func_gnugettext_libc+:} false; then :
13882   $as_echo_n "(cached) " >&6
13883 else
13884   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13885 /* end confdefs.h.  */
13886 #include <libintl.h>
13887 $gt_revision_test_code
13888 extern int _nl_msg_cat_cntr;
13889 extern int *_nl_domain_bindings;
13890 int
13891 main ()
13892 {
13893 bindtextdomain ("", "");
13894 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
13895   ;
13896   return 0;
13897 }
13898 _ACEOF
13899 if ac_fn_c_try_link "$LINENO"; then :
13900   eval "$gt_func_gnugettext_libc=yes"
13901 else
13902   eval "$gt_func_gnugettext_libc=no"
13903 fi
13904 rm -f core conftest.err conftest.$ac_objext \
13905     conftest$ac_exeext conftest.$ac_ext
13906 fi
13907 eval ac_res=\$$gt_func_gnugettext_libc
13908                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13909 $as_echo "$ac_res" >&6; }
13910
13911         if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
13912
13913
13914
13915
13916
13917           am_save_CPPFLAGS="$CPPFLAGS"
13918
13919   for element in $INCICONV; do
13920     haveit=
13921     for x in $CPPFLAGS; do
13922
13923   acl_save_prefix="$prefix"
13924   prefix="$acl_final_prefix"
13925   acl_save_exec_prefix="$exec_prefix"
13926   exec_prefix="$acl_final_exec_prefix"
13927   eval x=\"$x\"
13928   exec_prefix="$acl_save_exec_prefix"
13929   prefix="$acl_save_prefix"
13930
13931       if test "X$x" = "X$element"; then
13932         haveit=yes
13933         break
13934       fi
13935     done
13936     if test -z "$haveit"; then
13937       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
13938     fi
13939   done
13940
13941
13942   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
13943 $as_echo_n "checking for iconv... " >&6; }
13944 if ${am_cv_func_iconv+:} false; then :
13945   $as_echo_n "(cached) " >&6
13946 else
13947
13948     am_cv_func_iconv="no, consider installing GNU libiconv"
13949     am_cv_lib_iconv=no
13950     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13951 /* end confdefs.h.  */
13952 #include <stdlib.h>
13953 #include <iconv.h>
13954 int
13955 main ()
13956 {
13957 iconv_t cd = iconv_open("","");
13958        iconv(cd,NULL,NULL,NULL,NULL);
13959        iconv_close(cd);
13960   ;
13961   return 0;
13962 }
13963 _ACEOF
13964 if ac_fn_c_try_link "$LINENO"; then :
13965   am_cv_func_iconv=yes
13966 fi
13967 rm -f core conftest.err conftest.$ac_objext \
13968     conftest$ac_exeext conftest.$ac_ext
13969     if test "$am_cv_func_iconv" != yes; then
13970       am_save_LIBS="$LIBS"
13971       LIBS="$LIBS $LIBICONV"
13972       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13973 /* end confdefs.h.  */
13974 #include <stdlib.h>
13975 #include <iconv.h>
13976 int
13977 main ()
13978 {
13979 iconv_t cd = iconv_open("","");
13980          iconv(cd,NULL,NULL,NULL,NULL);
13981          iconv_close(cd);
13982   ;
13983   return 0;
13984 }
13985 _ACEOF
13986 if ac_fn_c_try_link "$LINENO"; then :
13987   am_cv_lib_iconv=yes
13988         am_cv_func_iconv=yes
13989 fi
13990 rm -f core conftest.err conftest.$ac_objext \
13991     conftest$ac_exeext conftest.$ac_ext
13992       LIBS="$am_save_LIBS"
13993     fi
13994
13995 fi
13996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
13997 $as_echo "$am_cv_func_iconv" >&6; }
13998   if test "$am_cv_func_iconv" = yes; then
13999     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
14000 $as_echo_n "checking for working iconv... " >&6; }
14001 if ${am_cv_func_iconv_works+:} false; then :
14002   $as_echo_n "(cached) " >&6
14003 else
14004
14005             am_save_LIBS="$LIBS"
14006       if test $am_cv_lib_iconv = yes; then
14007         LIBS="$LIBS $LIBICONV"
14008       fi
14009       if test "$cross_compiling" = yes; then :
14010   case "$host_os" in
14011            aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
14012            *)            am_cv_func_iconv_works="guessing yes" ;;
14013          esac
14014 else
14015   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14016 /* end confdefs.h.  */
14017
14018 #include <iconv.h>
14019 #include <string.h>
14020 int main ()
14021 {
14022   /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
14023      returns.  */
14024   {
14025     iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
14026     if (cd_utf8_to_88591 != (iconv_t)(-1))
14027       {
14028         static const char input[] = "\342\202\254"; /* EURO SIGN */
14029         char buf[10];
14030         const char *inptr = input;
14031         size_t inbytesleft = strlen (input);
14032         char *outptr = buf;
14033         size_t outbytesleft = sizeof (buf);
14034         size_t res = iconv (cd_utf8_to_88591,
14035                             (char **) &inptr, &inbytesleft,
14036                             &outptr, &outbytesleft);
14037         if (res == 0)
14038           return 1;
14039       }
14040   }
14041 #if 0 /* This bug could be worked around by the caller.  */
14042   /* Test against HP-UX 11.11 bug: Positive return value instead of 0.  */
14043   {
14044     iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
14045     if (cd_88591_to_utf8 != (iconv_t)(-1))
14046       {
14047         static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
14048         char buf[50];
14049         const char *inptr = input;
14050         size_t inbytesleft = strlen (input);
14051         char *outptr = buf;
14052         size_t outbytesleft = sizeof (buf);
14053         size_t res = iconv (cd_88591_to_utf8,
14054                             (char **) &inptr, &inbytesleft,
14055                             &outptr, &outbytesleft);
14056         if ((int)res > 0)
14057           return 1;
14058       }
14059   }
14060 #endif
14061   /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
14062      provided.  */
14063   if (/* Try standardized names.  */
14064       iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
14065       /* Try IRIX, OSF/1 names.  */
14066       && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
14067       /* Try AIX names.  */
14068       && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
14069       /* Try HP-UX names.  */
14070       && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
14071     return 1;
14072   return 0;
14073 }
14074 _ACEOF
14075 if ac_fn_c_try_run "$LINENO"; then :
14076   am_cv_func_iconv_works=yes
14077 else
14078   am_cv_func_iconv_works=no
14079 fi
14080 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14081   conftest.$ac_objext conftest.beam conftest.$ac_ext
14082 fi
14083
14084       LIBS="$am_save_LIBS"
14085
14086 fi
14087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
14088 $as_echo "$am_cv_func_iconv_works" >&6; }
14089     case "$am_cv_func_iconv_works" in
14090       *no) am_func_iconv=no am_cv_lib_iconv=no ;;
14091       *)   am_func_iconv=yes ;;
14092     esac
14093   else
14094     am_func_iconv=no am_cv_lib_iconv=no
14095   fi
14096   if test "$am_func_iconv" = yes; then
14097
14098 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
14099
14100   fi
14101   if test "$am_cv_lib_iconv" = yes; then
14102     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
14103 $as_echo_n "checking how to link with libiconv... " >&6; }
14104     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
14105 $as_echo "$LIBICONV" >&6; }
14106   else
14107             CPPFLAGS="$am_save_CPPFLAGS"
14108     LIBICONV=
14109     LTLIBICONV=
14110   fi
14111
14112
14113
14114
14115
14116
14117
14118
14119     use_additional=yes
14120
14121   acl_save_prefix="$prefix"
14122   prefix="$acl_final_prefix"
14123   acl_save_exec_prefix="$exec_prefix"
14124   exec_prefix="$acl_final_exec_prefix"
14125
14126     eval additional_includedir=\"$includedir\"
14127     eval additional_libdir=\"$libdir\"
14128
14129   exec_prefix="$acl_save_exec_prefix"
14130   prefix="$acl_save_prefix"
14131
14132
14133 # Check whether --with-libintl-prefix was given.
14134 if test "${with_libintl_prefix+set}" = set; then :
14135   withval=$with_libintl_prefix;
14136     if test "X$withval" = "Xno"; then
14137       use_additional=no
14138     else
14139       if test "X$withval" = "X"; then
14140
14141   acl_save_prefix="$prefix"
14142   prefix="$acl_final_prefix"
14143   acl_save_exec_prefix="$exec_prefix"
14144   exec_prefix="$acl_final_exec_prefix"
14145
14146           eval additional_includedir=\"$includedir\"
14147           eval additional_libdir=\"$libdir\"
14148
14149   exec_prefix="$acl_save_exec_prefix"
14150   prefix="$acl_save_prefix"
14151
14152       else
14153         additional_includedir="$withval/include"
14154         additional_libdir="$withval/$acl_libdirstem"
14155       fi
14156     fi
14157
14158 fi
14159
14160       LIBINTL=
14161   LTLIBINTL=
14162   INCINTL=
14163   LIBINTL_PREFIX=
14164   rpathdirs=
14165   ltrpathdirs=
14166   names_already_handled=
14167   names_next_round='intl '
14168   while test -n "$names_next_round"; do
14169     names_this_round="$names_next_round"
14170     names_next_round=
14171     for name in $names_this_round; do
14172       already_handled=
14173       for n in $names_already_handled; do
14174         if test "$n" = "$name"; then
14175           already_handled=yes
14176           break
14177         fi
14178       done
14179       if test -z "$already_handled"; then
14180         names_already_handled="$names_already_handled $name"
14181                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
14182         eval value=\"\$HAVE_LIB$uppername\"
14183         if test -n "$value"; then
14184           if test "$value" = yes; then
14185             eval value=\"\$LIB$uppername\"
14186             test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
14187             eval value=\"\$LTLIB$uppername\"
14188             test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
14189           else
14190                                     :
14191           fi
14192         else
14193                               found_dir=
14194           found_la=
14195           found_so=
14196           found_a=
14197           eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
14198           if test -n "$acl_shlibext"; then
14199             shrext=".$acl_shlibext"             # typically: shrext=.so
14200           else
14201             shrext=
14202           fi
14203           if test $use_additional = yes; then
14204             dir="$additional_libdir"
14205                                     if test -n "$acl_shlibext"; then
14206               if test -f "$dir/$libname$shrext"; then
14207                 found_dir="$dir"
14208                 found_so="$dir/$libname$shrext"
14209               else
14210                 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
14211                   ver=`(cd "$dir" && \
14212                         for f in "$libname$shrext".*; do echo "$f"; done \
14213                         | sed -e "s,^$libname$shrext\\\\.,," \
14214                         | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
14215                         | sed 1q ) 2>/dev/null`
14216                   if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
14217                     found_dir="$dir"
14218                     found_so="$dir/$libname$shrext.$ver"
14219                   fi
14220                 else
14221                   eval library_names=\"$acl_library_names_spec\"
14222                   for f in $library_names; do
14223                     if test -f "$dir/$f"; then
14224                       found_dir="$dir"
14225                       found_so="$dir/$f"
14226                       break
14227                     fi
14228                   done
14229                 fi
14230               fi
14231             fi
14232                         if test "X$found_dir" = "X"; then
14233               if test -f "$dir/$libname.$acl_libext"; then
14234                 found_dir="$dir"
14235                 found_a="$dir/$libname.$acl_libext"
14236               fi
14237             fi
14238             if test "X$found_dir" != "X"; then
14239               if test -f "$dir/$libname.la"; then
14240                 found_la="$dir/$libname.la"
14241               fi
14242             fi
14243           fi
14244           if test "X$found_dir" = "X"; then
14245             for x in $LDFLAGS $LTLIBINTL; do
14246
14247   acl_save_prefix="$prefix"
14248   prefix="$acl_final_prefix"
14249   acl_save_exec_prefix="$exec_prefix"
14250   exec_prefix="$acl_final_exec_prefix"
14251   eval x=\"$x\"
14252   exec_prefix="$acl_save_exec_prefix"
14253   prefix="$acl_save_prefix"
14254
14255               case "$x" in
14256                 -L*)
14257                   dir=`echo "X$x" | sed -e 's/^X-L//'`
14258                                     if test -n "$acl_shlibext"; then
14259                     if test -f "$dir/$libname$shrext"; then
14260                       found_dir="$dir"
14261                       found_so="$dir/$libname$shrext"
14262                     else
14263                       if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
14264                         ver=`(cd "$dir" && \
14265                               for f in "$libname$shrext".*; do echo "$f"; done \
14266                               | sed -e "s,^$libname$shrext\\\\.,," \
14267                               | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
14268                               | sed 1q ) 2>/dev/null`
14269                         if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
14270                           found_dir="$dir"
14271                           found_so="$dir/$libname$shrext.$ver"
14272                         fi
14273                       else
14274                         eval library_names=\"$acl_library_names_spec\"
14275                         for f in $library_names; do
14276                           if test -f "$dir/$f"; then
14277                             found_dir="$dir"
14278                             found_so="$dir/$f"
14279                             break
14280                           fi
14281                         done
14282                       fi
14283                     fi
14284                   fi
14285                                     if test "X$found_dir" = "X"; then
14286                     if test -f "$dir/$libname.$acl_libext"; then
14287                       found_dir="$dir"
14288                       found_a="$dir/$libname.$acl_libext"
14289                     fi
14290                   fi
14291                   if test "X$found_dir" != "X"; then
14292                     if test -f "$dir/$libname.la"; then
14293                       found_la="$dir/$libname.la"
14294                     fi
14295                   fi
14296                   ;;
14297               esac
14298               if test "X$found_dir" != "X"; then
14299                 break
14300               fi
14301             done
14302           fi
14303           if test "X$found_dir" != "X"; then
14304                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
14305             if test "X$found_so" != "X"; then
14306                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
14307                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
14308               else
14309                                                                                 haveit=
14310                 for x in $ltrpathdirs; do
14311                   if test "X$x" = "X$found_dir"; then
14312                     haveit=yes
14313                     break
14314                   fi
14315                 done
14316                 if test -z "$haveit"; then
14317                   ltrpathdirs="$ltrpathdirs $found_dir"
14318                 fi
14319                                 if test "$acl_hardcode_direct" = yes; then
14320                                                       LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
14321                 else
14322                   if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
14323                                                             LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
14324                                                             haveit=
14325                     for x in $rpathdirs; do
14326                       if test "X$x" = "X$found_dir"; then
14327                         haveit=yes
14328                         break
14329                       fi
14330                     done
14331                     if test -z "$haveit"; then
14332                       rpathdirs="$rpathdirs $found_dir"
14333                     fi
14334                   else
14335                                                                                 haveit=
14336                     for x in $LDFLAGS $LIBINTL; do
14337
14338   acl_save_prefix="$prefix"
14339   prefix="$acl_final_prefix"
14340   acl_save_exec_prefix="$exec_prefix"
14341   exec_prefix="$acl_final_exec_prefix"
14342   eval x=\"$x\"
14343   exec_prefix="$acl_save_exec_prefix"
14344   prefix="$acl_save_prefix"
14345
14346                       if test "X$x" = "X-L$found_dir"; then
14347                         haveit=yes
14348                         break
14349                       fi
14350                     done
14351                     if test -z "$haveit"; then
14352                       LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
14353                     fi
14354                     if test "$acl_hardcode_minus_L" != no; then
14355                                                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
14356                     else
14357                                                                                                                                                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
14358                     fi
14359                   fi
14360                 fi
14361               fi
14362             else
14363               if test "X$found_a" != "X"; then
14364                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
14365               else
14366                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
14367               fi
14368             fi
14369                         additional_includedir=
14370             case "$found_dir" in
14371               */$acl_libdirstem | */$acl_libdirstem/)
14372                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
14373                 LIBINTL_PREFIX="$basedir"
14374                 additional_includedir="$basedir/include"
14375                 ;;
14376             esac
14377             if test "X$additional_includedir" != "X"; then
14378                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
14379                 haveit=
14380                 if test "X$additional_includedir" = "X/usr/local/include"; then
14381                   if test -n "$GCC"; then
14382                     case $host_os in
14383                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
14384                     esac
14385                   fi
14386                 fi
14387                 if test -z "$haveit"; then
14388                   for x in $CPPFLAGS $INCINTL; do
14389
14390   acl_save_prefix="$prefix"
14391   prefix="$acl_final_prefix"
14392   acl_save_exec_prefix="$exec_prefix"
14393   exec_prefix="$acl_final_exec_prefix"
14394   eval x=\"$x\"
14395   exec_prefix="$acl_save_exec_prefix"
14396   prefix="$acl_save_prefix"
14397
14398                     if test "X$x" = "X-I$additional_includedir"; then
14399                       haveit=yes
14400                       break
14401                     fi
14402                   done
14403                   if test -z "$haveit"; then
14404                     if test -d "$additional_includedir"; then
14405                                             INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
14406                     fi
14407                   fi
14408                 fi
14409               fi
14410             fi
14411                         if test -n "$found_la"; then
14412                                                         save_libdir="$libdir"
14413               case "$found_la" in
14414                 */* | *\\*) . "$found_la" ;;
14415                 *) . "./$found_la" ;;
14416               esac
14417               libdir="$save_libdir"
14418                             for dep in $dependency_libs; do
14419                 case "$dep" in
14420                   -L*)
14421                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
14422                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
14423                       haveit=
14424                       if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
14425                         if test -n "$GCC"; then
14426                           case $host_os in
14427                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
14428                           esac
14429                         fi
14430                       fi
14431                       if test -z "$haveit"; then
14432                         haveit=
14433                         for x in $LDFLAGS $LIBINTL; do
14434
14435   acl_save_prefix="$prefix"
14436   prefix="$acl_final_prefix"
14437   acl_save_exec_prefix="$exec_prefix"
14438   exec_prefix="$acl_final_exec_prefix"
14439   eval x=\"$x\"
14440   exec_prefix="$acl_save_exec_prefix"
14441   prefix="$acl_save_prefix"
14442
14443                           if test "X$x" = "X-L$additional_libdir"; then
14444                             haveit=yes
14445                             break
14446                           fi
14447                         done
14448                         if test -z "$haveit"; then
14449                           if test -d "$additional_libdir"; then
14450                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
14451                           fi
14452                         fi
14453                         haveit=
14454                         for x in $LDFLAGS $LTLIBINTL; do
14455
14456   acl_save_prefix="$prefix"
14457   prefix="$acl_final_prefix"
14458   acl_save_exec_prefix="$exec_prefix"
14459   exec_prefix="$acl_final_exec_prefix"
14460   eval x=\"$x\"
14461   exec_prefix="$acl_save_exec_prefix"
14462   prefix="$acl_save_prefix"
14463
14464                           if test "X$x" = "X-L$additional_libdir"; then
14465                             haveit=yes
14466                             break
14467                           fi
14468                         done
14469                         if test -z "$haveit"; then
14470                           if test -d "$additional_libdir"; then
14471                                                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
14472                           fi
14473                         fi
14474                       fi
14475                     fi
14476                     ;;
14477                   -R*)
14478                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
14479                     if test "$enable_rpath" != no; then
14480                                                                   haveit=
14481                       for x in $rpathdirs; do
14482                         if test "X$x" = "X$dir"; then
14483                           haveit=yes
14484                           break
14485                         fi
14486                       done
14487                       if test -z "$haveit"; then
14488                         rpathdirs="$rpathdirs $dir"
14489                       fi
14490                                                                   haveit=
14491                       for x in $ltrpathdirs; do
14492                         if test "X$x" = "X$dir"; then
14493                           haveit=yes
14494                           break
14495                         fi
14496                       done
14497                       if test -z "$haveit"; then
14498                         ltrpathdirs="$ltrpathdirs $dir"
14499                       fi
14500                     fi
14501                     ;;
14502                   -l*)
14503                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
14504                     ;;
14505                   *.la)
14506                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
14507                     ;;
14508                   *)
14509                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
14510                     LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
14511                     ;;
14512                 esac
14513               done
14514             fi
14515           else
14516                                                             LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
14517             LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
14518           fi
14519         fi
14520       fi
14521     done
14522   done
14523   if test "X$rpathdirs" != "X"; then
14524     if test -n "$acl_hardcode_libdir_separator"; then
14525                         alldirs=
14526       for found_dir in $rpathdirs; do
14527         alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
14528       done
14529             acl_save_libdir="$libdir"
14530       libdir="$alldirs"
14531       eval flag=\"$acl_hardcode_libdir_flag_spec\"
14532       libdir="$acl_save_libdir"
14533       LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
14534     else
14535             for found_dir in $rpathdirs; do
14536         acl_save_libdir="$libdir"
14537         libdir="$found_dir"
14538         eval flag=\"$acl_hardcode_libdir_flag_spec\"
14539         libdir="$acl_save_libdir"
14540         LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
14541       done
14542     fi
14543   fi
14544   if test "X$ltrpathdirs" != "X"; then
14545             for found_dir in $ltrpathdirs; do
14546       LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
14547     done
14548   fi
14549
14550           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
14551 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
14552 if eval \${$gt_func_gnugettext_libintl+:} false; then :
14553   $as_echo_n "(cached) " >&6
14554 else
14555   gt_save_CPPFLAGS="$CPPFLAGS"
14556             CPPFLAGS="$CPPFLAGS $INCINTL"
14557             gt_save_LIBS="$LIBS"
14558             LIBS="$LIBS $LIBINTL"
14559                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14560 /* end confdefs.h.  */
14561 #include <libintl.h>
14562 $gt_revision_test_code
14563 extern int _nl_msg_cat_cntr;
14564 extern
14565 #ifdef __cplusplus
14566 "C"
14567 #endif
14568 const char *_nl_expand_alias (const char *);
14569 int
14570 main ()
14571 {
14572 bindtextdomain ("", "");
14573 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
14574   ;
14575   return 0;
14576 }
14577 _ACEOF
14578 if ac_fn_c_try_link "$LINENO"; then :
14579   eval "$gt_func_gnugettext_libintl=yes"
14580 else
14581   eval "$gt_func_gnugettext_libintl=no"
14582 fi
14583 rm -f core conftest.err conftest.$ac_objext \
14584     conftest$ac_exeext conftest.$ac_ext
14585                         if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
14586               LIBS="$LIBS $LIBICONV"
14587               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14588 /* end confdefs.h.  */
14589 #include <libintl.h>
14590 $gt_revision_test_code
14591 extern int _nl_msg_cat_cntr;
14592 extern
14593 #ifdef __cplusplus
14594 "C"
14595 #endif
14596 const char *_nl_expand_alias (const char *);
14597 int
14598 main ()
14599 {
14600 bindtextdomain ("", "");
14601 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
14602   ;
14603   return 0;
14604 }
14605 _ACEOF
14606 if ac_fn_c_try_link "$LINENO"; then :
14607   LIBINTL="$LIBINTL $LIBICONV"
14608                 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
14609                 eval "$gt_func_gnugettext_libintl=yes"
14610
14611 fi
14612 rm -f core conftest.err conftest.$ac_objext \
14613     conftest$ac_exeext conftest.$ac_ext
14614             fi
14615             CPPFLAGS="$gt_save_CPPFLAGS"
14616             LIBS="$gt_save_LIBS"
14617 fi
14618 eval ac_res=\$$gt_func_gnugettext_libintl
14619                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14620 $as_echo "$ac_res" >&6; }
14621         fi
14622
14623                                         if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
14624            || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
14625                 && test "$PACKAGE" != gettext-runtime \
14626                 && test "$PACKAGE" != gettext-tools; }; then
14627           gt_use_preinstalled_gnugettext=yes
14628         else
14629                     LIBINTL=
14630           LTLIBINTL=
14631           INCINTL=
14632         fi
14633
14634
14635
14636     if test -n "$INTL_MACOSX_LIBS"; then
14637       if test "$gt_use_preinstalled_gnugettext" = "yes" \
14638          || test "$nls_cv_use_gnu_gettext" = "yes"; then
14639                 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
14640         LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
14641       fi
14642     fi
14643
14644     if test "$gt_use_preinstalled_gnugettext" = "yes" \
14645        || test "$nls_cv_use_gnu_gettext" = "yes"; then
14646
14647 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
14648
14649     else
14650       USE_NLS=no
14651     fi
14652   fi
14653
14654   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
14655 $as_echo_n "checking whether to use NLS... " >&6; }
14656   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
14657 $as_echo "$USE_NLS" >&6; }
14658   if test "$USE_NLS" = "yes"; then
14659     { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
14660 $as_echo_n "checking where the gettext function comes from... " >&6; }
14661     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
14662       if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
14663         gt_source="external libintl"
14664       else
14665         gt_source="libc"
14666       fi
14667     else
14668       gt_source="included intl directory"
14669     fi
14670     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
14671 $as_echo "$gt_source" >&6; }
14672   fi
14673
14674   if test "$USE_NLS" = "yes"; then
14675
14676     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
14677       if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
14678         { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
14679 $as_echo_n "checking how to link with libintl... " >&6; }
14680         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
14681 $as_echo "$LIBINTL" >&6; }
14682
14683   for element in $INCINTL; do
14684     haveit=
14685     for x in $CPPFLAGS; do
14686
14687   acl_save_prefix="$prefix"
14688   prefix="$acl_final_prefix"
14689   acl_save_exec_prefix="$exec_prefix"
14690   exec_prefix="$acl_final_exec_prefix"
14691   eval x=\"$x\"
14692   exec_prefix="$acl_save_exec_prefix"
14693   prefix="$acl_save_prefix"
14694
14695       if test "X$x" = "X$element"; then
14696         haveit=yes
14697         break
14698       fi
14699     done
14700     if test -z "$haveit"; then
14701       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
14702     fi
14703   done
14704
14705       fi
14706
14707
14708 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
14709
14710
14711 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
14712
14713     fi
14714
14715         POSUB=po
14716   fi
14717
14718
14719
14720     INTLLIBS="$LIBINTL"
14721
14722
14723
14724
14725
14726
14727
14728   if test "$USE_NLS" = "yes"; then
14729     GETTEXT_PACKAGE=gst-plugins-base-$GST_MAJORMINOR
14730   else
14731     GETTEXT_PACKAGE=NULL
14732   fi
14733
14734
14735 cat >>confdefs.h <<_ACEOF
14736 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
14737 _ACEOF
14738
14739
14740
14741   EXP_VAR=LOCALEDIR
14742   FROM_VAR=$datadir/locale
14743
14744     prefix_save=$prefix
14745   exec_prefix_save=$exec_prefix
14746
14747     if test "x$prefix" = "xNONE"; then
14748     prefix="$ac_default_prefix"
14749   fi
14750     if test "x$exec_prefix" = "xNONE"; then
14751     exec_prefix=$prefix
14752   fi
14753
14754   full_var="$FROM_VAR"
14755     while true; do
14756     new_full_var="`eval echo $full_var`"
14757     if test "x$new_full_var" = "x$full_var"; then break; fi
14758     full_var=$new_full_var
14759   done
14760
14761     full_var=$new_full_var
14762   LOCALEDIR="$full_var"
14763
14764
14765     prefix=$prefix_save
14766   exec_prefix=$exec_prefix_save
14767
14768
14769 cat >>confdefs.h <<_ACEOF
14770 #define LOCALEDIR "$LOCALEDIR"
14771 _ACEOF
14772
14773
14774
14775
14776
14777     # Check whether --enable-debug was given.
14778 if test "${enable_debug+set}" = set; then :
14779   enableval=$enable_debug;
14780       case "${enableval}" in
14781         yes) USE_DEBUG=yes ;;
14782         no)  USE_DEBUG=no ;;
14783         *)   as_fn_error $? "bad value ${enableval} for --enable-debug" "$LINENO" 5 ;;
14784       esac
14785
14786 else
14787   USE_DEBUG=yes
14788 fi
14789
14790
14791   # Check whether --enable-profiling was given.
14792 if test "${enable_profiling+set}" = set; then :
14793   enableval=$enable_profiling;
14794       case "${enableval}" in
14795         yes) USE_PROFILING=yes ;;
14796         no)  USE_PROFILING=no ;;
14797         *)   as_fn_error $? "bad value ${enableval} for --enable-profiling" "$LINENO" 5 ;;
14798       esac
14799
14800 else
14801   USE_PROFILING=no
14802 fi
14803
14804
14805
14806 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
14807         if test -n "$ac_tool_prefix"; then
14808   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
14809 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
14810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14811 $as_echo_n "checking for $ac_word... " >&6; }
14812 if ${ac_cv_path_PKG_CONFIG+:} false; then :
14813   $as_echo_n "(cached) " >&6
14814 else
14815   case $PKG_CONFIG in
14816   [\\/]* | ?:[\\/]*)
14817   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
14818   ;;
14819   *)
14820   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14821 for as_dir in $PATH
14822 do
14823   IFS=$as_save_IFS
14824   test -z "$as_dir" && as_dir=.
14825     for ac_exec_ext in '' $ac_executable_extensions; do
14826   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14827     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14828     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14829     break 2
14830   fi
14831 done
14832   done
14833 IFS=$as_save_IFS
14834
14835   ;;
14836 esac
14837 fi
14838 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14839 if test -n "$PKG_CONFIG"; then
14840   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14841 $as_echo "$PKG_CONFIG" >&6; }
14842 else
14843   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14844 $as_echo "no" >&6; }
14845 fi
14846
14847
14848 fi
14849 if test -z "$ac_cv_path_PKG_CONFIG"; then
14850   ac_pt_PKG_CONFIG=$PKG_CONFIG
14851   # Extract the first word of "pkg-config", so it can be a program name with args.
14852 set dummy pkg-config; ac_word=$2
14853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14854 $as_echo_n "checking for $ac_word... " >&6; }
14855 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
14856   $as_echo_n "(cached) " >&6
14857 else
14858   case $ac_pt_PKG_CONFIG in
14859   [\\/]* | ?:[\\/]*)
14860   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
14861   ;;
14862   *)
14863   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14864 for as_dir in $PATH
14865 do
14866   IFS=$as_save_IFS
14867   test -z "$as_dir" && as_dir=.
14868     for ac_exec_ext in '' $ac_executable_extensions; do
14869   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14870     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14871     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14872     break 2
14873   fi
14874 done
14875   done
14876 IFS=$as_save_IFS
14877
14878   ;;
14879 esac
14880 fi
14881 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
14882 if test -n "$ac_pt_PKG_CONFIG"; then
14883   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
14884 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
14885 else
14886   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14887 $as_echo "no" >&6; }
14888 fi
14889
14890   if test "x$ac_pt_PKG_CONFIG" = x; then
14891     PKG_CONFIG=""
14892   else
14893     case $cross_compiling:$ac_tool_warned in
14894 yes:)
14895 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14896 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14897 ac_tool_warned=yes ;;
14898 esac
14899     PKG_CONFIG=$ac_pt_PKG_CONFIG
14900   fi
14901 else
14902   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
14903 fi
14904
14905 fi
14906 if test -n "$PKG_CONFIG"; then
14907         _pkg_min_version=0.9.0
14908         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
14909 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
14910         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
14911                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14912 $as_echo "yes" >&6; }
14913         else
14914                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14915 $as_echo "no" >&6; }
14916                 PKG_CONFIG=""
14917         fi
14918
14919 fi
14920
14921     # Check whether --enable-valgrind was given.
14922 if test "${enable_valgrind+set}" = set; then :
14923   enableval=$enable_valgrind;
14924       case "${enableval}" in
14925         yes) USE_VALGRIND="$USE_DEBUG" ;;
14926         no)  USE_VALGRIND=no ;;
14927         *)   as_fn_error $? "bad value ${enableval} for --enable-valgrind" "$LINENO" 5 ;;
14928       esac
14929
14930 else
14931   USE_VALGRIND="$USE_DEBUG"
14932 fi
14933    VALGRIND_REQ="3.0"
14934   if test "x$USE_VALGRIND" = xyes; then
14935
14936 pkg_failed=no
14937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for VALGRIND" >&5
14938 $as_echo_n "checking for VALGRIND... " >&6; }
14939
14940 if test -n "$PKG_CONFIG"; then
14941     if test -n "$VALGRIND_CFLAGS"; then
14942         pkg_cv_VALGRIND_CFLAGS="$VALGRIND_CFLAGS"
14943     else
14944         if test -n "$PKG_CONFIG" && \
14945     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= \$VALGRIND_REQ\""; } >&5
14946   ($PKG_CONFIG --exists --print-errors "valgrind >= $VALGRIND_REQ") 2>&5
14947   ac_status=$?
14948   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14949   test $ac_status = 0; }; then
14950   pkg_cv_VALGRIND_CFLAGS=`$PKG_CONFIG --cflags "valgrind >= $VALGRIND_REQ" 2>/dev/null`
14951 else
14952   pkg_failed=yes
14953 fi
14954     fi
14955 else
14956         pkg_failed=untried
14957 fi
14958 if test -n "$PKG_CONFIG"; then
14959     if test -n "$VALGRIND_LIBS"; then
14960         pkg_cv_VALGRIND_LIBS="$VALGRIND_LIBS"
14961     else
14962         if test -n "$PKG_CONFIG" && \
14963     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= \$VALGRIND_REQ\""; } >&5
14964   ($PKG_CONFIG --exists --print-errors "valgrind >= $VALGRIND_REQ") 2>&5
14965   ac_status=$?
14966   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14967   test $ac_status = 0; }; then
14968   pkg_cv_VALGRIND_LIBS=`$PKG_CONFIG --libs "valgrind >= $VALGRIND_REQ" 2>/dev/null`
14969 else
14970   pkg_failed=yes
14971 fi
14972     fi
14973 else
14974         pkg_failed=untried
14975 fi
14976
14977
14978
14979 if test $pkg_failed = yes; then
14980
14981 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14982         _pkg_short_errors_supported=yes
14983 else
14984         _pkg_short_errors_supported=no
14985 fi
14986         if test $_pkg_short_errors_supported = yes; then
14987                 VALGRIND_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "valgrind >= $VALGRIND_REQ"`
14988         else
14989                 VALGRIND_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "valgrind >= $VALGRIND_REQ"`
14990         fi
14991         # Put the nasty error message in config.log where it belongs
14992         echo "$VALGRIND_PKG_ERRORS" >&5
14993
14994         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14995 $as_echo "no" >&6; }
14996                 USE_VALGRIND="no"
14997 elif test $pkg_failed = untried; then
14998         USE_VALGRIND="no"
14999 else
15000         VALGRIND_CFLAGS=$pkg_cv_VALGRIND_CFLAGS
15001         VALGRIND_LIBS=$pkg_cv_VALGRIND_LIBS
15002         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15003 $as_echo "yes" >&6; }
15004         USE_VALGRIND="yes"
15005 fi
15006   fi
15007   if test "x$USE_VALGRIND" = xyes; then
15008
15009 $as_echo "#define HAVE_VALGRIND 1" >>confdefs.h
15010
15011     { $as_echo "$as_me:${as_lineno-$LINENO}: Using extra code paths for valgrind" >&5
15012 $as_echo "$as_me: Using extra code paths for valgrind" >&6;}
15013   fi
15014
15015
15016   # Check whether --enable-gcov was given.
15017 if test "${enable_gcov+set}" = set; then :
15018   enableval=$enable_gcov; enable_gcov=$enableval
15019 else
15020   enable_gcov=no
15021 fi
15022
15023   if test x$enable_gcov = xyes ; then
15024     if test "x$GCC" != "xyes"
15025     then
15026       as_fn_error $? "gcov only works if gcc is used" "$LINENO" 5
15027     fi
15028
15029
15030   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands \"-fprofile-arcs\"" >&5
15031 $as_echo_n "checking to see if compiler understands \"-fprofile-arcs\"... " >&6; }
15032
15033   save_CFLAGS="$CFLAGS"
15034   CFLAGS="$CFLAGS "-fprofile-arcs""
15035
15036   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15037 /* end confdefs.h.  */
15038
15039 int
15040 main ()
15041 {
15042
15043   ;
15044   return 0;
15045 }
15046 _ACEOF
15047 if ac_fn_c_try_compile "$LINENO"; then :
15048   flag_ok=yes
15049 else
15050   flag_ok=no
15051 fi
15052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15053   CFLAGS="$save_CFLAGS"
15054
15055   if test "X$flag_ok" = Xyes ; then
15056     GCOV_CFLAGS="$GCOV_CFLAGS -fprofile-arcs"
15057     true
15058   else
15059     true
15060     true
15061   fi
15062   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
15063 $as_echo "$flag_ok" >&6; }
15064
15065
15066   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands \"-ftest-coverage\"" >&5
15067 $as_echo_n "checking to see if compiler understands \"-ftest-coverage\"... " >&6; }
15068
15069   save_CFLAGS="$CFLAGS"
15070   CFLAGS="$CFLAGS "-ftest-coverage""
15071
15072   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15073 /* end confdefs.h.  */
15074
15075 int
15076 main ()
15077 {
15078
15079   ;
15080   return 0;
15081 }
15082 _ACEOF
15083 if ac_fn_c_try_compile "$LINENO"; then :
15084   flag_ok=yes
15085 else
15086   flag_ok=no
15087 fi
15088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15089   CFLAGS="$save_CFLAGS"
15090
15091   if test "X$flag_ok" = Xyes ; then
15092     GCOV_CFLAGS="$GCOV_CFLAGS -ftest-coverage"
15093     true
15094   else
15095     true
15096     true
15097   fi
15098   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
15099 $as_echo "$flag_ok" >&6; }
15100
15101         GCOV_CFLAGS=`echo "$GCOV_CFLAGS" | sed -e 's/-O[0-9]*//g'`
15102                 GCOV_LIBS=-lgcov
15103
15104
15105     GCOV=`echo $CC | sed s/gcc/gcov/g`
15106
15107
15108     GST_GCOV_ENABLED=yes
15109
15110 cat >>confdefs.h <<_ACEOF
15111 #define GST_GCOV_ENABLED 1
15112 _ACEOF
15113
15114         if test "x$GST_GCOV_ENABLED" = "xyes"
15115     then
15116       CFLAGS="-O0"
15117
15118       CXXFLAGS="-O0"
15119
15120       FFLAGS="-O0"
15121
15122       CCASFLAGS="-O0"
15123
15124       { $as_echo "$as_me:${as_lineno-$LINENO}: gcov enabled, setting CFLAGS and friends to $CFLAGS" >&5
15125 $as_echo "$as_me: gcov enabled, setting CFLAGS and friends to $CFLAGS" >&6;}
15126     fi
15127   fi
15128    if test x$enable_gcov = xyes; then
15129   GST_GCOV_ENABLED_TRUE=
15130   GST_GCOV_ENABLED_FALSE='#'
15131 else
15132   GST_GCOV_ENABLED_TRUE='#'
15133   GST_GCOV_ENABLED_FALSE=
15134 fi
15135
15136
15137
15138
15139   # Check whether --enable-examples was given.
15140 if test "${enable_examples+set}" = set; then :
15141   enableval=$enable_examples;
15142         case "${enableval}" in
15143           yes) BUILD_EXAMPLES=yes ;;
15144           no)  BUILD_EXAMPLES=no ;;
15145           *)   as_fn_error $? "bad value ${enableval} for --disable-examples" "$LINENO" 5 ;;
15146         esac
15147
15148 else
15149   BUILD_EXAMPLES=yes
15150 fi
15151     if test "x$BUILD_EXAMPLES" = "xyes"; then
15152   BUILD_EXAMPLES_TRUE=
15153   BUILD_EXAMPLES_FALSE='#'
15154 else
15155   BUILD_EXAMPLES_TRUE='#'
15156   BUILD_EXAMPLES_FALSE=
15157 fi
15158
15159
15160
15161
15162
15163 # Check whether --with-pkg-config-path was given.
15164 if test "${with_pkg_config_path+set}" = set; then :
15165   withval=$with_pkg_config_path;
15166        export PKG_CONFIG_PATH=${withval}
15167        { $as_echo "$as_me:${as_lineno-$LINENO}: Set PKG_CONFIG_PATH to $PKG_CONFIG_PATH" >&5
15168 $as_echo "$as_me: Set PKG_CONFIG_PATH to $PKG_CONFIG_PATH" >&6;}
15169
15170 fi
15171
15172
15173
15174
15175 # Check whether --with-package-name was given.
15176 if test "${with_package_name+set}" = set; then :
15177   withval=$with_package_name;
15178       case "${withval}" in
15179         yes) as_fn_error $? "bad value ${withval} for --with-package-name" "$LINENO" 5 ;;
15180         no)  as_fn_error $? "bad value ${withval} for --with-package-name" "$LINENO" 5 ;;
15181         *)   GST_PACKAGE_NAME="${withval}" ;;
15182       esac
15183
15184 else
15185
15186       P=
15187       if test "x$P" = "x"
15188       then
15189         P=$PACKAGE_NAME
15190       fi
15191
15192       if test "x$PACKAGE_VERSION_NANO" = "x0"
15193       then
15194         GST_PACKAGE_NAME="$P source release"
15195       else
15196         if test "x$PACKAGE_VERSION_NANO" = "x1"
15197         then
15198           GST_PACKAGE_NAME="$P git"
15199         else
15200           GST_PACKAGE_NAME="$P prerelease"
15201         fi
15202       fi
15203
15204
15205 fi
15206
15207   { $as_echo "$as_me:${as_lineno-$LINENO}: Using $GST_PACKAGE_NAME as package name" >&5
15208 $as_echo "$as_me: Using $GST_PACKAGE_NAME as package name" >&6;}
15209
15210 cat >>confdefs.h <<_ACEOF
15211 #define GST_PACKAGE_NAME "$GST_PACKAGE_NAME"
15212 _ACEOF
15213
15214
15215
15216
15217
15218 # Check whether --with-package-origin was given.
15219 if test "${with_package_origin+set}" = set; then :
15220   withval=$with_package_origin;
15221       case "${withval}" in
15222         yes) as_fn_error $? "bad value ${withval} for --with-package-origin" "$LINENO" 5 ;;
15223         no)  as_fn_error $? "bad value ${withval} for --with-package-origin" "$LINENO" 5 ;;
15224         *)   GST_PACKAGE_ORIGIN="${withval}" ;;
15225       esac
15226
15227 else
15228   GST_PACKAGE_ORIGIN="Unknown package origin"
15229 fi
15230
15231   { $as_echo "$as_me:${as_lineno-$LINENO}: Using $GST_PACKAGE_ORIGIN as package origin" >&5
15232 $as_echo "$as_me: Using $GST_PACKAGE_ORIGIN as package origin" >&6;}
15233
15234 cat >>confdefs.h <<_ACEOF
15235 #define GST_PACKAGE_ORIGIN "$GST_PACKAGE_ORIGIN"
15236 _ACEOF
15237
15238
15239
15240
15241
15242   GST_PKG_CONFIG_PATH="\$(top_builddir)/pkgconfig"
15243   if test "x$PKG_CONFIG_PATH" != "x"; then
15244     GST_PKG_CONFIG_PATH="$GST_PKG_CONFIG_PATH:$PKG_CONFIG_PATH"
15245   fi
15246
15247   { $as_echo "$as_me:${as_lineno-$LINENO}: Using GST_PKG_CONFIG_PATH = $GST_PKG_CONFIG_PATH" >&5
15248 $as_echo "$as_me: Using GST_PKG_CONFIG_PATH = $GST_PKG_CONFIG_PATH" >&6;}
15249
15250
15251
15252 # Check whether --with-install-plugins-helper was given.
15253 if test "${with_install_plugins_helper+set}" = set; then :
15254   withval=$with_install_plugins_helper;
15255     case "${withval}" in
15256       yes) as_fn_error $? "bad value ${withval} for --with-install-plugins-helper" "$LINENO" 5 ;;
15257       no)  as_fn_error $? "bad value ${withval} for --with-install-plugins-helper" "$LINENO" 5 ;;
15258       *)   GST_INSTALL_PLUGINS_HELPER="${withval}" ;;
15259     esac
15260
15261 else
15262
15263
15264   EXP_VAR=GST_INSTALL_PLUGINS_HELPER
15265   FROM_VAR=${libexecdir}/gst-install-plugins-helper
15266
15267     prefix_save=$prefix
15268   exec_prefix_save=$exec_prefix
15269
15270     if test "x$prefix" = "xNONE"; then
15271     prefix="$ac_default_prefix"
15272   fi
15273     if test "x$exec_prefix" = "xNONE"; then
15274     exec_prefix=$prefix
15275   fi
15276
15277   full_var="$FROM_VAR"
15278     while true; do
15279     new_full_var="`eval echo $full_var`"
15280     if test "x$new_full_var" = "x$full_var"; then break; fi
15281     full_var=$new_full_var
15282   done
15283
15284     full_var=$new_full_var
15285   GST_INSTALL_PLUGINS_HELPER="$full_var"
15286
15287
15288     prefix=$prefix_save
15289   exec_prefix=$exec_prefix_save
15290
15291
15292
15293 fi
15294
15295 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $GST_INSTALL_PLUGINS_HELPER as plugin install helper" >&5
15296 $as_echo "$as_me: Using $GST_INSTALL_PLUGINS_HELPER as plugin install helper" >&6;}
15297
15298 cat >>confdefs.h <<_ACEOF
15299 #define GST_INSTALL_PLUGINS_HELPER "$GST_INSTALL_PLUGINS_HELPER"
15300 _ACEOF
15301
15302
15303
15304
15305
15306 # Check whether --with-plugins was given.
15307 if test "${with_plugins+set}" = set; then :
15308   withval=$with_plugins; WITH_PLUGINS=$withval
15309 else
15310   WITH_PLUGINS=
15311 fi
15312
15313
15314   GST_PLUGINS_ALL=""
15315   GST_PLUGINS_SELECTED=""
15316
15317
15318
15319
15320
15321
15322   echo
15323 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: building of plug-ins with external deps ***" >&5
15324 $as_echo "$as_me: *** checking feature: building of plug-ins with external deps ***" >&6;}
15325 if test "x" != "x"
15326 then
15327   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins:  ***" >&5
15328 $as_echo "$as_me: *** for plug-ins:  ***" >&6;}
15329 fi
15330 NOUSE=
15331 if test "x$USE_EXTERNAL" = "xno"; then
15332   NOUSE="yes"
15333 fi
15334 # Check whether --enable-external was given.
15335 if test "${enable_external+set}" = set; then :
15336   enableval=$enable_external;  case "${enableval}" in
15337       yes) USE_EXTERNAL=yes;;
15338       no) USE_EXTERNAL=no;;
15339       *) as_fn_error $? "bad value ${enableval} for --enable-external" "$LINENO" 5 ;;
15340     esac
15341 else
15342    USE_EXTERNAL=yes
15343 fi
15344
15345 if test "x$NOUSE" = "xyes"; then
15346   USE_EXTERNAL="no"
15347   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ***  pre-configured not to be built" >&5
15348 $as_echo "$as_me: WARNING: ***  pre-configured not to be built" >&2;}
15349 fi
15350 NOUSE=
15351
15352
15353 if test x$USE_EXTERNAL = xyes; then
15354
15355   gst_check_save_LIBS=$LIBS
15356   gst_check_save_LDFLAGS=$LDFLAGS
15357   gst_check_save_CFLAGS=$CFLAGS
15358   gst_check_save_CPPFLAGS=$CPPFLAGS
15359   gst_check_save_CXXFLAGS=$CXXFLAGS
15360
15361   HAVE_EXTERNAL=no
15362     HAVE_EXTERNAL=yes
15363
15364   LIBS=$gst_check_save_LIBS
15365   LDFLAGS=$gst_check_save_LDFLAGS
15366   CFLAGS=$gst_check_save_CFLAGS
15367   CPPFLAGS=$gst_check_save_CPPFLAGS
15368   CXXFLAGS=$gst_check_save_CXXFLAGS
15369
15370     if test x$HAVE_EXTERNAL = xno; then
15371     USE_EXTERNAL=no
15372   else
15373     :
15374   fi
15375 fi
15376 if test x$USE_EXTERNAL = xyes; then
15377
15378       { $as_echo "$as_me:${as_lineno-$LINENO}: building external plug-ins" >&5
15379 $as_echo "$as_me: building external plug-ins" >&6;}
15380       BUILD_EXTERNAL="yes"
15381
15382   if test "x" != "x"; then
15383     GST_PLUGINS_YES="\t\n$GST_PLUGINS_YES"
15384   fi
15385
15386 $as_echo "#define HAVE_EXTERNAL /**/" >>confdefs.h
15387
15388 else
15389   :
15390   if test "x" != "x"; then
15391     GST_PLUGINS_NO="\t\n$GST_PLUGINS_NO"
15392   fi
15393
15394       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: all plug-ins with external dependencies will not be built" >&5
15395 $as_echo "$as_me: WARNING: all plug-ins with external dependencies will not be built" >&2;}
15396       BUILD_EXTERNAL="no"
15397
15398 fi
15399  if test x$USE_EXTERNAL = xyes; then
15400   USE_EXTERNAL_TRUE=
15401   USE_EXTERNAL_FALSE='#'
15402 else
15403   USE_EXTERNAL_TRUE='#'
15404   USE_EXTERNAL_FALSE=
15405 fi
15406
15407
15408   # make BUILD_EXTERNAL available to Makefile.am
15409    if test "x$BUILD_EXTERNAL" = "xyes"; then
15410   BUILD_EXTERNAL_TRUE=
15411   BUILD_EXTERNAL_FALSE='#'
15412 else
15413   BUILD_EXTERNAL_TRUE='#'
15414   BUILD_EXTERNAL_FALSE=
15415 fi
15416
15417
15418
15419
15420   echo
15421 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: building of experimental plug-ins ***" >&5
15422 $as_echo "$as_me: *** checking feature: building of experimental plug-ins ***" >&6;}
15423 if test "x" != "x"
15424 then
15425   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins:  ***" >&5
15426 $as_echo "$as_me: *** for plug-ins:  ***" >&6;}
15427 fi
15428 NOUSE=
15429 if test "x$USE_EXPERIMENTAL" = "xno"; then
15430   NOUSE="yes"
15431 fi
15432 # Check whether --enable-experimental was given.
15433 if test "${enable_experimental+set}" = set; then :
15434   enableval=$enable_experimental;  case "${enableval}" in
15435       yes) USE_EXPERIMENTAL=yes;;
15436       no) USE_EXPERIMENTAL=no;;
15437       *) as_fn_error $? "bad value ${enableval} for --enable-experimental" "$LINENO" 5 ;;
15438     esac
15439 else
15440    USE_EXPERIMENTAL=no
15441 fi
15442
15443 if test "x$NOUSE" = "xyes"; then
15444   USE_EXPERIMENTAL="no"
15445   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ***  pre-configured not to be built" >&5
15446 $as_echo "$as_me: WARNING: ***  pre-configured not to be built" >&2;}
15447 fi
15448 NOUSE=
15449
15450
15451 if test x$USE_EXPERIMENTAL = xyes; then
15452
15453   gst_check_save_LIBS=$LIBS
15454   gst_check_save_LDFLAGS=$LDFLAGS
15455   gst_check_save_CFLAGS=$CFLAGS
15456   gst_check_save_CPPFLAGS=$CPPFLAGS
15457   gst_check_save_CXXFLAGS=$CXXFLAGS
15458
15459   HAVE_EXPERIMENTAL=no
15460     HAVE_EXPERIMENTAL=yes
15461
15462   LIBS=$gst_check_save_LIBS
15463   LDFLAGS=$gst_check_save_LDFLAGS
15464   CFLAGS=$gst_check_save_CFLAGS
15465   CPPFLAGS=$gst_check_save_CPPFLAGS
15466   CXXFLAGS=$gst_check_save_CXXFLAGS
15467
15468     if test x$HAVE_EXPERIMENTAL = xno; then
15469     USE_EXPERIMENTAL=no
15470   else
15471     :
15472   fi
15473 fi
15474 if test x$USE_EXPERIMENTAL = xyes; then
15475
15476       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: building experimental plug-ins" >&5
15477 $as_echo "$as_me: WARNING: building experimental plug-ins" >&2;}
15478       BUILD_EXPERIMENTAL="yes"
15479
15480   if test "x" != "x"; then
15481     GST_PLUGINS_YES="\t\n$GST_PLUGINS_YES"
15482   fi
15483
15484 $as_echo "#define HAVE_EXPERIMENTAL /**/" >>confdefs.h
15485
15486 else
15487   :
15488   if test "x" != "x"; then
15489     GST_PLUGINS_NO="\t\n$GST_PLUGINS_NO"
15490   fi
15491
15492       { $as_echo "$as_me:${as_lineno-$LINENO}: not building experimental plug-ins" >&5
15493 $as_echo "$as_me: not building experimental plug-ins" >&6;}
15494       BUILD_EXPERIMENTAL="no"
15495
15496 fi
15497  if test x$USE_EXPERIMENTAL = xyes; then
15498   USE_EXPERIMENTAL_TRUE=
15499   USE_EXPERIMENTAL_FALSE='#'
15500 else
15501   USE_EXPERIMENTAL_TRUE='#'
15502   USE_EXPERIMENTAL_FALSE=
15503 fi
15504
15505
15506   # make BUILD_EXPERIMENTAL available to Makefile.am
15507    if test "x$BUILD_EXPERIMENTAL" = "xyes"; then
15508   BUILD_EXPERIMENTAL_TRUE=
15509   BUILD_EXPERIMENTAL_FALSE='#'
15510 else
15511   BUILD_EXPERIMENTAL_TRUE='#'
15512   BUILD_EXPERIMENTAL_FALSE=
15513 fi
15514
15515
15516
15517
15518
15519
15520   case $host_os in
15521     rhapsody*)
15522
15523 cat >>confdefs.h <<_ACEOF
15524 #define GST_EXTRA_MODULE_SUFFIX ".dylib"
15525 _ACEOF
15526
15527       ;;
15528     darwin*)
15529
15530 cat >>confdefs.h <<_ACEOF
15531 #define GST_EXTRA_MODULE_SUFFIX ".dylib"
15532 _ACEOF
15533
15534
15535 cat >>confdefs.h <<_ACEOF
15536 #define HAVE_OSX 1
15537 _ACEOF
15538
15539       ;;
15540     cygwin*)
15541
15542 cat >>confdefs.h <<_ACEOF
15543 #define GST_HAVE_UNSAFE_FORK 1
15544 _ACEOF
15545
15546       ;;
15547     mingw* | msvc* | mks*)
15548
15549 cat >>confdefs.h <<_ACEOF
15550 #define HAVE_WIN32 1
15551 _ACEOF
15552
15553
15554                               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15555 /* end confdefs.h.  */
15556
15557 int
15558 main ()
15559 {
15560  return __MSVCRT_VERSION__;
15561   ;
15562   return 0;
15563 }
15564 _ACEOF
15565 if ac_fn_c_try_compile "$LINENO"; then :
15566
15567           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15568 /* end confdefs.h.  */
15569
15570 int
15571 main ()
15572 {
15573
15574             #if __MSVCRT_VERSION__ < 0x0601
15575             #error "MSVCRT too old"
15576             #endif
15577
15578   ;
15579   return 0;
15580 }
15581 _ACEOF
15582 if ac_fn_c_try_compile "$LINENO"; then :
15583
15584             { $as_echo "$as_me:${as_lineno-$LINENO}: MSVCRT version looks ok" >&5
15585 $as_echo "$as_me: MSVCRT version looks ok" >&6;}
15586
15587 else
15588
15589             as_fn_error $? "MSVCRT version too old, need at least WinXP SP2" "$LINENO" 5
15590
15591 fi
15592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15593
15594 else
15595
15596         { $as_echo "$as_me:${as_lineno-$LINENO}: Setting MSVCRT version to 0x0601" >&5
15597 $as_echo "$as_me: Setting MSVCRT version to 0x0601" >&6;}
15598
15599 cat >>confdefs.h <<_ACEOF
15600 #define __MSVCRT_VERSION__ 0x0601
15601 _ACEOF
15602
15603
15604 fi
15605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15606       ;;
15607      *)
15608       ;;
15609   esac
15610
15611
15612
15613
15614
15615     case "x${host_cpu}" in
15616     xi?86 | xk? | xi?86_64)
15617       case $host_os in
15618          solaris*)
15619             ac_fn_c_check_decl "$LINENO" "__i386" "ac_cv_have_decl___i386" "$ac_includes_default"
15620 if test "x$ac_cv_have_decl___i386" = xyes; then :
15621   I386_ABI="yes"
15622 else
15623   I386_ABI="no"
15624 fi
15625
15626             ac_fn_c_check_decl "$LINENO" "__amd64" "ac_cv_have_decl___amd64" "$ac_includes_default"
15627 if test "x$ac_cv_have_decl___amd64" = xyes; then :
15628   AMD64_ABI="yes"
15629 else
15630   AMD64_ABI="no"
15631 fi
15632
15633
15634             if test "x$I386_ABI" = "xyes" ; then
15635                HAVE_CPU_I386=yes
15636
15637 $as_echo "#define HAVE_CPU_I386 1" >>confdefs.h
15638
15639             fi
15640             if test "x$AMD64_ABI" = "xyes" ; then
15641                 HAVE_CPU_X86_64=yes
15642
15643 $as_echo "#define HAVE_CPU_X86_64 1" >>confdefs.h
15644
15645             fi
15646             ;;
15647          *)
15648             HAVE_CPU_I386=yes
15649
15650 $as_echo "#define HAVE_CPU_I386 1" >>confdefs.h
15651
15652
15653                                     case "x${host_cpu}" in
15654               xi386 | xi486) ;;
15655             *)
15656
15657 $as_echo "#define HAVE_RDTSC 1" >>confdefs.h
15658  ;;
15659             esac
15660             ;;
15661       esac
15662       ;;
15663     xpowerpc)
15664       HAVE_CPU_PPC=yes
15665
15666 $as_echo "#define HAVE_CPU_PPC 1" >>confdefs.h
15667  ;;
15668     xpowerpc64)
15669       HAVE_CPU_PPC64=yes
15670
15671 $as_echo "#define HAVE_CPU_PPC64 1" >>confdefs.h
15672  ;;
15673     xalpha*)
15674       HAVE_CPU_ALPHA=yes
15675
15676 $as_echo "#define HAVE_CPU_ALPHA 1" >>confdefs.h
15677  ;;
15678     xarm*)
15679       HAVE_CPU_ARM=yes
15680
15681 $as_echo "#define HAVE_CPU_ARM 1" >>confdefs.h
15682  ;;
15683     xsparc*)
15684       HAVE_CPU_SPARC=yes
15685
15686 $as_echo "#define HAVE_CPU_SPARC 1" >>confdefs.h
15687  ;;
15688     xmips*)
15689       HAVE_CPU_MIPS=yes
15690
15691 $as_echo "#define HAVE_CPU_MIPS 1" >>confdefs.h
15692  ;;
15693     xhppa*)
15694       HAVE_CPU_HPPA=yes
15695
15696 $as_echo "#define HAVE_CPU_HPPA 1" >>confdefs.h
15697  ;;
15698     xs390*)
15699       HAVE_CPU_S390=yes
15700
15701 $as_echo "#define HAVE_CPU_S390 1" >>confdefs.h
15702  ;;
15703     xia64*)
15704       HAVE_CPU_IA64=yes
15705
15706 $as_echo "#define HAVE_CPU_IA64 1" >>confdefs.h
15707  ;;
15708     xm68k*)
15709       HAVE_CPU_M68K=yes
15710
15711 $as_echo "#define HAVE_CPU_M68K 1" >>confdefs.h
15712  ;;
15713     xx86_64)
15714       HAVE_CPU_X86_64=yes
15715
15716 $as_echo "#define HAVE_CPU_X86_64 1" >>confdefs.h
15717  ;;
15718     xcris)
15719       HAVE_CPU_CRIS=yes
15720
15721 $as_echo "#define HAVE_CPU_CRIS 1" >>confdefs.h
15722  ;;
15723     xcrisv32)
15724       HAVE_CPU_CRISV32=yes
15725
15726 $as_echo "#define HAVE_CPU_CRISV32 1" >>confdefs.h
15727  ;;
15728   esac
15729
15730      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
15731 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
15732 if ${ac_cv_c_bigendian+:} false; then :
15733   $as_echo_n "(cached) " >&6
15734 else
15735   ac_cv_c_bigendian=unknown
15736     # See if we're dealing with a universal compiler.
15737     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15738 /* end confdefs.h.  */
15739 #ifndef __APPLE_CC__
15740                not a universal capable compiler
15741              #endif
15742              typedef int dummy;
15743
15744 _ACEOF
15745 if ac_fn_c_try_compile "$LINENO"; then :
15746
15747         # Check for potential -arch flags.  It is not universal unless
15748         # there are at least two -arch flags with different values.
15749         ac_arch=
15750         ac_prev=
15751         for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
15752          if test -n "$ac_prev"; then
15753            case $ac_word in
15754              i?86 | x86_64 | ppc | ppc64)
15755                if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
15756                  ac_arch=$ac_word
15757                else
15758                  ac_cv_c_bigendian=universal
15759                  break
15760                fi
15761                ;;
15762            esac
15763            ac_prev=
15764          elif test "x$ac_word" = "x-arch"; then
15765            ac_prev=arch
15766          fi
15767        done
15768 fi
15769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15770     if test $ac_cv_c_bigendian = unknown; then
15771       # See if sys/param.h defines the BYTE_ORDER macro.
15772       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15773 /* end confdefs.h.  */
15774 #include <sys/types.h>
15775              #include <sys/param.h>
15776
15777 int
15778 main ()
15779 {
15780 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
15781                      && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
15782                      && LITTLE_ENDIAN)
15783               bogus endian macros
15784              #endif
15785
15786   ;
15787   return 0;
15788 }
15789 _ACEOF
15790 if ac_fn_c_try_compile "$LINENO"; then :
15791   # It does; now see whether it defined to BIG_ENDIAN or not.
15792          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15793 /* end confdefs.h.  */
15794 #include <sys/types.h>
15795                 #include <sys/param.h>
15796
15797 int
15798 main ()
15799 {
15800 #if BYTE_ORDER != BIG_ENDIAN
15801                  not big endian
15802                 #endif
15803
15804   ;
15805   return 0;
15806 }
15807 _ACEOF
15808 if ac_fn_c_try_compile "$LINENO"; then :
15809   ac_cv_c_bigendian=yes
15810 else
15811   ac_cv_c_bigendian=no
15812 fi
15813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15814 fi
15815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15816     fi
15817     if test $ac_cv_c_bigendian = unknown; then
15818       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
15819       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15820 /* end confdefs.h.  */
15821 #include <limits.h>
15822
15823 int
15824 main ()
15825 {
15826 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
15827               bogus endian macros
15828              #endif
15829
15830   ;
15831   return 0;
15832 }
15833 _ACEOF
15834 if ac_fn_c_try_compile "$LINENO"; then :
15835   # It does; now see whether it defined to _BIG_ENDIAN or not.
15836          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15837 /* end confdefs.h.  */
15838 #include <limits.h>
15839
15840 int
15841 main ()
15842 {
15843 #ifndef _BIG_ENDIAN
15844                  not big endian
15845                 #endif
15846
15847   ;
15848   return 0;
15849 }
15850 _ACEOF
15851 if ac_fn_c_try_compile "$LINENO"; then :
15852   ac_cv_c_bigendian=yes
15853 else
15854   ac_cv_c_bigendian=no
15855 fi
15856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15857 fi
15858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15859     fi
15860     if test $ac_cv_c_bigendian = unknown; then
15861       # Compile a test program.
15862       if test "$cross_compiling" = yes; then :
15863   # Try to guess by grepping values from an object file.
15864          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15865 /* end confdefs.h.  */
15866 short int ascii_mm[] =
15867                   { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
15868                 short int ascii_ii[] =
15869                   { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
15870                 int use_ascii (int i) {
15871                   return ascii_mm[i] + ascii_ii[i];
15872                 }
15873                 short int ebcdic_ii[] =
15874                   { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
15875                 short int ebcdic_mm[] =
15876                   { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
15877                 int use_ebcdic (int i) {
15878                   return ebcdic_mm[i] + ebcdic_ii[i];
15879                 }
15880                 extern int foo;
15881
15882 int
15883 main ()
15884 {
15885 return use_ascii (foo) == use_ebcdic (foo);
15886   ;
15887   return 0;
15888 }
15889 _ACEOF
15890 if ac_fn_c_try_compile "$LINENO"; then :
15891   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
15892               ac_cv_c_bigendian=yes
15893             fi
15894             if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
15895               if test "$ac_cv_c_bigendian" = unknown; then
15896                 ac_cv_c_bigendian=no
15897               else
15898                 # finding both strings is unlikely to happen, but who knows?
15899                 ac_cv_c_bigendian=unknown
15900               fi
15901             fi
15902 fi
15903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15904 else
15905   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15906 /* end confdefs.h.  */
15907 $ac_includes_default
15908 int
15909 main ()
15910 {
15911
15912              /* Are we little or big endian?  From Harbison&Steele.  */
15913              union
15914              {
15915                long int l;
15916                char c[sizeof (long int)];
15917              } u;
15918              u.l = 1;
15919              return u.c[sizeof (long int) - 1] == 1;
15920
15921   ;
15922   return 0;
15923 }
15924 _ACEOF
15925 if ac_fn_c_try_run "$LINENO"; then :
15926   ac_cv_c_bigendian=no
15927 else
15928   ac_cv_c_bigendian=yes
15929 fi
15930 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15931   conftest.$ac_objext conftest.beam conftest.$ac_ext
15932 fi
15933
15934     fi
15935 fi
15936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
15937 $as_echo "$ac_cv_c_bigendian" >&6; }
15938  case $ac_cv_c_bigendian in #(
15939    yes)
15940      $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
15941 ;; #(
15942    no)
15943       ;; #(
15944    universal)
15945
15946 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
15947
15948      ;; #(
15949    *)
15950      as_fn_error $? "unknown endianness
15951  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
15952  esac
15953
15954
15955    if test "x$HAVE_CPU_I386" = "xyes"; then
15956   HAVE_CPU_I386_TRUE=
15957   HAVE_CPU_I386_FALSE='#'
15958 else
15959   HAVE_CPU_I386_TRUE='#'
15960   HAVE_CPU_I386_FALSE=
15961 fi
15962
15963    if test "x$HAVE_CPU_PPC" = "xyes"; then
15964   HAVE_CPU_PPC_TRUE=
15965   HAVE_CPU_PPC_FALSE='#'
15966 else
15967   HAVE_CPU_PPC_TRUE='#'
15968   HAVE_CPU_PPC_FALSE=
15969 fi
15970
15971    if test "x$HAVE_CPU_PPC64" = "xyes"; then
15972   HAVE_CPU_PPC64_TRUE=
15973   HAVE_CPU_PPC64_FALSE='#'
15974 else
15975   HAVE_CPU_PPC64_TRUE='#'
15976   HAVE_CPU_PPC64_FALSE=
15977 fi
15978
15979    if test "x$HAVE_CPU_ALPHA" = "xyes"; then
15980   HAVE_CPU_ALPHA_TRUE=
15981   HAVE_CPU_ALPHA_FALSE='#'
15982 else
15983   HAVE_CPU_ALPHA_TRUE='#'
15984   HAVE_CPU_ALPHA_FALSE=
15985 fi
15986
15987    if test "x$HAVE_CPU_ARM" = "xyes"; then
15988   HAVE_CPU_ARM_TRUE=
15989   HAVE_CPU_ARM_FALSE='#'
15990 else
15991   HAVE_CPU_ARM_TRUE='#'
15992   HAVE_CPU_ARM_FALSE=
15993 fi
15994
15995    if test "x$HAVE_CPU_SPARC" = "xyes"; then
15996   HAVE_CPU_SPARC_TRUE=
15997   HAVE_CPU_SPARC_FALSE='#'
15998 else
15999   HAVE_CPU_SPARC_TRUE='#'
16000   HAVE_CPU_SPARC_FALSE=
16001 fi
16002
16003    if test "x$HAVE_CPU_HPPA" = "xyes"; then
16004   HAVE_CPU_HPPA_TRUE=
16005   HAVE_CPU_HPPA_FALSE='#'
16006 else
16007   HAVE_CPU_HPPA_TRUE='#'
16008   HAVE_CPU_HPPA_FALSE=
16009 fi
16010
16011    if test "x$HAVE_CPU_MIPS" = "xyes"; then
16012   HAVE_CPU_MIPS_TRUE=
16013   HAVE_CPU_MIPS_FALSE='#'
16014 else
16015   HAVE_CPU_MIPS_TRUE='#'
16016   HAVE_CPU_MIPS_FALSE=
16017 fi
16018
16019    if test "x$HAVE_CPU_S390" = "xyes"; then
16020   HAVE_CPU_S390_TRUE=
16021   HAVE_CPU_S390_FALSE='#'
16022 else
16023   HAVE_CPU_S390_TRUE='#'
16024   HAVE_CPU_S390_FALSE=
16025 fi
16026
16027    if test "x$HAVE_CPU_IA64" = "xyes"; then
16028   HAVE_CPU_IA64_TRUE=
16029   HAVE_CPU_IA64_FALSE='#'
16030 else
16031   HAVE_CPU_IA64_TRUE='#'
16032   HAVE_CPU_IA64_FALSE=
16033 fi
16034
16035    if test "x$HAVE_CPU_M68K" = "xyes"; then
16036   HAVE_CPU_M68K_TRUE=
16037   HAVE_CPU_M68K_FALSE='#'
16038 else
16039   HAVE_CPU_M68K_TRUE='#'
16040   HAVE_CPU_M68K_FALSE=
16041 fi
16042
16043    if test "x$HAVE_CPU_X86_64" = "xyes"; then
16044   HAVE_CPU_X86_64_TRUE=
16045   HAVE_CPU_X86_64_FALSE='#'
16046 else
16047   HAVE_CPU_X86_64_TRUE='#'
16048   HAVE_CPU_X86_64_FALSE=
16049 fi
16050
16051    if test "x$HAVE_CPU_CRIS" = "xyes"; then
16052   HAVE_CPU_CRIS_TRUE=
16053   HAVE_CPU_CRIS_FALSE='#'
16054 else
16055   HAVE_CPU_CRIS_TRUE='#'
16056   HAVE_CPU_CRIS_FALSE=
16057 fi
16058
16059    if test "x$HAVE_CPU_CRISV32" = "xyes"; then
16060   HAVE_CPU_CRISV32_TRUE=
16061   HAVE_CPU_CRISV32_FALSE='#'
16062 else
16063   HAVE_CPU_CRISV32_TRUE='#'
16064   HAVE_CPU_CRISV32_FALSE=
16065 fi
16066
16067
16068
16069 cat >>confdefs.h <<_ACEOF
16070 #define HOST_CPU "$host_cpu"
16071 _ACEOF
16072
16073
16074
16075 # Check whether --enable-largefile was given.
16076 if test "${enable_largefile+set}" = set; then :
16077   enableval=$enable_largefile;
16078 fi
16079
16080 if test "$enable_largefile" != no; then
16081
16082   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
16083 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
16084 if ${ac_cv_sys_largefile_CC+:} false; then :
16085   $as_echo_n "(cached) " >&6
16086 else
16087   ac_cv_sys_largefile_CC=no
16088      if test "$GCC" != yes; then
16089        ac_save_CC=$CC
16090        while :; do
16091          # IRIX 6.2 and later do not support large files by default,
16092          # so use the C compiler's -n32 option if that helps.
16093          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16094 /* end confdefs.h.  */
16095 #include <sys/types.h>
16096  /* Check that off_t can represent 2**63 - 1 correctly.
16097     We can't simply define LARGE_OFF_T to be 9223372036854775807,
16098     since some C++ compilers masquerading as C compilers
16099     incorrectly reject 9223372036854775807.  */
16100 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16101   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16102                        && LARGE_OFF_T % 2147483647 == 1)
16103                       ? 1 : -1];
16104 int
16105 main ()
16106 {
16107
16108   ;
16109   return 0;
16110 }
16111 _ACEOF
16112          if ac_fn_c_try_compile "$LINENO"; then :
16113   break
16114 fi
16115 rm -f core conftest.err conftest.$ac_objext
16116          CC="$CC -n32"
16117          if ac_fn_c_try_compile "$LINENO"; then :
16118   ac_cv_sys_largefile_CC=' -n32'; break
16119 fi
16120 rm -f core conftest.err conftest.$ac_objext
16121          break
16122        done
16123        CC=$ac_save_CC
16124        rm -f conftest.$ac_ext
16125     fi
16126 fi
16127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
16128 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
16129   if test "$ac_cv_sys_largefile_CC" != no; then
16130     CC=$CC$ac_cv_sys_largefile_CC
16131   fi
16132
16133   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16134 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
16135 if ${ac_cv_sys_file_offset_bits+:} false; then :
16136   $as_echo_n "(cached) " >&6
16137 else
16138   while :; do
16139   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16140 /* end confdefs.h.  */
16141 #include <sys/types.h>
16142  /* Check that off_t can represent 2**63 - 1 correctly.
16143     We can't simply define LARGE_OFF_T to be 9223372036854775807,
16144     since some C++ compilers masquerading as C compilers
16145     incorrectly reject 9223372036854775807.  */
16146 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16147   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16148                        && LARGE_OFF_T % 2147483647 == 1)
16149                       ? 1 : -1];
16150 int
16151 main ()
16152 {
16153
16154   ;
16155   return 0;
16156 }
16157 _ACEOF
16158 if ac_fn_c_try_compile "$LINENO"; then :
16159   ac_cv_sys_file_offset_bits=no; break
16160 fi
16161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16162   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16163 /* end confdefs.h.  */
16164 #define _FILE_OFFSET_BITS 64
16165 #include <sys/types.h>
16166  /* Check that off_t can represent 2**63 - 1 correctly.
16167     We can't simply define LARGE_OFF_T to be 9223372036854775807,
16168     since some C++ compilers masquerading as C compilers
16169     incorrectly reject 9223372036854775807.  */
16170 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16171   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16172                        && LARGE_OFF_T % 2147483647 == 1)
16173                       ? 1 : -1];
16174 int
16175 main ()
16176 {
16177
16178   ;
16179   return 0;
16180 }
16181 _ACEOF
16182 if ac_fn_c_try_compile "$LINENO"; then :
16183   ac_cv_sys_file_offset_bits=64; break
16184 fi
16185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16186   ac_cv_sys_file_offset_bits=unknown
16187   break
16188 done
16189 fi
16190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
16191 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
16192 case $ac_cv_sys_file_offset_bits in #(
16193   no | unknown) ;;
16194   *)
16195 cat >>confdefs.h <<_ACEOF
16196 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16197 _ACEOF
16198 ;;
16199 esac
16200 rm -rf conftest*
16201   if test $ac_cv_sys_file_offset_bits = unknown; then
16202     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
16203 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
16204 if ${ac_cv_sys_large_files+:} false; then :
16205   $as_echo_n "(cached) " >&6
16206 else
16207   while :; do
16208   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16209 /* end confdefs.h.  */
16210 #include <sys/types.h>
16211  /* Check that off_t can represent 2**63 - 1 correctly.
16212     We can't simply define LARGE_OFF_T to be 9223372036854775807,
16213     since some C++ compilers masquerading as C compilers
16214     incorrectly reject 9223372036854775807.  */
16215 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16216   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16217                        && LARGE_OFF_T % 2147483647 == 1)
16218                       ? 1 : -1];
16219 int
16220 main ()
16221 {
16222
16223   ;
16224   return 0;
16225 }
16226 _ACEOF
16227 if ac_fn_c_try_compile "$LINENO"; then :
16228   ac_cv_sys_large_files=no; break
16229 fi
16230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16231   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16232 /* end confdefs.h.  */
16233 #define _LARGE_FILES 1
16234 #include <sys/types.h>
16235  /* Check that off_t can represent 2**63 - 1 correctly.
16236     We can't simply define LARGE_OFF_T to be 9223372036854775807,
16237     since some C++ compilers masquerading as C compilers
16238     incorrectly reject 9223372036854775807.  */
16239 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16240   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16241                        && LARGE_OFF_T % 2147483647 == 1)
16242                       ? 1 : -1];
16243 int
16244 main ()
16245 {
16246
16247   ;
16248   return 0;
16249 }
16250 _ACEOF
16251 if ac_fn_c_try_compile "$LINENO"; then :
16252   ac_cv_sys_large_files=1; break
16253 fi
16254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16255   ac_cv_sys_large_files=unknown
16256   break
16257 done
16258 fi
16259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
16260 $as_echo "$ac_cv_sys_large_files" >&6; }
16261 case $ac_cv_sys_large_files in #(
16262   no | unknown) ;;
16263   *)
16264 cat >>confdefs.h <<_ACEOF
16265 #define _LARGE_FILES $ac_cv_sys_large_files
16266 _ACEOF
16267 ;;
16268 esac
16269 rm -rf conftest*
16270   fi
16271 fi
16272
16273
16274
16275 ac_ext=c
16276 ac_cpp='$CPP $CPPFLAGS'
16277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16280 if test -n "$ac_tool_prefix"; then
16281   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
16282 set dummy ${ac_tool_prefix}gcc; ac_word=$2
16283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16284 $as_echo_n "checking for $ac_word... " >&6; }
16285 if ${ac_cv_prog_CC+:} false; then :
16286   $as_echo_n "(cached) " >&6
16287 else
16288   if test -n "$CC"; then
16289   ac_cv_prog_CC="$CC" # Let the user override the test.
16290 else
16291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16292 for as_dir in $PATH
16293 do
16294   IFS=$as_save_IFS
16295   test -z "$as_dir" && as_dir=.
16296     for ac_exec_ext in '' $ac_executable_extensions; do
16297   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16298     ac_cv_prog_CC="${ac_tool_prefix}gcc"
16299     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16300     break 2
16301   fi
16302 done
16303   done
16304 IFS=$as_save_IFS
16305
16306 fi
16307 fi
16308 CC=$ac_cv_prog_CC
16309 if test -n "$CC"; then
16310   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16311 $as_echo "$CC" >&6; }
16312 else
16313   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16314 $as_echo "no" >&6; }
16315 fi
16316
16317
16318 fi
16319 if test -z "$ac_cv_prog_CC"; then
16320   ac_ct_CC=$CC
16321   # Extract the first word of "gcc", so it can be a program name with args.
16322 set dummy gcc; ac_word=$2
16323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16324 $as_echo_n "checking for $ac_word... " >&6; }
16325 if ${ac_cv_prog_ac_ct_CC+:} false; then :
16326   $as_echo_n "(cached) " >&6
16327 else
16328   if test -n "$ac_ct_CC"; then
16329   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16330 else
16331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16332 for as_dir in $PATH
16333 do
16334   IFS=$as_save_IFS
16335   test -z "$as_dir" && as_dir=.
16336     for ac_exec_ext in '' $ac_executable_extensions; do
16337   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16338     ac_cv_prog_ac_ct_CC="gcc"
16339     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16340     break 2
16341   fi
16342 done
16343   done
16344 IFS=$as_save_IFS
16345
16346 fi
16347 fi
16348 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16349 if test -n "$ac_ct_CC"; then
16350   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16351 $as_echo "$ac_ct_CC" >&6; }
16352 else
16353   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16354 $as_echo "no" >&6; }
16355 fi
16356
16357   if test "x$ac_ct_CC" = x; then
16358     CC=""
16359   else
16360     case $cross_compiling:$ac_tool_warned in
16361 yes:)
16362 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16363 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16364 ac_tool_warned=yes ;;
16365 esac
16366     CC=$ac_ct_CC
16367   fi
16368 else
16369   CC="$ac_cv_prog_CC"
16370 fi
16371
16372 if test -z "$CC"; then
16373           if test -n "$ac_tool_prefix"; then
16374     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
16375 set dummy ${ac_tool_prefix}cc; ac_word=$2
16376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16377 $as_echo_n "checking for $ac_word... " >&6; }
16378 if ${ac_cv_prog_CC+:} false; then :
16379   $as_echo_n "(cached) " >&6
16380 else
16381   if test -n "$CC"; then
16382   ac_cv_prog_CC="$CC" # Let the user override the test.
16383 else
16384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16385 for as_dir in $PATH
16386 do
16387   IFS=$as_save_IFS
16388   test -z "$as_dir" && as_dir=.
16389     for ac_exec_ext in '' $ac_executable_extensions; do
16390   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16391     ac_cv_prog_CC="${ac_tool_prefix}cc"
16392     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16393     break 2
16394   fi
16395 done
16396   done
16397 IFS=$as_save_IFS
16398
16399 fi
16400 fi
16401 CC=$ac_cv_prog_CC
16402 if test -n "$CC"; then
16403   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16404 $as_echo "$CC" >&6; }
16405 else
16406   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16407 $as_echo "no" >&6; }
16408 fi
16409
16410
16411   fi
16412 fi
16413 if test -z "$CC"; then
16414   # Extract the first word of "cc", so it can be a program name with args.
16415 set dummy cc; ac_word=$2
16416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16417 $as_echo_n "checking for $ac_word... " >&6; }
16418 if ${ac_cv_prog_CC+:} false; then :
16419   $as_echo_n "(cached) " >&6
16420 else
16421   if test -n "$CC"; then
16422   ac_cv_prog_CC="$CC" # Let the user override the test.
16423 else
16424   ac_prog_rejected=no
16425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16426 for as_dir in $PATH
16427 do
16428   IFS=$as_save_IFS
16429   test -z "$as_dir" && as_dir=.
16430     for ac_exec_ext in '' $ac_executable_extensions; do
16431   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16432     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16433        ac_prog_rejected=yes
16434        continue
16435      fi
16436     ac_cv_prog_CC="cc"
16437     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16438     break 2
16439   fi
16440 done
16441   done
16442 IFS=$as_save_IFS
16443
16444 if test $ac_prog_rejected = yes; then
16445   # We found a bogon in the path, so make sure we never use it.
16446   set dummy $ac_cv_prog_CC
16447   shift
16448   if test $# != 0; then
16449     # We chose a different compiler from the bogus one.
16450     # However, it has the same basename, so the bogon will be chosen
16451     # first if we set CC to just the basename; use the full file name.
16452     shift
16453     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
16454   fi
16455 fi
16456 fi
16457 fi
16458 CC=$ac_cv_prog_CC
16459 if test -n "$CC"; then
16460   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16461 $as_echo "$CC" >&6; }
16462 else
16463   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16464 $as_echo "no" >&6; }
16465 fi
16466
16467
16468 fi
16469 if test -z "$CC"; then
16470   if test -n "$ac_tool_prefix"; then
16471   for ac_prog in cl.exe
16472   do
16473     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16474 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16476 $as_echo_n "checking for $ac_word... " >&6; }
16477 if ${ac_cv_prog_CC+:} false; then :
16478   $as_echo_n "(cached) " >&6
16479 else
16480   if test -n "$CC"; then
16481   ac_cv_prog_CC="$CC" # Let the user override the test.
16482 else
16483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16484 for as_dir in $PATH
16485 do
16486   IFS=$as_save_IFS
16487   test -z "$as_dir" && as_dir=.
16488     for ac_exec_ext in '' $ac_executable_extensions; do
16489   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16490     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
16491     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16492     break 2
16493   fi
16494 done
16495   done
16496 IFS=$as_save_IFS
16497
16498 fi
16499 fi
16500 CC=$ac_cv_prog_CC
16501 if test -n "$CC"; then
16502   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16503 $as_echo "$CC" >&6; }
16504 else
16505   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16506 $as_echo "no" >&6; }
16507 fi
16508
16509
16510     test -n "$CC" && break
16511   done
16512 fi
16513 if test -z "$CC"; then
16514   ac_ct_CC=$CC
16515   for ac_prog in cl.exe
16516 do
16517   # Extract the first word of "$ac_prog", so it can be a program name with args.
16518 set dummy $ac_prog; ac_word=$2
16519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16520 $as_echo_n "checking for $ac_word... " >&6; }
16521 if ${ac_cv_prog_ac_ct_CC+:} false; then :
16522   $as_echo_n "(cached) " >&6
16523 else
16524   if test -n "$ac_ct_CC"; then
16525   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16526 else
16527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16528 for as_dir in $PATH
16529 do
16530   IFS=$as_save_IFS
16531   test -z "$as_dir" && as_dir=.
16532     for ac_exec_ext in '' $ac_executable_extensions; do
16533   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16534     ac_cv_prog_ac_ct_CC="$ac_prog"
16535     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16536     break 2
16537   fi
16538 done
16539   done
16540 IFS=$as_save_IFS
16541
16542 fi
16543 fi
16544 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16545 if test -n "$ac_ct_CC"; then
16546   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16547 $as_echo "$ac_ct_CC" >&6; }
16548 else
16549   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16550 $as_echo "no" >&6; }
16551 fi
16552
16553
16554   test -n "$ac_ct_CC" && break
16555 done
16556
16557   if test "x$ac_ct_CC" = x; then
16558     CC=""
16559   else
16560     case $cross_compiling:$ac_tool_warned in
16561 yes:)
16562 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16563 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16564 ac_tool_warned=yes ;;
16565 esac
16566     CC=$ac_ct_CC
16567   fi
16568 fi
16569
16570 fi
16571
16572
16573 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16574 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16575 as_fn_error $? "no acceptable C compiler found in \$PATH
16576 See \`config.log' for more details" "$LINENO" 5; }
16577
16578 # Provide some information about the compiler.
16579 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
16580 set X $ac_compile
16581 ac_compiler=$2
16582 for ac_option in --version -v -V -qversion; do
16583   { { ac_try="$ac_compiler $ac_option >&5"
16584 case "(($ac_try" in
16585   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16586   *) ac_try_echo=$ac_try;;
16587 esac
16588 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16589 $as_echo "$ac_try_echo"; } >&5
16590   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
16591   ac_status=$?
16592   if test -s conftest.err; then
16593     sed '10a\
16594 ... rest of stderr output deleted ...
16595          10q' conftest.err >conftest.er1
16596     cat conftest.er1 >&5
16597   fi
16598   rm -f conftest.er1 conftest.err
16599   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16600   test $ac_status = 0; }
16601 done
16602
16603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
16604 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
16605 if ${ac_cv_c_compiler_gnu+:} false; then :
16606   $as_echo_n "(cached) " >&6
16607 else
16608   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16609 /* end confdefs.h.  */
16610
16611 int
16612 main ()
16613 {
16614 #ifndef __GNUC__
16615        choke me
16616 #endif
16617
16618   ;
16619   return 0;
16620 }
16621 _ACEOF
16622 if ac_fn_c_try_compile "$LINENO"; then :
16623   ac_compiler_gnu=yes
16624 else
16625   ac_compiler_gnu=no
16626 fi
16627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16628 ac_cv_c_compiler_gnu=$ac_compiler_gnu
16629
16630 fi
16631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
16632 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
16633 if test $ac_compiler_gnu = yes; then
16634   GCC=yes
16635 else
16636   GCC=
16637 fi
16638 ac_test_CFLAGS=${CFLAGS+set}
16639 ac_save_CFLAGS=$CFLAGS
16640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
16641 $as_echo_n "checking whether $CC accepts -g... " >&6; }
16642 if ${ac_cv_prog_cc_g+:} false; then :
16643   $as_echo_n "(cached) " >&6
16644 else
16645   ac_save_c_werror_flag=$ac_c_werror_flag
16646    ac_c_werror_flag=yes
16647    ac_cv_prog_cc_g=no
16648    CFLAGS="-g"
16649    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16650 /* end confdefs.h.  */
16651
16652 int
16653 main ()
16654 {
16655
16656   ;
16657   return 0;
16658 }
16659 _ACEOF
16660 if ac_fn_c_try_compile "$LINENO"; then :
16661   ac_cv_prog_cc_g=yes
16662 else
16663   CFLAGS=""
16664       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16665 /* end confdefs.h.  */
16666
16667 int
16668 main ()
16669 {
16670
16671   ;
16672   return 0;
16673 }
16674 _ACEOF
16675 if ac_fn_c_try_compile "$LINENO"; then :
16676
16677 else
16678   ac_c_werror_flag=$ac_save_c_werror_flag
16679          CFLAGS="-g"
16680          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16681 /* end confdefs.h.  */
16682
16683 int
16684 main ()
16685 {
16686
16687   ;
16688   return 0;
16689 }
16690 _ACEOF
16691 if ac_fn_c_try_compile "$LINENO"; then :
16692   ac_cv_prog_cc_g=yes
16693 fi
16694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16695 fi
16696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16697 fi
16698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16699    ac_c_werror_flag=$ac_save_c_werror_flag
16700 fi
16701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
16702 $as_echo "$ac_cv_prog_cc_g" >&6; }
16703 if test "$ac_test_CFLAGS" = set; then
16704   CFLAGS=$ac_save_CFLAGS
16705 elif test $ac_cv_prog_cc_g = yes; then
16706   if test "$GCC" = yes; then
16707     CFLAGS="-g -O2"
16708   else
16709     CFLAGS="-g"
16710   fi
16711 else
16712   if test "$GCC" = yes; then
16713     CFLAGS="-O2"
16714   else
16715     CFLAGS=
16716   fi
16717 fi
16718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
16719 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
16720 if ${ac_cv_prog_cc_c89+:} false; then :
16721   $as_echo_n "(cached) " >&6
16722 else
16723   ac_cv_prog_cc_c89=no
16724 ac_save_CC=$CC
16725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16726 /* end confdefs.h.  */
16727 #include <stdarg.h>
16728 #include <stdio.h>
16729 #include <sys/types.h>
16730 #include <sys/stat.h>
16731 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
16732 struct buf { int x; };
16733 FILE * (*rcsopen) (struct buf *, struct stat *, int);
16734 static char *e (p, i)
16735      char **p;
16736      int i;
16737 {
16738   return p[i];
16739 }
16740 static char *f (char * (*g) (char **, int), char **p, ...)
16741 {
16742   char *s;
16743   va_list v;
16744   va_start (v,p);
16745   s = g (p, va_arg (v,int));
16746   va_end (v);
16747   return s;
16748 }
16749
16750 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
16751    function prototypes and stuff, but not '\xHH' hex character constants.
16752    These don't provoke an error unfortunately, instead are silently treated
16753    as 'x'.  The following induces an error, until -std is added to get
16754    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
16755    array size at least.  It's necessary to write '\x00'==0 to get something
16756    that's true only with -std.  */
16757 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
16758
16759 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
16760    inside strings and character constants.  */
16761 #define FOO(x) 'x'
16762 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
16763
16764 int test (int i, double x);
16765 struct s1 {int (*f) (int a);};
16766 struct s2 {int (*f) (double a);};
16767 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
16768 int argc;
16769 char **argv;
16770 int
16771 main ()
16772 {
16773 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
16774   ;
16775   return 0;
16776 }
16777 _ACEOF
16778 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
16779         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
16780 do
16781   CC="$ac_save_CC $ac_arg"
16782   if ac_fn_c_try_compile "$LINENO"; then :
16783   ac_cv_prog_cc_c89=$ac_arg
16784 fi
16785 rm -f core conftest.err conftest.$ac_objext
16786   test "x$ac_cv_prog_cc_c89" != "xno" && break
16787 done
16788 rm -f conftest.$ac_ext
16789 CC=$ac_save_CC
16790
16791 fi
16792 # AC_CACHE_VAL
16793 case "x$ac_cv_prog_cc_c89" in
16794   x)
16795     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
16796 $as_echo "none needed" >&6; } ;;
16797   xno)
16798     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
16799 $as_echo "unsupported" >&6; } ;;
16800   *)
16801     CC="$CC $ac_cv_prog_cc_c89"
16802     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
16803 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
16804 esac
16805 if test "x$ac_cv_prog_cc_c89" != xno; then :
16806
16807 fi
16808
16809 ac_ext=c
16810 ac_cpp='$CPP $CPPFLAGS'
16811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16814
16815 depcc="$CC"   am_compiler_list=
16816
16817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
16818 $as_echo_n "checking dependency style of $depcc... " >&6; }
16819 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
16820   $as_echo_n "(cached) " >&6
16821 else
16822   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
16823   # We make a subdir and do the tests there.  Otherwise we can end up
16824   # making bogus files that we don't know about and never remove.  For
16825   # instance it was reported that on HP-UX the gcc test will end up
16826   # making a dummy file named `D' -- because `-MD' means `put the output
16827   # in D'.
16828   rm -rf conftest.dir
16829   mkdir conftest.dir
16830   # Copy depcomp to subdir because otherwise we won't find it if we're
16831   # using a relative directory.
16832   cp "$am_depcomp" conftest.dir
16833   cd conftest.dir
16834   # We will build objects and dependencies in a subdirectory because
16835   # it helps to detect inapplicable dependency modes.  For instance
16836   # both Tru64's cc and ICC support -MD to output dependencies as a
16837   # side effect of compilation, but ICC will put the dependencies in
16838   # the current directory while Tru64 will put them in the object
16839   # directory.
16840   mkdir sub
16841
16842   am_cv_CC_dependencies_compiler_type=none
16843   if test "$am_compiler_list" = ""; then
16844      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
16845   fi
16846   am__universal=false
16847   case " $depcc " in #(
16848      *\ -arch\ *\ -arch\ *) am__universal=true ;;
16849      esac
16850
16851   for depmode in $am_compiler_list; do
16852     # Setup a source with many dependencies, because some compilers
16853     # like to wrap large dependency lists on column 80 (with \), and
16854     # we should not choose a depcomp mode which is confused by this.
16855     #
16856     # We need to recreate these files for each test, as the compiler may
16857     # overwrite some of them when testing with obscure command lines.
16858     # This happens at least with the AIX C compiler.
16859     : > sub/conftest.c
16860     for i in 1 2 3 4 5 6; do
16861       echo '#include "conftst'$i'.h"' >> sub/conftest.c
16862       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
16863       # Solaris 8's {/usr,}/bin/sh.
16864       touch sub/conftst$i.h
16865     done
16866     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
16867
16868     # We check with `-c' and `-o' for the sake of the "dashmstdout"
16869     # mode.  It turns out that the SunPro C++ compiler does not properly
16870     # handle `-M -o', and we need to detect this.  Also, some Intel
16871     # versions had trouble with output in subdirs
16872     am__obj=sub/conftest.${OBJEXT-o}
16873     am__minus_obj="-o $am__obj"
16874     case $depmode in
16875     gcc)
16876       # This depmode causes a compiler race in universal mode.
16877       test "$am__universal" = false || continue
16878       ;;
16879     nosideeffect)
16880       # after this tag, mechanisms are not by side-effect, so they'll
16881       # only be used when explicitly requested
16882       if test "x$enable_dependency_tracking" = xyes; then
16883         continue
16884       else
16885         break
16886       fi
16887       ;;
16888     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
16889       # This compiler won't grok `-c -o', but also, the minuso test has
16890       # not run yet.  These depmodes are late enough in the game, and
16891       # so weak that their functioning should not be impacted.
16892       am__obj=conftest.${OBJEXT-o}
16893       am__minus_obj=
16894       ;;
16895     none) break ;;
16896     esac
16897     if depmode=$depmode \
16898        source=sub/conftest.c object=$am__obj \
16899        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
16900        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
16901          >/dev/null 2>conftest.err &&
16902        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
16903        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
16904        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
16905        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
16906       # icc doesn't choke on unknown options, it will just issue warnings
16907       # or remarks (even with -Werror).  So we grep stderr for any message
16908       # that says an option was ignored or not supported.
16909       # When given -MP, icc 7.0 and 7.1 complain thusly:
16910       #   icc: Command line warning: ignoring option '-M'; no argument required
16911       # The diagnosis changed in icc 8.0:
16912       #   icc: Command line remark: option '-MP' not supported
16913       if (grep 'ignoring option' conftest.err ||
16914           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
16915         am_cv_CC_dependencies_compiler_type=$depmode
16916         break
16917       fi
16918     fi
16919   done
16920
16921   cd ..
16922   rm -rf conftest.dir
16923 else
16924   am_cv_CC_dependencies_compiler_type=none
16925 fi
16926
16927 fi
16928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
16929 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
16930 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
16931
16932  if
16933   test "x$enable_dependency_tracking" != xno \
16934   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
16935   am__fastdepCC_TRUE=
16936   am__fastdepCC_FALSE='#'
16937 else
16938   am__fastdepCC_TRUE='#'
16939   am__fastdepCC_FALSE=
16940 fi
16941
16942
16943    case $ac_cv_prog_cc_stdc in #(
16944   no) :
16945     ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
16946   *) :
16947     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
16948 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
16949 if ${ac_cv_prog_cc_c99+:} false; then :
16950   $as_echo_n "(cached) " >&6
16951 else
16952   ac_cv_prog_cc_c99=no
16953 ac_save_CC=$CC
16954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16955 /* end confdefs.h.  */
16956 #include <stdarg.h>
16957 #include <stdbool.h>
16958 #include <stdlib.h>
16959 #include <wchar.h>
16960 #include <stdio.h>
16961
16962 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
16963 #define debug(...) fprintf (stderr, __VA_ARGS__)
16964 #define showlist(...) puts (#__VA_ARGS__)
16965 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
16966 static void
16967 test_varargs_macros (void)
16968 {
16969   int x = 1234;
16970   int y = 5678;
16971   debug ("Flag");
16972   debug ("X = %d\n", x);
16973   showlist (The first, second, and third items.);
16974   report (x>y, "x is %d but y is %d", x, y);
16975 }
16976
16977 // Check long long types.
16978 #define BIG64 18446744073709551615ull
16979 #define BIG32 4294967295ul
16980 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
16981 #if !BIG_OK
16982   your preprocessor is broken;
16983 #endif
16984 #if BIG_OK
16985 #else
16986   your preprocessor is broken;
16987 #endif
16988 static long long int bignum = -9223372036854775807LL;
16989 static unsigned long long int ubignum = BIG64;
16990
16991 struct incomplete_array
16992 {
16993   int datasize;
16994   double data[];
16995 };
16996
16997 struct named_init {
16998   int number;
16999   const wchar_t *name;
17000   double average;
17001 };
17002
17003 typedef const char *ccp;
17004
17005 static inline int
17006 test_restrict (ccp restrict text)
17007 {
17008   // See if C++-style comments work.
17009   // Iterate through items via the restricted pointer.
17010   // Also check for declarations in for loops.
17011   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
17012     continue;
17013   return 0;
17014 }
17015
17016 // Check varargs and va_copy.
17017 static void
17018 test_varargs (const char *format, ...)
17019 {
17020   va_list args;
17021   va_start (args, format);
17022   va_list args_copy;
17023   va_copy (args_copy, args);
17024
17025   const char *str;
17026   int number;
17027   float fnumber;
17028
17029   while (*format)
17030     {
17031       switch (*format++)
17032         {
17033         case 's': // string
17034           str = va_arg (args_copy, const char *);
17035           break;
17036         case 'd': // int
17037           number = va_arg (args_copy, int);
17038           break;
17039         case 'f': // float
17040           fnumber = va_arg (args_copy, double);
17041           break;
17042         default:
17043           break;
17044         }
17045     }
17046   va_end (args_copy);
17047   va_end (args);
17048 }
17049
17050 int
17051 main ()
17052 {
17053
17054   // Check bool.
17055   _Bool success = false;
17056
17057   // Check restrict.
17058   if (test_restrict ("String literal") == 0)
17059     success = true;
17060   char *restrict newvar = "Another string";
17061
17062   // Check varargs.
17063   test_varargs ("s, d' f .", "string", 65, 34.234);
17064   test_varargs_macros ();
17065
17066   // Check flexible array members.
17067   struct incomplete_array *ia =
17068     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
17069   ia->datasize = 10;
17070   for (int i = 0; i < ia->datasize; ++i)
17071     ia->data[i] = i * 1.234;
17072
17073   // Check named initializers.
17074   struct named_init ni = {
17075     .number = 34,
17076     .name = L"Test wide string",
17077     .average = 543.34343,
17078   };
17079
17080   ni.number = 58;
17081
17082   int dynamic_array[ni.number];
17083   dynamic_array[ni.number - 1] = 543;
17084
17085   // work around unused variable warnings
17086   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
17087           || dynamic_array[ni.number - 1] != 543);
17088
17089   ;
17090   return 0;
17091 }
17092 _ACEOF
17093 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
17094 do
17095   CC="$ac_save_CC $ac_arg"
17096   if ac_fn_c_try_compile "$LINENO"; then :
17097   ac_cv_prog_cc_c99=$ac_arg
17098 fi
17099 rm -f core conftest.err conftest.$ac_objext
17100   test "x$ac_cv_prog_cc_c99" != "xno" && break
17101 done
17102 rm -f conftest.$ac_ext
17103 CC=$ac_save_CC
17104
17105 fi
17106 # AC_CACHE_VAL
17107 case "x$ac_cv_prog_cc_c99" in
17108   x)
17109     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
17110 $as_echo "none needed" >&6; } ;;
17111   xno)
17112     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
17113 $as_echo "unsupported" >&6; } ;;
17114   *)
17115     CC="$CC $ac_cv_prog_cc_c99"
17116     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
17117 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
17118 esac
17119 if test "x$ac_cv_prog_cc_c99" != xno; then :
17120   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
17121 else
17122   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
17123 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
17124 if ${ac_cv_prog_cc_c89+:} false; then :
17125   $as_echo_n "(cached) " >&6
17126 else
17127   ac_cv_prog_cc_c89=no
17128 ac_save_CC=$CC
17129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17130 /* end confdefs.h.  */
17131 #include <stdarg.h>
17132 #include <stdio.h>
17133 #include <sys/types.h>
17134 #include <sys/stat.h>
17135 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
17136 struct buf { int x; };
17137 FILE * (*rcsopen) (struct buf *, struct stat *, int);
17138 static char *e (p, i)
17139      char **p;
17140      int i;
17141 {
17142   return p[i];
17143 }
17144 static char *f (char * (*g) (char **, int), char **p, ...)
17145 {
17146   char *s;
17147   va_list v;
17148   va_start (v,p);
17149   s = g (p, va_arg (v,int));
17150   va_end (v);
17151   return s;
17152 }
17153
17154 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
17155    function prototypes and stuff, but not '\xHH' hex character constants.
17156    These don't provoke an error unfortunately, instead are silently treated
17157    as 'x'.  The following induces an error, until -std is added to get
17158    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
17159    array size at least.  It's necessary to write '\x00'==0 to get something
17160    that's true only with -std.  */
17161 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
17162
17163 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
17164    inside strings and character constants.  */
17165 #define FOO(x) 'x'
17166 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
17167
17168 int test (int i, double x);
17169 struct s1 {int (*f) (int a);};
17170 struct s2 {int (*f) (double a);};
17171 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
17172 int argc;
17173 char **argv;
17174 int
17175 main ()
17176 {
17177 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
17178   ;
17179   return 0;
17180 }
17181 _ACEOF
17182 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
17183         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
17184 do
17185   CC="$ac_save_CC $ac_arg"
17186   if ac_fn_c_try_compile "$LINENO"; then :
17187   ac_cv_prog_cc_c89=$ac_arg
17188 fi
17189 rm -f core conftest.err conftest.$ac_objext
17190   test "x$ac_cv_prog_cc_c89" != "xno" && break
17191 done
17192 rm -f conftest.$ac_ext
17193 CC=$ac_save_CC
17194
17195 fi
17196 # AC_CACHE_VAL
17197 case "x$ac_cv_prog_cc_c89" in
17198   x)
17199     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
17200 $as_echo "none needed" >&6; } ;;
17201   xno)
17202     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
17203 $as_echo "unsupported" >&6; } ;;
17204   *)
17205     CC="$CC $ac_cv_prog_cc_c89"
17206     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
17207 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
17208 esac
17209 if test "x$ac_cv_prog_cc_c89" != xno; then :
17210   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
17211 else
17212   ac_cv_prog_cc_stdc=no
17213 fi
17214
17215 fi
17216  ;;
17217 esac
17218   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
17219 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
17220   if ${ac_cv_prog_cc_stdc+:} false; then :
17221   $as_echo_n "(cached) " >&6
17222 fi
17223
17224   case $ac_cv_prog_cc_stdc in #(
17225   no) :
17226     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
17227 $as_echo "unsupported" >&6; } ;; #(
17228   '') :
17229     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
17230 $as_echo "none needed" >&6; } ;; #(
17231   *) :
17232     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
17233 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
17234 esac
17235
17236
17237 if test "x$CC" != xcc; then
17238   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
17239 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
17240 else
17241   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
17242 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
17243 fi
17244 set dummy $CC; ac_cc=`$as_echo "$2" |
17245                       sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
17246 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
17247   $as_echo_n "(cached) " >&6
17248 else
17249   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17250 /* end confdefs.h.  */
17251
17252 int
17253 main ()
17254 {
17255
17256   ;
17257   return 0;
17258 }
17259 _ACEOF
17260 # Make sure it works both with $CC and with simple cc.
17261 # We do the test twice because some compilers refuse to overwrite an
17262 # existing .o file with -o, though they will create one.
17263 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
17264 rm -f conftest2.*
17265 if { { case "(($ac_try" in
17266   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17267   *) ac_try_echo=$ac_try;;
17268 esac
17269 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
17270 $as_echo "$ac_try_echo"; } >&5
17271   (eval "$ac_try") 2>&5
17272   ac_status=$?
17273   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17274   test $ac_status = 0; } &&
17275    test -f conftest2.$ac_objext && { { case "(($ac_try" in
17276   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17277   *) ac_try_echo=$ac_try;;
17278 esac
17279 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
17280 $as_echo "$ac_try_echo"; } >&5
17281   (eval "$ac_try") 2>&5
17282   ac_status=$?
17283   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17284   test $ac_status = 0; };
17285 then
17286   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
17287   if test "x$CC" != xcc; then
17288     # Test first that cc exists at all.
17289     if { ac_try='cc -c conftest.$ac_ext >&5'
17290   { { case "(($ac_try" in
17291   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17292   *) ac_try_echo=$ac_try;;
17293 esac
17294 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
17295 $as_echo "$ac_try_echo"; } >&5
17296   (eval "$ac_try") 2>&5
17297   ac_status=$?
17298   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17299   test $ac_status = 0; }; }; then
17300       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
17301       rm -f conftest2.*
17302       if { { case "(($ac_try" in
17303   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17304   *) ac_try_echo=$ac_try;;
17305 esac
17306 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
17307 $as_echo "$ac_try_echo"; } >&5
17308   (eval "$ac_try") 2>&5
17309   ac_status=$?
17310   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17311   test $ac_status = 0; } &&
17312          test -f conftest2.$ac_objext && { { case "(($ac_try" in
17313   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17314   *) ac_try_echo=$ac_try;;
17315 esac
17316 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
17317 $as_echo "$ac_try_echo"; } >&5
17318   (eval "$ac_try") 2>&5
17319   ac_status=$?
17320   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17321   test $ac_status = 0; };
17322       then
17323         # cc works too.
17324         :
17325       else
17326         # cc exists but doesn't like -o.
17327         eval ac_cv_prog_cc_${ac_cc}_c_o=no
17328       fi
17329     fi
17330   fi
17331 else
17332   eval ac_cv_prog_cc_${ac_cc}_c_o=no
17333 fi
17334 rm -f core conftest*
17335
17336 fi
17337 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
17338   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17339 $as_echo "yes" >&6; }
17340 else
17341   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17342 $as_echo "no" >&6; }
17343
17344 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
17345
17346 fi
17347
17348 # FIXME: we rely on the cache variable name because
17349 # there is no other way.
17350 set dummy $CC
17351 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
17352 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
17353 if test "$am_t" != yes; then
17354    # Losing compiler, so override with the script.
17355    # FIXME: It is wrong to rewrite CC.
17356    # But if we don't then we get into trouble of one sort or another.
17357    # A longer-term fix would be to have automake use am__CC in this case,
17358    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
17359    CC="$am_aux_dir/compile $CC"
17360 fi
17361
17362
17363
17364 ac_ext=cpp
17365 ac_cpp='$CXXCPP $CPPFLAGS'
17366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17369 if test -z "$CXX"; then
17370   if test -n "$CCC"; then
17371     CXX=$CCC
17372   else
17373     if test -n "$ac_tool_prefix"; then
17374   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17375   do
17376     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
17377 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
17378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17379 $as_echo_n "checking for $ac_word... " >&6; }
17380 if ${ac_cv_prog_CXX+:} false; then :
17381   $as_echo_n "(cached) " >&6
17382 else
17383   if test -n "$CXX"; then
17384   ac_cv_prog_CXX="$CXX" # Let the user override the test.
17385 else
17386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17387 for as_dir in $PATH
17388 do
17389   IFS=$as_save_IFS
17390   test -z "$as_dir" && as_dir=.
17391     for ac_exec_ext in '' $ac_executable_extensions; do
17392   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17393     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
17394     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17395     break 2
17396   fi
17397 done
17398   done
17399 IFS=$as_save_IFS
17400
17401 fi
17402 fi
17403 CXX=$ac_cv_prog_CXX
17404 if test -n "$CXX"; then
17405   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
17406 $as_echo "$CXX" >&6; }
17407 else
17408   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17409 $as_echo "no" >&6; }
17410 fi
17411
17412
17413     test -n "$CXX" && break
17414   done
17415 fi
17416 if test -z "$CXX"; then
17417   ac_ct_CXX=$CXX
17418   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17419 do
17420   # Extract the first word of "$ac_prog", so it can be a program name with args.
17421 set dummy $ac_prog; ac_word=$2
17422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17423 $as_echo_n "checking for $ac_word... " >&6; }
17424 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
17425   $as_echo_n "(cached) " >&6
17426 else
17427   if test -n "$ac_ct_CXX"; then
17428   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
17429 else
17430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17431 for as_dir in $PATH
17432 do
17433   IFS=$as_save_IFS
17434   test -z "$as_dir" && as_dir=.
17435     for ac_exec_ext in '' $ac_executable_extensions; do
17436   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17437     ac_cv_prog_ac_ct_CXX="$ac_prog"
17438     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17439     break 2
17440   fi
17441 done
17442   done
17443 IFS=$as_save_IFS
17444
17445 fi
17446 fi
17447 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
17448 if test -n "$ac_ct_CXX"; then
17449   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
17450 $as_echo "$ac_ct_CXX" >&6; }
17451 else
17452   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17453 $as_echo "no" >&6; }
17454 fi
17455
17456
17457   test -n "$ac_ct_CXX" && break
17458 done
17459
17460   if test "x$ac_ct_CXX" = x; then
17461     CXX="g++"
17462   else
17463     case $cross_compiling:$ac_tool_warned in
17464 yes:)
17465 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17466 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17467 ac_tool_warned=yes ;;
17468 esac
17469     CXX=$ac_ct_CXX
17470   fi
17471 fi
17472
17473   fi
17474 fi
17475 # Provide some information about the compiler.
17476 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
17477 set X $ac_compile
17478 ac_compiler=$2
17479 for ac_option in --version -v -V -qversion; do
17480   { { ac_try="$ac_compiler $ac_option >&5"
17481 case "(($ac_try" in
17482   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17483   *) ac_try_echo=$ac_try;;
17484 esac
17485 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
17486 $as_echo "$ac_try_echo"; } >&5
17487   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
17488   ac_status=$?
17489   if test -s conftest.err; then
17490     sed '10a\
17491 ... rest of stderr output deleted ...
17492          10q' conftest.err >conftest.er1
17493     cat conftest.er1 >&5
17494   fi
17495   rm -f conftest.er1 conftest.err
17496   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17497   test $ac_status = 0; }
17498 done
17499
17500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
17501 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
17502 if ${ac_cv_cxx_compiler_gnu+:} false; then :
17503   $as_echo_n "(cached) " >&6
17504 else
17505   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17506 /* end confdefs.h.  */
17507
17508 int
17509 main ()
17510 {
17511 #ifndef __GNUC__
17512        choke me
17513 #endif
17514
17515   ;
17516   return 0;
17517 }
17518 _ACEOF
17519 if ac_fn_cxx_try_compile "$LINENO"; then :
17520   ac_compiler_gnu=yes
17521 else
17522   ac_compiler_gnu=no
17523 fi
17524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17525 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
17526
17527 fi
17528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
17529 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
17530 if test $ac_compiler_gnu = yes; then
17531   GXX=yes
17532 else
17533   GXX=
17534 fi
17535 ac_test_CXXFLAGS=${CXXFLAGS+set}
17536 ac_save_CXXFLAGS=$CXXFLAGS
17537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
17538 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
17539 if ${ac_cv_prog_cxx_g+:} false; then :
17540   $as_echo_n "(cached) " >&6
17541 else
17542   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
17543    ac_cxx_werror_flag=yes
17544    ac_cv_prog_cxx_g=no
17545    CXXFLAGS="-g"
17546    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17547 /* end confdefs.h.  */
17548
17549 int
17550 main ()
17551 {
17552
17553   ;
17554   return 0;
17555 }
17556 _ACEOF
17557 if ac_fn_cxx_try_compile "$LINENO"; then :
17558   ac_cv_prog_cxx_g=yes
17559 else
17560   CXXFLAGS=""
17561       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17562 /* end confdefs.h.  */
17563
17564 int
17565 main ()
17566 {
17567
17568   ;
17569   return 0;
17570 }
17571 _ACEOF
17572 if ac_fn_cxx_try_compile "$LINENO"; then :
17573
17574 else
17575   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17576          CXXFLAGS="-g"
17577          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17578 /* end confdefs.h.  */
17579
17580 int
17581 main ()
17582 {
17583
17584   ;
17585   return 0;
17586 }
17587 _ACEOF
17588 if ac_fn_cxx_try_compile "$LINENO"; then :
17589   ac_cv_prog_cxx_g=yes
17590 fi
17591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17592 fi
17593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17594 fi
17595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17596    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17597 fi
17598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
17599 $as_echo "$ac_cv_prog_cxx_g" >&6; }
17600 if test "$ac_test_CXXFLAGS" = set; then
17601   CXXFLAGS=$ac_save_CXXFLAGS
17602 elif test $ac_cv_prog_cxx_g = yes; then
17603   if test "$GXX" = yes; then
17604     CXXFLAGS="-g -O2"
17605   else
17606     CXXFLAGS="-g"
17607   fi
17608 else
17609   if test "$GXX" = yes; then
17610     CXXFLAGS="-O2"
17611   else
17612     CXXFLAGS=
17613   fi
17614 fi
17615 ac_ext=c
17616 ac_cpp='$CPP $CPPFLAGS'
17617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17620
17621 depcc="$CXX"  am_compiler_list=
17622
17623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
17624 $as_echo_n "checking dependency style of $depcc... " >&6; }
17625 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
17626   $as_echo_n "(cached) " >&6
17627 else
17628   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
17629   # We make a subdir and do the tests there.  Otherwise we can end up
17630   # making bogus files that we don't know about and never remove.  For
17631   # instance it was reported that on HP-UX the gcc test will end up
17632   # making a dummy file named `D' -- because `-MD' means `put the output
17633   # in D'.
17634   rm -rf conftest.dir
17635   mkdir conftest.dir
17636   # Copy depcomp to subdir because otherwise we won't find it if we're
17637   # using a relative directory.
17638   cp "$am_depcomp" conftest.dir
17639   cd conftest.dir
17640   # We will build objects and dependencies in a subdirectory because
17641   # it helps to detect inapplicable dependency modes.  For instance
17642   # both Tru64's cc and ICC support -MD to output dependencies as a
17643   # side effect of compilation, but ICC will put the dependencies in
17644   # the current directory while Tru64 will put them in the object
17645   # directory.
17646   mkdir sub
17647
17648   am_cv_CXX_dependencies_compiler_type=none
17649   if test "$am_compiler_list" = ""; then
17650      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
17651   fi
17652   am__universal=false
17653   case " $depcc " in #(
17654      *\ -arch\ *\ -arch\ *) am__universal=true ;;
17655      esac
17656
17657   for depmode in $am_compiler_list; do
17658     # Setup a source with many dependencies, because some compilers
17659     # like to wrap large dependency lists on column 80 (with \), and
17660     # we should not choose a depcomp mode which is confused by this.
17661     #
17662     # We need to recreate these files for each test, as the compiler may
17663     # overwrite some of them when testing with obscure command lines.
17664     # This happens at least with the AIX C compiler.
17665     : > sub/conftest.c
17666     for i in 1 2 3 4 5 6; do
17667       echo '#include "conftst'$i'.h"' >> sub/conftest.c
17668       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
17669       # Solaris 8's {/usr,}/bin/sh.
17670       touch sub/conftst$i.h
17671     done
17672     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
17673
17674     # We check with `-c' and `-o' for the sake of the "dashmstdout"
17675     # mode.  It turns out that the SunPro C++ compiler does not properly
17676     # handle `-M -o', and we need to detect this.  Also, some Intel
17677     # versions had trouble with output in subdirs
17678     am__obj=sub/conftest.${OBJEXT-o}
17679     am__minus_obj="-o $am__obj"
17680     case $depmode in
17681     gcc)
17682       # This depmode causes a compiler race in universal mode.
17683       test "$am__universal" = false || continue
17684       ;;
17685     nosideeffect)
17686       # after this tag, mechanisms are not by side-effect, so they'll
17687       # only be used when explicitly requested
17688       if test "x$enable_dependency_tracking" = xyes; then
17689         continue
17690       else
17691         break
17692       fi
17693       ;;
17694     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
17695       # This compiler won't grok `-c -o', but also, the minuso test has
17696       # not run yet.  These depmodes are late enough in the game, and
17697       # so weak that their functioning should not be impacted.
17698       am__obj=conftest.${OBJEXT-o}
17699       am__minus_obj=
17700       ;;
17701     none) break ;;
17702     esac
17703     if depmode=$depmode \
17704        source=sub/conftest.c object=$am__obj \
17705        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
17706        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
17707          >/dev/null 2>conftest.err &&
17708        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
17709        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
17710        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
17711        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
17712       # icc doesn't choke on unknown options, it will just issue warnings
17713       # or remarks (even with -Werror).  So we grep stderr for any message
17714       # that says an option was ignored or not supported.
17715       # When given -MP, icc 7.0 and 7.1 complain thusly:
17716       #   icc: Command line warning: ignoring option '-M'; no argument required
17717       # The diagnosis changed in icc 8.0:
17718       #   icc: Command line remark: option '-MP' not supported
17719       if (grep 'ignoring option' conftest.err ||
17720           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
17721         am_cv_CXX_dependencies_compiler_type=$depmode
17722         break
17723       fi
17724     fi
17725   done
17726
17727   cd ..
17728   rm -rf conftest.dir
17729 else
17730   am_cv_CXX_dependencies_compiler_type=none
17731 fi
17732
17733 fi
17734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
17735 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
17736 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
17737
17738  if
17739   test "x$enable_dependency_tracking" != xno \
17740   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
17741   am__fastdepCXX_TRUE=
17742   am__fastdepCXX_FALSE='#'
17743 else
17744   am__fastdepCXX_TRUE='#'
17745   am__fastdepCXX_FALSE=
17746 fi
17747
17748
17749
17750
17751 func_stripname_cnf ()
17752 {
17753   case ${2} in
17754   .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
17755   *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
17756   esac
17757 } # func_stripname_cnf
17758
17759       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
17760     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
17761     (test "X$CXX" != "Xg++"))) ; then
17762   ac_ext=cpp
17763 ac_cpp='$CXXCPP $CPPFLAGS'
17764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
17768 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
17769 if test -z "$CXXCPP"; then
17770   if ${ac_cv_prog_CXXCPP+:} false; then :
17771   $as_echo_n "(cached) " >&6
17772 else
17773       # Double quotes because CXXCPP needs to be expanded
17774     for CXXCPP in "$CXX -E" "/lib/cpp"
17775     do
17776       ac_preproc_ok=false
17777 for ac_cxx_preproc_warn_flag in '' yes
17778 do
17779   # Use a header file that comes with gcc, so configuring glibc
17780   # with a fresh cross-compiler works.
17781   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17782   # <limits.h> exists even on freestanding compilers.
17783   # On the NeXT, cc -E runs the code through the compiler's parser,
17784   # not just through cpp. "Syntax error" is here to catch this case.
17785   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17786 /* end confdefs.h.  */
17787 #ifdef __STDC__
17788 # include <limits.h>
17789 #else
17790 # include <assert.h>
17791 #endif
17792                      Syntax error
17793 _ACEOF
17794 if ac_fn_cxx_try_cpp "$LINENO"; then :
17795
17796 else
17797   # Broken: fails on valid input.
17798 continue
17799 fi
17800 rm -f conftest.err conftest.i conftest.$ac_ext
17801
17802   # OK, works on sane cases.  Now check whether nonexistent headers
17803   # can be detected and how.
17804   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17805 /* end confdefs.h.  */
17806 #include <ac_nonexistent.h>
17807 _ACEOF
17808 if ac_fn_cxx_try_cpp "$LINENO"; then :
17809   # Broken: success on invalid input.
17810 continue
17811 else
17812   # Passes both tests.
17813 ac_preproc_ok=:
17814 break
17815 fi
17816 rm -f conftest.err conftest.i conftest.$ac_ext
17817
17818 done
17819 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17820 rm -f conftest.i conftest.err conftest.$ac_ext
17821 if $ac_preproc_ok; then :
17822   break
17823 fi
17824
17825     done
17826     ac_cv_prog_CXXCPP=$CXXCPP
17827
17828 fi
17829   CXXCPP=$ac_cv_prog_CXXCPP
17830 else
17831   ac_cv_prog_CXXCPP=$CXXCPP
17832 fi
17833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
17834 $as_echo "$CXXCPP" >&6; }
17835 ac_preproc_ok=false
17836 for ac_cxx_preproc_warn_flag in '' yes
17837 do
17838   # Use a header file that comes with gcc, so configuring glibc
17839   # with a fresh cross-compiler works.
17840   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17841   # <limits.h> exists even on freestanding compilers.
17842   # On the NeXT, cc -E runs the code through the compiler's parser,
17843   # not just through cpp. "Syntax error" is here to catch this case.
17844   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17845 /* end confdefs.h.  */
17846 #ifdef __STDC__
17847 # include <limits.h>
17848 #else
17849 # include <assert.h>
17850 #endif
17851                      Syntax error
17852 _ACEOF
17853 if ac_fn_cxx_try_cpp "$LINENO"; then :
17854
17855 else
17856   # Broken: fails on valid input.
17857 continue
17858 fi
17859 rm -f conftest.err conftest.i conftest.$ac_ext
17860
17861   # OK, works on sane cases.  Now check whether nonexistent headers
17862   # can be detected and how.
17863   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17864 /* end confdefs.h.  */
17865 #include <ac_nonexistent.h>
17866 _ACEOF
17867 if ac_fn_cxx_try_cpp "$LINENO"; then :
17868   # Broken: success on invalid input.
17869 continue
17870 else
17871   # Passes both tests.
17872 ac_preproc_ok=:
17873 break
17874 fi
17875 rm -f conftest.err conftest.i conftest.$ac_ext
17876
17877 done
17878 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17879 rm -f conftest.i conftest.err conftest.$ac_ext
17880 if $ac_preproc_ok; then :
17881
17882 else
17883   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17884 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17885 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
17886 See \`config.log' for more details" "$LINENO" 5; }
17887 fi
17888
17889 ac_ext=c
17890 ac_cpp='$CPP $CPPFLAGS'
17891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17894
17895 else
17896   _lt_caught_CXX_error=yes
17897 fi
17898
17899 ac_ext=cpp
17900 ac_cpp='$CXXCPP $CPPFLAGS'
17901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17904
17905 archive_cmds_need_lc_CXX=no
17906 allow_undefined_flag_CXX=
17907 always_export_symbols_CXX=no
17908 archive_expsym_cmds_CXX=
17909 compiler_needs_object_CXX=no
17910 export_dynamic_flag_spec_CXX=
17911 hardcode_direct_CXX=no
17912 hardcode_direct_absolute_CXX=no
17913 hardcode_libdir_flag_spec_CXX=
17914 hardcode_libdir_separator_CXX=
17915 hardcode_minus_L_CXX=no
17916 hardcode_shlibpath_var_CXX=unsupported
17917 hardcode_automatic_CXX=no
17918 inherit_rpath_CXX=no
17919 module_cmds_CXX=
17920 module_expsym_cmds_CXX=
17921 link_all_deplibs_CXX=unknown
17922 old_archive_cmds_CXX=$old_archive_cmds
17923 reload_flag_CXX=$reload_flag
17924 reload_cmds_CXX=$reload_cmds
17925 no_undefined_flag_CXX=
17926 whole_archive_flag_spec_CXX=
17927 enable_shared_with_static_runtimes_CXX=no
17928
17929 # Source file extension for C++ test sources.
17930 ac_ext=cpp
17931
17932 # Object file extension for compiled C++ test sources.
17933 objext=o
17934 objext_CXX=$objext
17935
17936 # No sense in running all these tests if we already determined that
17937 # the CXX compiler isn't working.  Some variables (like enable_shared)
17938 # are currently assumed to apply to all compilers on this platform,
17939 # and will be corrupted by setting them based on a non-working compiler.
17940 if test "$_lt_caught_CXX_error" != yes; then
17941   # Code to be used in simple compile tests
17942   lt_simple_compile_test_code="int some_variable = 0;"
17943
17944   # Code to be used in simple link tests
17945   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
17946
17947   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
17948
17949
17950
17951
17952
17953
17954 # If no C compiler was specified, use CC.
17955 LTCC=${LTCC-"$CC"}
17956
17957 # If no C compiler flags were specified, use CFLAGS.
17958 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
17959
17960 # Allow CC to be a program name with arguments.
17961 compiler=$CC
17962
17963
17964   # save warnings/boilerplate of simple test code
17965   ac_outfile=conftest.$ac_objext
17966 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
17967 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17968 _lt_compiler_boilerplate=`cat conftest.err`
17969 $RM conftest*
17970
17971   ac_outfile=conftest.$ac_objext
17972 echo "$lt_simple_link_test_code" >conftest.$ac_ext
17973 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17974 _lt_linker_boilerplate=`cat conftest.err`
17975 $RM -r conftest*
17976
17977
17978   # Allow CC to be a program name with arguments.
17979   lt_save_CC=$CC
17980   lt_save_CFLAGS=$CFLAGS
17981   lt_save_LD=$LD
17982   lt_save_GCC=$GCC
17983   GCC=$GXX
17984   lt_save_with_gnu_ld=$with_gnu_ld
17985   lt_save_path_LD=$lt_cv_path_LD
17986   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
17987     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
17988   else
17989     $as_unset lt_cv_prog_gnu_ld
17990   fi
17991   if test -n "${lt_cv_path_LDCXX+set}"; then
17992     lt_cv_path_LD=$lt_cv_path_LDCXX
17993   else
17994     $as_unset lt_cv_path_LD
17995   fi
17996   test -z "${LDCXX+set}" || LD=$LDCXX
17997   CC=${CXX-"c++"}
17998   CFLAGS=$CXXFLAGS
17999   compiler=$CC
18000   compiler_CXX=$CC
18001   for cc_temp in $compiler""; do
18002   case $cc_temp in
18003     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
18004     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
18005     \-*) ;;
18006     *) break;;
18007   esac
18008 done
18009 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
18010
18011
18012   if test -n "$compiler"; then
18013     # We don't want -fno-exception when compiling C++ code, so set the
18014     # no_builtin_flag separately
18015     if test "$GXX" = yes; then
18016       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
18017     else
18018       lt_prog_compiler_no_builtin_flag_CXX=
18019     fi
18020
18021     if test "$GXX" = yes; then
18022       # Set up default GNU C++ configuration
18023
18024
18025
18026 # Check whether --with-gnu-ld was given.
18027 if test "${with_gnu_ld+set}" = set; then :
18028   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
18029 else
18030   with_gnu_ld=no
18031 fi
18032
18033 ac_prog=ld
18034 if test "$GCC" = yes; then
18035   # Check if gcc -print-prog-name=ld gives a path.
18036   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
18037 $as_echo_n "checking for ld used by $CC... " >&6; }
18038   case $host in
18039   *-*-mingw*)
18040     # gcc leaves a trailing carriage return which upsets mingw
18041     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
18042   *)
18043     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
18044   esac
18045   case $ac_prog in
18046     # Accept absolute paths.
18047     [\\/]* | ?:[\\/]*)
18048       re_direlt='/[^/][^/]*/\.\./'
18049       # Canonicalize the pathname of ld
18050       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
18051       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
18052         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
18053       done
18054       test -z "$LD" && LD="$ac_prog"
18055       ;;
18056   "")
18057     # If it fails, then pretend we aren't using GCC.
18058     ac_prog=ld
18059     ;;
18060   *)
18061     # If it is relative, then search for the first ld in PATH.
18062     with_gnu_ld=unknown
18063     ;;
18064   esac
18065 elif test "$with_gnu_ld" = yes; then
18066   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
18067 $as_echo_n "checking for GNU ld... " >&6; }
18068 else
18069   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
18070 $as_echo_n "checking for non-GNU ld... " >&6; }
18071 fi
18072 if ${lt_cv_path_LD+:} false; then :
18073   $as_echo_n "(cached) " >&6
18074 else
18075   if test -z "$LD"; then
18076   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
18077   for ac_dir in $PATH; do
18078     IFS="$lt_save_ifs"
18079     test -z "$ac_dir" && ac_dir=.
18080     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
18081       lt_cv_path_LD="$ac_dir/$ac_prog"
18082       # Check to see if the program is GNU ld.  I'd rather use --version,
18083       # but apparently some variants of GNU ld only accept -v.
18084       # Break only if it was the GNU/non-GNU ld that we prefer.
18085       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
18086       *GNU* | *'with BFD'*)
18087         test "$with_gnu_ld" != no && break
18088         ;;
18089       *)
18090         test "$with_gnu_ld" != yes && break
18091         ;;
18092       esac
18093     fi
18094   done
18095   IFS="$lt_save_ifs"
18096 else
18097   lt_cv_path_LD="$LD" # Let the user override the test with a path.
18098 fi
18099 fi
18100
18101 LD="$lt_cv_path_LD"
18102 if test -n "$LD"; then
18103   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
18104 $as_echo "$LD" >&6; }
18105 else
18106   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18107 $as_echo "no" >&6; }
18108 fi
18109 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
18110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
18111 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
18112 if ${lt_cv_prog_gnu_ld+:} false; then :
18113   $as_echo_n "(cached) " >&6
18114 else
18115   # I'd rather use --version here, but apparently some GNU lds only accept -v.
18116 case `$LD -v 2>&1 </dev/null` in
18117 *GNU* | *'with BFD'*)
18118   lt_cv_prog_gnu_ld=yes
18119   ;;
18120 *)
18121   lt_cv_prog_gnu_ld=no
18122   ;;
18123 esac
18124 fi
18125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
18126 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
18127 with_gnu_ld=$lt_cv_prog_gnu_ld
18128
18129
18130
18131
18132
18133
18134
18135       # Check if GNU C++ uses GNU ld as the underlying linker, since the
18136       # archiving commands below assume that GNU ld is being used.
18137       if test "$with_gnu_ld" = yes; then
18138         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18139         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'
18140
18141         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
18142         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18143
18144         # If archive_cmds runs LD, not CC, wlarc should be empty
18145         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
18146         #     investigate it a little bit more. (MM)
18147         wlarc='${wl}'
18148
18149         # ancient GNU ld didn't support --whole-archive et. al.
18150         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
18151           $GREP 'no-whole-archive' > /dev/null; then
18152           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18153         else
18154           whole_archive_flag_spec_CXX=
18155         fi
18156       else
18157         with_gnu_ld=no
18158         wlarc=
18159
18160         # A generic and very simple default shared library creation
18161         # command for GNU C++ for the case where it uses the native
18162         # linker, instead of GNU ld.  If possible, this setting should
18163         # overridden to take advantage of the native linker features on
18164         # the platform it is being used on.
18165         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
18166       fi
18167
18168       # Commands to make compiler produce verbose output that lists
18169       # what "hidden" libraries, object files and flags are used when
18170       # linking a shared library.
18171       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
18172
18173     else
18174       GXX=no
18175       with_gnu_ld=no
18176       wlarc=
18177     fi
18178
18179     # PORTME: fill in a description of your system's C++ link characteristics
18180     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
18181 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
18182     ld_shlibs_CXX=yes
18183     case $host_os in
18184       aix3*)
18185         # FIXME: insert proper C++ library support
18186         ld_shlibs_CXX=no
18187         ;;
18188       aix[4-9]*)
18189         if test "$host_cpu" = ia64; then
18190           # On IA64, the linker does run time linking by default, so we don't
18191           # have to do anything special.
18192           aix_use_runtimelinking=no
18193           exp_sym_flag='-Bexport'
18194           no_entry_flag=""
18195         else
18196           aix_use_runtimelinking=no
18197
18198           # Test if we are trying to use run time linking or normal
18199           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
18200           # need to do runtime linking.
18201           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
18202             for ld_flag in $LDFLAGS; do
18203               case $ld_flag in
18204               *-brtl*)
18205                 aix_use_runtimelinking=yes
18206                 break
18207                 ;;
18208               esac
18209             done
18210             ;;
18211           esac
18212
18213           exp_sym_flag='-bexport'
18214           no_entry_flag='-bnoentry'
18215         fi
18216
18217         # When large executables or shared objects are built, AIX ld can
18218         # have problems creating the table of contents.  If linking a library
18219         # or program results in "error TOC overflow" add -mminimal-toc to
18220         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
18221         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
18222
18223         archive_cmds_CXX=''
18224         hardcode_direct_CXX=yes
18225         hardcode_direct_absolute_CXX=yes
18226         hardcode_libdir_separator_CXX=':'
18227         link_all_deplibs_CXX=yes
18228         file_list_spec_CXX='${wl}-f,'
18229
18230         if test "$GXX" = yes; then
18231           case $host_os in aix4.[012]|aix4.[012].*)
18232           # We only want to do this on AIX 4.2 and lower, the check
18233           # below for broken collect2 doesn't work under 4.3+
18234           collect2name=`${CC} -print-prog-name=collect2`
18235           if test -f "$collect2name" &&
18236              strings "$collect2name" | $GREP resolve_lib_name >/dev/null
18237           then
18238             # We have reworked collect2
18239             :
18240           else
18241             # We have old collect2
18242             hardcode_direct_CXX=unsupported
18243             # It fails to find uninstalled libraries when the uninstalled
18244             # path is not listed in the libpath.  Setting hardcode_minus_L
18245             # to unsupported forces relinking
18246             hardcode_minus_L_CXX=yes
18247             hardcode_libdir_flag_spec_CXX='-L$libdir'
18248             hardcode_libdir_separator_CXX=
18249           fi
18250           esac
18251           shared_flag='-shared'
18252           if test "$aix_use_runtimelinking" = yes; then
18253             shared_flag="$shared_flag "'${wl}-G'
18254           fi
18255         else
18256           # not using gcc
18257           if test "$host_cpu" = ia64; then
18258           # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
18259           # chokes on -Wl,-G. The following line is correct:
18260           shared_flag='-G'
18261           else
18262             if test "$aix_use_runtimelinking" = yes; then
18263               shared_flag='${wl}-G'
18264             else
18265               shared_flag='${wl}-bM:SRE'
18266             fi
18267           fi
18268         fi
18269
18270         export_dynamic_flag_spec_CXX='${wl}-bexpall'
18271         # It seems that -bexpall does not export symbols beginning with
18272         # underscore (_), so it is better to generate a list of symbols to
18273         # export.
18274         always_export_symbols_CXX=yes
18275         if test "$aix_use_runtimelinking" = yes; then
18276           # Warning - without using the other runtime loading flags (-brtl),
18277           # -berok will link without error, but may produce a broken library.
18278           allow_undefined_flag_CXX='-berok'
18279           # Determine the default libpath from the value encoded in an empty
18280           # executable.
18281           if test "${lt_cv_aix_libpath+set}" = set; then
18282   aix_libpath=$lt_cv_aix_libpath
18283 else
18284   if ${lt_cv_aix_libpath__CXX+:} false; then :
18285   $as_echo_n "(cached) " >&6
18286 else
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_link "$LINENO"; then :
18299
18300   lt_aix_libpath_sed='
18301       /Import File Strings/,/^$/ {
18302           /^0/ {
18303               s/^0  *\([^ ]*\) *$/\1/
18304               p
18305           }
18306       }'
18307   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18308   # Check for a 64-bit object if we didn't find anything.
18309   if test -z "$lt_cv_aix_libpath__CXX"; then
18310     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18311   fi
18312 fi
18313 rm -f core conftest.err conftest.$ac_objext \
18314     conftest$ac_exeext conftest.$ac_ext
18315   if test -z "$lt_cv_aix_libpath__CXX"; then
18316     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
18317   fi
18318
18319 fi
18320
18321   aix_libpath=$lt_cv_aix_libpath__CXX
18322 fi
18323
18324           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
18325
18326           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"
18327         else
18328           if test "$host_cpu" = ia64; then
18329             hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
18330             allow_undefined_flag_CXX="-z nodefs"
18331             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"
18332           else
18333             # Determine the default libpath from the value encoded in an
18334             # empty executable.
18335             if test "${lt_cv_aix_libpath+set}" = set; then
18336   aix_libpath=$lt_cv_aix_libpath
18337 else
18338   if ${lt_cv_aix_libpath__CXX+:} false; then :
18339   $as_echo_n "(cached) " >&6
18340 else
18341   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18342 /* end confdefs.h.  */
18343
18344 int
18345 main ()
18346 {
18347
18348   ;
18349   return 0;
18350 }
18351 _ACEOF
18352 if ac_fn_cxx_try_link "$LINENO"; then :
18353
18354   lt_aix_libpath_sed='
18355       /Import File Strings/,/^$/ {
18356           /^0/ {
18357               s/^0  *\([^ ]*\) *$/\1/
18358               p
18359           }
18360       }'
18361   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18362   # Check for a 64-bit object if we didn't find anything.
18363   if test -z "$lt_cv_aix_libpath__CXX"; then
18364     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18365   fi
18366 fi
18367 rm -f core conftest.err conftest.$ac_objext \
18368     conftest$ac_exeext conftest.$ac_ext
18369   if test -z "$lt_cv_aix_libpath__CXX"; then
18370     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
18371   fi
18372
18373 fi
18374
18375   aix_libpath=$lt_cv_aix_libpath__CXX
18376 fi
18377
18378             hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
18379             # Warning - without using the other run time loading flags,
18380             # -berok will link without error, but may produce a broken library.
18381             no_undefined_flag_CXX=' ${wl}-bernotok'
18382             allow_undefined_flag_CXX=' ${wl}-berok'
18383             if test "$with_gnu_ld" = yes; then
18384               # We only use this code for GNU lds that support --whole-archive.
18385               whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
18386             else
18387               # Exported symbols can be pulled into shared objects from archives
18388               whole_archive_flag_spec_CXX='$convenience'
18389             fi
18390             archive_cmds_need_lc_CXX=yes
18391             # This is similar to how AIX traditionally builds its shared
18392             # libraries.
18393             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'
18394           fi
18395         fi
18396         ;;
18397
18398       beos*)
18399         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
18400           allow_undefined_flag_CXX=unsupported
18401           # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
18402           # support --undefined.  This deserves some investigation.  FIXME
18403           archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18404         else
18405           ld_shlibs_CXX=no
18406         fi
18407         ;;
18408
18409       chorus*)
18410         case $cc_basename in
18411           *)
18412           # FIXME: insert proper C++ library support
18413           ld_shlibs_CXX=no
18414           ;;
18415         esac
18416         ;;
18417
18418       cygwin* | mingw* | pw32* | cegcc*)
18419         case $GXX,$cc_basename in
18420         ,cl* | no,cl*)
18421           # Native MSVC
18422           # hardcode_libdir_flag_spec is actually meaningless, as there is
18423           # no search path for DLLs.
18424           hardcode_libdir_flag_spec_CXX=' '
18425           allow_undefined_flag_CXX=unsupported
18426           always_export_symbols_CXX=yes
18427           file_list_spec_CXX='@'
18428           # Tell ltmain to make .lib files, not .a files.
18429           libext=lib
18430           # Tell ltmain to make .dll files, not .so files.
18431           shrext_cmds=".dll"
18432           # FIXME: Setting linknames here is a bad hack.
18433           archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
18434           archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
18435               $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
18436             else
18437               $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
18438             fi~
18439             $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
18440             linknames='
18441           # The linker will not automatically build a static lib if we build a DLL.
18442           # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
18443           enable_shared_with_static_runtimes_CXX=yes
18444           # Don't use ranlib
18445           old_postinstall_cmds_CXX='chmod 644 $oldlib'
18446           postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
18447             lt_tool_outputfile="@TOOL_OUTPUT@"~
18448             case $lt_outputfile in
18449               *.exe|*.EXE) ;;
18450               *)
18451                 lt_outputfile="$lt_outputfile.exe"
18452                 lt_tool_outputfile="$lt_tool_outputfile.exe"
18453                 ;;
18454             esac~
18455             func_to_tool_file "$lt_outputfile"~
18456             if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
18457               $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
18458               $RM "$lt_outputfile.manifest";
18459             fi'
18460           ;;
18461         *)
18462           # g++
18463           # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
18464           # as there is no search path for DLLs.
18465           hardcode_libdir_flag_spec_CXX='-L$libdir'
18466           export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
18467           allow_undefined_flag_CXX=unsupported
18468           always_export_symbols_CXX=no
18469           enable_shared_with_static_runtimes_CXX=yes
18470
18471           if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
18472             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'
18473             # If the export-symbols file already is a .def file (1st line
18474             # is EXPORTS), use it as is; otherwise, prepend...
18475             archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
18476               cp $export_symbols $output_objdir/$soname.def;
18477             else
18478               echo EXPORTS > $output_objdir/$soname.def;
18479               cat $export_symbols >> $output_objdir/$soname.def;
18480             fi~
18481             $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'
18482           else
18483             ld_shlibs_CXX=no
18484           fi
18485           ;;
18486         esac
18487         ;;
18488       darwin* | rhapsody*)
18489
18490
18491   archive_cmds_need_lc_CXX=no
18492   hardcode_direct_CXX=no
18493   hardcode_automatic_CXX=yes
18494   hardcode_shlibpath_var_CXX=unsupported
18495   if test "$lt_cv_ld_force_load" = "yes"; then
18496     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\"`'
18497
18498   else
18499     whole_archive_flag_spec_CXX=''
18500   fi
18501   link_all_deplibs_CXX=yes
18502   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
18503   case $cc_basename in
18504      ifort*) _lt_dar_can_shared=yes ;;
18505      *) _lt_dar_can_shared=$GCC ;;
18506   esac
18507   if test "$_lt_dar_can_shared" = "yes"; then
18508     output_verbose_link_cmd=func_echo_all
18509     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}"
18510     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
18511     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}"
18512     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}"
18513        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
18514       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}"
18515       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}"
18516     fi
18517
18518   else
18519   ld_shlibs_CXX=no
18520   fi
18521
18522         ;;
18523
18524       dgux*)
18525         case $cc_basename in
18526           ec++*)
18527             # FIXME: insert proper C++ library support
18528             ld_shlibs_CXX=no
18529             ;;
18530           ghcx*)
18531             # Green Hills C++ Compiler
18532             # FIXME: insert proper C++ library support
18533             ld_shlibs_CXX=no
18534             ;;
18535           *)
18536             # FIXME: insert proper C++ library support
18537             ld_shlibs_CXX=no
18538             ;;
18539         esac
18540         ;;
18541
18542       freebsd2.*)
18543         # C++ shared libraries reported to be fairly broken before
18544         # switch to ELF
18545         ld_shlibs_CXX=no
18546         ;;
18547
18548       freebsd-elf*)
18549         archive_cmds_need_lc_CXX=no
18550         ;;
18551
18552       freebsd* | dragonfly*)
18553         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
18554         # conventions
18555         ld_shlibs_CXX=yes
18556         ;;
18557
18558       gnu*)
18559         ;;
18560
18561       haiku*)
18562         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18563         link_all_deplibs_CXX=yes
18564         ;;
18565
18566       hpux9*)
18567         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
18568         hardcode_libdir_separator_CXX=:
18569         export_dynamic_flag_spec_CXX='${wl}-E'
18570         hardcode_direct_CXX=yes
18571         hardcode_minus_L_CXX=yes # Not in the search PATH,
18572                                              # but as the default
18573                                              # location of the library.
18574
18575         case $cc_basename in
18576           CC*)
18577             # FIXME: insert proper C++ library support
18578             ld_shlibs_CXX=no
18579             ;;
18580           aCC*)
18581             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'
18582             # Commands to make compiler produce verbose output that lists
18583             # what "hidden" libraries, object files and flags are used when
18584             # linking a shared library.
18585             #
18586             # There doesn't appear to be a way to prevent this compiler from
18587             # explicitly linking system object files so we need to strip them
18588             # from the output so that they don't get included in the library
18589             # dependencies.
18590             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"'
18591             ;;
18592           *)
18593             if test "$GXX" = yes; then
18594               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'
18595             else
18596               # FIXME: insert proper C++ library support
18597               ld_shlibs_CXX=no
18598             fi
18599             ;;
18600         esac
18601         ;;
18602
18603       hpux10*|hpux11*)
18604         if test $with_gnu_ld = no; then
18605           hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
18606           hardcode_libdir_separator_CXX=:
18607
18608           case $host_cpu in
18609             hppa*64*|ia64*)
18610               ;;
18611             *)
18612               export_dynamic_flag_spec_CXX='${wl}-E'
18613               ;;
18614           esac
18615         fi
18616         case $host_cpu in
18617           hppa*64*|ia64*)
18618             hardcode_direct_CXX=no
18619             hardcode_shlibpath_var_CXX=no
18620             ;;
18621           *)
18622             hardcode_direct_CXX=yes
18623             hardcode_direct_absolute_CXX=yes
18624             hardcode_minus_L_CXX=yes # Not in the search PATH,
18625                                                  # but as the default
18626                                                  # location of the library.
18627             ;;
18628         esac
18629
18630         case $cc_basename in
18631           CC*)
18632             # FIXME: insert proper C++ library support
18633             ld_shlibs_CXX=no
18634             ;;
18635           aCC*)
18636             case $host_cpu in
18637               hppa*64*)
18638                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18639                 ;;
18640               ia64*)
18641                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18642                 ;;
18643               *)
18644                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18645                 ;;
18646             esac
18647             # Commands to make compiler produce verbose output that lists
18648             # what "hidden" libraries, object files and flags are used when
18649             # linking a shared library.
18650             #
18651             # There doesn't appear to be a way to prevent this compiler from
18652             # explicitly linking system object files so we need to strip them
18653             # from the output so that they don't get included in the library
18654             # dependencies.
18655             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"'
18656             ;;
18657           *)
18658             if test "$GXX" = yes; then
18659               if test $with_gnu_ld = no; then
18660                 case $host_cpu in
18661                   hppa*64*)
18662                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18663                     ;;
18664                   ia64*)
18665                     archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18666                     ;;
18667                   *)
18668                     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'
18669                     ;;
18670                 esac
18671               fi
18672             else
18673               # FIXME: insert proper C++ library support
18674               ld_shlibs_CXX=no
18675             fi
18676             ;;
18677         esac
18678         ;;
18679
18680       interix[3-9]*)
18681         hardcode_direct_CXX=no
18682         hardcode_shlibpath_var_CXX=no
18683         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18684         export_dynamic_flag_spec_CXX='${wl}-E'
18685         # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
18686         # Instead, shared libraries are loaded at an image base (0x10000000 by
18687         # default) and relocated if they conflict, which is a slow very memory
18688         # consuming and fragmenting process.  To avoid this, we pick a random,
18689         # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
18690         # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
18691         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'
18692         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'
18693         ;;
18694       irix5* | irix6*)
18695         case $cc_basename in
18696           CC*)
18697             # SGI C++
18698             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'
18699
18700             # Archives containing C++ object files must be created using
18701             # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
18702             # necessary to make sure instantiated templates are included
18703             # in the archive.
18704             old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
18705             ;;
18706           *)
18707             if test "$GXX" = yes; then
18708               if test "$with_gnu_ld" = no; then
18709                 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'
18710               else
18711                 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'
18712               fi
18713             fi
18714             link_all_deplibs_CXX=yes
18715             ;;
18716         esac
18717         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
18718         hardcode_libdir_separator_CXX=:
18719         inherit_rpath_CXX=yes
18720         ;;
18721
18722       linux* | k*bsd*-gnu | kopensolaris*-gnu)
18723         case $cc_basename in
18724           KCC*)
18725             # Kuck and Associates, Inc. (KAI) C++ Compiler
18726
18727             # KCC will only create a shared library if the output file
18728             # ends with ".so" (or ".sl" for HP-UX), so rename the library
18729             # to its proper name (with version) after linking.
18730             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'
18731             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'
18732             # Commands to make compiler produce verbose output that lists
18733             # what "hidden" libraries, object files and flags are used when
18734             # linking a shared library.
18735             #
18736             # There doesn't appear to be a way to prevent this compiler from
18737             # explicitly linking system object files so we need to strip them
18738             # from the output so that they don't get included in the library
18739             # dependencies.
18740             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"'
18741
18742             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18743             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18744
18745             # Archives containing C++ object files must be created using
18746             # "CC -Bstatic", where "CC" is the KAI C++ compiler.
18747             old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
18748             ;;
18749           icpc* | ecpc* )
18750             # Intel C++
18751             with_gnu_ld=yes
18752             # version 8.0 and above of icpc choke on multiply defined symbols
18753             # if we add $predep_objects and $postdep_objects, however 7.1 and
18754             # earlier do not add the objects themselves.
18755             case `$CC -V 2>&1` in
18756               *"Version 7."*)
18757                 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18758                 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'
18759                 ;;
18760               *)  # Version 8.0 or newer
18761                 tmp_idyn=
18762                 case $host_cpu in
18763                   ia64*) tmp_idyn=' -i_dynamic';;
18764                 esac
18765                 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18766                 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'
18767                 ;;
18768             esac
18769             archive_cmds_need_lc_CXX=no
18770             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18771             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18772             whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
18773             ;;
18774           pgCC* | pgcpp*)
18775             # Portland Group C++ compiler
18776             case `$CC -V` in
18777             *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
18778               prelink_cmds_CXX='tpldir=Template.dir~
18779                 rm -rf $tpldir~
18780                 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
18781                 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
18782               old_archive_cmds_CXX='tpldir=Template.dir~
18783                 rm -rf $tpldir~
18784                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
18785                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
18786                 $RANLIB $oldlib'
18787               archive_cmds_CXX='tpldir=Template.dir~
18788                 rm -rf $tpldir~
18789                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
18790                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
18791               archive_expsym_cmds_CXX='tpldir=Template.dir~
18792                 rm -rf $tpldir~
18793                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
18794                 $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'
18795               ;;
18796             *) # Version 6 and above use weak symbols
18797               archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
18798               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'
18799               ;;
18800             esac
18801
18802             hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
18803             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18804             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'
18805             ;;
18806           cxx*)
18807             # Compaq C++
18808             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18809             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'
18810
18811             runpath_var=LD_RUN_PATH
18812             hardcode_libdir_flag_spec_CXX='-rpath $libdir'
18813             hardcode_libdir_separator_CXX=:
18814
18815             # Commands to make compiler produce verbose output that lists
18816             # what "hidden" libraries, object files and flags are used when
18817             # linking a shared library.
18818             #
18819             # There doesn't appear to be a way to prevent this compiler from
18820             # explicitly linking system object files so we need to strip them
18821             # from the output so that they don't get included in the library
18822             # dependencies.
18823             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'
18824             ;;
18825           xl* | mpixl* | bgxl*)
18826             # IBM XL 8.0 on PPC, with GNU ld
18827             hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
18828             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18829             archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18830             if test "x$supports_anon_versioning" = xyes; then
18831               archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
18832                 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
18833                 echo "local: *; };" >> $output_objdir/$libname.ver~
18834                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
18835             fi
18836             ;;
18837           *)
18838             case `$CC -V 2>&1 | sed 5q` in
18839             *Sun\ C*)
18840               # Sun C++ 5.9
18841               no_undefined_flag_CXX=' -zdefs'
18842               archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18843               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'
18844               hardcode_libdir_flag_spec_CXX='-R$libdir'
18845               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'
18846               compiler_needs_object_CXX=yes
18847
18848               # Not sure whether something based on
18849               # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
18850               # would be better.
18851               output_verbose_link_cmd='func_echo_all'
18852
18853               # Archives containing C++ object files must be created using
18854               # "CC -xar", where "CC" is the Sun C++ compiler.  This is
18855               # necessary to make sure instantiated templates are included
18856               # in the archive.
18857               old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
18858               ;;
18859             esac
18860             ;;
18861         esac
18862         ;;
18863
18864       lynxos*)
18865         # FIXME: insert proper C++ library support
18866         ld_shlibs_CXX=no
18867         ;;
18868
18869       m88k*)
18870         # FIXME: insert proper C++ library support
18871         ld_shlibs_CXX=no
18872         ;;
18873
18874       mvs*)
18875         case $cc_basename in
18876           cxx*)
18877             # FIXME: insert proper C++ library support
18878             ld_shlibs_CXX=no
18879             ;;
18880           *)
18881             # FIXME: insert proper C++ library support
18882             ld_shlibs_CXX=no
18883             ;;
18884         esac
18885         ;;
18886
18887       netbsd*)
18888         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
18889           archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
18890           wlarc=
18891           hardcode_libdir_flag_spec_CXX='-R$libdir'
18892           hardcode_direct_CXX=yes
18893           hardcode_shlibpath_var_CXX=no
18894         fi
18895         # Workaround some broken pre-1.5 toolchains
18896         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
18897         ;;
18898
18899       *nto* | *qnx*)
18900         ld_shlibs_CXX=yes
18901         ;;
18902
18903       openbsd2*)
18904         # C++ shared libraries are fairly broken
18905         ld_shlibs_CXX=no
18906         ;;
18907
18908       openbsd*)
18909         if test -f /usr/libexec/ld.so; then
18910           hardcode_direct_CXX=yes
18911           hardcode_shlibpath_var_CXX=no
18912           hardcode_direct_absolute_CXX=yes
18913           archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
18914           hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18915           if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18916             archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
18917             export_dynamic_flag_spec_CXX='${wl}-E'
18918             whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18919           fi
18920           output_verbose_link_cmd=func_echo_all
18921         else
18922           ld_shlibs_CXX=no
18923         fi
18924         ;;
18925
18926       osf3* | osf4* | osf5*)
18927         case $cc_basename in
18928           KCC*)
18929             # Kuck and Associates, Inc. (KAI) C++ Compiler
18930
18931             # KCC will only create a shared library if the output file
18932             # ends with ".so" (or ".sl" for HP-UX), so rename the library
18933             # to its proper name (with version) after linking.
18934             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'
18935
18936             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18937             hardcode_libdir_separator_CXX=:
18938
18939             # Archives containing C++ object files must be created using
18940             # the KAI C++ compiler.
18941             case $host in
18942               osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
18943               *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
18944             esac
18945             ;;
18946           RCC*)
18947             # Rational C++ 2.4.1
18948             # FIXME: insert proper C++ library support
18949             ld_shlibs_CXX=no
18950             ;;
18951           cxx*)
18952             case $host in
18953               osf3*)
18954                 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
18955                 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'
18956                 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
18957                 ;;
18958               *)
18959                 allow_undefined_flag_CXX=' -expect_unresolved \*'
18960                 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'
18961                 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
18962                   echo "-hidden">> $lib.exp~
18963                   $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~
18964                   $RM $lib.exp'
18965                 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
18966                 ;;
18967             esac
18968
18969             hardcode_libdir_separator_CXX=:
18970
18971             # Commands to make compiler produce verbose output that lists
18972             # what "hidden" libraries, object files and flags are used when
18973             # linking a shared library.
18974             #
18975             # There doesn't appear to be a way to prevent this compiler from
18976             # explicitly linking system object files so we need to strip them
18977             # from the output so that they don't get included in the library
18978             # dependencies.
18979             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"'
18980             ;;
18981           *)
18982             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
18983               allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
18984               case $host in
18985                 osf3*)
18986                   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'
18987                   ;;
18988                 *)
18989                   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'
18990                   ;;
18991               esac
18992
18993               hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
18994               hardcode_libdir_separator_CXX=:
18995
18996               # Commands to make compiler produce verbose output that lists
18997               # what "hidden" libraries, object files and flags are used when
18998               # linking a shared library.
18999               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
19000
19001             else
19002               # FIXME: insert proper C++ library support
19003               ld_shlibs_CXX=no
19004             fi
19005             ;;
19006         esac
19007         ;;
19008
19009       psos*)
19010         # FIXME: insert proper C++ library support
19011         ld_shlibs_CXX=no
19012         ;;
19013
19014       sunos4*)
19015         case $cc_basename in
19016           CC*)
19017             # Sun C++ 4.x
19018             # FIXME: insert proper C++ library support
19019             ld_shlibs_CXX=no
19020             ;;
19021           lcc*)
19022             # Lucid
19023             # FIXME: insert proper C++ library support
19024             ld_shlibs_CXX=no
19025             ;;
19026           *)
19027             # FIXME: insert proper C++ library support
19028             ld_shlibs_CXX=no
19029             ;;
19030         esac
19031         ;;
19032
19033       solaris*)
19034         case $cc_basename in
19035           CC* | sunCC*)
19036             # Sun C++ 4.2, 5.x and Centerline C++
19037             archive_cmds_need_lc_CXX=yes
19038             no_undefined_flag_CXX=' -zdefs'
19039             archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19040             archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
19041               $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'
19042
19043             hardcode_libdir_flag_spec_CXX='-R$libdir'
19044             hardcode_shlibpath_var_CXX=no
19045             case $host_os in
19046               solaris2.[0-5] | solaris2.[0-5].*) ;;
19047               *)
19048                 # The compiler driver will combine and reorder linker options,
19049                 # but understands `-z linker_flag'.
19050                 # Supported since Solaris 2.6 (maybe 2.5.1?)
19051                 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
19052                 ;;
19053             esac
19054             link_all_deplibs_CXX=yes
19055
19056             output_verbose_link_cmd='func_echo_all'
19057
19058             # Archives containing C++ object files must be created using
19059             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
19060             # necessary to make sure instantiated templates are included
19061             # in the archive.
19062             old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
19063             ;;
19064           gcx*)
19065             # Green Hills C++ Compiler
19066             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
19067
19068             # The C++ compiler must be used to create the archive.
19069             old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
19070             ;;
19071           *)
19072             # GNU C++ compiler with Solaris linker
19073             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
19074               no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
19075               if $CC --version | $GREP -v '^2\.7' > /dev/null; then
19076                 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
19077                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
19078                   $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
19079
19080                 # Commands to make compiler produce verbose output that lists
19081                 # what "hidden" libraries, object files and flags are used when
19082                 # linking a shared library.
19083                 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
19084               else
19085                 # g++ 2.7 appears to require `-G' NOT `-shared' on this
19086                 # platform.
19087                 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
19088                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
19089                   $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
19090
19091                 # Commands to make compiler produce verbose output that lists
19092                 # what "hidden" libraries, object files and flags are used when
19093                 # linking a shared library.
19094                 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
19095               fi
19096
19097               hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
19098               case $host_os in
19099                 solaris2.[0-5] | solaris2.[0-5].*) ;;
19100                 *)
19101                   whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
19102                   ;;
19103               esac
19104             fi
19105             ;;
19106         esac
19107         ;;
19108
19109     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
19110       no_undefined_flag_CXX='${wl}-z,text'
19111       archive_cmds_need_lc_CXX=no
19112       hardcode_shlibpath_var_CXX=no
19113       runpath_var='LD_RUN_PATH'
19114
19115       case $cc_basename in
19116         CC*)
19117           archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19118           archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19119           ;;
19120         *)
19121           archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19122           archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19123           ;;
19124       esac
19125       ;;
19126
19127       sysv5* | sco3.2v5* | sco5v6*)
19128         # Note: We can NOT use -z defs as we might desire, because we do not
19129         # link with -lc, and that would cause any symbols used from libc to
19130         # always be unresolved, which means just about no library would
19131         # ever link correctly.  If we're not using GNU ld we use -z text
19132         # though, which does catch some bad symbols but isn't as heavy-handed
19133         # as -z defs.
19134         no_undefined_flag_CXX='${wl}-z,text'
19135         allow_undefined_flag_CXX='${wl}-z,nodefs'
19136         archive_cmds_need_lc_CXX=no
19137         hardcode_shlibpath_var_CXX=no
19138         hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
19139         hardcode_libdir_separator_CXX=':'
19140         link_all_deplibs_CXX=yes
19141         export_dynamic_flag_spec_CXX='${wl}-Bexport'
19142         runpath_var='LD_RUN_PATH'
19143
19144         case $cc_basename in
19145           CC*)
19146             archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19147             archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19148             old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
19149               '"$old_archive_cmds_CXX"
19150             reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
19151               '"$reload_cmds_CXX"
19152             ;;
19153           *)
19154             archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19155             archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19156             ;;
19157         esac
19158       ;;
19159
19160       tandem*)
19161         case $cc_basename in
19162           NCC*)
19163             # NonStop-UX NCC 3.20
19164             # FIXME: insert proper C++ library support
19165             ld_shlibs_CXX=no
19166             ;;
19167           *)
19168             # FIXME: insert proper C++ library support
19169             ld_shlibs_CXX=no
19170             ;;
19171         esac
19172         ;;
19173
19174       vxworks*)
19175         # FIXME: insert proper C++ library support
19176         ld_shlibs_CXX=no
19177         ;;
19178
19179       *)
19180         # FIXME: insert proper C++ library support
19181         ld_shlibs_CXX=no
19182         ;;
19183     esac
19184
19185     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
19186 $as_echo "$ld_shlibs_CXX" >&6; }
19187     test "$ld_shlibs_CXX" = no && can_build_shared=no
19188
19189     GCC_CXX="$GXX"
19190     LD_CXX="$LD"
19191
19192     ## CAVEAT EMPTOR:
19193     ## There is no encapsulation within the following macros, do not change
19194     ## the running order or otherwise move them around unless you know exactly
19195     ## what you are doing...
19196     # Dependencies to place before and after the object being linked:
19197 predep_objects_CXX=
19198 postdep_objects_CXX=
19199 predeps_CXX=
19200 postdeps_CXX=
19201 compiler_lib_search_path_CXX=
19202
19203 cat > conftest.$ac_ext <<_LT_EOF
19204 class Foo
19205 {
19206 public:
19207   Foo (void) { a = 0; }
19208 private:
19209   int a;
19210 };
19211 _LT_EOF
19212
19213
19214 _lt_libdeps_save_CFLAGS=$CFLAGS
19215 case "$CC $CFLAGS " in #(
19216 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
19217 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
19218 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
19219 esac
19220
19221 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
19222   (eval $ac_compile) 2>&5
19223   ac_status=$?
19224   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19225   test $ac_status = 0; }; then
19226   # Parse the compiler output and extract the necessary
19227   # objects, libraries and library flags.
19228
19229   # Sentinel used to keep track of whether or not we are before
19230   # the conftest object file.
19231   pre_test_object_deps_done=no
19232
19233   for p in `eval "$output_verbose_link_cmd"`; do
19234     case ${prev}${p} in
19235
19236     -L* | -R* | -l*)
19237        # Some compilers place space between "-{L,R}" and the path.
19238        # Remove the space.
19239        if test $p = "-L" ||
19240           test $p = "-R"; then
19241          prev=$p
19242          continue
19243        fi
19244
19245        # Expand the sysroot to ease extracting the directories later.
19246        if test -z "$prev"; then
19247          case $p in
19248          -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
19249          -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
19250          -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
19251          esac
19252        fi
19253        case $p in
19254        =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
19255        esac
19256        if test "$pre_test_object_deps_done" = no; then
19257          case ${prev} in
19258          -L | -R)
19259            # Internal compiler library paths should come after those
19260            # provided the user.  The postdeps already come after the
19261            # user supplied libs so there is no need to process them.
19262            if test -z "$compiler_lib_search_path_CXX"; then
19263              compiler_lib_search_path_CXX="${prev}${p}"
19264            else
19265              compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
19266            fi
19267            ;;
19268          # The "-l" case would never come before the object being
19269          # linked, so don't bother handling this case.
19270          esac
19271        else
19272          if test -z "$postdeps_CXX"; then
19273            postdeps_CXX="${prev}${p}"
19274          else
19275            postdeps_CXX="${postdeps_CXX} ${prev}${p}"
19276          fi
19277        fi
19278        prev=
19279        ;;
19280
19281     *.lto.$objext) ;; # Ignore GCC LTO objects
19282     *.$objext)
19283        # This assumes that the test object file only shows up
19284        # once in the compiler output.
19285        if test "$p" = "conftest.$objext"; then
19286          pre_test_object_deps_done=yes
19287          continue
19288        fi
19289
19290        if test "$pre_test_object_deps_done" = no; then
19291          if test -z "$predep_objects_CXX"; then
19292            predep_objects_CXX="$p"
19293          else
19294            predep_objects_CXX="$predep_objects_CXX $p"
19295          fi
19296        else
19297          if test -z "$postdep_objects_CXX"; then
19298            postdep_objects_CXX="$p"
19299          else
19300            postdep_objects_CXX="$postdep_objects_CXX $p"
19301          fi
19302        fi
19303        ;;
19304
19305     *) ;; # Ignore the rest.
19306
19307     esac
19308   done
19309
19310   # Clean up.
19311   rm -f a.out a.exe
19312 else
19313   echo "libtool.m4: error: problem compiling CXX test program"
19314 fi
19315
19316 $RM -f confest.$objext
19317 CFLAGS=$_lt_libdeps_save_CFLAGS
19318
19319 # PORTME: override above test on systems where it is broken
19320 case $host_os in
19321 interix[3-9]*)
19322   # Interix 3.5 installs completely hosed .la files for C++, so rather than
19323   # hack all around it, let's just trust "g++" to DTRT.
19324   predep_objects_CXX=
19325   postdep_objects_CXX=
19326   postdeps_CXX=
19327   ;;
19328
19329 linux*)
19330   case `$CC -V 2>&1 | sed 5q` in
19331   *Sun\ C*)
19332     # Sun C++ 5.9
19333
19334     # The more standards-conforming stlport4 library is
19335     # incompatible with the Cstd library. Avoid specifying
19336     # it if it's in CXXFLAGS. Ignore libCrun as
19337     # -library=stlport4 depends on it.
19338     case " $CXX $CXXFLAGS " in
19339     *" -library=stlport4 "*)
19340       solaris_use_stlport4=yes
19341       ;;
19342     esac
19343
19344     if test "$solaris_use_stlport4" != yes; then
19345       postdeps_CXX='-library=Cstd -library=Crun'
19346     fi
19347     ;;
19348   esac
19349   ;;
19350
19351 solaris*)
19352   case $cc_basename in
19353   CC* | sunCC*)
19354     # The more standards-conforming stlport4 library is
19355     # incompatible with the Cstd library. Avoid specifying
19356     # it if it's in CXXFLAGS. Ignore libCrun as
19357     # -library=stlport4 depends on it.
19358     case " $CXX $CXXFLAGS " in
19359     *" -library=stlport4 "*)
19360       solaris_use_stlport4=yes
19361       ;;
19362     esac
19363
19364     # Adding this requires a known-good setup of shared libraries for
19365     # Sun compiler versions before 5.6, else PIC objects from an old
19366     # archive will be linked into the output, leading to subtle bugs.
19367     if test "$solaris_use_stlport4" != yes; then
19368       postdeps_CXX='-library=Cstd -library=Crun'
19369     fi
19370     ;;
19371   esac
19372   ;;
19373 esac
19374
19375
19376 case " $postdeps_CXX " in
19377 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
19378 esac
19379  compiler_lib_search_dirs_CXX=
19380 if test -n "${compiler_lib_search_path_CXX}"; then
19381  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
19382 fi
19383
19384
19385
19386
19387
19388
19389
19390
19391
19392
19393
19394
19395
19396
19397
19398
19399
19400
19401
19402
19403
19404
19405
19406
19407
19408
19409
19410
19411
19412
19413
19414     lt_prog_compiler_wl_CXX=
19415 lt_prog_compiler_pic_CXX=
19416 lt_prog_compiler_static_CXX=
19417
19418
19419   # C++ specific cases for pic, static, wl, etc.
19420   if test "$GXX" = yes; then
19421     lt_prog_compiler_wl_CXX='-Wl,'
19422     lt_prog_compiler_static_CXX='-static'
19423
19424     case $host_os in
19425     aix*)
19426       # All AIX code is PIC.
19427       if test "$host_cpu" = ia64; then
19428         # AIX 5 now supports IA64 processor
19429         lt_prog_compiler_static_CXX='-Bstatic'
19430       fi
19431       ;;
19432
19433     amigaos*)
19434       case $host_cpu in
19435       powerpc)
19436             # see comment about AmigaOS4 .so support
19437             lt_prog_compiler_pic_CXX='-fPIC'
19438         ;;
19439       m68k)
19440             # FIXME: we need at least 68020 code to build shared libraries, but
19441             # adding the `-m68020' flag to GCC prevents building anything better,
19442             # like `-m68040'.
19443             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
19444         ;;
19445       esac
19446       ;;
19447
19448     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
19449       # PIC is the default for these OSes.
19450       ;;
19451     mingw* | cygwin* | os2* | pw32* | cegcc*)
19452       # This hack is so that the source file can tell whether it is being
19453       # built for inclusion in a dll (and should export symbols for example).
19454       # Although the cygwin gcc ignores -fPIC, still need this for old-style
19455       # (--disable-auto-import) libraries
19456       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
19457       ;;
19458     darwin* | rhapsody*)
19459       # PIC is the default on this platform
19460       # Common symbols not allowed in MH_DYLIB files
19461       lt_prog_compiler_pic_CXX='-fno-common'
19462       ;;
19463     *djgpp*)
19464       # DJGPP does not support shared libraries at all
19465       lt_prog_compiler_pic_CXX=
19466       ;;
19467     haiku*)
19468       # PIC is the default for Haiku.
19469       # The "-static" flag exists, but is broken.
19470       lt_prog_compiler_static_CXX=
19471       ;;
19472     interix[3-9]*)
19473       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
19474       # Instead, we relocate shared libraries at runtime.
19475       ;;
19476     sysv4*MP*)
19477       if test -d /usr/nec; then
19478         lt_prog_compiler_pic_CXX=-Kconform_pic
19479       fi
19480       ;;
19481     hpux*)
19482       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
19483       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
19484       # sets the default TLS model and affects inlining.
19485       case $host_cpu in
19486       hppa*64*)
19487         ;;
19488       *)
19489         lt_prog_compiler_pic_CXX='-fPIC'
19490         ;;
19491       esac
19492       ;;
19493     *qnx* | *nto*)
19494       # QNX uses GNU C++, but need to define -shared option too, otherwise
19495       # it will coredump.
19496       lt_prog_compiler_pic_CXX='-fPIC -shared'
19497       ;;
19498     *)
19499       lt_prog_compiler_pic_CXX='-fPIC'
19500       ;;
19501     esac
19502   else
19503     case $host_os in
19504       aix[4-9]*)
19505         # All AIX code is PIC.
19506         if test "$host_cpu" = ia64; then
19507           # AIX 5 now supports IA64 processor
19508           lt_prog_compiler_static_CXX='-Bstatic'
19509         else
19510           lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
19511         fi
19512         ;;
19513       chorus*)
19514         case $cc_basename in
19515         cxch68*)
19516           # Green Hills C++ Compiler
19517           # _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"
19518           ;;
19519         esac
19520         ;;
19521       mingw* | cygwin* | os2* | pw32* | cegcc*)
19522         # This hack is so that the source file can tell whether it is being
19523         # built for inclusion in a dll (and should export symbols for example).
19524         lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
19525         ;;
19526       dgux*)
19527         case $cc_basename in
19528           ec++*)
19529             lt_prog_compiler_pic_CXX='-KPIC'
19530             ;;
19531           ghcx*)
19532             # Green Hills C++ Compiler
19533             lt_prog_compiler_pic_CXX='-pic'
19534             ;;
19535           *)
19536             ;;
19537         esac
19538         ;;
19539       freebsd* | dragonfly*)
19540         # FreeBSD uses GNU C++
19541         ;;
19542       hpux9* | hpux10* | hpux11*)
19543         case $cc_basename in
19544           CC*)
19545             lt_prog_compiler_wl_CXX='-Wl,'
19546             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
19547             if test "$host_cpu" != ia64; then
19548               lt_prog_compiler_pic_CXX='+Z'
19549             fi
19550             ;;
19551           aCC*)
19552             lt_prog_compiler_wl_CXX='-Wl,'
19553             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
19554             case $host_cpu in
19555             hppa*64*|ia64*)
19556               # +Z the default
19557               ;;
19558             *)
19559               lt_prog_compiler_pic_CXX='+Z'
19560               ;;
19561             esac
19562             ;;
19563           *)
19564             ;;
19565         esac
19566         ;;
19567       interix*)
19568         # This is c89, which is MS Visual C++ (no shared libs)
19569         # Anyone wants to do a port?
19570         ;;
19571       irix5* | irix6* | nonstopux*)
19572         case $cc_basename in
19573           CC*)
19574             lt_prog_compiler_wl_CXX='-Wl,'
19575             lt_prog_compiler_static_CXX='-non_shared'
19576             # CC pic flag -KPIC is the default.
19577             ;;
19578           *)
19579             ;;
19580         esac
19581         ;;
19582       linux* | k*bsd*-gnu | kopensolaris*-gnu)
19583         case $cc_basename in
19584           KCC*)
19585             # KAI C++ Compiler
19586             lt_prog_compiler_wl_CXX='--backend -Wl,'
19587             lt_prog_compiler_pic_CXX='-fPIC'
19588             ;;
19589           ecpc* )
19590             # old Intel C++ for x86_64 which still supported -KPIC.
19591             lt_prog_compiler_wl_CXX='-Wl,'
19592             lt_prog_compiler_pic_CXX='-KPIC'
19593             lt_prog_compiler_static_CXX='-static'
19594             ;;
19595           icpc* )
19596             # Intel C++, used to be incompatible with GCC.
19597             # ICC 10 doesn't accept -KPIC any more.
19598             lt_prog_compiler_wl_CXX='-Wl,'
19599             lt_prog_compiler_pic_CXX='-fPIC'
19600             lt_prog_compiler_static_CXX='-static'
19601             ;;
19602           pgCC* | pgcpp*)
19603             # Portland Group C++ compiler
19604             lt_prog_compiler_wl_CXX='-Wl,'
19605             lt_prog_compiler_pic_CXX='-fpic'
19606             lt_prog_compiler_static_CXX='-Bstatic'
19607             ;;
19608           cxx*)
19609             # Compaq C++
19610             # Make sure the PIC flag is empty.  It appears that all Alpha
19611             # Linux and Compaq Tru64 Unix objects are PIC.
19612             lt_prog_compiler_pic_CXX=
19613             lt_prog_compiler_static_CXX='-non_shared'
19614             ;;
19615           xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
19616             # IBM XL 8.0, 9.0 on PPC and BlueGene
19617             lt_prog_compiler_wl_CXX='-Wl,'
19618             lt_prog_compiler_pic_CXX='-qpic'
19619             lt_prog_compiler_static_CXX='-qstaticlink'
19620             ;;
19621           *)
19622             case `$CC -V 2>&1 | sed 5q` in
19623             *Sun\ C*)
19624               # Sun C++ 5.9
19625               lt_prog_compiler_pic_CXX='-KPIC'
19626               lt_prog_compiler_static_CXX='-Bstatic'
19627               lt_prog_compiler_wl_CXX='-Qoption ld '
19628               ;;
19629             esac
19630             ;;
19631         esac
19632         ;;
19633       lynxos*)
19634         ;;
19635       m88k*)
19636         ;;
19637       mvs*)
19638         case $cc_basename in
19639           cxx*)
19640             lt_prog_compiler_pic_CXX='-W c,exportall'
19641             ;;
19642           *)
19643             ;;
19644         esac
19645         ;;
19646       netbsd* | netbsdelf*-gnu)
19647         ;;
19648       *qnx* | *nto*)
19649         # QNX uses GNU C++, but need to define -shared option too, otherwise
19650         # it will coredump.
19651         lt_prog_compiler_pic_CXX='-fPIC -shared'
19652         ;;
19653       osf3* | osf4* | osf5*)
19654         case $cc_basename in
19655           KCC*)
19656             lt_prog_compiler_wl_CXX='--backend -Wl,'
19657             ;;
19658           RCC*)
19659             # Rational C++ 2.4.1
19660             lt_prog_compiler_pic_CXX='-pic'
19661             ;;
19662           cxx*)
19663             # Digital/Compaq C++
19664             lt_prog_compiler_wl_CXX='-Wl,'
19665             # Make sure the PIC flag is empty.  It appears that all Alpha
19666             # Linux and Compaq Tru64 Unix objects are PIC.
19667             lt_prog_compiler_pic_CXX=
19668             lt_prog_compiler_static_CXX='-non_shared'
19669             ;;
19670           *)
19671             ;;
19672         esac
19673         ;;
19674       psos*)
19675         ;;
19676       solaris*)
19677         case $cc_basename in
19678           CC* | sunCC*)
19679             # Sun C++ 4.2, 5.x and Centerline C++
19680             lt_prog_compiler_pic_CXX='-KPIC'
19681             lt_prog_compiler_static_CXX='-Bstatic'
19682             lt_prog_compiler_wl_CXX='-Qoption ld '
19683             ;;
19684           gcx*)
19685             # Green Hills C++ Compiler
19686             lt_prog_compiler_pic_CXX='-PIC'
19687             ;;
19688           *)
19689             ;;
19690         esac
19691         ;;
19692       sunos4*)
19693         case $cc_basename in
19694           CC*)
19695             # Sun C++ 4.x
19696             lt_prog_compiler_pic_CXX='-pic'
19697             lt_prog_compiler_static_CXX='-Bstatic'
19698             ;;
19699           lcc*)
19700             # Lucid
19701             lt_prog_compiler_pic_CXX='-pic'
19702             ;;
19703           *)
19704             ;;
19705         esac
19706         ;;
19707       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
19708         case $cc_basename in
19709           CC*)
19710             lt_prog_compiler_wl_CXX='-Wl,'
19711             lt_prog_compiler_pic_CXX='-KPIC'
19712             lt_prog_compiler_static_CXX='-Bstatic'
19713             ;;
19714         esac
19715         ;;
19716       tandem*)
19717         case $cc_basename in
19718           NCC*)
19719             # NonStop-UX NCC 3.20
19720             lt_prog_compiler_pic_CXX='-KPIC'
19721             ;;
19722           *)
19723             ;;
19724         esac
19725         ;;
19726       vxworks*)
19727         ;;
19728       *)
19729         lt_prog_compiler_can_build_shared_CXX=no
19730         ;;
19731     esac
19732   fi
19733
19734 case $host_os in
19735   # For platforms which do not support PIC, -DPIC is meaningless:
19736   *djgpp*)
19737     lt_prog_compiler_pic_CXX=
19738     ;;
19739   *)
19740     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
19741     ;;
19742 esac
19743
19744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
19745 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
19746 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
19747   $as_echo_n "(cached) " >&6
19748 else
19749   lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
19750 fi
19751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
19752 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
19753 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
19754
19755 #
19756 # Check to make sure the PIC flag actually works.
19757 #
19758 if test -n "$lt_prog_compiler_pic_CXX"; then
19759   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
19760 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
19761 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
19762   $as_echo_n "(cached) " >&6
19763 else
19764   lt_cv_prog_compiler_pic_works_CXX=no
19765    ac_outfile=conftest.$ac_objext
19766    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19767    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
19768    # Insert the option either (1) after the last *FLAGS variable, or
19769    # (2) before a word containing "conftest.", or (3) at the end.
19770    # Note that $ac_compile itself does not contain backslashes and begins
19771    # with a dollar sign (not a hyphen), so the echo should work correctly.
19772    # The option is referenced via a variable to avoid confusing sed.
19773    lt_compile=`echo "$ac_compile" | $SED \
19774    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19775    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19776    -e 's:$: $lt_compiler_flag:'`
19777    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
19778    (eval "$lt_compile" 2>conftest.err)
19779    ac_status=$?
19780    cat conftest.err >&5
19781    echo "$as_me:$LINENO: \$? = $ac_status" >&5
19782    if (exit $ac_status) && test -s "$ac_outfile"; then
19783      # The compiler can only warn and ignore the option if not recognized
19784      # So say no if there are warnings other than the usual output.
19785      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
19786      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
19787      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
19788        lt_cv_prog_compiler_pic_works_CXX=yes
19789      fi
19790    fi
19791    $RM conftest*
19792
19793 fi
19794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
19795 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
19796
19797 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
19798     case $lt_prog_compiler_pic_CXX in
19799      "" | " "*) ;;
19800      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
19801      esac
19802 else
19803     lt_prog_compiler_pic_CXX=
19804      lt_prog_compiler_can_build_shared_CXX=no
19805 fi
19806
19807 fi
19808
19809
19810
19811
19812
19813 #
19814 # Check to make sure the static flag actually works.
19815 #
19816 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
19817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
19818 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
19819 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
19820   $as_echo_n "(cached) " >&6
19821 else
19822   lt_cv_prog_compiler_static_works_CXX=no
19823    save_LDFLAGS="$LDFLAGS"
19824    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
19825    echo "$lt_simple_link_test_code" > conftest.$ac_ext
19826    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
19827      # The linker can only warn and ignore the option if not recognized
19828      # So say no if there are warnings
19829      if test -s conftest.err; then
19830        # Append any errors to the config.log.
19831        cat conftest.err 1>&5
19832        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
19833        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
19834        if diff conftest.exp conftest.er2 >/dev/null; then
19835          lt_cv_prog_compiler_static_works_CXX=yes
19836        fi
19837      else
19838        lt_cv_prog_compiler_static_works_CXX=yes
19839      fi
19840    fi
19841    $RM -r conftest*
19842    LDFLAGS="$save_LDFLAGS"
19843
19844 fi
19845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
19846 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
19847
19848 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
19849     :
19850 else
19851     lt_prog_compiler_static_CXX=
19852 fi
19853
19854
19855
19856
19857     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
19858 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
19859 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
19860   $as_echo_n "(cached) " >&6
19861 else
19862   lt_cv_prog_compiler_c_o_CXX=no
19863    $RM -r conftest 2>/dev/null
19864    mkdir conftest
19865    cd conftest
19866    mkdir out
19867    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19868
19869    lt_compiler_flag="-o out/conftest2.$ac_objext"
19870    # Insert the option either (1) after the last *FLAGS variable, or
19871    # (2) before a word containing "conftest.", or (3) at the end.
19872    # Note that $ac_compile itself does not contain backslashes and begins
19873    # with a dollar sign (not a hyphen), so the echo should work correctly.
19874    lt_compile=`echo "$ac_compile" | $SED \
19875    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19876    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19877    -e 's:$: $lt_compiler_flag:'`
19878    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
19879    (eval "$lt_compile" 2>out/conftest.err)
19880    ac_status=$?
19881    cat out/conftest.err >&5
19882    echo "$as_me:$LINENO: \$? = $ac_status" >&5
19883    if (exit $ac_status) && test -s out/conftest2.$ac_objext
19884    then
19885      # The compiler can only warn and ignore the option if not recognized
19886      # So say no if there are warnings
19887      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
19888      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
19889      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
19890        lt_cv_prog_compiler_c_o_CXX=yes
19891      fi
19892    fi
19893    chmod u+w . 2>&5
19894    $RM conftest*
19895    # SGI C++ compiler will create directory out/ii_files/ for
19896    # template instantiation
19897    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
19898    $RM out/* && rmdir out
19899    cd ..
19900    $RM -r conftest
19901    $RM conftest*
19902
19903 fi
19904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
19905 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
19906
19907
19908
19909     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
19910 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
19911 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
19912   $as_echo_n "(cached) " >&6
19913 else
19914   lt_cv_prog_compiler_c_o_CXX=no
19915    $RM -r conftest 2>/dev/null
19916    mkdir conftest
19917    cd conftest
19918    mkdir out
19919    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19920
19921    lt_compiler_flag="-o out/conftest2.$ac_objext"
19922    # Insert the option either (1) after the last *FLAGS variable, or
19923    # (2) before a word containing "conftest.", or (3) at the end.
19924    # Note that $ac_compile itself does not contain backslashes and begins
19925    # with a dollar sign (not a hyphen), so the echo should work correctly.
19926    lt_compile=`echo "$ac_compile" | $SED \
19927    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19928    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19929    -e 's:$: $lt_compiler_flag:'`
19930    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
19931    (eval "$lt_compile" 2>out/conftest.err)
19932    ac_status=$?
19933    cat out/conftest.err >&5
19934    echo "$as_me:$LINENO: \$? = $ac_status" >&5
19935    if (exit $ac_status) && test -s out/conftest2.$ac_objext
19936    then
19937      # The compiler can only warn and ignore the option if not recognized
19938      # So say no if there are warnings
19939      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
19940      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
19941      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
19942        lt_cv_prog_compiler_c_o_CXX=yes
19943      fi
19944    fi
19945    chmod u+w . 2>&5
19946    $RM conftest*
19947    # SGI C++ compiler will create directory out/ii_files/ for
19948    # template instantiation
19949    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
19950    $RM out/* && rmdir out
19951    cd ..
19952    $RM -r conftest
19953    $RM conftest*
19954
19955 fi
19956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
19957 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
19958
19959
19960
19961
19962 hard_links="nottested"
19963 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
19964   # do not overwrite the value of need_locks provided by the user
19965   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
19966 $as_echo_n "checking if we can lock with hard links... " >&6; }
19967   hard_links=yes
19968   $RM conftest*
19969   ln conftest.a conftest.b 2>/dev/null && hard_links=no
19970   touch conftest.a
19971   ln conftest.a conftest.b 2>&5 || hard_links=no
19972   ln conftest.a conftest.b 2>/dev/null && hard_links=no
19973   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
19974 $as_echo "$hard_links" >&6; }
19975   if test "$hard_links" = no; then
19976     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
19977 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
19978     need_locks=warn
19979   fi
19980 else
19981   need_locks=no
19982 fi
19983
19984
19985
19986     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
19987 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
19988
19989   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
19990   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
19991   case $host_os in
19992   aix[4-9]*)
19993     # If we're using GNU nm, then we don't want the "-C" option.
19994     # -C means demangle to AIX nm, but means don't demangle with GNU nm
19995     # Also, AIX nm treats weak defined symbols like other global defined
19996     # symbols, whereas GNU nm marks them as "W".
19997     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
19998       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'
19999     else
20000       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'
20001     fi
20002     ;;
20003   pw32*)
20004     export_symbols_cmds_CXX="$ltdll_cmds"
20005     ;;
20006   cygwin* | mingw* | cegcc*)
20007     case $cc_basename in
20008     cl*)
20009       exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
20010       ;;
20011     *)
20012       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'
20013       exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
20014       ;;
20015     esac
20016     ;;
20017   linux* | k*bsd*-gnu | gnu*)
20018     link_all_deplibs_CXX=no
20019     ;;
20020   *)
20021     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
20022     ;;
20023   esac
20024
20025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
20026 $as_echo "$ld_shlibs_CXX" >&6; }
20027 test "$ld_shlibs_CXX" = no && can_build_shared=no
20028
20029 with_gnu_ld_CXX=$with_gnu_ld
20030
20031
20032
20033
20034
20035
20036 #
20037 # Do we need to explicitly link libc?
20038 #
20039 case "x$archive_cmds_need_lc_CXX" in
20040 x|xyes)
20041   # Assume -lc should be added
20042   archive_cmds_need_lc_CXX=yes
20043
20044   if test "$enable_shared" = yes && test "$GCC" = yes; then
20045     case $archive_cmds_CXX in
20046     *'~'*)
20047       # FIXME: we may have to deal with multi-command sequences.
20048       ;;
20049     '$CC '*)
20050       # Test whether the compiler implicitly links with -lc since on some
20051       # systems, -lgcc has to come before -lc. If gcc already passes -lc
20052       # to ld, don't add -lc before -lgcc.
20053       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
20054 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
20055 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
20056   $as_echo_n "(cached) " >&6
20057 else
20058   $RM conftest*
20059         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
20060
20061         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
20062   (eval $ac_compile) 2>&5
20063   ac_status=$?
20064   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20065   test $ac_status = 0; } 2>conftest.err; then
20066           soname=conftest
20067           lib=conftest
20068           libobjs=conftest.$ac_objext
20069           deplibs=
20070           wl=$lt_prog_compiler_wl_CXX
20071           pic_flag=$lt_prog_compiler_pic_CXX
20072           compiler_flags=-v
20073           linker_flags=-v
20074           verstring=
20075           output_objdir=.
20076           libname=conftest
20077           lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
20078           allow_undefined_flag_CXX=
20079           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
20080   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
20081   ac_status=$?
20082   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20083   test $ac_status = 0; }
20084           then
20085             lt_cv_archive_cmds_need_lc_CXX=no
20086           else
20087             lt_cv_archive_cmds_need_lc_CXX=yes
20088           fi
20089           allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
20090         else
20091           cat conftest.err 1>&5
20092         fi
20093         $RM conftest*
20094
20095 fi
20096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
20097 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
20098       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
20099       ;;
20100     esac
20101   fi
20102   ;;
20103 esac
20104
20105
20106
20107
20108
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
20141
20142
20143
20144
20145
20146
20147
20148
20149
20150
20151
20152
20153
20154
20155
20156
20157
20158
20159
20160
20161
20162
20163
20164
20165
20166     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
20167 $as_echo_n "checking dynamic linker characteristics... " >&6; }
20168
20169 library_names_spec=
20170 libname_spec='lib$name'
20171 soname_spec=
20172 shrext_cmds=".so"
20173 postinstall_cmds=
20174 postuninstall_cmds=
20175 finish_cmds=
20176 finish_eval=
20177 shlibpath_var=
20178 shlibpath_overrides_runpath=unknown
20179 version_type=none
20180 dynamic_linker="$host_os ld.so"
20181 sys_lib_dlsearch_path_spec="/lib /usr/lib"
20182 need_lib_prefix=unknown
20183 hardcode_into_libs=no
20184
20185 # when you set need_version to no, make sure it does not cause -set_version
20186 # flags to be left without arguments
20187 need_version=unknown
20188
20189 case $host_os in
20190 aix3*)
20191   version_type=linux # correct to gnu/linux during the next big refactor
20192   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
20193   shlibpath_var=LIBPATH
20194
20195   # AIX 3 has no versioning support, so we append a major version to the name.
20196   soname_spec='${libname}${release}${shared_ext}$major'
20197   ;;
20198
20199 aix[4-9]*)
20200   version_type=linux # correct to gnu/linux during the next big refactor
20201   need_lib_prefix=no
20202   need_version=no
20203   hardcode_into_libs=yes
20204   if test "$host_cpu" = ia64; then
20205     # AIX 5 supports IA64
20206     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
20207     shlibpath_var=LD_LIBRARY_PATH
20208   else
20209     # With GCC up to 2.95.x, collect2 would create an import file
20210     # for dependence libraries.  The import file would start with
20211     # the line `#! .'.  This would cause the generated library to
20212     # depend on `.', always an invalid library.  This was fixed in
20213     # development snapshots of GCC prior to 3.0.
20214     case $host_os in
20215       aix4 | aix4.[01] | aix4.[01].*)
20216       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
20217            echo ' yes '
20218            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
20219         :
20220       else
20221         can_build_shared=no
20222       fi
20223       ;;
20224     esac
20225     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
20226     # soname into executable. Probably we can add versioning support to
20227     # collect2, so additional links can be useful in future.
20228     if test "$aix_use_runtimelinking" = yes; then
20229       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
20230       # instead of lib<name>.a to let people know that these are not
20231       # typical AIX shared libraries.
20232       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20233     else
20234       # We preserve .a as extension for shared libraries through AIX4.2
20235       # and later when we are not doing run time linking.
20236       library_names_spec='${libname}${release}.a $libname.a'
20237       soname_spec='${libname}${release}${shared_ext}$major'
20238     fi
20239     shlibpath_var=LIBPATH
20240   fi
20241   ;;
20242
20243 amigaos*)
20244   case $host_cpu in
20245   powerpc)
20246     # Since July 2007 AmigaOS4 officially supports .so libraries.
20247     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
20248     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20249     ;;
20250   m68k)
20251     library_names_spec='$libname.ixlibrary $libname.a'
20252     # Create ${libname}_ixlibrary.a entries in /sys/libs.
20253     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'
20254     ;;
20255   esac
20256   ;;
20257
20258 beos*)
20259   library_names_spec='${libname}${shared_ext}'
20260   dynamic_linker="$host_os ld.so"
20261   shlibpath_var=LIBRARY_PATH
20262   ;;
20263
20264 bsdi[45]*)
20265   version_type=linux # correct to gnu/linux during the next big refactor
20266   need_version=no
20267   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20268   soname_spec='${libname}${release}${shared_ext}$major'
20269   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
20270   shlibpath_var=LD_LIBRARY_PATH
20271   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
20272   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
20273   # the default ld.so.conf also contains /usr/contrib/lib and
20274   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
20275   # libtool to hard-code these into programs
20276   ;;
20277
20278 cygwin* | mingw* | pw32* | cegcc*)
20279   version_type=windows
20280   shrext_cmds=".dll"
20281   need_version=no
20282   need_lib_prefix=no
20283
20284   case $GCC,$cc_basename in
20285   yes,*)
20286     # gcc
20287     library_names_spec='$libname.dll.a'
20288     # DLL is installed to $(libdir)/../bin by postinstall_cmds
20289     postinstall_cmds='base_file=`basename \${file}`~
20290       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
20291       dldir=$destdir/`dirname \$dlpath`~
20292       test -d \$dldir || mkdir -p \$dldir~
20293       $install_prog $dir/$dlname \$dldir/$dlname~
20294       chmod a+x \$dldir/$dlname~
20295       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
20296         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
20297       fi'
20298     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
20299       dlpath=$dir/\$dldll~
20300        $RM \$dlpath'
20301     shlibpath_overrides_runpath=yes
20302
20303     case $host_os in
20304     cygwin*)
20305       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
20306       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20307
20308       ;;
20309     mingw* | cegcc*)
20310       # MinGW DLLs use traditional 'lib' prefix
20311       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20312       ;;
20313     pw32*)
20314       # pw32 DLLs use 'pw' prefix rather than 'lib'
20315       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20316       ;;
20317     esac
20318     dynamic_linker='Win32 ld.exe'
20319     ;;
20320
20321   *,cl*)
20322     # Native MSVC
20323     libname_spec='$name'
20324     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20325     library_names_spec='${libname}.dll.lib'
20326
20327     case $build_os in
20328     mingw*)
20329       sys_lib_search_path_spec=
20330       lt_save_ifs=$IFS
20331       IFS=';'
20332       for lt_path in $LIB
20333       do
20334         IFS=$lt_save_ifs
20335         # Let DOS variable expansion print the short 8.3 style file name.
20336         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
20337         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
20338       done
20339       IFS=$lt_save_ifs
20340       # Convert to MSYS style.
20341       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
20342       ;;
20343     cygwin*)
20344       # Convert to unix form, then to dos form, then back to unix form
20345       # but this time dos style (no spaces!) so that the unix form looks
20346       # like /cygdrive/c/PROGRA~1:/cygdr...
20347       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
20348       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
20349       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
20350       ;;
20351     *)
20352       sys_lib_search_path_spec="$LIB"
20353       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
20354         # It is most probably a Windows format PATH.
20355         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
20356       else
20357         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
20358       fi
20359       # FIXME: find the short name or the path components, as spaces are
20360       # common. (e.g. "Program Files" -> "PROGRA~1")
20361       ;;
20362     esac
20363
20364     # DLL is installed to $(libdir)/../bin by postinstall_cmds
20365     postinstall_cmds='base_file=`basename \${file}`~
20366       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
20367       dldir=$destdir/`dirname \$dlpath`~
20368       test -d \$dldir || mkdir -p \$dldir~
20369       $install_prog $dir/$dlname \$dldir/$dlname'
20370     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
20371       dlpath=$dir/\$dldll~
20372        $RM \$dlpath'
20373     shlibpath_overrides_runpath=yes
20374     dynamic_linker='Win32 link.exe'
20375     ;;
20376
20377   *)
20378     # Assume MSVC wrapper
20379     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
20380     dynamic_linker='Win32 ld.exe'
20381     ;;
20382   esac
20383   # FIXME: first we should search . and the directory the executable is in
20384   shlibpath_var=PATH
20385   ;;
20386
20387 darwin* | rhapsody*)
20388   dynamic_linker="$host_os dyld"
20389   version_type=darwin
20390   need_lib_prefix=no
20391   need_version=no
20392   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
20393   soname_spec='${libname}${release}${major}$shared_ext'
20394   shlibpath_overrides_runpath=yes
20395   shlibpath_var=DYLD_LIBRARY_PATH
20396   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
20397
20398   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
20399   ;;
20400
20401 dgux*)
20402   version_type=linux # correct to gnu/linux during the next big refactor
20403   need_lib_prefix=no
20404   need_version=no
20405   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
20406   soname_spec='${libname}${release}${shared_ext}$major'
20407   shlibpath_var=LD_LIBRARY_PATH
20408   ;;
20409
20410 freebsd* | dragonfly*)
20411   # DragonFly does not have aout.  When/if they implement a new
20412   # versioning mechanism, adjust this.
20413   if test -x /usr/bin/objformat; then
20414     objformat=`/usr/bin/objformat`
20415   else
20416     case $host_os in
20417     freebsd[23].*) objformat=aout ;;
20418     *) objformat=elf ;;
20419     esac
20420   fi
20421   version_type=freebsd-$objformat
20422   case $version_type in
20423     freebsd-elf*)
20424       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20425       need_version=no
20426       need_lib_prefix=no
20427       ;;
20428     freebsd-*)
20429       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
20430       need_version=yes
20431       ;;
20432   esac
20433   shlibpath_var=LD_LIBRARY_PATH
20434   case $host_os in
20435   freebsd2.*)
20436     shlibpath_overrides_runpath=yes
20437     ;;
20438   freebsd3.[01]* | freebsdelf3.[01]*)
20439     shlibpath_overrides_runpath=yes
20440     hardcode_into_libs=yes
20441     ;;
20442   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
20443   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
20444     shlibpath_overrides_runpath=no
20445     hardcode_into_libs=yes
20446     ;;
20447   *) # from 4.6 on, and DragonFly
20448     shlibpath_overrides_runpath=yes
20449     hardcode_into_libs=yes
20450     ;;
20451   esac
20452   ;;
20453
20454 gnu*)
20455   version_type=linux # correct to gnu/linux during the next big refactor
20456   need_lib_prefix=no
20457   need_version=no
20458   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
20459   soname_spec='${libname}${release}${shared_ext}$major'
20460   shlibpath_var=LD_LIBRARY_PATH
20461   shlibpath_overrides_runpath=no
20462   hardcode_into_libs=yes
20463   ;;
20464
20465 haiku*)
20466   version_type=linux # correct to gnu/linux during the next big refactor
20467   need_lib_prefix=no
20468   need_version=no
20469   dynamic_linker="$host_os runtime_loader"
20470   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
20471   soname_spec='${libname}${release}${shared_ext}$major'
20472   shlibpath_var=LIBRARY_PATH
20473   shlibpath_overrides_runpath=yes
20474   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
20475   hardcode_into_libs=yes
20476   ;;
20477
20478 hpux9* | hpux10* | hpux11*)
20479   # Give a soname corresponding to the major version so that dld.sl refuses to
20480   # link against other versions.
20481   version_type=sunos
20482   need_lib_prefix=no
20483   need_version=no
20484   case $host_cpu in
20485   ia64*)
20486     shrext_cmds='.so'
20487     hardcode_into_libs=yes
20488     dynamic_linker="$host_os dld.so"
20489     shlibpath_var=LD_LIBRARY_PATH
20490     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
20491     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20492     soname_spec='${libname}${release}${shared_ext}$major'
20493     if test "X$HPUX_IA64_MODE" = X32; then
20494       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
20495     else
20496       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
20497     fi
20498     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
20499     ;;
20500   hppa*64*)
20501     shrext_cmds='.sl'
20502     hardcode_into_libs=yes
20503     dynamic_linker="$host_os dld.sl"
20504     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
20505     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
20506     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20507     soname_spec='${libname}${release}${shared_ext}$major'
20508     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
20509     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
20510     ;;
20511   *)
20512     shrext_cmds='.sl'
20513     dynamic_linker="$host_os dld.sl"
20514     shlibpath_var=SHLIB_PATH
20515     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
20516     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20517     soname_spec='${libname}${release}${shared_ext}$major'
20518     ;;
20519   esac
20520   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
20521   postinstall_cmds='chmod 555 $lib'
20522   # or fails outright, so override atomically:
20523   install_override_mode=555
20524   ;;
20525
20526 interix[3-9]*)
20527   version_type=linux # correct to gnu/linux during the next big refactor
20528   need_lib_prefix=no
20529   need_version=no
20530   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20531   soname_spec='${libname}${release}${shared_ext}$major'
20532   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
20533   shlibpath_var=LD_LIBRARY_PATH
20534   shlibpath_overrides_runpath=no
20535   hardcode_into_libs=yes
20536   ;;
20537
20538 irix5* | irix6* | nonstopux*)
20539   case $host_os in
20540     nonstopux*) version_type=nonstopux ;;
20541     *)
20542         if test "$lt_cv_prog_gnu_ld" = yes; then
20543                 version_type=linux # correct to gnu/linux during the next big refactor
20544         else
20545                 version_type=irix
20546         fi ;;
20547   esac
20548   need_lib_prefix=no
20549   need_version=no
20550   soname_spec='${libname}${release}${shared_ext}$major'
20551   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
20552   case $host_os in
20553   irix5* | nonstopux*)
20554     libsuff= shlibsuff=
20555     ;;
20556   *)
20557     case $LD in # libtool.m4 will add one of these switches to LD
20558     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
20559       libsuff= shlibsuff= libmagic=32-bit;;
20560     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
20561       libsuff=32 shlibsuff=N32 libmagic=N32;;
20562     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
20563       libsuff=64 shlibsuff=64 libmagic=64-bit;;
20564     *) libsuff= shlibsuff= libmagic=never-match;;
20565     esac
20566     ;;
20567   esac
20568   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
20569   shlibpath_overrides_runpath=no
20570   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
20571   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
20572   hardcode_into_libs=yes
20573   ;;
20574
20575 # No shared lib support for Linux oldld, aout, or coff.
20576 linux*oldld* | linux*aout* | linux*coff*)
20577   dynamic_linker=no
20578   ;;
20579
20580 # This must be glibc/ELF.
20581 linux* | k*bsd*-gnu | kopensolaris*-gnu)
20582   version_type=linux # correct to gnu/linux during the next big refactor
20583   need_lib_prefix=no
20584   need_version=no
20585   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20586   soname_spec='${libname}${release}${shared_ext}$major'
20587   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
20588   shlibpath_var=LD_LIBRARY_PATH
20589   shlibpath_overrides_runpath=no
20590
20591   # Some binutils ld are patched to set DT_RUNPATH
20592   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
20593   $as_echo_n "(cached) " >&6
20594 else
20595   lt_cv_shlibpath_overrides_runpath=no
20596     save_LDFLAGS=$LDFLAGS
20597     save_libdir=$libdir
20598     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
20599          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
20600     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20601 /* end confdefs.h.  */
20602
20603 int
20604 main ()
20605 {
20606
20607   ;
20608   return 0;
20609 }
20610 _ACEOF
20611 if ac_fn_cxx_try_link "$LINENO"; then :
20612   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
20613   lt_cv_shlibpath_overrides_runpath=yes
20614 fi
20615 fi
20616 rm -f core conftest.err conftest.$ac_objext \
20617     conftest$ac_exeext conftest.$ac_ext
20618     LDFLAGS=$save_LDFLAGS
20619     libdir=$save_libdir
20620
20621 fi
20622
20623   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
20624
20625   # This implies no fast_install, which is unacceptable.
20626   # Some rework will be needed to allow for fast_install
20627   # before this can be enabled.
20628   hardcode_into_libs=yes
20629
20630   # Append ld.so.conf contents to the search path
20631   if test -f /etc/ld.so.conf; then
20632     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' ' '`
20633     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
20634   fi
20635
20636   # We used to test for /lib/ld.so.1 and disable shared libraries on
20637   # powerpc, because MkLinux only supported shared libraries with the
20638   # GNU dynamic linker.  Since this was broken with cross compilers,
20639   # most powerpc-linux boxes support dynamic linking these days and
20640   # people can always --disable-shared, the test was removed, and we
20641   # assume the GNU/Linux dynamic linker is in use.
20642   dynamic_linker='GNU/Linux ld.so'
20643   ;;
20644
20645 netbsdelf*-gnu)
20646   version_type=linux
20647   need_lib_prefix=no
20648   need_version=no
20649   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20650   soname_spec='${libname}${release}${shared_ext}$major'
20651   shlibpath_var=LD_LIBRARY_PATH
20652   shlibpath_overrides_runpath=no
20653   hardcode_into_libs=yes
20654   dynamic_linker='NetBSD ld.elf_so'
20655   ;;
20656
20657 netbsd*)
20658   version_type=sunos
20659   need_lib_prefix=no
20660   need_version=no
20661   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
20662     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20663     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20664     dynamic_linker='NetBSD (a.out) ld.so'
20665   else
20666     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20667     soname_spec='${libname}${release}${shared_ext}$major'
20668     dynamic_linker='NetBSD ld.elf_so'
20669   fi
20670   shlibpath_var=LD_LIBRARY_PATH
20671   shlibpath_overrides_runpath=yes
20672   hardcode_into_libs=yes
20673   ;;
20674
20675 newsos6)
20676   version_type=linux # correct to gnu/linux during the next big refactor
20677   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20678   shlibpath_var=LD_LIBRARY_PATH
20679   shlibpath_overrides_runpath=yes
20680   ;;
20681
20682 *nto* | *qnx*)
20683   version_type=qnx
20684   need_lib_prefix=no
20685   need_version=no
20686   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20687   soname_spec='${libname}${release}${shared_ext}$major'
20688   shlibpath_var=LD_LIBRARY_PATH
20689   shlibpath_overrides_runpath=no
20690   hardcode_into_libs=yes
20691   dynamic_linker='ldqnx.so'
20692   ;;
20693
20694 openbsd*)
20695   version_type=sunos
20696   sys_lib_dlsearch_path_spec="/usr/lib"
20697   need_lib_prefix=no
20698   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
20699   case $host_os in
20700     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
20701     *)                          need_version=no  ;;
20702   esac
20703   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20704   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20705   shlibpath_var=LD_LIBRARY_PATH
20706   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
20707     case $host_os in
20708       openbsd2.[89] | openbsd2.[89].*)
20709         shlibpath_overrides_runpath=no
20710         ;;
20711       *)
20712         shlibpath_overrides_runpath=yes
20713         ;;
20714       esac
20715   else
20716     shlibpath_overrides_runpath=yes
20717   fi
20718   ;;
20719
20720 os2*)
20721   libname_spec='$name'
20722   shrext_cmds=".dll"
20723   need_lib_prefix=no
20724   library_names_spec='$libname${shared_ext} $libname.a'
20725   dynamic_linker='OS/2 ld.exe'
20726   shlibpath_var=LIBPATH
20727   ;;
20728
20729 osf3* | osf4* | osf5*)
20730   version_type=osf
20731   need_lib_prefix=no
20732   need_version=no
20733   soname_spec='${libname}${release}${shared_ext}$major'
20734   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20735   shlibpath_var=LD_LIBRARY_PATH
20736   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
20737   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
20738   ;;
20739
20740 rdos*)
20741   dynamic_linker=no
20742   ;;
20743
20744 solaris*)
20745   version_type=linux # correct to gnu/linux during the next big refactor
20746   need_lib_prefix=no
20747   need_version=no
20748   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20749   soname_spec='${libname}${release}${shared_ext}$major'
20750   shlibpath_var=LD_LIBRARY_PATH
20751   shlibpath_overrides_runpath=yes
20752   hardcode_into_libs=yes
20753   # ldd complains unless libraries are executable
20754   postinstall_cmds='chmod +x $lib'
20755   ;;
20756
20757 sunos4*)
20758   version_type=sunos
20759   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20760   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
20761   shlibpath_var=LD_LIBRARY_PATH
20762   shlibpath_overrides_runpath=yes
20763   if test "$with_gnu_ld" = yes; then
20764     need_lib_prefix=no
20765   fi
20766   need_version=yes
20767   ;;
20768
20769 sysv4 | sysv4.3*)
20770   version_type=linux # correct to gnu/linux during the next big refactor
20771   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20772   soname_spec='${libname}${release}${shared_ext}$major'
20773   shlibpath_var=LD_LIBRARY_PATH
20774   case $host_vendor in
20775     sni)
20776       shlibpath_overrides_runpath=no
20777       need_lib_prefix=no
20778       runpath_var=LD_RUN_PATH
20779       ;;
20780     siemens)
20781       need_lib_prefix=no
20782       ;;
20783     motorola)
20784       need_lib_prefix=no
20785       need_version=no
20786       shlibpath_overrides_runpath=no
20787       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
20788       ;;
20789   esac
20790   ;;
20791
20792 sysv4*MP*)
20793   if test -d /usr/nec ;then
20794     version_type=linux # correct to gnu/linux during the next big refactor
20795     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
20796     soname_spec='$libname${shared_ext}.$major'
20797     shlibpath_var=LD_LIBRARY_PATH
20798   fi
20799   ;;
20800
20801 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
20802   version_type=freebsd-elf
20803   need_lib_prefix=no
20804   need_version=no
20805   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20806   soname_spec='${libname}${release}${shared_ext}$major'
20807   shlibpath_var=LD_LIBRARY_PATH
20808   shlibpath_overrides_runpath=yes
20809   hardcode_into_libs=yes
20810   if test "$with_gnu_ld" = yes; then
20811     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
20812   else
20813     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
20814     case $host_os in
20815       sco3.2v5*)
20816         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
20817         ;;
20818     esac
20819   fi
20820   sys_lib_dlsearch_path_spec='/usr/lib'
20821   ;;
20822
20823 tpf*)
20824   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
20825   version_type=linux # correct to gnu/linux during the next big refactor
20826   need_lib_prefix=no
20827   need_version=no
20828   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20829   shlibpath_var=LD_LIBRARY_PATH
20830   shlibpath_overrides_runpath=no
20831   hardcode_into_libs=yes
20832   ;;
20833
20834 uts4*)
20835   version_type=linux # correct to gnu/linux during the next big refactor
20836   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20837   soname_spec='${libname}${release}${shared_ext}$major'
20838   shlibpath_var=LD_LIBRARY_PATH
20839   ;;
20840
20841 *)
20842   dynamic_linker=no
20843   ;;
20844 esac
20845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
20846 $as_echo "$dynamic_linker" >&6; }
20847 test "$dynamic_linker" = no && can_build_shared=no
20848
20849 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
20850 if test "$GCC" = yes; then
20851   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
20852 fi
20853
20854 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
20855   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
20856 fi
20857 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
20858   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
20859 fi
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
20893
20894
20895
20896
20897
20898     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
20899 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
20900 hardcode_action_CXX=
20901 if test -n "$hardcode_libdir_flag_spec_CXX" ||
20902    test -n "$runpath_var_CXX" ||
20903    test "X$hardcode_automatic_CXX" = "Xyes" ; then
20904
20905   # We can hardcode non-existent directories.
20906   if test "$hardcode_direct_CXX" != no &&
20907      # If the only mechanism to avoid hardcoding is shlibpath_var, we
20908      # have to relink, otherwise we might link with an installed library
20909      # when we should be linking with a yet-to-be-installed one
20910      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
20911      test "$hardcode_minus_L_CXX" != no; then
20912     # Linking always hardcodes the temporary library directory.
20913     hardcode_action_CXX=relink
20914   else
20915     # We can link without hardcoding, and we can hardcode nonexisting dirs.
20916     hardcode_action_CXX=immediate
20917   fi
20918 else
20919   # We cannot hardcode anything, or else we can only hardcode existing
20920   # directories.
20921   hardcode_action_CXX=unsupported
20922 fi
20923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
20924 $as_echo "$hardcode_action_CXX" >&6; }
20925
20926 if test "$hardcode_action_CXX" = relink ||
20927    test "$inherit_rpath_CXX" = yes; then
20928   # Fast installation is not supported
20929   enable_fast_install=no
20930 elif test "$shlibpath_overrides_runpath" = yes ||
20931      test "$enable_shared" = no; then
20932   # Fast installation is not necessary
20933   enable_fast_install=needless
20934 fi
20935
20936
20937
20938
20939
20940
20941
20942   fi # test -n "$compiler"
20943
20944   CC=$lt_save_CC
20945   CFLAGS=$lt_save_CFLAGS
20946   LDCXX=$LD
20947   LD=$lt_save_LD
20948   GCC=$lt_save_GCC
20949   with_gnu_ld=$lt_save_with_gnu_ld
20950   lt_cv_path_LDCXX=$lt_cv_path_LD
20951   lt_cv_path_LD=$lt_save_path_LD
20952   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
20953   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
20954 fi # test "$_lt_caught_CXX_error" != yes
20955
20956 ac_ext=c
20957 ac_cpp='$CPP $CPPFLAGS'
20958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20961
20962
20963 ac_ext=cpp
20964 ac_cpp='$CXXCPP $CPPFLAGS'
20965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20968
20969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20970 /* end confdefs.h.  */
20971  class Foo { int bar; };
20972 int
20973 main ()
20974 {
20975
20976   ;
20977   return 0;
20978 }
20979 _ACEOF
20980 if ac_fn_cxx_try_compile "$LINENO"; then :
20981   working_cxx=yes
20982 else
20983   working_cxx=no
20984 fi
20985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20986 ac_ext=c
20987 ac_cpp='$CPP $CPPFLAGS'
20988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20991
20992 { $as_echo "$as_me:${as_lineno-$LINENO}: working c++ compiler found: $working_cxx" >&5
20993 $as_echo "$as_me: working c++ compiler found: $working_cxx" >&6;}
20994  if test "x$working_cxx" = "xyes"; then
20995   HAVE_CXX_TRUE=
20996   HAVE_CXX_FALSE='#'
20997 else
20998   HAVE_CXX_TRUE='#'
20999   HAVE_CXX_FALSE=
21000 fi
21001
21002
21003 # Extract the first word of "valgrind", so it can be a program name with args.
21004 set dummy valgrind; ac_word=$2
21005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21006 $as_echo_n "checking for $ac_word... " >&6; }
21007 if ${ac_cv_path_VALGRIND_PATH+:} false; then :
21008   $as_echo_n "(cached) " >&6
21009 else
21010   case $VALGRIND_PATH in
21011   [\\/]* | ?:[\\/]*)
21012   ac_cv_path_VALGRIND_PATH="$VALGRIND_PATH" # Let the user override the test with a path.
21013   ;;
21014   *)
21015   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21016 for as_dir in $PATH
21017 do
21018   IFS=$as_save_IFS
21019   test -z "$as_dir" && as_dir=.
21020     for ac_exec_ext in '' $ac_executable_extensions; do
21021   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21022     ac_cv_path_VALGRIND_PATH="$as_dir/$ac_word$ac_exec_ext"
21023     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21024     break 2
21025   fi
21026 done
21027   done
21028 IFS=$as_save_IFS
21029
21030   test -z "$ac_cv_path_VALGRIND_PATH" && ac_cv_path_VALGRIND_PATH="no"
21031   ;;
21032 esac
21033 fi
21034 VALGRIND_PATH=$ac_cv_path_VALGRIND_PATH
21035 if test -n "$VALGRIND_PATH"; then
21036   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALGRIND_PATH" >&5
21037 $as_echo "$VALGRIND_PATH" >&6; }
21038 else
21039   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21040 $as_echo "no" >&6; }
21041 fi
21042
21043
21044  if test ! "x$VALGRIND_PATH" = "xno"; then
21045   HAVE_VALGRIND_TRUE=
21046   HAVE_VALGRIND_FALSE='#'
21047 else
21048   HAVE_VALGRIND_TRUE='#'
21049   HAVE_VALGRIND_FALSE=
21050 fi
21051
21052
21053
21054
21055
21056                 # Check whether --enable-introspection was given.
21057 if test "${enable_introspection+set}" = set; then :
21058   enableval=$enable_introspection;
21059 else
21060   enable_introspection=auto
21061 fi
21062
21063
21064     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
21065 $as_echo_n "checking for gobject-introspection... " >&6; }
21066
21067         case $enable_introspection in #(
21068   no) :
21069             found_introspection="no (disabled, use --enable-introspection to enable)"
21070      ;; #(
21071       yes) :
21072             if test -n "$PKG_CONFIG" && \
21073     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
21074   ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
21075   ac_status=$?
21076   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21077   test $ac_status = 0; }; then
21078   :
21079 else
21080   as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5
21081 fi
21082         if test -n "$PKG_CONFIG" && \
21083     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.9.12\""; } >&5
21084   ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.9.12") 2>&5
21085   ac_status=$?
21086   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21087   test $ac_status = 0; }; then
21088   found_introspection=yes
21089 else
21090   as_fn_error $? "You need to have gobject-introspection >= 0.9.12 installed to build GStreamer Base Plug-ins" "$LINENO" 5
21091 fi
21092      ;; #(
21093       auto) :
21094             if test -n "$PKG_CONFIG" && \
21095     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.9.12\""; } >&5
21096   ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.9.12") 2>&5
21097   ac_status=$?
21098   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21099   test $ac_status = 0; }; then
21100   found_introspection=yes
21101 else
21102   found_introspection=no
21103 fi
21104      ;; #(
21105   *) :
21106                 as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
21107      ;;
21108 esac
21109     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
21110 $as_echo "$found_introspection" >&6; }
21111
21112     INTROSPECTION_SCANNER=
21113     INTROSPECTION_COMPILER=
21114     INTROSPECTION_GENERATE=
21115     INTROSPECTION_GIRDIR=
21116     INTROSPECTION_TYPELIBDIR=
21117     if test "x$found_introspection" = "xyes"; then
21118        INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
21119        INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
21120        INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
21121        INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
21122        INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
21123        INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
21124        INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
21125        INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
21126     fi
21127
21128
21129
21130
21131
21132
21133
21134
21135
21136      if test "x$found_introspection" = "xyes"; then
21137   HAVE_INTROSPECTION_TRUE=
21138   HAVE_INTROSPECTION_FALSE='#'
21139 else
21140   HAVE_INTROSPECTION_TRUE='#'
21141   HAVE_INTROSPECTION_FALSE=
21142 fi
21143
21144
21145
21146
21147
21148
21149 # Check whether --with-html-dir was given.
21150 if test "${with_html_dir+set}" = set; then :
21151   withval=$with_html_dir;
21152 else
21153   with_html_dir='${datadir}/gtk-doc/html'
21154 fi
21155
21156   HTML_DIR="$with_html_dir"
21157
21158
21159     # Check whether --enable-gtk-doc was given.
21160 if test "${enable_gtk_doc+set}" = set; then :
21161   enableval=$enable_gtk_doc;
21162 else
21163   enable_gtk_doc=no
21164 fi
21165
21166
21167   if test x$enable_gtk_doc = xyes; then
21168     if test -n "$PKG_CONFIG" && \
21169     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.3\""; } >&5
21170   ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.3") 2>&5
21171   ac_status=$?
21172   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21173   test $ac_status = 0; }; then
21174   :
21175 else
21176   as_fn_error $? "You need to have gtk-doc >= 1.3 installed to build gtk-doc" "$LINENO" 5
21177 fi
21178     if test -z "$SED"; then
21179       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
21180 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
21181 if ${ac_cv_path_SED+:} false; then :
21182   $as_echo_n "(cached) " >&6
21183 else
21184             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
21185      for ac_i in 1 2 3 4 5 6 7; do
21186        ac_script="$ac_script$as_nl$ac_script"
21187      done
21188      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
21189      { ac_script=; unset ac_script;}
21190      if test -z "$SED"; then
21191   ac_path_SED_found=false
21192   # Loop through the user's path and test for each of PROGNAME-LIST
21193   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21194 for as_dir in $PATH
21195 do
21196   IFS=$as_save_IFS
21197   test -z "$as_dir" && as_dir=.
21198     for ac_prog in sed gsed; do
21199     for ac_exec_ext in '' $ac_executable_extensions; do
21200       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
21201       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
21202 # Check for GNU ac_path_SED and select it if it is found.
21203   # Check for GNU $ac_path_SED
21204 case `"$ac_path_SED" --version 2>&1` in
21205 *GNU*)
21206   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
21207 *)
21208   ac_count=0
21209   $as_echo_n 0123456789 >"conftest.in"
21210   while :
21211   do
21212     cat "conftest.in" "conftest.in" >"conftest.tmp"
21213     mv "conftest.tmp" "conftest.in"
21214     cp "conftest.in" "conftest.nl"
21215     $as_echo '' >> "conftest.nl"
21216     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
21217     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
21218     as_fn_arith $ac_count + 1 && ac_count=$as_val
21219     if test $ac_count -gt ${ac_path_SED_max-0}; then
21220       # Best one so far, save it but keep looking for a better one
21221       ac_cv_path_SED="$ac_path_SED"
21222       ac_path_SED_max=$ac_count
21223     fi
21224     # 10*(2^10) chars as input seems more than enough
21225     test $ac_count -gt 10 && break
21226   done
21227   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
21228 esac
21229
21230       $ac_path_SED_found && break 3
21231     done
21232   done
21233   done
21234 IFS=$as_save_IFS
21235   if test -z "$ac_cv_path_SED"; then
21236     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
21237   fi
21238 else
21239   ac_cv_path_SED=$SED
21240 fi
21241
21242 fi
21243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
21244 $as_echo "$ac_cv_path_SED" >&6; }
21245  SED="$ac_cv_path_SED"
21246   rm -f conftest.sed
21247
21248     fi
21249   fi
21250
21251   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
21252 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
21253   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
21254 $as_echo "$enable_gtk_doc" >&6; }
21255
21256   for ac_prog in gtkdoc-check
21257 do
21258   # Extract the first word of "$ac_prog", so it can be a program name with args.
21259 set dummy $ac_prog; ac_word=$2
21260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21261 $as_echo_n "checking for $ac_word... " >&6; }
21262 if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
21263   $as_echo_n "(cached) " >&6
21264 else
21265   case $GTKDOC_CHECK in
21266   [\\/]* | ?:[\\/]*)
21267   ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
21268   ;;
21269   *)
21270   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21271 for as_dir in $PATH
21272 do
21273   IFS=$as_save_IFS
21274   test -z "$as_dir" && as_dir=.
21275     for ac_exec_ext in '' $ac_executable_extensions; do
21276   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21277     ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
21278     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21279     break 2
21280   fi
21281 done
21282   done
21283 IFS=$as_save_IFS
21284
21285   ;;
21286 esac
21287 fi
21288 GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
21289 if test -n "$GTKDOC_CHECK"; then
21290   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
21291 $as_echo "$GTKDOC_CHECK" >&6; }
21292 else
21293   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21294 $as_echo "no" >&6; }
21295 fi
21296
21297
21298   test -n "$GTKDOC_CHECK" && break
21299 done
21300
21301
21302    if test x$enable_gtk_doc = xyes; then
21303   ENABLE_GTK_DOC_TRUE=
21304   ENABLE_GTK_DOC_FALSE='#'
21305 else
21306   ENABLE_GTK_DOC_TRUE='#'
21307   ENABLE_GTK_DOC_FALSE=
21308 fi
21309
21310    if test -n "$LIBTOOL"; then
21311   GTK_DOC_USE_LIBTOOL_TRUE=
21312   GTK_DOC_USE_LIBTOOL_FALSE='#'
21313 else
21314   GTK_DOC_USE_LIBTOOL_TRUE='#'
21315   GTK_DOC_USE_LIBTOOL_FALSE=
21316 fi
21317
21318
21319
21320
21321     PYTHON_CANDIDATES="python python2.2 python2.1 python2.0 python2 \
21322                      python1.6 python1.5"
21323
21324      { $as_echo "$as_me:${as_lineno-$LINENO}: Looking for Python version >= 2.1" >&5
21325 $as_echo "$as_me: Looking for Python version >= 2.1" >&6;}
21326         prog="
21327 import sys, string
21328 minver = '2.1'
21329 # split string by '.' and convert to numeric
21330 minver_info = map(string.atoi, string.split(minver, '.'))
21331 # we can now do comparisons on the two lists:
21332 if sys.version_info >= tuple(minver_info):
21333         sys.exit(0)
21334 else:
21335         sys.exit(1)"
21336
21337     python_good=false
21338     for python_candidate in $PYTHON_CANDIDATES; do
21339       unset PYTHON
21340       # Extract the first word of "$python_candidate", so it can be a program name with args.
21341 set dummy $python_candidate; ac_word=$2
21342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21343 $as_echo_n "checking for $ac_word... " >&6; }
21344 if ${ac_cv_path_PYTHON+:} false; then :
21345   $as_echo_n "(cached) " >&6
21346 else
21347   case $PYTHON in
21348   [\\/]* | ?:[\\/]*)
21349   ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
21350   ;;
21351   *)
21352   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21353 for as_dir in $PATH
21354 do
21355   IFS=$as_save_IFS
21356   test -z "$as_dir" && as_dir=.
21357     for ac_exec_ext in '' $ac_executable_extensions; do
21358   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21359     ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
21360     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21361     break 2
21362   fi
21363 done
21364   done
21365 IFS=$as_save_IFS
21366
21367   ;;
21368 esac
21369 fi
21370 PYTHON=$ac_cv_path_PYTHON
21371 if test -n "$PYTHON"; then
21372   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
21373 $as_echo "$PYTHON" >&6; }
21374 else
21375   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21376 $as_echo "no" >&6; }
21377 fi
21378
21379  1> /dev/null 2> /dev/null
21380
21381       if test "x$PYTHON" = "x"; then continue; fi
21382
21383       if $PYTHON -c "$prog" 1>&5 2>&5; then
21384         { $as_echo "$as_me:${as_lineno-$LINENO}: checking \"$PYTHON\":" >&5
21385 $as_echo_n "checking \"$PYTHON\":... " >&6; }
21386         { $as_echo "$as_me:${as_lineno-$LINENO}: result: okay" >&5
21387 $as_echo "okay" >&6; }
21388         python_good=true
21389         break;
21390       else
21391                 unset ac_cv_path_PYTHON
21392       fi
21393     done
21394
21395
21396   if test "$python_good" != "true"; then
21397     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No suitable version of python found" >&5
21398 $as_echo "$as_me: WARNING: No suitable version of python found" >&2;}
21399     PYTHON=
21400   else
21401
21402   { $as_echo "$as_me:${as_lineno-$LINENO}: checking local Python configuration" >&5
21403 $as_echo_n "checking local Python configuration... " >&6; }
21404
21405
21406
21407     PYTHON_VERSION=`$PYTHON -c "import sys; print sys.version[:3]"`
21408
21409
21410
21411
21412   PYTHON_PREFIX='${prefix}'
21413
21414
21415   PYTHON_EXEC_PREFIX='${exec_prefix}'
21416
21417
21418
21419   PYTHON_PLATFORM=`$PYTHON -c "import sys; print sys.platform"`
21420
21421
21422
21423
21424
21425   pythondir=$PYTHON_PREFIX"/lib/python"$PYTHON_VERSION/site-packages
21426
21427
21428
21429   pkgpythondir=\${pythondir}/$PACKAGE
21430
21431
21432
21433   pyexecdir=$PYTHON_EXEC_PREFIX"/lib/python"$PYTHON_VERSION/site-packages
21434
21435
21436
21437   pkgpyexecdir=\${pyexecdir}/$PACKAGE
21438
21439   { $as_echo "$as_me:${as_lineno-$LINENO}: result: looks good" >&5
21440 $as_echo "looks good" >&6; }
21441
21442   fi
21443
21444
21445
21446   build_plugin_docs=no
21447   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build plugin documentation" >&5
21448 $as_echo_n "checking whether to build plugin documentation... " >&6; }
21449   if test x$enable_gtk_doc = xyes; then
21450     build_plugin_docs=yes
21451     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21452 $as_echo "yes" >&6; }
21453   else
21454     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (gtk-doc disabled or not available)" >&5
21455 $as_echo "no (gtk-doc disabled or not available)" >&6; }
21456   fi
21457
21458    if test x$build_plugin_docs = xyes; then
21459   ENABLE_PLUGIN_DOCS_TRUE=
21460   ENABLE_PLUGIN_DOCS_FALSE='#'
21461 else
21462   ENABLE_PLUGIN_DOCS_TRUE='#'
21463   ENABLE_PLUGIN_DOCS_FALSE=
21464 fi
21465
21466
21467
21468
21469 LIBM=
21470 case $host in
21471 *-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
21472   # These system don't have libm, or don't need it
21473   ;;
21474 *-ncr-sysv4.3*)
21475   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
21476 $as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
21477 if ${ac_cv_lib_mw__mwvalidcheckl+:} false; then :
21478   $as_echo_n "(cached) " >&6
21479 else
21480   ac_check_lib_save_LIBS=$LIBS
21481 LIBS="-lmw  $LIBS"
21482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21483 /* end confdefs.h.  */
21484
21485 /* Override any GCC internal prototype to avoid an error.
21486    Use char because int might match the return type of a GCC
21487    builtin and then its argument prototype would still apply.  */
21488 #ifdef __cplusplus
21489 extern "C"
21490 #endif
21491 char _mwvalidcheckl ();
21492 int
21493 main ()
21494 {
21495 return _mwvalidcheckl ();
21496   ;
21497   return 0;
21498 }
21499 _ACEOF
21500 if ac_fn_c_try_link "$LINENO"; then :
21501   ac_cv_lib_mw__mwvalidcheckl=yes
21502 else
21503   ac_cv_lib_mw__mwvalidcheckl=no
21504 fi
21505 rm -f core conftest.err conftest.$ac_objext \
21506     conftest$ac_exeext conftest.$ac_ext
21507 LIBS=$ac_check_lib_save_LIBS
21508 fi
21509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
21510 $as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
21511 if test "x$ac_cv_lib_mw__mwvalidcheckl" = xyes; then :
21512   LIBM="-lmw"
21513 fi
21514
21515   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
21516 $as_echo_n "checking for cos in -lm... " >&6; }
21517 if ${ac_cv_lib_m_cos+:} false; then :
21518   $as_echo_n "(cached) " >&6
21519 else
21520   ac_check_lib_save_LIBS=$LIBS
21521 LIBS="-lm  $LIBS"
21522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21523 /* end confdefs.h.  */
21524
21525 /* Override any GCC internal prototype to avoid an error.
21526    Use char because int might match the return type of a GCC
21527    builtin and then its argument prototype would still apply.  */
21528 #ifdef __cplusplus
21529 extern "C"
21530 #endif
21531 char cos ();
21532 int
21533 main ()
21534 {
21535 return cos ();
21536   ;
21537   return 0;
21538 }
21539 _ACEOF
21540 if ac_fn_c_try_link "$LINENO"; then :
21541   ac_cv_lib_m_cos=yes
21542 else
21543   ac_cv_lib_m_cos=no
21544 fi
21545 rm -f core conftest.err conftest.$ac_objext \
21546     conftest$ac_exeext conftest.$ac_ext
21547 LIBS=$ac_check_lib_save_LIBS
21548 fi
21549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
21550 $as_echo "$ac_cv_lib_m_cos" >&6; }
21551 if test "x$ac_cv_lib_m_cos" = xyes; then :
21552   LIBM="$LIBM -lm"
21553 fi
21554
21555   ;;
21556 *)
21557   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
21558 $as_echo_n "checking for cos in -lm... " >&6; }
21559 if ${ac_cv_lib_m_cos+:} false; then :
21560   $as_echo_n "(cached) " >&6
21561 else
21562   ac_check_lib_save_LIBS=$LIBS
21563 LIBS="-lm  $LIBS"
21564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21565 /* end confdefs.h.  */
21566
21567 /* Override any GCC internal prototype to avoid an error.
21568    Use char because int might match the return type of a GCC
21569    builtin and then its argument prototype would still apply.  */
21570 #ifdef __cplusplus
21571 extern "C"
21572 #endif
21573 char cos ();
21574 int
21575 main ()
21576 {
21577 return cos ();
21578   ;
21579   return 0;
21580 }
21581 _ACEOF
21582 if ac_fn_c_try_link "$LINENO"; then :
21583   ac_cv_lib_m_cos=yes
21584 else
21585   ac_cv_lib_m_cos=no
21586 fi
21587 rm -f core conftest.err conftest.$ac_objext \
21588     conftest$ac_exeext conftest.$ac_ext
21589 LIBS=$ac_check_lib_save_LIBS
21590 fi
21591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
21592 $as_echo "$ac_cv_lib_m_cos" >&6; }
21593 if test "x$ac_cv_lib_m_cos" = xyes; then :
21594   LIBM="-lm"
21595 fi
21596
21597   ;;
21598 esac
21599
21600
21601
21602
21603
21604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
21605 $as_echo_n "checking for ANSI C header files... " >&6; }
21606 if ${ac_cv_header_stdc+:} false; then :
21607   $as_echo_n "(cached) " >&6
21608 else
21609   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21610 /* end confdefs.h.  */
21611 #include <stdlib.h>
21612 #include <stdarg.h>
21613 #include <string.h>
21614 #include <float.h>
21615
21616 int
21617 main ()
21618 {
21619
21620   ;
21621   return 0;
21622 }
21623 _ACEOF
21624 if ac_fn_c_try_compile "$LINENO"; then :
21625   ac_cv_header_stdc=yes
21626 else
21627   ac_cv_header_stdc=no
21628 fi
21629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21630
21631 if test $ac_cv_header_stdc = yes; then
21632   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
21633   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21634 /* end confdefs.h.  */
21635 #include <string.h>
21636
21637 _ACEOF
21638 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21639   $EGREP "memchr" >/dev/null 2>&1; then :
21640
21641 else
21642   ac_cv_header_stdc=no
21643 fi
21644 rm -f conftest*
21645
21646 fi
21647
21648 if test $ac_cv_header_stdc = yes; then
21649   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
21650   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21651 /* end confdefs.h.  */
21652 #include <stdlib.h>
21653
21654 _ACEOF
21655 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21656   $EGREP "free" >/dev/null 2>&1; then :
21657
21658 else
21659   ac_cv_header_stdc=no
21660 fi
21661 rm -f conftest*
21662
21663 fi
21664
21665 if test $ac_cv_header_stdc = yes; then
21666   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
21667   if test "$cross_compiling" = yes; then :
21668   :
21669 else
21670   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21671 /* end confdefs.h.  */
21672 #include <ctype.h>
21673 #include <stdlib.h>
21674 #if ((' ' & 0x0FF) == 0x020)
21675 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
21676 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
21677 #else
21678 # define ISLOWER(c) \
21679                    (('a' <= (c) && (c) <= 'i') \
21680                      || ('j' <= (c) && (c) <= 'r') \
21681                      || ('s' <= (c) && (c) <= 'z'))
21682 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
21683 #endif
21684
21685 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
21686 int
21687 main ()
21688 {
21689   int i;
21690   for (i = 0; i < 256; i++)
21691     if (XOR (islower (i), ISLOWER (i))
21692         || toupper (i) != TOUPPER (i))
21693       return 2;
21694   return 0;
21695 }
21696 _ACEOF
21697 if ac_fn_c_try_run "$LINENO"; then :
21698
21699 else
21700   ac_cv_header_stdc=no
21701 fi
21702 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
21703   conftest.$ac_objext conftest.beam conftest.$ac_ext
21704 fi
21705
21706 fi
21707 fi
21708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
21709 $as_echo "$ac_cv_header_stdc" >&6; }
21710 if test $ac_cv_header_stdc = yes; then
21711
21712 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
21713
21714 fi
21715
21716
21717 for ac_header in malloc.h
21718 do :
21719   ac_fn_c_check_header_mongrel "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default"
21720 if test "x$ac_cv_header_malloc_h" = xyes; then :
21721   cat >>confdefs.h <<_ACEOF
21722 #define HAVE_MALLOC_H 1
21723 _ACEOF
21724
21725 fi
21726
21727 done
21728
21729
21730 ac_cppflags_save="$CPPFLAGS"
21731 CPPFLAGS="`$PKG_CONFIG --cflags libxml-2.0`"
21732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21733 /* end confdefs.h.  */
21734
21735 #include <libxml/HTMLparser.h>
21736
21737 int
21738 main ()
21739 {
21740
21741 #ifndef LIBXML_HTML_ENABLED
21742 #error libxml2 has no HTML support
21743 #endif /* LIBXML_HTML_ENABLED */
21744
21745   ;
21746   return 0;
21747 }
21748 _ACEOF
21749 if ac_fn_c_try_compile "$LINENO"; then :
21750   HAVE_LIBXML_HTML="yes"
21751 else
21752   HAVE_LIBXML_HTML="no"
21753 fi
21754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21755 CPPFLAGS="$ac_cppflags_save"
21756  if test "x$HAVE_LIBXML_HTML" = "xyes"; then
21757   HAVE_LIBXML_HTML_TRUE=
21758   HAVE_LIBXML_HTML_FALSE='#'
21759 else
21760   HAVE_LIBXML_HTML_TRUE='#'
21761   HAVE_LIBXML_HTML_FALSE=
21762 fi
21763
21764
21765 for ac_header in sys/socket.h
21766 do :
21767   ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default"
21768 if test "x$ac_cv_header_sys_socket_h" = xyes; then :
21769   cat >>confdefs.h <<_ACEOF
21770 #define HAVE_SYS_SOCKET_H 1
21771 _ACEOF
21772  HAVE_SYS_SOCKET_H="yes"
21773 else
21774   HAVE_SYS_SOCKET_H="no"
21775 fi
21776
21777 done
21778
21779  if test "x$HAVE_SYS_SOCKET_H" = "xyes"; then
21780   HAVE_SYS_SOCKET_H_TRUE=
21781   HAVE_SYS_SOCKET_H_FALSE='#'
21782 else
21783   HAVE_SYS_SOCKET_H_TRUE='#'
21784   HAVE_SYS_SOCKET_H_FALSE=
21785 fi
21786
21787
21788 for ac_header in winsock2.h
21789 do :
21790   ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default"
21791 if test "x$ac_cv_header_winsock2_h" = xyes; then :
21792   cat >>confdefs.h <<_ACEOF
21793 #define HAVE_WINSOCK2_H 1
21794 _ACEOF
21795  HAVE_WINSOCK2_H=yes
21796 fi
21797
21798 done
21799
21800 if test "x$HAVE_WINSOCK2_H" = "xyes"; then
21801   WIN32_LIBS="-lws2_32"
21802
21803 fi
21804
21805 save_libs="$LIBS"
21806 ac_fn_c_check_func "$LINENO" "hstrerror" "ac_cv_func_hstrerror"
21807 if test "x$ac_cv_func_hstrerror" = xyes; then :
21808
21809 else
21810   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hstrerror in -lresolv" >&5
21811 $as_echo_n "checking for hstrerror in -lresolv... " >&6; }
21812 if ${ac_cv_lib_resolv_hstrerror+:} false; then :
21813   $as_echo_n "(cached) " >&6
21814 else
21815   ac_check_lib_save_LIBS=$LIBS
21816 LIBS="-lresolv  $LIBS"
21817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21818 /* end confdefs.h.  */
21819
21820 /* Override any GCC internal prototype to avoid an error.
21821    Use char because int might match the return type of a GCC
21822    builtin and then its argument prototype would still apply.  */
21823 #ifdef __cplusplus
21824 extern "C"
21825 #endif
21826 char hstrerror ();
21827 int
21828 main ()
21829 {
21830 return hstrerror ();
21831   ;
21832   return 0;
21833 }
21834 _ACEOF
21835 if ac_fn_c_try_link "$LINENO"; then :
21836   ac_cv_lib_resolv_hstrerror=yes
21837 else
21838   ac_cv_lib_resolv_hstrerror=no
21839 fi
21840 rm -f core conftest.err conftest.$ac_objext \
21841     conftest$ac_exeext conftest.$ac_ext
21842 LIBS=$ac_check_lib_save_LIBS
21843 fi
21844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_hstrerror" >&5
21845 $as_echo "$ac_cv_lib_resolv_hstrerror" >&6; }
21846 if test "x$ac_cv_lib_resolv_hstrerror" = xyes; then :
21847   cat >>confdefs.h <<_ACEOF
21848 #define HAVE_LIBRESOLV 1
21849 _ACEOF
21850
21851   LIBS="-lresolv $LIBS"
21852
21853 else
21854
21855 $as_echo "#define NO_HSTRERROR 1" >>confdefs.h
21856
21857 fi
21858
21859 fi
21860
21861 HSTRERROR_LIBS=$LIBS
21862
21863 LIBS="$save_libs"
21864
21865 for ac_header in process.h sys/types.h sys/wait.h sys/stat.h
21866 do :
21867   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21868 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21869 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
21870   cat >>confdefs.h <<_ACEOF
21871 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21872 _ACEOF
21873
21874 fi
21875
21876 done
21877
21878
21879 for ac_header in xmmintrin.h emmintrin.h
21880 do :
21881   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21882 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21883 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
21884   cat >>confdefs.h <<_ACEOF
21885 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21886 _ACEOF
21887
21888 fi
21889
21890 done
21891
21892
21893 # ------ AX CREATE STDINT H -------------------------------------
21894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint types" >&5
21895 $as_echo_n "checking for stdint types... " >&6; }
21896 ac_stdint_h=`echo _stdint.h`
21897 # try to shortcircuit - if the default include path of the compiler
21898 # can find a "stdint.h" header then we assume that all compilers can.
21899 if ${ac_cv_header_stdint_t+:} false; then :
21900   $as_echo_n "(cached) " >&6
21901 else
21902
21903 old_CXXFLAGS="$CXXFLAGS" ; CXXFLAGS=""
21904 old_CPPFLAGS="$CPPFLAGS" ; CPPFLAGS=""
21905 old_CFLAGS="$CFLAGS"     ; CFLAGS=""
21906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21907 /* end confdefs.h.  */
21908 #include <stdint.h>
21909 int
21910 main ()
21911 {
21912 int_least32_t v = 0;
21913   ;
21914   return 0;
21915 }
21916 _ACEOF
21917 if ac_fn_c_try_compile "$LINENO"; then :
21918   ac_cv_stdint_result="(assuming C99 compatible system)"
21919  ac_cv_header_stdint_t="stdint.h";
21920 else
21921   ac_cv_header_stdint_t=""
21922 fi
21923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21924 if test "$GCC" = "yes" && test ".$ac_cv_header_stdint_t" = "."; then
21925 CFLAGS="-std=c99"
21926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21927 /* end confdefs.h.  */
21928 #include <stdint.h>
21929 int
21930 main ()
21931 {
21932 int_least32_t v = 0;
21933   ;
21934   return 0;
21935 }
21936 _ACEOF
21937 if ac_fn_c_try_compile "$LINENO"; then :
21938   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: your GCC compiler has a defunct stdint.h for its default-mode" >&5
21939 $as_echo "$as_me: WARNING: your GCC compiler has a defunct stdint.h for its default-mode" >&2;}
21940 fi
21941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21942 fi
21943 CXXFLAGS="$old_CXXFLAGS"
21944 CPPFLAGS="$old_CPPFLAGS"
21945 CFLAGS="$old_CFLAGS"
21946 fi
21947
21948
21949 v="... $ac_cv_header_stdint_h"
21950 if test "$ac_stdint_h" = "stdint.h" ; then
21951  { $as_echo "$as_me:${as_lineno-$LINENO}: result: (are you sure you want them in ./stdint.h?)" >&5
21952 $as_echo "(are you sure you want them in ./stdint.h?)" >&6; }
21953 elif test "$ac_stdint_h" = "inttypes.h" ; then
21954  { $as_echo "$as_me:${as_lineno-$LINENO}: result: (are you sure you want them in ./inttypes.h?)" >&5
21955 $as_echo "(are you sure you want them in ./inttypes.h?)" >&6; }
21956 elif test "_$ac_cv_header_stdint_t" = "_" ; then
21957  { $as_echo "$as_me:${as_lineno-$LINENO}: result: (putting them into $ac_stdint_h)$v" >&5
21958 $as_echo "(putting them into $ac_stdint_h)$v" >&6; }
21959 else
21960  ac_cv_header_stdint="$ac_cv_header_stdint_t"
21961  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint (shortcircuit)" >&5
21962 $as_echo "$ac_cv_header_stdint (shortcircuit)" >&6; }
21963 fi
21964
21965 if test "_$ac_cv_header_stdint_t" = "_" ; then # can not shortcircuit..
21966
21967
21968 inttype_headers=`echo  | sed -e 's/,/ /g'`
21969
21970 ac_cv_stdint_result="(no helpful system typedefs seen)"
21971
21972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uintptr_t" >&5
21973 $as_echo_n "checking for stdint uintptr_t... " >&6; }
21974 if ${ac_cv_header_stdint_x+:} false; then :
21975   $as_echo_n "(cached) " >&6
21976 else
21977
21978  ac_cv_header_stdint_x="" # the 1997 typedefs (inttypes.h)
21979   { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
21980 $as_echo "(..)" >&6; }
21981   for i in    stdint.h inttypes.h sys/inttypes.h $inttype_headers
21982   do
21983    unset ac_cv_type_uintptr_t
21984    unset ac_cv_type_uint64_t
21985    ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <$i>
21986 "
21987 if test "x$ac_cv_type_uintptr_t" = xyes; then :
21988   ac_cv_header_stdint_x=$i
21989 else
21990   continue
21991 fi
21992
21993    ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include<$i>
21994 "
21995 if test "x$ac_cv_type_uint64_t" = xyes; then :
21996   and64="/uint64_t"
21997 else
21998   and64=""
21999 fi
22000
22001    ac_cv_stdint_result="(seen uintptr_t$and64 in $i)"
22002  break
22003   done
22004   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uintptr_t" >&5
22005 $as_echo_n "checking for stdint uintptr_t... " >&6; }
22006
22007 fi
22008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_x" >&5
22009 $as_echo "$ac_cv_header_stdint_x" >&6; }
22010
22011
22012 if test "_$ac_cv_header_stdint_x" = "_" ; then
22013
22014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uint32_t" >&5
22015 $as_echo_n "checking for stdint uint32_t... " >&6; }
22016 if ${ac_cv_header_stdint_o+:} false; then :
22017   $as_echo_n "(cached) " >&6
22018 else
22019
22020  ac_cv_header_stdint_o="" # the 1995 typedefs (sys/inttypes.h)
22021   { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
22022 $as_echo "(..)" >&6; }
22023   for i in    inttypes.h sys/inttypes.h stdint.h $inttype_headers
22024   do
22025    unset ac_cv_type_uint32_t
22026    unset ac_cv_type_uint64_t
22027    ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <$i>
22028 "
22029 if test "x$ac_cv_type_uint32_t" = xyes; then :
22030   ac_cv_header_stdint_o=$i
22031 else
22032   continue
22033 fi
22034
22035    ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include<$i>
22036 "
22037 if test "x$ac_cv_type_uint64_t" = xyes; then :
22038   and64="/uint64_t"
22039 else
22040   and64=""
22041 fi
22042
22043    ac_cv_stdint_result="(seen uint32_t$and64 in $i)"
22044  break
22045    break;
22046   done
22047   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uint32_t" >&5
22048 $as_echo_n "checking for stdint uint32_t... " >&6; }
22049
22050 fi
22051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_o" >&5
22052 $as_echo "$ac_cv_header_stdint_o" >&6; }
22053
22054 fi
22055
22056 if test "_$ac_cv_header_stdint_x" = "_" ; then
22057 if test "_$ac_cv_header_stdint_o" = "_" ; then
22058
22059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint u_int32_t" >&5
22060 $as_echo_n "checking for stdint u_int32_t... " >&6; }
22061 if ${ac_cv_header_stdint_u+:} false; then :
22062   $as_echo_n "(cached) " >&6
22063 else
22064
22065  ac_cv_header_stdint_u="" # the BSD typedefs (sys/types.h)
22066   { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
22067 $as_echo "(..)" >&6; }
22068   for i in    sys/types.h inttypes.h sys/inttypes.h $inttype_headers ; do
22069    unset ac_cv_type_u_int32_t
22070    unset ac_cv_type_u_int64_t
22071    ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <$i>
22072 "
22073 if test "x$ac_cv_type_u_int32_t" = xyes; then :
22074   ac_cv_header_stdint_u=$i
22075 else
22076   continue
22077 fi
22078
22079    ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include<$i>
22080 "
22081 if test "x$ac_cv_type_u_int64_t" = xyes; then :
22082   and64="/u_int64_t"
22083 else
22084   and64=""
22085 fi
22086
22087    ac_cv_stdint_result="(seen u_int32_t$and64 in $i)"
22088  break
22089    break;
22090   done
22091   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint u_int32_t" >&5
22092 $as_echo_n "checking for stdint u_int32_t... " >&6; }
22093
22094 fi
22095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_u" >&5
22096 $as_echo "$ac_cv_header_stdint_u" >&6; }
22097
22098 fi fi
22099
22100 if test "_$ac_cv_header_stdint_x" = "_" ; then
22101    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint datatype model" >&5
22102 $as_echo_n "checking for stdint datatype model... " >&6; }
22103    { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
22104 $as_echo "(..)" >&6; }
22105
22106    # The cast to long int works around a bug in the HP C Compiler
22107 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22108 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22109 # This bug is HP SR number 8606223364.
22110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
22111 $as_echo_n "checking size of char... " >&6; }
22112 if ${ac_cv_sizeof_char+:} false; then :
22113   $as_echo_n "(cached) " >&6
22114 else
22115   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
22116
22117 else
22118   if test "$ac_cv_type_char" = yes; then
22119      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22120 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22121 as_fn_error 77 "cannot compute sizeof (char)
22122 See \`config.log' for more details" "$LINENO" 5; }
22123    else
22124      ac_cv_sizeof_char=0
22125    fi
22126 fi
22127
22128 fi
22129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
22130 $as_echo "$ac_cv_sizeof_char" >&6; }
22131
22132
22133
22134 cat >>confdefs.h <<_ACEOF
22135 #define SIZEOF_CHAR $ac_cv_sizeof_char
22136 _ACEOF
22137
22138
22139    # The cast to long int works around a bug in the HP C Compiler
22140 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22141 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22142 # This bug is HP SR number 8606223364.
22143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
22144 $as_echo_n "checking size of short... " >&6; }
22145 if ${ac_cv_sizeof_short+:} false; then :
22146   $as_echo_n "(cached) " >&6
22147 else
22148   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
22149
22150 else
22151   if test "$ac_cv_type_short" = yes; then
22152      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22153 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22154 as_fn_error 77 "cannot compute sizeof (short)
22155 See \`config.log' for more details" "$LINENO" 5; }
22156    else
22157      ac_cv_sizeof_short=0
22158    fi
22159 fi
22160
22161 fi
22162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
22163 $as_echo "$ac_cv_sizeof_short" >&6; }
22164
22165
22166
22167 cat >>confdefs.h <<_ACEOF
22168 #define SIZEOF_SHORT $ac_cv_sizeof_short
22169 _ACEOF
22170
22171
22172    # The cast to long int works around a bug in the HP C Compiler
22173 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22174 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22175 # This bug is HP SR number 8606223364.
22176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
22177 $as_echo_n "checking size of int... " >&6; }
22178 if ${ac_cv_sizeof_int+:} false; then :
22179   $as_echo_n "(cached) " >&6
22180 else
22181   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
22182
22183 else
22184   if test "$ac_cv_type_int" = yes; then
22185      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22186 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22187 as_fn_error 77 "cannot compute sizeof (int)
22188 See \`config.log' for more details" "$LINENO" 5; }
22189    else
22190      ac_cv_sizeof_int=0
22191    fi
22192 fi
22193
22194 fi
22195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
22196 $as_echo "$ac_cv_sizeof_int" >&6; }
22197
22198
22199
22200 cat >>confdefs.h <<_ACEOF
22201 #define SIZEOF_INT $ac_cv_sizeof_int
22202 _ACEOF
22203
22204
22205    # The cast to long int works around a bug in the HP C Compiler
22206 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22207 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22208 # This bug is HP SR number 8606223364.
22209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
22210 $as_echo_n "checking size of long... " >&6; }
22211 if ${ac_cv_sizeof_long+:} false; then :
22212   $as_echo_n "(cached) " >&6
22213 else
22214   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
22215
22216 else
22217   if test "$ac_cv_type_long" = yes; then
22218      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22219 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22220 as_fn_error 77 "cannot compute sizeof (long)
22221 See \`config.log' for more details" "$LINENO" 5; }
22222    else
22223      ac_cv_sizeof_long=0
22224    fi
22225 fi
22226
22227 fi
22228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
22229 $as_echo "$ac_cv_sizeof_long" >&6; }
22230
22231
22232
22233 cat >>confdefs.h <<_ACEOF
22234 #define SIZEOF_LONG $ac_cv_sizeof_long
22235 _ACEOF
22236
22237
22238    # The cast to long int works around a bug in the HP C Compiler
22239 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22240 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22241 # This bug is HP SR number 8606223364.
22242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void*" >&5
22243 $as_echo_n "checking size of void*... " >&6; }
22244 if ${ac_cv_sizeof_voidp+:} false; then :
22245   $as_echo_n "(cached) " >&6
22246 else
22247   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void*))" "ac_cv_sizeof_voidp"        "$ac_includes_default"; then :
22248
22249 else
22250   if test "$ac_cv_type_voidp" = yes; then
22251      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22252 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22253 as_fn_error 77 "cannot compute sizeof (void*)
22254 See \`config.log' for more details" "$LINENO" 5; }
22255    else
22256      ac_cv_sizeof_voidp=0
22257    fi
22258 fi
22259
22260 fi
22261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_voidp" >&5
22262 $as_echo "$ac_cv_sizeof_voidp" >&6; }
22263
22264
22265
22266 cat >>confdefs.h <<_ACEOF
22267 #define SIZEOF_VOIDP $ac_cv_sizeof_voidp
22268 _ACEOF
22269
22270
22271    ac_cv_char_data_model=""
22272    ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_char"
22273    ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_short"
22274    ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_int"
22275    ac_cv_long_data_model=""
22276    ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_int"
22277    ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_long"
22278    ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_voidp"
22279    { $as_echo "$as_me:${as_lineno-$LINENO}: checking data model" >&5
22280 $as_echo_n "checking data model... " >&6; }
22281    case "$ac_cv_char_data_model/$ac_cv_long_data_model" in
22282     122/242)     ac_cv_data_model="IP16"  ; n="standard 16bit machine" ;;
22283     122/244)     ac_cv_data_model="LP32"  ; n="standard 32bit machine" ;;
22284     122/*)       ac_cv_data_model="i16"   ; n="unusual int16 model" ;;
22285     124/444)     ac_cv_data_model="ILP32" ; n="standard 32bit unixish" ;;
22286     124/488)     ac_cv_data_model="LP64"  ; n="standard 64bit unixish" ;;
22287     124/448)     ac_cv_data_model="LLP64" ; n="unusual 64bit unixish" ;;
22288     124/*)       ac_cv_data_model="i32"   ; n="unusual int32 model" ;;
22289     128/888)     ac_cv_data_model="ILP64" ; n="unusual 64bit numeric" ;;
22290     128/*)       ac_cv_data_model="i64"   ; n="unusual int64 model" ;;
22291     222/*2)      ac_cv_data_model="DSP16" ; n="strict 16bit dsptype" ;;
22292     333/*3)      ac_cv_data_model="DSP24" ; n="strict 24bit dsptype" ;;
22293     444/*4)      ac_cv_data_model="DSP32" ; n="strict 32bit dsptype" ;;
22294     666/*6)      ac_cv_data_model="DSP48" ; n="strict 48bit dsptype" ;;
22295     888/*8)      ac_cv_data_model="DSP64" ; n="strict 64bit dsptype" ;;
22296     222/*|333/*|444/*|666/*|888/*) :
22297                  ac_cv_data_model="iDSP"  ; n="unusual dsptype" ;;
22298      *)          ac_cv_data_model="none"  ; n="very unusual model" ;;
22299    esac
22300    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_data_model ($ac_cv_long_data_model, $n)" >&5
22301 $as_echo "$ac_cv_data_model ($ac_cv_long_data_model, $n)" >&6; }
22302
22303 fi
22304
22305 if test "_$ac_cv_header_stdint_x" != "_" ; then
22306    ac_cv_header_stdint="$ac_cv_header_stdint_x"
22307 elif  test "_$ac_cv_header_stdint_o" != "_" ; then
22308    ac_cv_header_stdint="$ac_cv_header_stdint_o"
22309 elif  test "_$ac_cv_header_stdint_u" != "_" ; then
22310    ac_cv_header_stdint="$ac_cv_header_stdint_u"
22311 else
22312    ac_cv_header_stdint="stddef.h"
22313 fi
22314
22315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra inttypes in chosen header" >&5
22316 $as_echo_n "checking for extra inttypes in chosen header... " >&6; }
22317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ($ac_cv_header_stdint)" >&5
22318 $as_echo "($ac_cv_header_stdint)" >&6; }
22319 unset ac_cv_type_int_least32_t
22320 unset ac_cv_type_int_fast32_t
22321 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <$ac_cv_header_stdint>
22322 "
22323 if test "x$ac_cv_type_int_least32_t" = xyes; then :
22324
22325 fi
22326
22327 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include<$ac_cv_header_stdint>
22328 "
22329 if test "x$ac_cv_type_int_fast32_t" = xyes; then :
22330
22331 fi
22332
22333 ac_fn_c_check_type "$LINENO" "intmax_t" "ac_cv_type_intmax_t" "#include <$ac_cv_header_stdint>
22334 "
22335 if test "x$ac_cv_type_intmax_t" = xyes; then :
22336
22337 fi
22338
22339
22340 fi # shortcircut to system "stdint.h"
22341 # ------------------ PREPARE VARIABLES ------------------------------
22342 if test "$GCC" = "yes" ; then
22343 ac_cv_stdint_message="using gnu compiler "`$CC --version | head -1`
22344 else
22345 ac_cv_stdint_message="using $CC"
22346 fi
22347
22348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&5
22349 $as_echo "make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&6; }
22350
22351 # ----------------- DONE inttypes.h checks START header -------------
22352 ac_config_commands="$ac_config_commands $ac_stdint_h"
22353
22354
22355
22356 for ac_func in localtime_r gmtime_r
22357 do :
22358   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22359 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22360 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
22361   cat >>confdefs.h <<_ACEOF
22362 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22363 _ACEOF
22364
22365 fi
22366 done
22367
22368
22369 LIBS_SAVE=$LIBS
22370 LIBS="$LIBS $LIBM"
22371 for ac_func in log2
22372 do :
22373   ac_fn_c_check_func "$LINENO" "log2" "ac_cv_func_log2"
22374 if test "x$ac_cv_func_log2" = xyes; then :
22375   cat >>confdefs.h <<_ACEOF
22376 #define HAVE_LOG2 1
22377 _ACEOF
22378
22379 fi
22380 done
22381
22382 LIBS=$LIBS_SAVE
22383
22384
22385
22386
22387   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FIONREAD in sys/ioctl.h" >&5
22388 $as_echo_n "checking for FIONREAD in sys/ioctl.h... " >&6; }
22389   if ${_cv_gst_fionread_in_sys_ioctl+:} false; then :
22390   $as_echo_n "(cached) " >&6
22391 else
22392
22393     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22394 /* end confdefs.h.  */
22395
22396 #include <sys/types.h>
22397 #include <sys/ioctl.h>
22398
22399 int
22400 main ()
22401 {
22402
22403 int x = FIONREAD;
22404 if ( x )
22405   return 0;
22406
22407   ;
22408   return 0;
22409 }
22410 _ACEOF
22411 if ac_fn_c_try_compile "$LINENO"; then :
22412   _cv_gst_fionread_in_sys_ioctl="yes"
22413 else
22414   _cv_gst_fionread_in_sys_ioctl="no"
22415 fi
22416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22417
22418 fi
22419
22420
22421   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_gst_fionread_in_sys_ioctl" >&5
22422 $as_echo "$_cv_gst_fionread_in_sys_ioctl" >&6; }
22423
22424   if test "$_cv_gst_fionread_in_sys_ioctl" = "yes"; then
22425
22426 $as_echo "#define HAVE_FIONREAD_IN_SYS_IOCTL 1" >>confdefs.h
22427
22428
22429   else
22430
22431     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FIONREAD in sys/filio.h" >&5
22432 $as_echo_n "checking for FIONREAD in sys/filio.h... " >&6; }
22433     if ${_cv_gst_fionread_in_sys_filio+:} false; then :
22434   $as_echo_n "(cached) " >&6
22435 else
22436
22437       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22438 /* end confdefs.h.  */
22439
22440   #include <sys/types.h>
22441   #include <sys/filio.h>
22442
22443 int
22444 main ()
22445 {
22446
22447   int x = FIONREAD;
22448   if ( x )
22449     return 0;
22450
22451   ;
22452   return 0;
22453 }
22454 _ACEOF
22455 if ac_fn_c_try_compile "$LINENO"; then :
22456   _cv_gst_fionread_in_sys_filio="yes"
22457 else
22458   _cv_gst_fionread_in_sys_filio="no"
22459 fi
22460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22461
22462 fi
22463
22464
22465     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_gst_fionread_in_sys_filio" >&5
22466 $as_echo "$_cv_gst_fionread_in_sys_filio" >&6; }
22467
22468     if test "$_cv_gst_fionread_in_sys_filio" = "yes"; then
22469
22470 $as_echo "#define HAVE_FIONREAD_IN_SYS_FILIO 1" >>confdefs.h
22471
22472     fi
22473
22474   fi
22475
22476
22477
22478
22479
22480
22481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22482 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
22483 if ${ac_cv_sys_largefile_source+:} false; then :
22484   $as_echo_n "(cached) " >&6
22485 else
22486   while :; do
22487   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22488 /* end confdefs.h.  */
22489 #include <sys/types.h> /* for off_t */
22490      #include <stdio.h>
22491 int
22492 main ()
22493 {
22494 int (*fp) (FILE *, off_t, int) = fseeko;
22495      return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
22496   ;
22497   return 0;
22498 }
22499 _ACEOF
22500 if ac_fn_c_try_link "$LINENO"; then :
22501   ac_cv_sys_largefile_source=no; break
22502 fi
22503 rm -f core conftest.err conftest.$ac_objext \
22504     conftest$ac_exeext conftest.$ac_ext
22505   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22506 /* end confdefs.h.  */
22507 #define _LARGEFILE_SOURCE 1
22508 #include <sys/types.h> /* for off_t */
22509      #include <stdio.h>
22510 int
22511 main ()
22512 {
22513 int (*fp) (FILE *, off_t, int) = fseeko;
22514      return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
22515   ;
22516   return 0;
22517 }
22518 _ACEOF
22519 if ac_fn_c_try_link "$LINENO"; then :
22520   ac_cv_sys_largefile_source=1; break
22521 fi
22522 rm -f core conftest.err conftest.$ac_objext \
22523     conftest$ac_exeext conftest.$ac_ext
22524   ac_cv_sys_largefile_source=unknown
22525   break
22526 done
22527 fi
22528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
22529 $as_echo "$ac_cv_sys_largefile_source" >&6; }
22530 case $ac_cv_sys_largefile_source in #(
22531   no | unknown) ;;
22532   *)
22533 cat >>confdefs.h <<_ACEOF
22534 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22535 _ACEOF
22536 ;;
22537 esac
22538 rm -rf conftest*
22539
22540 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22541 # in glibc 2.1.3, but that breaks too many other things.
22542 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22543 if test $ac_cv_sys_largefile_source != unknown; then
22544
22545 $as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
22546
22547 fi
22548
22549
22550 save_libs=$LIBS
22551 LIBS="$LIBS $LIBM"
22552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lrint" >&5
22553 $as_echo_n "checking for lrint... " >&6; }
22554 if ${ac_cv_c99_lrint+:} false; then :
22555   $as_echo_n "(cached) " >&6
22556 else
22557   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22558 /* end confdefs.h.  */
22559
22560 #define         _ISOC9X_SOURCE  1
22561 #define         _ISOC99_SOURCE  1
22562 #define         __USE_ISOC99    1
22563 #define         __USE_ISOC9X    1
22564 #include        <math.h>
22565 int
22566 main ()
22567 {
22568         int value = lrint (0.432) ;
22569   ;
22570   return 0;
22571 }
22572 _ACEOF
22573 if ac_fn_c_try_link "$LINENO"; then :
22574   ac_cv_c99_lrint=yes
22575 else
22576   ac_cv_c99_lrint=no
22577 fi
22578 rm -f core conftest.err conftest.$ac_objext \
22579     conftest$ac_exeext conftest.$ac_ext
22580 fi
22581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c99_lrint" >&5
22582 $as_echo "$ac_cv_c99_lrint" >&6; }
22583 if test $ac_cv_c99_lrint = yes; then
22584
22585 $as_echo "#define HAVE_LRINT 1" >>confdefs.h
22586
22587 fi
22588
22589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lrintf" >&5
22590 $as_echo_n "checking for lrintf... " >&6; }
22591 if ${ac_cv_c99_lrintf+:} false; then :
22592   $as_echo_n "(cached) " >&6
22593 else
22594   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22595 /* end confdefs.h.  */
22596
22597 #define         _ISOC9X_SOURCE  1
22598 #define         _ISOC99_SOURCE  1
22599 #define         __USE_ISOC99    1
22600 #define         __USE_ISOC9X    1
22601 #include        <math.h>
22602 int
22603 main ()
22604 {
22605         int value = lrintf (0.432) ;
22606   ;
22607   return 0;
22608 }
22609 _ACEOF
22610 if ac_fn_c_try_link "$LINENO"; then :
22611   ac_cv_c99_lrintf=yes
22612 else
22613   ac_cv_c99_lrintf=no
22614 fi
22615 rm -f core conftest.err conftest.$ac_objext \
22616     conftest$ac_exeext conftest.$ac_ext
22617 fi
22618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c99_lrintf" >&5
22619 $as_echo "$ac_cv_c99_lrintf" >&6; }
22620 if test $ac_cv_c99_lrintf = yes; then
22621
22622 $as_echo "#define HAVE_LRINTF 1" >>confdefs.h
22623
22624 fi
22625
22626 LIBS=$save_libs
22627
22628
22629     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC implements __PRETTY_FUNCTION__" >&5
22630 $as_echo_n "checking whether $CC implements __PRETTY_FUNCTION__... " >&6; }
22631   if ${gst_cv_have_pretty_function+:} false; then :
22632   $as_echo_n "(cached) " >&6
22633 else
22634
22635     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22636 /* end confdefs.h.  */
22637 #include <stdio.h>
22638 int
22639 main ()
22640 {
22641 printf("%s", __PRETTY_FUNCTION__);
22642   ;
22643   return 0;
22644 }
22645 _ACEOF
22646 if ac_fn_c_try_link "$LINENO"; then :
22647   gst_cv_have_pretty_function=yes
22648 else
22649   gst_cv_have_pretty_function=no
22650 fi
22651 rm -f core conftest.err conftest.$ac_objext \
22652     conftest$ac_exeext conftest.$ac_ext
22653
22654 fi
22655
22656   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gst_cv_have_pretty_function" >&5
22657 $as_echo "$gst_cv_have_pretty_function" >&6; }
22658   if test "$gst_cv_have_pretty_function" = yes; then
22659
22660 $as_echo "#define HAVE_PRETTY_FUNCTION 1" >>confdefs.h
22661
22662   fi
22663
22664   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC implements __FUNCTION__" >&5
22665 $as_echo_n "checking whether $CC implements __FUNCTION__... " >&6; }
22666   if ${gst_cv_have_function+:} false; then :
22667   $as_echo_n "(cached) " >&6
22668 else
22669
22670     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22671 /* end confdefs.h.  */
22672 #include <stdio.h>
22673 int
22674 main ()
22675 {
22676 printf("%s", __FUNCTION__);
22677   ;
22678   return 0;
22679 }
22680 _ACEOF
22681 if ac_fn_c_try_link "$LINENO"; then :
22682   gst_cv_have_function=yes
22683 else
22684   gst_cv_have_function=no
22685 fi
22686 rm -f core conftest.err conftest.$ac_objext \
22687     conftest$ac_exeext conftest.$ac_ext
22688
22689 fi
22690
22691   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gst_cv_have_function" >&5
22692 $as_echo "$gst_cv_have_function" >&6; }
22693   if test "$gst_cv_have_function" = yes; then
22694
22695 $as_echo "#define HAVE_FUNCTION 1" >>confdefs.h
22696
22697   fi
22698
22699   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC implements __func__" >&5
22700 $as_echo_n "checking whether $CC implements __func__... " >&6; }
22701   if ${gst_cv_have_func+:} false; then :
22702   $as_echo_n "(cached) " >&6
22703 else
22704
22705     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22706 /* end confdefs.h.  */
22707 #include <stdio.h>
22708 int
22709 main ()
22710 {
22711 printf("%s", __func__);
22712   ;
22713   return 0;
22714 }
22715 _ACEOF
22716 if ac_fn_c_try_link "$LINENO"; then :
22717   gst_cv_have_func=yes
22718 else
22719   gst_cv_have_func=no
22720 fi
22721 rm -f core conftest.err conftest.$ac_objext \
22722     conftest$ac_exeext conftest.$ac_ext
22723
22724 fi
22725
22726   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gst_cv_have_func" >&5
22727 $as_echo "$gst_cv_have_func" >&6; }
22728   if test "$gst_cv_have_func" = yes; then
22729
22730 $as_echo "#define HAVE_FUNC 1" >>confdefs.h
22731
22732   fi
22733
22734   if test "$gst_cv_have_pretty_function" = yes; then
22735     function=__PRETTY_FUNCTION__
22736   else
22737     if test "$gst_cv_have_function" = yes; then
22738       function=__FUNCTION__
22739     else
22740       if test "$gst_cv_have_func" = yes; then
22741         function=__func__
22742       else
22743         function=\"\"
22744       fi
22745     fi
22746   fi
22747
22748 cat >>confdefs.h <<_ACEOF
22749 #define GST_FUNCTION $function
22750 _ACEOF
22751
22752
22753
22754 ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"
22755 if test "x$ac_cv_func_socket" = xyes; then :
22756
22757 else
22758   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
22759 $as_echo_n "checking for socket in -lsocket... " >&6; }
22760 if ${ac_cv_lib_socket_socket+:} false; then :
22761   $as_echo_n "(cached) " >&6
22762 else
22763   ac_check_lib_save_LIBS=$LIBS
22764 LIBS="-lsocket  $LIBS"
22765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22766 /* end confdefs.h.  */
22767
22768 /* Override any GCC internal prototype to avoid an error.
22769    Use char because int might match the return type of a GCC
22770    builtin and then its argument prototype would still apply.  */
22771 #ifdef __cplusplus
22772 extern "C"
22773 #endif
22774 char socket ();
22775 int
22776 main ()
22777 {
22778 return socket ();
22779   ;
22780   return 0;
22781 }
22782 _ACEOF
22783 if ac_fn_c_try_link "$LINENO"; then :
22784   ac_cv_lib_socket_socket=yes
22785 else
22786   ac_cv_lib_socket_socket=no
22787 fi
22788 rm -f core conftest.err conftest.$ac_objext \
22789     conftest$ac_exeext conftest.$ac_ext
22790 LIBS=$ac_check_lib_save_LIBS
22791 fi
22792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
22793 $as_echo "$ac_cv_lib_socket_socket" >&6; }
22794 if test "x$ac_cv_lib_socket_socket" = xyes; then :
22795   cat >>confdefs.h <<_ACEOF
22796 #define HAVE_LIBSOCKET 1
22797 _ACEOF
22798
22799   LIBS="-lsocket $LIBS"
22800
22801 fi
22802
22803 fi
22804
22805 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
22806 if test "x$ac_cv_func_gethostbyname" = xyes; then :
22807
22808 else
22809   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
22810 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
22811 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
22812   $as_echo_n "(cached) " >&6
22813 else
22814   ac_check_lib_save_LIBS=$LIBS
22815 LIBS="-lnsl  $LIBS"
22816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22817 /* end confdefs.h.  */
22818
22819 /* Override any GCC internal prototype to avoid an error.
22820    Use char because int might match the return type of a GCC
22821    builtin and then its argument prototype would still apply.  */
22822 #ifdef __cplusplus
22823 extern "C"
22824 #endif
22825 char gethostbyname ();
22826 int
22827 main ()
22828 {
22829 return gethostbyname ();
22830   ;
22831   return 0;
22832 }
22833 _ACEOF
22834 if ac_fn_c_try_link "$LINENO"; then :
22835   ac_cv_lib_nsl_gethostbyname=yes
22836 else
22837   ac_cv_lib_nsl_gethostbyname=no
22838 fi
22839 rm -f core conftest.err conftest.$ac_objext \
22840     conftest$ac_exeext conftest.$ac_ext
22841 LIBS=$ac_check_lib_save_LIBS
22842 fi
22843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
22844 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
22845 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
22846   cat >>confdefs.h <<_ACEOF
22847 #define HAVE_LIBNSL 1
22848 _ACEOF
22849
22850   LIBS="-lnsl $LIBS"
22851
22852 fi
22853
22854 fi
22855
22856
22857
22858
22859
22860
22861     GLIB_REQ=2.24
22862   if test "x$GLIB_REQ" = "x"
22863   then
22864     as_fn_error $? "Please specify a required version for GLib 2.0" "$LINENO" 5
22865   fi
22866
22867
22868
22869   which="glib-2.0 >= $GLIB_REQ gobject-2.0 gthread-2.0 gmodule-no-export-2.0"
22870     required="no"
22871
22872
22873 pkg_failed=no
22874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
22875 $as_echo_n "checking for GLIB... " >&6; }
22876
22877 if test -n "$PKG_CONFIG"; then
22878     if test -n "$GLIB_CFLAGS"; then
22879         pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
22880     else
22881         if test -n "$PKG_CONFIG" && \
22882     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
22883   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
22884   ac_status=$?
22885   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22886   test $ac_status = 0; }; then
22887   pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
22888 else
22889   pkg_failed=yes
22890 fi
22891     fi
22892 else
22893         pkg_failed=untried
22894 fi
22895 if test -n "$PKG_CONFIG"; then
22896     if test -n "$GLIB_LIBS"; then
22897         pkg_cv_GLIB_LIBS="$GLIB_LIBS"
22898     else
22899         if test -n "$PKG_CONFIG" && \
22900     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
22901   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
22902   ac_status=$?
22903   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22904   test $ac_status = 0; }; then
22905   pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
22906 else
22907   pkg_failed=yes
22908 fi
22909     fi
22910 else
22911         pkg_failed=untried
22912 fi
22913
22914
22915
22916 if test $pkg_failed = yes; then
22917
22918 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22919         _pkg_short_errors_supported=yes
22920 else
22921         _pkg_short_errors_supported=no
22922 fi
22923         if test $_pkg_short_errors_supported = yes; then
22924                 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
22925         else
22926                 GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
22927         fi
22928         # Put the nasty error message in config.log where it belongs
22929         echo "$GLIB_PKG_ERRORS" >&5
22930
22931         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22932 $as_echo "no" >&6; }
22933
22934       HAVE_GLIB="no"
22935       if test "x$required" = "xyes"; then
22936         as_fn_error $? "$GLIB_PKG_ERRORS" "$LINENO" 5
22937       else
22938         { $as_echo "$as_me:${as_lineno-$LINENO}: $GLIB_PKG_ERRORS" >&5
22939 $as_echo "$as_me: $GLIB_PKG_ERRORS" >&6;}
22940       fi
22941
22942 elif test $pkg_failed = untried; then
22943
22944       HAVE_GLIB="no"
22945       if test "x$required" = "xyes"; then
22946         as_fn_error $? "$GLIB_PKG_ERRORS" "$LINENO" 5
22947       else
22948         { $as_echo "$as_me:${as_lineno-$LINENO}: $GLIB_PKG_ERRORS" >&5
22949 $as_echo "$as_me: $GLIB_PKG_ERRORS" >&6;}
22950       fi
22951
22952 else
22953         GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
22954         GLIB_LIBS=$pkg_cv_GLIB_LIBS
22955         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22956 $as_echo "yes" >&6; }
22957
22958       HAVE_GLIB="yes"
22959
22960 fi
22961
22962
22963
22964   if test "x$HAVE_GLIB" = "xno"; then
22965     as_fn_error $? "This package requires GLib >= $GLIB_REQ to compile." "$LINENO" 5
22966   fi
22967
22968         GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_THREADS_MANDATORY"
22969
22970     if test "x$PACKAGE_VERSION_NANO" = "x1"; then
22971     GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_DISABLE_DEPRECATED"
22972   fi
22973
22974   # Check whether --enable-gobject-cast-checks was given.
22975 if test "${enable_gobject_cast_checks+set}" = set; then :
22976   enableval=$enable_gobject_cast_checks;
22977 else
22978   enable_gobject_cast_checks=auto
22979 fi
22980
22981
22982   if test "x$enable_gobject_cast_checks" = "xauto"; then
22983         if test "x$PACKAGE_VERSION_NANO" = "x1"; then
22984       enable_gobject_cast_checks=yes
22985     else
22986       enable_gobject_cast_checks=no
22987     fi
22988   fi
22989
22990   if test "x$enable_gobject_cast_checks" = "xno"; then
22991     GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_DISABLE_CAST_CHECKS"
22992   fi
22993
22994   # Check whether --enable-glib-asserts was given.
22995 if test "${enable_glib_asserts+set}" = set; then :
22996   enableval=$enable_glib_asserts;
22997 else
22998   enable_glib_assertions=auto
22999 fi
23000
23001
23002   if test "x$enable_glib_assertions" = "xauto"; then
23003         if test "x$PACKAGE_VERSION_NANO" = "x1"; then
23004       enable_glib_assertions=yes
23005     else
23006       enable_glib_assertions=no
23007     fi
23008   fi
23009
23010   if test "x$enable_glib_assertions" = "xno"; then
23011     GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_DISABLE_ASSERT"
23012   fi
23013
23014
23015   GIVEN_CFLAGS=$GLIB_CFLAGS
23016   INCLUDE_DIRS=`echo | cpp -v 2>&1`
23017
23018       INCLUDE_DIRS=`echo $INCLUDE_DIRS | sed -e 's/.*<...> search starts here://' | sed -e 's/End of search list.*//'`
23019   for dir in $INCLUDE_DIRS; do
23020         GIVEN_CFLAGS=`echo $GIVEN_CFLAGS | sed -e "s#-I$dir ##"`
23021   done
23022   GLIB_CFLAGS=$GIVEN_CFLAGS
23023
23024
23025
23026
23027
23028
23029   ORC_REQ=0.4.11
23030
23031   # Check whether --enable-orc was given.
23032 if test "${enable_orc+set}" = set; then :
23033   enableval=$enable_orc; case "${enableval}" in
23034     auto) enable_orc=auto ;;
23035     yes) enable_orc=yes ;;
23036     no)  enable_orc=no ;;
23037     *) as_fn_error $? "bad value ${enableval} for --enable-orc" "$LINENO" 5 ;;
23038   esac
23039
23040 else
23041   enable_orc=auto
23042 fi
23043
23044   if test "x$enable_orc" != "xno" ; then
23045
23046 pkg_failed=no
23047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ORC" >&5
23048 $as_echo_n "checking for ORC... " >&6; }
23049
23050 if test -n "$PKG_CONFIG"; then
23051     if test -n "$ORC_CFLAGS"; then
23052         pkg_cv_ORC_CFLAGS="$ORC_CFLAGS"
23053     else
23054         if test -n "$PKG_CONFIG" && \
23055     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"orc-0.4 >= \$ORC_REQ\""; } >&5
23056   ($PKG_CONFIG --exists --print-errors "orc-0.4 >= $ORC_REQ") 2>&5
23057   ac_status=$?
23058   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23059   test $ac_status = 0; }; then
23060   pkg_cv_ORC_CFLAGS=`$PKG_CONFIG --cflags "orc-0.4 >= $ORC_REQ" 2>/dev/null`
23061 else
23062   pkg_failed=yes
23063 fi
23064     fi
23065 else
23066         pkg_failed=untried
23067 fi
23068 if test -n "$PKG_CONFIG"; then
23069     if test -n "$ORC_LIBS"; then
23070         pkg_cv_ORC_LIBS="$ORC_LIBS"
23071     else
23072         if test -n "$PKG_CONFIG" && \
23073     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"orc-0.4 >= \$ORC_REQ\""; } >&5
23074   ($PKG_CONFIG --exists --print-errors "orc-0.4 >= $ORC_REQ") 2>&5
23075   ac_status=$?
23076   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23077   test $ac_status = 0; }; then
23078   pkg_cv_ORC_LIBS=`$PKG_CONFIG --libs "orc-0.4 >= $ORC_REQ" 2>/dev/null`
23079 else
23080   pkg_failed=yes
23081 fi
23082     fi
23083 else
23084         pkg_failed=untried
23085 fi
23086
23087
23088
23089 if test $pkg_failed = yes; then
23090
23091 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23092         _pkg_short_errors_supported=yes
23093 else
23094         _pkg_short_errors_supported=no
23095 fi
23096         if test $_pkg_short_errors_supported = yes; then
23097                 ORC_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "orc-0.4 >= $ORC_REQ"`
23098         else
23099                 ORC_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "orc-0.4 >= $ORC_REQ"`
23100         fi
23101         # Put the nasty error message in config.log where it belongs
23102         echo "$ORC_PKG_ERRORS" >&5
23103
23104         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23105 $as_echo "no" >&6; }
23106
23107       if test "x$enable_orc" = "xyes" ; then
23108         as_fn_error $? "--enable-orc specified, but Orc >= $ORC_REQ not found" "$LINENO" 5
23109       fi
23110
23111 $as_echo "#define DISABLE_ORC 1" >>confdefs.h
23112
23113       HAVE_ORC=no
23114       HAVE_ORCC=no
23115
23116 elif test $pkg_failed = untried; then
23117
23118       if test "x$enable_orc" = "xyes" ; then
23119         as_fn_error $? "--enable-orc specified, but Orc >= $ORC_REQ not found" "$LINENO" 5
23120       fi
23121
23122 $as_echo "#define DISABLE_ORC 1" >>confdefs.h
23123
23124       HAVE_ORC=no
23125       HAVE_ORCC=no
23126
23127 else
23128         ORC_CFLAGS=$pkg_cv_ORC_CFLAGS
23129         ORC_LIBS=$pkg_cv_ORC_LIBS
23130         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23131 $as_echo "yes" >&6; }
23132
23133
23134 $as_echo "#define HAVE_ORC 1" >>confdefs.h
23135
23136       HAVE_ORC=yes
23137       if test "x$ORCC" = "x" ; then
23138         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usable orcc" >&5
23139 $as_echo_n "checking for usable orcc... " >&6; }
23140         ORCC=`$PKG_CONFIG --variable=orcc orc-0.4`
23141                         if $ORCC --version 1> /dev/null 2> /dev/null; then :
23142
23143 else
23144   ORCC=`which orcc`
23145 fi
23146         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ORCC" >&5
23147 $as_echo "$ORCC" >&6; }
23148       fi
23149
23150       ORCC_FLAGS="--compat $ORC_REQ"
23151
23152       if test "x$ORCC" = "x"; then :
23153   HAVE_ORCC=no
23154 else
23155   HAVE_ORCC=yes
23156 fi
23157
23158 fi
23159   else
23160
23161 $as_echo "#define DISABLE_ORC 1" >>confdefs.h
23162
23163     HAVE_ORC=no
23164     HAVE_ORCC=no
23165   fi
23166    if test "x$HAVE_ORC" = "xyes"; then
23167   HAVE_ORC_TRUE=
23168   HAVE_ORC_FALSE='#'
23169 else
23170   HAVE_ORC_TRUE='#'
23171   HAVE_ORC_FALSE=
23172 fi
23173
23174    if test "x$HAVE_ORCC" = "xyes"; then
23175   HAVE_ORCC_TRUE=
23176   HAVE_ORCC_FALSE='#'
23177 else
23178   HAVE_ORCC_TRUE='#'
23179   HAVE_ORCC_FALSE=
23180 fi
23181
23182
23183
23184
23185
23186
23187   module=gstreamer-$GST_MAJORMINOR
23188   minver=$GST_REQ
23189   name="GStreamer"
23190   required=yes
23191
23192 pkg_failed=no
23193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
23194 $as_echo_n "checking for GST... " >&6; }
23195
23196 if test -n "$PKG_CONFIG"; then
23197     if test -n "$GST_CFLAGS"; then
23198         pkg_cv_GST_CFLAGS="$GST_CFLAGS"
23199     else
23200         if test -n "$PKG_CONFIG" && \
23201     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
23202   ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
23203   ac_status=$?
23204   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23205   test $ac_status = 0; }; then
23206   pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
23207 else
23208   pkg_failed=yes
23209 fi
23210     fi
23211 else
23212         pkg_failed=untried
23213 fi
23214 if test -n "$PKG_CONFIG"; then
23215     if test -n "$GST_LIBS"; then
23216         pkg_cv_GST_LIBS="$GST_LIBS"
23217     else
23218         if test -n "$PKG_CONFIG" && \
23219     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
23220   ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
23221   ac_status=$?
23222   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23223   test $ac_status = 0; }; then
23224   pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
23225 else
23226   pkg_failed=yes
23227 fi
23228     fi
23229 else
23230         pkg_failed=untried
23231 fi
23232
23233
23234
23235 if test $pkg_failed = yes; then
23236
23237 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23238         _pkg_short_errors_supported=yes
23239 else
23240         _pkg_short_errors_supported=no
23241 fi
23242         if test $_pkg_short_errors_supported = yes; then
23243                 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
23244         else
23245                 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
23246         fi
23247         # Put the nasty error message in config.log where it belongs
23248         echo "$GST_PKG_ERRORS" >&5
23249
23250         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23251 $as_echo "no" >&6; }
23252
23253       HAVE_GST="no"
23254       { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PKG_ERRORS" >&5
23255 $as_echo "$as_me: $GST_PKG_ERRORS" >&6;}
23256       if test "x$required" = "xyes"; then
23257         as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
23258       else
23259         { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
23260 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
23261       fi
23262
23263 elif test $pkg_failed = untried; then
23264
23265       HAVE_GST="no"
23266       { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PKG_ERRORS" >&5
23267 $as_echo "$as_me: $GST_PKG_ERRORS" >&6;}
23268       if test "x$required" = "xyes"; then
23269         as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
23270       else
23271         { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
23272 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
23273       fi
23274
23275 else
23276         GST_CFLAGS=$pkg_cv_GST_CFLAGS
23277         GST_LIBS=$pkg_cv_GST_LIBS
23278         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23279 $as_echo "yes" >&6; }
23280
23281       HAVE_GST="yes"
23282
23283 fi
23284
23285
23286     if test -z $GST_TOOLS_DIR; then
23287     GST_TOOLS_DIR=`$PKG_CONFIG --variable=toolsdir gstreamer-$GST_MAJORMINOR`
23288     if test -z $GST_TOOLS_DIR; then
23289       as_fn_error $? "no tools dir set in GStreamer pkg-config file, core upgrade needed." "$LINENO" 5
23290     fi
23291   fi
23292   { $as_echo "$as_me:${as_lineno-$LINENO}: using GStreamer tools in $GST_TOOLS_DIR" >&5
23293 $as_echo "$as_me: using GStreamer tools in $GST_TOOLS_DIR" >&6;}
23294
23295
23296         if test -z $GST_PLUGINS_DIR; then
23297     GST_PLUGINS_DIR=`$PKG_CONFIG --variable=pluginsdir gstreamer-$GST_MAJORMINOR`
23298     if test -z $GST_PLUGINS_DIR; then
23299       as_fn_error $? "no pluginsdir set in GStreamer pkg-config file, core upgrade needed." "$LINENO" 5
23300     fi
23301   fi
23302   { $as_echo "$as_me:${as_lineno-$LINENO}: using GStreamer plug-ins in $GST_PLUGINS_DIR" >&5
23303 $as_echo "$as_me: using GStreamer plug-ins in $GST_PLUGINS_DIR" >&6;}
23304
23305
23306
23307
23308   module=gstreamer-base-$GST_MAJORMINOR
23309   minver=$GST_REQ
23310   name="GStreamer Base Libraries"
23311   required=yes
23312
23313 pkg_failed=no
23314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_BASE" >&5
23315 $as_echo_n "checking for GST_BASE... " >&6; }
23316
23317 if test -n "$PKG_CONFIG"; then
23318     if test -n "$GST_BASE_CFLAGS"; then
23319         pkg_cv_GST_BASE_CFLAGS="$GST_BASE_CFLAGS"
23320     else
23321         if test -n "$PKG_CONFIG" && \
23322     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
23323   ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
23324   ac_status=$?
23325   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23326   test $ac_status = 0; }; then
23327   pkg_cv_GST_BASE_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
23328 else
23329   pkg_failed=yes
23330 fi
23331     fi
23332 else
23333         pkg_failed=untried
23334 fi
23335 if test -n "$PKG_CONFIG"; then
23336     if test -n "$GST_BASE_LIBS"; then
23337         pkg_cv_GST_BASE_LIBS="$GST_BASE_LIBS"
23338     else
23339         if test -n "$PKG_CONFIG" && \
23340     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
23341   ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
23342   ac_status=$?
23343   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23344   test $ac_status = 0; }; then
23345   pkg_cv_GST_BASE_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
23346 else
23347   pkg_failed=yes
23348 fi
23349     fi
23350 else
23351         pkg_failed=untried
23352 fi
23353
23354
23355
23356 if test $pkg_failed = yes; then
23357
23358 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23359         _pkg_short_errors_supported=yes
23360 else
23361         _pkg_short_errors_supported=no
23362 fi
23363         if test $_pkg_short_errors_supported = yes; then
23364                 GST_BASE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
23365         else
23366                 GST_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
23367         fi
23368         # Put the nasty error message in config.log where it belongs
23369         echo "$GST_BASE_PKG_ERRORS" >&5
23370
23371         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23372 $as_echo "no" >&6; }
23373
23374       HAVE_GST_BASE="no"
23375       { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_BASE_PKG_ERRORS" >&5
23376 $as_echo "$as_me: $GST_BASE_PKG_ERRORS" >&6;}
23377       if test "x$required" = "xyes"; then
23378         as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
23379       else
23380         { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
23381 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
23382       fi
23383
23384 elif test $pkg_failed = untried; then
23385
23386       HAVE_GST_BASE="no"
23387       { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_BASE_PKG_ERRORS" >&5
23388 $as_echo "$as_me: $GST_BASE_PKG_ERRORS" >&6;}
23389       if test "x$required" = "xyes"; then
23390         as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
23391       else
23392         { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
23393 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
23394       fi
23395
23396 else
23397         GST_BASE_CFLAGS=$pkg_cv_GST_BASE_CFLAGS
23398         GST_BASE_LIBS=$pkg_cv_GST_BASE_LIBS
23399         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23400 $as_echo "yes" >&6; }
23401
23402       HAVE_GST_BASE="yes"
23403
23404 fi
23405
23406
23407
23408
23409
23410   module=gstreamer-dataprotocol-$GST_MAJORMINOR
23411   minver=$GST_REQ
23412   name="GStreamer Data Protocol Library"
23413   required=yes
23414
23415 pkg_failed=no
23416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_GDP" >&5
23417 $as_echo_n "checking for GST_GDP... " >&6; }
23418
23419 if test -n "$PKG_CONFIG"; then
23420     if test -n "$GST_GDP_CFLAGS"; then
23421         pkg_cv_GST_GDP_CFLAGS="$GST_GDP_CFLAGS"
23422     else
23423         if test -n "$PKG_CONFIG" && \
23424     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
23425   ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
23426   ac_status=$?
23427   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23428   test $ac_status = 0; }; then
23429   pkg_cv_GST_GDP_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
23430 else
23431   pkg_failed=yes
23432 fi
23433     fi
23434 else
23435         pkg_failed=untried
23436 fi
23437 if test -n "$PKG_CONFIG"; then
23438     if test -n "$GST_GDP_LIBS"; then
23439         pkg_cv_GST_GDP_LIBS="$GST_GDP_LIBS"
23440     else
23441         if test -n "$PKG_CONFIG" && \
23442     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
23443   ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
23444   ac_status=$?
23445   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23446   test $ac_status = 0; }; then
23447   pkg_cv_GST_GDP_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
23448 else
23449   pkg_failed=yes
23450 fi
23451     fi
23452 else
23453         pkg_failed=untried
23454 fi
23455
23456
23457
23458 if test $pkg_failed = yes; then
23459
23460 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23461         _pkg_short_errors_supported=yes
23462 else
23463         _pkg_short_errors_supported=no
23464 fi
23465         if test $_pkg_short_errors_supported = yes; then
23466                 GST_GDP_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
23467         else
23468                 GST_GDP_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
23469         fi
23470         # Put the nasty error message in config.log where it belongs
23471         echo "$GST_GDP_PKG_ERRORS" >&5
23472
23473         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23474 $as_echo "no" >&6; }
23475
23476       HAVE_GST_GDP="no"
23477       { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_GDP_PKG_ERRORS" >&5
23478 $as_echo "$as_me: $GST_GDP_PKG_ERRORS" >&6;}
23479       if test "x$required" = "xyes"; then
23480         as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
23481       else
23482         { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
23483 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
23484       fi
23485
23486 elif test $pkg_failed = untried; then
23487
23488       HAVE_GST_GDP="no"
23489       { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_GDP_PKG_ERRORS" >&5
23490 $as_echo "$as_me: $GST_GDP_PKG_ERRORS" >&6;}
23491       if test "x$required" = "xyes"; then
23492         as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
23493       else
23494         { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
23495 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
23496       fi
23497
23498 else
23499         GST_GDP_CFLAGS=$pkg_cv_GST_GDP_CFLAGS
23500         GST_GDP_LIBS=$pkg_cv_GST_GDP_LIBS
23501         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23502 $as_echo "yes" >&6; }
23503
23504       HAVE_GST_GDP="yes"
23505
23506 fi
23507
23508
23509
23510
23511
23512   module=gstreamer-controller-$GST_MAJORMINOR
23513   minver=$GST_REQ
23514   name="GStreamer Controller Library"
23515   required=yes
23516
23517 pkg_failed=no
23518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_CONTROLLER" >&5
23519 $as_echo_n "checking for GST_CONTROLLER... " >&6; }
23520
23521 if test -n "$PKG_CONFIG"; then
23522     if test -n "$GST_CONTROLLER_CFLAGS"; then
23523         pkg_cv_GST_CONTROLLER_CFLAGS="$GST_CONTROLLER_CFLAGS"
23524     else
23525         if test -n "$PKG_CONFIG" && \
23526     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
23527   ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
23528   ac_status=$?
23529   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23530   test $ac_status = 0; }; then
23531   pkg_cv_GST_CONTROLLER_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
23532 else
23533   pkg_failed=yes
23534 fi
23535     fi
23536 else
23537         pkg_failed=untried
23538 fi
23539 if test -n "$PKG_CONFIG"; then
23540     if test -n "$GST_CONTROLLER_LIBS"; then
23541         pkg_cv_GST_CONTROLLER_LIBS="$GST_CONTROLLER_LIBS"
23542     else
23543         if test -n "$PKG_CONFIG" && \
23544     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
23545   ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
23546   ac_status=$?
23547   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23548   test $ac_status = 0; }; then
23549   pkg_cv_GST_CONTROLLER_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
23550 else
23551   pkg_failed=yes
23552 fi
23553     fi
23554 else
23555         pkg_failed=untried
23556 fi
23557
23558
23559
23560 if test $pkg_failed = yes; then
23561
23562 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23563         _pkg_short_errors_supported=yes
23564 else
23565         _pkg_short_errors_supported=no
23566 fi
23567         if test $_pkg_short_errors_supported = yes; then
23568                 GST_CONTROLLER_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
23569         else
23570                 GST_CONTROLLER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
23571         fi
23572         # Put the nasty error message in config.log where it belongs
23573         echo "$GST_CONTROLLER_PKG_ERRORS" >&5
23574
23575         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23576 $as_echo "no" >&6; }
23577
23578       HAVE_GST_CONTROLLER="no"
23579       { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_CONTROLLER_PKG_ERRORS" >&5
23580 $as_echo "$as_me: $GST_CONTROLLER_PKG_ERRORS" >&6;}
23581       if test "x$required" = "xyes"; then
23582         as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
23583       else
23584         { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
23585 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
23586       fi
23587
23588 elif test $pkg_failed = untried; then
23589
23590       HAVE_GST_CONTROLLER="no"
23591       { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_CONTROLLER_PKG_ERRORS" >&5
23592 $as_echo "$as_me: $GST_CONTROLLER_PKG_ERRORS" >&6;}
23593       if test "x$required" = "xyes"; then
23594         as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
23595       else
23596         { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
23597 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
23598       fi
23599
23600 else
23601         GST_CONTROLLER_CFLAGS=$pkg_cv_GST_CONTROLLER_CFLAGS
23602         GST_CONTROLLER_LIBS=$pkg_cv_GST_CONTROLLER_LIBS
23603         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23604 $as_echo "yes" >&6; }
23605
23606       HAVE_GST_CONTROLLER="yes"
23607
23608 fi
23609
23610
23611
23612
23613
23614   module=gstreamer-check-$GST_MAJORMINOR
23615   minver=$GST_REQ
23616   name="GStreamer Check unittest Library"
23617   required=no
23618
23619 pkg_failed=no
23620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_CHECK" >&5
23621 $as_echo_n "checking for GST_CHECK... " >&6; }
23622
23623 if test -n "$PKG_CONFIG"; then
23624     if test -n "$GST_CHECK_CFLAGS"; then
23625         pkg_cv_GST_CHECK_CFLAGS="$GST_CHECK_CFLAGS"
23626     else
23627         if test -n "$PKG_CONFIG" && \
23628     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
23629   ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
23630   ac_status=$?
23631   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23632   test $ac_status = 0; }; then
23633   pkg_cv_GST_CHECK_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
23634 else
23635   pkg_failed=yes
23636 fi
23637     fi
23638 else
23639         pkg_failed=untried
23640 fi
23641 if test -n "$PKG_CONFIG"; then
23642     if test -n "$GST_CHECK_LIBS"; then
23643         pkg_cv_GST_CHECK_LIBS="$GST_CHECK_LIBS"
23644     else
23645         if test -n "$PKG_CONFIG" && \
23646     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
23647   ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
23648   ac_status=$?
23649   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23650   test $ac_status = 0; }; then
23651   pkg_cv_GST_CHECK_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
23652 else
23653   pkg_failed=yes
23654 fi
23655     fi
23656 else
23657         pkg_failed=untried
23658 fi
23659
23660
23661
23662 if test $pkg_failed = yes; then
23663
23664 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23665         _pkg_short_errors_supported=yes
23666 else
23667         _pkg_short_errors_supported=no
23668 fi
23669         if test $_pkg_short_errors_supported = yes; then
23670                 GST_CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
23671         else
23672                 GST_CHECK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
23673         fi
23674         # Put the nasty error message in config.log where it belongs
23675         echo "$GST_CHECK_PKG_ERRORS" >&5
23676
23677         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23678 $as_echo "no" >&6; }
23679
23680       HAVE_GST_CHECK="no"
23681       { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_CHECK_PKG_ERRORS" >&5
23682 $as_echo "$as_me: $GST_CHECK_PKG_ERRORS" >&6;}
23683       if test "x$required" = "xyes"; then
23684         as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
23685       else
23686         { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
23687 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
23688       fi
23689
23690 elif test $pkg_failed = untried; then
23691
23692       HAVE_GST_CHECK="no"
23693       { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_CHECK_PKG_ERRORS" >&5
23694 $as_echo "$as_me: $GST_CHECK_PKG_ERRORS" >&6;}
23695       if test "x$required" = "xyes"; then
23696         as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
23697       else
23698         { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
23699 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
23700       fi
23701
23702 else
23703         GST_CHECK_CFLAGS=$pkg_cv_GST_CHECK_CFLAGS
23704         GST_CHECK_LIBS=$pkg_cv_GST_CHECK_LIBS
23705         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23706 $as_echo "yes" >&6; }
23707
23708       HAVE_GST_CHECK="yes"
23709
23710 fi
23711
23712
23713
23714  if test "x$HAVE_GST_CHECK" = "xyes"; then
23715   HAVE_GST_CHECK_TRUE=
23716   HAVE_GST_CHECK_FALSE='#'
23717 else
23718   HAVE_GST_CHECK_TRUE='#'
23719   HAVE_GST_CHECK_FALSE=
23720 fi
23721
23722
23723 GLIB_PREFIX="`$PKG_CONFIG --variable=prefix glib-2.0`"
23724 GST_PREFIX="`$PKG_CONFIG --variable=prefix gstreamer-$GST_MAJORMINOR`"
23725
23726
23727
23728 HAVE_GTK=no
23729 HAVE_GTK_X11=no
23730 GTK_REQ=3.0.0
23731 if test "x$BUILD_EXAMPLES" = "xyes"; then
23732
23733 pkg_failed=no
23734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
23735 $as_echo_n "checking for GTK... " >&6; }
23736
23737 if test -n "$PKG_CONFIG"; then
23738     if test -n "$GTK_CFLAGS"; then
23739         pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
23740     else
23741         if test -n "$PKG_CONFIG" && \
23742     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$GTK_REQ\""; } >&5
23743   ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $GTK_REQ") 2>&5
23744   ac_status=$?
23745   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23746   test $ac_status = 0; }; then
23747   pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0 >= $GTK_REQ" 2>/dev/null`
23748 else
23749   pkg_failed=yes
23750 fi
23751     fi
23752 else
23753         pkg_failed=untried
23754 fi
23755 if test -n "$PKG_CONFIG"; then
23756     if test -n "$GTK_LIBS"; then
23757         pkg_cv_GTK_LIBS="$GTK_LIBS"
23758     else
23759         if test -n "$PKG_CONFIG" && \
23760     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$GTK_REQ\""; } >&5
23761   ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $GTK_REQ") 2>&5
23762   ac_status=$?
23763   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23764   test $ac_status = 0; }; then
23765   pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-3.0 >= $GTK_REQ" 2>/dev/null`
23766 else
23767   pkg_failed=yes
23768 fi
23769     fi
23770 else
23771         pkg_failed=untried
23772 fi
23773
23774
23775
23776 if test $pkg_failed = yes; then
23777
23778 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23779         _pkg_short_errors_supported=yes
23780 else
23781         _pkg_short_errors_supported=no
23782 fi
23783         if test $_pkg_short_errors_supported = yes; then
23784                 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-3.0 >= $GTK_REQ"`
23785         else
23786                 GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-3.0 >= $GTK_REQ"`
23787         fi
23788         # Put the nasty error message in config.log where it belongs
23789         echo "$GTK_PKG_ERRORS" >&5
23790
23791         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23792 $as_echo "no" >&6; }
23793                 HAVE_GTK=no
23794 elif test $pkg_failed = untried; then
23795         HAVE_GTK=no
23796 else
23797         GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
23798         GTK_LIBS=$pkg_cv_GTK_LIBS
23799         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23800 $as_echo "yes" >&6; }
23801         HAVE_GTK=yes
23802 fi
23803
23804 pkg_failed=no
23805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK_X11" >&5
23806 $as_echo_n "checking for GTK_X11... " >&6; }
23807
23808 if test -n "$PKG_CONFIG"; then
23809     if test -n "$GTK_X11_CFLAGS"; then
23810         pkg_cv_GTK_X11_CFLAGS="$GTK_X11_CFLAGS"
23811     else
23812         if test -n "$PKG_CONFIG" && \
23813     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-x11-3.0 >= \$GTK_REQ\""; } >&5
23814   ($PKG_CONFIG --exists --print-errors "gtk+-x11-3.0 >= $GTK_REQ") 2>&5
23815   ac_status=$?
23816   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23817   test $ac_status = 0; }; then
23818   pkg_cv_GTK_X11_CFLAGS=`$PKG_CONFIG --cflags "gtk+-x11-3.0 >= $GTK_REQ" 2>/dev/null`
23819 else
23820   pkg_failed=yes
23821 fi
23822     fi
23823 else
23824         pkg_failed=untried
23825 fi
23826 if test -n "$PKG_CONFIG"; then
23827     if test -n "$GTK_X11_LIBS"; then
23828         pkg_cv_GTK_X11_LIBS="$GTK_X11_LIBS"
23829     else
23830         if test -n "$PKG_CONFIG" && \
23831     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-x11-3.0 >= \$GTK_REQ\""; } >&5
23832   ($PKG_CONFIG --exists --print-errors "gtk+-x11-3.0 >= $GTK_REQ") 2>&5
23833   ac_status=$?
23834   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23835   test $ac_status = 0; }; then
23836   pkg_cv_GTK_X11_LIBS=`$PKG_CONFIG --libs "gtk+-x11-3.0 >= $GTK_REQ" 2>/dev/null`
23837 else
23838   pkg_failed=yes
23839 fi
23840     fi
23841 else
23842         pkg_failed=untried
23843 fi
23844
23845
23846
23847 if test $pkg_failed = yes; then
23848
23849 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23850         _pkg_short_errors_supported=yes
23851 else
23852         _pkg_short_errors_supported=no
23853 fi
23854         if test $_pkg_short_errors_supported = yes; then
23855                 GTK_X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-x11-3.0 >= $GTK_REQ"`
23856         else
23857                 GTK_X11_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-x11-3.0 >= $GTK_REQ"`
23858         fi
23859         # Put the nasty error message in config.log where it belongs
23860         echo "$GTK_X11_PKG_ERRORS" >&5
23861
23862         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23863 $as_echo "no" >&6; }
23864                 HAVE_GTK_X11=no
23865 elif test $pkg_failed = untried; then
23866         HAVE_GTK_X11=no
23867 else
23868         GTK_X11_CFLAGS=$pkg_cv_GTK_X11_CFLAGS
23869         GTK_X11_LIBS=$pkg_cv_GTK_X11_LIBS
23870         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23871 $as_echo "yes" >&6; }
23872         HAVE_GTK_X11=yes
23873 fi
23874
23875
23876 fi
23877  if test "x$HAVE_GTK" = "xyes"; then
23878   HAVE_GTK_TRUE=
23879   HAVE_GTK_FALSE='#'
23880 else
23881   HAVE_GTK_TRUE='#'
23882   HAVE_GTK_FALSE=
23883 fi
23884
23885  if test "x$HAVE_GTK_X11" = "xyes"; then
23886   HAVE_GTK_X11_TRUE=
23887   HAVE_GTK_X11_FALSE='#'
23888 else
23889   HAVE_GTK_X11_TRUE='#'
23890   HAVE_GTK_X11_FALSE=
23891 fi
23892
23893
23894
23895 pkg_failed=no
23896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for QT" >&5
23897 $as_echo_n "checking for QT... " >&6; }
23898
23899 if test -n "$PKG_CONFIG"; then
23900     if test -n "$QT_CFLAGS"; then
23901         pkg_cv_QT_CFLAGS="$QT_CFLAGS"
23902     else
23903         if test -n "$PKG_CONFIG" && \
23904     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtGui >= 4.6\""; } >&5
23905   ($PKG_CONFIG --exists --print-errors "QtGui >= 4.6") 2>&5
23906   ac_status=$?
23907   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23908   test $ac_status = 0; }; then
23909   pkg_cv_QT_CFLAGS=`$PKG_CONFIG --cflags "QtGui >= 4.6" 2>/dev/null`
23910 else
23911   pkg_failed=yes
23912 fi
23913     fi
23914 else
23915         pkg_failed=untried
23916 fi
23917 if test -n "$PKG_CONFIG"; then
23918     if test -n "$QT_LIBS"; then
23919         pkg_cv_QT_LIBS="$QT_LIBS"
23920     else
23921         if test -n "$PKG_CONFIG" && \
23922     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtGui >= 4.6\""; } >&5
23923   ($PKG_CONFIG --exists --print-errors "QtGui >= 4.6") 2>&5
23924   ac_status=$?
23925   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23926   test $ac_status = 0; }; then
23927   pkg_cv_QT_LIBS=`$PKG_CONFIG --libs "QtGui >= 4.6" 2>/dev/null`
23928 else
23929   pkg_failed=yes
23930 fi
23931     fi
23932 else
23933         pkg_failed=untried
23934 fi
23935
23936
23937
23938 if test $pkg_failed = yes; then
23939
23940 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23941         _pkg_short_errors_supported=yes
23942 else
23943         _pkg_short_errors_supported=no
23944 fi
23945         if test $_pkg_short_errors_supported = yes; then
23946                 QT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "QtGui >= 4.6"`
23947         else
23948                 QT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "QtGui >= 4.6"`
23949         fi
23950         # Put the nasty error message in config.log where it belongs
23951         echo "$QT_PKG_ERRORS" >&5
23952
23953         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23954 $as_echo "no" >&6; }
23955
23956   HAVE_QT_GV=no
23957
23958 pkg_failed=no
23959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for QT" >&5
23960 $as_echo_n "checking for QT... " >&6; }
23961
23962 if test -n "$PKG_CONFIG"; then
23963     if test -n "$QT_CFLAGS"; then
23964         pkg_cv_QT_CFLAGS="$QT_CFLAGS"
23965     else
23966         if test -n "$PKG_CONFIG" && \
23967     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtGui >= 4.0\""; } >&5
23968   ($PKG_CONFIG --exists --print-errors "QtGui >= 4.0") 2>&5
23969   ac_status=$?
23970   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23971   test $ac_status = 0; }; then
23972   pkg_cv_QT_CFLAGS=`$PKG_CONFIG --cflags "QtGui >= 4.0" 2>/dev/null`
23973 else
23974   pkg_failed=yes
23975 fi
23976     fi
23977 else
23978         pkg_failed=untried
23979 fi
23980 if test -n "$PKG_CONFIG"; then
23981     if test -n "$QT_LIBS"; then
23982         pkg_cv_QT_LIBS="$QT_LIBS"
23983     else
23984         if test -n "$PKG_CONFIG" && \
23985     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtGui >= 4.0\""; } >&5
23986   ($PKG_CONFIG --exists --print-errors "QtGui >= 4.0") 2>&5
23987   ac_status=$?
23988   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23989   test $ac_status = 0; }; then
23990   pkg_cv_QT_LIBS=`$PKG_CONFIG --libs "QtGui >= 4.0" 2>/dev/null`
23991 else
23992   pkg_failed=yes
23993 fi
23994     fi
23995 else
23996         pkg_failed=untried
23997 fi
23998
23999
24000
24001 if test $pkg_failed = yes; then
24002
24003 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24004         _pkg_short_errors_supported=yes
24005 else
24006         _pkg_short_errors_supported=no
24007 fi
24008         if test $_pkg_short_errors_supported = yes; then
24009                 QT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "QtGui >= 4.0"`
24010         else
24011                 QT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "QtGui >= 4.0"`
24012         fi
24013         # Put the nasty error message in config.log where it belongs
24014         echo "$QT_PKG_ERRORS" >&5
24015
24016         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24017 $as_echo "no" >&6; }
24018                 HAVE_QT=no
24019 elif test $pkg_failed = untried; then
24020         HAVE_QT=no
24021 else
24022         QT_CFLAGS=$pkg_cv_QT_CFLAGS
24023         QT_LIBS=$pkg_cv_QT_LIBS
24024         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24025 $as_echo "yes" >&6; }
24026         HAVE_QT=yes
24027 fi
24028
24029 elif test $pkg_failed = untried; then
24030
24031   HAVE_QT_GV=no
24032
24033 pkg_failed=no
24034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for QT" >&5
24035 $as_echo_n "checking for QT... " >&6; }
24036
24037 if test -n "$PKG_CONFIG"; then
24038     if test -n "$QT_CFLAGS"; then
24039         pkg_cv_QT_CFLAGS="$QT_CFLAGS"
24040     else
24041         if test -n "$PKG_CONFIG" && \
24042     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtGui >= 4.0\""; } >&5
24043   ($PKG_CONFIG --exists --print-errors "QtGui >= 4.0") 2>&5
24044   ac_status=$?
24045   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24046   test $ac_status = 0; }; then
24047   pkg_cv_QT_CFLAGS=`$PKG_CONFIG --cflags "QtGui >= 4.0" 2>/dev/null`
24048 else
24049   pkg_failed=yes
24050 fi
24051     fi
24052 else
24053         pkg_failed=untried
24054 fi
24055 if test -n "$PKG_CONFIG"; then
24056     if test -n "$QT_LIBS"; then
24057         pkg_cv_QT_LIBS="$QT_LIBS"
24058     else
24059         if test -n "$PKG_CONFIG" && \
24060     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtGui >= 4.0\""; } >&5
24061   ($PKG_CONFIG --exists --print-errors "QtGui >= 4.0") 2>&5
24062   ac_status=$?
24063   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24064   test $ac_status = 0; }; then
24065   pkg_cv_QT_LIBS=`$PKG_CONFIG --libs "QtGui >= 4.0" 2>/dev/null`
24066 else
24067   pkg_failed=yes
24068 fi
24069     fi
24070 else
24071         pkg_failed=untried
24072 fi
24073
24074
24075
24076 if test $pkg_failed = yes; then
24077
24078 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24079         _pkg_short_errors_supported=yes
24080 else
24081         _pkg_short_errors_supported=no
24082 fi
24083         if test $_pkg_short_errors_supported = yes; then
24084                 QT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "QtGui >= 4.0"`
24085         else
24086                 QT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "QtGui >= 4.0"`
24087         fi
24088         # Put the nasty error message in config.log where it belongs
24089         echo "$QT_PKG_ERRORS" >&5
24090
24091         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24092 $as_echo "no" >&6; }
24093                 HAVE_QT=no
24094 elif test $pkg_failed = untried; then
24095         HAVE_QT=no
24096 else
24097         QT_CFLAGS=$pkg_cv_QT_CFLAGS
24098         QT_LIBS=$pkg_cv_QT_LIBS
24099         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24100 $as_echo "yes" >&6; }
24101         HAVE_QT=yes
24102 fi
24103
24104 else
24105         QT_CFLAGS=$pkg_cv_QT_CFLAGS
24106         QT_LIBS=$pkg_cv_QT_LIBS
24107         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24108 $as_echo "yes" >&6; }
24109
24110   HAVE_QT_GV=yes
24111   HAVE_QT=yes
24112
24113 fi
24114 if test "x$HAVE_QT" = "xyes"; then
24115   { $as_echo "$as_me:${as_lineno-$LINENO}: checking Qt moc" >&5
24116 $as_echo_n "checking Qt moc... " >&6; }
24117   QT4_MOC=`$PKG_CONFIG --variable=moc_location QtGui`
24118   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT4_MOC" >&5
24119 $as_echo "$QT4_MOC" >&6; }
24120
24121 fi
24122  if test "x$HAVE_QT" = "xyes"; then
24123   HAVE_QT_TRUE=
24124   HAVE_QT_FALSE='#'
24125 else
24126   HAVE_QT_TRUE='#'
24127   HAVE_QT_FALSE=
24128 fi
24129
24130  if test "x$HAVE_QT_GV" = "xyes"; then
24131   HAVE_QT_GV_TRUE=
24132   HAVE_QT_GV_FALSE='#'
24133 else
24134   HAVE_QT_GV_TRUE='#'
24135   HAVE_QT_GV_FALSE=
24136 fi
24137
24138
24139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24140 /* end confdefs.h.  */
24141
24142
24143     #include <linux/input.h>
24144     #include <linux/joystick.h>
24145
24146 int
24147 main ()
24148 {
24149
24150     struct js_event js;
24151     js.type = JS_EVENT_AXIS;
24152
24153   ;
24154   return 0;
24155 }
24156
24157 _ACEOF
24158 if ac_fn_c_try_compile "$LINENO"; then :
24159
24160   HAVE_LINUX_JOYSTICK_HEADERS="yes"
24161
24162 else
24163
24164   HAVE_LINUX_JOYSTICK_HEADERS="no"
24165
24166 fi
24167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24168  if test "x$HAVE_LINUX_JOYSTICK_HEADERS" = "xyes"; then
24169   HAVE_LINUX_JOYSTICK_HEADERS_TRUE=
24170   HAVE_LINUX_JOYSTICK_HEADERS_FALSE='#'
24171 else
24172   HAVE_LINUX_JOYSTICK_HEADERS_TRUE='#'
24173   HAVE_LINUX_JOYSTICK_HEADERS_FALSE=
24174 fi
24175
24176
24177 # Check whether --enable-Bsymbolic was given.
24178 if test "${enable_Bsymbolic+set}" = set; then :
24179   enableval=$enable_Bsymbolic;
24180 else
24181   SAVED_LDFLAGS="${LDFLAGS}"
24182                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Bsymbolic-functions linker flag" >&5
24183 $as_echo_n "checking for -Bsymbolic-functions linker flag... " >&6; }
24184                LDFLAGS=-Wl,-Bsymbolic-functions
24185                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24186 /* end confdefs.h.  */
24187
24188 int
24189 main ()
24190 {
24191 int main (void) { return 0; }
24192   ;
24193   return 0;
24194 }
24195 _ACEOF
24196 if ac_fn_c_try_link "$LINENO"; then :
24197   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24198 $as_echo "yes" >&6; }
24199                            enable_Bsymbolic=yes
24200 else
24201   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24202 $as_echo "no" >&6; }
24203                            enable_Bsymbolic=no
24204 fi
24205 rm -f core conftest.err conftest.$ac_objext \
24206     conftest$ac_exeext conftest.$ac_ext
24207                LDFLAGS="${SAVED_LDFLAGS}"
24208 fi
24209
24210
24211
24212
24213 GST_LICENSE="LGPL"
24214
24215 cat >>confdefs.h <<_ACEOF
24216 #define GST_LICENSE "$GST_LICENSE"
24217 _ACEOF
24218
24219
24220
24221
24222
24223   EXP_VAR=PLUGINDIR
24224   FROM_VAR=${libdir}/gstreamer-$GST_MAJORMINOR
24225
24226     prefix_save=$prefix
24227   exec_prefix_save=$exec_prefix
24228
24229     if test "x$prefix" = "xNONE"; then
24230     prefix="$ac_default_prefix"
24231   fi
24232     if test "x$exec_prefix" = "xNONE"; then
24233     exec_prefix=$prefix
24234   fi
24235
24236   full_var="$FROM_VAR"
24237     while true; do
24238     new_full_var="`eval echo $full_var`"
24239     if test "x$new_full_var" = "x$full_var"; then break; fi
24240     full_var=$new_full_var
24241   done
24242
24243     full_var=$new_full_var
24244   PLUGINDIR="$full_var"
24245
24246
24247     prefix=$prefix_save
24248   exec_prefix=$exec_prefix_save
24249
24250
24251 cat >>confdefs.h <<_ACEOF
24252 #define PLUGINDIR "$PLUGINDIR"
24253 _ACEOF
24254
24255   { $as_echo "$as_me:${as_lineno-$LINENO}: Using $PLUGINDIR as the plugin install location" >&5
24256 $as_echo "$as_me: Using $PLUGINDIR as the plugin install location" >&6;}
24257
24258     plugindir="\$(libdir)/gstreamer-$GST_MAJORMINOR"
24259
24260
24261
24262
24263   if test "x$PACKAGE_VERSION_NANO" = "x0"; then
24264
24265       if test "xyes" = "xno" -o "xyes" = "x"; then
24266     GST_PACKAGE_RELEASE_DATETIME=`date -u "+%Y-%m-%dT%H:%MZ"`
24267   elif test "xyes" = "xyes"; then
24268             if ( echo yes | grep -e '^201-90-9-0-10-9-0-30-9' >/dev/null ) ; then
24269       GST_PACKAGE_RELEASE_DATETIME=yes
24270     else
24271             YYYY_MM_DD=`sh "${srcdir}/common/extract-release-date-from-doap-file"  $PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR.$PACKAGE_VERSION_MICRO   "${srcdir}/gst-plugins-base.doap" `;
24272       if test "x$YYYY_MM_DD" != "x"; then
24273         GST_PACKAGE_RELEASE_DATETIME=$YYYY_MM_DD
24274       else
24275         as_fn_error $? "SET_PACKAGE_RELEASE_DATETIME: could not extract
24276             release date for release version  $PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR.$PACKAGE_VERSION_MICRO  from  \"${srcdir}/gst-plugins-base.doap\" " "$LINENO" 5
24277         GST_PACKAGE_RELEASE_DATETIME=""
24278       fi
24279     fi
24280     elif ( echo yes | grep -e '^201-90-9-0-10-9-0-30-9' >/dev/null ) ; then
24281     GST_PACKAGE_RELEASE_DATETIME=yes
24282   else
24283     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&5
24284 $as_echo "$as_me: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&2;}
24285     GST_PACKAGE_RELEASE_DATETIME=""
24286   fi
24287
24288   if test "x$GST_PACKAGE_RELEASE_DATETIME" = "x"; then
24289     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&5
24290 $as_echo "$as_me: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&2;}
24291   else
24292     { $as_echo "$as_me:${as_lineno-$LINENO}: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&5
24293 $as_echo "$as_me: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&6;}
24294
24295
24296 cat >>confdefs.h <<_ACEOF
24297 #define GST_PACKAGE_RELEASE_DATETIME "$GST_PACKAGE_RELEASE_DATETIME"
24298 _ACEOF
24299
24300   fi
24301
24302   else
24303
24304       if test "xno" = "xno" -o "xno" = "x"; then
24305     GST_PACKAGE_RELEASE_DATETIME=`date -u "+%Y-%m-%dT%H:%MZ"`
24306   elif test "xno" = "xyes"; then
24307             if ( echo no | grep -e '^201-90-9-0-10-9-0-30-9' >/dev/null ) ; then
24308       GST_PACKAGE_RELEASE_DATETIME=no
24309     else
24310             YYYY_MM_DD=`sh "${srcdir}/common/extract-release-date-from-doap-file"  `;
24311       if test "x$YYYY_MM_DD" != "x"; then
24312         GST_PACKAGE_RELEASE_DATETIME=$YYYY_MM_DD
24313       else
24314         as_fn_error $? "SET_PACKAGE_RELEASE_DATETIME: could not extract
24315             release date for release version  from " "$LINENO" 5
24316         GST_PACKAGE_RELEASE_DATETIME=""
24317       fi
24318     fi
24319     elif ( echo no | grep -e '^201-90-9-0-10-9-0-30-9' >/dev/null ) ; then
24320     GST_PACKAGE_RELEASE_DATETIME=no
24321   else
24322     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&5
24323 $as_echo "$as_me: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&2;}
24324     GST_PACKAGE_RELEASE_DATETIME=""
24325   fi
24326
24327   if test "x$GST_PACKAGE_RELEASE_DATETIME" = "x"; then
24328     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&5
24329 $as_echo "$as_me: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&2;}
24330   else
24331     { $as_echo "$as_me:${as_lineno-$LINENO}: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&5
24332 $as_echo "$as_me: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&6;}
24333
24334
24335 cat >>confdefs.h <<_ACEOF
24336 #define GST_PACKAGE_RELEASE_DATETIME "$GST_PACKAGE_RELEASE_DATETIME"
24337 _ACEOF
24338
24339   fi
24340
24341   fi
24342
24343
24344 # set by AG_GST_PARSE_SUBSYSTEM_DISABLES above
24345 NO_WARNINGS=""
24346
24347
24348
24349   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GStreamer debugging system is enabled" >&5
24350 $as_echo_n "checking whether the GStreamer debugging system is enabled... " >&6; }
24351   ac_ext=c
24352 ac_cpp='$CPP $CPPFLAGS'
24353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24356
24357   save_CFLAGS="$CFLAGS"
24358   CFLAGS="$GST_CFLAGS $CFLAGS"
24359   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24360 /* end confdefs.h.  */
24361
24362       #include <gst/gstconfig.h>
24363       #ifdef GST_DISABLE_GST_DEBUG
24364       #error "debugging disabled, make compiler fail"
24365       #endif
24366 _ACEOF
24367 if ac_fn_c_try_compile "$LINENO"; then :
24368    debug_system_enabled=yes
24369 else
24370   debug_system_enabled=no
24371 fi
24372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24373   CFLAGS="$save_CFLAGS"
24374   ac_ext=c
24375 ac_cpp='$CPP $CPPFLAGS'
24376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24379
24380
24381   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $debug_system_enabled" >&5
24382 $as_echo "$debug_system_enabled" >&6; }
24383
24384   if test "x$debug_system_enabled" = "xyes" ; then
24385     NO_WARNINGS=""
24386     true
24387   else
24388     NO_WARNINGS="-Wno-unused"
24389     true
24390   fi
24391
24392
24393
24394
24395
24396
24397   WARNING_CFLAGS=""
24398   ERROR_CFLAGS=""
24399
24400
24401   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wall" >&5
24402 $as_echo_n "checking to see if compiler understands -Wall... " >&6; }
24403
24404   save_CFLAGS="$CFLAGS"
24405   CFLAGS="$CFLAGS -Wall"
24406
24407   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24408 /* end confdefs.h.  */
24409
24410 int
24411 main ()
24412 {
24413
24414   ;
24415   return 0;
24416 }
24417 _ACEOF
24418 if ac_fn_c_try_compile "$LINENO"; then :
24419   flag_ok=yes
24420 else
24421   flag_ok=no
24422 fi
24423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24424   CFLAGS="$save_CFLAGS"
24425
24426   if test "X$flag_ok" = Xyes ; then
24427     WARNING_CFLAGS="$WARNING_CFLAGS -Wall"
24428     true
24429   else
24430
24431     true
24432   fi
24433   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24434 $as_echo "$flag_ok" >&6; }
24435
24436
24437
24438   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wdeclaration-after-statement" >&5
24439 $as_echo_n "checking to see if compiler understands -Wdeclaration-after-statement... " >&6; }
24440
24441   save_CFLAGS="$CFLAGS"
24442   CFLAGS="$CFLAGS -Wdeclaration-after-statement"
24443
24444   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24445 /* end confdefs.h.  */
24446
24447 int
24448 main ()
24449 {
24450
24451   ;
24452   return 0;
24453 }
24454 _ACEOF
24455 if ac_fn_c_try_compile "$LINENO"; then :
24456   flag_ok=yes
24457 else
24458   flag_ok=no
24459 fi
24460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24461   CFLAGS="$save_CFLAGS"
24462
24463   if test "X$flag_ok" = Xyes ; then
24464     WARNING_CFLAGS="$WARNING_CFLAGS -Wdeclaration-after-statement"
24465     true
24466   else
24467
24468     true
24469   fi
24470   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24471 $as_echo "$flag_ok" >&6; }
24472
24473
24474
24475   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wvla" >&5
24476 $as_echo_n "checking to see if compiler understands -Wvla... " >&6; }
24477
24478   save_CFLAGS="$CFLAGS"
24479   CFLAGS="$CFLAGS -Wvla"
24480
24481   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24482 /* end confdefs.h.  */
24483
24484 int
24485 main ()
24486 {
24487
24488   ;
24489   return 0;
24490 }
24491 _ACEOF
24492 if ac_fn_c_try_compile "$LINENO"; then :
24493   flag_ok=yes
24494 else
24495   flag_ok=no
24496 fi
24497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24498   CFLAGS="$save_CFLAGS"
24499
24500   if test "X$flag_ok" = Xyes ; then
24501     WARNING_CFLAGS="$WARNING_CFLAGS -Wvla"
24502     true
24503   else
24504
24505     true
24506   fi
24507   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24508 $as_echo "$flag_ok" >&6; }
24509
24510
24511
24512   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wpointer-arith" >&5
24513 $as_echo_n "checking to see if compiler understands -Wpointer-arith... " >&6; }
24514
24515   save_CFLAGS="$CFLAGS"
24516   CFLAGS="$CFLAGS -Wpointer-arith"
24517
24518   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24519 /* end confdefs.h.  */
24520
24521 int
24522 main ()
24523 {
24524
24525   ;
24526   return 0;
24527 }
24528 _ACEOF
24529 if ac_fn_c_try_compile "$LINENO"; then :
24530   flag_ok=yes
24531 else
24532   flag_ok=no
24533 fi
24534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24535   CFLAGS="$save_CFLAGS"
24536
24537   if test "X$flag_ok" = Xyes ; then
24538     WARNING_CFLAGS="$WARNING_CFLAGS -Wpointer-arith"
24539     true
24540   else
24541
24542     true
24543   fi
24544   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24545 $as_echo "$flag_ok" >&6; }
24546
24547
24548     if test "x$GST_GIT" != "xno"
24549   then
24550
24551   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Werror" >&5
24552 $as_echo_n "checking to see if compiler understands -Werror... " >&6; }
24553
24554   save_CFLAGS="$CFLAGS"
24555   CFLAGS="$CFLAGS -Werror"
24556
24557   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24558 /* end confdefs.h.  */
24559
24560 int
24561 main ()
24562 {
24563
24564   ;
24565   return 0;
24566 }
24567 _ACEOF
24568 if ac_fn_c_try_compile "$LINENO"; then :
24569   flag_ok=yes
24570 else
24571   flag_ok=no
24572 fi
24573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24574   CFLAGS="$save_CFLAGS"
24575
24576   if test "X$flag_ok" = Xyes ; then
24577     ERROR_CFLAGS="$ERROR_CFLAGS -Werror"
24578     true
24579   else
24580
24581     true
24582   fi
24583   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24584 $as_echo "$flag_ok" >&6; }
24585
24586
24587         if test "x$ERROR_CFLAGS" = "x"
24588     then
24589
24590   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -errwarn=%all" >&5
24591 $as_echo_n "checking to see if compiler understands -errwarn=%all... " >&6; }
24592
24593   save_CFLAGS="$CFLAGS"
24594   CFLAGS="$CFLAGS -errwarn=%all"
24595
24596   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24597 /* end confdefs.h.  */
24598
24599 int
24600 main ()
24601 {
24602
24603   ;
24604   return 0;
24605 }
24606 _ACEOF
24607 if ac_fn_c_try_compile "$LINENO"; then :
24608   flag_ok=yes
24609 else
24610   flag_ok=no
24611 fi
24612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24613   CFLAGS="$save_CFLAGS"
24614
24615   if test "X$flag_ok" = Xyes ; then
24616
24617           ERROR_CFLAGS="-errwarn=%all"
24618                                                                                 for f in 'no%E_EMPTY_DECLARATION' \
24619                    'no%E_STATEMENT_NOT_REACHED' \
24620                    'no%E_ARGUEMENT_MISMATCH' \
24621                    'no%E_MACRO_REDEFINED' \
24622                    'no%E_LOOP_NOT_ENTERED_AT_TOP'
24623           do
24624
24625   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -errwarn=%all,$f" >&5
24626 $as_echo_n "checking to see if compiler understands -errwarn=%all,$f... " >&6; }
24627
24628   save_CFLAGS="$CFLAGS"
24629   CFLAGS="$CFLAGS -errwarn=%all,$f"
24630
24631   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24632 /* end confdefs.h.  */
24633
24634 int
24635 main ()
24636 {
24637
24638   ;
24639   return 0;
24640 }
24641 _ACEOF
24642 if ac_fn_c_try_compile "$LINENO"; then :
24643   flag_ok=yes
24644 else
24645   flag_ok=no
24646 fi
24647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24648   CFLAGS="$save_CFLAGS"
24649
24650   if test "X$flag_ok" = Xyes ; then
24651
24652               ERROR_CFLAGS="$ERROR_CFLAGS,$f"
24653
24654     true
24655   else
24656
24657     true
24658   fi
24659   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24660 $as_echo "$flag_ok" >&6; }
24661
24662           done
24663
24664     true
24665   else
24666
24667     true
24668   fi
24669   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24670 $as_echo "$flag_ok" >&6; }
24671
24672     else
24673                         if test -n "$PKG_CONFIG" && \
24674     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 < 2.19.8\""; } >&5
24675   ($PKG_CONFIG --exists --print-errors "glib-2.0 < 2.19.8") 2>&5
24676   ac_status=$?
24677   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24678   test $ac_status = 0; }; then
24679
24680
24681   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -fno-strict-aliasing" >&5
24682 $as_echo_n "checking to see if compiler understands -fno-strict-aliasing... " >&6; }
24683
24684   save_CFLAGS="$CFLAGS"
24685   CFLAGS="$CFLAGS -fno-strict-aliasing"
24686
24687   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24688 /* end confdefs.h.  */
24689
24690 int
24691 main ()
24692 {
24693
24694   ;
24695   return 0;
24696 }
24697 _ACEOF
24698 if ac_fn_c_try_compile "$LINENO"; then :
24699   flag_ok=yes
24700 else
24701   flag_ok=no
24702 fi
24703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24704   CFLAGS="$save_CFLAGS"
24705
24706   if test "X$flag_ok" = Xyes ; then
24707     ERROR_CFLAGS="$ERROR_CFLAGS -fno-strict-aliasing"
24708     true
24709   else
24710
24711     true
24712   fi
24713   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24714 $as_echo "$flag_ok" >&6; }
24715
24716
24717 fi
24718     fi
24719   fi
24720
24721   if test "x
24722     -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wundef
24723     -Wwrite-strings -Wformat-nonliteral -Wformat-security
24724     -Winit-self -Wmissing-include-dirs -Waddress -Waggregate-return
24725     -Wno-multichar -Wnested-externs $NO_WARNINGS" != "x"
24726   then
24727     UNSUPPORTED=""
24728     list="
24729     -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wundef
24730     -Wwrite-strings -Wformat-nonliteral -Wformat-security
24731     -Winit-self -Wmissing-include-dirs -Waddress -Waggregate-return
24732     -Wno-multichar -Wnested-externs $NO_WARNINGS"
24733     for each in $list
24734     do
24735
24736   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands $each" >&5
24737 $as_echo_n "checking to see if compiler understands $each... " >&6; }
24738
24739   save_CFLAGS="$CFLAGS"
24740   CFLAGS="$CFLAGS $each"
24741
24742   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24743 /* end confdefs.h.  */
24744
24745 int
24746 main ()
24747 {
24748
24749   ;
24750   return 0;
24751 }
24752 _ACEOF
24753 if ac_fn_c_try_compile "$LINENO"; then :
24754   flag_ok=yes
24755 else
24756   flag_ok=no
24757 fi
24758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24759   CFLAGS="$save_CFLAGS"
24760
24761   if test "X$flag_ok" = Xyes ; then
24762     WARNING_CFLAGS="$WARNING_CFLAGS $each"
24763     true
24764   else
24765     UNSUPPORTED="$UNSUPPORTED $each"
24766     true
24767   fi
24768   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24769 $as_echo "$flag_ok" >&6; }
24770
24771     done
24772     if test "X$UNSUPPORTED" != X ; then
24773       { $as_echo "$as_me:${as_lineno-$LINENO}: unsupported compiler flags: $UNSUPPORTED" >&5
24774 $as_echo "$as_me: unsupported compiler flags: $UNSUPPORTED" >&6;}
24775     fi
24776   fi
24777
24778
24779
24780   { $as_echo "$as_me:${as_lineno-$LINENO}: set WARNING_CFLAGS to $WARNING_CFLAGS" >&5
24781 $as_echo "$as_me: set WARNING_CFLAGS to $WARNING_CFLAGS" >&6;}
24782   { $as_echo "$as_me:${as_lineno-$LINENO}: set ERROR_CFLAGS to $ERROR_CFLAGS" >&5
24783 $as_echo "$as_me: set ERROR_CFLAGS to $ERROR_CFLAGS" >&6;}
24784
24785
24786
24787
24788
24789   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands " >&5
24790 $as_echo_n "checking to see if c++ compiler understands ... " >&6; }
24791
24792   save_CPPFLAGS="$CPPFLAGS"
24793   CPPFLAGS="$CPPFLAGS "
24794
24795   ac_ext=cpp
24796 ac_cpp='$CXXCPP $CPPFLAGS'
24797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24800
24801
24802   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24803 /* end confdefs.h.  */
24804
24805 int
24806 main ()
24807 {
24808
24809   ;
24810   return 0;
24811 }
24812 _ACEOF
24813 if ac_fn_cxx_try_compile "$LINENO"; then :
24814   flag_ok=yes
24815 else
24816   flag_ok=no
24817 fi
24818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24819   CPPFLAGS="$save_CPPFLAGS"
24820
24821   if test "X$flag_ok" = Xyes ; then
24822
24823     true
24824   else
24825
24826     true
24827   fi
24828
24829   ac_ext=c
24830 ac_cpp='$CPP $CPPFLAGS'
24831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24834
24835
24836   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24837 $as_echo "$flag_ok" >&6; }
24838
24839
24840
24841
24842
24843   ERROR_CXXFLAGS=""
24844   WARNING_CXXFLAGS=""
24845
24846
24847
24848
24849   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -Wall" >&5
24850 $as_echo_n "checking to see if c++ compiler understands -Wall... " >&6; }
24851
24852   save_CPPFLAGS="$CPPFLAGS"
24853   CPPFLAGS="$CPPFLAGS -Wall"
24854
24855   ac_ext=cpp
24856 ac_cpp='$CXXCPP $CPPFLAGS'
24857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24860
24861
24862   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24863 /* end confdefs.h.  */
24864
24865 int
24866 main ()
24867 {
24868
24869   ;
24870   return 0;
24871 }
24872 _ACEOF
24873 if ac_fn_cxx_try_compile "$LINENO"; then :
24874   flag_ok=yes
24875 else
24876   flag_ok=no
24877 fi
24878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24879   CPPFLAGS="$save_CPPFLAGS"
24880
24881   if test "X$flag_ok" = Xyes ; then
24882     WARNING_CXXFLAGS="$WARNING_CXXFLAGS -Wall"
24883     true
24884   else
24885
24886     true
24887   fi
24888
24889   ac_ext=c
24890 ac_cpp='$CPP $CPPFLAGS'
24891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24894
24895
24896   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24897 $as_echo "$flag_ok" >&6; }
24898
24899
24900     if test "x$GST_GIT" != "xno"
24901   then
24902
24903
24904
24905   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -Werror" >&5
24906 $as_echo_n "checking to see if c++ compiler understands -Werror... " >&6; }
24907
24908   save_CPPFLAGS="$CPPFLAGS"
24909   CPPFLAGS="$CPPFLAGS -Werror"
24910
24911   ac_ext=cpp
24912 ac_cpp='$CXXCPP $CPPFLAGS'
24913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24916
24917
24918   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24919 /* end confdefs.h.  */
24920
24921 int
24922 main ()
24923 {
24924
24925   ;
24926   return 0;
24927 }
24928 _ACEOF
24929 if ac_fn_cxx_try_compile "$LINENO"; then :
24930   flag_ok=yes
24931 else
24932   flag_ok=no
24933 fi
24934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24935   CPPFLAGS="$save_CPPFLAGS"
24936
24937   if test "X$flag_ok" = Xyes ; then
24938     ERROR_CXXFLAGS="$ERROR_CXXFLAGS -Werror"
24939     true
24940   else
24941
24942     true
24943   fi
24944
24945   ac_ext=c
24946 ac_cpp='$CPP $CPPFLAGS'
24947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24950
24951
24952   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24953 $as_echo "$flag_ok" >&6; }
24954
24955
24956     if test "x$ERROR_CXXFLAGS" != "x"
24957     then
24958
24959
24960
24961   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -Wno-non-virtual-dtor" >&5
24962 $as_echo_n "checking to see if c++ compiler understands -Wno-non-virtual-dtor... " >&6; }
24963
24964   save_CPPFLAGS="$CPPFLAGS"
24965   CPPFLAGS="$CPPFLAGS -Wno-non-virtual-dtor"
24966
24967   ac_ext=cpp
24968 ac_cpp='$CXXCPP $CPPFLAGS'
24969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24972
24973
24974   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24975 /* end confdefs.h.  */
24976
24977 int
24978 main ()
24979 {
24980
24981   ;
24982   return 0;
24983 }
24984 _ACEOF
24985 if ac_fn_cxx_try_compile "$LINENO"; then :
24986   flag_ok=yes
24987 else
24988   flag_ok=no
24989 fi
24990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24991   CPPFLAGS="$save_CPPFLAGS"
24992
24993   if test "X$flag_ok" = Xyes ; then
24994     ERROR_CXXFLAGS="$ERROR_CXXFLAGS -Wno-non-virtual-dtor"
24995     true
24996   else
24997
24998     true
24999   fi
25000
25001   ac_ext=c
25002 ac_cpp='$CPP $CPPFLAGS'
25003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25006
25007
25008   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25009 $as_echo "$flag_ok" >&6; }
25010
25011
25012                                 if test -n "$PKG_CONFIG" && \
25013     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 < 2.19.8\""; } >&5
25014   ($PKG_CONFIG --exists --print-errors "glib-2.0 < 2.19.8") 2>&5
25015   ac_status=$?
25016   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25017   test $ac_status = 0; }; then
25018
25019
25020
25021
25022   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -fno-strict-aliasing" >&5
25023 $as_echo_n "checking to see if c++ compiler understands -fno-strict-aliasing... " >&6; }
25024
25025   save_CPPFLAGS="$CPPFLAGS"
25026   CPPFLAGS="$CPPFLAGS -fno-strict-aliasing"
25027
25028   ac_ext=cpp
25029 ac_cpp='$CXXCPP $CPPFLAGS'
25030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25033
25034
25035   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25036 /* end confdefs.h.  */
25037
25038 int
25039 main ()
25040 {
25041
25042   ;
25043   return 0;
25044 }
25045 _ACEOF
25046 if ac_fn_cxx_try_compile "$LINENO"; then :
25047   flag_ok=yes
25048 else
25049   flag_ok=no
25050 fi
25051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25052   CPPFLAGS="$save_CPPFLAGS"
25053
25054   if test "X$flag_ok" = Xyes ; then
25055     ERROR_CXXFLAGS="$ERROR_CXXFLAGS -fno-strict-aliasing"
25056     true
25057   else
25058
25059     true
25060   fi
25061
25062   ac_ext=c
25063 ac_cpp='$CPP $CPPFLAGS'
25064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25067
25068
25069   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25070 $as_echo "$flag_ok" >&6; }
25071
25072
25073 fi
25074     else
25075
25076
25077
25078   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -errwarn=%all" >&5
25079 $as_echo_n "checking to see if c++ compiler understands -errwarn=%all... " >&6; }
25080
25081   save_CPPFLAGS="$CPPFLAGS"
25082   CPPFLAGS="$CPPFLAGS -errwarn=%all"
25083
25084   ac_ext=cpp
25085 ac_cpp='$CXXCPP $CPPFLAGS'
25086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25089
25090
25091   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25092 /* end confdefs.h.  */
25093
25094 int
25095 main ()
25096 {
25097
25098   ;
25099   return 0;
25100 }
25101 _ACEOF
25102 if ac_fn_cxx_try_compile "$LINENO"; then :
25103   flag_ok=yes
25104 else
25105   flag_ok=no
25106 fi
25107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25108   CPPFLAGS="$save_CPPFLAGS"
25109
25110   if test "X$flag_ok" = Xyes ; then
25111     ERROR_CXXFLAGS="$ERROR_CXXFLAGS -errwarn=%all"
25112     true
25113   else
25114
25115     true
25116   fi
25117
25118   ac_ext=c
25119 ac_cpp='$CPP $CPPFLAGS'
25120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25123
25124
25125   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25126 $as_echo "$flag_ok" >&6; }
25127
25128       if test "x$ERROR_CXXFLAGS" != "x"; then
25129                                                                                 for f in 'no%E_EMPTY_DECLARATION' \
25130                  'no%E_STATEMENT_NOT_REACHED' \
25131                  'no%E_ARGUEMENT_MISMATCH' \
25132                  'no%E_MACRO_REDEFINED' \
25133                  'no%E_LOOP_NOT_ENTERED_AT_TOP'
25134         do
25135
25136
25137
25138   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -errwarn=%all,$f" >&5
25139 $as_echo_n "checking to see if c++ compiler understands -errwarn=%all,$f... " >&6; }
25140
25141   save_CPPFLAGS="$CPPFLAGS"
25142   CPPFLAGS="$CPPFLAGS -errwarn=%all,$f"
25143
25144   ac_ext=cpp
25145 ac_cpp='$CXXCPP $CPPFLAGS'
25146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25149
25150
25151   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25152 /* end confdefs.h.  */
25153
25154 int
25155 main ()
25156 {
25157
25158   ;
25159   return 0;
25160 }
25161 _ACEOF
25162 if ac_fn_cxx_try_compile "$LINENO"; then :
25163   flag_ok=yes
25164 else
25165   flag_ok=no
25166 fi
25167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25168   CPPFLAGS="$save_CPPFLAGS"
25169
25170   if test "X$flag_ok" = Xyes ; then
25171     ERROR_CXXFLAGS="$ERROR_CXXFLAGS
25172     true
25173   else
25174     $f"
25175     true
25176   fi
25177
25178   ac_ext=c
25179 ac_cpp='$CPP $CPPFLAGS'
25180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25183
25184
25185   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25186 $as_echo "$flag_ok" >&6; }
25187
25188         done
25189       fi
25190     fi
25191   fi
25192
25193   if test "x
25194     -Wmissing-declarations -Wredundant-decls -Wundef
25195     -Wwrite-strings -Wformat-nonliteral -Wformat-security
25196     -Winit-self -Wmissing-include-dirs -Waddress -Waggregate-return
25197     -Wno-multichar $NO_WARNINGS" != "x"
25198   then
25199     UNSUPPORTED=""
25200     list="
25201     -Wmissing-declarations -Wredundant-decls -Wundef
25202     -Wwrite-strings -Wformat-nonliteral -Wformat-security
25203     -Winit-self -Wmissing-include-dirs -Waddress -Waggregate-return
25204     -Wno-multichar $NO_WARNINGS"
25205     for each in $list
25206     do
25207
25208
25209
25210   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands $each" >&5
25211 $as_echo_n "checking to see if c++ compiler understands $each... " >&6; }
25212
25213   save_CPPFLAGS="$CPPFLAGS"
25214   CPPFLAGS="$CPPFLAGS $each"
25215
25216   ac_ext=cpp
25217 ac_cpp='$CXXCPP $CPPFLAGS'
25218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25221
25222
25223   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25224 /* end confdefs.h.  */
25225
25226 int
25227 main ()
25228 {
25229
25230   ;
25231   return 0;
25232 }
25233 _ACEOF
25234 if ac_fn_cxx_try_compile "$LINENO"; then :
25235   flag_ok=yes
25236 else
25237   flag_ok=no
25238 fi
25239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25240   CPPFLAGS="$save_CPPFLAGS"
25241
25242   if test "X$flag_ok" = Xyes ; then
25243     WARNING_CXXFLAGS="$WARNING_CXXFLAGS $each"
25244     true
25245   else
25246     UNSUPPORTED="$UNSUPPORTED $each"
25247     true
25248   fi
25249
25250   ac_ext=c
25251 ac_cpp='$CPP $CPPFLAGS'
25252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25255
25256
25257   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25258 $as_echo "$flag_ok" >&6; }
25259
25260     done
25261     if test "X$UNSUPPORTED" != X ; then
25262       { $as_echo "$as_me:${as_lineno-$LINENO}: unsupported compiler flags: $UNSUPPORTED" >&5
25263 $as_echo "$as_me: unsupported compiler flags: $UNSUPPORTED" >&6;}
25264     fi
25265   fi
25266
25267
25268
25269   { $as_echo "$as_me:${as_lineno-$LINENO}: set WARNING_CXXFLAGS to $WARNING_CXXFLAGS" >&5
25270 $as_echo "$as_me: set WARNING_CXXFLAGS to $WARNING_CXXFLAGS" >&6;}
25271   { $as_echo "$as_me:${as_lineno-$LINENO}: set ERROR_CXXFLAGS to $ERROR_CXXFLAGS" >&5
25272 $as_echo "$as_me: set ERROR_CXXFLAGS to $ERROR_CXXFLAGS" >&6;}
25273
25274
25275
25276       if test "x$GST_GIT" = "xyes"; then
25277     GST_LEVEL_DEFAULT=GST_LEVEL_ERROR
25278   else
25279     GST_LEVEL_DEFAULT=GST_LEVEL_NONE
25280   fi
25281
25282 cat >>confdefs.h <<_ACEOF
25283 #define GST_LEVEL_DEFAULT $GST_LEVEL_DEFAULT
25284 _ACEOF
25285
25286
25287
25288
25289
25290             DEFAULT_AUDIOSINK="autoaudiosink"
25291   DEFAULT_VIDEOSINK="autovideosink"
25292   DEFAULT_AUDIOSRC="alsasrc"
25293   DEFAULT_VIDEOSRC="v4l2src"
25294   DEFAULT_VISUALIZER="goom"
25295   case "$host" in
25296     *-sun-* | *pc-solaris* )
25297       DEFAULT_AUDIOSRC="sunaudiosrc"
25298       ;;
25299     *-darwin* )
25300       DEFAULT_AUDIOSRC="osxaudiosrc"
25301       ;;
25302   esac
25303
25304
25305 # Check whether --with-default-audiosink was given.
25306 if test "${with_default_audiosink+set}" = set; then :
25307   withval=$with_default_audiosink;
25308       case "${withval}" in
25309         yes) as_fn_error $? "bad value ${withval} for --with-default-audiosink" "$LINENO" 5 ;;
25310         no)  as_fn_error $? "bad value ${withval} for --with-default-audiosink" "$LINENO" 5 ;;
25311         *)   DEFAULT_AUDIOSINK="${withval}" ;;
25312       esac
25313
25314 else
25315
25316       DEFAULT_AUDIOSINK="$DEFAULT_AUDIOSINK"
25317
25318 fi
25319
25320   { $as_echo "$as_me:${as_lineno-$LINENO}: Using $DEFAULT_AUDIOSINK as default audio sink" >&5
25321 $as_echo "$as_me: Using $DEFAULT_AUDIOSINK as default audio sink" >&6;}
25322
25323
25324 cat >>confdefs.h <<_ACEOF
25325 #define DEFAULT_AUDIOSINK "$DEFAULT_AUDIOSINK"
25326 _ACEOF
25327
25328
25329
25330 # Check whether --with-default-audiosrc was given.
25331 if test "${with_default_audiosrc+set}" = set; then :
25332   withval=$with_default_audiosrc;
25333       case "${withval}" in
25334         yes) as_fn_error $? "bad value ${withval} for --with-default-audiosrc" "$LINENO" 5 ;;
25335         no)  as_fn_error $? "bad value ${withval} for --with-default-audiosrc" "$LINENO" 5 ;;
25336         *)   DEFAULT_AUDIOSRC="${withval}" ;;
25337       esac
25338
25339 else
25340
25341       DEFAULT_AUDIOSRC="$DEFAULT_AUDIOSRC"
25342
25343 fi
25344
25345   { $as_echo "$as_me:${as_lineno-$LINENO}: Using $DEFAULT_AUDIOSRC as default audio source" >&5
25346 $as_echo "$as_me: Using $DEFAULT_AUDIOSRC as default audio source" >&6;}
25347
25348
25349 cat >>confdefs.h <<_ACEOF
25350 #define DEFAULT_AUDIOSRC "$DEFAULT_AUDIOSRC"
25351 _ACEOF
25352
25353
25354
25355 # Check whether --with-default-videosink was given.
25356 if test "${with_default_videosink+set}" = set; then :
25357   withval=$with_default_videosink;
25358       case "${withval}" in
25359         yes) as_fn_error $? "bad value ${withval} for --with-default-videosink" "$LINENO" 5 ;;
25360         no)  as_fn_error $? "bad value ${withval} for --with-default-videosink" "$LINENO" 5 ;;
25361         *)   DEFAULT_VIDEOSINK="${withval}" ;;
25362       esac
25363
25364 else
25365
25366       DEFAULT_VIDEOSINK="$DEFAULT_VIDEOSINK"
25367
25368 fi
25369
25370   { $as_echo "$as_me:${as_lineno-$LINENO}: Using $DEFAULT_VIDEOSINK as default video sink" >&5
25371 $as_echo "$as_me: Using $DEFAULT_VIDEOSINK as default video sink" >&6;}
25372
25373
25374 cat >>confdefs.h <<_ACEOF
25375 #define DEFAULT_VIDEOSINK "$DEFAULT_VIDEOSINK"
25376 _ACEOF
25377
25378
25379
25380 # Check whether --with-default-videosrc was given.
25381 if test "${with_default_videosrc+set}" = set; then :
25382   withval=$with_default_videosrc;
25383       case "${withval}" in
25384         yes) as_fn_error $? "bad value ${withval} for --with-default-videosrc" "$LINENO" 5 ;;
25385         no)  as_fn_error $? "bad value ${withval} for --with-default-videosrc" "$LINENO" 5 ;;
25386         *)   DEFAULT_VIDEOSRC="${withval}" ;;
25387       esac
25388
25389 else
25390
25391       DEFAULT_VIDEOSRC="$DEFAULT_VIDEOSRC"
25392
25393 fi
25394
25395   { $as_echo "$as_me:${as_lineno-$LINENO}: Using $DEFAULT_VIDEOSRC as default video source" >&5
25396 $as_echo "$as_me: Using $DEFAULT_VIDEOSRC as default video source" >&6;}
25397
25398
25399 cat >>confdefs.h <<_ACEOF
25400 #define DEFAULT_VIDEOSRC "$DEFAULT_VIDEOSRC"
25401 _ACEOF
25402
25403
25404
25405 # Check whether --with-default-visualizer was given.
25406 if test "${with_default_visualizer+set}" = set; then :
25407   withval=$with_default_visualizer;
25408       case "${withval}" in
25409         yes) as_fn_error $? "bad value ${withval} for --with-default-visualizer" "$LINENO" 5 ;;
25410         no)  as_fn_error $? "bad value ${withval} for --with-default-visualizer" "$LINENO" 5 ;;
25411         *)   DEFAULT_VISUALIZER="${withval}" ;;
25412       esac
25413
25414 else
25415
25416       DEFAULT_VISUALIZER="$DEFAULT_VISUALIZER"
25417
25418 fi
25419
25420   { $as_echo "$as_me:${as_lineno-$LINENO}: Using $DEFAULT_VISUALIZER as default visualizer" >&5
25421 $as_echo "$as_me: Using $DEFAULT_VISUALIZER as default visualizer" >&6;}
25422
25423
25424 cat >>confdefs.h <<_ACEOF
25425 #define DEFAULT_VISUALIZER "$DEFAULT_VISUALIZER"
25426 _ACEOF
25427
25428
25429
25430 GST_DATADIR="$GST_PREFIX/share"
25431
25432 cat >>confdefs.h <<_ACEOF
25433 #define GST_DATADIR "$GST_DATADIR"
25434 _ACEOF
25435
25436
25437 cat >>confdefs.h <<_ACEOF
25438 #define GST_MAJORMINOR "$GST_MAJORMINOR"
25439 _ACEOF
25440
25441
25442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which audio resample format to use for integer" >&5
25443 $as_echo_n "checking which audio resample format to use for integer... " >&6; }
25444
25445 # Check whether --with-audioresample_format was given.
25446 if test "${with_audioresample_format+set}" = set; then :
25447   withval=$with_audioresample_format; ac_cv_audioresample_format=$withval
25448 else
25449   ac_cv_audioresample_format=auto
25450 fi
25451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_audioresample_format" >&5
25452 $as_echo "$ac_cv_audioresample_format" >&6; }
25453 case $ac_cv_audioresample_format in
25454   int)
25455
25456 $as_echo "#define AUDIORESAMPLE_FORMAT_INT 1" >>confdefs.h
25457
25458
25459   ;;
25460   float)
25461
25462 $as_echo "#define AUDIORESAMPLE_FORMAT_FLOAT 1" >>confdefs.h
25463
25464
25465   ;;
25466   auto)
25467
25468 $as_echo "#define AUDIORESAMPLE_FORMAT_AUTO 1" >>confdefs.h
25469
25470
25471 esac
25472
25473
25474
25475   GST_PLUGINS_ALL="$GST_PLUGINS_ALL adder"
25476
25477
25478
25479   # Check whether --enable-adder was given.
25480 if test "${enable_adder+set}" = set; then :
25481   enableval=$enable_adder;
25482       case "${enableval}" in
25483         yes) gst_use_adder=yes ;;
25484         no) gst_use_adder=no ;;
25485         *) as_fn_error $? "bad value ${enableval} for --enable-adder" "$LINENO" 5 ;;
25486        esac
25487
25488 else
25489   gst_use_adder=yes
25490 fi
25491
25492   if test x$gst_use_adder = xno; then
25493     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin adder" >&5
25494 $as_echo "$as_me: disabling dependency-less plugin adder" >&6;}
25495     WITHOUT_PLUGINS="$WITHOUT_PLUGINS adder"
25496   fi
25497
25498
25499   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " adder " > /dev/null; then
25500     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED adder"
25501   fi
25502   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " adder " > /dev/null; then
25503     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ adder / /'`
25504   fi
25505    if echo " $GST_PLUGINS_SELECTED " | grep -i " adder " > /dev/null; then
25506   USE_PLUGIN_ADDER_TRUE=
25507   USE_PLUGIN_ADDER_FALSE='#'
25508 else
25509   USE_PLUGIN_ADDER_TRUE='#'
25510   USE_PLUGIN_ADDER_FALSE=
25511 fi
25512
25513
25514
25515   GST_PLUGINS_ALL="$GST_PLUGINS_ALL app"
25516
25517
25518
25519   # Check whether --enable-app was given.
25520 if test "${enable_app+set}" = set; then :
25521   enableval=$enable_app;
25522       case "${enableval}" in
25523         yes) gst_use_app=yes ;;
25524         no) gst_use_app=no ;;
25525         *) as_fn_error $? "bad value ${enableval} for --enable-app" "$LINENO" 5 ;;
25526        esac
25527
25528 else
25529   gst_use_app=yes
25530 fi
25531
25532   if test x$gst_use_app = xno; then
25533     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin app" >&5
25534 $as_echo "$as_me: disabling dependency-less plugin app" >&6;}
25535     WITHOUT_PLUGINS="$WITHOUT_PLUGINS app"
25536   fi
25537
25538
25539   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " app " > /dev/null; then
25540     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED app"
25541   fi
25542   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " app " > /dev/null; then
25543     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ app / /'`
25544   fi
25545    if echo " $GST_PLUGINS_SELECTED " | grep -i " app " > /dev/null; then
25546   USE_PLUGIN_APP_TRUE=
25547   USE_PLUGIN_APP_FALSE='#'
25548 else
25549   USE_PLUGIN_APP_TRUE='#'
25550   USE_PLUGIN_APP_FALSE=
25551 fi
25552
25553
25554
25555   GST_PLUGINS_ALL="$GST_PLUGINS_ALL audioconvert"
25556
25557
25558
25559   # Check whether --enable-audioconvert was given.
25560 if test "${enable_audioconvert+set}" = set; then :
25561   enableval=$enable_audioconvert;
25562       case "${enableval}" in
25563         yes) gst_use_audioconvert=yes ;;
25564         no) gst_use_audioconvert=no ;;
25565         *) as_fn_error $? "bad value ${enableval} for --enable-audioconvert" "$LINENO" 5 ;;
25566        esac
25567
25568 else
25569   gst_use_audioconvert=yes
25570 fi
25571
25572   if test x$gst_use_audioconvert = xno; then
25573     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin audioconvert" >&5
25574 $as_echo "$as_me: disabling dependency-less plugin audioconvert" >&6;}
25575     WITHOUT_PLUGINS="$WITHOUT_PLUGINS audioconvert"
25576   fi
25577
25578
25579   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " audioconvert " > /dev/null; then
25580     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED audioconvert"
25581   fi
25582   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " audioconvert " > /dev/null; then
25583     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ audioconvert / /'`
25584   fi
25585    if echo " $GST_PLUGINS_SELECTED " | grep -i " audioconvert " > /dev/null; then
25586   USE_PLUGIN_AUDIOCONVERT_TRUE=
25587   USE_PLUGIN_AUDIOCONVERT_FALSE='#'
25588 else
25589   USE_PLUGIN_AUDIOCONVERT_TRUE='#'
25590   USE_PLUGIN_AUDIOCONVERT_FALSE=
25591 fi
25592
25593
25594
25595   GST_PLUGINS_ALL="$GST_PLUGINS_ALL audiorate"
25596
25597
25598
25599   # Check whether --enable-audiorate was given.
25600 if test "${enable_audiorate+set}" = set; then :
25601   enableval=$enable_audiorate;
25602       case "${enableval}" in
25603         yes) gst_use_audiorate=yes ;;
25604         no) gst_use_audiorate=no ;;
25605         *) as_fn_error $? "bad value ${enableval} for --enable-audiorate" "$LINENO" 5 ;;
25606        esac
25607
25608 else
25609   gst_use_audiorate=yes
25610 fi
25611
25612   if test x$gst_use_audiorate = xno; then
25613     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin audiorate" >&5
25614 $as_echo "$as_me: disabling dependency-less plugin audiorate" >&6;}
25615     WITHOUT_PLUGINS="$WITHOUT_PLUGINS audiorate"
25616   fi
25617
25618
25619   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " audiorate " > /dev/null; then
25620     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED audiorate"
25621   fi
25622   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " audiorate " > /dev/null; then
25623     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ audiorate / /'`
25624   fi
25625    if echo " $GST_PLUGINS_SELECTED " | grep -i " audiorate " > /dev/null; then
25626   USE_PLUGIN_AUDIORATE_TRUE=
25627   USE_PLUGIN_AUDIORATE_FALSE='#'
25628 else
25629   USE_PLUGIN_AUDIORATE_TRUE='#'
25630   USE_PLUGIN_AUDIORATE_FALSE=
25631 fi
25632
25633
25634
25635   GST_PLUGINS_ALL="$GST_PLUGINS_ALL audiotestsrc"
25636
25637
25638
25639   # Check whether --enable-audiotestsrc was given.
25640 if test "${enable_audiotestsrc+set}" = set; then :
25641   enableval=$enable_audiotestsrc;
25642       case "${enableval}" in
25643         yes) gst_use_audiotestsrc=yes ;;
25644         no) gst_use_audiotestsrc=no ;;
25645         *) as_fn_error $? "bad value ${enableval} for --enable-audiotestsrc" "$LINENO" 5 ;;
25646        esac
25647
25648 else
25649   gst_use_audiotestsrc=yes
25650 fi
25651
25652   if test x$gst_use_audiotestsrc = xno; then
25653     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin audiotestsrc" >&5
25654 $as_echo "$as_me: disabling dependency-less plugin audiotestsrc" >&6;}
25655     WITHOUT_PLUGINS="$WITHOUT_PLUGINS audiotestsrc"
25656   fi
25657
25658
25659   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " audiotestsrc " > /dev/null; then
25660     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED audiotestsrc"
25661   fi
25662   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " audiotestsrc " > /dev/null; then
25663     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ audiotestsrc / /'`
25664   fi
25665    if echo " $GST_PLUGINS_SELECTED " | grep -i " audiotestsrc " > /dev/null; then
25666   USE_PLUGIN_AUDIOTESTSRC_TRUE=
25667   USE_PLUGIN_AUDIOTESTSRC_FALSE='#'
25668 else
25669   USE_PLUGIN_AUDIOTESTSRC_TRUE='#'
25670   USE_PLUGIN_AUDIOTESTSRC_FALSE=
25671 fi
25672
25673
25674
25675   GST_PLUGINS_ALL="$GST_PLUGINS_ALL encoding"
25676
25677
25678
25679   # Check whether --enable-encoding was given.
25680 if test "${enable_encoding+set}" = set; then :
25681   enableval=$enable_encoding;
25682       case "${enableval}" in
25683         yes) gst_use_encoding=yes ;;
25684         no) gst_use_encoding=no ;;
25685         *) as_fn_error $? "bad value ${enableval} for --enable-encoding" "$LINENO" 5 ;;
25686        esac
25687
25688 else
25689   gst_use_encoding=yes
25690 fi
25691
25692   if test x$gst_use_encoding = xno; then
25693     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin encoding" >&5
25694 $as_echo "$as_me: disabling dependency-less plugin encoding" >&6;}
25695     WITHOUT_PLUGINS="$WITHOUT_PLUGINS encoding"
25696   fi
25697
25698
25699   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " encoding " > /dev/null; then
25700     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED encoding"
25701   fi
25702   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " encoding " > /dev/null; then
25703     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ encoding / /'`
25704   fi
25705    if echo " $GST_PLUGINS_SELECTED " | grep -i " encoding " > /dev/null; then
25706   USE_PLUGIN_ENCODING_TRUE=
25707   USE_PLUGIN_ENCODING_FALSE='#'
25708 else
25709   USE_PLUGIN_ENCODING_TRUE='#'
25710   USE_PLUGIN_ENCODING_FALSE=
25711 fi
25712
25713
25714
25715   GST_PLUGINS_ALL="$GST_PLUGINS_ALL ffmpegcolorspace"
25716
25717
25718
25719   # Check whether --enable-ffmpegcolorspace was given.
25720 if test "${enable_ffmpegcolorspace+set}" = set; then :
25721   enableval=$enable_ffmpegcolorspace;
25722       case "${enableval}" in
25723         yes) gst_use_ffmpegcolorspace=yes ;;
25724         no) gst_use_ffmpegcolorspace=no ;;
25725         *) as_fn_error $? "bad value ${enableval} for --enable-ffmpegcolorspace" "$LINENO" 5 ;;
25726        esac
25727
25728 else
25729   gst_use_ffmpegcolorspace=yes
25730 fi
25731
25732   if test x$gst_use_ffmpegcolorspace = xno; then
25733     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin ffmpegcolorspace" >&5
25734 $as_echo "$as_me: disabling dependency-less plugin ffmpegcolorspace" >&6;}
25735     WITHOUT_PLUGINS="$WITHOUT_PLUGINS ffmpegcolorspace"
25736   fi
25737
25738
25739   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " ffmpegcolorspace " > /dev/null; then
25740     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED ffmpegcolorspace"
25741   fi
25742   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " ffmpegcolorspace " > /dev/null; then
25743     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ ffmpegcolorspace / /'`
25744   fi
25745    if echo " $GST_PLUGINS_SELECTED " | grep -i " ffmpegcolorspace " > /dev/null; then
25746   USE_PLUGIN_FFMPEGCOLORSPACE_TRUE=
25747   USE_PLUGIN_FFMPEGCOLORSPACE_FALSE='#'
25748 else
25749   USE_PLUGIN_FFMPEGCOLORSPACE_TRUE='#'
25750   USE_PLUGIN_FFMPEGCOLORSPACE_FALSE=
25751 fi
25752
25753
25754
25755   GST_PLUGINS_ALL="$GST_PLUGINS_ALL gdp"
25756
25757
25758
25759   # Check whether --enable-gdp was given.
25760 if test "${enable_gdp+set}" = set; then :
25761   enableval=$enable_gdp;
25762       case "${enableval}" in
25763         yes) gst_use_gdp=yes ;;
25764         no) gst_use_gdp=no ;;
25765         *) as_fn_error $? "bad value ${enableval} for --enable-gdp" "$LINENO" 5 ;;
25766        esac
25767
25768 else
25769   gst_use_gdp=yes
25770 fi
25771
25772   if test x$gst_use_gdp = xno; then
25773     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin gdp" >&5
25774 $as_echo "$as_me: disabling dependency-less plugin gdp" >&6;}
25775     WITHOUT_PLUGINS="$WITHOUT_PLUGINS gdp"
25776   fi
25777
25778
25779   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " gdp " > /dev/null; then
25780     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED gdp"
25781   fi
25782   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " gdp " > /dev/null; then
25783     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ gdp / /'`
25784   fi
25785    if echo " $GST_PLUGINS_SELECTED " | grep -i " gdp " > /dev/null; then
25786   USE_PLUGIN_GDP_TRUE=
25787   USE_PLUGIN_GDP_FALSE='#'
25788 else
25789   USE_PLUGIN_GDP_TRUE='#'
25790   USE_PLUGIN_GDP_FALSE=
25791 fi
25792
25793
25794
25795   GST_PLUGINS_ALL="$GST_PLUGINS_ALL playback"
25796
25797
25798
25799   # Check whether --enable-playback was given.
25800 if test "${enable_playback+set}" = set; then :
25801   enableval=$enable_playback;
25802       case "${enableval}" in
25803         yes) gst_use_playback=yes ;;
25804         no) gst_use_playback=no ;;
25805         *) as_fn_error $? "bad value ${enableval} for --enable-playback" "$LINENO" 5 ;;
25806        esac
25807
25808 else
25809   gst_use_playback=yes
25810 fi
25811
25812   if test x$gst_use_playback = xno; then
25813     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin playback" >&5
25814 $as_echo "$as_me: disabling dependency-less plugin playback" >&6;}
25815     WITHOUT_PLUGINS="$WITHOUT_PLUGINS playback"
25816   fi
25817
25818
25819   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " playback " > /dev/null; then
25820     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED playback"
25821   fi
25822   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " playback " > /dev/null; then
25823     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ playback / /'`
25824   fi
25825    if echo " $GST_PLUGINS_SELECTED " | grep -i " playback " > /dev/null; then
25826   USE_PLUGIN_PLAYBACK_TRUE=
25827   USE_PLUGIN_PLAYBACK_FALSE='#'
25828 else
25829   USE_PLUGIN_PLAYBACK_TRUE='#'
25830   USE_PLUGIN_PLAYBACK_FALSE=
25831 fi
25832
25833
25834
25835   GST_PLUGINS_ALL="$GST_PLUGINS_ALL audioresample"
25836
25837
25838
25839   # Check whether --enable-audioresample was given.
25840 if test "${enable_audioresample+set}" = set; then :
25841   enableval=$enable_audioresample;
25842       case "${enableval}" in
25843         yes) gst_use_audioresample=yes ;;
25844         no) gst_use_audioresample=no ;;
25845         *) as_fn_error $? "bad value ${enableval} for --enable-audioresample" "$LINENO" 5 ;;
25846        esac
25847
25848 else
25849   gst_use_audioresample=yes
25850 fi
25851
25852   if test x$gst_use_audioresample = xno; then
25853     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin audioresample" >&5
25854 $as_echo "$as_me: disabling dependency-less plugin audioresample" >&6;}
25855     WITHOUT_PLUGINS="$WITHOUT_PLUGINS audioresample"
25856   fi
25857
25858
25859   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " audioresample " > /dev/null; then
25860     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED audioresample"
25861   fi
25862   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " audioresample " > /dev/null; then
25863     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ audioresample / /'`
25864   fi
25865    if echo " $GST_PLUGINS_SELECTED " | grep -i " audioresample " > /dev/null; then
25866   USE_PLUGIN_AUDIORESAMPLE_TRUE=
25867   USE_PLUGIN_AUDIORESAMPLE_FALSE='#'
25868 else
25869   USE_PLUGIN_AUDIORESAMPLE_TRUE='#'
25870   USE_PLUGIN_AUDIORESAMPLE_FALSE=
25871 fi
25872
25873
25874
25875   GST_PLUGINS_ALL="$GST_PLUGINS_ALL subparse"
25876
25877
25878
25879   # Check whether --enable-subparse was given.
25880 if test "${enable_subparse+set}" = set; then :
25881   enableval=$enable_subparse;
25882       case "${enableval}" in
25883         yes) gst_use_subparse=yes ;;
25884         no) gst_use_subparse=no ;;
25885         *) as_fn_error $? "bad value ${enableval} for --enable-subparse" "$LINENO" 5 ;;
25886        esac
25887
25888 else
25889   gst_use_subparse=yes
25890 fi
25891
25892   if test x$gst_use_subparse = xno; then
25893     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin subparse" >&5
25894 $as_echo "$as_me: disabling dependency-less plugin subparse" >&6;}
25895     WITHOUT_PLUGINS="$WITHOUT_PLUGINS subparse"
25896   fi
25897
25898
25899   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " subparse " > /dev/null; then
25900     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED subparse"
25901   fi
25902   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " subparse " > /dev/null; then
25903     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ subparse / /'`
25904   fi
25905    if echo " $GST_PLUGINS_SELECTED " | grep -i " subparse " > /dev/null; then
25906   USE_PLUGIN_SUBPARSE_TRUE=
25907   USE_PLUGIN_SUBPARSE_FALSE='#'
25908 else
25909   USE_PLUGIN_SUBPARSE_TRUE='#'
25910   USE_PLUGIN_SUBPARSE_FALSE=
25911 fi
25912
25913
25914
25915   GST_PLUGINS_ALL="$GST_PLUGINS_ALL tcp"
25916
25917
25918
25919   # Check whether --enable-tcp was given.
25920 if test "${enable_tcp+set}" = set; then :
25921   enableval=$enable_tcp;
25922       case "${enableval}" in
25923         yes) gst_use_tcp=yes ;;
25924         no) gst_use_tcp=no ;;
25925         *) as_fn_error $? "bad value ${enableval} for --enable-tcp" "$LINENO" 5 ;;
25926        esac
25927
25928 else
25929   gst_use_tcp=yes
25930 fi
25931
25932   if test x$gst_use_tcp = xno; then
25933     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin tcp" >&5
25934 $as_echo "$as_me: disabling dependency-less plugin tcp" >&6;}
25935     WITHOUT_PLUGINS="$WITHOUT_PLUGINS tcp"
25936   fi
25937
25938
25939   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " tcp " > /dev/null; then
25940     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED tcp"
25941   fi
25942   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " tcp " > /dev/null; then
25943     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ tcp / /'`
25944   fi
25945    if echo " $GST_PLUGINS_SELECTED " | grep -i " tcp " > /dev/null; then
25946   USE_PLUGIN_TCP_TRUE=
25947   USE_PLUGIN_TCP_FALSE='#'
25948 else
25949   USE_PLUGIN_TCP_TRUE='#'
25950   USE_PLUGIN_TCP_FALSE=
25951 fi
25952
25953
25954
25955   GST_PLUGINS_ALL="$GST_PLUGINS_ALL typefind"
25956
25957
25958
25959   # Check whether --enable-typefind was given.
25960 if test "${enable_typefind+set}" = set; then :
25961   enableval=$enable_typefind;
25962       case "${enableval}" in
25963         yes) gst_use_typefind=yes ;;
25964         no) gst_use_typefind=no ;;
25965         *) as_fn_error $? "bad value ${enableval} for --enable-typefind" "$LINENO" 5 ;;
25966        esac
25967
25968 else
25969   gst_use_typefind=yes
25970 fi
25971
25972   if test x$gst_use_typefind = xno; then
25973     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin typefind" >&5
25974 $as_echo "$as_me: disabling dependency-less plugin typefind" >&6;}
25975     WITHOUT_PLUGINS="$WITHOUT_PLUGINS typefind"
25976   fi
25977
25978
25979   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " typefind " > /dev/null; then
25980     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED typefind"
25981   fi
25982   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " typefind " > /dev/null; then
25983     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ typefind / /'`
25984   fi
25985    if echo " $GST_PLUGINS_SELECTED " | grep -i " typefind " > /dev/null; then
25986   USE_PLUGIN_TYPEFIND_TRUE=
25987   USE_PLUGIN_TYPEFIND_FALSE='#'
25988 else
25989   USE_PLUGIN_TYPEFIND_TRUE='#'
25990   USE_PLUGIN_TYPEFIND_FALSE=
25991 fi
25992
25993
25994
25995   GST_PLUGINS_ALL="$GST_PLUGINS_ALL videotestsrc"
25996
25997
25998
25999   # Check whether --enable-videotestsrc was given.
26000 if test "${enable_videotestsrc+set}" = set; then :
26001   enableval=$enable_videotestsrc;
26002       case "${enableval}" in
26003         yes) gst_use_videotestsrc=yes ;;
26004         no) gst_use_videotestsrc=no ;;
26005         *) as_fn_error $? "bad value ${enableval} for --enable-videotestsrc" "$LINENO" 5 ;;
26006        esac
26007
26008 else
26009   gst_use_videotestsrc=yes
26010 fi
26011
26012   if test x$gst_use_videotestsrc = xno; then
26013     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin videotestsrc" >&5
26014 $as_echo "$as_me: disabling dependency-less plugin videotestsrc" >&6;}
26015     WITHOUT_PLUGINS="$WITHOUT_PLUGINS videotestsrc"
26016   fi
26017
26018
26019   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " videotestsrc " > /dev/null; then
26020     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED videotestsrc"
26021   fi
26022   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " videotestsrc " > /dev/null; then
26023     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ videotestsrc / /'`
26024   fi
26025    if echo " $GST_PLUGINS_SELECTED " | grep -i " videotestsrc " > /dev/null; then
26026   USE_PLUGIN_VIDEOTESTSRC_TRUE=
26027   USE_PLUGIN_VIDEOTESTSRC_FALSE='#'
26028 else
26029   USE_PLUGIN_VIDEOTESTSRC_TRUE='#'
26030   USE_PLUGIN_VIDEOTESTSRC_FALSE=
26031 fi
26032
26033
26034
26035   GST_PLUGINS_ALL="$GST_PLUGINS_ALL videorate"
26036
26037
26038
26039   # Check whether --enable-videorate was given.
26040 if test "${enable_videorate+set}" = set; then :
26041   enableval=$enable_videorate;
26042       case "${enableval}" in
26043         yes) gst_use_videorate=yes ;;
26044         no) gst_use_videorate=no ;;
26045         *) as_fn_error $? "bad value ${enableval} for --enable-videorate" "$LINENO" 5 ;;
26046        esac
26047
26048 else
26049   gst_use_videorate=yes
26050 fi
26051
26052   if test x$gst_use_videorate = xno; then
26053     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin videorate" >&5
26054 $as_echo "$as_me: disabling dependency-less plugin videorate" >&6;}
26055     WITHOUT_PLUGINS="$WITHOUT_PLUGINS videorate"
26056   fi
26057
26058
26059   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " videorate " > /dev/null; then
26060     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED videorate"
26061   fi
26062   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " videorate " > /dev/null; then
26063     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ videorate / /'`
26064   fi
26065    if echo " $GST_PLUGINS_SELECTED " | grep -i " videorate " > /dev/null; then
26066   USE_PLUGIN_VIDEORATE_TRUE=
26067   USE_PLUGIN_VIDEORATE_FALSE='#'
26068 else
26069   USE_PLUGIN_VIDEORATE_TRUE='#'
26070   USE_PLUGIN_VIDEORATE_FALSE=
26071 fi
26072
26073
26074
26075   GST_PLUGINS_ALL="$GST_PLUGINS_ALL videoscale"
26076
26077
26078
26079   # Check whether --enable-videoscale was given.
26080 if test "${enable_videoscale+set}" = set; then :
26081   enableval=$enable_videoscale;
26082       case "${enableval}" in
26083         yes) gst_use_videoscale=yes ;;
26084         no) gst_use_videoscale=no ;;
26085         *) as_fn_error $? "bad value ${enableval} for --enable-videoscale" "$LINENO" 5 ;;
26086        esac
26087
26088 else
26089   gst_use_videoscale=yes
26090 fi
26091
26092   if test x$gst_use_videoscale = xno; then
26093     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin videoscale" >&5
26094 $as_echo "$as_me: disabling dependency-less plugin videoscale" >&6;}
26095     WITHOUT_PLUGINS="$WITHOUT_PLUGINS videoscale"
26096   fi
26097
26098
26099   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " videoscale " > /dev/null; then
26100     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED videoscale"
26101   fi
26102   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " videoscale " > /dev/null; then
26103     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ videoscale / /'`
26104   fi
26105    if echo " $GST_PLUGINS_SELECTED " | grep -i " videoscale " > /dev/null; then
26106   USE_PLUGIN_VIDEOSCALE_TRUE=
26107   USE_PLUGIN_VIDEOSCALE_FALSE='#'
26108 else
26109   USE_PLUGIN_VIDEOSCALE_TRUE='#'
26110   USE_PLUGIN_VIDEOSCALE_FALSE=
26111 fi
26112
26113
26114
26115   GST_PLUGINS_ALL="$GST_PLUGINS_ALL volume"
26116
26117
26118
26119   # Check whether --enable-volume was given.
26120 if test "${enable_volume+set}" = set; then :
26121   enableval=$enable_volume;
26122       case "${enableval}" in
26123         yes) gst_use_volume=yes ;;
26124         no) gst_use_volume=no ;;
26125         *) as_fn_error $? "bad value ${enableval} for --enable-volume" "$LINENO" 5 ;;
26126        esac
26127
26128 else
26129   gst_use_volume=yes
26130 fi
26131
26132   if test x$gst_use_volume = xno; then
26133     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin volume" >&5
26134 $as_echo "$as_me: disabling dependency-less plugin volume" >&6;}
26135     WITHOUT_PLUGINS="$WITHOUT_PLUGINS volume"
26136   fi
26137
26138
26139   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " volume " > /dev/null; then
26140     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED volume"
26141   fi
26142   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " volume " > /dev/null; then
26143     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ volume / /'`
26144   fi
26145    if echo " $GST_PLUGINS_SELECTED " | grep -i " volume " > /dev/null; then
26146   USE_PLUGIN_VOLUME_TRUE=
26147   USE_PLUGIN_VOLUME_FALSE='#'
26148 else
26149   USE_PLUGIN_VOLUME_TRUE='#'
26150   USE_PLUGIN_VOLUME_FALSE=
26151 fi
26152
26153
26154
26155 GST_CONFIGPATH=`$PKG_CONFIG --variable=includedir gstreamer-0.10`"/gst/gstconfig.h"
26156
26157
26158   grep >/dev/null "#undef GST_DISABLE_GST_DEBUG" $GST_CONFIGPATH
26159   if test $? = 0; then
26160     GST_DISABLE_GST_DEBUG=0
26161   else
26162     GST_DISABLE_GST_DEBUG=1
26163   fi
26164
26165
26166
26167   grep >/dev/null "#undef GST_DISABLE_LOADSAVE" $GST_CONFIGPATH
26168   if test $? = 0; then
26169     GST_DISABLE_LOADSAVE=0
26170   else
26171     GST_DISABLE_LOADSAVE=1
26172   fi
26173
26174
26175
26176   grep >/dev/null "#undef GST_DISABLE_PARSE" $GST_CONFIGPATH
26177   if test $? = 0; then
26178     GST_DISABLE_PARSE=0
26179   else
26180     GST_DISABLE_PARSE=1
26181   fi
26182
26183
26184
26185   grep >/dev/null "#undef GST_DISABLE_TRACE" $GST_CONFIGPATH
26186   if test $? = 0; then
26187     GST_DISABLE_TRACE=0
26188   else
26189     GST_DISABLE_TRACE=1
26190   fi
26191
26192
26193
26194   grep >/dev/null "#undef GST_DISABLE_ALLOC_TRACE" $GST_CONFIGPATH
26195   if test $? = 0; then
26196     GST_DISABLE_ALLOC_TRACE=0
26197   else
26198     GST_DISABLE_ALLOC_TRACE=1
26199   fi
26200
26201
26202
26203   grep >/dev/null "#undef GST_DISABLE_REGISTRY" $GST_CONFIGPATH
26204   if test $? = 0; then
26205     GST_DISABLE_REGISTRY=0
26206   else
26207     GST_DISABLE_REGISTRY=1
26208   fi
26209
26210
26211
26212   grep >/dev/null "#undef GST_DISABLE_PLUGIN" $GST_CONFIGPATH
26213   if test $? = 0; then
26214     GST_DISABLE_PLUGIN=0
26215   else
26216     GST_DISABLE_PLUGIN=1
26217   fi
26218
26219
26220
26221   grep >/dev/null "#undef GST_DISABLE_XML" $GST_CONFIGPATH
26222   if test $? = 0; then
26223     GST_DISABLE_XML=0
26224   else
26225     GST_DISABLE_XML=1
26226   fi
26227
26228
26229
26230  if test $GST_DISABLE_XML != "1"; then
26231   USE_XML_TRUE=
26232   USE_XML_FALSE='#'
26233 else
26234   USE_XML_TRUE='#'
26235   USE_XML_FALSE=
26236 fi
26237
26238
26239 if test "x$HAVE_LIBXML_HTML" != "xyes"; then
26240
26241   GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ subparse / /'`
26242    if false; then
26243   USE_PLUGIN_SUBPARSE_TRUE=
26244   USE_PLUGIN_SUBPARSE_FALSE='#'
26245 else
26246   USE_PLUGIN_SUBPARSE_TRUE='#'
26247   USE_PLUGIN_SUBPARSE_FALSE=
26248 fi
26249
26250
26251 fi
26252
26253 if test "x$HAVE_SYS_SOCKET_H" != "xyes"; then
26254
26255   GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ tcp / /'`
26256    if false; then
26257   USE_PLUGIN_TCP_TRUE=
26258   USE_PLUGIN_TCP_FALSE='#'
26259 else
26260   USE_PLUGIN_TCP_TRUE='#'
26261   USE_PLUGIN_TCP_FALSE=
26262 fi
26263
26264
26265 fi
26266
26267 # Check whether --enable-iso-codes was given.
26268 if test "${enable_iso_codes+set}" = set; then :
26269   enableval=$enable_iso_codes; case "${enableval}" in
26270   yes) enable_iso_codes=yes ;;
26271   no)  enable_iso_codes=no ;;
26272   *) as_fn_error $? "bad value ${enableval} for --enable-iso-codes" "$LINENO" 5 ;;
26273 esac
26274
26275 else
26276   enable_iso_codes=yes
26277 fi
26278
26279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use iso-codes if they are available" >&5
26280 $as_echo_n "checking whether to use iso-codes if they are available... " >&6; }
26281 if test "x$enable_iso_codes" = "xyes"; then
26282   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26283 $as_echo "yes" >&6; }
26284   have_iso_codes=no
26285   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether iso-codes are available on this system" >&5
26286 $as_echo_n "checking whether iso-codes are available on this system... " >&6; }
26287   if $PKG_CONFIG iso-codes; then
26288     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26289 $as_echo "yes" >&6; }
26290     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether iso-codes has iso-639 domain" >&5
26291 $as_echo_n "checking whether iso-codes has iso-639 domain... " >&6; }
26292     if $PKG_CONFIG --variable=domains iso-codes | $GREP -q 639 ; then
26293       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26294 $as_echo "yes" >&6; }
26295       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iso-codes prefix" >&5
26296 $as_echo_n "checking for iso-codes prefix... " >&6; }
26297       ISO_CODES_PREFIX=`$PKG_CONFIG --variable=prefix iso-codes`
26298       if test -d "$ISO_CODES_PREFIX"; then
26299         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26300 $as_echo "yes" >&6; }
26301         { $as_echo "$as_me:${as_lineno-$LINENO}: checking ISO_CODES_PREFIX" >&5
26302 $as_echo_n "checking ISO_CODES_PREFIX... " >&6; }
26303         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ISO_CODES_PREFIX" >&5
26304 $as_echo "$ISO_CODES_PREFIX" >&6; }
26305         ISO_639_DOMAIN="iso_639"
26306         { $as_echo "$as_me:${as_lineno-$LINENO}: checking ISO_639_DOMAIN" >&5
26307 $as_echo_n "checking ISO_639_DOMAIN... " >&6; }
26308         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ISO_639_DOMAIN" >&5
26309 $as_echo "$ISO_639_DOMAIN" >&6; }
26310         have_iso_codes=yes
26311
26312 $as_echo "#define HAVE_ISO_CODES 1" >>confdefs.h
26313
26314
26315 cat >>confdefs.h <<_ACEOF
26316 #define ISO_CODES_PREFIX "$ISO_CODES_PREFIX"
26317 _ACEOF
26318
26319         ISO_CODES_VERSION=`$PKG_CONFIG --modversion iso-codes`
26320
26321 cat >>confdefs.h <<_ACEOF
26322 #define ISO_CODES_VERSION "$ISO_CODES_VERSION"
26323 _ACEOF
26324
26325       else
26326         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26327 $as_echo "no" >&6; }
26328       fi
26329     else
26330       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26331 $as_echo "no" >&6; }
26332     fi
26333   else
26334     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26335 $as_echo "no" >&6; }
26336   fi
26337    if test "x$have_iso_codes" = "xyes"; then
26338   USE_ISO_CODES_TRUE=
26339   USE_ISO_CODES_FALSE='#'
26340 else
26341   USE_ISO_CODES_TRUE='#'
26342   USE_ISO_CODES_FALSE=
26343 fi
26344
26345 else
26346   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (disabled via --disable-iso-codes)" >&5
26347 $as_echo "no (disabled via --disable-iso-codes)" >&6; }
26348    if false; then
26349   USE_ISO_CODES_TRUE=
26350   USE_ISO_CODES_FALSE='#'
26351 else
26352   USE_ISO_CODES_TRUE='#'
26353   USE_ISO_CODES_FALSE=
26354 fi
26355
26356 fi
26357
26358 echo
26359 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: zlib support for ID3 parsing in libgsttag ***" >&5
26360 $as_echo "$as_me: *** checking feature: zlib support for ID3 parsing in libgsttag ***" >&6;}
26361 if test "x" != "x"
26362 then
26363   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins:  ***" >&5
26364 $as_echo "$as_me: *** for plug-ins:  ***" >&6;}
26365 fi
26366 NOUSE=
26367 if test "x$USE_ZLIB" = "xno"; then
26368   NOUSE="yes"
26369 fi
26370 # Check whether --enable-zlib was given.
26371 if test "${enable_zlib+set}" = set; then :
26372   enableval=$enable_zlib;  case "${enableval}" in
26373       yes) USE_ZLIB=yes;;
26374       no) USE_ZLIB=no;;
26375       *) as_fn_error $? "bad value ${enableval} for --enable-zlib" "$LINENO" 5 ;;
26376     esac
26377 else
26378    USE_ZLIB=yes
26379 fi
26380
26381 if test "x$NOUSE" = "xyes"; then
26382   USE_ZLIB="no"
26383   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ***  pre-configured not to be built" >&5
26384 $as_echo "$as_me: WARNING: ***  pre-configured not to be built" >&2;}
26385 fi
26386 NOUSE=
26387
26388
26389 if test x$USE_ZLIB = xyes; then
26390
26391   gst_check_save_LIBS=$LIBS
26392   gst_check_save_LDFLAGS=$LDFLAGS
26393   gst_check_save_CFLAGS=$CFLAGS
26394   gst_check_save_CPPFLAGS=$CPPFLAGS
26395   gst_check_save_CXXFLAGS=$CXXFLAGS
26396
26397   HAVE_ZLIB=no
26398
26399
26400 pkg_failed=no
26401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ZLIB" >&5
26402 $as_echo_n "checking for ZLIB... " >&6; }
26403
26404 if test -n "$PKG_CONFIG"; then
26405     if test -n "$ZLIB_CFLAGS"; then
26406         pkg_cv_ZLIB_CFLAGS="$ZLIB_CFLAGS"
26407     else
26408         if test -n "$PKG_CONFIG" && \
26409     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" zlib \""; } >&5
26410   ($PKG_CONFIG --exists --print-errors " zlib ") 2>&5
26411   ac_status=$?
26412   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26413   test $ac_status = 0; }; then
26414   pkg_cv_ZLIB_CFLAGS=`$PKG_CONFIG --cflags " zlib " 2>/dev/null`
26415 else
26416   pkg_failed=yes
26417 fi
26418     fi
26419 else
26420         pkg_failed=untried
26421 fi
26422 if test -n "$PKG_CONFIG"; then
26423     if test -n "$ZLIB_LIBS"; then
26424         pkg_cv_ZLIB_LIBS="$ZLIB_LIBS"
26425     else
26426         if test -n "$PKG_CONFIG" && \
26427     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" zlib \""; } >&5
26428   ($PKG_CONFIG --exists --print-errors " zlib ") 2>&5
26429   ac_status=$?
26430   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26431   test $ac_status = 0; }; then
26432   pkg_cv_ZLIB_LIBS=`$PKG_CONFIG --libs " zlib " 2>/dev/null`
26433 else
26434   pkg_failed=yes
26435 fi
26436     fi
26437 else
26438         pkg_failed=untried
26439 fi
26440
26441
26442
26443 if test $pkg_failed = yes; then
26444
26445 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26446         _pkg_short_errors_supported=yes
26447 else
26448         _pkg_short_errors_supported=no
26449 fi
26450         if test $_pkg_short_errors_supported = yes; then
26451                 ZLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors " zlib "`
26452         else
26453                 ZLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors " zlib "`
26454         fi
26455         # Put the nasty error message in config.log where it belongs
26456         echo "$ZLIB_PKG_ERRORS" >&5
26457
26458         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26459 $as_echo "no" >&6; }
26460
26461
26462   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uncompress in -lz" >&5
26463 $as_echo_n "checking for uncompress in -lz... " >&6; }
26464 if ${ac_cv_lib_z_uncompress+:} false; then :
26465   $as_echo_n "(cached) " >&6
26466 else
26467   ac_check_lib_save_LIBS=$LIBS
26468 LIBS="-lz  $LIBS"
26469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26470 /* end confdefs.h.  */
26471
26472 /* Override any GCC internal prototype to avoid an error.
26473    Use char because int might match the return type of a GCC
26474    builtin and then its argument prototype would still apply.  */
26475 #ifdef __cplusplus
26476 extern "C"
26477 #endif
26478 char uncompress ();
26479 int
26480 main ()
26481 {
26482 return uncompress ();
26483   ;
26484   return 0;
26485 }
26486 _ACEOF
26487 if ac_fn_c_try_link "$LINENO"; then :
26488   ac_cv_lib_z_uncompress=yes
26489 else
26490   ac_cv_lib_z_uncompress=no
26491 fi
26492 rm -f core conftest.err conftest.$ac_objext \
26493     conftest$ac_exeext conftest.$ac_ext
26494 LIBS=$ac_check_lib_save_LIBS
26495 fi
26496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_uncompress" >&5
26497 $as_echo "$ac_cv_lib_z_uncompress" >&6; }
26498 if test "x$ac_cv_lib_z_uncompress" = xyes; then :
26499   HAVE_ZLIB=yes
26500 else
26501   HAVE_ZLIB=no
26502 fi
26503
26504   if test "x$HAVE_ZLIB" = "xyes"; then
26505     ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
26506 if test "x$ac_cv_header_zlib_h" = xyes; then :
26507   :
26508 else
26509   HAVE_ZLIB=no
26510 fi
26511
26512
26513     if test "x$HAVE_ZLIB" = "xyes"; then
26514
26515         HAVE_ZLIB="yes"
26516         ZLIB_LIBS="-lz"
26517
26518
26519     else
26520       :
26521     fi
26522   else
26523     :
26524   fi
26525
26526
26527
26528
26529 elif test $pkg_failed = untried; then
26530
26531
26532   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uncompress in -lz" >&5
26533 $as_echo_n "checking for uncompress in -lz... " >&6; }
26534 if ${ac_cv_lib_z_uncompress+:} false; then :
26535   $as_echo_n "(cached) " >&6
26536 else
26537   ac_check_lib_save_LIBS=$LIBS
26538 LIBS="-lz  $LIBS"
26539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26540 /* end confdefs.h.  */
26541
26542 /* Override any GCC internal prototype to avoid an error.
26543    Use char because int might match the return type of a GCC
26544    builtin and then its argument prototype would still apply.  */
26545 #ifdef __cplusplus
26546 extern "C"
26547 #endif
26548 char uncompress ();
26549 int
26550 main ()
26551 {
26552 return uncompress ();
26553   ;
26554   return 0;
26555 }
26556 _ACEOF
26557 if ac_fn_c_try_link "$LINENO"; then :
26558   ac_cv_lib_z_uncompress=yes
26559 else
26560   ac_cv_lib_z_uncompress=no
26561 fi
26562 rm -f core conftest.err conftest.$ac_objext \
26563     conftest$ac_exeext conftest.$ac_ext
26564 LIBS=$ac_check_lib_save_LIBS
26565 fi
26566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_uncompress" >&5
26567 $as_echo "$ac_cv_lib_z_uncompress" >&6; }
26568 if test "x$ac_cv_lib_z_uncompress" = xyes; then :
26569   HAVE_ZLIB=yes
26570 else
26571   HAVE_ZLIB=no
26572 fi
26573
26574   if test "x$HAVE_ZLIB" = "xyes"; then
26575     ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
26576 if test "x$ac_cv_header_zlib_h" = xyes; then :
26577   :
26578 else
26579   HAVE_ZLIB=no
26580 fi
26581
26582
26583     if test "x$HAVE_ZLIB" = "xyes"; then
26584
26585         HAVE_ZLIB="yes"
26586         ZLIB_LIBS="-lz"
26587
26588
26589     else
26590       :
26591     fi
26592   else
26593     :
26594   fi
26595
26596
26597
26598
26599 else
26600         ZLIB_CFLAGS=$pkg_cv_ZLIB_CFLAGS
26601         ZLIB_LIBS=$pkg_cv_ZLIB_LIBS
26602         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26603 $as_echo "yes" >&6; }
26604
26605       HAVE_ZLIB="yes"
26606
26607 fi
26608
26609
26610   LIBS=$gst_check_save_LIBS
26611   LDFLAGS=$gst_check_save_LDFLAGS
26612   CFLAGS=$gst_check_save_CFLAGS
26613   CPPFLAGS=$gst_check_save_CPPFLAGS
26614   CXXFLAGS=$gst_check_save_CXXFLAGS
26615
26616     if test x$HAVE_ZLIB = xno; then
26617     USE_ZLIB=no
26618   else
26619     :
26620   fi
26621 fi
26622 if test x$USE_ZLIB = xyes; then
26623   :
26624   if test "x" != "x"; then
26625     GST_PLUGINS_YES="\t\n$GST_PLUGINS_YES"
26626   fi
26627
26628 $as_echo "#define HAVE_ZLIB /**/" >>confdefs.h
26629
26630 else
26631   :
26632   if test "x" != "x"; then
26633     GST_PLUGINS_NO="\t\n$GST_PLUGINS_NO"
26634   fi
26635   :
26636 fi
26637  if test x$USE_ZLIB = xyes; then
26638   USE_ZLIB_TRUE=
26639   USE_ZLIB_FALSE='#'
26640 else
26641   USE_ZLIB_TRUE='#'
26642   USE_ZLIB_FALSE=
26643 fi
26644
26645
26646
26647
26648 echo
26649 { $as_echo "$as_me:${as_lineno-$LINENO}: Checking libraries for plugins in sys/" >&5
26650 $as_echo "$as_me: Checking libraries for plugins in sys/" >&6;}
26651 echo
26652
26653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
26654 $as_echo_n "checking for X... " >&6; }
26655
26656
26657 # Check whether --with-x was given.
26658 if test "${with_x+set}" = set; then :
26659   withval=$with_x;
26660 fi
26661
26662 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
26663 if test "x$with_x" = xno; then
26664   # The user explicitly disabled X.
26665   have_x=disabled
26666 else
26667   case $x_includes,$x_libraries in #(
26668     *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
26669     *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
26670   $as_echo_n "(cached) " >&6
26671 else
26672   # One or both of the vars are not set, and there is no cached value.
26673 ac_x_includes=no ac_x_libraries=no
26674 rm -f -r conftest.dir
26675 if mkdir conftest.dir; then
26676   cd conftest.dir
26677   cat >Imakefile <<'_ACEOF'
26678 incroot:
26679         @echo incroot='${INCROOT}'
26680 usrlibdir:
26681         @echo usrlibdir='${USRLIBDIR}'
26682 libdir:
26683         @echo libdir='${LIBDIR}'
26684 _ACEOF
26685   if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
26686     # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
26687     for ac_var in incroot usrlibdir libdir; do
26688       eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
26689     done
26690     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
26691     for ac_extension in a so sl dylib la dll; do
26692       if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
26693          test -f "$ac_im_libdir/libX11.$ac_extension"; then
26694         ac_im_usrlibdir=$ac_im_libdir; break
26695       fi
26696     done
26697     # Screen out bogus values from the imake configuration.  They are
26698     # bogus both because they are the default anyway, and because
26699     # using them would break gcc on systems where it needs fixed includes.
26700     case $ac_im_incroot in
26701         /usr/include) ac_x_includes= ;;
26702         *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
26703     esac
26704     case $ac_im_usrlibdir in
26705         /usr/lib | /usr/lib64 | /lib | /lib64) ;;
26706         *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
26707     esac
26708   fi
26709   cd ..
26710   rm -f -r conftest.dir
26711 fi
26712
26713 # Standard set of common directories for X headers.
26714 # Check X11 before X11Rn because it is often a symlink to the current release.
26715 ac_x_header_dirs='
26716 /usr/X11/include
26717 /usr/X11R7/include
26718 /usr/X11R6/include
26719 /usr/X11R5/include
26720 /usr/X11R4/include
26721
26722 /usr/include/X11
26723 /usr/include/X11R7
26724 /usr/include/X11R6
26725 /usr/include/X11R5
26726 /usr/include/X11R4
26727
26728 /usr/local/X11/include
26729 /usr/local/X11R7/include
26730 /usr/local/X11R6/include
26731 /usr/local/X11R5/include
26732 /usr/local/X11R4/include
26733
26734 /usr/local/include/X11
26735 /usr/local/include/X11R7
26736 /usr/local/include/X11R6
26737 /usr/local/include/X11R5
26738 /usr/local/include/X11R4
26739
26740 /usr/X386/include
26741 /usr/x386/include
26742 /usr/XFree86/include/X11
26743
26744 /usr/include
26745 /usr/local/include
26746 /usr/unsupported/include
26747 /usr/athena/include
26748 /usr/local/x11r5/include
26749 /usr/lpp/Xamples/include
26750
26751 /usr/openwin/include
26752 /usr/openwin/share/include'
26753
26754 if test "$ac_x_includes" = no; then
26755   # Guess where to find include files, by looking for Xlib.h.
26756   # First, try using that file with no special directory specified.
26757   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26758 /* end confdefs.h.  */
26759 #include <X11/Xlib.h>
26760 _ACEOF
26761 if ac_fn_c_try_cpp "$LINENO"; then :
26762   # We can compile using X headers with no special include directory.
26763 ac_x_includes=
26764 else
26765   for ac_dir in $ac_x_header_dirs; do
26766   if test -r "$ac_dir/X11/Xlib.h"; then
26767     ac_x_includes=$ac_dir
26768     break
26769   fi
26770 done
26771 fi
26772 rm -f conftest.err conftest.i conftest.$ac_ext
26773 fi # $ac_x_includes = no
26774
26775 if test "$ac_x_libraries" = no; then
26776   # Check for the libraries.
26777   # See if we find them without any special options.
26778   # Don't add to $LIBS permanently.
26779   ac_save_LIBS=$LIBS
26780   LIBS="-lX11 $LIBS"
26781   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26782 /* end confdefs.h.  */
26783 #include <X11/Xlib.h>
26784 int
26785 main ()
26786 {
26787 XrmInitialize ()
26788   ;
26789   return 0;
26790 }
26791 _ACEOF
26792 if ac_fn_c_try_link "$LINENO"; then :
26793   LIBS=$ac_save_LIBS
26794 # We can link X programs with no special library path.
26795 ac_x_libraries=
26796 else
26797   LIBS=$ac_save_LIBS
26798 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
26799 do
26800   # Don't even attempt the hair of trying to link an X program!
26801   for ac_extension in a so sl dylib la dll; do
26802     if test -r "$ac_dir/libX11.$ac_extension"; then
26803       ac_x_libraries=$ac_dir
26804       break 2
26805     fi
26806   done
26807 done
26808 fi
26809 rm -f core conftest.err conftest.$ac_objext \
26810     conftest$ac_exeext conftest.$ac_ext
26811 fi # $ac_x_libraries = no
26812
26813 case $ac_x_includes,$ac_x_libraries in #(
26814   no,* | *,no | *\'*)
26815     # Didn't find X, or a directory has "'" in its name.
26816     ac_cv_have_x="have_x=no";; #(
26817   *)
26818     # Record where we found X for the cache.
26819     ac_cv_have_x="have_x=yes\
26820         ac_x_includes='$ac_x_includes'\
26821         ac_x_libraries='$ac_x_libraries'"
26822 esac
26823 fi
26824 ;; #(
26825     *) have_x=yes;;
26826   esac
26827   eval "$ac_cv_have_x"
26828 fi # $with_x != no
26829
26830 if test "$have_x" != yes; then
26831   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
26832 $as_echo "$have_x" >&6; }
26833   no_x=yes
26834 else
26835   # If each of the values was on the command line, it overrides each guess.
26836   test "x$x_includes" = xNONE && x_includes=$ac_x_includes
26837   test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
26838   # Update the cache value to reflect the command line values.
26839   ac_cv_have_x="have_x=yes\
26840         ac_x_includes='$x_includes'\
26841         ac_x_libraries='$x_libraries'"
26842   { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
26843 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
26844 fi
26845
26846 echo
26847 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: X libraries and plugins ***" >&5
26848 $as_echo "$as_me: *** checking feature: X libraries and plugins ***" >&6;}
26849 if test "xximagesink" != "x"
26850 then
26851   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: ximagesink ***" >&5
26852 $as_echo "$as_me: *** for plug-ins: ximagesink ***" >&6;}
26853 fi
26854 NOUSE=
26855 if test "x$USE_X" = "xno"; then
26856   NOUSE="yes"
26857 fi
26858 # Check whether --enable-x was given.
26859 if test "${enable_x+set}" = set; then :
26860   enableval=$enable_x;  case "${enableval}" in
26861       yes) USE_X=yes;;
26862       no) USE_X=no;;
26863       *) as_fn_error $? "bad value ${enableval} for --enable-x" "$LINENO" 5 ;;
26864     esac
26865 else
26866    USE_X=yes
26867 fi
26868
26869 if test "x$NOUSE" = "xyes"; then
26870   USE_X="no"
26871   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** ximagesink pre-configured not to be built" >&5
26872 $as_echo "$as_me: WARNING: *** ximagesink pre-configured not to be built" >&2;}
26873 fi
26874 NOUSE=
26875
26876
26877 if test x$USE_X = xyes; then
26878
26879   gst_check_save_LIBS=$LIBS
26880   gst_check_save_LDFLAGS=$LDFLAGS
26881   gst_check_save_CFLAGS=$CFLAGS
26882   gst_check_save_CPPFLAGS=$CPPFLAGS
26883   gst_check_save_CXXFLAGS=$CXXFLAGS
26884
26885   HAVE_X=no
26886
26887   if test "$no_x" = yes; then
26888   # Not all programs may use this symbol, but it does not hurt to define it.
26889
26890 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
26891
26892   X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
26893 else
26894   if test -n "$x_includes"; then
26895     X_CFLAGS="$X_CFLAGS -I$x_includes"
26896   fi
26897
26898   # It would also be nice to do this for all -L options, not just this one.
26899   if test -n "$x_libraries"; then
26900     X_LIBS="$X_LIBS -L$x_libraries"
26901     # For Solaris; some versions of Sun CC require a space after -R and
26902     # others require no space.  Words are not sufficient . . . .
26903     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
26904 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
26905     ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
26906     ac_xsave_c_werror_flag=$ac_c_werror_flag
26907     ac_c_werror_flag=yes
26908     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26909 /* end confdefs.h.  */
26910
26911 int
26912 main ()
26913 {
26914
26915   ;
26916   return 0;
26917 }
26918 _ACEOF
26919 if ac_fn_c_try_link "$LINENO"; then :
26920   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26921 $as_echo "no" >&6; }
26922        X_LIBS="$X_LIBS -R$x_libraries"
26923 else
26924   LIBS="$ac_xsave_LIBS -R $x_libraries"
26925        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26926 /* end confdefs.h.  */
26927
26928 int
26929 main ()
26930 {
26931
26932   ;
26933   return 0;
26934 }
26935 _ACEOF
26936 if ac_fn_c_try_link "$LINENO"; then :
26937   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26938 $as_echo "yes" >&6; }
26939           X_LIBS="$X_LIBS -R $x_libraries"
26940 else
26941   { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
26942 $as_echo "neither works" >&6; }
26943 fi
26944 rm -f core conftest.err conftest.$ac_objext \
26945     conftest$ac_exeext conftest.$ac_ext
26946 fi
26947 rm -f core conftest.err conftest.$ac_objext \
26948     conftest$ac_exeext conftest.$ac_ext
26949     ac_c_werror_flag=$ac_xsave_c_werror_flag
26950     LIBS=$ac_xsave_LIBS
26951   fi
26952
26953   # Check for system-dependent libraries X programs must link with.
26954   # Do this before checking for the system-independent R6 libraries
26955   # (-lICE), since we may need -lsocket or whatever for X linking.
26956
26957   if test "$ISC" = yes; then
26958     X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
26959   else
26960     # Martyn Johnson says this is needed for Ultrix, if the X
26961     # libraries were built with DECnet support.  And Karl Berry says
26962     # the Alpha needs dnet_stub (dnet does not exist).
26963     ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
26964     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26965 /* end confdefs.h.  */
26966
26967 /* Override any GCC internal prototype to avoid an error.
26968    Use char because int might match the return type of a GCC
26969    builtin and then its argument prototype would still apply.  */
26970 #ifdef __cplusplus
26971 extern "C"
26972 #endif
26973 char XOpenDisplay ();
26974 int
26975 main ()
26976 {
26977 return XOpenDisplay ();
26978   ;
26979   return 0;
26980 }
26981 _ACEOF
26982 if ac_fn_c_try_link "$LINENO"; then :
26983
26984 else
26985   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
26986 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
26987 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
26988   $as_echo_n "(cached) " >&6
26989 else
26990   ac_check_lib_save_LIBS=$LIBS
26991 LIBS="-ldnet  $LIBS"
26992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26993 /* end confdefs.h.  */
26994
26995 /* Override any GCC internal prototype to avoid an error.
26996    Use char because int might match the return type of a GCC
26997    builtin and then its argument prototype would still apply.  */
26998 #ifdef __cplusplus
26999 extern "C"
27000 #endif
27001 char dnet_ntoa ();
27002 int
27003 main ()
27004 {
27005 return dnet_ntoa ();
27006   ;
27007   return 0;
27008 }
27009 _ACEOF
27010 if ac_fn_c_try_link "$LINENO"; then :
27011   ac_cv_lib_dnet_dnet_ntoa=yes
27012 else
27013   ac_cv_lib_dnet_dnet_ntoa=no
27014 fi
27015 rm -f core conftest.err conftest.$ac_objext \
27016     conftest$ac_exeext conftest.$ac_ext
27017 LIBS=$ac_check_lib_save_LIBS
27018 fi
27019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
27020 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
27021 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
27022   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
27023 fi
27024
27025     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
27026       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
27027 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
27028 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
27029   $as_echo_n "(cached) " >&6
27030 else
27031   ac_check_lib_save_LIBS=$LIBS
27032 LIBS="-ldnet_stub  $LIBS"
27033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27034 /* end confdefs.h.  */
27035
27036 /* Override any GCC internal prototype to avoid an error.
27037    Use char because int might match the return type of a GCC
27038    builtin and then its argument prototype would still apply.  */
27039 #ifdef __cplusplus
27040 extern "C"
27041 #endif
27042 char dnet_ntoa ();
27043 int
27044 main ()
27045 {
27046 return dnet_ntoa ();
27047   ;
27048   return 0;
27049 }
27050 _ACEOF
27051 if ac_fn_c_try_link "$LINENO"; then :
27052   ac_cv_lib_dnet_stub_dnet_ntoa=yes
27053 else
27054   ac_cv_lib_dnet_stub_dnet_ntoa=no
27055 fi
27056 rm -f core conftest.err conftest.$ac_objext \
27057     conftest$ac_exeext conftest.$ac_ext
27058 LIBS=$ac_check_lib_save_LIBS
27059 fi
27060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
27061 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
27062 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
27063   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
27064 fi
27065
27066     fi
27067 fi
27068 rm -f core conftest.err conftest.$ac_objext \
27069     conftest$ac_exeext conftest.$ac_ext
27070     LIBS="$ac_xsave_LIBS"
27071
27072     # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
27073     # to get the SysV transport functions.
27074     # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
27075     # needs -lnsl.
27076     # The nsl library prevents programs from opening the X display
27077     # on Irix 5.2, according to T.E. Dickey.
27078     # The functions gethostbyname, getservbyname, and inet_addr are
27079     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
27080     ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
27081 if test "x$ac_cv_func_gethostbyname" = xyes; then :
27082
27083 fi
27084
27085     if test $ac_cv_func_gethostbyname = no; then
27086       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
27087 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
27088 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
27089   $as_echo_n "(cached) " >&6
27090 else
27091   ac_check_lib_save_LIBS=$LIBS
27092 LIBS="-lnsl  $LIBS"
27093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27094 /* end confdefs.h.  */
27095
27096 /* Override any GCC internal prototype to avoid an error.
27097    Use char because int might match the return type of a GCC
27098    builtin and then its argument prototype would still apply.  */
27099 #ifdef __cplusplus
27100 extern "C"
27101 #endif
27102 char gethostbyname ();
27103 int
27104 main ()
27105 {
27106 return gethostbyname ();
27107   ;
27108   return 0;
27109 }
27110 _ACEOF
27111 if ac_fn_c_try_link "$LINENO"; then :
27112   ac_cv_lib_nsl_gethostbyname=yes
27113 else
27114   ac_cv_lib_nsl_gethostbyname=no
27115 fi
27116 rm -f core conftest.err conftest.$ac_objext \
27117     conftest$ac_exeext conftest.$ac_ext
27118 LIBS=$ac_check_lib_save_LIBS
27119 fi
27120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
27121 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
27122 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
27123   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
27124 fi
27125
27126       if test $ac_cv_lib_nsl_gethostbyname = no; then
27127         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
27128 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
27129 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
27130   $as_echo_n "(cached) " >&6
27131 else
27132   ac_check_lib_save_LIBS=$LIBS
27133 LIBS="-lbsd  $LIBS"
27134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27135 /* end confdefs.h.  */
27136
27137 /* Override any GCC internal prototype to avoid an error.
27138    Use char because int might match the return type of a GCC
27139    builtin and then its argument prototype would still apply.  */
27140 #ifdef __cplusplus
27141 extern "C"
27142 #endif
27143 char gethostbyname ();
27144 int
27145 main ()
27146 {
27147 return gethostbyname ();
27148   ;
27149   return 0;
27150 }
27151 _ACEOF
27152 if ac_fn_c_try_link "$LINENO"; then :
27153   ac_cv_lib_bsd_gethostbyname=yes
27154 else
27155   ac_cv_lib_bsd_gethostbyname=no
27156 fi
27157 rm -f core conftest.err conftest.$ac_objext \
27158     conftest$ac_exeext conftest.$ac_ext
27159 LIBS=$ac_check_lib_save_LIBS
27160 fi
27161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
27162 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
27163 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
27164   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
27165 fi
27166
27167       fi
27168     fi
27169
27170     # lieder@skyler.mavd.honeywell.com says without -lsocket,
27171     # socket/setsockopt and other routines are undefined under SCO ODT
27172     # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
27173     # on later versions), says Simon Leinen: it contains gethostby*
27174     # variants that don't use the name server (or something).  -lsocket
27175     # must be given before -lnsl if both are needed.  We assume that
27176     # if connect needs -lnsl, so does gethostbyname.
27177     ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
27178 if test "x$ac_cv_func_connect" = xyes; then :
27179
27180 fi
27181
27182     if test $ac_cv_func_connect = no; then
27183       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
27184 $as_echo_n "checking for connect in -lsocket... " >&6; }
27185 if ${ac_cv_lib_socket_connect+:} false; then :
27186   $as_echo_n "(cached) " >&6
27187 else
27188   ac_check_lib_save_LIBS=$LIBS
27189 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
27190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27191 /* end confdefs.h.  */
27192
27193 /* Override any GCC internal prototype to avoid an error.
27194    Use char because int might match the return type of a GCC
27195    builtin and then its argument prototype would still apply.  */
27196 #ifdef __cplusplus
27197 extern "C"
27198 #endif
27199 char connect ();
27200 int
27201 main ()
27202 {
27203 return connect ();
27204   ;
27205   return 0;
27206 }
27207 _ACEOF
27208 if ac_fn_c_try_link "$LINENO"; then :
27209   ac_cv_lib_socket_connect=yes
27210 else
27211   ac_cv_lib_socket_connect=no
27212 fi
27213 rm -f core conftest.err conftest.$ac_objext \
27214     conftest$ac_exeext conftest.$ac_ext
27215 LIBS=$ac_check_lib_save_LIBS
27216 fi
27217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
27218 $as_echo "$ac_cv_lib_socket_connect" >&6; }
27219 if test "x$ac_cv_lib_socket_connect" = xyes; then :
27220   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
27221 fi
27222
27223     fi
27224
27225     # Guillermo Gomez says -lposix is necessary on A/UX.
27226     ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
27227 if test "x$ac_cv_func_remove" = xyes; then :
27228
27229 fi
27230
27231     if test $ac_cv_func_remove = no; then
27232       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
27233 $as_echo_n "checking for remove in -lposix... " >&6; }
27234 if ${ac_cv_lib_posix_remove+:} false; then :
27235   $as_echo_n "(cached) " >&6
27236 else
27237   ac_check_lib_save_LIBS=$LIBS
27238 LIBS="-lposix  $LIBS"
27239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27240 /* end confdefs.h.  */
27241
27242 /* Override any GCC internal prototype to avoid an error.
27243    Use char because int might match the return type of a GCC
27244    builtin and then its argument prototype would still apply.  */
27245 #ifdef __cplusplus
27246 extern "C"
27247 #endif
27248 char remove ();
27249 int
27250 main ()
27251 {
27252 return remove ();
27253   ;
27254   return 0;
27255 }
27256 _ACEOF
27257 if ac_fn_c_try_link "$LINENO"; then :
27258   ac_cv_lib_posix_remove=yes
27259 else
27260   ac_cv_lib_posix_remove=no
27261 fi
27262 rm -f core conftest.err conftest.$ac_objext \
27263     conftest$ac_exeext conftest.$ac_ext
27264 LIBS=$ac_check_lib_save_LIBS
27265 fi
27266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
27267 $as_echo "$ac_cv_lib_posix_remove" >&6; }
27268 if test "x$ac_cv_lib_posix_remove" = xyes; then :
27269   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
27270 fi
27271
27272     fi
27273
27274     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
27275     ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
27276 if test "x$ac_cv_func_shmat" = xyes; then :
27277
27278 fi
27279
27280     if test $ac_cv_func_shmat = no; then
27281       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
27282 $as_echo_n "checking for shmat in -lipc... " >&6; }
27283 if ${ac_cv_lib_ipc_shmat+:} false; then :
27284   $as_echo_n "(cached) " >&6
27285 else
27286   ac_check_lib_save_LIBS=$LIBS
27287 LIBS="-lipc  $LIBS"
27288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27289 /* end confdefs.h.  */
27290
27291 /* Override any GCC internal prototype to avoid an error.
27292    Use char because int might match the return type of a GCC
27293    builtin and then its argument prototype would still apply.  */
27294 #ifdef __cplusplus
27295 extern "C"
27296 #endif
27297 char shmat ();
27298 int
27299 main ()
27300 {
27301 return shmat ();
27302   ;
27303   return 0;
27304 }
27305 _ACEOF
27306 if ac_fn_c_try_link "$LINENO"; then :
27307   ac_cv_lib_ipc_shmat=yes
27308 else
27309   ac_cv_lib_ipc_shmat=no
27310 fi
27311 rm -f core conftest.err conftest.$ac_objext \
27312     conftest$ac_exeext conftest.$ac_ext
27313 LIBS=$ac_check_lib_save_LIBS
27314 fi
27315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
27316 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
27317 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
27318   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
27319 fi
27320
27321     fi
27322   fi
27323
27324   # Check for libraries that X11R6 Xt/Xaw programs need.
27325   ac_save_LDFLAGS=$LDFLAGS
27326   test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
27327   # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
27328   # check for ICE first), but we must link in the order -lSM -lICE or
27329   # we get undefined symbols.  So assume we have SM if we have ICE.
27330   # These have to be linked with before -lX11, unlike the other
27331   # libraries we check for below, so use a different variable.
27332   # John Interrante, Karl Berry
27333   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
27334 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
27335 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
27336   $as_echo_n "(cached) " >&6
27337 else
27338   ac_check_lib_save_LIBS=$LIBS
27339 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
27340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27341 /* end confdefs.h.  */
27342
27343 /* Override any GCC internal prototype to avoid an error.
27344    Use char because int might match the return type of a GCC
27345    builtin and then its argument prototype would still apply.  */
27346 #ifdef __cplusplus
27347 extern "C"
27348 #endif
27349 char IceConnectionNumber ();
27350 int
27351 main ()
27352 {
27353 return IceConnectionNumber ();
27354   ;
27355   return 0;
27356 }
27357 _ACEOF
27358 if ac_fn_c_try_link "$LINENO"; then :
27359   ac_cv_lib_ICE_IceConnectionNumber=yes
27360 else
27361   ac_cv_lib_ICE_IceConnectionNumber=no
27362 fi
27363 rm -f core conftest.err conftest.$ac_objext \
27364     conftest$ac_exeext conftest.$ac_ext
27365 LIBS=$ac_check_lib_save_LIBS
27366 fi
27367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
27368 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
27369 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
27370   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
27371 fi
27372
27373   LDFLAGS=$ac_save_LDFLAGS
27374
27375 fi
27376
27377   ac_cflags_save="$CFLAGS"
27378   ac_cppflags_save="$CPPFLAGS"
27379   CFLAGS="$CFLAGS $X_CFLAGS"
27380   CPPFLAGS="$CPPFLAGS $X_CFLAGS"
27381
27382     ac_fn_c_check_header_mongrel "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "$ac_includes_default"
27383 if test "x$ac_cv_header_X11_Xlib_h" = xyes; then :
27384   HAVE_X="yes"
27385 else
27386   HAVE_X="no"
27387 fi
27388
27389
27390
27391   if test "x$HAVE_X" = "xno"
27392   then
27393     { $as_echo "$as_me:${as_lineno-$LINENO}: cannot find X11 development files" >&5
27394 $as_echo "$as_me: cannot find X11 development files" >&6;}
27395   else
27396         X_LIBS="$X_LIBS $X_PRE_LIBS $X_EXTRA_LIBS"
27397             X_LIBS="$X_LIBS -lX11"
27398
27399
27400   fi
27401
27402   CFLAGS="$ac_cflags_save"
27403   CPPFLAGS="$ac_cppflags_save"
27404
27405
27406   LIBS=$gst_check_save_LIBS
27407   LDFLAGS=$gst_check_save_LDFLAGS
27408   CFLAGS=$gst_check_save_CFLAGS
27409   CPPFLAGS=$gst_check_save_CPPFLAGS
27410   CXXFLAGS=$gst_check_save_CXXFLAGS
27411
27412     if test x$HAVE_X = xno; then
27413     USE_X=no
27414   else
27415     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: ximagesink" >&5
27416 $as_echo "$as_me: *** These plugins will be built: ximagesink" >&6;}
27417   fi
27418 fi
27419 if test x$USE_X = xyes; then
27420   :
27421   if test "xximagesink" != "x"; then
27422     GST_PLUGINS_YES="\tximagesink\n$GST_PLUGINS_YES"
27423   fi
27424
27425 $as_echo "#define HAVE_X /**/" >>confdefs.h
27426
27427 else
27428   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: ximagesink" >&5
27429 $as_echo "$as_me: *** These plugins will not be built: ximagesink" >&6;}
27430   if test "xximagesink" != "x"; then
27431     GST_PLUGINS_NO="\tximagesink\n$GST_PLUGINS_NO"
27432   fi
27433   :
27434 fi
27435  if test x$USE_X = xyes; then
27436   USE_X_TRUE=
27437   USE_X_FALSE='#'
27438 else
27439   USE_X_TRUE='#'
27440   USE_X_FALSE=
27441 fi
27442
27443
27444
27445 echo
27446 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: X11 XVideo extensions ***" >&5
27447 $as_echo "$as_me: *** checking feature: X11 XVideo extensions ***" >&6;}
27448 if test "xxvimagesink" != "x"
27449 then
27450   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: xvimagesink ***" >&5
27451 $as_echo "$as_me: *** for plug-ins: xvimagesink ***" >&6;}
27452 fi
27453 NOUSE=
27454 if test "x$USE_XVIDEO" = "xno"; then
27455   NOUSE="yes"
27456 fi
27457 # Check whether --enable-xvideo was given.
27458 if test "${enable_xvideo+set}" = set; then :
27459   enableval=$enable_xvideo;  case "${enableval}" in
27460       yes) USE_XVIDEO=yes;;
27461       no) USE_XVIDEO=no;;
27462       *) as_fn_error $? "bad value ${enableval} for --enable-xvideo" "$LINENO" 5 ;;
27463     esac
27464 else
27465    USE_XVIDEO=yes
27466 fi
27467
27468 if test "x$NOUSE" = "xyes"; then
27469   USE_XVIDEO="no"
27470   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** xvimagesink pre-configured not to be built" >&5
27471 $as_echo "$as_me: WARNING: *** xvimagesink pre-configured not to be built" >&2;}
27472 fi
27473 NOUSE=
27474
27475
27476 if test x$USE_XVIDEO = xyes; then
27477
27478   gst_check_save_LIBS=$LIBS
27479   gst_check_save_LDFLAGS=$LDFLAGS
27480   gst_check_save_CFLAGS=$CFLAGS
27481   gst_check_save_CPPFLAGS=$CPPFLAGS
27482   gst_check_save_CXXFLAGS=$CXXFLAGS
27483
27484   HAVE_XVIDEO=no
27485
27486
27487   if test x$HAVE_X = xyes; then
27488     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XvQueryExtension in -lXv_pic" >&5
27489 $as_echo_n "checking for XvQueryExtension in -lXv_pic... " >&6; }
27490 if ${ac_cv_lib_Xv_pic_XvQueryExtension+:} false; then :
27491   $as_echo_n "(cached) " >&6
27492 else
27493   ac_check_lib_save_LIBS=$LIBS
27494 LIBS="-lXv_pic $X_LIBS -lXext $LIBS"
27495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27496 /* end confdefs.h.  */
27497
27498 /* Override any GCC internal prototype to avoid an error.
27499    Use char because int might match the return type of a GCC
27500    builtin and then its argument prototype would still apply.  */
27501 #ifdef __cplusplus
27502 extern "C"
27503 #endif
27504 char XvQueryExtension ();
27505 int
27506 main ()
27507 {
27508 return XvQueryExtension ();
27509   ;
27510   return 0;
27511 }
27512 _ACEOF
27513 if ac_fn_c_try_link "$LINENO"; then :
27514   ac_cv_lib_Xv_pic_XvQueryExtension=yes
27515 else
27516   ac_cv_lib_Xv_pic_XvQueryExtension=no
27517 fi
27518 rm -f core conftest.err conftest.$ac_objext \
27519     conftest$ac_exeext conftest.$ac_ext
27520 LIBS=$ac_check_lib_save_LIBS
27521 fi
27522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xv_pic_XvQueryExtension" >&5
27523 $as_echo "$ac_cv_lib_Xv_pic_XvQueryExtension" >&6; }
27524 if test "x$ac_cv_lib_Xv_pic_XvQueryExtension" = xyes; then :
27525   HAVE_XVIDEO="yes"
27526 else
27527   HAVE_XVIDEO="no"
27528 fi
27529
27530
27531     if test x$HAVE_XVIDEO = xyes; then
27532       XVIDEO_LIBS="-lXv_pic -lXext"
27533
27534     else
27535             if test x$HAVE_XVIDEO = xno; then
27536         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XvQueryExtension in -lXv" >&5
27537 $as_echo_n "checking for XvQueryExtension in -lXv... " >&6; }
27538 if ${ac_cv_lib_Xv_XvQueryExtension+:} false; then :
27539   $as_echo_n "(cached) " >&6
27540 else
27541   ac_check_lib_save_LIBS=$LIBS
27542 LIBS="-lXv $X_LIBS -lXext $LIBS"
27543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27544 /* end confdefs.h.  */
27545
27546 /* Override any GCC internal prototype to avoid an error.
27547    Use char because int might match the return type of a GCC
27548    builtin and then its argument prototype would still apply.  */
27549 #ifdef __cplusplus
27550 extern "C"
27551 #endif
27552 char XvQueryExtension ();
27553 int
27554 main ()
27555 {
27556 return XvQueryExtension ();
27557   ;
27558   return 0;
27559 }
27560 _ACEOF
27561 if ac_fn_c_try_link "$LINENO"; then :
27562   ac_cv_lib_Xv_XvQueryExtension=yes
27563 else
27564   ac_cv_lib_Xv_XvQueryExtension=no
27565 fi
27566 rm -f core conftest.err conftest.$ac_objext \
27567     conftest$ac_exeext conftest.$ac_ext
27568 LIBS=$ac_check_lib_save_LIBS
27569 fi
27570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xv_XvQueryExtension" >&5
27571 $as_echo "$ac_cv_lib_Xv_XvQueryExtension" >&6; }
27572 if test "x$ac_cv_lib_Xv_XvQueryExtension" = xyes; then :
27573   HAVE_XVIDEO="yes"
27574 else
27575   HAVE_XVIDEO="no"
27576 fi
27577
27578
27579         if test x$HAVE_XVIDEO = xyes; then
27580           XVIDEO_LIBS="-lXv -lXext"
27581
27582         fi
27583       fi
27584     fi
27585   fi
27586
27587
27588
27589   LIBS=$gst_check_save_LIBS
27590   LDFLAGS=$gst_check_save_LDFLAGS
27591   CFLAGS=$gst_check_save_CFLAGS
27592   CPPFLAGS=$gst_check_save_CPPFLAGS
27593   CXXFLAGS=$gst_check_save_CXXFLAGS
27594
27595     if test x$HAVE_XVIDEO = xno; then
27596     USE_XVIDEO=no
27597   else
27598     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: xvimagesink" >&5
27599 $as_echo "$as_me: *** These plugins will be built: xvimagesink" >&6;}
27600   fi
27601 fi
27602 if test x$USE_XVIDEO = xyes; then
27603   :
27604   if test "xxvimagesink" != "x"; then
27605     GST_PLUGINS_YES="\txvimagesink\n$GST_PLUGINS_YES"
27606   fi
27607
27608 $as_echo "#define HAVE_XVIDEO /**/" >>confdefs.h
27609
27610 else
27611   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: xvimagesink" >&5
27612 $as_echo "$as_me: *** These plugins will not be built: xvimagesink" >&6;}
27613   if test "xxvimagesink" != "x"; then
27614     GST_PLUGINS_NO="\txvimagesink\n$GST_PLUGINS_NO"
27615   fi
27616   :
27617 fi
27618  if test x$USE_XVIDEO = xyes; then
27619   USE_XVIDEO_TRUE=
27620   USE_XVIDEO_FALSE='#'
27621 else
27622   USE_XVIDEO_TRUE='#'
27623   USE_XVIDEO_FALSE=
27624 fi
27625
27626
27627
27628 echo
27629 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: X Shared Memory extension ***" >&5
27630 $as_echo "$as_me: *** checking feature: X Shared Memory extension ***" >&6;}
27631 if test "x" != "x"
27632 then
27633   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins:  ***" >&5
27634 $as_echo "$as_me: *** for plug-ins:  ***" >&6;}
27635 fi
27636 NOUSE=
27637 if test "x$USE_XSHM" = "xno"; then
27638   NOUSE="yes"
27639 fi
27640 # Check whether --enable-xshm was given.
27641 if test "${enable_xshm+set}" = set; then :
27642   enableval=$enable_xshm;  case "${enableval}" in
27643       yes) USE_XSHM=yes;;
27644       no) USE_XSHM=no;;
27645       *) as_fn_error $? "bad value ${enableval} for --enable-xshm" "$LINENO" 5 ;;
27646     esac
27647 else
27648    USE_XSHM=yes
27649 fi
27650
27651 if test "x$NOUSE" = "xyes"; then
27652   USE_XSHM="no"
27653   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ***  pre-configured not to be built" >&5
27654 $as_echo "$as_me: WARNING: ***  pre-configured not to be built" >&2;}
27655 fi
27656 NOUSE=
27657
27658
27659 if test x$USE_XSHM = xyes; then
27660
27661   gst_check_save_LIBS=$LIBS
27662   gst_check_save_LDFLAGS=$LDFLAGS
27663   gst_check_save_CFLAGS=$CFLAGS
27664   gst_check_save_CPPFLAGS=$CPPFLAGS
27665   gst_check_save_CXXFLAGS=$CXXFLAGS
27666
27667   HAVE_XSHM=no
27668
27669   if test x$HAVE_X = xyes; then
27670     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmAttach in -lXext" >&5
27671 $as_echo_n "checking for XShmAttach in -lXext... " >&6; }
27672 if ${ac_cv_lib_Xext_XShmAttach+:} false; then :
27673   $as_echo_n "(cached) " >&6
27674 else
27675   ac_check_lib_save_LIBS=$LIBS
27676 LIBS="-lXext $X_LIBS $LIBS"
27677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27678 /* end confdefs.h.  */
27679
27680 /* Override any GCC internal prototype to avoid an error.
27681    Use char because int might match the return type of a GCC
27682    builtin and then its argument prototype would still apply.  */
27683 #ifdef __cplusplus
27684 extern "C"
27685 #endif
27686 char XShmAttach ();
27687 int
27688 main ()
27689 {
27690 return XShmAttach ();
27691   ;
27692   return 0;
27693 }
27694 _ACEOF
27695 if ac_fn_c_try_link "$LINENO"; then :
27696   ac_cv_lib_Xext_XShmAttach=yes
27697 else
27698   ac_cv_lib_Xext_XShmAttach=no
27699 fi
27700 rm -f core conftest.err conftest.$ac_objext \
27701     conftest$ac_exeext conftest.$ac_ext
27702 LIBS=$ac_check_lib_save_LIBS
27703 fi
27704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmAttach" >&5
27705 $as_echo "$ac_cv_lib_Xext_XShmAttach" >&6; }
27706 if test "x$ac_cv_lib_Xext_XShmAttach" = xyes; then :
27707   HAVE_XSHM="yes"
27708 else
27709   HAVE_XSHM="no"
27710 fi
27711
27712     if test "x$HAVE_XSHM" = "xyes"; then
27713       XSHM_LIBS="-lXext"
27714     else
27715             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmAttach in -lXextSam" >&5
27716 $as_echo_n "checking for XShmAttach in -lXextSam... " >&6; }
27717 if ${ac_cv_lib_XextSam_XShmAttach+:} false; then :
27718   $as_echo_n "(cached) " >&6
27719 else
27720   ac_check_lib_save_LIBS=$LIBS
27721 LIBS="-lXextSam $X_LIBS $LIBS"
27722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27723 /* end confdefs.h.  */
27724
27725 /* Override any GCC internal prototype to avoid an error.
27726    Use char because int might match the return type of a GCC
27727    builtin and then its argument prototype would still apply.  */
27728 #ifdef __cplusplus
27729 extern "C"
27730 #endif
27731 char XShmAttach ();
27732 int
27733 main ()
27734 {
27735 return XShmAttach ();
27736   ;
27737   return 0;
27738 }
27739 _ACEOF
27740 if ac_fn_c_try_link "$LINENO"; then :
27741   ac_cv_lib_XextSam_XShmAttach=yes
27742 else
27743   ac_cv_lib_XextSam_XShmAttach=no
27744 fi
27745 rm -f core conftest.err conftest.$ac_objext \
27746     conftest$ac_exeext conftest.$ac_ext
27747 LIBS=$ac_check_lib_save_LIBS
27748 fi
27749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_XextSam_XShmAttach" >&5
27750 $as_echo "$ac_cv_lib_XextSam_XShmAttach" >&6; }
27751 if test "x$ac_cv_lib_XextSam_XShmAttach" = xyes; then :
27752   HAVE_XSHM="yes"
27753 else
27754   HAVE_XSHM="no"
27755 fi
27756
27757       if test "x$HAVE_XSHM" = "xyes"; then
27758         XSHM_LIBS="-lXext -lXextSam"
27759       fi
27760     fi
27761   fi
27762
27763
27764   LIBS=$gst_check_save_LIBS
27765   LDFLAGS=$gst_check_save_LDFLAGS
27766   CFLAGS=$gst_check_save_CFLAGS
27767   CPPFLAGS=$gst_check_save_CPPFLAGS
27768   CXXFLAGS=$gst_check_save_CXXFLAGS
27769
27770     if test x$HAVE_XSHM = xno; then
27771     USE_XSHM=no
27772   else
27773     :
27774   fi
27775 fi
27776 if test x$USE_XSHM = xyes; then
27777
27778
27779
27780
27781   if test "x" != "x"; then
27782     GST_PLUGINS_YES="\t\n$GST_PLUGINS_YES"
27783   fi
27784
27785 $as_echo "#define HAVE_XSHM /**/" >>confdefs.h
27786
27787 else
27788   :
27789   if test "x" != "x"; then
27790     GST_PLUGINS_NO="\t\n$GST_PLUGINS_NO"
27791   fi
27792   :
27793 fi
27794  if test x$USE_XSHM = xyes; then
27795   USE_XSHM_TRUE=
27796   USE_XSHM_FALSE='#'
27797 else
27798   USE_XSHM_TRUE='#'
27799   USE_XSHM_FALSE=
27800 fi
27801
27802
27803
27804
27805 echo
27806 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Video 4 Linux ***" >&5
27807 $as_echo "$as_me: *** checking feature: Video 4 Linux ***" >&6;}
27808 if test "xvideo4linux" != "x"
27809 then
27810   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: video4linux ***" >&5
27811 $as_echo "$as_me: *** for plug-ins: video4linux ***" >&6;}
27812 fi
27813 NOUSE=
27814 if test "x$USE_GST_V4L" = "xno"; then
27815   NOUSE="yes"
27816 fi
27817 # Check whether --enable-gst_v4l was given.
27818 if test "${enable_gst_v4l+set}" = set; then :
27819   enableval=$enable_gst_v4l;  case "${enableval}" in
27820       yes) USE_GST_V4L=yes;;
27821       no) USE_GST_V4L=no;;
27822       *) as_fn_error $? "bad value ${enableval} for --enable-gst_v4l" "$LINENO" 5 ;;
27823     esac
27824 else
27825    USE_GST_V4L=yes
27826 fi
27827
27828 if test "x$NOUSE" = "xyes"; then
27829   USE_GST_V4L="no"
27830   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** video4linux pre-configured not to be built" >&5
27831 $as_echo "$as_me: WARNING: *** video4linux pre-configured not to be built" >&2;}
27832 fi
27833 NOUSE=
27834
27835
27836 if test x$USE_GST_V4L = xyes; then
27837
27838   gst_check_save_LIBS=$LIBS
27839   gst_check_save_LDFLAGS=$LDFLAGS
27840   gst_check_save_CFLAGS=$CFLAGS
27841   gst_check_save_CPPFLAGS=$CPPFLAGS
27842   gst_check_save_CXXFLAGS=$CXXFLAGS
27843
27844   HAVE_GST_V4L=no
27845
27846   ac_fn_c_check_decl "$LINENO" "VID_TYPE_MPEG_ENCODER" "ac_cv_have_decl_VID_TYPE_MPEG_ENCODER" "
27847 #include <sys/types.h>
27848 #define _LINUX_TIME_H
27849 #define __user
27850 #include <linux/videodev.h>
27851
27852 "
27853 if test "x$ac_cv_have_decl_VID_TYPE_MPEG_ENCODER" = xyes; then :
27854   HAVE_GST_V4L="yes"
27855 else
27856   HAVE_GST_V4L="no"
27857 fi
27858
27859
27860     if test "x$HAVE_GST_V4L" = "xyes" -a "x$HAVE_XVIDEO" != "xyes"
27861   then
27862     { $as_echo "$as_me:${as_lineno-$LINENO}: NO XVIDEO FOUND, VIDEO4LINUX WILL BE BUILT" >&5
27863 $as_echo "$as_me: NO XVIDEO FOUND, VIDEO4LINUX WILL BE BUILT" >&6;}
27864     { $as_echo "$as_me:${as_lineno-$LINENO}: WITHOUT XOVERLAY SUPPORT" >&5
27865 $as_echo "$as_me: WITHOUT XOVERLAY SUPPORT" >&6;}
27866   fi
27867
27868
27869   LIBS=$gst_check_save_LIBS
27870   LDFLAGS=$gst_check_save_LDFLAGS
27871   CFLAGS=$gst_check_save_CFLAGS
27872   CPPFLAGS=$gst_check_save_CPPFLAGS
27873   CXXFLAGS=$gst_check_save_CXXFLAGS
27874
27875     if test x$HAVE_GST_V4L = xno; then
27876     USE_GST_V4L=no
27877   else
27878     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: video4linux" >&5
27879 $as_echo "$as_me: *** These plugins will be built: video4linux" >&6;}
27880   fi
27881 fi
27882 if test x$USE_GST_V4L = xyes; then
27883   :
27884   if test "xvideo4linux" != "x"; then
27885     GST_PLUGINS_YES="\tvideo4linux\n$GST_PLUGINS_YES"
27886   fi
27887
27888 $as_echo "#define HAVE_GST_V4L /**/" >>confdefs.h
27889
27890 else
27891   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: video4linux" >&5
27892 $as_echo "$as_me: *** These plugins will not be built: video4linux" >&6;}
27893   if test "xvideo4linux" != "x"; then
27894     GST_PLUGINS_NO="\tvideo4linux\n$GST_PLUGINS_NO"
27895   fi
27896   :
27897 fi
27898  if test x$USE_GST_V4L = xyes; then
27899   USE_GST_V4L_TRUE=
27900   USE_GST_V4L_FALSE='#'
27901 else
27902   USE_GST_V4L_TRUE='#'
27903   USE_GST_V4L_FALSE=
27904 fi
27905
27906
27907
27908 # Optional gudev for device probing
27909
27910 # Check whether --with-gudev was given.
27911 if test "${with_gudev+set}" = set; then :
27912   withval=$with_gudev;
27913 else
27914   with_gudev=check
27915 fi
27916
27917 if test x$HAVE_GST_V4L = xyes; then
27918   if test x$with_gudev != xno; then
27919
27920 pkg_failed=no
27921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GUDEV" >&5
27922 $as_echo_n "checking for GUDEV... " >&6; }
27923
27924 if test -n "$PKG_CONFIG"; then
27925     if test -n "$GUDEV_CFLAGS"; then
27926         pkg_cv_GUDEV_CFLAGS="$GUDEV_CFLAGS"
27927     else
27928         if test -n "$PKG_CONFIG" && \
27929     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" gudev-1.0 >= 143 \""; } >&5
27930   ($PKG_CONFIG --exists --print-errors " gudev-1.0 >= 143 ") 2>&5
27931   ac_status=$?
27932   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27933   test $ac_status = 0; }; then
27934   pkg_cv_GUDEV_CFLAGS=`$PKG_CONFIG --cflags " gudev-1.0 >= 143 " 2>/dev/null`
27935 else
27936   pkg_failed=yes
27937 fi
27938     fi
27939 else
27940         pkg_failed=untried
27941 fi
27942 if test -n "$PKG_CONFIG"; then
27943     if test -n "$GUDEV_LIBS"; then
27944         pkg_cv_GUDEV_LIBS="$GUDEV_LIBS"
27945     else
27946         if test -n "$PKG_CONFIG" && \
27947     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" gudev-1.0 >= 143 \""; } >&5
27948   ($PKG_CONFIG --exists --print-errors " gudev-1.0 >= 143 ") 2>&5
27949   ac_status=$?
27950   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27951   test $ac_status = 0; }; then
27952   pkg_cv_GUDEV_LIBS=`$PKG_CONFIG --libs " gudev-1.0 >= 143 " 2>/dev/null`
27953 else
27954   pkg_failed=yes
27955 fi
27956     fi
27957 else
27958         pkg_failed=untried
27959 fi
27960
27961
27962
27963 if test $pkg_failed = yes; then
27964
27965 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27966         _pkg_short_errors_supported=yes
27967 else
27968         _pkg_short_errors_supported=no
27969 fi
27970         if test $_pkg_short_errors_supported = yes; then
27971                 GUDEV_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors " gudev-1.0 >= 143 "`
27972         else
27973                 GUDEV_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors " gudev-1.0 >= 143 "`
27974         fi
27975         # Put the nasty error message in config.log where it belongs
27976         echo "$GUDEV_PKG_ERRORS" >&5
27977
27978         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27979 $as_echo "no" >&6; }
27980
27981           have_gudev=no
27982
27983 elif test $pkg_failed = untried; then
27984
27985           have_gudev=no
27986
27987 else
27988         GUDEV_CFLAGS=$pkg_cv_GUDEV_CFLAGS
27989         GUDEV_LIBS=$pkg_cv_GUDEV_LIBS
27990         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27991 $as_echo "yes" >&6; }
27992          have_gudev=yes
27993
27994 $as_echo "#define HAVE_GUDEV 1" >>confdefs.h
27995
27996
27997 $as_echo "#define G_UDEV_API_IS_SUBJECT_TO_CHANGE 1" >>confdefs.h
27998
27999
28000 fi
28001   else
28002     have_gudev=no
28003   fi
28004 fi
28005
28006
28007
28008
28009 if test "x$BUILD_EXTERNAL" = "xyes"; then
28010
28011 echo
28012 { $as_echo "$as_me:${as_lineno-$LINENO}: Checking libraries for plugins in ext/" >&5
28013 $as_echo "$as_me: Checking libraries for plugins in ext/" >&6;}
28014 echo
28015
28016 echo
28017 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: ALSA ***" >&5
28018 $as_echo "$as_me: *** checking feature: ALSA ***" >&6;}
28019 if test "xalsa" != "x"
28020 then
28021   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: alsa ***" >&5
28022 $as_echo "$as_me: *** for plug-ins: alsa ***" >&6;}
28023 fi
28024 NOUSE=
28025 if test "x$USE_ALSA" = "xno"; then
28026   NOUSE="yes"
28027 fi
28028 # Check whether --enable-alsa was given.
28029 if test "${enable_alsa+set}" = set; then :
28030   enableval=$enable_alsa;  case "${enableval}" in
28031       yes) USE_ALSA=yes;;
28032       no) USE_ALSA=no;;
28033       *) as_fn_error $? "bad value ${enableval} for --enable-alsa" "$LINENO" 5 ;;
28034     esac
28035 else
28036    USE_ALSA=yes
28037 fi
28038
28039 if test "x$NOUSE" = "xyes"; then
28040   USE_ALSA="no"
28041   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** alsa pre-configured not to be built" >&5
28042 $as_echo "$as_me: WARNING: *** alsa pre-configured not to be built" >&2;}
28043 fi
28044 NOUSE=
28045
28046
28047 if test x$USE_ALSA = xyes; then
28048
28049   gst_check_save_LIBS=$LIBS
28050   gst_check_save_LDFLAGS=$LDFLAGS
28051   gst_check_save_CFLAGS=$CFLAGS
28052   gst_check_save_CPPFLAGS=$CPPFLAGS
28053   gst_check_save_CXXFLAGS=$CXXFLAGS
28054
28055   HAVE_ALSA=no
28056
28057
28058 pkg_failed=no
28059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALSA" >&5
28060 $as_echo_n "checking for ALSA... " >&6; }
28061
28062 if test -n "$PKG_CONFIG"; then
28063     if test -n "$ALSA_CFLAGS"; then
28064         pkg_cv_ALSA_CFLAGS="$ALSA_CFLAGS"
28065     else
28066         if test -n "$PKG_CONFIG" && \
28067     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"alsa >= 0.9.1\""; } >&5
28068   ($PKG_CONFIG --exists --print-errors "alsa >= 0.9.1") 2>&5
28069   ac_status=$?
28070   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28071   test $ac_status = 0; }; then
28072   pkg_cv_ALSA_CFLAGS=`$PKG_CONFIG --cflags "alsa >= 0.9.1" 2>/dev/null`
28073 else
28074   pkg_failed=yes
28075 fi
28076     fi
28077 else
28078         pkg_failed=untried
28079 fi
28080 if test -n "$PKG_CONFIG"; then
28081     if test -n "$ALSA_LIBS"; then
28082         pkg_cv_ALSA_LIBS="$ALSA_LIBS"
28083     else
28084         if test -n "$PKG_CONFIG" && \
28085     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"alsa >= 0.9.1\""; } >&5
28086   ($PKG_CONFIG --exists --print-errors "alsa >= 0.9.1") 2>&5
28087   ac_status=$?
28088   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28089   test $ac_status = 0; }; then
28090   pkg_cv_ALSA_LIBS=`$PKG_CONFIG --libs "alsa >= 0.9.1" 2>/dev/null`
28091 else
28092   pkg_failed=yes
28093 fi
28094     fi
28095 else
28096         pkg_failed=untried
28097 fi
28098
28099
28100
28101 if test $pkg_failed = yes; then
28102
28103 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28104         _pkg_short_errors_supported=yes
28105 else
28106         _pkg_short_errors_supported=no
28107 fi
28108         if test $_pkg_short_errors_supported = yes; then
28109                 ALSA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "alsa >= 0.9.1"`
28110         else
28111                 ALSA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "alsa >= 0.9.1"`
28112         fi
28113         # Put the nasty error message in config.log where it belongs
28114         echo "$ALSA_PKG_ERRORS" >&5
28115
28116         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28117 $as_echo "no" >&6; }
28118
28119     alsa_save_CFLAGS="$CFLAGS"
28120 alsa_save_LDFLAGS="$LDFLAGS"
28121 alsa_save_LIBS="$LIBS"
28122 alsa_found=yes
28123
28124
28125 # Check whether --with-alsa-prefix was given.
28126 if test "${with_alsa_prefix+set}" = set; then :
28127   withval=$with_alsa_prefix; alsa_prefix="$withval"
28128 else
28129   alsa_prefix=""
28130 fi
28131
28132
28133
28134 # Check whether --with-alsa-inc-prefix was given.
28135 if test "${with_alsa_inc_prefix+set}" = set; then :
28136   withval=$with_alsa_inc_prefix; alsa_inc_prefix="$withval"
28137 else
28138   alsa_inc_prefix=""
28139 fi
28140
28141
28142
28143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALSA CFLAGS" >&5
28144 $as_echo_n "checking for ALSA CFLAGS... " >&6; }
28145 if test "$alsa_inc_prefix" != "" ; then
28146         ALSA_CFLAGS="$ALSA_CFLAGS -I$alsa_inc_prefix"
28147         CFLAGS="$CFLAGS -I$alsa_inc_prefix"
28148 fi
28149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ALSA_CFLAGS" >&5
28150 $as_echo "$ALSA_CFLAGS" >&6; }
28151
28152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALSA LDFLAGS" >&5
28153 $as_echo_n "checking for ALSA LDFLAGS... " >&6; }
28154 if test "$alsa_prefix" != "" ; then
28155         ALSA_LIBS="$ALSA_LIBS -L$alsa_prefix"
28156         LDFLAGS="$LDFLAGS $ALSA_LIBS"
28157 fi
28158
28159 ALSA_LIBS="$ALSA_LIBS -lasound -lm -ldl -lpthread"
28160 LIBS=`echo $LIBS | sed 's/-lm//'`
28161 LIBS=`echo $LIBS | sed 's/-ldl//'`
28162 LIBS=`echo $LIBS | sed 's/-lpthread//'`
28163 LIBS=`echo $LIBS | sed 's/  //'`
28164 LIBS="$ALSA_LIBS $LIBS"
28165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ALSA_LIBS" >&5
28166 $as_echo "$ALSA_LIBS" >&6; }
28167
28168 min_alsa_version=0.9.1
28169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libasound headers version >= $min_alsa_version" >&5
28170 $as_echo_n "checking for libasound headers version >= $min_alsa_version... " >&6; }
28171 no_alsa=""
28172     alsa_min_major_version=`echo $min_alsa_version | \
28173            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28174     alsa_min_minor_version=`echo $min_alsa_version | \
28175            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28176     alsa_min_micro_version=`echo $min_alsa_version | \
28177            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28178
28179
28180 ac_ext=c
28181 ac_cpp='$CPP $CPPFLAGS'
28182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28185
28186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28187 /* end confdefs.h.  */
28188
28189 #include <alsa/asoundlib.h>
28190
28191 int
28192 main ()
28193 {
28194
28195 void main(void)
28196 {
28197 /* ensure backward compatibility */
28198 #if !defined(SND_LIB_MAJOR) && defined(SOUNDLIB_VERSION_MAJOR)
28199 #define SND_LIB_MAJOR SOUNDLIB_VERSION_MAJOR
28200 #endif
28201 #if !defined(SND_LIB_MINOR) && defined(SOUNDLIB_VERSION_MINOR)
28202 #define SND_LIB_MINOR SOUNDLIB_VERSION_MINOR
28203 #endif
28204 #if !defined(SND_LIB_SUBMINOR) && defined(SOUNDLIB_VERSION_SUBMINOR)
28205 #define SND_LIB_SUBMINOR SOUNDLIB_VERSION_SUBMINOR
28206 #endif
28207
28208 #  if(SND_LIB_MAJOR > $alsa_min_major_version)
28209   exit(0);
28210 #  else
28211 #    if(SND_LIB_MAJOR < $alsa_min_major_version)
28212 #       error not present
28213 #    endif
28214
28215 #   if(SND_LIB_MINOR > $alsa_min_minor_version)
28216   exit(0);
28217 #   else
28218 #     if(SND_LIB_MINOR < $alsa_min_minor_version)
28219 #          error not present
28220 #      endif
28221
28222 #      if(SND_LIB_SUBMINOR < $alsa_min_micro_version)
28223 #        error not present
28224 #      endif
28225 #    endif
28226 #  endif
28227 exit(0);
28228 }
28229
28230   ;
28231   return 0;
28232 }
28233 _ACEOF
28234 if ac_fn_c_try_compile "$LINENO"; then :
28235   { $as_echo "$as_me:${as_lineno-$LINENO}: result: found." >&5
28236 $as_echo "found." >&6; }
28237 else
28238   { $as_echo "$as_me:${as_lineno-$LINENO}: result: not present." >&5
28239 $as_echo "not present." >&6; }
28240
28241    alsa_found=no
28242
28243 fi
28244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28245 ac_ext=c
28246 ac_cpp='$CPP $CPPFLAGS'
28247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28250
28251
28252 if test "x$enable_alsatest" = "xyes"; then
28253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_ctl_open in -lasound" >&5
28254 $as_echo_n "checking for snd_ctl_open in -lasound... " >&6; }
28255 if ${ac_cv_lib_asound_snd_ctl_open+:} false; then :
28256   $as_echo_n "(cached) " >&6
28257 else
28258   ac_check_lib_save_LIBS=$LIBS
28259 LIBS="-lasound  $LIBS"
28260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28261 /* end confdefs.h.  */
28262
28263 /* Override any GCC internal prototype to avoid an error.
28264    Use char because int might match the return type of a GCC
28265    builtin and then its argument prototype would still apply.  */
28266 #ifdef __cplusplus
28267 extern "C"
28268 #endif
28269 char snd_ctl_open ();
28270 int
28271 main ()
28272 {
28273 return snd_ctl_open ();
28274   ;
28275   return 0;
28276 }
28277 _ACEOF
28278 if ac_fn_c_try_link "$LINENO"; then :
28279   ac_cv_lib_asound_snd_ctl_open=yes
28280 else
28281   ac_cv_lib_asound_snd_ctl_open=no
28282 fi
28283 rm -f core conftest.err conftest.$ac_objext \
28284     conftest$ac_exeext conftest.$ac_ext
28285 LIBS=$ac_check_lib_save_LIBS
28286 fi
28287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_ctl_open" >&5
28288 $as_echo "$ac_cv_lib_asound_snd_ctl_open" >&6; }
28289 if test "x$ac_cv_lib_asound_snd_ctl_open" = xyes; then :
28290   cat >>confdefs.h <<_ACEOF
28291 #define HAVE_LIBASOUND 1
28292 _ACEOF
28293
28294   LIBS="-lasound $LIBS"
28295
28296 else
28297
28298          alsa_found=no
28299
28300 fi
28301
28302 fi
28303
28304 if test "x$alsa_found" = "xyes" ; then
28305    HAVE_ALSA="yes"
28306    LIBS=`echo $LIBS | sed 's/-lasound//g'`
28307    LIBS=`echo $LIBS | sed 's/  //'`
28308    LIBS="-lasound $LIBS"
28309 fi
28310 if test "x$alsa_found" = "xno" ; then
28311    HAVE_ALSA="no"
28312    CFLAGS="$alsa_save_CFLAGS"
28313    LDFLAGS="$alsa_save_LDFLAGS"
28314    LIBS="$alsa_save_LIBS"
28315    ALSA_CFLAGS=""
28316    ALSA_LIBS=""
28317 fi
28318
28319
28320
28321
28322
28323 elif test $pkg_failed = untried; then
28324
28325     alsa_save_CFLAGS="$CFLAGS"
28326 alsa_save_LDFLAGS="$LDFLAGS"
28327 alsa_save_LIBS="$LIBS"
28328 alsa_found=yes
28329
28330
28331 # Check whether --with-alsa-prefix was given.
28332 if test "${with_alsa_prefix+set}" = set; then :
28333   withval=$with_alsa_prefix; alsa_prefix="$withval"
28334 else
28335   alsa_prefix=""
28336 fi
28337
28338
28339
28340 # Check whether --with-alsa-inc-prefix was given.
28341 if test "${with_alsa_inc_prefix+set}" = set; then :
28342   withval=$with_alsa_inc_prefix; alsa_inc_prefix="$withval"
28343 else
28344   alsa_inc_prefix=""
28345 fi
28346
28347
28348
28349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALSA CFLAGS" >&5
28350 $as_echo_n "checking for ALSA CFLAGS... " >&6; }
28351 if test "$alsa_inc_prefix" != "" ; then
28352         ALSA_CFLAGS="$ALSA_CFLAGS -I$alsa_inc_prefix"
28353         CFLAGS="$CFLAGS -I$alsa_inc_prefix"
28354 fi
28355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ALSA_CFLAGS" >&5
28356 $as_echo "$ALSA_CFLAGS" >&6; }
28357
28358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALSA LDFLAGS" >&5
28359 $as_echo_n "checking for ALSA LDFLAGS... " >&6; }
28360 if test "$alsa_prefix" != "" ; then
28361         ALSA_LIBS="$ALSA_LIBS -L$alsa_prefix"
28362         LDFLAGS="$LDFLAGS $ALSA_LIBS"
28363 fi
28364
28365 ALSA_LIBS="$ALSA_LIBS -lasound -lm -ldl -lpthread"
28366 LIBS=`echo $LIBS | sed 's/-lm//'`
28367 LIBS=`echo $LIBS | sed 's/-ldl//'`
28368 LIBS=`echo $LIBS | sed 's/-lpthread//'`
28369 LIBS=`echo $LIBS | sed 's/  //'`
28370 LIBS="$ALSA_LIBS $LIBS"
28371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ALSA_LIBS" >&5
28372 $as_echo "$ALSA_LIBS" >&6; }
28373
28374 min_alsa_version=0.9.1
28375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libasound headers version >= $min_alsa_version" >&5
28376 $as_echo_n "checking for libasound headers version >= $min_alsa_version... " >&6; }
28377 no_alsa=""
28378     alsa_min_major_version=`echo $min_alsa_version | \
28379            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28380     alsa_min_minor_version=`echo $min_alsa_version | \
28381            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28382     alsa_min_micro_version=`echo $min_alsa_version | \
28383            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28384
28385
28386 ac_ext=c
28387 ac_cpp='$CPP $CPPFLAGS'
28388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28391
28392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28393 /* end confdefs.h.  */
28394
28395 #include <alsa/asoundlib.h>
28396
28397 int
28398 main ()
28399 {
28400
28401 void main(void)
28402 {
28403 /* ensure backward compatibility */
28404 #if !defined(SND_LIB_MAJOR) && defined(SOUNDLIB_VERSION_MAJOR)
28405 #define SND_LIB_MAJOR SOUNDLIB_VERSION_MAJOR
28406 #endif
28407 #if !defined(SND_LIB_MINOR) && defined(SOUNDLIB_VERSION_MINOR)
28408 #define SND_LIB_MINOR SOUNDLIB_VERSION_MINOR
28409 #endif
28410 #if !defined(SND_LIB_SUBMINOR) && defined(SOUNDLIB_VERSION_SUBMINOR)
28411 #define SND_LIB_SUBMINOR SOUNDLIB_VERSION_SUBMINOR
28412 #endif
28413
28414 #  if(SND_LIB_MAJOR > $alsa_min_major_version)
28415   exit(0);
28416 #  else
28417 #    if(SND_LIB_MAJOR < $alsa_min_major_version)
28418 #       error not present
28419 #    endif
28420
28421 #   if(SND_LIB_MINOR > $alsa_min_minor_version)
28422   exit(0);
28423 #   else
28424 #     if(SND_LIB_MINOR < $alsa_min_minor_version)
28425 #          error not present
28426 #      endif
28427
28428 #      if(SND_LIB_SUBMINOR < $alsa_min_micro_version)
28429 #        error not present
28430 #      endif
28431 #    endif
28432 #  endif
28433 exit(0);
28434 }
28435
28436   ;
28437   return 0;
28438 }
28439 _ACEOF
28440 if ac_fn_c_try_compile "$LINENO"; then :
28441   { $as_echo "$as_me:${as_lineno-$LINENO}: result: found." >&5
28442 $as_echo "found." >&6; }
28443 else
28444   { $as_echo "$as_me:${as_lineno-$LINENO}: result: not present." >&5
28445 $as_echo "not present." >&6; }
28446
28447    alsa_found=no
28448
28449 fi
28450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28451 ac_ext=c
28452 ac_cpp='$CPP $CPPFLAGS'
28453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28456
28457
28458 if test "x$enable_alsatest" = "xyes"; then
28459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_ctl_open in -lasound" >&5
28460 $as_echo_n "checking for snd_ctl_open in -lasound... " >&6; }
28461 if ${ac_cv_lib_asound_snd_ctl_open+:} false; then :
28462   $as_echo_n "(cached) " >&6
28463 else
28464   ac_check_lib_save_LIBS=$LIBS
28465 LIBS="-lasound  $LIBS"
28466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28467 /* end confdefs.h.  */
28468
28469 /* Override any GCC internal prototype to avoid an error.
28470    Use char because int might match the return type of a GCC
28471    builtin and then its argument prototype would still apply.  */
28472 #ifdef __cplusplus
28473 extern "C"
28474 #endif
28475 char snd_ctl_open ();
28476 int
28477 main ()
28478 {
28479 return snd_ctl_open ();
28480   ;
28481   return 0;
28482 }
28483 _ACEOF
28484 if ac_fn_c_try_link "$LINENO"; then :
28485   ac_cv_lib_asound_snd_ctl_open=yes
28486 else
28487   ac_cv_lib_asound_snd_ctl_open=no
28488 fi
28489 rm -f core conftest.err conftest.$ac_objext \
28490     conftest$ac_exeext conftest.$ac_ext
28491 LIBS=$ac_check_lib_save_LIBS
28492 fi
28493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_ctl_open" >&5
28494 $as_echo "$ac_cv_lib_asound_snd_ctl_open" >&6; }
28495 if test "x$ac_cv_lib_asound_snd_ctl_open" = xyes; then :
28496   cat >>confdefs.h <<_ACEOF
28497 #define HAVE_LIBASOUND 1
28498 _ACEOF
28499
28500   LIBS="-lasound $LIBS"
28501
28502 else
28503
28504          alsa_found=no
28505
28506 fi
28507
28508 fi
28509
28510 if test "x$alsa_found" = "xyes" ; then
28511    HAVE_ALSA="yes"
28512    LIBS=`echo $LIBS | sed 's/-lasound//g'`
28513    LIBS=`echo $LIBS | sed 's/  //'`
28514    LIBS="-lasound $LIBS"
28515 fi
28516 if test "x$alsa_found" = "xno" ; then
28517    HAVE_ALSA="no"
28518    CFLAGS="$alsa_save_CFLAGS"
28519    LDFLAGS="$alsa_save_LDFLAGS"
28520    LIBS="$alsa_save_LIBS"
28521    ALSA_CFLAGS=""
28522    ALSA_LIBS=""
28523 fi
28524
28525
28526
28527
28528
28529 else
28530         ALSA_CFLAGS=$pkg_cv_ALSA_CFLAGS
28531         ALSA_LIBS=$pkg_cv_ALSA_LIBS
28532         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28533 $as_echo "yes" >&6; }
28534
28535     HAVE_ALSA="yes"
28536
28537
28538
28539 fi
28540
28541
28542   LIBS=$gst_check_save_LIBS
28543   LDFLAGS=$gst_check_save_LDFLAGS
28544   CFLAGS=$gst_check_save_CFLAGS
28545   CPPFLAGS=$gst_check_save_CPPFLAGS
28546   CXXFLAGS=$gst_check_save_CXXFLAGS
28547
28548     if test x$HAVE_ALSA = xno; then
28549     USE_ALSA=no
28550   else
28551     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: alsa" >&5
28552 $as_echo "$as_me: *** These plugins will be built: alsa" >&6;}
28553   fi
28554 fi
28555 if test x$USE_ALSA = xyes; then
28556   :
28557   if test "xalsa" != "x"; then
28558     GST_PLUGINS_YES="\talsa\n$GST_PLUGINS_YES"
28559   fi
28560
28561 $as_echo "#define HAVE_ALSA /**/" >>confdefs.h
28562
28563 else
28564   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: alsa" >&5
28565 $as_echo "$as_me: *** These plugins will not be built: alsa" >&6;}
28566   if test "xalsa" != "x"; then
28567     GST_PLUGINS_NO="\talsa\n$GST_PLUGINS_NO"
28568   fi
28569   :
28570 fi
28571  if test x$USE_ALSA = xyes; then
28572   USE_ALSA_TRUE=
28573   USE_ALSA_FALSE='#'
28574 else
28575   USE_ALSA_TRUE='#'
28576   USE_ALSA_FALSE=
28577 fi
28578
28579
28580
28581 echo
28582 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: CDParanoia ***" >&5
28583 $as_echo "$as_me: *** checking feature: CDParanoia ***" >&6;}
28584 if test "xcdparanoia" != "x"
28585 then
28586   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: cdparanoia ***" >&5
28587 $as_echo "$as_me: *** for plug-ins: cdparanoia ***" >&6;}
28588 fi
28589 NOUSE=
28590 if test "x$USE_CDPARANOIA" = "xno"; then
28591   NOUSE="yes"
28592 fi
28593 # Check whether --enable-cdparanoia was given.
28594 if test "${enable_cdparanoia+set}" = set; then :
28595   enableval=$enable_cdparanoia;  case "${enableval}" in
28596       yes) USE_CDPARANOIA=yes;;
28597       no) USE_CDPARANOIA=no;;
28598       *) as_fn_error $? "bad value ${enableval} for --enable-cdparanoia" "$LINENO" 5 ;;
28599     esac
28600 else
28601    USE_CDPARANOIA=yes
28602 fi
28603
28604 if test "x$NOUSE" = "xyes"; then
28605   USE_CDPARANOIA="no"
28606   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** cdparanoia pre-configured not to be built" >&5
28607 $as_echo "$as_me: WARNING: *** cdparanoia pre-configured not to be built" >&2;}
28608 fi
28609 NOUSE=
28610
28611
28612 if test x$USE_CDPARANOIA = xyes; then
28613
28614   gst_check_save_LIBS=$LIBS
28615   gst_check_save_LDFLAGS=$LDFLAGS
28616   gst_check_save_CFLAGS=$CFLAGS
28617   gst_check_save_CPPFLAGS=$CPPFLAGS
28618   gst_check_save_CXXFLAGS=$CXXFLAGS
28619
28620   HAVE_CDPARANOIA=no
28621
28622
28623 pkg_failed=no
28624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CDPARANOIA" >&5
28625 $as_echo_n "checking for CDPARANOIA... " >&6; }
28626
28627 if test -n "$PKG_CONFIG"; then
28628     if test -n "$CDPARANOIA_CFLAGS"; then
28629         pkg_cv_CDPARANOIA_CFLAGS="$CDPARANOIA_CFLAGS"
28630     else
28631         if test -n "$PKG_CONFIG" && \
28632     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cdparanoia-3 >= 10.2\""; } >&5
28633   ($PKG_CONFIG --exists --print-errors "cdparanoia-3 >= 10.2") 2>&5
28634   ac_status=$?
28635   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28636   test $ac_status = 0; }; then
28637   pkg_cv_CDPARANOIA_CFLAGS=`$PKG_CONFIG --cflags "cdparanoia-3 >= 10.2" 2>/dev/null`
28638 else
28639   pkg_failed=yes
28640 fi
28641     fi
28642 else
28643         pkg_failed=untried
28644 fi
28645 if test -n "$PKG_CONFIG"; then
28646     if test -n "$CDPARANOIA_LIBS"; then
28647         pkg_cv_CDPARANOIA_LIBS="$CDPARANOIA_LIBS"
28648     else
28649         if test -n "$PKG_CONFIG" && \
28650     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cdparanoia-3 >= 10.2\""; } >&5
28651   ($PKG_CONFIG --exists --print-errors "cdparanoia-3 >= 10.2") 2>&5
28652   ac_status=$?
28653   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28654   test $ac_status = 0; }; then
28655   pkg_cv_CDPARANOIA_LIBS=`$PKG_CONFIG --libs "cdparanoia-3 >= 10.2" 2>/dev/null`
28656 else
28657   pkg_failed=yes
28658 fi
28659     fi
28660 else
28661         pkg_failed=untried
28662 fi
28663
28664
28665
28666 if test $pkg_failed = yes; then
28667
28668 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28669         _pkg_short_errors_supported=yes
28670 else
28671         _pkg_short_errors_supported=no
28672 fi
28673         if test $_pkg_short_errors_supported = yes; then
28674                 CDPARANOIA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cdparanoia-3 >= 10.2"`
28675         else
28676                 CDPARANOIA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cdparanoia-3 >= 10.2"`
28677         fi
28678         # Put the nasty error message in config.log where it belongs
28679         echo "$CDPARANOIA_PKG_ERRORS" >&5
28680
28681         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28682 $as_echo "no" >&6; }
28683
28684
28685   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cdda_open in -lcdda_interface" >&5
28686 $as_echo_n "checking for cdda_open in -lcdda_interface... " >&6; }
28687 if ${ac_cv_lib_cdda_interface_cdda_open+:} false; then :
28688   $as_echo_n "(cached) " >&6
28689 else
28690   ac_check_lib_save_LIBS=$LIBS
28691 LIBS="-lcdda_interface -lm $LIBS"
28692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28693 /* end confdefs.h.  */
28694
28695 /* Override any GCC internal prototype to avoid an error.
28696    Use char because int might match the return type of a GCC
28697    builtin and then its argument prototype would still apply.  */
28698 #ifdef __cplusplus
28699 extern "C"
28700 #endif
28701 char cdda_open ();
28702 int
28703 main ()
28704 {
28705 return cdda_open ();
28706   ;
28707   return 0;
28708 }
28709 _ACEOF
28710 if ac_fn_c_try_link "$LINENO"; then :
28711   ac_cv_lib_cdda_interface_cdda_open=yes
28712 else
28713   ac_cv_lib_cdda_interface_cdda_open=no
28714 fi
28715 rm -f core conftest.err conftest.$ac_objext \
28716     conftest$ac_exeext conftest.$ac_ext
28717 LIBS=$ac_check_lib_save_LIBS
28718 fi
28719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdda_interface_cdda_open" >&5
28720 $as_echo "$ac_cv_lib_cdda_interface_cdda_open" >&6; }
28721 if test "x$ac_cv_lib_cdda_interface_cdda_open" = xyes; then :
28722   HAVE_CDPARANOIA=yes
28723 else
28724   HAVE_CDPARANOIA=no
28725 fi
28726
28727   if test "x$HAVE_CDPARANOIA" = "xyes"; then
28728     ac_fn_c_check_header_mongrel "$LINENO" "cdda_interface.h" "ac_cv_header_cdda_interface_h" "$ac_includes_default"
28729 if test "x$ac_cv_header_cdda_interface_h" = xyes; then :
28730   :
28731 else
28732   HAVE_CDPARANOIA=no
28733 fi
28734
28735
28736     if test "x$HAVE_CDPARANOIA" = "xyes"; then
28737             CDPARANOIA_LIBS="-lcdda_interface -lcdda_paranoia"
28738                         HEADER_DIR="no"
28739                         FOUND_CDPARANOIA="yes"
28740     else
28741       :
28742     fi
28743   else
28744     :
28745   fi
28746
28747
28748
28749     if test "x$FOUND_CDPARANOIA" != "xyes";
28750     then
28751
28752   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cdda_open in -lcdda_interface" >&5
28753 $as_echo_n "checking for cdda_open in -lcdda_interface... " >&6; }
28754 if ${ac_cv_lib_cdda_interface_cdda_open+:} false; then :
28755   $as_echo_n "(cached) " >&6
28756 else
28757   ac_check_lib_save_LIBS=$LIBS
28758 LIBS="-lcdda_interface -lm $LIBS"
28759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28760 /* end confdefs.h.  */
28761
28762 /* Override any GCC internal prototype to avoid an error.
28763    Use char because int might match the return type of a GCC
28764    builtin and then its argument prototype would still apply.  */
28765 #ifdef __cplusplus
28766 extern "C"
28767 #endif
28768 char cdda_open ();
28769 int
28770 main ()
28771 {
28772 return cdda_open ();
28773   ;
28774   return 0;
28775 }
28776 _ACEOF
28777 if ac_fn_c_try_link "$LINENO"; then :
28778   ac_cv_lib_cdda_interface_cdda_open=yes
28779 else
28780   ac_cv_lib_cdda_interface_cdda_open=no
28781 fi
28782 rm -f core conftest.err conftest.$ac_objext \
28783     conftest$ac_exeext conftest.$ac_ext
28784 LIBS=$ac_check_lib_save_LIBS
28785 fi
28786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdda_interface_cdda_open" >&5
28787 $as_echo "$ac_cv_lib_cdda_interface_cdda_open" >&6; }
28788 if test "x$ac_cv_lib_cdda_interface_cdda_open" = xyes; then :
28789   HAVE_CDPARANOIA=yes
28790 else
28791   HAVE_CDPARANOIA=no
28792 fi
28793
28794   if test "x$HAVE_CDPARANOIA" = "xyes"; then
28795     ac_fn_c_check_header_mongrel "$LINENO" "cdda/cdda_interface.h" "ac_cv_header_cdda_cdda_interface_h" "$ac_includes_default"
28796 if test "x$ac_cv_header_cdda_cdda_interface_h" = xyes; then :
28797   :
28798 else
28799   HAVE_CDPARANOIA=no
28800 fi
28801
28802
28803     if test "x$HAVE_CDPARANOIA" = "xyes"; then
28804             CDPARANOIA_LIBS="-lcdda_interface -lcdda_paranoia"
28805                           HEADER_DIR="yes"
28806                           FOUND_CDPARANOIA="yes"
28807     else
28808       :
28809     fi
28810   else
28811     :
28812   fi
28813
28814
28815
28816     fi
28817     if test "x$HEADER_DIR" = "xyes";
28818     then
28819
28820 cat >>confdefs.h <<_ACEOF
28821 #define CDPARANOIA_HEADERS_IN_DIR /**/
28822 _ACEOF
28823
28824     fi
28825     if test "x$FOUND_CDPARANOIA" = "xyes";
28826     then
28827       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for paranoia_cachemodel_size in -lcdda_paranoia" >&5
28828 $as_echo_n "checking for paranoia_cachemodel_size in -lcdda_paranoia... " >&6; }
28829 if ${ac_cv_lib_cdda_paranoia_paranoia_cachemodel_size+:} false; then :
28830   $as_echo_n "(cached) " >&6
28831 else
28832   ac_check_lib_save_LIBS=$LIBS
28833 LIBS="-lcdda_paranoia -lcdda_interface $LIBS"
28834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28835 /* end confdefs.h.  */
28836
28837 /* Override any GCC internal prototype to avoid an error.
28838    Use char because int might match the return type of a GCC
28839    builtin and then its argument prototype would still apply.  */
28840 #ifdef __cplusplus
28841 extern "C"
28842 #endif
28843 char paranoia_cachemodel_size ();
28844 int
28845 main ()
28846 {
28847 return paranoia_cachemodel_size ();
28848   ;
28849   return 0;
28850 }
28851 _ACEOF
28852 if ac_fn_c_try_link "$LINENO"; then :
28853   ac_cv_lib_cdda_paranoia_paranoia_cachemodel_size=yes
28854 else
28855   ac_cv_lib_cdda_paranoia_paranoia_cachemodel_size=no
28856 fi
28857 rm -f core conftest.err conftest.$ac_objext \
28858     conftest$ac_exeext conftest.$ac_ext
28859 LIBS=$ac_check_lib_save_LIBS
28860 fi
28861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdda_paranoia_paranoia_cachemodel_size" >&5
28862 $as_echo "$ac_cv_lib_cdda_paranoia_paranoia_cachemodel_size" >&6; }
28863 if test "x$ac_cv_lib_cdda_paranoia_paranoia_cachemodel_size" = xyes; then :
28864   :
28865 else
28866   HAVE_CDPARANOIA=no
28867 fi
28868
28869     fi
28870
28871
28872
28873 elif test $pkg_failed = untried; then
28874
28875
28876   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cdda_open in -lcdda_interface" >&5
28877 $as_echo_n "checking for cdda_open in -lcdda_interface... " >&6; }
28878 if ${ac_cv_lib_cdda_interface_cdda_open+:} false; then :
28879   $as_echo_n "(cached) " >&6
28880 else
28881   ac_check_lib_save_LIBS=$LIBS
28882 LIBS="-lcdda_interface -lm $LIBS"
28883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28884 /* end confdefs.h.  */
28885
28886 /* Override any GCC internal prototype to avoid an error.
28887    Use char because int might match the return type of a GCC
28888    builtin and then its argument prototype would still apply.  */
28889 #ifdef __cplusplus
28890 extern "C"
28891 #endif
28892 char cdda_open ();
28893 int
28894 main ()
28895 {
28896 return cdda_open ();
28897   ;
28898   return 0;
28899 }
28900 _ACEOF
28901 if ac_fn_c_try_link "$LINENO"; then :
28902   ac_cv_lib_cdda_interface_cdda_open=yes
28903 else
28904   ac_cv_lib_cdda_interface_cdda_open=no
28905 fi
28906 rm -f core conftest.err conftest.$ac_objext \
28907     conftest$ac_exeext conftest.$ac_ext
28908 LIBS=$ac_check_lib_save_LIBS
28909 fi
28910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdda_interface_cdda_open" >&5
28911 $as_echo "$ac_cv_lib_cdda_interface_cdda_open" >&6; }
28912 if test "x$ac_cv_lib_cdda_interface_cdda_open" = xyes; then :
28913   HAVE_CDPARANOIA=yes
28914 else
28915   HAVE_CDPARANOIA=no
28916 fi
28917
28918   if test "x$HAVE_CDPARANOIA" = "xyes"; then
28919     ac_fn_c_check_header_mongrel "$LINENO" "cdda_interface.h" "ac_cv_header_cdda_interface_h" "$ac_includes_default"
28920 if test "x$ac_cv_header_cdda_interface_h" = xyes; then :
28921   :
28922 else
28923   HAVE_CDPARANOIA=no
28924 fi
28925
28926
28927     if test "x$HAVE_CDPARANOIA" = "xyes"; then
28928             CDPARANOIA_LIBS="-lcdda_interface -lcdda_paranoia"
28929                         HEADER_DIR="no"
28930                         FOUND_CDPARANOIA="yes"
28931     else
28932       :
28933     fi
28934   else
28935     :
28936   fi
28937
28938
28939
28940     if test "x$FOUND_CDPARANOIA" != "xyes";
28941     then
28942
28943   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cdda_open in -lcdda_interface" >&5
28944 $as_echo_n "checking for cdda_open in -lcdda_interface... " >&6; }
28945 if ${ac_cv_lib_cdda_interface_cdda_open+:} false; then :
28946   $as_echo_n "(cached) " >&6
28947 else
28948   ac_check_lib_save_LIBS=$LIBS
28949 LIBS="-lcdda_interface -lm $LIBS"
28950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28951 /* end confdefs.h.  */
28952
28953 /* Override any GCC internal prototype to avoid an error.
28954    Use char because int might match the return type of a GCC
28955    builtin and then its argument prototype would still apply.  */
28956 #ifdef __cplusplus
28957 extern "C"
28958 #endif
28959 char cdda_open ();
28960 int
28961 main ()
28962 {
28963 return cdda_open ();
28964   ;
28965   return 0;
28966 }
28967 _ACEOF
28968 if ac_fn_c_try_link "$LINENO"; then :
28969   ac_cv_lib_cdda_interface_cdda_open=yes
28970 else
28971   ac_cv_lib_cdda_interface_cdda_open=no
28972 fi
28973 rm -f core conftest.err conftest.$ac_objext \
28974     conftest$ac_exeext conftest.$ac_ext
28975 LIBS=$ac_check_lib_save_LIBS
28976 fi
28977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdda_interface_cdda_open" >&5
28978 $as_echo "$ac_cv_lib_cdda_interface_cdda_open" >&6; }
28979 if test "x$ac_cv_lib_cdda_interface_cdda_open" = xyes; then :
28980   HAVE_CDPARANOIA=yes
28981 else
28982   HAVE_CDPARANOIA=no
28983 fi
28984
28985   if test "x$HAVE_CDPARANOIA" = "xyes"; then
28986     ac_fn_c_check_header_mongrel "$LINENO" "cdda/cdda_interface.h" "ac_cv_header_cdda_cdda_interface_h" "$ac_includes_default"
28987 if test "x$ac_cv_header_cdda_cdda_interface_h" = xyes; then :
28988   :
28989 else
28990   HAVE_CDPARANOIA=no
28991 fi
28992
28993
28994     if test "x$HAVE_CDPARANOIA" = "xyes"; then
28995             CDPARANOIA_LIBS="-lcdda_interface -lcdda_paranoia"
28996                           HEADER_DIR="yes"
28997                           FOUND_CDPARANOIA="yes"
28998     else
28999       :
29000     fi
29001   else
29002     :
29003   fi
29004
29005
29006
29007     fi
29008     if test "x$HEADER_DIR" = "xyes";
29009     then
29010
29011 cat >>confdefs.h <<_ACEOF
29012 #define CDPARANOIA_HEADERS_IN_DIR /**/
29013 _ACEOF
29014
29015     fi
29016     if test "x$FOUND_CDPARANOIA" = "xyes";
29017     then
29018       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for paranoia_cachemodel_size in -lcdda_paranoia" >&5
29019 $as_echo_n "checking for paranoia_cachemodel_size in -lcdda_paranoia... " >&6; }
29020 if ${ac_cv_lib_cdda_paranoia_paranoia_cachemodel_size+:} false; then :
29021   $as_echo_n "(cached) " >&6
29022 else
29023   ac_check_lib_save_LIBS=$LIBS
29024 LIBS="-lcdda_paranoia -lcdda_interface $LIBS"
29025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29026 /* end confdefs.h.  */
29027
29028 /* Override any GCC internal prototype to avoid an error.
29029    Use char because int might match the return type of a GCC
29030    builtin and then its argument prototype would still apply.  */
29031 #ifdef __cplusplus
29032 extern "C"
29033 #endif
29034 char paranoia_cachemodel_size ();
29035 int
29036 main ()
29037 {
29038 return paranoia_cachemodel_size ();
29039   ;
29040   return 0;
29041 }
29042 _ACEOF
29043 if ac_fn_c_try_link "$LINENO"; then :
29044   ac_cv_lib_cdda_paranoia_paranoia_cachemodel_size=yes
29045 else
29046   ac_cv_lib_cdda_paranoia_paranoia_cachemodel_size=no
29047 fi
29048 rm -f core conftest.err conftest.$ac_objext \
29049     conftest$ac_exeext conftest.$ac_ext
29050 LIBS=$ac_check_lib_save_LIBS
29051 fi
29052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdda_paranoia_paranoia_cachemodel_size" >&5
29053 $as_echo "$ac_cv_lib_cdda_paranoia_paranoia_cachemodel_size" >&6; }
29054 if test "x$ac_cv_lib_cdda_paranoia_paranoia_cachemodel_size" = xyes; then :
29055   :
29056 else
29057   HAVE_CDPARANOIA=no
29058 fi
29059
29060     fi
29061
29062
29063
29064 else
29065         CDPARANOIA_CFLAGS=$pkg_cv_CDPARANOIA_CFLAGS
29066         CDPARANOIA_LIBS=$pkg_cv_CDPARANOIA_LIBS
29067         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29068 $as_echo "yes" >&6; }
29069
29070     HAVE_CDPARANOIA="yes"
29071
29072 fi
29073
29074
29075   LIBS=$gst_check_save_LIBS
29076   LDFLAGS=$gst_check_save_LDFLAGS
29077   CFLAGS=$gst_check_save_CFLAGS
29078   CPPFLAGS=$gst_check_save_CPPFLAGS
29079   CXXFLAGS=$gst_check_save_CXXFLAGS
29080
29081     if test x$HAVE_CDPARANOIA = xno; then
29082     USE_CDPARANOIA=no
29083   else
29084     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: cdparanoia" >&5
29085 $as_echo "$as_me: *** These plugins will be built: cdparanoia" >&6;}
29086   fi
29087 fi
29088 if test x$USE_CDPARANOIA = xyes; then
29089   :
29090   if test "xcdparanoia" != "x"; then
29091     GST_PLUGINS_YES="\tcdparanoia\n$GST_PLUGINS_YES"
29092   fi
29093
29094 $as_echo "#define HAVE_CDPARANOIA /**/" >>confdefs.h
29095
29096 else
29097   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: cdparanoia" >&5
29098 $as_echo "$as_me: *** These plugins will not be built: cdparanoia" >&6;}
29099   if test "xcdparanoia" != "x"; then
29100     GST_PLUGINS_NO="\tcdparanoia\n$GST_PLUGINS_NO"
29101   fi
29102   :
29103 fi
29104  if test x$USE_CDPARANOIA = xyes; then
29105   USE_CDPARANOIA_TRUE=
29106   USE_CDPARANOIA_FALSE='#'
29107 else
29108   USE_CDPARANOIA_TRUE='#'
29109   USE_CDPARANOIA_FALSE=
29110 fi
29111
29112
29113
29114 echo
29115 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: GNOME VFS ***" >&5
29116 $as_echo "$as_me: *** checking feature: GNOME VFS ***" >&6;}
29117 if test "xgnomevfs" != "x"
29118 then
29119   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: gnomevfs ***" >&5
29120 $as_echo "$as_me: *** for plug-ins: gnomevfs ***" >&6;}
29121 fi
29122 NOUSE=
29123 if test "x$USE_GNOME_VFS" = "xno"; then
29124   NOUSE="yes"
29125 fi
29126 # Check whether --enable-gnome_vfs was given.
29127 if test "${enable_gnome_vfs+set}" = set; then :
29128   enableval=$enable_gnome_vfs;  case "${enableval}" in
29129       yes) USE_GNOME_VFS=yes;;
29130       no) USE_GNOME_VFS=no;;
29131       *) as_fn_error $? "bad value ${enableval} for --enable-gnome_vfs" "$LINENO" 5 ;;
29132     esac
29133 else
29134    USE_GNOME_VFS=yes
29135 fi
29136
29137 if test "x$NOUSE" = "xyes"; then
29138   USE_GNOME_VFS="no"
29139   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** gnomevfs pre-configured not to be built" >&5
29140 $as_echo "$as_me: WARNING: *** gnomevfs pre-configured not to be built" >&2;}
29141 fi
29142 NOUSE=
29143
29144
29145 if test x$USE_GNOME_VFS = xyes; then
29146
29147   gst_check_save_LIBS=$LIBS
29148   gst_check_save_LDFLAGS=$LDFLAGS
29149   gst_check_save_CFLAGS=$CFLAGS
29150   gst_check_save_CPPFLAGS=$CPPFLAGS
29151   gst_check_save_CXXFLAGS=$CXXFLAGS
29152
29153   HAVE_GNOME_VFS=no
29154
29155
29156 pkg_failed=no
29157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOME_VFS" >&5
29158 $as_echo_n "checking for GNOME_VFS... " >&6; }
29159
29160 if test -n "$PKG_CONFIG"; then
29161     if test -n "$GNOME_VFS_CFLAGS"; then
29162         pkg_cv_GNOME_VFS_CFLAGS="$GNOME_VFS_CFLAGS"
29163     else
29164         if test -n "$PKG_CONFIG" && \
29165     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0\""; } >&5
29166   ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0") 2>&5
29167   ac_status=$?
29168   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29169   test $ac_status = 0; }; then
29170   pkg_cv_GNOME_VFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0" 2>/dev/null`
29171 else
29172   pkg_failed=yes
29173 fi
29174     fi
29175 else
29176         pkg_failed=untried
29177 fi
29178 if test -n "$PKG_CONFIG"; then
29179     if test -n "$GNOME_VFS_LIBS"; then
29180         pkg_cv_GNOME_VFS_LIBS="$GNOME_VFS_LIBS"
29181     else
29182         if test -n "$PKG_CONFIG" && \
29183     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0\""; } >&5
29184   ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0") 2>&5
29185   ac_status=$?
29186   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29187   test $ac_status = 0; }; then
29188   pkg_cv_GNOME_VFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0" 2>/dev/null`
29189 else
29190   pkg_failed=yes
29191 fi
29192     fi
29193 else
29194         pkg_failed=untried
29195 fi
29196
29197
29198
29199 if test $pkg_failed = yes; then
29200
29201 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29202         _pkg_short_errors_supported=yes
29203 else
29204         _pkg_short_errors_supported=no
29205 fi
29206         if test $_pkg_short_errors_supported = yes; then
29207                 GNOME_VFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0"`
29208         else
29209                 GNOME_VFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0"`
29210         fi
29211         # Put the nasty error message in config.log where it belongs
29212         echo "$GNOME_VFS_PKG_ERRORS" >&5
29213
29214         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29215 $as_echo "no" >&6; }
29216
29217       HAVE_GNOME_VFS="no"
29218
29219
29220 elif test $pkg_failed = untried; then
29221
29222       HAVE_GNOME_VFS="no"
29223
29224
29225 else
29226         GNOME_VFS_CFLAGS=$pkg_cv_GNOME_VFS_CFLAGS
29227         GNOME_VFS_LIBS=$pkg_cv_GNOME_VFS_LIBS
29228         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29229 $as_echo "yes" >&6; }
29230
29231       HAVE_GNOME_VFS="yes"
29232
29233
29234       GNOME_VFS_MODULES_DIR="`$PKG_CONFIG --variable=modulesdir gnome-vfs-2.0`"
29235
29236 cat >>confdefs.h <<_ACEOF
29237 #define GNOME_VFS_MODULES_DIR "$GNOME_VFS_MODULES_DIR"
29238 _ACEOF
29239
29240
29241 fi
29242
29243
29244   LIBS=$gst_check_save_LIBS
29245   LDFLAGS=$gst_check_save_LDFLAGS
29246   CFLAGS=$gst_check_save_CFLAGS
29247   CPPFLAGS=$gst_check_save_CPPFLAGS
29248   CXXFLAGS=$gst_check_save_CXXFLAGS
29249
29250     if test x$HAVE_GNOME_VFS = xno; then
29251     USE_GNOME_VFS=no
29252   else
29253     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: gnomevfs" >&5
29254 $as_echo "$as_me: *** These plugins will be built: gnomevfs" >&6;}
29255   fi
29256 fi
29257 if test x$USE_GNOME_VFS = xyes; then
29258   :
29259   if test "xgnomevfs" != "x"; then
29260     GST_PLUGINS_YES="\tgnomevfs\n$GST_PLUGINS_YES"
29261   fi
29262
29263 $as_echo "#define HAVE_GNOME_VFS /**/" >>confdefs.h
29264
29265 else
29266   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: gnomevfs" >&5
29267 $as_echo "$as_me: *** These plugins will not be built: gnomevfs" >&6;}
29268   if test "xgnomevfs" != "x"; then
29269     GST_PLUGINS_NO="\tgnomevfs\n$GST_PLUGINS_NO"
29270   fi
29271   :
29272 fi
29273  if test x$USE_GNOME_VFS = xyes; then
29274   USE_GNOME_VFS_TRUE=
29275   USE_GNOME_VFS_FALSE='#'
29276 else
29277   USE_GNOME_VFS_TRUE='#'
29278   USE_GNOME_VFS_FALSE=
29279 fi
29280
29281
29282
29283 echo
29284 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: integer vorbis plug-in ***" >&5
29285 $as_echo "$as_me: *** checking feature: integer vorbis plug-in ***" >&6;}
29286 if test "xivorbisdec" != "x"
29287 then
29288   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: ivorbisdec ***" >&5
29289 $as_echo "$as_me: *** for plug-ins: ivorbisdec ***" >&6;}
29290 fi
29291 NOUSE=
29292 if test "x$USE_IVORBIS" = "xno"; then
29293   NOUSE="yes"
29294 fi
29295 # Check whether --enable-ivorbis was given.
29296 if test "${enable_ivorbis+set}" = set; then :
29297   enableval=$enable_ivorbis;  case "${enableval}" in
29298       yes) USE_IVORBIS=yes;;
29299       no) USE_IVORBIS=no;;
29300       *) as_fn_error $? "bad value ${enableval} for --enable-ivorbis" "$LINENO" 5 ;;
29301     esac
29302 else
29303    USE_IVORBIS=yes
29304 fi
29305
29306 if test "x$NOUSE" = "xyes"; then
29307   USE_IVORBIS="no"
29308   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** ivorbisdec pre-configured not to be built" >&5
29309 $as_echo "$as_me: WARNING: *** ivorbisdec pre-configured not to be built" >&2;}
29310 fi
29311 NOUSE=
29312
29313
29314 if test x$USE_IVORBIS = xyes; then
29315
29316   gst_check_save_LIBS=$LIBS
29317   gst_check_save_LDFLAGS=$LDFLAGS
29318   gst_check_save_CFLAGS=$CFLAGS
29319   gst_check_save_CPPFLAGS=$CPPFLAGS
29320   gst_check_save_CXXFLAGS=$CXXFLAGS
29321
29322   HAVE_IVORBIS=no
29323
29324
29325   which="vorbisidec"
29326     required="no"
29327
29328
29329 pkg_failed=no
29330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IVORBIS" >&5
29331 $as_echo_n "checking for IVORBIS... " >&6; }
29332
29333 if test -n "$PKG_CONFIG"; then
29334     if test -n "$IVORBIS_CFLAGS"; then
29335         pkg_cv_IVORBIS_CFLAGS="$IVORBIS_CFLAGS"
29336     else
29337         if test -n "$PKG_CONFIG" && \
29338     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
29339   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
29340   ac_status=$?
29341   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29342   test $ac_status = 0; }; then
29343   pkg_cv_IVORBIS_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
29344 else
29345   pkg_failed=yes
29346 fi
29347     fi
29348 else
29349         pkg_failed=untried
29350 fi
29351 if test -n "$PKG_CONFIG"; then
29352     if test -n "$IVORBIS_LIBS"; then
29353         pkg_cv_IVORBIS_LIBS="$IVORBIS_LIBS"
29354     else
29355         if test -n "$PKG_CONFIG" && \
29356     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
29357   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
29358   ac_status=$?
29359   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29360   test $ac_status = 0; }; then
29361   pkg_cv_IVORBIS_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
29362 else
29363   pkg_failed=yes
29364 fi
29365     fi
29366 else
29367         pkg_failed=untried
29368 fi
29369
29370
29371
29372 if test $pkg_failed = yes; then
29373
29374 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29375         _pkg_short_errors_supported=yes
29376 else
29377         _pkg_short_errors_supported=no
29378 fi
29379         if test $_pkg_short_errors_supported = yes; then
29380                 IVORBIS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
29381         else
29382                 IVORBIS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
29383         fi
29384         # Put the nasty error message in config.log where it belongs
29385         echo "$IVORBIS_PKG_ERRORS" >&5
29386
29387         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29388 $as_echo "no" >&6; }
29389
29390       HAVE_IVORBIS="no"
29391       if test "x$required" = "xyes"; then
29392         as_fn_error $? "$IVORBIS_PKG_ERRORS" "$LINENO" 5
29393       else
29394         { $as_echo "$as_me:${as_lineno-$LINENO}: $IVORBIS_PKG_ERRORS" >&5
29395 $as_echo "$as_me: $IVORBIS_PKG_ERRORS" >&6;}
29396       fi
29397
29398 elif test $pkg_failed = untried; then
29399
29400       HAVE_IVORBIS="no"
29401       if test "x$required" = "xyes"; then
29402         as_fn_error $? "$IVORBIS_PKG_ERRORS" "$LINENO" 5
29403       else
29404         { $as_echo "$as_me:${as_lineno-$LINENO}: $IVORBIS_PKG_ERRORS" >&5
29405 $as_echo "$as_me: $IVORBIS_PKG_ERRORS" >&6;}
29406       fi
29407
29408 else
29409         IVORBIS_CFLAGS=$pkg_cv_IVORBIS_CFLAGS
29410         IVORBIS_LIBS=$pkg_cv_IVORBIS_LIBS
29411         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29412 $as_echo "yes" >&6; }
29413
29414       HAVE_IVORBIS="yes"
29415
29416 fi
29417
29418
29419   if test $HAVE_IVORBIS = no
29420   then
29421     IVORBIS_LIBS=
29422     IVORBIS_CFLAGS=
29423     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vorbis_block_init in -lvorbisidec" >&5
29424 $as_echo_n "checking for vorbis_block_init in -lvorbisidec... " >&6; }
29425 if ${ac_cv_lib_vorbisidec_vorbis_block_init+:} false; then :
29426   $as_echo_n "(cached) " >&6
29427 else
29428   ac_check_lib_save_LIBS=$LIBS
29429 LIBS="-lvorbisidec  $LIBS"
29430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29431 /* end confdefs.h.  */
29432
29433 /* Override any GCC internal prototype to avoid an error.
29434    Use char because int might match the return type of a GCC
29435    builtin and then its argument prototype would still apply.  */
29436 #ifdef __cplusplus
29437 extern "C"
29438 #endif
29439 char vorbis_block_init ();
29440 int
29441 main ()
29442 {
29443 return vorbis_block_init ();
29444   ;
29445   return 0;
29446 }
29447 _ACEOF
29448 if ac_fn_c_try_link "$LINENO"; then :
29449   ac_cv_lib_vorbisidec_vorbis_block_init=yes
29450 else
29451   ac_cv_lib_vorbisidec_vorbis_block_init=no
29452 fi
29453 rm -f core conftest.err conftest.$ac_objext \
29454     conftest$ac_exeext conftest.$ac_ext
29455 LIBS=$ac_check_lib_save_LIBS
29456 fi
29457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_vorbisidec_vorbis_block_init" >&5
29458 $as_echo "$ac_cv_lib_vorbisidec_vorbis_block_init" >&6; }
29459 if test "x$ac_cv_lib_vorbisidec_vorbis_block_init" = xyes; then :
29460   IVORBIS_LIBS=-lvorbisidec
29461       HAVE_IVORBIS=yes
29462       case $host in
29463       arm-*-*)
29464         IVORBIS_CFLAGS="-D_ARM_ASSEM_ $IVORBIS_CFLAGS"
29465       esac
29466
29467 else
29468   HAVE_IVORBIS=no
29469 fi
29470
29471
29472
29473   else
29474     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vorbis_dsp_pcmout in -lvorbisidec" >&5
29475 $as_echo_n "checking for vorbis_dsp_pcmout in -lvorbisidec... " >&6; }
29476 if ${ac_cv_lib_vorbisidec_vorbis_dsp_pcmout+:} false; then :
29477   $as_echo_n "(cached) " >&6
29478 else
29479   ac_check_lib_save_LIBS=$LIBS
29480 LIBS="-lvorbisidec  $LIBS"
29481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29482 /* end confdefs.h.  */
29483
29484 /* Override any GCC internal prototype to avoid an error.
29485    Use char because int might match the return type of a GCC
29486    builtin and then its argument prototype would still apply.  */
29487 #ifdef __cplusplus
29488 extern "C"
29489 #endif
29490 char vorbis_dsp_pcmout ();
29491 int
29492 main ()
29493 {
29494 return vorbis_dsp_pcmout ();
29495   ;
29496   return 0;
29497 }
29498 _ACEOF
29499 if ac_fn_c_try_link "$LINENO"; then :
29500   ac_cv_lib_vorbisidec_vorbis_dsp_pcmout=yes
29501 else
29502   ac_cv_lib_vorbisidec_vorbis_dsp_pcmout=no
29503 fi
29504 rm -f core conftest.err conftest.$ac_objext \
29505     conftest$ac_exeext conftest.$ac_ext
29506 LIBS=$ac_check_lib_save_LIBS
29507 fi
29508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_vorbisidec_vorbis_dsp_pcmout" >&5
29509 $as_echo "$ac_cv_lib_vorbisidec_vorbis_dsp_pcmout" >&6; }
29510 if test "x$ac_cv_lib_vorbisidec_vorbis_dsp_pcmout" = xyes; then :
29511
29512 $as_echo "#define USE_TREMOLO 1" >>confdefs.h
29513
29514 else
29515   USE_TREMOLO=no
29516 fi
29517
29518   fi
29519
29520
29521   LIBS=$gst_check_save_LIBS
29522   LDFLAGS=$gst_check_save_LDFLAGS
29523   CFLAGS=$gst_check_save_CFLAGS
29524   CPPFLAGS=$gst_check_save_CPPFLAGS
29525   CXXFLAGS=$gst_check_save_CXXFLAGS
29526
29527     if test x$HAVE_IVORBIS = xno; then
29528     USE_IVORBIS=no
29529   else
29530     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: ivorbisdec" >&5
29531 $as_echo "$as_me: *** These plugins will be built: ivorbisdec" >&6;}
29532   fi
29533 fi
29534 if test x$USE_IVORBIS = xyes; then
29535   :
29536   if test "xivorbisdec" != "x"; then
29537     GST_PLUGINS_YES="\tivorbisdec\n$GST_PLUGINS_YES"
29538   fi
29539
29540 $as_echo "#define HAVE_IVORBIS /**/" >>confdefs.h
29541
29542 else
29543   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: ivorbisdec" >&5
29544 $as_echo "$as_me: *** These plugins will not be built: ivorbisdec" >&6;}
29545   if test "xivorbisdec" != "x"; then
29546     GST_PLUGINS_NO="\tivorbisdec\n$GST_PLUGINS_NO"
29547   fi
29548   :
29549 fi
29550  if test x$USE_IVORBIS = xyes; then
29551   USE_IVORBIS_TRUE=
29552   USE_IVORBIS_FALSE='#'
29553 else
29554   USE_IVORBIS_TRUE='#'
29555   USE_IVORBIS_FALSE=
29556 fi
29557
29558
29559
29560 echo
29561 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: GIO library ***" >&5
29562 $as_echo "$as_me: *** checking feature: GIO library ***" >&6;}
29563 if test "xgio" != "x"
29564 then
29565   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: gio ***" >&5
29566 $as_echo "$as_me: *** for plug-ins: gio ***" >&6;}
29567 fi
29568 NOUSE=
29569 if test "x$USE_GIO" = "xno"; then
29570   NOUSE="yes"
29571 fi
29572 # Check whether --enable-gio was given.
29573 if test "${enable_gio+set}" = set; then :
29574   enableval=$enable_gio;  case "${enableval}" in
29575       yes) USE_GIO=yes;;
29576       no) USE_GIO=no;;
29577       *) as_fn_error $? "bad value ${enableval} for --enable-gio" "$LINENO" 5 ;;
29578     esac
29579 else
29580    USE_GIO=yes
29581 fi
29582
29583 if test "x$NOUSE" = "xyes"; then
29584   USE_GIO="no"
29585   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** gio pre-configured not to be built" >&5
29586 $as_echo "$as_me: WARNING: *** gio pre-configured not to be built" >&2;}
29587 fi
29588 NOUSE=
29589
29590
29591 if test x$USE_GIO = xyes; then
29592
29593   gst_check_save_LIBS=$LIBS
29594   gst_check_save_LDFLAGS=$LDFLAGS
29595   gst_check_save_CFLAGS=$CFLAGS
29596   gst_check_save_CPPFLAGS=$CPPFLAGS
29597   gst_check_save_CXXFLAGS=$CXXFLAGS
29598
29599   HAVE_GIO=no
29600
29601
29602 pkg_failed=no
29603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO" >&5
29604 $as_echo_n "checking for GIO... " >&6; }
29605
29606 if test -n "$PKG_CONFIG"; then
29607     if test -n "$GIO_CFLAGS"; then
29608         pkg_cv_GIO_CFLAGS="$GIO_CFLAGS"
29609     else
29610         if test -n "$PKG_CONFIG" && \
29611     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.16\""; } >&5
29612   ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.16") 2>&5
29613   ac_status=$?
29614   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29615   test $ac_status = 0; }; then
29616   pkg_cv_GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= 2.16" 2>/dev/null`
29617 else
29618   pkg_failed=yes
29619 fi
29620     fi
29621 else
29622         pkg_failed=untried
29623 fi
29624 if test -n "$PKG_CONFIG"; then
29625     if test -n "$GIO_LIBS"; then
29626         pkg_cv_GIO_LIBS="$GIO_LIBS"
29627     else
29628         if test -n "$PKG_CONFIG" && \
29629     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.16\""; } >&5
29630   ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.16") 2>&5
29631   ac_status=$?
29632   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29633   test $ac_status = 0; }; then
29634   pkg_cv_GIO_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= 2.16" 2>/dev/null`
29635 else
29636   pkg_failed=yes
29637 fi
29638     fi
29639 else
29640         pkg_failed=untried
29641 fi
29642
29643
29644
29645 if test $pkg_failed = yes; then
29646
29647 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29648         _pkg_short_errors_supported=yes
29649 else
29650         _pkg_short_errors_supported=no
29651 fi
29652         if test $_pkg_short_errors_supported = yes; then
29653                 GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gio-2.0 >= 2.16"`
29654         else
29655                 GIO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gio-2.0 >= 2.16"`
29656         fi
29657         # Put the nasty error message in config.log where it belongs
29658         echo "$GIO_PKG_ERRORS" >&5
29659
29660         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29661 $as_echo "no" >&6; }
29662
29663     HAVE_GIO="no"
29664
29665 elif test $pkg_failed = untried; then
29666
29667     HAVE_GIO="no"
29668
29669 else
29670         GIO_CFLAGS=$pkg_cv_GIO_CFLAGS
29671         GIO_LIBS=$pkg_cv_GIO_LIBS
29672         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29673 $as_echo "yes" >&6; }
29674
29675     HAVE_GIO="yes"
29676     GIO_MODULE_DIR="`$PKG_CONFIG --variable=giomoduledir gio-2.0`"
29677
29678 cat >>confdefs.h <<_ACEOF
29679 #define GIO_MODULE_DIR "$GIO_MODULE_DIR"
29680 _ACEOF
29681
29682     GIO_LIBDIR="`$PKG_CONFIG --variable=libdir gio-2.0`"
29683
29684 cat >>confdefs.h <<_ACEOF
29685 #define GIO_LIBDIR "$GIO_LIBDIR"
29686 _ACEOF
29687
29688
29689 fi
29690
29691
29692
29693
29694
29695   LIBS=$gst_check_save_LIBS
29696   LDFLAGS=$gst_check_save_LDFLAGS
29697   CFLAGS=$gst_check_save_CFLAGS
29698   CPPFLAGS=$gst_check_save_CPPFLAGS
29699   CXXFLAGS=$gst_check_save_CXXFLAGS
29700
29701     if test x$HAVE_GIO = xno; then
29702     USE_GIO=no
29703   else
29704     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: gio" >&5
29705 $as_echo "$as_me: *** These plugins will be built: gio" >&6;}
29706   fi
29707 fi
29708 if test x$USE_GIO = xyes; then
29709   :
29710   if test "xgio" != "x"; then
29711     GST_PLUGINS_YES="\tgio\n$GST_PLUGINS_YES"
29712   fi
29713
29714 $as_echo "#define HAVE_GIO /**/" >>confdefs.h
29715
29716 else
29717   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: gio" >&5
29718 $as_echo "$as_me: *** These plugins will not be built: gio" >&6;}
29719   if test "xgio" != "x"; then
29720     GST_PLUGINS_NO="\tgio\n$GST_PLUGINS_NO"
29721   fi
29722   :
29723 fi
29724  if test x$USE_GIO = xyes; then
29725   USE_GIO_TRUE=
29726   USE_GIO_FALSE='#'
29727 else
29728   USE_GIO_TRUE='#'
29729   USE_GIO_FALSE=
29730 fi
29731
29732
29733
29734 echo
29735 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: libvisual visualization library ***" >&5
29736 $as_echo "$as_me: *** checking feature: libvisual visualization library ***" >&6;}
29737 if test "xlibvisual" != "x"
29738 then
29739   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: libvisual ***" >&5
29740 $as_echo "$as_me: *** for plug-ins: libvisual ***" >&6;}
29741 fi
29742 NOUSE=
29743 if test "x$USE_LIBVISUAL" = "xno"; then
29744   NOUSE="yes"
29745 fi
29746 # Check whether --enable-libvisual was given.
29747 if test "${enable_libvisual+set}" = set; then :
29748   enableval=$enable_libvisual;  case "${enableval}" in
29749       yes) USE_LIBVISUAL=yes;;
29750       no) USE_LIBVISUAL=no;;
29751       *) as_fn_error $? "bad value ${enableval} for --enable-libvisual" "$LINENO" 5 ;;
29752     esac
29753 else
29754    USE_LIBVISUAL=yes
29755 fi
29756
29757 if test "x$NOUSE" = "xyes"; then
29758   USE_LIBVISUAL="no"
29759   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** libvisual pre-configured not to be built" >&5
29760 $as_echo "$as_me: WARNING: *** libvisual pre-configured not to be built" >&2;}
29761 fi
29762 NOUSE=
29763
29764
29765 if test x$USE_LIBVISUAL = xyes; then
29766
29767   gst_check_save_LIBS=$LIBS
29768   gst_check_save_LDFLAGS=$LDFLAGS
29769   gst_check_save_CFLAGS=$CFLAGS
29770   gst_check_save_CPPFLAGS=$CPPFLAGS
29771   gst_check_save_CXXFLAGS=$CXXFLAGS
29772
29773   HAVE_LIBVISUAL=no
29774
29775
29776   which="libvisual-0.4 >= 0.4.0"
29777     required="no"
29778
29779
29780 pkg_failed=no
29781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBVISUAL" >&5
29782 $as_echo_n "checking for LIBVISUAL... " >&6; }
29783
29784 if test -n "$PKG_CONFIG"; then
29785     if test -n "$LIBVISUAL_CFLAGS"; then
29786         pkg_cv_LIBVISUAL_CFLAGS="$LIBVISUAL_CFLAGS"
29787     else
29788         if test -n "$PKG_CONFIG" && \
29789     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
29790   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
29791   ac_status=$?
29792   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29793   test $ac_status = 0; }; then
29794   pkg_cv_LIBVISUAL_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
29795 else
29796   pkg_failed=yes
29797 fi
29798     fi
29799 else
29800         pkg_failed=untried
29801 fi
29802 if test -n "$PKG_CONFIG"; then
29803     if test -n "$LIBVISUAL_LIBS"; then
29804         pkg_cv_LIBVISUAL_LIBS="$LIBVISUAL_LIBS"
29805     else
29806         if test -n "$PKG_CONFIG" && \
29807     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
29808   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
29809   ac_status=$?
29810   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29811   test $ac_status = 0; }; then
29812   pkg_cv_LIBVISUAL_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
29813 else
29814   pkg_failed=yes
29815 fi
29816     fi
29817 else
29818         pkg_failed=untried
29819 fi
29820
29821
29822
29823 if test $pkg_failed = yes; then
29824
29825 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29826         _pkg_short_errors_supported=yes
29827 else
29828         _pkg_short_errors_supported=no
29829 fi
29830         if test $_pkg_short_errors_supported = yes; then
29831                 LIBVISUAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
29832         else
29833                 LIBVISUAL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
29834         fi
29835         # Put the nasty error message in config.log where it belongs
29836         echo "$LIBVISUAL_PKG_ERRORS" >&5
29837
29838         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29839 $as_echo "no" >&6; }
29840
29841       HAVE_LIBVISUAL="no"
29842       if test "x$required" = "xyes"; then
29843         as_fn_error $? "$LIBVISUAL_PKG_ERRORS" "$LINENO" 5
29844       else
29845         { $as_echo "$as_me:${as_lineno-$LINENO}: $LIBVISUAL_PKG_ERRORS" >&5
29846 $as_echo "$as_me: $LIBVISUAL_PKG_ERRORS" >&6;}
29847       fi
29848
29849 elif test $pkg_failed = untried; then
29850
29851       HAVE_LIBVISUAL="no"
29852       if test "x$required" = "xyes"; then
29853         as_fn_error $? "$LIBVISUAL_PKG_ERRORS" "$LINENO" 5
29854       else
29855         { $as_echo "$as_me:${as_lineno-$LINENO}: $LIBVISUAL_PKG_ERRORS" >&5
29856 $as_echo "$as_me: $LIBVISUAL_PKG_ERRORS" >&6;}
29857       fi
29858
29859 else
29860         LIBVISUAL_CFLAGS=$pkg_cv_LIBVISUAL_CFLAGS
29861         LIBVISUAL_LIBS=$pkg_cv_LIBVISUAL_LIBS
29862         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29863 $as_echo "yes" >&6; }
29864
29865       HAVE_LIBVISUAL="yes"
29866
29867 fi
29868
29869
29870   if test $HAVE_LIBVISUAL = no
29871   then
29872
29873   which="libvisual = 0.2.0"
29874     required="no"
29875
29876
29877 pkg_failed=no
29878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBVISUAL" >&5
29879 $as_echo_n "checking for LIBVISUAL... " >&6; }
29880
29881 if test -n "$PKG_CONFIG"; then
29882     if test -n "$LIBVISUAL_CFLAGS"; then
29883         pkg_cv_LIBVISUAL_CFLAGS="$LIBVISUAL_CFLAGS"
29884     else
29885         if test -n "$PKG_CONFIG" && \
29886     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
29887   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
29888   ac_status=$?
29889   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29890   test $ac_status = 0; }; then
29891   pkg_cv_LIBVISUAL_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
29892 else
29893   pkg_failed=yes
29894 fi
29895     fi
29896 else
29897         pkg_failed=untried
29898 fi
29899 if test -n "$PKG_CONFIG"; then
29900     if test -n "$LIBVISUAL_LIBS"; then
29901         pkg_cv_LIBVISUAL_LIBS="$LIBVISUAL_LIBS"
29902     else
29903         if test -n "$PKG_CONFIG" && \
29904     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
29905   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
29906   ac_status=$?
29907   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29908   test $ac_status = 0; }; then
29909   pkg_cv_LIBVISUAL_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
29910 else
29911   pkg_failed=yes
29912 fi
29913     fi
29914 else
29915         pkg_failed=untried
29916 fi
29917
29918
29919
29920 if test $pkg_failed = yes; then
29921
29922 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29923         _pkg_short_errors_supported=yes
29924 else
29925         _pkg_short_errors_supported=no
29926 fi
29927         if test $_pkg_short_errors_supported = yes; then
29928                 LIBVISUAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
29929         else
29930                 LIBVISUAL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
29931         fi
29932         # Put the nasty error message in config.log where it belongs
29933         echo "$LIBVISUAL_PKG_ERRORS" >&5
29934
29935         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29936 $as_echo "no" >&6; }
29937
29938       HAVE_LIBVISUAL="no"
29939       if test "x$required" = "xyes"; then
29940         as_fn_error $? "$LIBVISUAL_PKG_ERRORS" "$LINENO" 5
29941       else
29942         { $as_echo "$as_me:${as_lineno-$LINENO}: $LIBVISUAL_PKG_ERRORS" >&5
29943 $as_echo "$as_me: $LIBVISUAL_PKG_ERRORS" >&6;}
29944       fi
29945
29946 elif test $pkg_failed = untried; then
29947
29948       HAVE_LIBVISUAL="no"
29949       if test "x$required" = "xyes"; then
29950         as_fn_error $? "$LIBVISUAL_PKG_ERRORS" "$LINENO" 5
29951       else
29952         { $as_echo "$as_me:${as_lineno-$LINENO}: $LIBVISUAL_PKG_ERRORS" >&5
29953 $as_echo "$as_me: $LIBVISUAL_PKG_ERRORS" >&6;}
29954       fi
29955
29956 else
29957         LIBVISUAL_CFLAGS=$pkg_cv_LIBVISUAL_CFLAGS
29958         LIBVISUAL_LIBS=$pkg_cv_LIBVISUAL_LIBS
29959         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29960 $as_echo "yes" >&6; }
29961
29962       HAVE_LIBVISUAL="yes"
29963
29964 fi
29965
29966
29967     if test x$HAVE_LIBVISUAL = xyes; then
29968       LIBVIS_PLUGINSDIR="`$PKG_CONFIG --variable=pluginsbasedir libvisual-0.2`"
29969     fi
29970   else
29971     if test x$HAVE_LIBVISUAL = xyes; then
29972       LIBVIS_PLUGINSDIR="`$PKG_CONFIG --variable=pluginsbasedir libvisual-0.4`"
29973     fi
29974   fi
29975   { $as_echo "$as_me:${as_lineno-$LINENO}: libvisual pluginsdir: $LIBVIS_PLUGINSDIR" >&5
29976 $as_echo "$as_me: libvisual pluginsdir: $LIBVIS_PLUGINSDIR" >&6;}
29977   if test x$LIBVIS_PLUGINSDIR != x; then
29978
29979 cat >>confdefs.h <<_ACEOF
29980 #define LIBVISUAL_PLUGINSBASEDIR "$LIBVIS_PLUGINSDIR"
29981 _ACEOF
29982
29983   fi
29984
29985
29986   LIBS=$gst_check_save_LIBS
29987   LDFLAGS=$gst_check_save_LDFLAGS
29988   CFLAGS=$gst_check_save_CFLAGS
29989   CPPFLAGS=$gst_check_save_CPPFLAGS
29990   CXXFLAGS=$gst_check_save_CXXFLAGS
29991
29992     if test x$HAVE_LIBVISUAL = xno; then
29993     USE_LIBVISUAL=no
29994   else
29995     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: libvisual" >&5
29996 $as_echo "$as_me: *** These plugins will be built: libvisual" >&6;}
29997   fi
29998 fi
29999 if test x$USE_LIBVISUAL = xyes; then
30000   :
30001   if test "xlibvisual" != "x"; then
30002     GST_PLUGINS_YES="\tlibvisual\n$GST_PLUGINS_YES"
30003   fi
30004
30005 $as_echo "#define HAVE_LIBVISUAL /**/" >>confdefs.h
30006
30007 else
30008   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: libvisual" >&5
30009 $as_echo "$as_me: *** These plugins will not be built: libvisual" >&6;}
30010   if test "xlibvisual" != "x"; then
30011     GST_PLUGINS_NO="\tlibvisual\n$GST_PLUGINS_NO"
30012   fi
30013   :
30014 fi
30015  if test x$USE_LIBVISUAL = xyes; then
30016   USE_LIBVISUAL_TRUE=
30017   USE_LIBVISUAL_FALSE='#'
30018 else
30019   USE_LIBVISUAL_TRUE='#'
30020   USE_LIBVISUAL_FALSE=
30021 fi
30022
30023
30024
30025 echo
30026 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Xiph Ogg library ***" >&5
30027 $as_echo "$as_me: *** checking feature: Xiph Ogg library ***" >&6;}
30028 if test "xogg" != "x"
30029 then
30030   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: ogg ***" >&5
30031 $as_echo "$as_me: *** for plug-ins: ogg ***" >&6;}
30032 fi
30033 NOUSE=
30034 if test "x$USE_OGG" = "xno"; then
30035   NOUSE="yes"
30036 fi
30037 # Check whether --enable-ogg was given.
30038 if test "${enable_ogg+set}" = set; then :
30039   enableval=$enable_ogg;  case "${enableval}" in
30040       yes) USE_OGG=yes;;
30041       no) USE_OGG=no;;
30042       *) as_fn_error $? "bad value ${enableval} for --enable-ogg" "$LINENO" 5 ;;
30043     esac
30044 else
30045    USE_OGG=yes
30046 fi
30047
30048 if test "x$NOUSE" = "xyes"; then
30049   USE_OGG="no"
30050   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** ogg pre-configured not to be built" >&5
30051 $as_echo "$as_me: WARNING: *** ogg pre-configured not to be built" >&2;}
30052 fi
30053 NOUSE=
30054
30055
30056 if test x$USE_OGG = xyes; then
30057
30058   gst_check_save_LIBS=$LIBS
30059   gst_check_save_LDFLAGS=$LDFLAGS
30060   gst_check_save_CFLAGS=$CFLAGS
30061   gst_check_save_CPPFLAGS=$CPPFLAGS
30062   gst_check_save_CXXFLAGS=$CXXFLAGS
30063
30064   HAVE_OGG=no
30065
30066
30067   which="ogg >= 1.0"
30068     required="no"
30069
30070
30071 pkg_failed=no
30072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OGG" >&5
30073 $as_echo_n "checking for OGG... " >&6; }
30074
30075 if test -n "$PKG_CONFIG"; then
30076     if test -n "$OGG_CFLAGS"; then
30077         pkg_cv_OGG_CFLAGS="$OGG_CFLAGS"
30078     else
30079         if test -n "$PKG_CONFIG" && \
30080     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
30081   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
30082   ac_status=$?
30083   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30084   test $ac_status = 0; }; then
30085   pkg_cv_OGG_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
30086 else
30087   pkg_failed=yes
30088 fi
30089     fi
30090 else
30091         pkg_failed=untried
30092 fi
30093 if test -n "$PKG_CONFIG"; then
30094     if test -n "$OGG_LIBS"; then
30095         pkg_cv_OGG_LIBS="$OGG_LIBS"
30096     else
30097         if test -n "$PKG_CONFIG" && \
30098     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
30099   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
30100   ac_status=$?
30101   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30102   test $ac_status = 0; }; then
30103   pkg_cv_OGG_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
30104 else
30105   pkg_failed=yes
30106 fi
30107     fi
30108 else
30109         pkg_failed=untried
30110 fi
30111
30112
30113
30114 if test $pkg_failed = yes; then
30115
30116 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30117         _pkg_short_errors_supported=yes
30118 else
30119         _pkg_short_errors_supported=no
30120 fi
30121         if test $_pkg_short_errors_supported = yes; then
30122                 OGG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
30123         else
30124                 OGG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
30125         fi
30126         # Put the nasty error message in config.log where it belongs
30127         echo "$OGG_PKG_ERRORS" >&5
30128
30129         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30130 $as_echo "no" >&6; }
30131
30132       HAVE_OGG="no"
30133       if test "x$required" = "xyes"; then
30134         as_fn_error $? "$OGG_PKG_ERRORS" "$LINENO" 5
30135       else
30136         { $as_echo "$as_me:${as_lineno-$LINENO}: $OGG_PKG_ERRORS" >&5
30137 $as_echo "$as_me: $OGG_PKG_ERRORS" >&6;}
30138       fi
30139
30140 elif test $pkg_failed = untried; then
30141
30142       HAVE_OGG="no"
30143       if test "x$required" = "xyes"; then
30144         as_fn_error $? "$OGG_PKG_ERRORS" "$LINENO" 5
30145       else
30146         { $as_echo "$as_me:${as_lineno-$LINENO}: $OGG_PKG_ERRORS" >&5
30147 $as_echo "$as_me: $OGG_PKG_ERRORS" >&6;}
30148       fi
30149
30150 else
30151         OGG_CFLAGS=$pkg_cv_OGG_CFLAGS
30152         OGG_LIBS=$pkg_cv_OGG_LIBS
30153         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30154 $as_echo "yes" >&6; }
30155
30156       HAVE_OGG="yes"
30157
30158 fi
30159
30160
30161   if test $HAVE_OGG = no
30162   then
30163
30164 # Check whether --with-ogg was given.
30165 if test "${with_ogg+set}" = set; then :
30166   withval=$with_ogg; ogg_prefix="$withval"
30167 else
30168   ogg_prefix=""
30169 fi
30170
30171
30172 # Check whether --with-ogg-libraries was given.
30173 if test "${with_ogg_libraries+set}" = set; then :
30174   withval=$with_ogg_libraries; ogg_libraries="$withval"
30175 else
30176   ogg_libraries=""
30177 fi
30178
30179
30180 # Check whether --with-ogg-includes was given.
30181 if test "${with_ogg_includes+set}" = set; then :
30182   withval=$with_ogg_includes; ogg_includes="$withval"
30183 else
30184   ogg_includes=""
30185 fi
30186
30187 # Check whether --enable-oggtest was given.
30188 if test "${enable_oggtest+set}" = set; then :
30189   enableval=$enable_oggtest;
30190 else
30191   enable_oggtest=yes
30192 fi
30193
30194
30195   if test "x$ogg_libraries" != "x" ; then
30196     OGG_LIBS="-L$ogg_libraries"
30197   elif test "x$ogg_prefix" != "x" ; then
30198     OGG_LIBS="-L$ogg_prefix/lib"
30199   elif test "x$prefix" != "xNONE" ; then
30200     OGG_LIBS="-L$prefix/lib"
30201   fi
30202
30203   OGG_LIBS="$OGG_LIBS -logg"
30204
30205   if test "x$ogg_includes" != "x" ; then
30206     OGG_CFLAGS="-I$ogg_includes"
30207   elif test "x$ogg_prefix" != "x" ; then
30208     OGG_CFLAGS="-I$ogg_prefix/include"
30209   elif test "x$prefix" != "xNONE"; then
30210     OGG_CFLAGS="-I$prefix/include"
30211   fi
30212
30213   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ogg" >&5
30214 $as_echo_n "checking for Ogg... " >&6; }
30215   no_ogg=""
30216
30217
30218   if test "x$enable_oggtest" = "xyes" ; then
30219     ac_save_CFLAGS="$CFLAGS"
30220     ac_save_LIBS="$LIBS"
30221     CFLAGS="$CFLAGS $OGG_CFLAGS"
30222     LIBS="$LIBS $OGG_LIBS"
30223       rm -f conf.oggtest
30224       if test "$cross_compiling" = yes; then :
30225   echo $ac_n "cross compiling; assumed OK... $ac_c"
30226 else
30227   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30228 /* end confdefs.h.  */
30229
30230 #include <stdio.h>
30231 #include <stdlib.h>
30232 #include <string.h>
30233 #include <ogg/ogg.h>
30234
30235 int main ()
30236 {
30237   system("touch conf.oggtest");
30238   return 0;
30239 }
30240
30241
30242 _ACEOF
30243 if ac_fn_c_try_run "$LINENO"; then :
30244
30245 else
30246   no_ogg=yes
30247 fi
30248 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
30249   conftest.$ac_objext conftest.beam conftest.$ac_ext
30250 fi
30251
30252        CFLAGS="$ac_save_CFLAGS"
30253        LIBS="$ac_save_LIBS"
30254   fi
30255
30256   if test "x$no_ogg" = "x" ; then
30257      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30258 $as_echo "yes" >&6; }
30259      HAVE_OGG="yes"
30260   else
30261      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30262 $as_echo "no" >&6; }
30263      if test -f conf.oggtest ; then
30264        :
30265      else
30266        echo "*** Could not run Ogg test program, checking why..."
30267        CFLAGS="$CFLAGS $OGG_CFLAGS"
30268        LIBS="$LIBS $OGG_LIBS"
30269        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30270 /* end confdefs.h.  */
30271
30272 #include <stdio.h>
30273 #include <ogg/ogg.h>
30274
30275 int
30276 main ()
30277 {
30278  return 0;
30279   ;
30280   return 0;
30281 }
30282 _ACEOF
30283 if ac_fn_c_try_link "$LINENO"; then :
30284    echo "*** The test program compiled, but did not run. This usually means"
30285        echo "*** that the run-time linker is not finding Ogg or finding the wrong"
30286        echo "*** version of Ogg. If it is not finding Ogg, you'll need to set your"
30287        echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30288        echo "*** to the installed location  Also, make sure you have run ldconfig if that"
30289        echo "*** is required on your system"
30290        echo "***"
30291        echo "*** If you have an old version installed, it is best to remove it, although"
30292        echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30293 else
30294    echo "*** The test program failed to compile or link. See the file config.log for the"
30295        echo "*** exact error that occured. This usually means Ogg was incorrectly installed"
30296        echo "*** or that you have moved Ogg since it was installed."
30297 fi
30298 rm -f core conftest.err conftest.$ac_objext \
30299     conftest$ac_exeext conftest.$ac_ext
30300        CFLAGS="$ac_save_CFLAGS"
30301        LIBS="$ac_save_LIBS"
30302      fi
30303      OGG_CFLAGS=""
30304      OGG_LIBS=""
30305      HAVE_OGG="no"
30306   fi
30307
30308
30309   rm -f conf.oggtest
30310
30311
30312   GIVEN_CFLAGS=$OGG_CFLAGS
30313   INCLUDE_DIRS=`echo | cpp -v 2>&1`
30314
30315       INCLUDE_DIRS=`echo $INCLUDE_DIRS | sed -e 's/.*<...> search starts here://' | sed -e 's/End of search list.*//'`
30316   for dir in $INCLUDE_DIRS; do
30317         GIVEN_CFLAGS=`echo $GIVEN_CFLAGS | sed -e "s#-I$dir ##"`
30318   done
30319   OGG_CFLAGS=$GIVEN_CFLAGS
30320
30321   fi
30322
30323
30324   LIBS=$gst_check_save_LIBS
30325   LDFLAGS=$gst_check_save_LDFLAGS
30326   CFLAGS=$gst_check_save_CFLAGS
30327   CPPFLAGS=$gst_check_save_CPPFLAGS
30328   CXXFLAGS=$gst_check_save_CXXFLAGS
30329
30330     if test x$HAVE_OGG = xno; then
30331     USE_OGG=no
30332   else
30333     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: ogg" >&5
30334 $as_echo "$as_me: *** These plugins will be built: ogg" >&6;}
30335   fi
30336 fi
30337 if test x$USE_OGG = xyes; then
30338   :
30339   if test "xogg" != "x"; then
30340     GST_PLUGINS_YES="\togg\n$GST_PLUGINS_YES"
30341   fi
30342
30343 $as_echo "#define HAVE_OGG /**/" >>confdefs.h
30344
30345 else
30346   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: ogg" >&5
30347 $as_echo "$as_me: *** These plugins will not be built: ogg" >&6;}
30348   if test "xogg" != "x"; then
30349     GST_PLUGINS_NO="\togg\n$GST_PLUGINS_NO"
30350   fi
30351   :
30352 fi
30353  if test x$USE_OGG = xyes; then
30354   USE_OGG_TRUE=
30355   USE_OGG_FALSE='#'
30356 else
30357   USE_OGG_TRUE='#'
30358   USE_OGG_FALSE=
30359 fi
30360
30361
30362
30363 echo
30364 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Pango font rendering ***" >&5
30365 $as_echo "$as_me: *** checking feature: Pango font rendering ***" >&6;}
30366 if test "xpango" != "x"
30367 then
30368   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: pango ***" >&5
30369 $as_echo "$as_me: *** for plug-ins: pango ***" >&6;}
30370 fi
30371 NOUSE=
30372 if test "x$USE_PANGO" = "xno"; then
30373   NOUSE="yes"
30374 fi
30375 # Check whether --enable-pango was given.
30376 if test "${enable_pango+set}" = set; then :
30377   enableval=$enable_pango;  case "${enableval}" in
30378       yes) USE_PANGO=yes;;
30379       no) USE_PANGO=no;;
30380       *) as_fn_error $? "bad value ${enableval} for --enable-pango" "$LINENO" 5 ;;
30381     esac
30382 else
30383    USE_PANGO=yes
30384 fi
30385
30386 if test "x$NOUSE" = "xyes"; then
30387   USE_PANGO="no"
30388   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** pango pre-configured not to be built" >&5
30389 $as_echo "$as_me: WARNING: *** pango pre-configured not to be built" >&2;}
30390 fi
30391 NOUSE=
30392
30393
30394 if test x$USE_PANGO = xyes; then
30395
30396   gst_check_save_LIBS=$LIBS
30397   gst_check_save_LDFLAGS=$LDFLAGS
30398   gst_check_save_CFLAGS=$CFLAGS
30399   gst_check_save_CPPFLAGS=$CPPFLAGS
30400   gst_check_save_CXXFLAGS=$CXXFLAGS
30401
30402   HAVE_PANGO=no
30403
30404
30405   which="pango >= 1.16.0  pangocairo >= 1.16.0"
30406     required="no"
30407
30408
30409 pkg_failed=no
30410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGO" >&5
30411 $as_echo_n "checking for PANGO... " >&6; }
30412
30413 if test -n "$PKG_CONFIG"; then
30414     if test -n "$PANGO_CFLAGS"; then
30415         pkg_cv_PANGO_CFLAGS="$PANGO_CFLAGS"
30416     else
30417         if test -n "$PKG_CONFIG" && \
30418     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
30419   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
30420   ac_status=$?
30421   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30422   test $ac_status = 0; }; then
30423   pkg_cv_PANGO_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
30424 else
30425   pkg_failed=yes
30426 fi
30427     fi
30428 else
30429         pkg_failed=untried
30430 fi
30431 if test -n "$PKG_CONFIG"; then
30432     if test -n "$PANGO_LIBS"; then
30433         pkg_cv_PANGO_LIBS="$PANGO_LIBS"
30434     else
30435         if test -n "$PKG_CONFIG" && \
30436     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
30437   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
30438   ac_status=$?
30439   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30440   test $ac_status = 0; }; then
30441   pkg_cv_PANGO_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
30442 else
30443   pkg_failed=yes
30444 fi
30445     fi
30446 else
30447         pkg_failed=untried
30448 fi
30449
30450
30451
30452 if test $pkg_failed = yes; then
30453
30454 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30455         _pkg_short_errors_supported=yes
30456 else
30457         _pkg_short_errors_supported=no
30458 fi
30459         if test $_pkg_short_errors_supported = yes; then
30460                 PANGO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
30461         else
30462                 PANGO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
30463         fi
30464         # Put the nasty error message in config.log where it belongs
30465         echo "$PANGO_PKG_ERRORS" >&5
30466
30467         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30468 $as_echo "no" >&6; }
30469
30470       HAVE_PANGO="no"
30471       if test "x$required" = "xyes"; then
30472         as_fn_error $? "$PANGO_PKG_ERRORS" "$LINENO" 5
30473       else
30474         { $as_echo "$as_me:${as_lineno-$LINENO}: $PANGO_PKG_ERRORS" >&5
30475 $as_echo "$as_me: $PANGO_PKG_ERRORS" >&6;}
30476       fi
30477
30478 elif test $pkg_failed = untried; then
30479
30480       HAVE_PANGO="no"
30481       if test "x$required" = "xyes"; then
30482         as_fn_error $? "$PANGO_PKG_ERRORS" "$LINENO" 5
30483       else
30484         { $as_echo "$as_me:${as_lineno-$LINENO}: $PANGO_PKG_ERRORS" >&5
30485 $as_echo "$as_me: $PANGO_PKG_ERRORS" >&6;}
30486       fi
30487
30488 else
30489         PANGO_CFLAGS=$pkg_cv_PANGO_CFLAGS
30490         PANGO_LIBS=$pkg_cv_PANGO_LIBS
30491         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30492 $as_echo "yes" >&6; }
30493
30494       HAVE_PANGO="yes"
30495
30496 fi
30497
30498
30499
30500
30501   LIBS=$gst_check_save_LIBS
30502   LDFLAGS=$gst_check_save_LDFLAGS
30503   CFLAGS=$gst_check_save_CFLAGS
30504   CPPFLAGS=$gst_check_save_CPPFLAGS
30505   CXXFLAGS=$gst_check_save_CXXFLAGS
30506
30507     if test x$HAVE_PANGO = xno; then
30508     USE_PANGO=no
30509   else
30510     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: pango" >&5
30511 $as_echo "$as_me: *** These plugins will be built: pango" >&6;}
30512   fi
30513 fi
30514 if test x$USE_PANGO = xyes; then
30515   :
30516   if test "xpango" != "x"; then
30517     GST_PLUGINS_YES="\tpango\n$GST_PLUGINS_YES"
30518   fi
30519
30520 $as_echo "#define HAVE_PANGO /**/" >>confdefs.h
30521
30522 else
30523   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: pango" >&5
30524 $as_echo "$as_me: *** These plugins will not be built: pango" >&6;}
30525   if test "xpango" != "x"; then
30526     GST_PLUGINS_NO="\tpango\n$GST_PLUGINS_NO"
30527   fi
30528   :
30529 fi
30530  if test x$USE_PANGO = xyes; then
30531   USE_PANGO_TRUE=
30532   USE_PANGO_FALSE='#'
30533 else
30534   USE_PANGO_TRUE='#'
30535   USE_PANGO_FALSE=
30536 fi
30537
30538
30539
30540 echo
30541 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Xiph Theora video codec ***" >&5
30542 $as_echo "$as_me: *** checking feature: Xiph Theora video codec ***" >&6;}
30543 if test "xtheora" != "x"
30544 then
30545   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: theora ***" >&5
30546 $as_echo "$as_me: *** for plug-ins: theora ***" >&6;}
30547 fi
30548 NOUSE=
30549 if test "x$USE_THEORA" = "xno"; then
30550   NOUSE="yes"
30551 fi
30552 # Check whether --enable-theora was given.
30553 if test "${enable_theora+set}" = set; then :
30554   enableval=$enable_theora;  case "${enableval}" in
30555       yes) USE_THEORA=yes;;
30556       no) USE_THEORA=no;;
30557       *) as_fn_error $? "bad value ${enableval} for --enable-theora" "$LINENO" 5 ;;
30558     esac
30559 else
30560    USE_THEORA=yes
30561 fi
30562
30563 if test "x$NOUSE" = "xyes"; then
30564   USE_THEORA="no"
30565   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** theora pre-configured not to be built" >&5
30566 $as_echo "$as_me: WARNING: *** theora pre-configured not to be built" >&2;}
30567 fi
30568 NOUSE=
30569
30570
30571 if test x$USE_THEORA = xyes; then
30572
30573   gst_check_save_LIBS=$LIBS
30574   gst_check_save_LDFLAGS=$LDFLAGS
30575   gst_check_save_CFLAGS=$CFLAGS
30576   gst_check_save_CPPFLAGS=$CPPFLAGS
30577   gst_check_save_CXXFLAGS=$CXXFLAGS
30578
30579   HAVE_THEORA=no
30580
30581
30582   which="theoradec >= 1.1 theoraenc >= 1.1"
30583     required="no"
30584
30585
30586 pkg_failed=no
30587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for THEORA" >&5
30588 $as_echo_n "checking for THEORA... " >&6; }
30589
30590 if test -n "$PKG_CONFIG"; then
30591     if test -n "$THEORA_CFLAGS"; then
30592         pkg_cv_THEORA_CFLAGS="$THEORA_CFLAGS"
30593     else
30594         if test -n "$PKG_CONFIG" && \
30595     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
30596   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
30597   ac_status=$?
30598   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30599   test $ac_status = 0; }; then
30600   pkg_cv_THEORA_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
30601 else
30602   pkg_failed=yes
30603 fi
30604     fi
30605 else
30606         pkg_failed=untried
30607 fi
30608 if test -n "$PKG_CONFIG"; then
30609     if test -n "$THEORA_LIBS"; then
30610         pkg_cv_THEORA_LIBS="$THEORA_LIBS"
30611     else
30612         if test -n "$PKG_CONFIG" && \
30613     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
30614   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
30615   ac_status=$?
30616   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30617   test $ac_status = 0; }; then
30618   pkg_cv_THEORA_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
30619 else
30620   pkg_failed=yes
30621 fi
30622     fi
30623 else
30624         pkg_failed=untried
30625 fi
30626
30627
30628
30629 if test $pkg_failed = yes; then
30630
30631 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30632         _pkg_short_errors_supported=yes
30633 else
30634         _pkg_short_errors_supported=no
30635 fi
30636         if test $_pkg_short_errors_supported = yes; then
30637                 THEORA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
30638         else
30639                 THEORA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
30640         fi
30641         # Put the nasty error message in config.log where it belongs
30642         echo "$THEORA_PKG_ERRORS" >&5
30643
30644         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30645 $as_echo "no" >&6; }
30646
30647       HAVE_THEORA="no"
30648       if test "x$required" = "xyes"; then
30649         as_fn_error $? "$THEORA_PKG_ERRORS" "$LINENO" 5
30650       else
30651         { $as_echo "$as_me:${as_lineno-$LINENO}: $THEORA_PKG_ERRORS" >&5
30652 $as_echo "$as_me: $THEORA_PKG_ERRORS" >&6;}
30653       fi
30654
30655 elif test $pkg_failed = untried; then
30656
30657       HAVE_THEORA="no"
30658       if test "x$required" = "xyes"; then
30659         as_fn_error $? "$THEORA_PKG_ERRORS" "$LINENO" 5
30660       else
30661         { $as_echo "$as_me:${as_lineno-$LINENO}: $THEORA_PKG_ERRORS" >&5
30662 $as_echo "$as_me: $THEORA_PKG_ERRORS" >&6;}
30663       fi
30664
30665 else
30666         THEORA_CFLAGS=$pkg_cv_THEORA_CFLAGS
30667         THEORA_LIBS=$pkg_cv_THEORA_LIBS
30668         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30669 $as_echo "yes" >&6; }
30670
30671       HAVE_THEORA="yes"
30672
30673 fi
30674
30675
30676
30677
30678   LIBS=$gst_check_save_LIBS
30679   LDFLAGS=$gst_check_save_LDFLAGS
30680   CFLAGS=$gst_check_save_CFLAGS
30681   CPPFLAGS=$gst_check_save_CPPFLAGS
30682   CXXFLAGS=$gst_check_save_CXXFLAGS
30683
30684     if test x$HAVE_THEORA = xno; then
30685     USE_THEORA=no
30686   else
30687     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: theora" >&5
30688 $as_echo "$as_me: *** These plugins will be built: theora" >&6;}
30689   fi
30690 fi
30691 if test x$USE_THEORA = xyes; then
30692   :
30693   if test "xtheora" != "x"; then
30694     GST_PLUGINS_YES="\ttheora\n$GST_PLUGINS_YES"
30695   fi
30696
30697 $as_echo "#define HAVE_THEORA /**/" >>confdefs.h
30698
30699 else
30700   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: theora" >&5
30701 $as_echo "$as_me: *** These plugins will not be built: theora" >&6;}
30702   if test "xtheora" != "x"; then
30703     GST_PLUGINS_NO="\ttheora\n$GST_PLUGINS_NO"
30704   fi
30705   :
30706 fi
30707  if test x$USE_THEORA = xyes; then
30708   USE_THEORA_TRUE=
30709   USE_THEORA_FALSE='#'
30710 else
30711   USE_THEORA_TRUE='#'
30712   USE_THEORA_FALSE=
30713 fi
30714
30715
30716
30717 echo
30718 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Xiph Vorbis audio codec ***" >&5
30719 $as_echo "$as_me: *** checking feature: Xiph Vorbis audio codec ***" >&6;}
30720 if test "xvorbis" != "x"
30721 then
30722   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: vorbis ***" >&5
30723 $as_echo "$as_me: *** for plug-ins: vorbis ***" >&6;}
30724 fi
30725 NOUSE=
30726 if test "x$USE_VORBIS" = "xno"; then
30727   NOUSE="yes"
30728 fi
30729 # Check whether --enable-vorbis was given.
30730 if test "${enable_vorbis+set}" = set; then :
30731   enableval=$enable_vorbis;  case "${enableval}" in
30732       yes) USE_VORBIS=yes;;
30733       no) USE_VORBIS=no;;
30734       *) as_fn_error $? "bad value ${enableval} for --enable-vorbis" "$LINENO" 5 ;;
30735     esac
30736 else
30737    USE_VORBIS=yes
30738 fi
30739
30740 if test "x$NOUSE" = "xyes"; then
30741   USE_VORBIS="no"
30742   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** vorbis pre-configured not to be built" >&5
30743 $as_echo "$as_me: WARNING: *** vorbis pre-configured not to be built" >&2;}
30744 fi
30745 NOUSE=
30746
30747
30748 if test x$USE_VORBIS = xyes; then
30749
30750   gst_check_save_LIBS=$LIBS
30751   gst_check_save_LDFLAGS=$LDFLAGS
30752   gst_check_save_CFLAGS=$CFLAGS
30753   gst_check_save_CPPFLAGS=$CPPFLAGS
30754   gst_check_save_CXXFLAGS=$CXXFLAGS
30755
30756   HAVE_VORBIS=no
30757
30758
30759   which="vorbis >= 1.0 vorbisenc >= 1.0"
30760     required="no"
30761
30762
30763 pkg_failed=no
30764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for VORBIS" >&5
30765 $as_echo_n "checking for VORBIS... " >&6; }
30766
30767 if test -n "$PKG_CONFIG"; then
30768     if test -n "$VORBIS_CFLAGS"; then
30769         pkg_cv_VORBIS_CFLAGS="$VORBIS_CFLAGS"
30770     else
30771         if test -n "$PKG_CONFIG" && \
30772     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
30773   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
30774   ac_status=$?
30775   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30776   test $ac_status = 0; }; then
30777   pkg_cv_VORBIS_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
30778 else
30779   pkg_failed=yes
30780 fi
30781     fi
30782 else
30783         pkg_failed=untried
30784 fi
30785 if test -n "$PKG_CONFIG"; then
30786     if test -n "$VORBIS_LIBS"; then
30787         pkg_cv_VORBIS_LIBS="$VORBIS_LIBS"
30788     else
30789         if test -n "$PKG_CONFIG" && \
30790     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
30791   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
30792   ac_status=$?
30793   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30794   test $ac_status = 0; }; then
30795   pkg_cv_VORBIS_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
30796 else
30797   pkg_failed=yes
30798 fi
30799     fi
30800 else
30801         pkg_failed=untried
30802 fi
30803
30804
30805
30806 if test $pkg_failed = yes; then
30807
30808 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30809         _pkg_short_errors_supported=yes
30810 else
30811         _pkg_short_errors_supported=no
30812 fi
30813         if test $_pkg_short_errors_supported = yes; then
30814                 VORBIS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
30815         else
30816                 VORBIS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
30817         fi
30818         # Put the nasty error message in config.log where it belongs
30819         echo "$VORBIS_PKG_ERRORS" >&5
30820
30821         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30822 $as_echo "no" >&6; }
30823
30824       HAVE_VORBIS="no"
30825       if test "x$required" = "xyes"; then
30826         as_fn_error $? "$VORBIS_PKG_ERRORS" "$LINENO" 5
30827       else
30828         { $as_echo "$as_me:${as_lineno-$LINENO}: $VORBIS_PKG_ERRORS" >&5
30829 $as_echo "$as_me: $VORBIS_PKG_ERRORS" >&6;}
30830       fi
30831
30832 elif test $pkg_failed = untried; then
30833
30834       HAVE_VORBIS="no"
30835       if test "x$required" = "xyes"; then
30836         as_fn_error $? "$VORBIS_PKG_ERRORS" "$LINENO" 5
30837       else
30838         { $as_echo "$as_me:${as_lineno-$LINENO}: $VORBIS_PKG_ERRORS" >&5
30839 $as_echo "$as_me: $VORBIS_PKG_ERRORS" >&6;}
30840       fi
30841
30842 else
30843         VORBIS_CFLAGS=$pkg_cv_VORBIS_CFLAGS
30844         VORBIS_LIBS=$pkg_cv_VORBIS_LIBS
30845         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30846 $as_echo "yes" >&6; }
30847
30848       HAVE_VORBIS="yes"
30849
30850 fi
30851
30852
30853   if test $HAVE_VORBIS = no
30854   then
30855
30856 # Check whether --with-vorbis was given.
30857 if test "${with_vorbis+set}" = set; then :
30858   withval=$with_vorbis; vorbis_prefix="$withval"
30859 else
30860   vorbis_prefix=""
30861 fi
30862
30863
30864 # Check whether --with-vorbis-libraries was given.
30865 if test "${with_vorbis_libraries+set}" = set; then :
30866   withval=$with_vorbis_libraries; vorbis_libraries="$withval"
30867 else
30868   vorbis_libraries=""
30869 fi
30870
30871
30872 # Check whether --with-vorbis-includes was given.
30873 if test "${with_vorbis_includes+set}" = set; then :
30874   withval=$with_vorbis_includes; vorbis_includes="$withval"
30875 else
30876   vorbis_includes=""
30877 fi
30878
30879 # Check whether --enable-vorbistest was given.
30880 if test "${enable_vorbistest+set}" = set; then :
30881   enableval=$enable_vorbistest;
30882 else
30883   enable_vorbistest=yes
30884 fi
30885
30886
30887   if test "x$vorbis_libraries" != "x" ; then
30888     VORBIS_LIBS="-L$vorbis_libraries"
30889   elif test "x$vorbis_prefix" != "x" ; then
30890     VORBIS_LIBS="-L$vorbis_prefix/lib"
30891   elif test "x$prefix" != "xNONE"; then
30892     VORBIS_LIBS="-L$prefix/lib"
30893   fi
30894
30895   VORBIS_LIBS="$VORBIS_LIBS -lvorbis -lm"
30896   VORBISFILE_LIBS="-lvorbisfile"
30897   VORBISENC_LIBS="-lvorbisenc"
30898
30899   if test "x$vorbis_includes" != "x" ; then
30900     VORBIS_CFLAGS="-I$vorbis_includes"
30901   elif test "x$vorbis_prefix" != "x" ; then
30902     VORBIS_CFLAGS="-I$vorbis_prefix/include"
30903   elif test "x$prefix" != "xNONE"; then
30904     VORBIS_CFLAGS="-I$prefix/include"
30905   fi
30906
30907
30908   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Vorbis" >&5
30909 $as_echo_n "checking for Vorbis... " >&6; }
30910   no_vorbis=""
30911
30912
30913   if test "x$enable_vorbistest" = "xyes" ; then
30914     ac_save_CFLAGS="$CFLAGS"
30915     ac_save_LIBS="$LIBS"
30916     CFLAGS="$CFLAGS $VORBIS_CFLAGS $OGG_CFLAGS"
30917     LIBS="$LIBS $VORBIS_LIBS $VORBISENC_LIBS $OGG_LIBS"
30918       rm -f conf.vorbistest
30919       if test "$cross_compiling" = yes; then :
30920   echo $ac_n "cross compiling; assumed OK... $ac_c"
30921 else
30922   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30923 /* end confdefs.h.  */
30924
30925 #include <stdio.h>
30926 #include <stdlib.h>
30927 #include <string.h>
30928 #include <vorbis/codec.h>
30929 #include <vorbis/vorbisenc.h>
30930
30931 int main ()
30932 {
30933     vorbis_block        vb;
30934     vorbis_dsp_state    vd;
30935     vorbis_info         vi;
30936
30937     vorbis_info_init (&vi);
30938     vorbis_encode_init (&vi, 2, 44100, -1, 128000, -1);
30939     vorbis_analysis_init (&vd, &vi);
30940     vorbis_block_init (&vd, &vb);
30941     /* this function was added in 1.0rc3, so this is what we're testing for */
30942     vorbis_bitrate_addblock (&vb);
30943
30944     /* this define was added in 1.0 final */
30945 #ifdef OV_ECTL_RATEMANAGE_SET
30946     system("touch conf.vorbistest");
30947     return 0;
30948 #else
30949     return -1;
30950 #endif
30951 }
30952
30953
30954 _ACEOF
30955 if ac_fn_c_try_run "$LINENO"; then :
30956
30957 else
30958   no_vorbis=yes
30959 fi
30960 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
30961   conftest.$ac_objext conftest.beam conftest.$ac_ext
30962 fi
30963
30964        CFLAGS="$ac_save_CFLAGS"
30965        LIBS="$ac_save_LIBS"
30966   fi
30967
30968   if test "x$no_vorbis" = "x" ; then
30969      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30970 $as_echo "yes" >&6; }
30971      HAVE_VORBIS="yes"
30972   else
30973      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30974 $as_echo "no" >&6; }
30975      if test -f conf.vorbistest ; then
30976        :
30977      else
30978        echo "*** Could not run Vorbis test program, checking why..."
30979        CFLAGS="$CFLAGS $VORBIS_CFLAGS"
30980        LIBS="$LIBS $VORBIS_LIBS $OGG_LIBS"
30981        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30982 /* end confdefs.h.  */
30983
30984 #include <stdio.h>
30985 #include <vorbis/codec.h>
30986
30987 int
30988 main ()
30989 {
30990  return 0;
30991   ;
30992   return 0;
30993 }
30994 _ACEOF
30995 if ac_fn_c_try_link "$LINENO"; then :
30996    echo "*** The test program compiled, but did not run. This usually means"
30997        echo "*** that the run-time linker is not finding Vorbis or finding the wrong"
30998        echo "*** version of Vorbis. If it is not finding Vorbis, you'll need to set your"
30999        echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
31000        echo "*** to the installed location  Also, make sure you have run ldconfig if that"
31001        echo "*** is required on your system"
31002        echo "***"
31003        echo "*** If you have an old version installed, it is best to remove it, although"
31004        echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
31005 else
31006    echo "*** The test program failed to compile or link. See the file config.log for the"
31007        echo "*** exact error that occured. This usually means Vorbis was incorrectly installed"
31008        echo "*** or that you have moved Vorbis since it was installed."
31009 fi
31010 rm -f core conftest.err conftest.$ac_objext \
31011     conftest$ac_exeext conftest.$ac_ext
31012        CFLAGS="$ac_save_CFLAGS"
31013        LIBS="$ac_save_LIBS"
31014      fi
31015      VORBIS_CFLAGS=""
31016      VORBIS_LIBS=""
31017      VORBISFILE_LIBS=""
31018      VORBISENC_LIBS=""
31019      HAVE_VORBIS="no"
31020   fi
31021
31022
31023
31024
31025   rm -f conf.vorbistest
31026
31027
31028   GIVEN_CFLAGS=$VORBIS_CFLAGS
31029   INCLUDE_DIRS=`echo | cpp -v 2>&1`
31030
31031       INCLUDE_DIRS=`echo $INCLUDE_DIRS | sed -e 's/.*<...> search starts here://' | sed -e 's/End of search list.*//'`
31032   for dir in $INCLUDE_DIRS; do
31033         GIVEN_CFLAGS=`echo $GIVEN_CFLAGS | sed -e "s#-I$dir ##"`
31034   done
31035   VORBIS_CFLAGS=$GIVEN_CFLAGS
31036
31037   fi
31038
31039
31040   LIBS=$gst_check_save_LIBS
31041   LDFLAGS=$gst_check_save_LDFLAGS
31042   CFLAGS=$gst_check_save_CFLAGS
31043   CPPFLAGS=$gst_check_save_CPPFLAGS
31044   CXXFLAGS=$gst_check_save_CXXFLAGS
31045
31046     if test x$HAVE_VORBIS = xno; then
31047     USE_VORBIS=no
31048   else
31049     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: vorbis" >&5
31050 $as_echo "$as_me: *** These plugins will be built: vorbis" >&6;}
31051   fi
31052 fi
31053 if test x$USE_VORBIS = xyes; then
31054   :
31055   if test "xvorbis" != "x"; then
31056     GST_PLUGINS_YES="\tvorbis\n$GST_PLUGINS_YES"
31057   fi
31058
31059 $as_echo "#define HAVE_VORBIS /**/" >>confdefs.h
31060
31061 else
31062   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: vorbis" >&5
31063 $as_echo "$as_me: *** These plugins will not be built: vorbis" >&6;}
31064   if test "xvorbis" != "x"; then
31065     GST_PLUGINS_NO="\tvorbis\n$GST_PLUGINS_NO"
31066   fi
31067   :
31068 fi
31069  if test x$USE_VORBIS = xyes; then
31070   USE_VORBIS_TRUE=
31071   USE_VORBIS_FALSE='#'
31072 else
31073   USE_VORBIS_TRUE='#'
31074   USE_VORBIS_FALSE=
31075 fi
31076
31077
31078
31079 if test "x$HAVE_VORBIS" = "xyes"; then
31080   ac_cflags_save="$CFLAGS"
31081   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31082 /* end confdefs.h.  */
31083
31084 #include <vorbis/codec.h>
31085
31086 int
31087 main ()
31088 {
31089
31090 vorbis_dsp_state *v;
31091
31092 vorbis_synthesis_restart (v);
31093
31094   ;
31095   return 0;
31096 }
31097 _ACEOF
31098 if ac_fn_c_try_compile "$LINENO"; then :
31099   HAVE_VSR=yes
31100 else
31101   HAVE_VSR=no
31102 fi
31103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31104   if test "x$HAVE_VSR" = "xyes"; then
31105
31106 cat >>confdefs.h <<_ACEOF
31107 #define HAVE_VORBIS_SYNTHESIS_RESTART 1
31108 _ACEOF
31109
31110   fi
31111   CFLAGS="$ac_cflags_save"
31112 fi
31113
31114 else
31115
31116  if false; then
31117   USE_ALSA_TRUE=
31118   USE_ALSA_FALSE='#'
31119 else
31120   USE_ALSA_TRUE='#'
31121   USE_ALSA_FALSE=
31122 fi
31123
31124  if false; then
31125   USE_CDPARANOIA_TRUE=
31126   USE_CDPARANOIA_FALSE='#'
31127 else
31128   USE_CDPARANOIA_TRUE='#'
31129   USE_CDPARANOIA_FALSE=
31130 fi
31131
31132  if false; then
31133   USE_GIO_TRUE=
31134   USE_GIO_FALSE='#'
31135 else
31136   USE_GIO_TRUE='#'
31137   USE_GIO_FALSE=
31138 fi
31139
31140  if false; then
31141   USE_GNOME_VFS_TRUE=
31142   USE_GNOME_VFS_FALSE='#'
31143 else
31144   USE_GNOME_VFS_TRUE='#'
31145   USE_GNOME_VFS_FALSE=
31146 fi
31147
31148  if false; then
31149   USE_IVORBIS_TRUE=
31150   USE_IVORBIS_FALSE='#'
31151 else
31152   USE_IVORBIS_TRUE='#'
31153   USE_IVORBIS_FALSE=
31154 fi
31155
31156  if false; then
31157   USE_LIBVISUAL_TRUE=
31158   USE_LIBVISUAL_FALSE='#'
31159 else
31160   USE_LIBVISUAL_TRUE='#'
31161   USE_LIBVISUAL_FALSE=
31162 fi
31163
31164  if false; then
31165   USE_OGG_TRUE=
31166   USE_OGG_FALSE='#'
31167 else
31168   USE_OGG_TRUE='#'
31169   USE_OGG_FALSE=
31170 fi
31171
31172  if false; then
31173   USE_PANGO_TRUE=
31174   USE_PANGO_FALSE='#'
31175 else
31176   USE_PANGO_TRUE='#'
31177   USE_PANGO_FALSE=
31178 fi
31179
31180  if false; then
31181   USE_THEORA_TRUE=
31182   USE_THEORA_FALSE='#'
31183 else
31184   USE_THEORA_TRUE='#'
31185   USE_THEORA_FALSE=
31186 fi
31187
31188  if false; then
31189   USE_VORBIS_TRUE=
31190   USE_VORBIS_FALSE='#'
31191 else
31192   USE_VORBIS_TRUE='#'
31193   USE_VORBIS_FALSE=
31194 fi
31195
31196
31197 fi
31198
31199 pkg_failed=no
31200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FT2" >&5
31201 $as_echo_n "checking for FT2... " >&6; }
31202
31203 if test -n "$PKG_CONFIG"; then
31204     if test -n "$FT2_CFLAGS"; then
31205         pkg_cv_FT2_CFLAGS="$FT2_CFLAGS"
31206     else
31207         if test -n "$PKG_CONFIG" && \
31208     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2 >= 2.0.9\""; } >&5
31209   ($PKG_CONFIG --exists --print-errors "freetype2 >= 2.0.9") 2>&5
31210   ac_status=$?
31211   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31212   test $ac_status = 0; }; then
31213   pkg_cv_FT2_CFLAGS=`$PKG_CONFIG --cflags "freetype2 >= 2.0.9" 2>/dev/null`
31214 else
31215   pkg_failed=yes
31216 fi
31217     fi
31218 else
31219         pkg_failed=untried
31220 fi
31221 if test -n "$PKG_CONFIG"; then
31222     if test -n "$FT2_LIBS"; then
31223         pkg_cv_FT2_LIBS="$FT2_LIBS"
31224     else
31225         if test -n "$PKG_CONFIG" && \
31226     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2 >= 2.0.9\""; } >&5
31227   ($PKG_CONFIG --exists --print-errors "freetype2 >= 2.0.9") 2>&5
31228   ac_status=$?
31229   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31230   test $ac_status = 0; }; then
31231   pkg_cv_FT2_LIBS=`$PKG_CONFIG --libs "freetype2 >= 2.0.9" 2>/dev/null`
31232 else
31233   pkg_failed=yes
31234 fi
31235     fi
31236 else
31237         pkg_failed=untried
31238 fi
31239
31240
31241
31242 if test $pkg_failed = yes; then
31243
31244 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31245         _pkg_short_errors_supported=yes
31246 else
31247         _pkg_short_errors_supported=no
31248 fi
31249         if test $_pkg_short_errors_supported = yes; then
31250                 FT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "freetype2 >= 2.0.9"`
31251         else
31252                 FT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "freetype2 >= 2.0.9"`
31253         fi
31254         # Put the nasty error message in config.log where it belongs
31255         echo "$FT2_PKG_ERRORS" >&5
31256
31257         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31258 $as_echo "no" >&6; }
31259
31260
31261 # Check whether --with-ft-prefix was given.
31262 if test "${with_ft_prefix+set}" = set; then :
31263   withval=$with_ft_prefix; ft_config_prefix="$withval"
31264 else
31265   ft_config_prefix=""
31266 fi
31267
31268
31269 # Check whether --with-ft-exec-prefix was given.
31270 if test "${with_ft_exec_prefix+set}" = set; then :
31271   withval=$with_ft_exec_prefix; ft_config_exec_prefix="$withval"
31272 else
31273   ft_config_exec_prefix=""
31274 fi
31275
31276 # Check whether --enable-freetypetest was given.
31277 if test "${enable_freetypetest+set}" = set; then :
31278   enableval=$enable_freetypetest;
31279 else
31280   enable_fttest=yes
31281 fi
31282
31283
31284 if test x$ft_config_exec_prefix != x ; then
31285   ft_config_args="$ft_config_args --exec-prefix=$ft_config_exec_prefix"
31286   if test x${FT2_CONFIG+set} != xset ; then
31287     FT2_CONFIG=$ft_config_exec_prefix/bin/freetype-config
31288   fi
31289 fi
31290 if test x$ft_config_prefix != x ; then
31291   ft_config_args="$ft_config_args --prefix=$ft_config_prefix"
31292   if test x${FT2_CONFIG+set} != xset ; then
31293     FT2_CONFIG=$ft_config_prefix/bin/freetype-config
31294   fi
31295 fi
31296 # Extract the first word of "freetype-config", so it can be a program name with args.
31297 set dummy freetype-config; ac_word=$2
31298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
31299 $as_echo_n "checking for $ac_word... " >&6; }
31300 if ${ac_cv_path_FT2_CONFIG+:} false; then :
31301   $as_echo_n "(cached) " >&6
31302 else
31303   case $FT2_CONFIG in
31304   [\\/]* | ?:[\\/]*)
31305   ac_cv_path_FT2_CONFIG="$FT2_CONFIG" # Let the user override the test with a path.
31306   ;;
31307   *)
31308   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31309 for as_dir in $PATH
31310 do
31311   IFS=$as_save_IFS
31312   test -z "$as_dir" && as_dir=.
31313     for ac_exec_ext in '' $ac_executable_extensions; do
31314   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31315     ac_cv_path_FT2_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31316     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
31317     break 2
31318   fi
31319 done
31320   done
31321 IFS=$as_save_IFS
31322
31323   test -z "$ac_cv_path_FT2_CONFIG" && ac_cv_path_FT2_CONFIG="no"
31324   ;;
31325 esac
31326 fi
31327 FT2_CONFIG=$ac_cv_path_FT2_CONFIG
31328 if test -n "$FT2_CONFIG"; then
31329   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FT2_CONFIG" >&5
31330 $as_echo "$FT2_CONFIG" >&6; }
31331 else
31332   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31333 $as_echo "no" >&6; }
31334 fi
31335
31336
31337
31338 min_ft_version=2.0.9
31339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FreeType - version >= $min_ft_version" >&5
31340 $as_echo_n "checking for FreeType - version >= $min_ft_version... " >&6; }
31341 no_ft=""
31342 if test "$FT2_CONFIG" = "no" ; then
31343   no_ft=yes
31344 else
31345   FT2_CFLAGS=`$FT2_CONFIG $ft_config_args --cflags`
31346   FT2_LIBS=`$FT2_CONFIG $ft_config_args --libs`
31347   ft_config_major_version=`$FT2_CONFIG $ft_config_args --version | \
31348          sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
31349   ft_config_minor_version=`$FT2_CONFIG $ft_config_args --version | \
31350          sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
31351   ft_config_micro_version=`$FT2_CONFIG $ft_config_args --version | \
31352          sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
31353   ft_min_major_version=`echo $min_ft_version | \
31354          sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
31355   ft_min_minor_version=`echo $min_ft_version | \
31356          sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
31357   ft_min_micro_version=`echo $min_ft_version | \
31358          sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
31359   if test x$enable_fttest = xyes ; then
31360     ft_config_is_lt=""
31361     if test $ft_config_major_version -lt $ft_min_major_version ; then
31362       ft_config_is_lt=yes
31363     else
31364       if test $ft_config_major_version -eq $ft_min_major_version ; then
31365         if test $ft_config_minor_version -lt $ft_min_minor_version ; then
31366           ft_config_is_lt=yes
31367         else
31368           if test $ft_config_minor_version -eq $ft_min_minor_version ; then
31369             if test $ft_config_micro_version -lt $ft_min_micro_version ; then
31370               ft_config_is_lt=yes
31371             fi
31372           fi
31373         fi
31374       fi
31375     fi
31376     if test x$ft_config_is_lt = xyes ; then
31377       no_ft=yes
31378     else
31379       ac_save_CFLAGS="$CFLAGS"
31380       ac_save_LIBS="$LIBS"
31381       CFLAGS="$CFLAGS $FT2_CFLAGS"
31382       LIBS="$FT2_LIBS $LIBS"
31383       if test "$cross_compiling" = yes; then :
31384   echo $ac_n "cross compiling; assumed OK... $ac_c"
31385 else
31386   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31387 /* end confdefs.h.  */
31388
31389 #include <ft2build.h>
31390 #include FT_FREETYPE_H
31391 #include <stdio.h>
31392 #include <stdlib.h>
31393
31394 int
31395 main()
31396 {
31397   FT_Library library;
31398   FT_Error error;
31399
31400   error = FT_Init_FreeType(&library);
31401
31402   if (error)
31403     return 1;
31404   else
31405   {
31406     FT_Done_FreeType(library);
31407     return 0;
31408   }
31409 }
31410
31411 _ACEOF
31412 if ac_fn_c_try_run "$LINENO"; then :
31413
31414 else
31415   no_ft=yes
31416 fi
31417 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
31418   conftest.$ac_objext conftest.beam conftest.$ac_ext
31419 fi
31420
31421       CFLAGS="$ac_save_CFLAGS"
31422       LIBS="$ac_save_LIBS"
31423     fi             # test $ft_config_version -lt $ft_min_version
31424   fi               # test x$enable_fttest = xyes
31425 fi                 # test "$FT2_CONFIG" = "no"
31426 if test x$no_ft = x ; then
31427    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31428 $as_echo "yes" >&6; }
31429    HAVE_FT2="yes"
31430 else
31431    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31432 $as_echo "no" >&6; }
31433    if test "$FT2_CONFIG" = "no" ; then
31434      echo "*** The freetype-config script installed by FreeType 2 could not be found."
31435      echo "*** If FreeType 2 was installed in PREFIX, make sure PREFIX/bin is in"
31436      echo "*** your path, or set the FT2_CONFIG environment variable to the"
31437      echo "*** full path to freetype-config."
31438    else
31439      if test x$ft_config_is_lt = xyes ; then
31440        echo "*** Your installed version of the FreeType 2 library is too old."
31441        echo "*** If you have different versions of FreeType 2, make sure that"
31442        echo "*** correct values for --with-ft-prefix or --with-ft-exec-prefix"
31443        echo "*** are used, or set the FT2_CONFIG environment variable to the"
31444        echo "*** full path to freetype-config."
31445      else
31446        echo "*** The FreeType test program failed to run.  If your system uses"
31447        echo "*** shared libraries and they are installed outside the normal"
31448        echo "*** system library path, make sure the variable LD_LIBRARY_PATH"
31449        echo "*** (or whatever is appropriate for your system) is correctly set."
31450      fi
31451    fi
31452    FT2_CFLAGS=""
31453    FT2_LIBS=""
31454    HAVE_FT2="no"
31455 fi
31456
31457
31458
31459
31460 elif test $pkg_failed = untried; then
31461
31462
31463 # Check whether --with-ft-prefix was given.
31464 if test "${with_ft_prefix+set}" = set; then :
31465   withval=$with_ft_prefix; ft_config_prefix="$withval"
31466 else
31467   ft_config_prefix=""
31468 fi
31469
31470
31471 # Check whether --with-ft-exec-prefix was given.
31472 if test "${with_ft_exec_prefix+set}" = set; then :
31473   withval=$with_ft_exec_prefix; ft_config_exec_prefix="$withval"
31474 else
31475   ft_config_exec_prefix=""
31476 fi
31477
31478 # Check whether --enable-freetypetest was given.
31479 if test "${enable_freetypetest+set}" = set; then :
31480   enableval=$enable_freetypetest;
31481 else
31482   enable_fttest=yes
31483 fi
31484
31485
31486 if test x$ft_config_exec_prefix != x ; then
31487   ft_config_args="$ft_config_args --exec-prefix=$ft_config_exec_prefix"
31488   if test x${FT2_CONFIG+set} != xset ; then
31489     FT2_CONFIG=$ft_config_exec_prefix/bin/freetype-config
31490   fi
31491 fi
31492 if test x$ft_config_prefix != x ; then
31493   ft_config_args="$ft_config_args --prefix=$ft_config_prefix"
31494   if test x${FT2_CONFIG+set} != xset ; then
31495     FT2_CONFIG=$ft_config_prefix/bin/freetype-config
31496   fi
31497 fi
31498 # Extract the first word of "freetype-config", so it can be a program name with args.
31499 set dummy freetype-config; ac_word=$2
31500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
31501 $as_echo_n "checking for $ac_word... " >&6; }
31502 if ${ac_cv_path_FT2_CONFIG+:} false; then :
31503   $as_echo_n "(cached) " >&6
31504 else
31505   case $FT2_CONFIG in
31506   [\\/]* | ?:[\\/]*)
31507   ac_cv_path_FT2_CONFIG="$FT2_CONFIG" # Let the user override the test with a path.
31508   ;;
31509   *)
31510   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31511 for as_dir in $PATH
31512 do
31513   IFS=$as_save_IFS
31514   test -z "$as_dir" && as_dir=.
31515     for ac_exec_ext in '' $ac_executable_extensions; do
31516   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31517     ac_cv_path_FT2_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31518     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
31519     break 2
31520   fi
31521 done
31522   done
31523 IFS=$as_save_IFS
31524
31525   test -z "$ac_cv_path_FT2_CONFIG" && ac_cv_path_FT2_CONFIG="no"
31526   ;;
31527 esac
31528 fi
31529 FT2_CONFIG=$ac_cv_path_FT2_CONFIG
31530 if test -n "$FT2_CONFIG"; then
31531   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FT2_CONFIG" >&5
31532 $as_echo "$FT2_CONFIG" >&6; }
31533 else
31534   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31535 $as_echo "no" >&6; }
31536 fi
31537
31538
31539
31540 min_ft_version=2.0.9
31541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FreeType - version >= $min_ft_version" >&5
31542 $as_echo_n "checking for FreeType - version >= $min_ft_version... " >&6; }
31543 no_ft=""
31544 if test "$FT2_CONFIG" = "no" ; then
31545   no_ft=yes
31546 else
31547   FT2_CFLAGS=`$FT2_CONFIG $ft_config_args --cflags`
31548   FT2_LIBS=`$FT2_CONFIG $ft_config_args --libs`
31549   ft_config_major_version=`$FT2_CONFIG $ft_config_args --version | \
31550          sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
31551   ft_config_minor_version=`$FT2_CONFIG $ft_config_args --version | \
31552          sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
31553   ft_config_micro_version=`$FT2_CONFIG $ft_config_args --version | \
31554          sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
31555   ft_min_major_version=`echo $min_ft_version | \
31556          sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
31557   ft_min_minor_version=`echo $min_ft_version | \
31558          sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
31559   ft_min_micro_version=`echo $min_ft_version | \
31560          sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
31561   if test x$enable_fttest = xyes ; then
31562     ft_config_is_lt=""
31563     if test $ft_config_major_version -lt $ft_min_major_version ; then
31564       ft_config_is_lt=yes
31565     else
31566       if test $ft_config_major_version -eq $ft_min_major_version ; then
31567         if test $ft_config_minor_version -lt $ft_min_minor_version ; then
31568           ft_config_is_lt=yes
31569         else
31570           if test $ft_config_minor_version -eq $ft_min_minor_version ; then
31571             if test $ft_config_micro_version -lt $ft_min_micro_version ; then
31572               ft_config_is_lt=yes
31573             fi
31574           fi
31575         fi
31576       fi
31577     fi
31578     if test x$ft_config_is_lt = xyes ; then
31579       no_ft=yes
31580     else
31581       ac_save_CFLAGS="$CFLAGS"
31582       ac_save_LIBS="$LIBS"
31583       CFLAGS="$CFLAGS $FT2_CFLAGS"
31584       LIBS="$FT2_LIBS $LIBS"
31585       if test "$cross_compiling" = yes; then :
31586   echo $ac_n "cross compiling; assumed OK... $ac_c"
31587 else
31588   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31589 /* end confdefs.h.  */
31590
31591 #include <ft2build.h>
31592 #include FT_FREETYPE_H
31593 #include <stdio.h>
31594 #include <stdlib.h>
31595
31596 int
31597 main()
31598 {
31599   FT_Library library;
31600   FT_Error error;
31601
31602   error = FT_Init_FreeType(&library);
31603
31604   if (error)
31605     return 1;
31606   else
31607   {
31608     FT_Done_FreeType(library);
31609     return 0;
31610   }
31611 }
31612
31613 _ACEOF
31614 if ac_fn_c_try_run "$LINENO"; then :
31615
31616 else
31617   no_ft=yes
31618 fi
31619 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
31620   conftest.$ac_objext conftest.beam conftest.$ac_ext
31621 fi
31622
31623       CFLAGS="$ac_save_CFLAGS"
31624       LIBS="$ac_save_LIBS"
31625     fi             # test $ft_config_version -lt $ft_min_version
31626   fi               # test x$enable_fttest = xyes
31627 fi                 # test "$FT2_CONFIG" = "no"
31628 if test x$no_ft = x ; then
31629    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31630 $as_echo "yes" >&6; }
31631    HAVE_FT2="yes"
31632 else
31633    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31634 $as_echo "no" >&6; }
31635    if test "$FT2_CONFIG" = "no" ; then
31636      echo "*** The freetype-config script installed by FreeType 2 could not be found."
31637      echo "*** If FreeType 2 was installed in PREFIX, make sure PREFIX/bin is in"
31638      echo "*** your path, or set the FT2_CONFIG environment variable to the"
31639      echo "*** full path to freetype-config."
31640    else
31641      if test x$ft_config_is_lt = xyes ; then
31642        echo "*** Your installed version of the FreeType 2 library is too old."
31643        echo "*** If you have different versions of FreeType 2, make sure that"
31644        echo "*** correct values for --with-ft-prefix or --with-ft-exec-prefix"
31645        echo "*** are used, or set the FT2_CONFIG environment variable to the"
31646        echo "*** full path to freetype-config."
31647      else
31648        echo "*** The FreeType test program failed to run.  If your system uses"
31649        echo "*** shared libraries and they are installed outside the normal"
31650        echo "*** system library path, make sure the variable LD_LIBRARY_PATH"
31651        echo "*** (or whatever is appropriate for your system) is correctly set."
31652      fi
31653    fi
31654    FT2_CFLAGS=""
31655    FT2_LIBS=""
31656    HAVE_FT2="no"
31657 fi
31658
31659
31660
31661
31662 else
31663         FT2_CFLAGS=$pkg_cv_FT2_CFLAGS
31664         FT2_LIBS=$pkg_cv_FT2_LIBS
31665         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31666 $as_echo "yes" >&6; }
31667         HAVE_FT2="yes"
31668 fi
31669  if test "x$HAVE_FT2" = "xyes"; then
31670   HAVE_FT2_TRUE=
31671   HAVE_FT2_FALSE='#'
31672 else
31673   HAVE_FT2_TRUE='#'
31674   HAVE_FT2_FALSE=
31675 fi
31676
31677
31678
31679
31680
31681
31682 if test "x$USE_DEBUG" = xyes; then
31683    PROFILE_CFLAGS="-g"
31684 fi
31685
31686
31687 if test "x$PACKAGE_VERSION_NANO" = "x1"; then
31688     DEPRECATED_CFLAGS="-DGST_DISABLE_DEPRECATED"
31689 else
31690   DEPRECATED_CFLAGS=""
31691 fi
31692
31693
31694 GST_OPTION_CFLAGS="\$(WARNING_CFLAGS) \$(ERROR_CFLAGS) \$(DEBUG_CFLAGS) \$(PROFILE_CFLAGS) \$(GCOV_CFLAGS) \$(OPT_CFLAGS) \$(DEPRECATED_CFLAGS)"
31695 GST_OPTION_CXXFLAGS="\$(WARNING_CXXFLAGS) \$(ERROR_CXXFLAGS) \$(DEBUG_CFLAGS) \$(PROFILE_CFLAGS) \$(GCOV_CFLAGS) \$(OPT_CFLAGS) \$(DEPRECATED_CFLAGS)"
31696
31697
31698
31699
31700
31701 GST_PLUGINS_BASE_CFLAGS="-I\$(top_srcdir)/gst-libs -I\$(top_builddir)/gst-libs"
31702
31703
31704 GST_CXXFLAGS="$GLIB_CFLAGS $GST_CFLAGS \$(GLIB_EXTRA_CFLAGS) \$(GST_OPTION_CXXFLAGS)"
31705 GST_CFLAGS="$GLIB_CFLAGS $GST_CFLAGS \$(GLIB_EXTRA_CFLAGS) \$(GST_OPTION_CFLAGS)"
31706
31707
31708 GST_LIBS="$GST_LIBS \$(GCOV_LIBS)"
31709
31710
31711 GST_ALL_LDFLAGS="-no-undefined"
31712 if test "x${enable_Bsymbolic}" = "xyes"; then
31713   GST_ALL_LDFLAGS="$GST_ALL_LDFLAGS -Wl,-Bsymbolic-functions"
31714 fi
31715
31716
31717 GST_LIB_LDFLAGS="-export-symbols-regex ^_?\(gst_\|Gst\|GST_\).*"
31718
31719
31720 GST_PLUGIN_LDFLAGS="-module -avoid-version -export-symbols-regex '^_*gst_plugin_desc.*' $GST_ALL_LDFLAGS"
31721
31722
31723
31724 ac_config_files="$ac_config_files Makefile gst-plugins-base.spec gst/Makefile gst/adder/Makefile gst/app/Makefile gst/audioconvert/Makefile gst/audiorate/Makefile gst/audiotestsrc/Makefile gst/encoding/Makefile gst/ffmpegcolorspace/Makefile gst/gdp/Makefile gst/playback/Makefile gst/audioresample/Makefile gst/subparse/Makefile gst/tcp/Makefile gst/typefind/Makefile gst/videotestsrc/Makefile gst/videorate/Makefile gst/videoscale/Makefile gst/volume/Makefile sys/Makefile sys/ximage/Makefile sys/xvimage/Makefile sys/v4l/Makefile ext/Makefile ext/alsa/Makefile ext/cdparanoia/Makefile ext/gnomevfs/Makefile ext/gio/Makefile ext/libvisual/Makefile ext/ogg/Makefile ext/pango/Makefile ext/theora/Makefile ext/vorbis/Makefile gst-libs/Makefile gst-libs/gst/Makefile gst-libs/gst/audio/Makefile gst-libs/gst/app/Makefile gst-libs/gst/cdda/Makefile gst-libs/gst/fft/Makefile gst-libs/gst/floatcast/Makefile gst-libs/gst/interfaces/Makefile gst-libs/gst/netbuffer/Makefile gst-libs/gst/riff/Makefile gst-libs/gst/rtp/Makefile gst-libs/gst/rtsp/Makefile gst-libs/gst/sdp/Makefile gst-libs/gst/tag/Makefile gst-libs/gst/pbutils/Makefile gst-libs/gst/pbutils/gstpluginsbaseversion.h gst-libs/gst/video/Makefile tools/Makefile pkgconfig/Makefile pkgconfig/gstreamer-audio.pc pkgconfig/gstreamer-audio-uninstalled.pc pkgconfig/gstreamer-app.pc pkgconfig/gstreamer-app-uninstalled.pc pkgconfig/gstreamer-cdda.pc pkgconfig/gstreamer-cdda-uninstalled.pc pkgconfig/gstreamer-fft.pc pkgconfig/gstreamer-fft-uninstalled.pc pkgconfig/gstreamer-floatcast.pc pkgconfig/gstreamer-floatcast-uninstalled.pc pkgconfig/gstreamer-interfaces.pc pkgconfig/gstreamer-interfaces-uninstalled.pc pkgconfig/gstreamer-netbuffer.pc pkgconfig/gstreamer-netbuffer-uninstalled.pc pkgconfig/gstreamer-pbutils.pc pkgconfig/gstreamer-pbutils-uninstalled.pc pkgconfig/gstreamer-riff.pc pkgconfig/gstreamer-riff-uninstalled.pc pkgconfig/gstreamer-rtp.pc pkgconfig/gstreamer-rtp-uninstalled.pc pkgconfig/gstreamer-rtsp.pc pkgconfig/gstreamer-rtsp-uninstalled.pc pkgconfig/gstreamer-sdp.pc pkgconfig/gstreamer-sdp-uninstalled.pc pkgconfig/gstreamer-tag.pc pkgconfig/gstreamer-tag-uninstalled.pc pkgconfig/gstreamer-video.pc pkgconfig/gstreamer-video-uninstalled.pc pkgconfig/gstreamer-plugins-base.pc pkgconfig/gstreamer-plugins-base-uninstalled.pc tests/Makefile tests/check/Makefile tests/examples/Makefile tests/examples/app/Makefile tests/examples/audio/Makefile tests/examples/dynamic/Makefile tests/examples/encoding/Makefile tests/examples/fft/Makefile tests/examples/gio/Makefile tests/examples/overlay/Makefile tests/examples/seek/Makefile tests/examples/snapshot/Makefile tests/examples/playrec/Makefile tests/examples/v4l/Makefile tests/files/Makefile tests/icles/Makefile tests/icles/playback/Makefile docs/Makefile docs/design/Makefile docs/libs/Makefile docs/plugins/Makefile docs/version.entities po/Makefile.in common/Makefile common/m4/Makefile m4/Makefile"
31725
31726
31727 sed \
31728     -e 's/.*config.h.in.*autoheader.*/\/* Autogenerated config.h created for win32 Visual Studio builds *\/\n\n\/* PREFIX -- specifically added for Windows for easier moving *\/\n#define PREFIX "C:\\\\gstreamer"/' \
31729     -e 's/.* GST_INSTALL_PLUGINS_HELPER/#define GST_INSTALL_PLUGINS_HELPER PREFIX "\\\\libexec\\\\gst-install-plugins-helper.exe"/' \
31730     -e 's/.* GETTEXT_PACKAGE$/#define GETTEXT_PACKAGE "'$GETTEXT_PACKAGE'"/' \
31731     -e 's/.* GST_DATADIR$/#define GST_DATADIR PREFIX "\\\\share"/' \
31732     -e 's/.* GST_LEVEL_DEFAULT$/#define GST_LEVEL_DEFAULT GST_LEVEL_ERROR/' \
31733     -e 's/.* GST_LICENSE$/#define GST_LICENSE "'$GST_LICENSE'"/' \
31734     -e 's/.* GST_MAJORMINOR$/#define GST_MAJORMINOR "'$GST_MAJORMINOR'"/' \
31735     -e "s,.* GST_PACKAGE_NAME$,#define GST_PACKAGE_NAME \"${GST_PACKAGE_NAME}\"," \
31736     -e 's/.* GST_PACKAGE_ORIGIN$/#define GST_PACKAGE_ORIGIN "Unknown package origin"/' \
31737     -e "s,.* GST_PACKAGE_RELEASE_DATETIME$,#define GST_PACKAGE_RELEASE_DATETIME \"${GST_PACKAGE_RELEASE_DATETIME}\"," \
31738     -e 's/.* HAVE_CPU_I386$/#define HAVE_CPU_I386 1/' \
31739     -e 's/.* HAVE_FGETPOS$/#define HAVE_FGETPOS 1/' \
31740     -e 's/.* HAVE_FSETPOS$/#define HAVE_FSETPOS 1/' \
31741     -e 's/.* HAVE_ISO_CODES$/#undef HAVE_ISO_CODES/' \
31742     -e 's/.* HAVE_LIBXML2$/#define HAVE_LIBXML2 1/' \
31743     -e 's/.* HAVE_PROCESS_H$/#define HAVE_PROCESS_H 1/' \
31744     -e 's/.* HAVE_STDLIB_H$/#define HAVE_STDLIB_H 1/' \
31745     -e 's/.* HAVE_STRING_H$/#define HAVE_STRING_H 1/' \
31746     -e 's/.* HAVE_SYS_STAT_H$/#define HAVE_SYS_STAT_H 1/' \
31747     -e 's/.* HAVE_SYS_TYPES_H$/#define HAVE_SYS_TYPES_H 1/' \
31748     -e 's/.* HAVE_WIN32$/#define HAVE_WIN32 1/' \
31749     -e 's/.* HAVE_WINSOCK2_H$/#define HAVE_WINSOCK2_H 1/' \
31750     -e 's/.* HOST_CPU$/#define HOST_CPU "i686"/' \
31751     -e 's/.* ISO_CODES_PREFIX$/#undef ISO_CODES_PREFIX/' \
31752     -e 's/.* ISO_CODES_VERSION$/#undef ISO_CODES_VERSION/' \
31753     -e 's/.* LIBDIR$/#ifdef _DEBUG\n#  define LIBDIR PREFIX "\\\\debug\\\\lib"\n#else\n#  define LIBDIR PREFIX "\\\\lib"\n#endif/' \
31754     -e 's/.* LOCALEDIR$/#define LOCALEDIR PREFIX "\\\\share\\\\locale"/' \
31755     -e "s/.* PACKAGE$/#define PACKAGE \"$PACKAGE\"/" \
31756     -e 's/.* PACKAGE_BUGREPORT$/#define PACKAGE_BUGREPORT "http:\/\/bugzilla.gnome.org\/enter_bug.cgi?product=GStreamer"/' \
31757     -e "s/.* PACKAGE_NAME$/#define PACKAGE_NAME \"$PACKAGE_NAME\"/" \
31758     -e "s/.* PACKAGE_STRING$/#define PACKAGE_STRING \"$PACKAGE_STRING\"/" \
31759     -e 's/.* PACKAGE_TARNAME$/#define PACKAGE_TARNAME "'$PACKAGE_TARNAME'"/' \
31760     -e 's/.* PACKAGE_VERSION$/#define PACKAGE_VERSION "'$PACKAGE_VERSION'"/' \
31761     -e 's/.* PLUGINDIR$/#ifdef _DEBUG\n#  define PLUGINDIR PREFIX "\\\\debug\\\\lib\\\\gstreamer-0.10"\n#else\n#  define PLUGINDIR PREFIX "\\\\lib\\\\gstreamer-0.10"\n#endif/' \
31762     -e 's/.* USE_BINARY_REGISTRY$/#define USE_BINARY_REGISTRY/' \
31763     -e 's/.* VERSION$/#define VERSION "'$VERSION'"/' \
31764     -e "s/.* DEFAULT_AUDIOSINK$/#define DEFAULT_AUDIOSINK \"directsoundsink\"/" \
31765     -e "s/.* DEFAULT_VIDEOSINK$/#define DEFAULT_VIDEOSINK \"directdrawsink\"/" \
31766     -e "s/.* DEFAULT_VISUALIZER$/#define DEFAULT_VISUALIZER \"goom\"/" \
31767     config.h.in >win32/common/config.h-new
31768
31769
31770
31771 cat >confcache <<\_ACEOF
31772 # This file is a shell script that caches the results of configure
31773 # tests run on this system so they can be shared between configure
31774 # scripts and configure runs, see configure's option --config-cache.
31775 # It is not useful on other systems.  If it contains results you don't
31776 # want to keep, you may remove or edit it.
31777 #
31778 # config.status only pays attention to the cache file if you give it
31779 # the --recheck option to rerun configure.
31780 #
31781 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31782 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31783 # following values.
31784
31785 _ACEOF
31786
31787 # The following way of writing the cache mishandles newlines in values,
31788 # but we know of no workaround that is simple, portable, and efficient.
31789 # So, we kill variables containing newlines.
31790 # Ultrix sh set writes to stderr and can't be redirected directly,
31791 # and sets the high bit in the cache file unless we assign to the vars.
31792 (
31793   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
31794     eval ac_val=\$$ac_var
31795     case $ac_val in #(
31796     *${as_nl}*)
31797       case $ac_var in #(
31798       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
31799 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
31800       esac
31801       case $ac_var in #(
31802       _ | IFS | as_nl) ;; #(
31803       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
31804       *) { eval $ac_var=; unset $ac_var;} ;;
31805       esac ;;
31806     esac
31807   done
31808
31809   (set) 2>&1 |
31810     case $as_nl`(ac_space=' '; set) 2>&1` in #(
31811     *${as_nl}ac_space=\ *)
31812       # `set' does not quote correctly, so add quotes: double-quote
31813       # substitution turns \\\\ into \\, and sed turns \\ into \.
31814       sed -n \
31815         "s/'/'\\\\''/g;
31816           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31817       ;; #(
31818     *)
31819       # `set' quotes correctly as required by POSIX, so do not add quotes.
31820       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
31821       ;;
31822     esac |
31823     sort
31824 ) |
31825   sed '
31826      /^ac_cv_env_/b end
31827      t clear
31828      :clear
31829      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31830      t end
31831      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31832      :end' >>confcache
31833 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
31834   if test -w "$cache_file"; then
31835     if test "x$cache_file" != "x/dev/null"; then
31836       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
31837 $as_echo "$as_me: updating cache $cache_file" >&6;}
31838       if test ! -f "$cache_file" || test -h "$cache_file"; then
31839         cat confcache >"$cache_file"
31840       else
31841         case $cache_file in #(
31842         */* | ?:*)
31843           mv -f confcache "$cache_file"$$ &&
31844           mv -f "$cache_file"$$ "$cache_file" ;; #(
31845         *)
31846           mv -f confcache "$cache_file" ;;
31847         esac
31848       fi
31849     fi
31850   else
31851     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
31852 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
31853   fi
31854 fi
31855 rm -f confcache
31856
31857 test "x$prefix" = xNONE && prefix=$ac_default_prefix
31858 # Let make expand exec_prefix.
31859 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
31860
31861 DEFS=-DHAVE_CONFIG_H
31862
31863 ac_libobjs=
31864 ac_ltlibobjs=
31865 U=
31866 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
31867   # 1. Remove the extension, and $U if already installed.
31868   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
31869   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
31870   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
31871   #    will be set to the directory where LIBOBJS objects are built.
31872   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
31873   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
31874 done
31875 LIBOBJS=$ac_libobjs
31876
31877 LTLIBOBJS=$ac_ltlibobjs
31878
31879
31880  if test -n "$EXEEXT"; then
31881   am__EXEEXT_TRUE=
31882   am__EXEEXT_FALSE='#'
31883 else
31884   am__EXEEXT_TRUE='#'
31885   am__EXEEXT_FALSE=
31886 fi
31887
31888 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
31889   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
31890 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31891 fi
31892 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
31893   as_fn_error $? "conditional \"AMDEP\" was never defined.
31894 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31895 fi
31896 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
31897   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
31898 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31899 fi
31900 if test -z "${GST_GCOV_ENABLED_TRUE}" && test -z "${GST_GCOV_ENABLED_FALSE}"; then
31901   as_fn_error $? "conditional \"GST_GCOV_ENABLED\" was never defined.
31902 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31903 fi
31904 if test -z "${BUILD_EXAMPLES_TRUE}" && test -z "${BUILD_EXAMPLES_FALSE}"; then
31905   as_fn_error $? "conditional \"BUILD_EXAMPLES\" was never defined.
31906 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31907 fi
31908 if test -z "${USE_EXTERNAL_TRUE}" && test -z "${USE_EXTERNAL_FALSE}"; then
31909   as_fn_error $? "conditional \"USE_EXTERNAL\" was never defined.
31910 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31911 fi
31912 if test -z "${BUILD_EXTERNAL_TRUE}" && test -z "${BUILD_EXTERNAL_FALSE}"; then
31913   as_fn_error $? "conditional \"BUILD_EXTERNAL\" was never defined.
31914 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31915 fi
31916 if test -z "${USE_EXPERIMENTAL_TRUE}" && test -z "${USE_EXPERIMENTAL_FALSE}"; then
31917   as_fn_error $? "conditional \"USE_EXPERIMENTAL\" was never defined.
31918 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31919 fi
31920 if test -z "${BUILD_EXPERIMENTAL_TRUE}" && test -z "${BUILD_EXPERIMENTAL_FALSE}"; then
31921   as_fn_error $? "conditional \"BUILD_EXPERIMENTAL\" was never defined.
31922 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31923 fi
31924
31925 if test -z "${HAVE_CPU_I386_TRUE}" && test -z "${HAVE_CPU_I386_FALSE}"; then
31926   as_fn_error $? "conditional \"HAVE_CPU_I386\" was never defined.
31927 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31928 fi
31929 if test -z "${HAVE_CPU_PPC_TRUE}" && test -z "${HAVE_CPU_PPC_FALSE}"; then
31930   as_fn_error $? "conditional \"HAVE_CPU_PPC\" was never defined.
31931 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31932 fi
31933 if test -z "${HAVE_CPU_PPC64_TRUE}" && test -z "${HAVE_CPU_PPC64_FALSE}"; then
31934   as_fn_error $? "conditional \"HAVE_CPU_PPC64\" was never defined.
31935 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31936 fi
31937 if test -z "${HAVE_CPU_ALPHA_TRUE}" && test -z "${HAVE_CPU_ALPHA_FALSE}"; then
31938   as_fn_error $? "conditional \"HAVE_CPU_ALPHA\" was never defined.
31939 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31940 fi
31941 if test -z "${HAVE_CPU_ARM_TRUE}" && test -z "${HAVE_CPU_ARM_FALSE}"; then
31942   as_fn_error $? "conditional \"HAVE_CPU_ARM\" was never defined.
31943 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31944 fi
31945 if test -z "${HAVE_CPU_SPARC_TRUE}" && test -z "${HAVE_CPU_SPARC_FALSE}"; then
31946   as_fn_error $? "conditional \"HAVE_CPU_SPARC\" was never defined.
31947 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31948 fi
31949 if test -z "${HAVE_CPU_HPPA_TRUE}" && test -z "${HAVE_CPU_HPPA_FALSE}"; then
31950   as_fn_error $? "conditional \"HAVE_CPU_HPPA\" was never defined.
31951 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31952 fi
31953 if test -z "${HAVE_CPU_MIPS_TRUE}" && test -z "${HAVE_CPU_MIPS_FALSE}"; then
31954   as_fn_error $? "conditional \"HAVE_CPU_MIPS\" was never defined.
31955 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31956 fi
31957 if test -z "${HAVE_CPU_S390_TRUE}" && test -z "${HAVE_CPU_S390_FALSE}"; then
31958   as_fn_error $? "conditional \"HAVE_CPU_S390\" was never defined.
31959 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31960 fi
31961 if test -z "${HAVE_CPU_IA64_TRUE}" && test -z "${HAVE_CPU_IA64_FALSE}"; then
31962   as_fn_error $? "conditional \"HAVE_CPU_IA64\" was never defined.
31963 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31964 fi
31965 if test -z "${HAVE_CPU_M68K_TRUE}" && test -z "${HAVE_CPU_M68K_FALSE}"; then
31966   as_fn_error $? "conditional \"HAVE_CPU_M68K\" was never defined.
31967 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31968 fi
31969 if test -z "${HAVE_CPU_X86_64_TRUE}" && test -z "${HAVE_CPU_X86_64_FALSE}"; then
31970   as_fn_error $? "conditional \"HAVE_CPU_X86_64\" was never defined.
31971 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31972 fi
31973 if test -z "${HAVE_CPU_CRIS_TRUE}" && test -z "${HAVE_CPU_CRIS_FALSE}"; then
31974   as_fn_error $? "conditional \"HAVE_CPU_CRIS\" was never defined.
31975 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31976 fi
31977 if test -z "${HAVE_CPU_CRISV32_TRUE}" && test -z "${HAVE_CPU_CRISV32_FALSE}"; then
31978   as_fn_error $? "conditional \"HAVE_CPU_CRISV32\" was never defined.
31979 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31980 fi
31981 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
31982   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
31983 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31984 fi
31985 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
31986   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
31987 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31988 fi
31989 if test -z "${HAVE_CXX_TRUE}" && test -z "${HAVE_CXX_FALSE}"; then
31990   as_fn_error $? "conditional \"HAVE_CXX\" was never defined.
31991 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31992 fi
31993 if test -z "${HAVE_VALGRIND_TRUE}" && test -z "${HAVE_VALGRIND_FALSE}"; then
31994   as_fn_error $? "conditional \"HAVE_VALGRIND\" was never defined.
31995 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31996 fi
31997 if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
31998   as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
31999 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32000 fi
32001 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
32002   as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
32003 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32004 fi
32005 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
32006   as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
32007 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32008 fi
32009 if test -z "${ENABLE_PLUGIN_DOCS_TRUE}" && test -z "${ENABLE_PLUGIN_DOCS_FALSE}"; then
32010   as_fn_error $? "conditional \"ENABLE_PLUGIN_DOCS\" was never defined.
32011 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32012 fi
32013 if test -z "${HAVE_LIBXML_HTML_TRUE}" && test -z "${HAVE_LIBXML_HTML_FALSE}"; then
32014   as_fn_error $? "conditional \"HAVE_LIBXML_HTML\" was never defined.
32015 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32016 fi
32017 if test -z "${HAVE_SYS_SOCKET_H_TRUE}" && test -z "${HAVE_SYS_SOCKET_H_FALSE}"; then
32018   as_fn_error $? "conditional \"HAVE_SYS_SOCKET_H\" was never defined.
32019 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32020 fi
32021 if test -z "${HAVE_ORC_TRUE}" && test -z "${HAVE_ORC_FALSE}"; then
32022   as_fn_error $? "conditional \"HAVE_ORC\" was never defined.
32023 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32024 fi
32025 if test -z "${HAVE_ORCC_TRUE}" && test -z "${HAVE_ORCC_FALSE}"; then
32026   as_fn_error $? "conditional \"HAVE_ORCC\" was never defined.
32027 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32028 fi
32029 if test -z "${HAVE_GST_CHECK_TRUE}" && test -z "${HAVE_GST_CHECK_FALSE}"; then
32030   as_fn_error $? "conditional \"HAVE_GST_CHECK\" was never defined.
32031 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32032 fi
32033 if test -z "${HAVE_GTK_TRUE}" && test -z "${HAVE_GTK_FALSE}"; then
32034   as_fn_error $? "conditional \"HAVE_GTK\" was never defined.
32035 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32036 fi
32037 if test -z "${HAVE_GTK_X11_TRUE}" && test -z "${HAVE_GTK_X11_FALSE}"; then
32038   as_fn_error $? "conditional \"HAVE_GTK_X11\" was never defined.
32039 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32040 fi
32041 if test -z "${HAVE_QT_TRUE}" && test -z "${HAVE_QT_FALSE}"; then
32042   as_fn_error $? "conditional \"HAVE_QT\" was never defined.
32043 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32044 fi
32045 if test -z "${HAVE_QT_GV_TRUE}" && test -z "${HAVE_QT_GV_FALSE}"; then
32046   as_fn_error $? "conditional \"HAVE_QT_GV\" was never defined.
32047 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32048 fi
32049 if test -z "${HAVE_LINUX_JOYSTICK_HEADERS_TRUE}" && test -z "${HAVE_LINUX_JOYSTICK_HEADERS_FALSE}"; then
32050   as_fn_error $? "conditional \"HAVE_LINUX_JOYSTICK_HEADERS\" was never defined.
32051 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32052 fi
32053 if test -z "${USE_PLUGIN_ADDER_TRUE}" && test -z "${USE_PLUGIN_ADDER_FALSE}"; then
32054   as_fn_error $? "conditional \"USE_PLUGIN_ADDER\" was never defined.
32055 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32056 fi
32057 if test -z "${USE_PLUGIN_APP_TRUE}" && test -z "${USE_PLUGIN_APP_FALSE}"; then
32058   as_fn_error $? "conditional \"USE_PLUGIN_APP\" was never defined.
32059 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32060 fi
32061 if test -z "${USE_PLUGIN_AUDIOCONVERT_TRUE}" && test -z "${USE_PLUGIN_AUDIOCONVERT_FALSE}"; then
32062   as_fn_error $? "conditional \"USE_PLUGIN_AUDIOCONVERT\" was never defined.
32063 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32064 fi
32065 if test -z "${USE_PLUGIN_AUDIORATE_TRUE}" && test -z "${USE_PLUGIN_AUDIORATE_FALSE}"; then
32066   as_fn_error $? "conditional \"USE_PLUGIN_AUDIORATE\" was never defined.
32067 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32068 fi
32069 if test -z "${USE_PLUGIN_AUDIOTESTSRC_TRUE}" && test -z "${USE_PLUGIN_AUDIOTESTSRC_FALSE}"; then
32070   as_fn_error $? "conditional \"USE_PLUGIN_AUDIOTESTSRC\" was never defined.
32071 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32072 fi
32073 if test -z "${USE_PLUGIN_ENCODING_TRUE}" && test -z "${USE_PLUGIN_ENCODING_FALSE}"; then
32074   as_fn_error $? "conditional \"USE_PLUGIN_ENCODING\" was never defined.
32075 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32076 fi
32077 if test -z "${USE_PLUGIN_FFMPEGCOLORSPACE_TRUE}" && test -z "${USE_PLUGIN_FFMPEGCOLORSPACE_FALSE}"; then
32078   as_fn_error $? "conditional \"USE_PLUGIN_FFMPEGCOLORSPACE\" was never defined.
32079 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32080 fi
32081 if test -z "${USE_PLUGIN_GDP_TRUE}" && test -z "${USE_PLUGIN_GDP_FALSE}"; then
32082   as_fn_error $? "conditional \"USE_PLUGIN_GDP\" was never defined.
32083 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32084 fi
32085 if test -z "${USE_PLUGIN_PLAYBACK_TRUE}" && test -z "${USE_PLUGIN_PLAYBACK_FALSE}"; then
32086   as_fn_error $? "conditional \"USE_PLUGIN_PLAYBACK\" was never defined.
32087 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32088 fi
32089 if test -z "${USE_PLUGIN_AUDIORESAMPLE_TRUE}" && test -z "${USE_PLUGIN_AUDIORESAMPLE_FALSE}"; then
32090   as_fn_error $? "conditional \"USE_PLUGIN_AUDIORESAMPLE\" was never defined.
32091 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32092 fi
32093 if test -z "${USE_PLUGIN_SUBPARSE_TRUE}" && test -z "${USE_PLUGIN_SUBPARSE_FALSE}"; then
32094   as_fn_error $? "conditional \"USE_PLUGIN_SUBPARSE\" was never defined.
32095 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32096 fi
32097 if test -z "${USE_PLUGIN_TCP_TRUE}" && test -z "${USE_PLUGIN_TCP_FALSE}"; then
32098   as_fn_error $? "conditional \"USE_PLUGIN_TCP\" was never defined.
32099 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32100 fi
32101 if test -z "${USE_PLUGIN_TYPEFIND_TRUE}" && test -z "${USE_PLUGIN_TYPEFIND_FALSE}"; then
32102   as_fn_error $? "conditional \"USE_PLUGIN_TYPEFIND\" was never defined.
32103 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32104 fi
32105 if test -z "${USE_PLUGIN_VIDEOTESTSRC_TRUE}" && test -z "${USE_PLUGIN_VIDEOTESTSRC_FALSE}"; then
32106   as_fn_error $? "conditional \"USE_PLUGIN_VIDEOTESTSRC\" was never defined.
32107 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32108 fi
32109 if test -z "${USE_PLUGIN_VIDEORATE_TRUE}" && test -z "${USE_PLUGIN_VIDEORATE_FALSE}"; then
32110   as_fn_error $? "conditional \"USE_PLUGIN_VIDEORATE\" was never defined.
32111 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32112 fi
32113 if test -z "${USE_PLUGIN_VIDEOSCALE_TRUE}" && test -z "${USE_PLUGIN_VIDEOSCALE_FALSE}"; then
32114   as_fn_error $? "conditional \"USE_PLUGIN_VIDEOSCALE\" was never defined.
32115 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32116 fi
32117 if test -z "${USE_PLUGIN_VOLUME_TRUE}" && test -z "${USE_PLUGIN_VOLUME_FALSE}"; then
32118   as_fn_error $? "conditional \"USE_PLUGIN_VOLUME\" was never defined.
32119 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32120 fi
32121 if test -z "${USE_XML_TRUE}" && test -z "${USE_XML_FALSE}"; then
32122   as_fn_error $? "conditional \"USE_XML\" was never defined.
32123 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32124 fi
32125 if test -z "${USE_PLUGIN_SUBPARSE_TRUE}" && test -z "${USE_PLUGIN_SUBPARSE_FALSE}"; then
32126   as_fn_error $? "conditional \"USE_PLUGIN_SUBPARSE\" was never defined.
32127 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32128 fi
32129 if test -z "${USE_PLUGIN_TCP_TRUE}" && test -z "${USE_PLUGIN_TCP_FALSE}"; then
32130   as_fn_error $? "conditional \"USE_PLUGIN_TCP\" was never defined.
32131 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32132 fi
32133 if test -z "${USE_ISO_CODES_TRUE}" && test -z "${USE_ISO_CODES_FALSE}"; then
32134   as_fn_error $? "conditional \"USE_ISO_CODES\" was never defined.
32135 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32136 fi
32137 if test -z "${USE_ISO_CODES_TRUE}" && test -z "${USE_ISO_CODES_FALSE}"; then
32138   as_fn_error $? "conditional \"USE_ISO_CODES\" was never defined.
32139 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32140 fi
32141 if test -z "${USE_ZLIB_TRUE}" && test -z "${USE_ZLIB_FALSE}"; then
32142   as_fn_error $? "conditional \"USE_ZLIB\" was never defined.
32143 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32144 fi
32145 if test -z "${USE_X_TRUE}" && test -z "${USE_X_FALSE}"; then
32146   as_fn_error $? "conditional \"USE_X\" was never defined.
32147 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32148 fi
32149 if test -z "${USE_XVIDEO_TRUE}" && test -z "${USE_XVIDEO_FALSE}"; then
32150   as_fn_error $? "conditional \"USE_XVIDEO\" was never defined.
32151 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32152 fi
32153 if test -z "${USE_XSHM_TRUE}" && test -z "${USE_XSHM_FALSE}"; then
32154   as_fn_error $? "conditional \"USE_XSHM\" was never defined.
32155 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32156 fi
32157 if test -z "${USE_GST_V4L_TRUE}" && test -z "${USE_GST_V4L_FALSE}"; then
32158   as_fn_error $? "conditional \"USE_GST_V4L\" was never defined.
32159 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32160 fi
32161 if test -z "${USE_ALSA_TRUE}" && test -z "${USE_ALSA_FALSE}"; then
32162   as_fn_error $? "conditional \"USE_ALSA\" was never defined.
32163 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32164 fi
32165 if test -z "${USE_CDPARANOIA_TRUE}" && test -z "${USE_CDPARANOIA_FALSE}"; then
32166   as_fn_error $? "conditional \"USE_CDPARANOIA\" was never defined.
32167 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32168 fi
32169 if test -z "${USE_GNOME_VFS_TRUE}" && test -z "${USE_GNOME_VFS_FALSE}"; then
32170   as_fn_error $? "conditional \"USE_GNOME_VFS\" was never defined.
32171 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32172 fi
32173 if test -z "${USE_IVORBIS_TRUE}" && test -z "${USE_IVORBIS_FALSE}"; then
32174   as_fn_error $? "conditional \"USE_IVORBIS\" was never defined.
32175 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32176 fi
32177 if test -z "${USE_GIO_TRUE}" && test -z "${USE_GIO_FALSE}"; then
32178   as_fn_error $? "conditional \"USE_GIO\" was never defined.
32179 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32180 fi
32181 if test -z "${USE_LIBVISUAL_TRUE}" && test -z "${USE_LIBVISUAL_FALSE}"; then
32182   as_fn_error $? "conditional \"USE_LIBVISUAL\" was never defined.
32183 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32184 fi
32185 if test -z "${USE_OGG_TRUE}" && test -z "${USE_OGG_FALSE}"; then
32186   as_fn_error $? "conditional \"USE_OGG\" was never defined.
32187 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32188 fi
32189 if test -z "${USE_PANGO_TRUE}" && test -z "${USE_PANGO_FALSE}"; then
32190   as_fn_error $? "conditional \"USE_PANGO\" was never defined.
32191 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32192 fi
32193 if test -z "${USE_THEORA_TRUE}" && test -z "${USE_THEORA_FALSE}"; then
32194   as_fn_error $? "conditional \"USE_THEORA\" was never defined.
32195 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32196 fi
32197 if test -z "${USE_VORBIS_TRUE}" && test -z "${USE_VORBIS_FALSE}"; then
32198   as_fn_error $? "conditional \"USE_VORBIS\" was never defined.
32199 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32200 fi
32201 if test -z "${USE_ALSA_TRUE}" && test -z "${USE_ALSA_FALSE}"; then
32202   as_fn_error $? "conditional \"USE_ALSA\" was never defined.
32203 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32204 fi
32205 if test -z "${USE_CDPARANOIA_TRUE}" && test -z "${USE_CDPARANOIA_FALSE}"; then
32206   as_fn_error $? "conditional \"USE_CDPARANOIA\" was never defined.
32207 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32208 fi
32209 if test -z "${USE_GIO_TRUE}" && test -z "${USE_GIO_FALSE}"; then
32210   as_fn_error $? "conditional \"USE_GIO\" was never defined.
32211 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32212 fi
32213 if test -z "${USE_GNOME_VFS_TRUE}" && test -z "${USE_GNOME_VFS_FALSE}"; then
32214   as_fn_error $? "conditional \"USE_GNOME_VFS\" was never defined.
32215 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32216 fi
32217 if test -z "${USE_IVORBIS_TRUE}" && test -z "${USE_IVORBIS_FALSE}"; then
32218   as_fn_error $? "conditional \"USE_IVORBIS\" was never defined.
32219 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32220 fi
32221 if test -z "${USE_LIBVISUAL_TRUE}" && test -z "${USE_LIBVISUAL_FALSE}"; then
32222   as_fn_error $? "conditional \"USE_LIBVISUAL\" was never defined.
32223 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32224 fi
32225 if test -z "${USE_OGG_TRUE}" && test -z "${USE_OGG_FALSE}"; then
32226   as_fn_error $? "conditional \"USE_OGG\" was never defined.
32227 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32228 fi
32229 if test -z "${USE_PANGO_TRUE}" && test -z "${USE_PANGO_FALSE}"; then
32230   as_fn_error $? "conditional \"USE_PANGO\" was never defined.
32231 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32232 fi
32233 if test -z "${USE_THEORA_TRUE}" && test -z "${USE_THEORA_FALSE}"; then
32234   as_fn_error $? "conditional \"USE_THEORA\" was never defined.
32235 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32236 fi
32237 if test -z "${USE_VORBIS_TRUE}" && test -z "${USE_VORBIS_FALSE}"; then
32238   as_fn_error $? "conditional \"USE_VORBIS\" was never defined.
32239 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32240 fi
32241 if test -z "${HAVE_FT2_TRUE}" && test -z "${HAVE_FT2_FALSE}"; then
32242   as_fn_error $? "conditional \"HAVE_FT2\" was never defined.
32243 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32244 fi
32245
32246 : "${CONFIG_STATUS=./config.status}"
32247 ac_write_fail=0
32248 ac_clean_files_save=$ac_clean_files
32249 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
32250 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
32251 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
32252 as_write_fail=0
32253 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
32254 #! $SHELL
32255 # Generated by $as_me.
32256 # Run this file to recreate the current configuration.
32257 # Compiler output produced by configure, useful for debugging
32258 # configure, is in config.log if it exists.
32259
32260 debug=false
32261 ac_cs_recheck=false
32262 ac_cs_silent=false
32263
32264 SHELL=\${CONFIG_SHELL-$SHELL}
32265 export SHELL
32266 _ASEOF
32267 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
32268 ## -------------------- ##
32269 ## M4sh Initialization. ##
32270 ## -------------------- ##
32271
32272 # Be more Bourne compatible
32273 DUALCASE=1; export DUALCASE # for MKS sh
32274 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
32275   emulate sh
32276   NULLCMD=:
32277   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
32278   # is contrary to our usage.  Disable this feature.
32279   alias -g '${1+"$@"}'='"$@"'
32280   setopt NO_GLOB_SUBST
32281 else
32282   case `(set -o) 2>/dev/null` in #(
32283   *posix*) :
32284     set -o posix ;; #(
32285   *) :
32286      ;;
32287 esac
32288 fi
32289
32290
32291 as_nl='
32292 '
32293 export as_nl
32294 # Printing a long string crashes Solaris 7 /usr/bin/printf.
32295 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
32296 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
32297 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
32298 # Prefer a ksh shell builtin over an external printf program on Solaris,
32299 # but without wasting forks for bash or zsh.
32300 if test -z "$BASH_VERSION$ZSH_VERSION" \
32301     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
32302   as_echo='print -r --'
32303   as_echo_n='print -rn --'
32304 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
32305   as_echo='printf %s\n'
32306   as_echo_n='printf %s'
32307 else
32308   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
32309     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
32310     as_echo_n='/usr/ucb/echo -n'
32311   else
32312     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
32313     as_echo_n_body='eval
32314       arg=$1;
32315       case $arg in #(
32316       *"$as_nl"*)
32317         expr "X$arg" : "X\\(.*\\)$as_nl";
32318         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
32319       esac;
32320       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
32321     '
32322     export as_echo_n_body
32323     as_echo_n='sh -c $as_echo_n_body as_echo'
32324   fi
32325   export as_echo_body
32326   as_echo='sh -c $as_echo_body as_echo'
32327 fi
32328
32329 # The user is always right.
32330 if test "${PATH_SEPARATOR+set}" != set; then
32331   PATH_SEPARATOR=:
32332   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
32333     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
32334       PATH_SEPARATOR=';'
32335   }
32336 fi
32337
32338
32339 # IFS
32340 # We need space, tab and new line, in precisely that order.  Quoting is
32341 # there to prevent editors from complaining about space-tab.
32342 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
32343 # splitting by setting IFS to empty value.)
32344 IFS=" ""        $as_nl"
32345
32346 # Find who we are.  Look in the path if we contain no directory separator.
32347 as_myself=
32348 case $0 in #((
32349   *[\\/]* ) as_myself=$0 ;;
32350   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32351 for as_dir in $PATH
32352 do
32353   IFS=$as_save_IFS
32354   test -z "$as_dir" && as_dir=.
32355     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
32356   done
32357 IFS=$as_save_IFS
32358
32359      ;;
32360 esac
32361 # We did not find ourselves, most probably we were run as `sh COMMAND'
32362 # in which case we are not to be found in the path.
32363 if test "x$as_myself" = x; then
32364   as_myself=$0
32365 fi
32366 if test ! -f "$as_myself"; then
32367   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
32368   exit 1
32369 fi
32370
32371 # Unset variables that we do not need and which cause bugs (e.g. in
32372 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
32373 # suppresses any "Segmentation fault" message there.  '((' could
32374 # trigger a bug in pdksh 5.2.14.
32375 for as_var in BASH_ENV ENV MAIL MAILPATH
32376 do eval test x\${$as_var+set} = xset \
32377   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
32378 done
32379 PS1='$ '
32380 PS2='> '
32381 PS4='+ '
32382
32383 # NLS nuisances.
32384 LC_ALL=C
32385 export LC_ALL
32386 LANGUAGE=C
32387 export LANGUAGE
32388
32389 # CDPATH.
32390 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
32391
32392
32393 # as_fn_error STATUS ERROR [LINENO LOG_FD]
32394 # ----------------------------------------
32395 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
32396 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
32397 # script with STATUS, using 1 if that was 0.
32398 as_fn_error ()
32399 {
32400   as_status=$1; test $as_status -eq 0 && as_status=1
32401   if test "$4"; then
32402     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
32403     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
32404   fi
32405   $as_echo "$as_me: error: $2" >&2
32406   as_fn_exit $as_status
32407 } # as_fn_error
32408
32409
32410 # as_fn_set_status STATUS
32411 # -----------------------
32412 # Set $? to STATUS, without forking.
32413 as_fn_set_status ()
32414 {
32415   return $1
32416 } # as_fn_set_status
32417
32418 # as_fn_exit STATUS
32419 # -----------------
32420 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
32421 as_fn_exit ()
32422 {
32423   set +e
32424   as_fn_set_status $1
32425   exit $1
32426 } # as_fn_exit
32427
32428 # as_fn_unset VAR
32429 # ---------------
32430 # Portably unset VAR.
32431 as_fn_unset ()
32432 {
32433   { eval $1=; unset $1;}
32434 }
32435 as_unset=as_fn_unset
32436 # as_fn_append VAR VALUE
32437 # ----------------------
32438 # Append the text in VALUE to the end of the definition contained in VAR. Take
32439 # advantage of any shell optimizations that allow amortized linear growth over
32440 # repeated appends, instead of the typical quadratic growth present in naive
32441 # implementations.
32442 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
32443   eval 'as_fn_append ()
32444   {
32445     eval $1+=\$2
32446   }'
32447 else
32448   as_fn_append ()
32449   {
32450     eval $1=\$$1\$2
32451   }
32452 fi # as_fn_append
32453
32454 # as_fn_arith ARG...
32455 # ------------------
32456 # Perform arithmetic evaluation on the ARGs, and store the result in the
32457 # global $as_val. Take advantage of shells that can avoid forks. The arguments
32458 # must be portable across $(()) and expr.
32459 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
32460   eval 'as_fn_arith ()
32461   {
32462     as_val=$(( $* ))
32463   }'
32464 else
32465   as_fn_arith ()
32466   {
32467     as_val=`expr "$@" || test $? -eq 1`
32468   }
32469 fi # as_fn_arith
32470
32471
32472 if expr a : '\(a\)' >/dev/null 2>&1 &&
32473    test "X`expr 00001 : '.*\(...\)'`" = X001; then
32474   as_expr=expr
32475 else
32476   as_expr=false
32477 fi
32478
32479 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
32480   as_basename=basename
32481 else
32482   as_basename=false
32483 fi
32484
32485 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
32486   as_dirname=dirname
32487 else
32488   as_dirname=false
32489 fi
32490
32491 as_me=`$as_basename -- "$0" ||
32492 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
32493          X"$0" : 'X\(//\)$' \| \
32494          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
32495 $as_echo X/"$0" |
32496     sed '/^.*\/\([^/][^/]*\)\/*$/{
32497             s//\1/
32498             q
32499           }
32500           /^X\/\(\/\/\)$/{
32501             s//\1/
32502             q
32503           }
32504           /^X\/\(\/\).*/{
32505             s//\1/
32506             q
32507           }
32508           s/.*/./; q'`
32509
32510 # Avoid depending upon Character Ranges.
32511 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
32512 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
32513 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
32514 as_cr_digits='0123456789'
32515 as_cr_alnum=$as_cr_Letters$as_cr_digits
32516
32517 ECHO_C= ECHO_N= ECHO_T=
32518 case `echo -n x` in #(((((
32519 -n*)
32520   case `echo 'xy\c'` in
32521   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
32522   xy)  ECHO_C='\c';;
32523   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
32524        ECHO_T=' ';;
32525   esac;;
32526 *)
32527   ECHO_N='-n';;
32528 esac
32529
32530 rm -f conf$$ conf$$.exe conf$$.file
32531 if test -d conf$$.dir; then
32532   rm -f conf$$.dir/conf$$.file
32533 else
32534   rm -f conf$$.dir
32535   mkdir conf$$.dir 2>/dev/null
32536 fi
32537 if (echo >conf$$.file) 2>/dev/null; then
32538   if ln -s conf$$.file conf$$ 2>/dev/null; then
32539     as_ln_s='ln -s'
32540     # ... but there are two gotchas:
32541     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
32542     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
32543     # In both cases, we have to default to `cp -p'.
32544     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
32545       as_ln_s='cp -p'
32546   elif ln conf$$.file conf$$ 2>/dev/null; then
32547     as_ln_s=ln
32548   else
32549     as_ln_s='cp -p'
32550   fi
32551 else
32552   as_ln_s='cp -p'
32553 fi
32554 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
32555 rmdir conf$$.dir 2>/dev/null
32556
32557
32558 # as_fn_mkdir_p
32559 # -------------
32560 # Create "$as_dir" as a directory, including parents if necessary.
32561 as_fn_mkdir_p ()
32562 {
32563
32564   case $as_dir in #(
32565   -*) as_dir=./$as_dir;;
32566   esac
32567   test -d "$as_dir" || eval $as_mkdir_p || {
32568     as_dirs=
32569     while :; do
32570       case $as_dir in #(
32571       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
32572       *) as_qdir=$as_dir;;
32573       esac
32574       as_dirs="'$as_qdir' $as_dirs"
32575       as_dir=`$as_dirname -- "$as_dir" ||
32576 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32577          X"$as_dir" : 'X\(//\)[^/]' \| \
32578          X"$as_dir" : 'X\(//\)$' \| \
32579          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
32580 $as_echo X"$as_dir" |
32581     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
32582             s//\1/
32583             q
32584           }
32585           /^X\(\/\/\)[^/].*/{
32586             s//\1/
32587             q
32588           }
32589           /^X\(\/\/\)$/{
32590             s//\1/
32591             q
32592           }
32593           /^X\(\/\).*/{
32594             s//\1/
32595             q
32596           }
32597           s/.*/./; q'`
32598       test -d "$as_dir" && break
32599     done
32600     test -z "$as_dirs" || eval "mkdir $as_dirs"
32601   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
32602
32603
32604 } # as_fn_mkdir_p
32605 if mkdir -p . 2>/dev/null; then
32606   as_mkdir_p='mkdir -p "$as_dir"'
32607 else
32608   test -d ./-p && rmdir ./-p
32609   as_mkdir_p=false
32610 fi
32611
32612 if test -x / >/dev/null 2>&1; then
32613   as_test_x='test -x'
32614 else
32615   if ls -dL / >/dev/null 2>&1; then
32616     as_ls_L_option=L
32617   else
32618     as_ls_L_option=
32619   fi
32620   as_test_x='
32621     eval sh -c '\''
32622       if test -d "$1"; then
32623         test -d "$1/.";
32624       else
32625         case $1 in #(
32626         -*)set "./$1";;
32627         esac;
32628         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
32629         ???[sx]*):;;*)false;;esac;fi
32630     '\'' sh
32631   '
32632 fi
32633 as_executable_p=$as_test_x
32634
32635 # Sed expression to map a string onto a valid CPP name.
32636 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
32637
32638 # Sed expression to map a string onto a valid variable name.
32639 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
32640
32641
32642 exec 6>&1
32643 ## ----------------------------------- ##
32644 ## Main body of $CONFIG_STATUS script. ##
32645 ## ----------------------------------- ##
32646 _ASEOF
32647 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
32648
32649 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32650 # Save the log message, to keep $0 and so on meaningful, and to
32651 # report actual input values of CONFIG_FILES etc. instead of their
32652 # values after options handling.
32653 ac_log="
32654 This file was extended by GStreamer Base Plug-ins $as_me 0.10.36, which was
32655 generated by GNU Autoconf 2.68.  Invocation command line was
32656
32657   CONFIG_FILES    = $CONFIG_FILES
32658   CONFIG_HEADERS  = $CONFIG_HEADERS
32659   CONFIG_LINKS    = $CONFIG_LINKS
32660   CONFIG_COMMANDS = $CONFIG_COMMANDS
32661   $ $0 $@
32662
32663 on `(hostname || uname -n) 2>/dev/null | sed 1q`
32664 "
32665
32666 _ACEOF
32667
32668 case $ac_config_files in *"
32669 "*) set x $ac_config_files; shift; ac_config_files=$*;;
32670 esac
32671
32672 case $ac_config_headers in *"
32673 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
32674 esac
32675
32676
32677 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32678 # Files that config.status was made for.
32679 config_files="$ac_config_files"
32680 config_headers="$ac_config_headers"
32681 config_commands="$ac_config_commands"
32682
32683 _ACEOF
32684
32685 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32686 ac_cs_usage="\
32687 \`$as_me' instantiates files and other configuration actions
32688 from templates according to the current configuration.  Unless the files
32689 and actions are specified as TAGs, all are instantiated by default.
32690
32691 Usage: $0 [OPTION]... [TAG]...
32692
32693   -h, --help       print this help, then exit
32694   -V, --version    print version number and configuration settings, then exit
32695       --config     print configuration, then exit
32696   -q, --quiet, --silent
32697                    do not print progress messages
32698   -d, --debug      don't remove temporary files
32699       --recheck    update $as_me by reconfiguring in the same conditions
32700       --file=FILE[:TEMPLATE]
32701                    instantiate the configuration file FILE
32702       --header=FILE[:TEMPLATE]
32703                    instantiate the configuration header FILE
32704
32705 Configuration files:
32706 $config_files
32707
32708 Configuration headers:
32709 $config_headers
32710
32711 Configuration commands:
32712 $config_commands
32713
32714 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer>."
32715
32716 _ACEOF
32717 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32718 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
32719 ac_cs_version="\\
32720 GStreamer Base Plug-ins config.status 0.10.36
32721 configured by $0, generated by GNU Autoconf 2.68,
32722   with options \\"\$ac_cs_config\\"
32723
32724 Copyright (C) 2010 Free Software Foundation, Inc.
32725 This config.status script is free software; the Free Software Foundation
32726 gives unlimited permission to copy, distribute and modify it."
32727
32728 ac_pwd='$ac_pwd'
32729 srcdir='$srcdir'
32730 INSTALL='$INSTALL'
32731 MKDIR_P='$MKDIR_P'
32732 AWK='$AWK'
32733 test -n "\$AWK" || AWK=awk
32734 _ACEOF
32735
32736 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32737 # The default lists apply if the user does not specify any file.
32738 ac_need_defaults=:
32739 while test $# != 0
32740 do
32741   case $1 in
32742   --*=?*)
32743     ac_option=`expr "X$1" : 'X\([^=]*\)='`
32744     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
32745     ac_shift=:
32746     ;;
32747   --*=)
32748     ac_option=`expr "X$1" : 'X\([^=]*\)='`
32749     ac_optarg=
32750     ac_shift=:
32751     ;;
32752   *)
32753     ac_option=$1
32754     ac_optarg=$2
32755     ac_shift=shift
32756     ;;
32757   esac
32758
32759   case $ac_option in
32760   # Handling of the options.
32761   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
32762     ac_cs_recheck=: ;;
32763   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
32764     $as_echo "$ac_cs_version"; exit ;;
32765   --config | --confi | --conf | --con | --co | --c )
32766     $as_echo "$ac_cs_config"; exit ;;
32767   --debug | --debu | --deb | --de | --d | -d )
32768     debug=: ;;
32769   --file | --fil | --fi | --f )
32770     $ac_shift
32771     case $ac_optarg in
32772     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
32773     '') as_fn_error $? "missing file argument" ;;
32774     esac
32775     as_fn_append CONFIG_FILES " '$ac_optarg'"
32776     ac_need_defaults=false;;
32777   --header | --heade | --head | --hea )
32778     $ac_shift
32779     case $ac_optarg in
32780     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
32781     esac
32782     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
32783     ac_need_defaults=false;;
32784   --he | --h)
32785     # Conflict between --help and --header
32786     as_fn_error $? "ambiguous option: \`$1'
32787 Try \`$0 --help' for more information.";;
32788   --help | --hel | -h )
32789     $as_echo "$ac_cs_usage"; exit ;;
32790   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
32791   | -silent | --silent | --silen | --sile | --sil | --si | --s)
32792     ac_cs_silent=: ;;
32793
32794   # This is an error.
32795   -*) as_fn_error $? "unrecognized option: \`$1'
32796 Try \`$0 --help' for more information." ;;
32797
32798   *) as_fn_append ac_config_targets " $1"
32799      ac_need_defaults=false ;;
32800
32801   esac
32802   shift
32803 done
32804
32805 ac_configure_extra_args=
32806
32807 if $ac_cs_silent; then
32808   exec 6>/dev/null
32809   ac_configure_extra_args="$ac_configure_extra_args --silent"
32810 fi
32811
32812 _ACEOF
32813 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32814 if \$ac_cs_recheck; then
32815   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
32816   shift
32817   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
32818   CONFIG_SHELL='$SHELL'
32819   export CONFIG_SHELL
32820   exec "\$@"
32821 fi
32822
32823 _ACEOF
32824 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32825 exec 5>>config.log
32826 {
32827   echo
32828   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
32829 ## Running $as_me. ##
32830 _ASBOX
32831   $as_echo "$ac_log"
32832 } >&5
32833
32834 _ACEOF
32835 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32836 #
32837 # INIT-COMMANDS
32838 #
32839 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
32840
32841
32842 # The HP-UX ksh and POSIX shell print the target directory to stdout
32843 # if CDPATH is set.
32844 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
32845
32846 sed_quote_subst='$sed_quote_subst'
32847 double_quote_subst='$double_quote_subst'
32848 delay_variable_subst='$delay_variable_subst'
32849 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
32850 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
32851 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
32852 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
32853 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
32854 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
32855 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
32856 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
32857 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
32858 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
32859 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
32860 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
32861 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
32862 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
32863 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
32864 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
32865 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
32866 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
32867 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
32868 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
32869 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
32870 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
32871 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
32872 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
32873 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
32874 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
32875 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
32876 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
32877 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
32878 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
32879 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
32880 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
32881 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
32882 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
32883 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
32884 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
32885 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
32886 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
32887 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
32888 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
32889 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
32890 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
32891 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
32892 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
32893 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
32894 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
32895 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
32896 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
32897 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
32898 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
32899 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
32900 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
32901 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
32902 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
32903 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
32904 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
32905 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
32906 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"`'
32907 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
32908 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
32909 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
32910 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
32911 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
32912 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
32913 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
32914 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
32915 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
32916 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
32917 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
32918 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
32919 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
32920 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
32921 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
32922 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
32923 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
32924 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
32925 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
32926 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
32927 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
32928 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
32929 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
32930 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
32931 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
32932 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
32933 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
32934 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
32935 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
32936 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
32937 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
32938 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
32939 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
32940 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
32941 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
32942 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
32943 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
32944 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
32945 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
32946 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
32947 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
32948 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
32949 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
32950 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
32951 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
32952 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
32953 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
32954 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
32955 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
32956 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
32957 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
32958 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
32959 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
32960 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
32961 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
32962 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
32963 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
32964 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
32965 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
32966 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
32967 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
32968 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
32969 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
32970 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
32971 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
32972 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
32973 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
32974 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
32975 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
32976 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
32977 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
32978 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
32979 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
32980 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
32981 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
32982 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
32983 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
32984 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
32985 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
32986 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
32987 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
32988 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
32989 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
32990 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
32991 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
32992 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
32993 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
32994 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
32995 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
32996 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
32997 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
32998 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
32999 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
33000 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
33001 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
33002 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
33003 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
33004 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
33005 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
33006 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
33007 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
33008 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
33009 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
33010 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
33011 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
33012 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
33013 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
33014 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
33015 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
33016 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
33017 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
33018 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
33019 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
33020 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
33021 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
33022 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
33023 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
33024 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
33025 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
33026 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
33027 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
33028 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
33029 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
33030 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
33031 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
33032 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
33033 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
33034
33035 LTCC='$LTCC'
33036 LTCFLAGS='$LTCFLAGS'
33037 compiler='$compiler_DEFAULT'
33038
33039 # A function that is used when there is no print builtin or printf.
33040 func_fallback_echo ()
33041 {
33042   eval 'cat <<_LTECHO_EOF
33043 \$1
33044 _LTECHO_EOF'
33045 }
33046
33047 # Quote evaled strings.
33048 for var in AS \
33049 DLLTOOL \
33050 OBJDUMP \
33051 SHELL \
33052 ECHO \
33053 PATH_SEPARATOR \
33054 SED \
33055 GREP \
33056 EGREP \
33057 FGREP \
33058 LD \
33059 NM \
33060 LN_S \
33061 lt_SP2NL \
33062 lt_NL2SP \
33063 reload_flag \
33064 deplibs_check_method \
33065 file_magic_cmd \
33066 file_magic_glob \
33067 want_nocaseglob \
33068 sharedlib_from_linklib_cmd \
33069 AR \
33070 AR_FLAGS \
33071 archiver_list_spec \
33072 STRIP \
33073 RANLIB \
33074 CC \
33075 CFLAGS \
33076 compiler \
33077 lt_cv_sys_global_symbol_pipe \
33078 lt_cv_sys_global_symbol_to_cdecl \
33079 lt_cv_sys_global_symbol_to_c_name_address \
33080 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
33081 nm_file_list_spec \
33082 lt_prog_compiler_no_builtin_flag \
33083 lt_prog_compiler_pic \
33084 lt_prog_compiler_wl \
33085 lt_prog_compiler_static \
33086 lt_cv_prog_compiler_c_o \
33087 need_locks \
33088 MANIFEST_TOOL \
33089 DSYMUTIL \
33090 NMEDIT \
33091 LIPO \
33092 OTOOL \
33093 OTOOL64 \
33094 shrext_cmds \
33095 export_dynamic_flag_spec \
33096 whole_archive_flag_spec \
33097 compiler_needs_object \
33098 with_gnu_ld \
33099 allow_undefined_flag \
33100 no_undefined_flag \
33101 hardcode_libdir_flag_spec \
33102 hardcode_libdir_separator \
33103 exclude_expsyms \
33104 include_expsyms \
33105 file_list_spec \
33106 variables_saved_for_relink \
33107 libname_spec \
33108 library_names_spec \
33109 soname_spec \
33110 install_override_mode \
33111 finish_eval \
33112 old_striplib \
33113 striplib \
33114 compiler_lib_search_dirs \
33115 predep_objects \
33116 postdep_objects \
33117 predeps \
33118 postdeps \
33119 compiler_lib_search_path \
33120 LD_CXX \
33121 reload_flag_CXX \
33122 compiler_CXX \
33123 lt_prog_compiler_no_builtin_flag_CXX \
33124 lt_prog_compiler_pic_CXX \
33125 lt_prog_compiler_wl_CXX \
33126 lt_prog_compiler_static_CXX \
33127 lt_cv_prog_compiler_c_o_CXX \
33128 export_dynamic_flag_spec_CXX \
33129 whole_archive_flag_spec_CXX \
33130 compiler_needs_object_CXX \
33131 with_gnu_ld_CXX \
33132 allow_undefined_flag_CXX \
33133 no_undefined_flag_CXX \
33134 hardcode_libdir_flag_spec_CXX \
33135 hardcode_libdir_separator_CXX \
33136 exclude_expsyms_CXX \
33137 include_expsyms_CXX \
33138 file_list_spec_CXX \
33139 compiler_lib_search_dirs_CXX \
33140 predep_objects_CXX \
33141 postdep_objects_CXX \
33142 predeps_CXX \
33143 postdeps_CXX \
33144 compiler_lib_search_path_CXX; do
33145     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
33146     *[\\\\\\\`\\"\\\$]*)
33147       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
33148       ;;
33149     *)
33150       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
33151       ;;
33152     esac
33153 done
33154
33155 # Double-quote double-evaled strings.
33156 for var in reload_cmds \
33157 old_postinstall_cmds \
33158 old_postuninstall_cmds \
33159 old_archive_cmds \
33160 extract_expsyms_cmds \
33161 old_archive_from_new_cmds \
33162 old_archive_from_expsyms_cmds \
33163 archive_cmds \
33164 archive_expsym_cmds \
33165 module_cmds \
33166 module_expsym_cmds \
33167 export_symbols_cmds \
33168 prelink_cmds \
33169 postlink_cmds \
33170 postinstall_cmds \
33171 postuninstall_cmds \
33172 finish_cmds \
33173 sys_lib_search_path_spec \
33174 sys_lib_dlsearch_path_spec \
33175 reload_cmds_CXX \
33176 old_archive_cmds_CXX \
33177 old_archive_from_new_cmds_CXX \
33178 old_archive_from_expsyms_cmds_CXX \
33179 archive_cmds_CXX \
33180 archive_expsym_cmds_CXX \
33181 module_cmds_CXX \
33182 module_expsym_cmds_CXX \
33183 export_symbols_cmds_CXX \
33184 prelink_cmds_CXX \
33185 postlink_cmds_CXX; do
33186     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
33187     *[\\\\\\\`\\"\\\$]*)
33188       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
33189       ;;
33190     *)
33191       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
33192       ;;
33193     esac
33194 done
33195
33196 ac_aux_dir='$ac_aux_dir'
33197 xsi_shell='$xsi_shell'
33198 lt_shell_append='$lt_shell_append'
33199
33200 # See if we are running on zsh, and set the options which allow our
33201 # commands through without removal of \ escapes INIT.
33202 if test -n "\${ZSH_VERSION+set}" ; then
33203    setopt NO_GLOB_SUBST
33204 fi
33205
33206
33207     PACKAGE='$PACKAGE'
33208     VERSION='$VERSION'
33209     TIMESTAMP='$TIMESTAMP'
33210     RM='$RM'
33211     ofile='$ofile'
33212
33213
33214
33215
33216
33217 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
33218     # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
33219     # from automake < 1.5.
33220     eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
33221     # Capture the value of LINGUAS because we need it to compute CATALOGS.
33222     LINGUAS="${LINGUAS-%UNSET%}"
33223
33224 # variables for create stdint.h replacement
33225 PACKAGE="$PACKAGE"
33226 VERSION="$VERSION"
33227 ac_stdint_h="$ac_stdint_h"
33228 _ac_stdint_h=`$as_echo "_$PACKAGE-$ac_stdint_h" | $as_tr_cpp`
33229 ac_cv_stdint_message="$ac_cv_stdint_message"
33230 ac_cv_header_stdint_t="$ac_cv_header_stdint_t"
33231 ac_cv_header_stdint_x="$ac_cv_header_stdint_x"
33232 ac_cv_header_stdint_o="$ac_cv_header_stdint_o"
33233 ac_cv_header_stdint_u="$ac_cv_header_stdint_u"
33234 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
33235 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
33236 ac_cv_char_data_model="$ac_cv_char_data_model"
33237 ac_cv_long_data_model="$ac_cv_long_data_model"
33238 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
33239 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
33240 ac_cv_type_intmax_t="$ac_cv_type_intmax_t"
33241
33242
33243 _ACEOF
33244
33245 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
33246
33247 # Handling of arguments.
33248 for ac_config_target in $ac_config_targets
33249 do
33250   case $ac_config_target in
33251     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
33252     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
33253     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
33254     "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
33255     "$ac_stdint_h") CONFIG_COMMANDS="$CONFIG_COMMANDS $ac_stdint_h" ;;
33256     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
33257     "gst-plugins-base.spec") CONFIG_FILES="$CONFIG_FILES gst-plugins-base.spec" ;;
33258     "gst/Makefile") CONFIG_FILES="$CONFIG_FILES gst/Makefile" ;;
33259     "gst/adder/Makefile") CONFIG_FILES="$CONFIG_FILES gst/adder/Makefile" ;;
33260     "gst/app/Makefile") CONFIG_FILES="$CONFIG_FILES gst/app/Makefile" ;;
33261     "gst/audioconvert/Makefile") CONFIG_FILES="$CONFIG_FILES gst/audioconvert/Makefile" ;;
33262     "gst/audiorate/Makefile") CONFIG_FILES="$CONFIG_FILES gst/audiorate/Makefile" ;;
33263     "gst/audiotestsrc/Makefile") CONFIG_FILES="$CONFIG_FILES gst/audiotestsrc/Makefile" ;;
33264     "gst/encoding/Makefile") CONFIG_FILES="$CONFIG_FILES gst/encoding/Makefile" ;;
33265     "gst/ffmpegcolorspace/Makefile") CONFIG_FILES="$CONFIG_FILES gst/ffmpegcolorspace/Makefile" ;;
33266     "gst/gdp/Makefile") CONFIG_FILES="$CONFIG_FILES gst/gdp/Makefile" ;;
33267     "gst/playback/Makefile") CONFIG_FILES="$CONFIG_FILES gst/playback/Makefile" ;;
33268     "gst/audioresample/Makefile") CONFIG_FILES="$CONFIG_FILES gst/audioresample/Makefile" ;;
33269     "gst/subparse/Makefile") CONFIG_FILES="$CONFIG_FILES gst/subparse/Makefile" ;;
33270     "gst/tcp/Makefile") CONFIG_FILES="$CONFIG_FILES gst/tcp/Makefile" ;;
33271     "gst/typefind/Makefile") CONFIG_FILES="$CONFIG_FILES gst/typefind/Makefile" ;;
33272     "gst/videotestsrc/Makefile") CONFIG_FILES="$CONFIG_FILES gst/videotestsrc/Makefile" ;;
33273     "gst/videorate/Makefile") CONFIG_FILES="$CONFIG_FILES gst/videorate/Makefile" ;;
33274     "gst/videoscale/Makefile") CONFIG_FILES="$CONFIG_FILES gst/videoscale/Makefile" ;;
33275     "gst/volume/Makefile") CONFIG_FILES="$CONFIG_FILES gst/volume/Makefile" ;;
33276     "sys/Makefile") CONFIG_FILES="$CONFIG_FILES sys/Makefile" ;;
33277     "sys/ximage/Makefile") CONFIG_FILES="$CONFIG_FILES sys/ximage/Makefile" ;;
33278     "sys/xvimage/Makefile") CONFIG_FILES="$CONFIG_FILES sys/xvimage/Makefile" ;;
33279     "sys/v4l/Makefile") CONFIG_FILES="$CONFIG_FILES sys/v4l/Makefile" ;;
33280     "ext/Makefile") CONFIG_FILES="$CONFIG_FILES ext/Makefile" ;;
33281     "ext/alsa/Makefile") CONFIG_FILES="$CONFIG_FILES ext/alsa/Makefile" ;;
33282     "ext/cdparanoia/Makefile") CONFIG_FILES="$CONFIG_FILES ext/cdparanoia/Makefile" ;;
33283     "ext/gnomevfs/Makefile") CONFIG_FILES="$CONFIG_FILES ext/gnomevfs/Makefile" ;;
33284     "ext/gio/Makefile") CONFIG_FILES="$CONFIG_FILES ext/gio/Makefile" ;;
33285     "ext/libvisual/Makefile") CONFIG_FILES="$CONFIG_FILES ext/libvisual/Makefile" ;;
33286     "ext/ogg/Makefile") CONFIG_FILES="$CONFIG_FILES ext/ogg/Makefile" ;;
33287     "ext/pango/Makefile") CONFIG_FILES="$CONFIG_FILES ext/pango/Makefile" ;;
33288     "ext/theora/Makefile") CONFIG_FILES="$CONFIG_FILES ext/theora/Makefile" ;;
33289     "ext/vorbis/Makefile") CONFIG_FILES="$CONFIG_FILES ext/vorbis/Makefile" ;;
33290     "gst-libs/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/Makefile" ;;
33291     "gst-libs/gst/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/Makefile" ;;
33292     "gst-libs/gst/audio/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/audio/Makefile" ;;
33293     "gst-libs/gst/app/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/app/Makefile" ;;
33294     "gst-libs/gst/cdda/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/cdda/Makefile" ;;
33295     "gst-libs/gst/fft/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/fft/Makefile" ;;
33296     "gst-libs/gst/floatcast/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/floatcast/Makefile" ;;
33297     "gst-libs/gst/interfaces/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/interfaces/Makefile" ;;
33298     "gst-libs/gst/netbuffer/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/netbuffer/Makefile" ;;
33299     "gst-libs/gst/riff/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/riff/Makefile" ;;
33300     "gst-libs/gst/rtp/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/rtp/Makefile" ;;
33301     "gst-libs/gst/rtsp/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/rtsp/Makefile" ;;
33302     "gst-libs/gst/sdp/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/sdp/Makefile" ;;
33303     "gst-libs/gst/tag/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/tag/Makefile" ;;
33304     "gst-libs/gst/pbutils/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/pbutils/Makefile" ;;
33305     "gst-libs/gst/pbutils/gstpluginsbaseversion.h") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/pbutils/gstpluginsbaseversion.h" ;;
33306     "gst-libs/gst/video/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/video/Makefile" ;;
33307     "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
33308     "pkgconfig/Makefile") CONFIG_FILES="$CONFIG_FILES pkgconfig/Makefile" ;;
33309     "pkgconfig/gstreamer-audio.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-audio.pc" ;;
33310     "pkgconfig/gstreamer-audio-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-audio-uninstalled.pc" ;;
33311     "pkgconfig/gstreamer-app.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-app.pc" ;;
33312     "pkgconfig/gstreamer-app-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-app-uninstalled.pc" ;;
33313     "pkgconfig/gstreamer-cdda.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-cdda.pc" ;;
33314     "pkgconfig/gstreamer-cdda-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-cdda-uninstalled.pc" ;;
33315     "pkgconfig/gstreamer-fft.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-fft.pc" ;;
33316     "pkgconfig/gstreamer-fft-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-fft-uninstalled.pc" ;;
33317     "pkgconfig/gstreamer-floatcast.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-floatcast.pc" ;;
33318     "pkgconfig/gstreamer-floatcast-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-floatcast-uninstalled.pc" ;;
33319     "pkgconfig/gstreamer-interfaces.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-interfaces.pc" ;;
33320     "pkgconfig/gstreamer-interfaces-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-interfaces-uninstalled.pc" ;;
33321     "pkgconfig/gstreamer-netbuffer.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-netbuffer.pc" ;;
33322     "pkgconfig/gstreamer-netbuffer-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-netbuffer-uninstalled.pc" ;;
33323     "pkgconfig/gstreamer-pbutils.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-pbutils.pc" ;;
33324     "pkgconfig/gstreamer-pbutils-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-pbutils-uninstalled.pc" ;;
33325     "pkgconfig/gstreamer-riff.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-riff.pc" ;;
33326     "pkgconfig/gstreamer-riff-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-riff-uninstalled.pc" ;;
33327     "pkgconfig/gstreamer-rtp.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-rtp.pc" ;;
33328     "pkgconfig/gstreamer-rtp-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-rtp-uninstalled.pc" ;;
33329     "pkgconfig/gstreamer-rtsp.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-rtsp.pc" ;;
33330     "pkgconfig/gstreamer-rtsp-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-rtsp-uninstalled.pc" ;;
33331     "pkgconfig/gstreamer-sdp.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-sdp.pc" ;;
33332     "pkgconfig/gstreamer-sdp-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-sdp-uninstalled.pc" ;;
33333     "pkgconfig/gstreamer-tag.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-tag.pc" ;;
33334     "pkgconfig/gstreamer-tag-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-tag-uninstalled.pc" ;;
33335     "pkgconfig/gstreamer-video.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-video.pc" ;;
33336     "pkgconfig/gstreamer-video-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-video-uninstalled.pc" ;;
33337     "pkgconfig/gstreamer-plugins-base.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-plugins-base.pc" ;;
33338     "pkgconfig/gstreamer-plugins-base-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-plugins-base-uninstalled.pc" ;;
33339     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
33340     "tests/check/Makefile") CONFIG_FILES="$CONFIG_FILES tests/check/Makefile" ;;
33341     "tests/examples/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/Makefile" ;;
33342     "tests/examples/app/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/app/Makefile" ;;
33343     "tests/examples/audio/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/audio/Makefile" ;;
33344     "tests/examples/dynamic/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/dynamic/Makefile" ;;
33345     "tests/examples/encoding/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/encoding/Makefile" ;;
33346     "tests/examples/fft/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/fft/Makefile" ;;
33347     "tests/examples/gio/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/gio/Makefile" ;;
33348     "tests/examples/overlay/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/overlay/Makefile" ;;
33349     "tests/examples/seek/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/seek/Makefile" ;;
33350     "tests/examples/snapshot/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/snapshot/Makefile" ;;
33351     "tests/examples/playrec/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/playrec/Makefile" ;;
33352     "tests/examples/v4l/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/v4l/Makefile" ;;
33353     "tests/files/Makefile") CONFIG_FILES="$CONFIG_FILES tests/files/Makefile" ;;
33354     "tests/icles/Makefile") CONFIG_FILES="$CONFIG_FILES tests/icles/Makefile" ;;
33355     "tests/icles/playback/Makefile") CONFIG_FILES="$CONFIG_FILES tests/icles/playback/Makefile" ;;
33356     "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
33357     "docs/design/Makefile") CONFIG_FILES="$CONFIG_FILES docs/design/Makefile" ;;
33358     "docs/libs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/libs/Makefile" ;;
33359     "docs/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES docs/plugins/Makefile" ;;
33360     "docs/version.entities") CONFIG_FILES="$CONFIG_FILES docs/version.entities" ;;
33361     "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
33362     "common/Makefile") CONFIG_FILES="$CONFIG_FILES common/Makefile" ;;
33363     "common/m4/Makefile") CONFIG_FILES="$CONFIG_FILES common/m4/Makefile" ;;
33364     "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
33365
33366   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
33367   esac
33368 done
33369
33370
33371 # If the user did not use the arguments to specify the items to instantiate,
33372 # then the envvar interface is used.  Set only those that are not.
33373 # We use the long form for the default assignment because of an extremely
33374 # bizarre bug on SunOS 4.1.3.
33375 if $ac_need_defaults; then
33376   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
33377   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
33378   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
33379 fi
33380
33381 # Have a temporary directory for convenience.  Make it in the build tree
33382 # simply because there is no reason against having it here, and in addition,
33383 # creating and moving files from /tmp can sometimes cause problems.
33384 # Hook for its removal unless debugging.
33385 # Note that there is a small window in which the directory will not be cleaned:
33386 # after its creation but before its name has been assigned to `$tmp'.
33387 $debug ||
33388 {
33389   tmp= ac_tmp=
33390   trap 'exit_status=$?
33391   : "${ac_tmp:=$tmp}"
33392   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
33393 ' 0
33394   trap 'as_fn_exit 1' 1 2 13 15
33395 }
33396 # Create a (secure) tmp directory for tmp files.
33397
33398 {
33399   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
33400   test -d "$tmp"
33401 }  ||
33402 {
33403   tmp=./conf$$-$RANDOM
33404   (umask 077 && mkdir "$tmp")
33405 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
33406 ac_tmp=$tmp
33407
33408 # Set up the scripts for CONFIG_FILES section.
33409 # No need to generate them if there are no CONFIG_FILES.
33410 # This happens for instance with `./config.status config.h'.
33411 if test -n "$CONFIG_FILES"; then
33412
33413
33414 ac_cr=`echo X | tr X '\015'`
33415 # On cygwin, bash can eat \r inside `` if the user requested igncr.
33416 # But we know of no other shell where ac_cr would be empty at this
33417 # point, so we can use a bashism as a fallback.
33418 if test "x$ac_cr" = x; then
33419   eval ac_cr=\$\'\\r\'
33420 fi
33421 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
33422 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
33423   ac_cs_awk_cr='\\r'
33424 else
33425   ac_cs_awk_cr=$ac_cr
33426 fi
33427
33428 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
33429 _ACEOF
33430
33431
33432 {
33433   echo "cat >conf$$subs.awk <<_ACEOF" &&
33434   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
33435   echo "_ACEOF"
33436 } >conf$$subs.sh ||
33437   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
33438 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
33439 ac_delim='%!_!# '
33440 for ac_last_try in false false false false false :; do
33441   . ./conf$$subs.sh ||
33442     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
33443
33444   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
33445   if test $ac_delim_n = $ac_delim_num; then
33446     break
33447   elif $ac_last_try; then
33448     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
33449   else
33450     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
33451   fi
33452 done
33453 rm -f conf$$subs.sh
33454
33455 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
33456 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
33457 _ACEOF
33458 sed -n '
33459 h
33460 s/^/S["/; s/!.*/"]=/
33461 p
33462 g
33463 s/^[^!]*!//
33464 :repl
33465 t repl
33466 s/'"$ac_delim"'$//
33467 t delim
33468 :nl
33469 h
33470 s/\(.\{148\}\)..*/\1/
33471 t more1
33472 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
33473 p
33474 n
33475 b repl
33476 :more1
33477 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
33478 p
33479 g
33480 s/.\{148\}//
33481 t nl
33482 :delim
33483 h
33484 s/\(.\{148\}\)..*/\1/
33485 t more2
33486 s/["\\]/\\&/g; s/^/"/; s/$/"/
33487 p
33488 b
33489 :more2
33490 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
33491 p
33492 g
33493 s/.\{148\}//
33494 t delim
33495 ' <conf$$subs.awk | sed '
33496 /^[^""]/{
33497   N
33498   s/\n//
33499 }
33500 ' >>$CONFIG_STATUS || ac_write_fail=1
33501 rm -f conf$$subs.awk
33502 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
33503 _ACAWK
33504 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
33505   for (key in S) S_is_set[key] = 1
33506   FS = "\a"
33507
33508 }
33509 {
33510   line = $ 0
33511   nfields = split(line, field, "@")
33512   substed = 0
33513   len = length(field[1])
33514   for (i = 2; i < nfields; i++) {
33515     key = field[i]
33516     keylen = length(key)
33517     if (S_is_set[key]) {
33518       value = S[key]
33519       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
33520       len += length(value) + length(field[++i])
33521       substed = 1
33522     } else
33523       len += 1 + keylen
33524   }
33525
33526   print line
33527 }
33528
33529 _ACAWK
33530 _ACEOF
33531 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
33532 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
33533   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
33534 else
33535   cat
33536 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
33537   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
33538 _ACEOF
33539
33540 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
33541 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
33542 # trailing colons and then remove the whole line if VPATH becomes empty
33543 # (actually we leave an empty line to preserve line numbers).
33544 if test "x$srcdir" = x.; then
33545   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
33546 h
33547 s///
33548 s/^/:/
33549 s/[      ]*$/:/
33550 s/:\$(srcdir):/:/g
33551 s/:\${srcdir}:/:/g
33552 s/:@srcdir@:/:/g
33553 s/^:*//
33554 s/:*$//
33555 x
33556 s/\(=[   ]*\).*/\1/
33557 G
33558 s/\n//
33559 s/^[^=]*=[       ]*$//
33560 }'
33561 fi
33562
33563 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
33564 fi # test -n "$CONFIG_FILES"
33565
33566 # Set up the scripts for CONFIG_HEADERS section.
33567 # No need to generate them if there are no CONFIG_HEADERS.
33568 # This happens for instance with `./config.status Makefile'.
33569 if test -n "$CONFIG_HEADERS"; then
33570 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
33571 BEGIN {
33572 _ACEOF
33573
33574 # Transform confdefs.h into an awk script `defines.awk', embedded as
33575 # here-document in config.status, that substitutes the proper values into
33576 # config.h.in to produce config.h.
33577
33578 # Create a delimiter string that does not exist in confdefs.h, to ease
33579 # handling of long lines.
33580 ac_delim='%!_!# '
33581 for ac_last_try in false false :; do
33582   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
33583   if test -z "$ac_tt"; then
33584     break
33585   elif $ac_last_try; then
33586     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
33587   else
33588     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
33589   fi
33590 done
33591
33592 # For the awk script, D is an array of macro values keyed by name,
33593 # likewise P contains macro parameters if any.  Preserve backslash
33594 # newline sequences.
33595
33596 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
33597 sed -n '
33598 s/.\{148\}/&'"$ac_delim"'/g
33599 t rset
33600 :rset
33601 s/^[     ]*#[    ]*define[       ][      ]*/ /
33602 t def
33603 d
33604 :def
33605 s/\\$//
33606 t bsnl
33607 s/["\\]/\\&/g
33608 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
33609 D["\1"]=" \3"/p
33610 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
33611 d
33612 :bsnl
33613 s/["\\]/\\&/g
33614 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
33615 D["\1"]=" \3\\\\\\n"\\/p
33616 t cont
33617 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
33618 t cont
33619 d
33620 :cont
33621 n
33622 s/.\{148\}/&'"$ac_delim"'/g
33623 t clear
33624 :clear
33625 s/\\$//
33626 t bsnlc
33627 s/["\\]/\\&/g; s/^/"/; s/$/"/p
33628 d
33629 :bsnlc
33630 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
33631 b cont
33632 ' <confdefs.h | sed '
33633 s/'"$ac_delim"'/"\\\
33634 "/g' >>$CONFIG_STATUS || ac_write_fail=1
33635
33636 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
33637   for (key in D) D_is_set[key] = 1
33638   FS = "\a"
33639 }
33640 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
33641   line = \$ 0
33642   split(line, arg, " ")
33643   if (arg[1] == "#") {
33644     defundef = arg[2]
33645     mac1 = arg[3]
33646   } else {
33647     defundef = substr(arg[1], 2)
33648     mac1 = arg[2]
33649   }
33650   split(mac1, mac2, "(") #)
33651   macro = mac2[1]
33652   prefix = substr(line, 1, index(line, defundef) - 1)
33653   if (D_is_set[macro]) {
33654     # Preserve the white space surrounding the "#".
33655     print prefix "define", macro P[macro] D[macro]
33656     next
33657   } else {
33658     # Replace #undef with comments.  This is necessary, for example,
33659     # in the case of _POSIX_SOURCE, which is predefined and required
33660     # on some systems where configure will not decide to define it.
33661     if (defundef == "undef") {
33662       print "/*", prefix defundef, macro, "*/"
33663       next
33664     }
33665   }
33666 }
33667 { print }
33668 _ACAWK
33669 _ACEOF
33670 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
33671   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
33672 fi # test -n "$CONFIG_HEADERS"
33673
33674
33675 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
33676 shift
33677 for ac_tag
33678 do
33679   case $ac_tag in
33680   :[FHLC]) ac_mode=$ac_tag; continue;;
33681   esac
33682   case $ac_mode$ac_tag in
33683   :[FHL]*:*);;
33684   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
33685   :[FH]-) ac_tag=-:-;;
33686   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
33687   esac
33688   ac_save_IFS=$IFS
33689   IFS=:
33690   set x $ac_tag
33691   IFS=$ac_save_IFS
33692   shift
33693   ac_file=$1
33694   shift
33695
33696   case $ac_mode in
33697   :L) ac_source=$1;;
33698   :[FH])
33699     ac_file_inputs=
33700     for ac_f
33701     do
33702       case $ac_f in
33703       -) ac_f="$ac_tmp/stdin";;
33704       *) # Look for the file first in the build tree, then in the source tree
33705          # (if the path is not absolute).  The absolute path cannot be DOS-style,
33706          # because $ac_f cannot contain `:'.
33707          test -f "$ac_f" ||
33708            case $ac_f in
33709            [\\/$]*) false;;
33710            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
33711            esac ||
33712            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
33713       esac
33714       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
33715       as_fn_append ac_file_inputs " '$ac_f'"
33716     done
33717
33718     # Let's still pretend it is `configure' which instantiates (i.e., don't
33719     # use $as_me), people would be surprised to read:
33720     #    /* config.h.  Generated by config.status.  */
33721     configure_input='Generated from '`
33722           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
33723         `' by configure.'
33724     if test x"$ac_file" != x-; then
33725       configure_input="$ac_file.  $configure_input"
33726       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
33727 $as_echo "$as_me: creating $ac_file" >&6;}
33728     fi
33729     # Neutralize special characters interpreted by sed in replacement strings.
33730     case $configure_input in #(
33731     *\&* | *\|* | *\\* )
33732        ac_sed_conf_input=`$as_echo "$configure_input" |
33733        sed 's/[\\\\&|]/\\\\&/g'`;; #(
33734     *) ac_sed_conf_input=$configure_input;;
33735     esac
33736
33737     case $ac_tag in
33738     *:-:* | *:-) cat >"$ac_tmp/stdin" \
33739       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
33740     esac
33741     ;;
33742   esac
33743
33744   ac_dir=`$as_dirname -- "$ac_file" ||
33745 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33746          X"$ac_file" : 'X\(//\)[^/]' \| \
33747          X"$ac_file" : 'X\(//\)$' \| \
33748          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
33749 $as_echo X"$ac_file" |
33750     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
33751             s//\1/
33752             q
33753           }
33754           /^X\(\/\/\)[^/].*/{
33755             s//\1/
33756             q
33757           }
33758           /^X\(\/\/\)$/{
33759             s//\1/
33760             q
33761           }
33762           /^X\(\/\).*/{
33763             s//\1/
33764             q
33765           }
33766           s/.*/./; q'`
33767   as_dir="$ac_dir"; as_fn_mkdir_p
33768   ac_builddir=.
33769
33770 case "$ac_dir" in
33771 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
33772 *)
33773   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
33774   # A ".." for each directory in $ac_dir_suffix.
33775   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
33776   case $ac_top_builddir_sub in
33777   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
33778   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
33779   esac ;;
33780 esac
33781 ac_abs_top_builddir=$ac_pwd
33782 ac_abs_builddir=$ac_pwd$ac_dir_suffix
33783 # for backward compatibility:
33784 ac_top_builddir=$ac_top_build_prefix
33785
33786 case $srcdir in
33787   .)  # We are building in place.
33788     ac_srcdir=.
33789     ac_top_srcdir=$ac_top_builddir_sub
33790     ac_abs_top_srcdir=$ac_pwd ;;
33791   [\\/]* | ?:[\\/]* )  # Absolute name.
33792     ac_srcdir=$srcdir$ac_dir_suffix;
33793     ac_top_srcdir=$srcdir
33794     ac_abs_top_srcdir=$srcdir ;;
33795   *) # Relative name.
33796     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
33797     ac_top_srcdir=$ac_top_build_prefix$srcdir
33798     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
33799 esac
33800 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
33801
33802
33803   case $ac_mode in
33804   :F)
33805   #
33806   # CONFIG_FILE
33807   #
33808
33809   case $INSTALL in
33810   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
33811   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
33812   esac
33813   ac_MKDIR_P=$MKDIR_P
33814   case $MKDIR_P in
33815   [\\/$]* | ?:[\\/]* ) ;;
33816   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
33817   esac
33818 _ACEOF
33819
33820 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
33821 # If the template does not know about datarootdir, expand it.
33822 # FIXME: This hack should be removed a few years after 2.60.
33823 ac_datarootdir_hack=; ac_datarootdir_seen=
33824 ac_sed_dataroot='
33825 /datarootdir/ {
33826   p
33827   q
33828 }
33829 /@datadir@/p
33830 /@docdir@/p
33831 /@infodir@/p
33832 /@localedir@/p
33833 /@mandir@/p'
33834 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
33835 *datarootdir*) ac_datarootdir_seen=yes;;
33836 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
33837   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
33838 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
33839 _ACEOF
33840 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
33841   ac_datarootdir_hack='
33842   s&@datadir@&$datadir&g
33843   s&@docdir@&$docdir&g
33844   s&@infodir@&$infodir&g
33845   s&@localedir@&$localedir&g
33846   s&@mandir@&$mandir&g
33847   s&\\\${datarootdir}&$datarootdir&g' ;;
33848 esac
33849 _ACEOF
33850
33851 # Neutralize VPATH when `$srcdir' = `.'.
33852 # Shell code in configure.ac might set extrasub.
33853 # FIXME: do we really want to maintain this feature?
33854 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
33855 ac_sed_extra="$ac_vpsub
33856 $extrasub
33857 _ACEOF
33858 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
33859 :t
33860 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
33861 s|@configure_input@|$ac_sed_conf_input|;t t
33862 s&@top_builddir@&$ac_top_builddir_sub&;t t
33863 s&@top_build_prefix@&$ac_top_build_prefix&;t t
33864 s&@srcdir@&$ac_srcdir&;t t
33865 s&@abs_srcdir@&$ac_abs_srcdir&;t t
33866 s&@top_srcdir@&$ac_top_srcdir&;t t
33867 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
33868 s&@builddir@&$ac_builddir&;t t
33869 s&@abs_builddir@&$ac_abs_builddir&;t t
33870 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
33871 s&@INSTALL@&$ac_INSTALL&;t t
33872 s&@MKDIR_P@&$ac_MKDIR_P&;t t
33873 $ac_datarootdir_hack
33874 "
33875 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
33876   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33877
33878 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
33879   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
33880   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
33881       "$ac_tmp/out"`; test -z "$ac_out"; } &&
33882   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
33883 which seems to be undefined.  Please make sure it is defined" >&5
33884 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
33885 which seems to be undefined.  Please make sure it is defined" >&2;}
33886
33887   rm -f "$ac_tmp/stdin"
33888   case $ac_file in
33889   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
33890   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
33891   esac \
33892   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33893  ;;
33894   :H)
33895   #
33896   # CONFIG_HEADER
33897   #
33898   if test x"$ac_file" != x-; then
33899     {
33900       $as_echo "/* $configure_input  */" \
33901       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
33902     } >"$ac_tmp/config.h" \
33903       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33904     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
33905       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
33906 $as_echo "$as_me: $ac_file is unchanged" >&6;}
33907     else
33908       rm -f "$ac_file"
33909       mv "$ac_tmp/config.h" "$ac_file" \
33910         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33911     fi
33912   else
33913     $as_echo "/* $configure_input  */" \
33914       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
33915       || as_fn_error $? "could not create -" "$LINENO" 5
33916   fi
33917 # Compute "$ac_file"'s index in $config_headers.
33918 _am_arg="$ac_file"
33919 _am_stamp_count=1
33920 for _am_header in $config_headers :; do
33921   case $_am_header in
33922     $_am_arg | $_am_arg:* )
33923       break ;;
33924     * )
33925       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
33926   esac
33927 done
33928 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
33929 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33930          X"$_am_arg" : 'X\(//\)[^/]' \| \
33931          X"$_am_arg" : 'X\(//\)$' \| \
33932          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
33933 $as_echo X"$_am_arg" |
33934     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
33935             s//\1/
33936             q
33937           }
33938           /^X\(\/\/\)[^/].*/{
33939             s//\1/
33940             q
33941           }
33942           /^X\(\/\/\)$/{
33943             s//\1/
33944             q
33945           }
33946           /^X\(\/\).*/{
33947             s//\1/
33948             q
33949           }
33950           s/.*/./; q'`/stamp-h$_am_stamp_count
33951  ;;
33952
33953   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
33954 $as_echo "$as_me: executing $ac_file commands" >&6;}
33955  ;;
33956   esac
33957
33958
33959   case $ac_file$ac_mode in
33960     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
33961   # Autoconf 2.62 quotes --file arguments for eval, but not when files
33962   # are listed without --file.  Let's play safe and only enable the eval
33963   # if we detect the quoting.
33964   case $CONFIG_FILES in
33965   *\'*) eval set x "$CONFIG_FILES" ;;
33966   *)   set x $CONFIG_FILES ;;
33967   esac
33968   shift
33969   for mf
33970   do
33971     # Strip MF so we end up with the name of the file.
33972     mf=`echo "$mf" | sed -e 's/:.*$//'`
33973     # Check whether this is an Automake generated Makefile or not.
33974     # We used to match only the files named `Makefile.in', but
33975     # some people rename them; so instead we look at the file content.
33976     # Grep'ing the first line is not enough: some people post-process
33977     # each Makefile.in and add a new line on top of each file to say so.
33978     # Grep'ing the whole file is not good either: AIX grep has a line
33979     # limit of 2048, but all sed's we know have understand at least 4000.
33980     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
33981       dirpart=`$as_dirname -- "$mf" ||
33982 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33983          X"$mf" : 'X\(//\)[^/]' \| \
33984          X"$mf" : 'X\(//\)$' \| \
33985          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
33986 $as_echo X"$mf" |
33987     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
33988             s//\1/
33989             q
33990           }
33991           /^X\(\/\/\)[^/].*/{
33992             s//\1/
33993             q
33994           }
33995           /^X\(\/\/\)$/{
33996             s//\1/
33997             q
33998           }
33999           /^X\(\/\).*/{
34000             s//\1/
34001             q
34002           }
34003           s/.*/./; q'`
34004     else
34005       continue
34006     fi
34007     # Extract the definition of DEPDIR, am__include, and am__quote
34008     # from the Makefile without running `make'.
34009     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
34010     test -z "$DEPDIR" && continue
34011     am__include=`sed -n 's/^am__include = //p' < "$mf"`
34012     test -z "am__include" && continue
34013     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
34014     # When using ansi2knr, U may be empty or an underscore; expand it
34015     U=`sed -n 's/^U = //p' < "$mf"`
34016     # Find all dependency output files, they are included files with
34017     # $(DEPDIR) in their names.  We invoke sed twice because it is the
34018     # simplest approach to changing $(DEPDIR) to its actual value in the
34019     # expansion.
34020     for file in `sed -n "
34021       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
34022          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
34023       # Make sure the directory exists.
34024       test -f "$dirpart/$file" && continue
34025       fdir=`$as_dirname -- "$file" ||
34026 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34027          X"$file" : 'X\(//\)[^/]' \| \
34028          X"$file" : 'X\(//\)$' \| \
34029          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
34030 $as_echo X"$file" |
34031     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34032             s//\1/
34033             q
34034           }
34035           /^X\(\/\/\)[^/].*/{
34036             s//\1/
34037             q
34038           }
34039           /^X\(\/\/\)$/{
34040             s//\1/
34041             q
34042           }
34043           /^X\(\/\).*/{
34044             s//\1/
34045             q
34046           }
34047           s/.*/./; q'`
34048       as_dir=$dirpart/$fdir; as_fn_mkdir_p
34049       # echo "creating $dirpart/$file"
34050       echo '# dummy' > "$dirpart/$file"
34051     done
34052   done
34053 }
34054  ;;
34055     "libtool":C)
34056
34057     # See if we are running on zsh, and set the options which allow our
34058     # commands through without removal of \ escapes.
34059     if test -n "${ZSH_VERSION+set}" ; then
34060       setopt NO_GLOB_SUBST
34061     fi
34062
34063     cfgfile="${ofile}T"
34064     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
34065     $RM "$cfgfile"
34066
34067     cat <<_LT_EOF >> "$cfgfile"
34068 #! $SHELL
34069
34070 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
34071 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
34072 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
34073 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
34074 #
34075 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
34076 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
34077 #                 Foundation, Inc.
34078 #   Written by Gordon Matzigkeit, 1996
34079 #
34080 #   This file is part of GNU Libtool.
34081 #
34082 # GNU Libtool is free software; you can redistribute it and/or
34083 # modify it under the terms of the GNU General Public License as
34084 # published by the Free Software Foundation; either version 2 of
34085 # the License, or (at your option) any later version.
34086 #
34087 # As a special exception to the GNU General Public License,
34088 # if you distribute this file as part of a program or library that
34089 # is built using GNU Libtool, you may include this file under the
34090 # same distribution terms that you use for the rest of that program.
34091 #
34092 # GNU Libtool is distributed in the hope that it will be useful,
34093 # but WITHOUT ANY WARRANTY; without even the implied warranty of
34094 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
34095 # GNU General Public License for more details.
34096 #
34097 # You should have received a copy of the GNU General Public License
34098 # along with GNU Libtool; see the file COPYING.  If not, a copy
34099 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
34100 # obtained by writing to the Free Software Foundation, Inc.,
34101 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
34102
34103
34104 # The names of the tagged configurations supported by this script.
34105 available_tags="CXX "
34106
34107 # ### BEGIN LIBTOOL CONFIG
34108
34109 # Assembler program.
34110 AS=$lt_AS
34111
34112 # DLL creation program.
34113 DLLTOOL=$lt_DLLTOOL
34114
34115 # Object dumper program.
34116 OBJDUMP=$lt_OBJDUMP
34117
34118 # Which release of libtool.m4 was used?
34119 macro_version=$macro_version
34120 macro_revision=$macro_revision
34121
34122 # Whether or not to build shared libraries.
34123 build_libtool_libs=$enable_shared
34124
34125 # Whether or not to build static libraries.
34126 build_old_libs=$enable_static
34127
34128 # What type of objects to build.
34129 pic_mode=$pic_mode
34130
34131 # Whether or not to optimize for fast installation.
34132 fast_install=$enable_fast_install
34133
34134 # Shell to use when invoking shell scripts.
34135 SHELL=$lt_SHELL
34136
34137 # An echo program that protects backslashes.
34138 ECHO=$lt_ECHO
34139
34140 # The PATH separator for the build system.
34141 PATH_SEPARATOR=$lt_PATH_SEPARATOR
34142
34143 # The host system.
34144 host_alias=$host_alias
34145 host=$host
34146 host_os=$host_os
34147
34148 # The build system.
34149 build_alias=$build_alias
34150 build=$build
34151 build_os=$build_os
34152
34153 # A sed program that does not truncate output.
34154 SED=$lt_SED
34155
34156 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
34157 Xsed="\$SED -e 1s/^X//"
34158
34159 # A grep program that handles long lines.
34160 GREP=$lt_GREP
34161
34162 # An ERE matcher.
34163 EGREP=$lt_EGREP
34164
34165 # A literal string matcher.
34166 FGREP=$lt_FGREP
34167
34168 # A BSD- or MS-compatible name lister.
34169 NM=$lt_NM
34170
34171 # Whether we need soft or hard links.
34172 LN_S=$lt_LN_S
34173
34174 # What is the maximum length of a command?
34175 max_cmd_len=$max_cmd_len
34176
34177 # Object file suffix (normally "o").
34178 objext=$ac_objext
34179
34180 # Executable file suffix (normally "").
34181 exeext=$exeext
34182
34183 # whether the shell understands "unset".
34184 lt_unset=$lt_unset
34185
34186 # turn spaces into newlines.
34187 SP2NL=$lt_lt_SP2NL
34188
34189 # turn newlines into spaces.
34190 NL2SP=$lt_lt_NL2SP
34191
34192 # convert \$build file names to \$host format.
34193 to_host_file_cmd=$lt_cv_to_host_file_cmd
34194
34195 # convert \$build files to toolchain format.
34196 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
34197
34198 # Method to check whether dependent libraries are shared objects.
34199 deplibs_check_method=$lt_deplibs_check_method
34200
34201 # Command to use when deplibs_check_method = "file_magic".
34202 file_magic_cmd=$lt_file_magic_cmd
34203
34204 # How to find potential files when deplibs_check_method = "file_magic".
34205 file_magic_glob=$lt_file_magic_glob
34206
34207 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
34208 want_nocaseglob=$lt_want_nocaseglob
34209
34210 # Command to associate shared and link libraries.
34211 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
34212
34213 # The archiver.
34214 AR=$lt_AR
34215
34216 # Flags to create an archive.
34217 AR_FLAGS=$lt_AR_FLAGS
34218
34219 # How to feed a file listing to the archiver.
34220 archiver_list_spec=$lt_archiver_list_spec
34221
34222 # A symbol stripping program.
34223 STRIP=$lt_STRIP
34224
34225 # Commands used to install an old-style archive.
34226 RANLIB=$lt_RANLIB
34227 old_postinstall_cmds=$lt_old_postinstall_cmds
34228 old_postuninstall_cmds=$lt_old_postuninstall_cmds
34229
34230 # Whether to use a lock for old archive extraction.
34231 lock_old_archive_extraction=$lock_old_archive_extraction
34232
34233 # A C compiler.
34234 LTCC=$lt_CC
34235
34236 # LTCC compiler flags.
34237 LTCFLAGS=$lt_CFLAGS
34238
34239 # Take the output of nm and produce a listing of raw symbols and C names.
34240 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
34241
34242 # Transform the output of nm in a proper C declaration.
34243 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
34244
34245 # Transform the output of nm in a C name address pair.
34246 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
34247
34248 # Transform the output of nm in a C name address pair when lib prefix is needed.
34249 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
34250
34251 # Specify filename containing input files for \$NM.
34252 nm_file_list_spec=$lt_nm_file_list_spec
34253
34254 # The root where to search for dependent libraries,and in which our libraries should be installed.
34255 lt_sysroot=$lt_sysroot
34256
34257 # The name of the directory that contains temporary libtool files.
34258 objdir=$objdir
34259
34260 # Used to examine libraries when file_magic_cmd begins with "file".
34261 MAGIC_CMD=$MAGIC_CMD
34262
34263 # Must we lock files when doing compilation?
34264 need_locks=$lt_need_locks
34265
34266 # Manifest tool.
34267 MANIFEST_TOOL=$lt_MANIFEST_TOOL
34268
34269 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
34270 DSYMUTIL=$lt_DSYMUTIL
34271
34272 # Tool to change global to local symbols on Mac OS X.
34273 NMEDIT=$lt_NMEDIT
34274
34275 # Tool to manipulate fat objects and archives on Mac OS X.
34276 LIPO=$lt_LIPO
34277
34278 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
34279 OTOOL=$lt_OTOOL
34280
34281 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
34282 OTOOL64=$lt_OTOOL64
34283
34284 # Old archive suffix (normally "a").
34285 libext=$libext
34286
34287 # Shared library suffix (normally ".so").
34288 shrext_cmds=$lt_shrext_cmds
34289
34290 # The commands to extract the exported symbol list from a shared archive.
34291 extract_expsyms_cmds=$lt_extract_expsyms_cmds
34292
34293 # Variables whose values should be saved in libtool wrapper scripts and
34294 # restored at link time.
34295 variables_saved_for_relink=$lt_variables_saved_for_relink
34296
34297 # Do we need the "lib" prefix for modules?
34298 need_lib_prefix=$need_lib_prefix
34299
34300 # Do we need a version for libraries?
34301 need_version=$need_version
34302
34303 # Library versioning type.
34304 version_type=$version_type
34305
34306 # Shared library runtime path variable.
34307 runpath_var=$runpath_var
34308
34309 # Shared library path variable.
34310 shlibpath_var=$shlibpath_var
34311
34312 # Is shlibpath searched before the hard-coded library search path?
34313 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
34314
34315 # Format of library name prefix.
34316 libname_spec=$lt_libname_spec
34317
34318 # List of archive names.  First name is the real one, the rest are links.
34319 # The last name is the one that the linker finds with -lNAME
34320 library_names_spec=$lt_library_names_spec
34321
34322 # The coded name of the library, if different from the real name.
34323 soname_spec=$lt_soname_spec
34324
34325 # Permission mode override for installation of shared libraries.
34326 install_override_mode=$lt_install_override_mode
34327
34328 # Command to use after installation of a shared archive.
34329 postinstall_cmds=$lt_postinstall_cmds
34330
34331 # Command to use after uninstallation of a shared archive.
34332 postuninstall_cmds=$lt_postuninstall_cmds
34333
34334 # Commands used to finish a libtool library installation in a directory.
34335 finish_cmds=$lt_finish_cmds
34336
34337 # As "finish_cmds", except a single script fragment to be evaled but
34338 # not shown.
34339 finish_eval=$lt_finish_eval
34340
34341 # Whether we should hardcode library paths into libraries.
34342 hardcode_into_libs=$hardcode_into_libs
34343
34344 # Compile-time system search path for libraries.
34345 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
34346
34347 # Run-time system search path for libraries.
34348 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
34349
34350 # Whether dlopen is supported.
34351 dlopen_support=$enable_dlopen
34352
34353 # Whether dlopen of programs is supported.
34354 dlopen_self=$enable_dlopen_self
34355
34356 # Whether dlopen of statically linked programs is supported.
34357 dlopen_self_static=$enable_dlopen_self_static
34358
34359 # Commands to strip libraries.
34360 old_striplib=$lt_old_striplib
34361 striplib=$lt_striplib
34362
34363
34364 # The linker used to build libraries.
34365 LD=$lt_LD
34366
34367 # How to create reloadable object files.
34368 reload_flag=$lt_reload_flag
34369 reload_cmds=$lt_reload_cmds
34370
34371 # Commands used to build an old-style archive.
34372 old_archive_cmds=$lt_old_archive_cmds
34373
34374 # A language specific compiler.
34375 CC=$lt_compiler
34376
34377 # Is the compiler the GNU compiler?
34378 with_gcc=$GCC
34379
34380 # Compiler flag to turn off builtin functions.
34381 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
34382
34383 # Additional compiler flags for building library objects.
34384 pic_flag=$lt_lt_prog_compiler_pic
34385
34386 # How to pass a linker flag through the compiler.
34387 wl=$lt_lt_prog_compiler_wl
34388
34389 # Compiler flag to prevent dynamic linking.
34390 link_static_flag=$lt_lt_prog_compiler_static
34391
34392 # Does compiler simultaneously support -c and -o options?
34393 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
34394
34395 # Whether or not to add -lc for building shared libraries.
34396 build_libtool_need_lc=$archive_cmds_need_lc
34397
34398 # Whether or not to disallow shared libs when runtime libs are static.
34399 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
34400
34401 # Compiler flag to allow reflexive dlopens.
34402 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
34403
34404 # Compiler flag to generate shared objects directly from archives.
34405 whole_archive_flag_spec=$lt_whole_archive_flag_spec
34406
34407 # Whether the compiler copes with passing no objects directly.
34408 compiler_needs_object=$lt_compiler_needs_object
34409
34410 # Create an old-style archive from a shared archive.
34411 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
34412
34413 # Create a temporary old-style archive to link instead of a shared archive.
34414 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
34415
34416 # Commands used to build a shared archive.
34417 archive_cmds=$lt_archive_cmds
34418 archive_expsym_cmds=$lt_archive_expsym_cmds
34419
34420 # Commands used to build a loadable module if different from building
34421 # a shared archive.
34422 module_cmds=$lt_module_cmds
34423 module_expsym_cmds=$lt_module_expsym_cmds
34424
34425 # Whether we are building with GNU ld or not.
34426 with_gnu_ld=$lt_with_gnu_ld
34427
34428 # Flag that allows shared libraries with undefined symbols to be built.
34429 allow_undefined_flag=$lt_allow_undefined_flag
34430
34431 # Flag that enforces no undefined symbols.
34432 no_undefined_flag=$lt_no_undefined_flag
34433
34434 # Flag to hardcode \$libdir into a binary during linking.
34435 # This must work even if \$libdir does not exist
34436 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
34437
34438 # Whether we need a single "-rpath" flag with a separated argument.
34439 hardcode_libdir_separator=$lt_hardcode_libdir_separator
34440
34441 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
34442 # DIR into the resulting binary.
34443 hardcode_direct=$hardcode_direct
34444
34445 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
34446 # DIR into the resulting binary and the resulting library dependency is
34447 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
34448 # library is relocated.
34449 hardcode_direct_absolute=$hardcode_direct_absolute
34450
34451 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
34452 # into the resulting binary.
34453 hardcode_minus_L=$hardcode_minus_L
34454
34455 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
34456 # into the resulting binary.
34457 hardcode_shlibpath_var=$hardcode_shlibpath_var
34458
34459 # Set to "yes" if building a shared library automatically hardcodes DIR
34460 # into the library and all subsequent libraries and executables linked
34461 # against it.
34462 hardcode_automatic=$hardcode_automatic
34463
34464 # Set to yes if linker adds runtime paths of dependent libraries
34465 # to runtime path list.
34466 inherit_rpath=$inherit_rpath
34467
34468 # Whether libtool must link a program against all its dependency libraries.
34469 link_all_deplibs=$link_all_deplibs
34470
34471 # Set to "yes" if exported symbols are required.
34472 always_export_symbols=$always_export_symbols
34473
34474 # The commands to list exported symbols.
34475 export_symbols_cmds=$lt_export_symbols_cmds
34476
34477 # Symbols that should not be listed in the preloaded symbols.
34478 exclude_expsyms=$lt_exclude_expsyms
34479
34480 # Symbols that must always be exported.
34481 include_expsyms=$lt_include_expsyms
34482
34483 # Commands necessary for linking programs (against libraries) with templates.
34484 prelink_cmds=$lt_prelink_cmds
34485
34486 # Commands necessary for finishing linking programs.
34487 postlink_cmds=$lt_postlink_cmds
34488
34489 # Specify filename containing input files.
34490 file_list_spec=$lt_file_list_spec
34491
34492 # How to hardcode a shared library path into an executable.
34493 hardcode_action=$hardcode_action
34494
34495 # The directories searched by this compiler when creating a shared library.
34496 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
34497
34498 # Dependencies to place before and after the objects being linked to
34499 # create a shared library.
34500 predep_objects=$lt_predep_objects
34501 postdep_objects=$lt_postdep_objects
34502 predeps=$lt_predeps
34503 postdeps=$lt_postdeps
34504
34505 # The library search path used internally by the compiler when linking
34506 # a shared library.
34507 compiler_lib_search_path=$lt_compiler_lib_search_path
34508
34509 # ### END LIBTOOL CONFIG
34510
34511 _LT_EOF
34512
34513   case $host_os in
34514   aix3*)
34515     cat <<\_LT_EOF >> "$cfgfile"
34516 # AIX sometimes has problems with the GCC collect2 program.  For some
34517 # reason, if we set the COLLECT_NAMES environment variable, the problems
34518 # vanish in a puff of smoke.
34519 if test "X${COLLECT_NAMES+set}" != Xset; then
34520   COLLECT_NAMES=
34521   export COLLECT_NAMES
34522 fi
34523 _LT_EOF
34524     ;;
34525   esac
34526
34527
34528 ltmain="$ac_aux_dir/ltmain.sh"
34529
34530
34531   # We use sed instead of cat because bash on DJGPP gets confused if
34532   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
34533   # text mode, it properly converts lines to CR/LF.  This bash problem
34534   # is reportedly fixed, but why not run on old versions too?
34535   sed '$q' "$ltmain" >> "$cfgfile" \
34536      || (rm -f "$cfgfile"; exit 1)
34537
34538   if test x"$xsi_shell" = xyes; then
34539   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
34540 func_dirname ()\
34541 {\
34542 \    case ${1} in\
34543 \      */*) func_dirname_result="${1%/*}${2}" ;;\
34544 \      *  ) func_dirname_result="${3}" ;;\
34545 \    esac\
34546 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
34547   && mv -f "$cfgfile.tmp" "$cfgfile" \
34548     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
34549 test 0 -eq $? || _lt_function_replace_fail=:
34550
34551
34552   sed -e '/^func_basename ()$/,/^} # func_basename /c\
34553 func_basename ()\
34554 {\
34555 \    func_basename_result="${1##*/}"\
34556 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
34557   && mv -f "$cfgfile.tmp" "$cfgfile" \
34558     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
34559 test 0 -eq $? || _lt_function_replace_fail=:
34560
34561
34562   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
34563 func_dirname_and_basename ()\
34564 {\
34565 \    case ${1} in\
34566 \      */*) func_dirname_result="${1%/*}${2}" ;;\
34567 \      *  ) func_dirname_result="${3}" ;;\
34568 \    esac\
34569 \    func_basename_result="${1##*/}"\
34570 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
34571   && mv -f "$cfgfile.tmp" "$cfgfile" \
34572     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
34573 test 0 -eq $? || _lt_function_replace_fail=:
34574
34575
34576   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
34577 func_stripname ()\
34578 {\
34579 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
34580 \    # positional parameters, so assign one to ordinary parameter first.\
34581 \    func_stripname_result=${3}\
34582 \    func_stripname_result=${func_stripname_result#"${1}"}\
34583 \    func_stripname_result=${func_stripname_result%"${2}"}\
34584 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
34585   && mv -f "$cfgfile.tmp" "$cfgfile" \
34586     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
34587 test 0 -eq $? || _lt_function_replace_fail=:
34588
34589
34590   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
34591 func_split_long_opt ()\
34592 {\
34593 \    func_split_long_opt_name=${1%%=*}\
34594 \    func_split_long_opt_arg=${1#*=}\
34595 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
34596   && mv -f "$cfgfile.tmp" "$cfgfile" \
34597     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
34598 test 0 -eq $? || _lt_function_replace_fail=:
34599
34600
34601   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
34602 func_split_short_opt ()\
34603 {\
34604 \    func_split_short_opt_arg=${1#??}\
34605 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
34606 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
34607   && mv -f "$cfgfile.tmp" "$cfgfile" \
34608     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
34609 test 0 -eq $? || _lt_function_replace_fail=:
34610
34611
34612   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
34613 func_lo2o ()\
34614 {\
34615 \    case ${1} in\
34616 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
34617 \      *)    func_lo2o_result=${1} ;;\
34618 \    esac\
34619 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
34620   && mv -f "$cfgfile.tmp" "$cfgfile" \
34621     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
34622 test 0 -eq $? || _lt_function_replace_fail=:
34623
34624
34625   sed -e '/^func_xform ()$/,/^} # func_xform /c\
34626 func_xform ()\
34627 {\
34628     func_xform_result=${1%.*}.lo\
34629 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
34630   && mv -f "$cfgfile.tmp" "$cfgfile" \
34631     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
34632 test 0 -eq $? || _lt_function_replace_fail=:
34633
34634
34635   sed -e '/^func_arith ()$/,/^} # func_arith /c\
34636 func_arith ()\
34637 {\
34638     func_arith_result=$(( $* ))\
34639 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
34640   && mv -f "$cfgfile.tmp" "$cfgfile" \
34641     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
34642 test 0 -eq $? || _lt_function_replace_fail=:
34643
34644
34645   sed -e '/^func_len ()$/,/^} # func_len /c\
34646 func_len ()\
34647 {\
34648     func_len_result=${#1}\
34649 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
34650   && mv -f "$cfgfile.tmp" "$cfgfile" \
34651     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
34652 test 0 -eq $? || _lt_function_replace_fail=:
34653
34654 fi
34655
34656 if test x"$lt_shell_append" = xyes; then
34657   sed -e '/^func_append ()$/,/^} # func_append /c\
34658 func_append ()\
34659 {\
34660     eval "${1}+=\\${2}"\
34661 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
34662   && mv -f "$cfgfile.tmp" "$cfgfile" \
34663     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
34664 test 0 -eq $? || _lt_function_replace_fail=:
34665
34666
34667   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
34668 func_append_quoted ()\
34669 {\
34670 \    func_quote_for_eval "${2}"\
34671 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
34672 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
34673   && mv -f "$cfgfile.tmp" "$cfgfile" \
34674     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
34675 test 0 -eq $? || _lt_function_replace_fail=:
34676
34677
34678   # Save a `func_append' function call where possible by direct use of '+='
34679   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
34680     && mv -f "$cfgfile.tmp" "$cfgfile" \
34681       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
34682   test 0 -eq $? || _lt_function_replace_fail=:
34683 else
34684   # Save a `func_append' function call even when '+=' is not available
34685   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
34686     && mv -f "$cfgfile.tmp" "$cfgfile" \
34687       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
34688   test 0 -eq $? || _lt_function_replace_fail=:
34689 fi
34690
34691 if test x"$_lt_function_replace_fail" = x":"; then
34692   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
34693 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
34694 fi
34695
34696
34697    mv -f "$cfgfile" "$ofile" ||
34698     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
34699   chmod +x "$ofile"
34700
34701
34702     cat <<_LT_EOF >> "$ofile"
34703
34704 # ### BEGIN LIBTOOL TAG CONFIG: CXX
34705
34706 # The linker used to build libraries.
34707 LD=$lt_LD_CXX
34708
34709 # How to create reloadable object files.
34710 reload_flag=$lt_reload_flag_CXX
34711 reload_cmds=$lt_reload_cmds_CXX
34712
34713 # Commands used to build an old-style archive.
34714 old_archive_cmds=$lt_old_archive_cmds_CXX
34715
34716 # A language specific compiler.
34717 CC=$lt_compiler_CXX
34718
34719 # Is the compiler the GNU compiler?
34720 with_gcc=$GCC_CXX
34721
34722 # Compiler flag to turn off builtin functions.
34723 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
34724
34725 # Additional compiler flags for building library objects.
34726 pic_flag=$lt_lt_prog_compiler_pic_CXX
34727
34728 # How to pass a linker flag through the compiler.
34729 wl=$lt_lt_prog_compiler_wl_CXX
34730
34731 # Compiler flag to prevent dynamic linking.
34732 link_static_flag=$lt_lt_prog_compiler_static_CXX
34733
34734 # Does compiler simultaneously support -c and -o options?
34735 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
34736
34737 # Whether or not to add -lc for building shared libraries.
34738 build_libtool_need_lc=$archive_cmds_need_lc_CXX
34739
34740 # Whether or not to disallow shared libs when runtime libs are static.
34741 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
34742
34743 # Compiler flag to allow reflexive dlopens.
34744 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
34745
34746 # Compiler flag to generate shared objects directly from archives.
34747 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
34748
34749 # Whether the compiler copes with passing no objects directly.
34750 compiler_needs_object=$lt_compiler_needs_object_CXX
34751
34752 # Create an old-style archive from a shared archive.
34753 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
34754
34755 # Create a temporary old-style archive to link instead of a shared archive.
34756 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
34757
34758 # Commands used to build a shared archive.
34759 archive_cmds=$lt_archive_cmds_CXX
34760 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
34761
34762 # Commands used to build a loadable module if different from building
34763 # a shared archive.
34764 module_cmds=$lt_module_cmds_CXX
34765 module_expsym_cmds=$lt_module_expsym_cmds_CXX
34766
34767 # Whether we are building with GNU ld or not.
34768 with_gnu_ld=$lt_with_gnu_ld_CXX
34769
34770 # Flag that allows shared libraries with undefined symbols to be built.
34771 allow_undefined_flag=$lt_allow_undefined_flag_CXX
34772
34773 # Flag that enforces no undefined symbols.
34774 no_undefined_flag=$lt_no_undefined_flag_CXX
34775
34776 # Flag to hardcode \$libdir into a binary during linking.
34777 # This must work even if \$libdir does not exist
34778 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
34779
34780 # Whether we need a single "-rpath" flag with a separated argument.
34781 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
34782
34783 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
34784 # DIR into the resulting binary.
34785 hardcode_direct=$hardcode_direct_CXX
34786
34787 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
34788 # DIR into the resulting binary and the resulting library dependency is
34789 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
34790 # library is relocated.
34791 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
34792
34793 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
34794 # into the resulting binary.
34795 hardcode_minus_L=$hardcode_minus_L_CXX
34796
34797 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
34798 # into the resulting binary.
34799 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
34800
34801 # Set to "yes" if building a shared library automatically hardcodes DIR
34802 # into the library and all subsequent libraries and executables linked
34803 # against it.
34804 hardcode_automatic=$hardcode_automatic_CXX
34805
34806 # Set to yes if linker adds runtime paths of dependent libraries
34807 # to runtime path list.
34808 inherit_rpath=$inherit_rpath_CXX
34809
34810 # Whether libtool must link a program against all its dependency libraries.
34811 link_all_deplibs=$link_all_deplibs_CXX
34812
34813 # Set to "yes" if exported symbols are required.
34814 always_export_symbols=$always_export_symbols_CXX
34815
34816 # The commands to list exported symbols.
34817 export_symbols_cmds=$lt_export_symbols_cmds_CXX
34818
34819 # Symbols that should not be listed in the preloaded symbols.
34820 exclude_expsyms=$lt_exclude_expsyms_CXX
34821
34822 # Symbols that must always be exported.
34823 include_expsyms=$lt_include_expsyms_CXX
34824
34825 # Commands necessary for linking programs (against libraries) with templates.
34826 prelink_cmds=$lt_prelink_cmds_CXX
34827
34828 # Commands necessary for finishing linking programs.
34829 postlink_cmds=$lt_postlink_cmds_CXX
34830
34831 # Specify filename containing input files.
34832 file_list_spec=$lt_file_list_spec_CXX
34833
34834 # How to hardcode a shared library path into an executable.
34835 hardcode_action=$hardcode_action_CXX
34836
34837 # The directories searched by this compiler when creating a shared library.
34838 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
34839
34840 # Dependencies to place before and after the objects being linked to
34841 # create a shared library.
34842 predep_objects=$lt_predep_objects_CXX
34843 postdep_objects=$lt_postdep_objects_CXX
34844 predeps=$lt_predeps_CXX
34845 postdeps=$lt_postdeps_CXX
34846
34847 # The library search path used internally by the compiler when linking
34848 # a shared library.
34849 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
34850
34851 # ### END LIBTOOL TAG CONFIG: CXX
34852 _LT_EOF
34853
34854  ;;
34855     "po-directories":C)
34856     for ac_file in $CONFIG_FILES; do
34857       # Support "outfile[:infile[:infile...]]"
34858       case "$ac_file" in
34859         *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
34860       esac
34861       # PO directories have a Makefile.in generated from Makefile.in.in.
34862       case "$ac_file" in */Makefile.in)
34863         # Adjust a relative srcdir.
34864         ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
34865         ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
34866         ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
34867         # In autoconf-2.13 it is called $ac_given_srcdir.
34868         # In autoconf-2.50 it is called $srcdir.
34869         test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
34870         case "$ac_given_srcdir" in
34871           .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
34872           /*) top_srcdir="$ac_given_srcdir" ;;
34873           *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
34874         esac
34875         # Treat a directory as a PO directory if and only if it has a
34876         # POTFILES.in file. This allows packages to have multiple PO
34877         # directories under different names or in different locations.
34878         if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
34879           rm -f "$ac_dir/POTFILES"
34880           test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
34881           cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[   ]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
34882           POMAKEFILEDEPS="POTFILES.in"
34883           # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
34884           # on $ac_dir but don't depend on user-specified configuration
34885           # parameters.
34886           if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
34887             # The LINGUAS file contains the set of available languages.
34888             if test -n "$OBSOLETE_ALL_LINGUAS"; then
34889               test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
34890             fi
34891             ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
34892             # Hide the ALL_LINGUAS assigment from automake < 1.5.
34893             eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
34894             POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
34895           else
34896             # The set of available languages was given in configure.in.
34897             # Hide the ALL_LINGUAS assigment from automake < 1.5.
34898             eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
34899           fi
34900           # Compute POFILES
34901           # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
34902           # Compute UPDATEPOFILES
34903           # as      $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
34904           # Compute DUMMYPOFILES
34905           # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
34906           # Compute GMOFILES
34907           # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
34908           case "$ac_given_srcdir" in
34909             .) srcdirpre= ;;
34910             *) srcdirpre='$(srcdir)/' ;;
34911           esac
34912           POFILES=
34913           UPDATEPOFILES=
34914           DUMMYPOFILES=
34915           GMOFILES=
34916           for lang in $ALL_LINGUAS; do
34917             POFILES="$POFILES $srcdirpre$lang.po"
34918             UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
34919             DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
34920             GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
34921           done
34922           # CATALOGS depends on both $ac_dir and the user's LINGUAS
34923           # environment variable.
34924           INST_LINGUAS=
34925           if test -n "$ALL_LINGUAS"; then
34926             for presentlang in $ALL_LINGUAS; do
34927               useit=no
34928               if test "%UNSET%" != "$LINGUAS"; then
34929                 desiredlanguages="$LINGUAS"
34930               else
34931                 desiredlanguages="$ALL_LINGUAS"
34932               fi
34933               for desiredlang in $desiredlanguages; do
34934                 # Use the presentlang catalog if desiredlang is
34935                 #   a. equal to presentlang, or
34936                 #   b. a variant of presentlang (because in this case,
34937                 #      presentlang can be used as a fallback for messages
34938                 #      which are not translated in the desiredlang catalog).
34939                 case "$desiredlang" in
34940                   "$presentlang"*) useit=yes;;
34941                 esac
34942               done
34943               if test $useit = yes; then
34944                 INST_LINGUAS="$INST_LINGUAS $presentlang"
34945               fi
34946             done
34947           fi
34948           CATALOGS=
34949           if test -n "$INST_LINGUAS"; then
34950             for lang in $INST_LINGUAS; do
34951               CATALOGS="$CATALOGS $lang.gmo"
34952             done
34953           fi
34954           test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
34955           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"
34956           for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
34957             if test -f "$f"; then
34958               case "$f" in
34959                 *.orig | *.bak | *~) ;;
34960                 *) cat "$f" >> "$ac_dir/Makefile" ;;
34961               esac
34962             fi
34963           done
34964         fi
34965         ;;
34966       esac
34967     done ;;
34968     "$ac_stdint_h":C)
34969 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_stdint_h : $_ac_stdint_h" >&5
34970 $as_echo "$as_me: creating $ac_stdint_h : $_ac_stdint_h" >&6;}
34971 ac_stdint=$tmp/_stdint.h
34972
34973 echo "#ifndef" $_ac_stdint_h >$ac_stdint
34974 echo "#define" $_ac_stdint_h "1" >>$ac_stdint
34975 echo "#ifndef" _GENERATED_STDINT_H >>$ac_stdint
34976 echo "#define" _GENERATED_STDINT_H '"'$PACKAGE $VERSION'"' >>$ac_stdint
34977 echo "/* generated $ac_cv_stdint_message */" >>$ac_stdint
34978 if test "_$ac_cv_header_stdint_t" != "_" ; then
34979 echo "#define _STDINT_HAVE_STDINT_H" "1" >>$ac_stdint
34980 echo "#include <stdint.h>" >>$ac_stdint
34981 echo "#endif" >>$ac_stdint
34982 echo "#endif" >>$ac_stdint
34983 else
34984
34985 cat >>$ac_stdint <<STDINT_EOF
34986
34987 /* ................... shortcircuit part ........................... */
34988
34989 #if defined HAVE_STDINT_H || defined _STDINT_HAVE_STDINT_H
34990 #include <stdint.h>
34991 #else
34992 #include <stddef.h>
34993
34994 /* .................... configured part ............................ */
34995
34996 STDINT_EOF
34997
34998 echo "/* whether we have a C99 compatible stdint header file */" >>$ac_stdint
34999 if test "_$ac_cv_header_stdint_x" != "_" ; then
35000   ac_header="$ac_cv_header_stdint_x"
35001   echo "#define _STDINT_HEADER_INTPTR" '"'"$ac_header"'"' >>$ac_stdint
35002 else
35003   echo "/* #undef _STDINT_HEADER_INTPTR */" >>$ac_stdint
35004 fi
35005
35006 echo "/* whether we have a C96 compatible inttypes header file */" >>$ac_stdint
35007 if  test "_$ac_cv_header_stdint_o" != "_" ; then
35008   ac_header="$ac_cv_header_stdint_o"
35009   echo "#define _STDINT_HEADER_UINT32" '"'"$ac_header"'"' >>$ac_stdint
35010 else
35011   echo "/* #undef _STDINT_HEADER_UINT32 */" >>$ac_stdint
35012 fi
35013
35014 echo "/* whether we have a BSD compatible inet types header */" >>$ac_stdint
35015 if  test "_$ac_cv_header_stdint_u" != "_" ; then
35016   ac_header="$ac_cv_header_stdint_u"
35017   echo "#define _STDINT_HEADER_U_INT32" '"'"$ac_header"'"' >>$ac_stdint
35018 else
35019   echo "/* #undef _STDINT_HEADER_U_INT32 */" >>$ac_stdint
35020 fi
35021
35022 echo "" >>$ac_stdint
35023
35024 if test "_$ac_header" != "_" ; then if test "$ac_header" != "stddef.h" ; then
35025   echo "#include <$ac_header>" >>$ac_stdint
35026   echo "" >>$ac_stdint
35027 fi fi
35028
35029 echo "/* which 64bit typedef has been found */" >>$ac_stdint
35030 if test "$ac_cv_type_uint64_t" = "yes" ; then
35031 echo "#define   _STDINT_HAVE_UINT64_T" "1"  >>$ac_stdint
35032 else
35033 echo "/* #undef _STDINT_HAVE_UINT64_T */" >>$ac_stdint
35034 fi
35035 if test "$ac_cv_type_u_int64_t" = "yes" ; then
35036 echo "#define   _STDINT_HAVE_U_INT64_T" "1"  >>$ac_stdint
35037 else
35038 echo "/* #undef _STDINT_HAVE_U_INT64_T */" >>$ac_stdint
35039 fi
35040 echo "" >>$ac_stdint
35041
35042 echo "/* which type model has been detected */" >>$ac_stdint
35043 if test "_$ac_cv_char_data_model" != "_" ; then
35044 echo "#define   _STDINT_CHAR_MODEL" "$ac_cv_char_data_model" >>$ac_stdint
35045 echo "#define   _STDINT_LONG_MODEL" "$ac_cv_long_data_model" >>$ac_stdint
35046 else
35047 echo "/* #undef _STDINT_CHAR_MODEL // skipped */" >>$ac_stdint
35048 echo "/* #undef _STDINT_LONG_MODEL // skipped */" >>$ac_stdint
35049 fi
35050 echo "" >>$ac_stdint
35051
35052 echo "/* whether int_least types were detected */" >>$ac_stdint
35053 if test "$ac_cv_type_int_least32_t" = "yes"; then
35054 echo "#define   _STDINT_HAVE_INT_LEAST32_T" "1"  >>$ac_stdint
35055 else
35056 echo "/* #undef _STDINT_HAVE_INT_LEAST32_T */" >>$ac_stdint
35057 fi
35058 echo "/* whether int_fast types were detected */" >>$ac_stdint
35059 if test "$ac_cv_type_int_fast32_t" = "yes"; then
35060 echo "#define   _STDINT_HAVE_INT_FAST32_T" "1" >>$ac_stdint
35061 else
35062 echo "/* #undef _STDINT_HAVE_INT_FAST32_T */" >>$ac_stdint
35063 fi
35064 echo "/* whether intmax_t type was detected */" >>$ac_stdint
35065 if test "$ac_cv_type_intmax_t" = "yes"; then
35066 echo "#define   _STDINT_HAVE_INTMAX_T" "1" >>$ac_stdint
35067 else
35068 echo "/* #undef _STDINT_HAVE_INTMAX_T */" >>$ac_stdint
35069 fi
35070 echo "" >>$ac_stdint
35071
35072   cat >>$ac_stdint <<STDINT_EOF
35073 /* .................... detections part ............................ */
35074
35075 /* whether we need to define bitspecific types from compiler base types */
35076 #ifndef _STDINT_HEADER_INTPTR
35077 #ifndef _STDINT_HEADER_UINT32
35078 #ifndef _STDINT_HEADER_U_INT32
35079 #define _STDINT_NEED_INT_MODEL_T
35080 #else
35081 #define _STDINT_HAVE_U_INT_TYPES
35082 #endif
35083 #endif
35084 #endif
35085
35086 #ifdef _STDINT_HAVE_U_INT_TYPES
35087 #undef _STDINT_NEED_INT_MODEL_T
35088 #endif
35089
35090 #ifdef  _STDINT_CHAR_MODEL
35091 #if     _STDINT_CHAR_MODEL+0 == 122 || _STDINT_CHAR_MODEL+0 == 124
35092 #ifndef _STDINT_BYTE_MODEL
35093 #define _STDINT_BYTE_MODEL 12
35094 #endif
35095 #endif
35096 #endif
35097
35098 #ifndef _STDINT_HAVE_INT_LEAST32_T
35099 #define _STDINT_NEED_INT_LEAST_T
35100 #endif
35101
35102 #ifndef _STDINT_HAVE_INT_FAST32_T
35103 #define _STDINT_NEED_INT_FAST_T
35104 #endif
35105
35106 #ifndef _STDINT_HEADER_INTPTR
35107 #define _STDINT_NEED_INTPTR_T
35108 #ifndef _STDINT_HAVE_INTMAX_T
35109 #define _STDINT_NEED_INTMAX_T
35110 #endif
35111 #endif
35112
35113
35114 /* .................... definition part ............................ */
35115
35116 /* some system headers have good uint64_t */
35117 #ifndef _HAVE_UINT64_T
35118 #if     defined _STDINT_HAVE_UINT64_T  || defined HAVE_UINT64_T
35119 #define _HAVE_UINT64_T
35120 #elif   defined _STDINT_HAVE_U_INT64_T || defined HAVE_U_INT64_T
35121 #define _HAVE_UINT64_T
35122 typedef u_int64_t uint64_t;
35123 #endif
35124 #endif
35125
35126 #ifndef _HAVE_UINT64_T
35127 /* .. here are some common heuristics using compiler runtime specifics */
35128 #if defined __STDC_VERSION__ && defined __STDC_VERSION__ >= 199901L
35129 #define _HAVE_UINT64_T
35130 #define _HAVE_LONGLONG_UINT64_T
35131 typedef long long int64_t;
35132 typedef unsigned long long uint64_t;
35133
35134 #elif !defined __STRICT_ANSI__
35135 #if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
35136 #define _HAVE_UINT64_T
35137 typedef __int64 int64_t;
35138 typedef unsigned __int64 uint64_t;
35139
35140 #elif defined __GNUC__ || defined __MWERKS__ || defined __ELF__
35141 /* note: all ELF-systems seem to have loff-support which needs 64-bit */
35142 #if !defined _NO_LONGLONG
35143 #define _HAVE_UINT64_T
35144 #define _HAVE_LONGLONG_UINT64_T
35145 typedef long long int64_t;
35146 typedef unsigned long long uint64_t;
35147 #endif
35148
35149 #elif defined __alpha || (defined __mips && defined _ABIN32)
35150 #if !defined _NO_LONGLONG
35151 typedef long int64_t;
35152 typedef unsigned long uint64_t;
35153 #endif
35154   /* compiler/cpu type to define int64_t */
35155 #endif
35156 #endif
35157 #endif
35158
35159 #if defined _STDINT_HAVE_U_INT_TYPES
35160 /* int8_t int16_t int32_t defined by inet code, redeclare the u_intXX types */
35161 typedef u_int8_t uint8_t;
35162 typedef u_int16_t uint16_t;
35163 typedef u_int32_t uint32_t;
35164
35165 /* glibc compatibility */
35166 #ifndef __int8_t_defined
35167 #define __int8_t_defined
35168 #endif
35169 #endif
35170
35171 #ifdef _STDINT_NEED_INT_MODEL_T
35172 /* we must guess all the basic types. Apart from byte-adressable system, */
35173 /* there a few 32-bit-only dsp-systems that we guard with BYTE_MODEL 8-} */
35174 /* (btw, those nibble-addressable systems are way off, or so we assume) */
35175
35176
35177 #if defined _STDINT_BYTE_MODEL
35178 #if _STDINT_LONG_MODEL+0 == 242
35179 /* 2:4:2 =  IP16 = a normal 16-bit system                */
35180 typedef unsigned char   uint8_t;
35181 typedef unsigned short  uint16_t;
35182 typedef unsigned long   uint32_t;
35183 #ifndef __int8_t_defined
35184 #define __int8_t_defined
35185 typedef          char    int8_t;
35186 typedef          short   int16_t;
35187 typedef          long    int32_t;
35188 #endif
35189 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL == 444
35190 /* 2:4:4 =  LP32 = a 32-bit system derived from a 16-bit */
35191 /* 4:4:4 = ILP32 = a normal 32-bit system                */
35192 typedef unsigned char   uint8_t;
35193 typedef unsigned short  uint16_t;
35194 typedef unsigned int    uint32_t;
35195 #ifndef __int8_t_defined
35196 #define __int8_t_defined
35197 typedef          char    int8_t;
35198 typedef          short   int16_t;
35199 typedef          int     int32_t;
35200 #endif
35201 #elif _STDINT_LONG_MODEL+0 == 484 || _STDINT_LONG_MODEL+0 == 488
35202 /* 4:8:4 =  IP32 = a 32-bit system prepared for 64-bit    */
35203 /* 4:8:8 =  LP64 = a normal 64-bit system                 */
35204 typedef unsigned char   uint8_t;
35205 typedef unsigned short  uint16_t;
35206 typedef unsigned int    uint32_t;
35207 #ifndef __int8_t_defined
35208 #define __int8_t_defined
35209 typedef          char    int8_t;
35210 typedef          short   int16_t;
35211 typedef          int     int32_t;
35212 #endif
35213 /* this system has a "long" of 64bit */
35214 #ifndef _HAVE_UINT64_T
35215 #define _HAVE_UINT64_T
35216 typedef unsigned long   uint64_t;
35217 typedef          long    int64_t;
35218 #endif
35219 #elif _STDINT_LONG_MODEL+0 == 448
35220 /*      LLP64   a 64-bit system derived from a 32-bit system */
35221 typedef unsigned char   uint8_t;
35222 typedef unsigned short  uint16_t;
35223 typedef unsigned int    uint32_t;
35224 #ifndef __int8_t_defined
35225 #define __int8_t_defined
35226 typedef          char    int8_t;
35227 typedef          short   int16_t;
35228 typedef          int     int32_t;
35229 #endif
35230 /* assuming the system has a "long long" */
35231 #ifndef _HAVE_UINT64_T
35232 #define _HAVE_UINT64_T
35233 #define _HAVE_LONGLONG_UINT64_T
35234 typedef unsigned long long uint64_t;
35235 typedef          long long  int64_t;
35236 #endif
35237 #else
35238 #define _STDINT_NO_INT32_T
35239 #endif
35240 #else
35241 #define _STDINT_NO_INT8_T
35242 #define _STDINT_NO_INT32_T
35243 #endif
35244 #endif
35245
35246 /*
35247  * quote from SunOS-5.8 sys/inttypes.h:
35248  * Use at your own risk.  As of February 1996, the committee is squarely
35249  * behind the fixed sized types; the "least" and "fast" types are still being
35250  * discussed.  The probability that the "fast" types may be removed before
35251  * the standard is finalized is high enough that they are not currently
35252  * implemented.
35253  */
35254
35255 #if defined _STDINT_NEED_INT_LEAST_T
35256 typedef  int8_t    int_least8_t;
35257 typedef  int16_t   int_least16_t;
35258 typedef  int32_t   int_least32_t;
35259 #ifdef _HAVE_UINT64_T
35260 typedef  int64_t   int_least64_t;
35261 #endif
35262
35263 typedef uint8_t   uint_least8_t;
35264 typedef uint16_t  uint_least16_t;
35265 typedef uint32_t  uint_least32_t;
35266 #ifdef _HAVE_UINT64_T
35267 typedef uint64_t  uint_least64_t;
35268 #endif
35269   /* least types */
35270 #endif
35271
35272 #if defined _STDINT_NEED_INT_FAST_T
35273 typedef  int8_t    int_fast8_t;
35274 typedef  int       int_fast16_t;
35275 typedef  int32_t   int_fast32_t;
35276 #ifdef _HAVE_UINT64_T
35277 typedef  int64_t   int_fast64_t;
35278 #endif
35279
35280 typedef uint8_t   uint_fast8_t;
35281 typedef unsigned  uint_fast16_t;
35282 typedef uint32_t  uint_fast32_t;
35283 #ifdef _HAVE_UINT64_T
35284 typedef uint64_t  uint_fast64_t;
35285 #endif
35286   /* fast types */
35287 #endif
35288
35289 #ifdef _STDINT_NEED_INTMAX_T
35290 #ifdef _HAVE_UINT64_T
35291 typedef  int64_t       intmax_t;
35292 typedef uint64_t      uintmax_t;
35293 #else
35294 typedef          long  intmax_t;
35295 typedef unsigned long uintmax_t;
35296 #endif
35297 #endif
35298
35299 #ifdef _STDINT_NEED_INTPTR_T
35300 #ifndef __intptr_t_defined
35301 #define __intptr_t_defined
35302 /* we encourage using "long" to store pointer values, never use "int" ! */
35303 #if   _STDINT_LONG_MODEL+0 == 242 || _STDINT_LONG_MODEL+0 == 484
35304 typedef  unsigned int   uintptr_t;
35305 typedef           int    intptr_t;
35306 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL+0 == 444
35307 typedef  unsigned long  uintptr_t;
35308 typedef           long   intptr_t;
35309 #elif _STDINT_LONG_MODEL+0 == 448 && defined _HAVE_UINT64_T
35310 typedef        uint64_t uintptr_t;
35311 typedef         int64_t  intptr_t;
35312 #else /* matches typical system types ILP32 and LP64 - but not IP16 or LLP64 */
35313 typedef  unsigned long  uintptr_t;
35314 typedef           long   intptr_t;
35315 #endif
35316 #endif
35317 #endif
35318
35319 /* The ISO C99 standard specifies that in C++ implementations these
35320    should only be defined if explicitly requested.  */
35321 #if !defined __cplusplus || defined __STDC_CONSTANT_MACROS
35322 #ifndef UINT32_C
35323
35324 /* Signed.  */
35325 # define INT8_C(c)      c
35326 # define INT16_C(c)     c
35327 # define INT32_C(c)     c
35328 # ifdef _HAVE_LONGLONG_UINT64_T
35329 #  define INT64_C(c)    c ## L
35330 # else
35331 #  define INT64_C(c)    c ## LL
35332 # endif
35333
35334 /* Unsigned.  */
35335 # define UINT8_C(c)     c ## U
35336 # define UINT16_C(c)    c ## U
35337 # define UINT32_C(c)    c ## U
35338 # ifdef _HAVE_LONGLONG_UINT64_T
35339 #  define UINT64_C(c)   c ## UL
35340 # else
35341 #  define UINT64_C(c)   c ## ULL
35342 # endif
35343
35344 /* Maximal type.  */
35345 # ifdef _HAVE_LONGLONG_UINT64_T
35346 #  define INTMAX_C(c)   c ## L
35347 #  define UINTMAX_C(c)  c ## UL
35348 # else
35349 #  define INTMAX_C(c)   c ## LL
35350 #  define UINTMAX_C(c)  c ## ULL
35351 # endif
35352
35353   /* literalnumbers */
35354 #endif
35355 #endif
35356
35357 /* These limits are merily those of a two complement byte-oriented system */
35358
35359 /* Minimum of signed integral types.  */
35360 # define INT8_MIN               (-128)
35361 # define INT16_MIN              (-32767-1)
35362 # define INT32_MIN              (-2147483647-1)
35363 # define INT64_MIN              (-__INT64_C(9223372036854775807)-1)
35364 /* Maximum of signed integral types.  */
35365 # define INT8_MAX               (127)
35366 # define INT16_MAX              (32767)
35367 # define INT32_MAX              (2147483647)
35368 # define INT64_MAX              (__INT64_C(9223372036854775807))
35369
35370 /* Maximum of unsigned integral types.  */
35371 # define UINT8_MAX              (255)
35372 # define UINT16_MAX             (65535)
35373 # define UINT32_MAX             (4294967295U)
35374 # define UINT64_MAX             (__UINT64_C(18446744073709551615))
35375
35376 /* Minimum of signed integral types having a minimum size.  */
35377 # define INT_LEAST8_MIN         INT8_MIN
35378 # define INT_LEAST16_MIN        INT16_MIN
35379 # define INT_LEAST32_MIN        INT32_MIN
35380 # define INT_LEAST64_MIN        INT64_MIN
35381 /* Maximum of signed integral types having a minimum size.  */
35382 # define INT_LEAST8_MAX         INT8_MAX
35383 # define INT_LEAST16_MAX        INT16_MAX
35384 # define INT_LEAST32_MAX        INT32_MAX
35385 # define INT_LEAST64_MAX        INT64_MAX
35386
35387 /* Maximum of unsigned integral types having a minimum size.  */
35388 # define UINT_LEAST8_MAX        UINT8_MAX
35389 # define UINT_LEAST16_MAX       UINT16_MAX
35390 # define UINT_LEAST32_MAX       UINT32_MAX
35391 # define UINT_LEAST64_MAX       UINT64_MAX
35392
35393   /* shortcircuit*/
35394 #endif
35395   /* once */
35396 #endif
35397 #endif
35398 STDINT_EOF
35399 fi
35400     if cmp -s $ac_stdint_h $ac_stdint 2>/dev/null; then
35401       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_stdint_h is unchanged" >&5
35402 $as_echo "$as_me: $ac_stdint_h is unchanged" >&6;}
35403     else
35404       ac_dir=`$as_dirname -- "$ac_stdint_h" ||
35405 $as_expr X"$ac_stdint_h" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35406          X"$ac_stdint_h" : 'X\(//\)[^/]' \| \
35407          X"$ac_stdint_h" : 'X\(//\)$' \| \
35408          X"$ac_stdint_h" : 'X\(/\)' \| . 2>/dev/null ||
35409 $as_echo X"$ac_stdint_h" |
35410     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
35411             s//\1/
35412             q
35413           }
35414           /^X\(\/\/\)[^/].*/{
35415             s//\1/
35416             q
35417           }
35418           /^X\(\/\/\)$/{
35419             s//\1/
35420             q
35421           }
35422           /^X\(\/\).*/{
35423             s//\1/
35424             q
35425           }
35426           s/.*/./; q'`
35427       as_dir="$ac_dir"; as_fn_mkdir_p
35428       rm -f $ac_stdint_h
35429       mv $ac_stdint $ac_stdint_h
35430     fi
35431  ;;
35432
35433   esac
35434 done # for ac_tag
35435
35436
35437 as_fn_exit 0
35438 _ACEOF
35439 ac_clean_files=$ac_clean_files_save
35440
35441 test $ac_write_fail = 0 ||
35442   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
35443
35444
35445 # configure is writing to config.log, and then calls config.status.
35446 # config.status does its own redirection, appending to config.log.
35447 # Unfortunately, on DOS this fails, as config.log is still kept open
35448 # by configure, so config.status won't be able to write to it; its
35449 # output is simply discarded.  So we exec the FD to /dev/null,
35450 # effectively closing config.log, so it can be properly (re)opened and
35451 # appended to by config.status.  When coming back to configure, we
35452 # need to make the FD available again.
35453 if test "$no_create" != yes; then
35454   ac_cs_success=:
35455   ac_config_status_args=
35456   test "$silent" = yes &&
35457     ac_config_status_args="$ac_config_status_args --quiet"
35458   exec 5>/dev/null
35459   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
35460   exec 5>>config.log
35461   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
35462   # would make configure fail if this is the last instruction.
35463   $ac_cs_success || as_fn_exit 1
35464 fi
35465 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
35466   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
35467 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
35468 fi
35469
35470
35471
35472
35473 printf "configure: *** Plug-ins without external dependencies that will be built:\n"
35474 ( for i in $GST_PLUGINS_SELECTED; do printf '\t'$i'\n'; done ) | sort
35475 printf "\n"
35476
35477 printf "configure: *** Plug-ins without external dependencies that will NOT be built:\n"
35478 ( for i in $GST_PLUGINS_ALL; do
35479     case " $GST_PLUGINS_SELECTED " in
35480       *\ $i\ *)
35481         ;;
35482       *)
35483         printf '\t'$i'\n'
35484         ;;
35485     esac
35486   done ) | sort
35487 printf "\n"
35488
35489 if test "x$BUILD_EXTERNAL" = "xno"; then
35490   printf "configure: *** No plug-ins with external dependencies will be built\n"
35491 else
35492   printf "configure: *** Plug-ins with dependencies that will be built:"
35493   printf "$GST_PLUGINS_YES\n" | sort
35494   printf "\n"
35495   printf "configure: *** Plug-ins with dependencies that will NOT be built:"
35496   printf "$GST_PLUGINS_NO\n" | sort
35497   printf "\n"
35498 fi
35499
35500
35501   if test "$HAVE_ORC" = yes ; then
35502     printf "configure: *** Orc acceleration enabled.\n"
35503   else
35504     if test "x$enable_orc" = "xno" ; then
35505       printf "configure: *** Orc acceleration disabled by --disable-orc.  Slower code paths\n"
35506       printf "               will be used.\n"
35507     else
35508       printf "configure: *** Orc acceleration disabled.  Requires Orc >= $ORC_REQ, which was\n"
35509       printf "               not found.  Slower code paths will be used.\n"
35510     fi
35511   fi
35512   printf "\n"
35513
35514