6bac1ed7c3b2a21bf825fbaf74f2dca3253a1a21
[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.67 for GStreamer Base Plug-ins 0.10.34.
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 case $0 in #((
95   *[\\/]* ) as_myself=$0 ;;
96   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 for as_dir in $PATH
98 do
99   IFS=$as_save_IFS
100   test -z "$as_dir" && as_dir=.
101     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
102   done
103 IFS=$as_save_IFS
104
105      ;;
106 esac
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x; then
110   as_myself=$0
111 fi
112 if test ! -f "$as_myself"; then
113   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114   exit 1
115 fi
116
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there.  '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\${$as_var+set} = xset \
123   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
124 done
125 PS1='$ '
126 PS2='> '
127 PS4='+ '
128
129 # NLS nuisances.
130 LC_ALL=C
131 export LC_ALL
132 LANGUAGE=C
133 export LANGUAGE
134
135 # CDPATH.
136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137
138 if test "x$CONFIG_SHELL" = x; then
139   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140   emulate sh
141   NULLCMD=:
142   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143   # is contrary to our usage.  Disable this feature.
144   alias -g '\${1+\"\$@\"}'='\"\$@\"'
145   setopt NO_GLOB_SUBST
146 else
147   case \`(set -o) 2>/dev/null\` in #(
148   *posix*) :
149     set -o posix ;; #(
150   *) :
151      ;;
152 esac
153 fi
154 "
155   as_required="as_fn_return () { (exit \$1); }
156 as_fn_success () { as_fn_return 0; }
157 as_fn_failure () { as_fn_return 1; }
158 as_fn_ret_success () { return 0; }
159 as_fn_ret_failure () { return 1; }
160
161 exitcode=0
162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167
168 else
169   exitcode=1; echo positional parameters were not saved.
170 fi
171 test x\$exitcode = x0 || exit 1"
172   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176 test \$(( 1 + 1 )) = 2 || exit 1"
177   if (eval "$as_required") 2>/dev/null; then :
178   as_have_required=yes
179 else
180   as_have_required=no
181 fi
182   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
183
184 else
185   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
186 as_found=false
187 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
188 do
189   IFS=$as_save_IFS
190   test -z "$as_dir" && as_dir=.
191   as_found=:
192   case $as_dir in #(
193          /*)
194            for as_base in sh bash ksh sh5; do
195              # Try only shells that exist, to save several forks.
196              as_shell=$as_dir/$as_base
197              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199   CONFIG_SHELL=$as_shell as_have_required=yes
200                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
201   break 2
202 fi
203 fi
204            done;;
205        esac
206   as_found=false
207 done
208 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210   CONFIG_SHELL=$SHELL as_have_required=yes
211 fi; }
212 IFS=$as_save_IFS
213
214
215       if test "x$CONFIG_SHELL" != x; then :
216   # We cannot yet assume a decent shell, so we have to provide a
217         # neutralization value for shells without unset; and this also
218         # works around shells that cannot unset nonexistent variables.
219         BASH_ENV=/dev/null
220         ENV=/dev/null
221         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
222         export CONFIG_SHELL
223         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224 fi
225
226     if test x$as_have_required = xno; then :
227   $as_echo "$0: This script requires a shell more modern than all"
228   $as_echo "$0: the shells that I found on your system."
229   if test x${ZSH_VERSION+set} = xset ; then
230     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
232   else
233     $as_echo "$0: Please tell bug-autoconf@gnu.org and
234 $0: http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer
235 $0: about your system, including any error possibly output
236 $0: before this message. Then install a modern shell, or
237 $0: manually run the script under such a shell if you do
238 $0: have one."
239   fi
240   exit 1
241 fi
242 fi
243 fi
244 SHELL=${CONFIG_SHELL-/bin/sh}
245 export SHELL
246 # Unset more variables known to interfere with behavior of common tools.
247 CLICOLOR_FORCE= GREP_OPTIONS=
248 unset CLICOLOR_FORCE GREP_OPTIONS
249
250 ## --------------------- ##
251 ## M4sh Shell Functions. ##
252 ## --------------------- ##
253 # as_fn_unset VAR
254 # ---------------
255 # Portably unset VAR.
256 as_fn_unset ()
257 {
258   { eval $1=; unset $1;}
259 }
260 as_unset=as_fn_unset
261
262 # as_fn_set_status STATUS
263 # -----------------------
264 # Set $? to STATUS, without forking.
265 as_fn_set_status ()
266 {
267   return $1
268 } # as_fn_set_status
269
270 # as_fn_exit STATUS
271 # -----------------
272 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
273 as_fn_exit ()
274 {
275   set +e
276   as_fn_set_status $1
277   exit $1
278 } # as_fn_exit
279
280 # as_fn_mkdir_p
281 # -------------
282 # Create "$as_dir" as a directory, including parents if necessary.
283 as_fn_mkdir_p ()
284 {
285
286   case $as_dir in #(
287   -*) as_dir=./$as_dir;;
288   esac
289   test -d "$as_dir" || eval $as_mkdir_p || {
290     as_dirs=
291     while :; do
292       case $as_dir in #(
293       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
294       *) as_qdir=$as_dir;;
295       esac
296       as_dirs="'$as_qdir' $as_dirs"
297       as_dir=`$as_dirname -- "$as_dir" ||
298 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
299          X"$as_dir" : 'X\(//\)[^/]' \| \
300          X"$as_dir" : 'X\(//\)$' \| \
301          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
302 $as_echo X"$as_dir" |
303     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
304             s//\1/
305             q
306           }
307           /^X\(\/\/\)[^/].*/{
308             s//\1/
309             q
310           }
311           /^X\(\/\/\)$/{
312             s//\1/
313             q
314           }
315           /^X\(\/\).*/{
316             s//\1/
317             q
318           }
319           s/.*/./; q'`
320       test -d "$as_dir" && break
321     done
322     test -z "$as_dirs" || eval "mkdir $as_dirs"
323   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
324
325
326 } # as_fn_mkdir_p
327 # as_fn_append VAR VALUE
328 # ----------------------
329 # Append the text in VALUE to the end of the definition contained in VAR. Take
330 # advantage of any shell optimizations that allow amortized linear growth over
331 # repeated appends, instead of the typical quadratic growth present in naive
332 # implementations.
333 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
334   eval 'as_fn_append ()
335   {
336     eval $1+=\$2
337   }'
338 else
339   as_fn_append ()
340   {
341     eval $1=\$$1\$2
342   }
343 fi # as_fn_append
344
345 # as_fn_arith ARG...
346 # ------------------
347 # Perform arithmetic evaluation on the ARGs, and store the result in the
348 # global $as_val. Take advantage of shells that can avoid forks. The arguments
349 # must be portable across $(()) and expr.
350 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
351   eval 'as_fn_arith ()
352   {
353     as_val=$(( $* ))
354   }'
355 else
356   as_fn_arith ()
357   {
358     as_val=`expr "$@" || test $? -eq 1`
359   }
360 fi # as_fn_arith
361
362
363 # as_fn_error STATUS ERROR [LINENO LOG_FD]
364 # ----------------------------------------
365 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
366 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
367 # script with STATUS, using 1 if that was 0.
368 as_fn_error ()
369 {
370   as_status=$1; test $as_status -eq 0 && as_status=1
371   if test "$4"; then
372     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
373     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
374   fi
375   $as_echo "$as_me: error: $2" >&2
376   as_fn_exit $as_status
377 } # as_fn_error
378
379 if expr a : '\(a\)' >/dev/null 2>&1 &&
380    test "X`expr 00001 : '.*\(...\)'`" = X001; then
381   as_expr=expr
382 else
383   as_expr=false
384 fi
385
386 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
387   as_basename=basename
388 else
389   as_basename=false
390 fi
391
392 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
393   as_dirname=dirname
394 else
395   as_dirname=false
396 fi
397
398 as_me=`$as_basename -- "$0" ||
399 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
400          X"$0" : 'X\(//\)$' \| \
401          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
402 $as_echo X/"$0" |
403     sed '/^.*\/\([^/][^/]*\)\/*$/{
404             s//\1/
405             q
406           }
407           /^X\/\(\/\/\)$/{
408             s//\1/
409             q
410           }
411           /^X\/\(\/\).*/{
412             s//\1/
413             q
414           }
415           s/.*/./; q'`
416
417 # Avoid depending upon Character Ranges.
418 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
419 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
420 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
421 as_cr_digits='0123456789'
422 as_cr_alnum=$as_cr_Letters$as_cr_digits
423
424
425   as_lineno_1=$LINENO as_lineno_1a=$LINENO
426   as_lineno_2=$LINENO as_lineno_2a=$LINENO
427   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
428   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
429   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
430   sed -n '
431     p
432     /[$]LINENO/=
433   ' <$as_myself |
434     sed '
435       s/[$]LINENO.*/&-/
436       t lineno
437       b
438       :lineno
439       N
440       :loop
441       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
442       t loop
443       s/-\n.*//
444     ' >$as_me.lineno &&
445   chmod +x "$as_me.lineno" ||
446     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
447
448   # Don't try to exec as it changes $[0], causing all sort of problems
449   # (the dirname of $[0] is not the place where we might find the
450   # original and so on.  Autoconf is especially sensitive to this).
451   . "./$as_me.lineno"
452   # Exit status is that of the last command.
453   exit
454 }
455
456 ECHO_C= ECHO_N= ECHO_T=
457 case `echo -n x` in #(((((
458 -n*)
459   case `echo 'xy\c'` in
460   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
461   xy)  ECHO_C='\c';;
462   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
463        ECHO_T=' ';;
464   esac;;
465 *)
466   ECHO_N='-n';;
467 esac
468
469 rm -f conf$$ conf$$.exe conf$$.file
470 if test -d conf$$.dir; then
471   rm -f conf$$.dir/conf$$.file
472 else
473   rm -f conf$$.dir
474   mkdir conf$$.dir 2>/dev/null
475 fi
476 if (echo >conf$$.file) 2>/dev/null; then
477   if ln -s conf$$.file conf$$ 2>/dev/null; then
478     as_ln_s='ln -s'
479     # ... but there are two gotchas:
480     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
481     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
482     # In both cases, we have to default to `cp -p'.
483     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
484       as_ln_s='cp -p'
485   elif ln conf$$.file conf$$ 2>/dev/null; then
486     as_ln_s=ln
487   else
488     as_ln_s='cp -p'
489   fi
490 else
491   as_ln_s='cp -p'
492 fi
493 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
494 rmdir conf$$.dir 2>/dev/null
495
496 if mkdir -p . 2>/dev/null; then
497   as_mkdir_p='mkdir -p "$as_dir"'
498 else
499   test -d ./-p && rmdir ./-p
500   as_mkdir_p=false
501 fi
502
503 if test -x / >/dev/null 2>&1; then
504   as_test_x='test -x'
505 else
506   if ls -dL / >/dev/null 2>&1; then
507     as_ls_L_option=L
508   else
509     as_ls_L_option=
510   fi
511   as_test_x='
512     eval sh -c '\''
513       if test -d "$1"; then
514         test -d "$1/.";
515       else
516         case $1 in #(
517         -*)set "./$1";;
518         esac;
519         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
520         ???[sx]*):;;*)false;;esac;fi
521     '\'' sh
522   '
523 fi
524 as_executable_p=$as_test_x
525
526 # Sed expression to map a string onto a valid CPP name.
527 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
528
529 # Sed expression to map a string onto a valid variable name.
530 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
531
532
533
534 # Check that we are running under the correct shell.
535 SHELL=${CONFIG_SHELL-/bin/sh}
536
537 case X$lt_ECHO in
538 X*--fallback-echo)
539   # Remove one level of quotation (which was required for Make).
540   ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
541   ;;
542 esac
543
544 ECHO=${lt_ECHO-echo}
545 if test "X$1" = X--no-reexec; then
546   # Discard the --no-reexec flag, and continue.
547   shift
548 elif test "X$1" = X--fallback-echo; then
549   # Avoid inline document here, it may be left over
550   :
551 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
552   # Yippee, $ECHO works!
553   :
554 else
555   # Restart under the correct shell.
556   exec $SHELL "$0" --no-reexec ${1+"$@"}
557 fi
558
559 if test "X$1" = X--fallback-echo; then
560   # used as fallback echo
561   shift
562   cat <<_LT_EOF
563 $*
564 _LT_EOF
565   exit 0
566 fi
567
568 # The HP-UX ksh and POSIX shell print the target directory to stdout
569 # if CDPATH is set.
570 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
571
572 if test -z "$lt_ECHO"; then
573   if test "X${echo_test_string+set}" != Xset; then
574     # find a string as large as possible, as long as the shell can cope with it
575     for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
576       # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
577       if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
578          { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
579       then
580         break
581       fi
582     done
583   fi
584
585   if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
586      echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
587      test "X$echo_testing_string" = "X$echo_test_string"; then
588     :
589   else
590     # The Solaris, AIX, and Digital Unix default echo programs unquote
591     # backslashes.  This makes it impossible to quote backslashes using
592     #   echo "$something" | sed 's/\\/\\\\/g'
593     #
594     # So, first we look for a working echo in the user's PATH.
595
596     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
597     for dir in $PATH /usr/ucb; do
598       IFS="$lt_save_ifs"
599       if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
600          test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
601          echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
602          test "X$echo_testing_string" = "X$echo_test_string"; then
603         ECHO="$dir/echo"
604         break
605       fi
606     done
607     IFS="$lt_save_ifs"
608
609     if test "X$ECHO" = Xecho; then
610       # We didn't find a better echo, so look for alternatives.
611       if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
612          echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
613          test "X$echo_testing_string" = "X$echo_test_string"; then
614         # This shell has a builtin print -r that does the trick.
615         ECHO='print -r'
616       elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
617            test "X$CONFIG_SHELL" != X/bin/ksh; then
618         # If we have ksh, try running configure again with it.
619         ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
620         export ORIGINAL_CONFIG_SHELL
621         CONFIG_SHELL=/bin/ksh
622         export CONFIG_SHELL
623         exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
624       else
625         # Try using printf.
626         ECHO='printf %s\n'
627         if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
628            echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
629            test "X$echo_testing_string" = "X$echo_test_string"; then
630           # Cool, printf works
631           :
632         elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
633              test "X$echo_testing_string" = 'X\t' &&
634              echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
635              test "X$echo_testing_string" = "X$echo_test_string"; then
636           CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
637           export CONFIG_SHELL
638           SHELL="$CONFIG_SHELL"
639           export SHELL
640           ECHO="$CONFIG_SHELL $0 --fallback-echo"
641         elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
642              test "X$echo_testing_string" = 'X\t' &&
643              echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
644              test "X$echo_testing_string" = "X$echo_test_string"; then
645           ECHO="$CONFIG_SHELL $0 --fallback-echo"
646         else
647           # maybe with a smaller string...
648           prev=:
649
650           for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
651             if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
652             then
653               break
654             fi
655             prev="$cmd"
656           done
657
658           if test "$prev" != 'sed 50q "$0"'; then
659             echo_test_string=`eval $prev`
660             export echo_test_string
661             exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
662           else
663             # Oops.  We lost completely, so just stick with echo.
664             ECHO=echo
665           fi
666         fi
667       fi
668     fi
669   fi
670 fi
671
672 # Copy echo and quote the copy suitably for passing to libtool from
673 # the Makefile, instead of quoting the original, which is used later.
674 lt_ECHO=$ECHO
675 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
676    lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
677 fi
678
679
680
681
682 test -n "$DJDIR" || exec 7<&0 </dev/null
683 exec 6>&1
684
685 # Name of the host.
686 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
687 # so uname gets run too.
688 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
689
690 #
691 # Initializations.
692 #
693 ac_default_prefix=/usr/local
694 ac_clean_files=
695 ac_config_libobj_dir=.
696 LIBOBJS=
697 cross_compiling=no
698 subdirs=
699 MFLAGS=
700 MAKEFLAGS=
701
702 # Identity of this package.
703 PACKAGE_NAME='GStreamer Base Plug-ins'
704 PACKAGE_TARNAME='gst-plugins-base'
705 PACKAGE_VERSION='0.10.34'
706 PACKAGE_STRING='GStreamer Base Plug-ins 0.10.34'
707 PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer'
708 PACKAGE_URL=''
709
710 ac_unique_file="gst/audiotestsrc/gstaudiotestsrc.c"
711 # Factoring default headers for most tests.
712 ac_includes_default="\
713 #include <stdio.h>
714 #ifdef HAVE_SYS_TYPES_H
715 # include <sys/types.h>
716 #endif
717 #ifdef HAVE_SYS_STAT_H
718 # include <sys/stat.h>
719 #endif
720 #ifdef STDC_HEADERS
721 # include <stdlib.h>
722 # include <stddef.h>
723 #else
724 # ifdef HAVE_STDLIB_H
725 #  include <stdlib.h>
726 # endif
727 #endif
728 #ifdef HAVE_STRING_H
729 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
730 #  include <memory.h>
731 # endif
732 # include <string.h>
733 #endif
734 #ifdef HAVE_STRINGS_H
735 # include <strings.h>
736 #endif
737 #ifdef HAVE_INTTYPES_H
738 # include <inttypes.h>
739 #endif
740 #ifdef HAVE_STDINT_H
741 # include <stdint.h>
742 #endif
743 #ifdef HAVE_UNISTD_H
744 # include <unistd.h>
745 #endif"
746
747 gt_needs=
748 ac_subst_vars='am__EXEEXT_FALSE
749 am__EXEEXT_TRUE
750 LTLIBOBJS
751 LIBOBJS
752 GST_PLUGIN_LDFLAGS
753 GST_LIB_LDFLAGS
754 GST_ALL_LDFLAGS
755 GST_CXXFLAGS
756 GST_PLUGINS_BASE_CFLAGS
757 GST_OPTION_CXXFLAGS
758 GST_OPTION_CFLAGS
759 DEPRECATED_CFLAGS
760 PROFILE_CFLAGS
761 HAVE_FT2_FALSE
762 HAVE_FT2_TRUE
763 FT2_CONFIG
764 FT2_LIBS
765 FT2_CFLAGS
766 USE_VORBIS_FALSE
767 USE_VORBIS_TRUE
768 VORBISENC_LIBS
769 VORBISFILE_LIBS
770 VORBIS_LIBS
771 VORBIS_CFLAGS
772 USE_THEORA_FALSE
773 USE_THEORA_TRUE
774 THEORA_LIBS
775 THEORA_CFLAGS
776 USE_PANGO_FALSE
777 USE_PANGO_TRUE
778 PANGO_LIBS
779 PANGO_CFLAGS
780 USE_OGG_FALSE
781 USE_OGG_TRUE
782 OGG_LIBS
783 OGG_CFLAGS
784 USE_LIBVISUAL_FALSE
785 USE_LIBVISUAL_TRUE
786 LIBVISUAL_LIBS
787 LIBVISUAL_CFLAGS
788 USE_GIO_FALSE
789 USE_GIO_TRUE
790 GIO_LDFLAGS
791 GIO_LIBS
792 GIO_CFLAGS
793 USE_IVORBIS_FALSE
794 USE_IVORBIS_TRUE
795 IVORBIS_LIBS
796 IVORBIS_CFLAGS
797 USE_GNOME_VFS_FALSE
798 USE_GNOME_VFS_TRUE
799 GNOME_VFS_LIBS
800 GNOME_VFS_CFLAGS
801 USE_CDPARANOIA_FALSE
802 USE_CDPARANOIA_TRUE
803 HAVE_CDPARANOIA
804 CDPARANOIA_LIBS
805 CDPARANOIA_CFLAGS
806 USE_ALSA_FALSE
807 USE_ALSA_TRUE
808 ALSA_LIBS
809 ALSA_CFLAGS
810 GUDEV_LIBS
811 GUDEV_CFLAGS
812 USE_GST_V4L_FALSE
813 USE_GST_V4L_TRUE
814 USE_XSHM_FALSE
815 USE_XSHM_TRUE
816 XSHM_LIBS
817 HAVE_XSHM
818 USE_XVIDEO_FALSE
819 USE_XVIDEO_TRUE
820 XVIDEO_LIBS
821 USE_X_FALSE
822 USE_X_TRUE
823 HAVE_X
824 X_EXTRA_LIBS
825 X_LIBS
826 X_PRE_LIBS
827 X_CFLAGS
828 XMKMF
829 USE_ISO_CODES_FALSE
830 USE_ISO_CODES_TRUE
831 USE_XML_FALSE
832 USE_XML_TRUE
833 GST_DISABLE_XML
834 GST_DISABLE_PLUGIN
835 GST_DISABLE_REGISTRY
836 GST_DISABLE_ALLOC_TRACE
837 GST_DISABLE_TRACE
838 GST_DISABLE_PARSE
839 GST_DISABLE_LOADSAVE
840 GST_DISABLE_GST_DEBUG
841 USE_PLUGIN_VOLUME_FALSE
842 USE_PLUGIN_VOLUME_TRUE
843 USE_PLUGIN_VIDEOSCALE_FALSE
844 USE_PLUGIN_VIDEOSCALE_TRUE
845 USE_PLUGIN_VIDEORATE_FALSE
846 USE_PLUGIN_VIDEORATE_TRUE
847 USE_PLUGIN_VIDEOTESTSRC_FALSE
848 USE_PLUGIN_VIDEOTESTSRC_TRUE
849 USE_PLUGIN_TYPEFIND_FALSE
850 USE_PLUGIN_TYPEFIND_TRUE
851 USE_PLUGIN_TCP_FALSE
852 USE_PLUGIN_TCP_TRUE
853 USE_PLUGIN_SUBPARSE_FALSE
854 USE_PLUGIN_SUBPARSE_TRUE
855 USE_PLUGIN_AUDIORESAMPLE_FALSE
856 USE_PLUGIN_AUDIORESAMPLE_TRUE
857 USE_PLUGIN_PLAYBACK_FALSE
858 USE_PLUGIN_PLAYBACK_TRUE
859 USE_PLUGIN_GDP_FALSE
860 USE_PLUGIN_GDP_TRUE
861 USE_PLUGIN_FFMPEGCOLORSPACE_FALSE
862 USE_PLUGIN_FFMPEGCOLORSPACE_TRUE
863 USE_PLUGIN_ENCODING_FALSE
864 USE_PLUGIN_ENCODING_TRUE
865 USE_PLUGIN_AUDIOTESTSRC_FALSE
866 USE_PLUGIN_AUDIOTESTSRC_TRUE
867 USE_PLUGIN_AUDIORATE_FALSE
868 USE_PLUGIN_AUDIORATE_TRUE
869 USE_PLUGIN_AUDIOCONVERT_FALSE
870 USE_PLUGIN_AUDIOCONVERT_TRUE
871 USE_PLUGIN_APP_FALSE
872 USE_PLUGIN_APP_TRUE
873 USE_PLUGIN_ADDER_FALSE
874 USE_PLUGIN_ADDER_TRUE
875 AUDIORESAMPLE_FORMAT_AUTO
876 AUDIORESAMPLE_FORMAT_FLOAT
877 AUDIORESAMPLE_FORMAT_INT
878 DEFAULT_VISUALIZER
879 DEFAULT_VIDEOSRC
880 DEFAULT_VIDEOSINK
881 DEFAULT_AUDIOSRC
882 DEFAULT_AUDIOSINK
883 GST_LEVEL_DEFAULT
884 ERROR_CXXFLAGS
885 WARNING_CXXFLAGS
886 ERROR_CFLAGS
887 WARNING_CFLAGS
888 plugindir
889 PLUGINDIR
890 GST_LICENSE
891 HAVE_LINUX_JOYSTICK_HEADERS_FALSE
892 HAVE_LINUX_JOYSTICK_HEADERS_TRUE
893 HAVE_QT_GV_FALSE
894 HAVE_QT_GV_TRUE
895 HAVE_QT_FALSE
896 HAVE_QT_TRUE
897 QT4_MOC
898 QT_LIBS
899 QT_CFLAGS
900 HAVE_GTK_X11_FALSE
901 HAVE_GTK_X11_TRUE
902 HAVE_GTK_FALSE
903 HAVE_GTK_TRUE
904 GTK_X11_LIBS
905 GTK_X11_CFLAGS
906 GTK_LIBS
907 GTK_CFLAGS
908 GST_PREFIX
909 GLIB_PREFIX
910 HAVE_GST_CHECK_FALSE
911 HAVE_GST_CHECK_TRUE
912 GST_CHECK_LIBS
913 GST_CHECK_CFLAGS
914 GST_CONTROLLER_LIBS
915 GST_CONTROLLER_CFLAGS
916 GST_GDP_LIBS
917 GST_GDP_CFLAGS
918 GST_BASE_LIBS
919 GST_BASE_CFLAGS
920 GST_PLUGINS_DIR
921 GST_TOOLS_DIR
922 GST_LIBS
923 GST_CFLAGS
924 HAVE_ORCC_FALSE
925 HAVE_ORCC_TRUE
926 HAVE_ORC_FALSE
927 HAVE_ORC_TRUE
928 ORCC_FLAGS
929 ORCC
930 ORC_LIBS
931 ORC_CFLAGS
932 GLIB_LIBS
933 GLIB_CFLAGS
934 GLIB_REQ
935 HSTRERROR_LIBS
936 WIN32_LIBS
937 HAVE_SYS_SOCKET_H_FALSE
938 HAVE_SYS_SOCKET_H_TRUE
939 HAVE_LIBXML_HTML_FALSE
940 HAVE_LIBXML_HTML_TRUE
941 LIBM
942 ENABLE_PLUGIN_DOCS_FALSE
943 ENABLE_PLUGIN_DOCS_TRUE
944 pkgpyexecdir
945 pyexecdir
946 pkgpythondir
947 pythondir
948 PYTHON_PLATFORM
949 PYTHON_EXEC_PREFIX
950 PYTHON_PREFIX
951 PYTHON_VERSION
952 PYTHON
953 GTK_DOC_USE_LIBTOOL_FALSE
954 GTK_DOC_USE_LIBTOOL_TRUE
955 ENABLE_GTK_DOC_FALSE
956 ENABLE_GTK_DOC_TRUE
957 GTKDOC_CHECK
958 HTML_DIR
959 HAVE_INTROSPECTION_FALSE
960 HAVE_INTROSPECTION_TRUE
961 INTROSPECTION_TYPELIBDIR
962 INTROSPECTION_GIRDIR
963 INTROSPECTION_GENERATE
964 INTROSPECTION_COMPILER
965 INTROSPECTION_SCANNER
966 HAVE_VALGRIND_FALSE
967 HAVE_VALGRIND_TRUE
968 VALGRIND_PATH
969 HAVE_CXX_FALSE
970 HAVE_CXX_TRUE
971 CXXCPP
972 am__fastdepCXX_FALSE
973 am__fastdepCXX_TRUE
974 CXXDEPMODE
975 ac_ct_CXX
976 CXX
977 HAVE_CPU_CRISV32_FALSE
978 HAVE_CPU_CRISV32_TRUE
979 HAVE_CPU_CRIS_FALSE
980 HAVE_CPU_CRIS_TRUE
981 HAVE_CPU_X86_64_FALSE
982 HAVE_CPU_X86_64_TRUE
983 HAVE_CPU_M68K_FALSE
984 HAVE_CPU_M68K_TRUE
985 HAVE_CPU_IA64_FALSE
986 HAVE_CPU_IA64_TRUE
987 HAVE_CPU_S390_FALSE
988 HAVE_CPU_S390_TRUE
989 HAVE_CPU_MIPS_FALSE
990 HAVE_CPU_MIPS_TRUE
991 HAVE_CPU_HPPA_FALSE
992 HAVE_CPU_HPPA_TRUE
993 HAVE_CPU_SPARC_FALSE
994 HAVE_CPU_SPARC_TRUE
995 HAVE_CPU_ARM_FALSE
996 HAVE_CPU_ARM_TRUE
997 HAVE_CPU_ALPHA_FALSE
998 HAVE_CPU_ALPHA_TRUE
999 HAVE_CPU_PPC64_FALSE
1000 HAVE_CPU_PPC64_TRUE
1001 HAVE_CPU_PPC_FALSE
1002 HAVE_CPU_PPC_TRUE
1003 HAVE_CPU_I386_FALSE
1004 HAVE_CPU_I386_TRUE
1005 BUILD_EXPERIMENTAL_FALSE
1006 BUILD_EXPERIMENTAL_TRUE
1007 USE_EXPERIMENTAL_FALSE
1008 USE_EXPERIMENTAL_TRUE
1009 BUILD_EXTERNAL_FALSE
1010 BUILD_EXTERNAL_TRUE
1011 USE_EXTERNAL_FALSE
1012 USE_EXTERNAL_TRUE
1013 GST_PLUGINS_SELECTED
1014 GST_PLUGINS_ALL
1015 GST_INSTALL_PLUGINS_HELPER
1016 GST_PKG_CONFIG_PATH
1017 GST_PACKAGE_ORIGIN
1018 GST_PACKAGE_NAME
1019 BUILD_EXAMPLES_FALSE
1020 BUILD_EXAMPLES_TRUE
1021 GST_GCOV_ENABLED_FALSE
1022 GST_GCOV_ENABLED_TRUE
1023 CCASFLAGS
1024 FFLAGS
1025 CXXFLAGS
1026 GCOV
1027 GCOV_LIBS
1028 GCOV_CFLAGS
1029 VALGRIND_LIBS
1030 VALGRIND_CFLAGS
1031 PKG_CONFIG
1032 LOCALEDIR
1033 GETTEXT_PACKAGE
1034 POSUB
1035 LTLIBINTL
1036 LIBINTL
1037 INTLLIBS
1038 LTLIBICONV
1039 LIBICONV
1040 INTL_MACOSX_LIBS
1041 XGETTEXT_EXTRA_OPTIONS
1042 MSGMERGE
1043 XGETTEXT_015
1044 XGETTEXT
1045 GMSGFMT_015
1046 MSGFMT_015
1047 GMSGFMT
1048 MSGFMT
1049 GETTEXT_MACRO_VERSION
1050 USE_NLS
1051 ACLOCAL_AMFLAGS
1052 CPP
1053 OTOOL64
1054 OTOOL
1055 LIPO
1056 NMEDIT
1057 DSYMUTIL
1058 lt_ECHO
1059 RANLIB
1060 AR
1061 LN_S
1062 NM
1063 ac_ct_DUMPBIN
1064 DUMPBIN
1065 LD
1066 FGREP
1067 EGREP
1068 GREP
1069 SED
1070 am__fastdepCC_FALSE
1071 am__fastdepCC_TRUE
1072 CCDEPMODE
1073 AMDEPBACKSLASH
1074 AMDEP_FALSE
1075 AMDEP_TRUE
1076 am__quote
1077 am__include
1078 DEPDIR
1079 OBJEXT
1080 EXEEXT
1081 ac_ct_CC
1082 CPPFLAGS
1083 LDFLAGS
1084 CFLAGS
1085 CC
1086 LIBTOOL
1087 OBJDUMP
1088 DLLTOOL
1089 AS
1090 GST_LT_LDFLAGS
1091 GST_LIBVERSION
1092 GST_AGE
1093 GST_REVISION
1094 GST_CURRENT
1095 GST_MAJORMINOR
1096 AM_BACKSLASH
1097 AM_DEFAULT_VERBOSITY
1098 host_os
1099 host_vendor
1100 host_cpu
1101 host
1102 build_os
1103 build_vendor
1104 build_cpu
1105 build
1106 MAINT
1107 MAINTAINER_MODE_FALSE
1108 MAINTAINER_MODE_TRUE
1109 PACKAGE_VERSION_RELEASE
1110 PACKAGE_VERSION_NANO
1111 PACKAGE_VERSION_MICRO
1112 PACKAGE_VERSION_MINOR
1113 PACKAGE_VERSION_MAJOR
1114 am__untar
1115 am__tar
1116 AMTAR
1117 am__leading_dot
1118 SET_MAKE
1119 AWK
1120 mkdir_p
1121 MKDIR_P
1122 INSTALL_STRIP_PROGRAM
1123 STRIP
1124 install_sh
1125 MAKEINFO
1126 AUTOHEADER
1127 AUTOMAKE
1128 AUTOCONF
1129 ACLOCAL
1130 VERSION
1131 PACKAGE
1132 CYGPATH_W
1133 am__isrc
1134 INSTALL_DATA
1135 INSTALL_SCRIPT
1136 INSTALL_PROGRAM
1137 target_alias
1138 host_alias
1139 build_alias
1140 LIBS
1141 ECHO_T
1142 ECHO_N
1143 ECHO_C
1144 DEFS
1145 mandir
1146 localedir
1147 libdir
1148 psdir
1149 pdfdir
1150 dvidir
1151 htmldir
1152 infodir
1153 docdir
1154 oldincludedir
1155 includedir
1156 localstatedir
1157 sharedstatedir
1158 sysconfdir
1159 datadir
1160 datarootdir
1161 libexecdir
1162 sbindir
1163 bindir
1164 program_transform_name
1165 prefix
1166 exec_prefix
1167 PACKAGE_URL
1168 PACKAGE_BUGREPORT
1169 PACKAGE_STRING
1170 PACKAGE_VERSION
1171 PACKAGE_TARNAME
1172 PACKAGE_NAME
1173 PATH_SEPARATOR
1174 SHELL'
1175 ac_subst_files=''
1176 ac_user_opts='
1177 enable_option_checking
1178 enable_maintainer_mode
1179 enable_silent_rules
1180 enable_shared
1181 enable_static
1182 with_pic
1183 enable_fast_install
1184 enable_dependency_tracking
1185 with_gnu_ld
1186 enable_libtool_lock
1187 with_autoconf
1188 with_autoheader
1189 with_automake
1190 with_aclocal
1191 enable_nls
1192 enable_rpath
1193 with_libiconv_prefix
1194 with_libintl_prefix
1195 enable_debug
1196 enable_profiling
1197 enable_valgrind
1198 enable_gcov
1199 enable_examples
1200 with_pkg_config_path
1201 with_package_name
1202 with_package_origin
1203 with_install_plugins_helper
1204 with_plugins
1205 enable_external
1206 enable_experimental
1207 enable_largefile
1208 enable_introspection
1209 with_html_dir
1210 enable_gtk_doc
1211 enable_gobject_cast_checks
1212 enable_glib_asserts
1213 enable_orc
1214 with_gtk
1215 enable_Bsymbolic
1216 with_default_audiosink
1217 with_default_audiosrc
1218 with_default_videosink
1219 with_default_videosrc
1220 with_default_visualizer
1221 with_audioresample_format
1222 enable_adder
1223 enable_app
1224 enable_audioconvert
1225 enable_audiorate
1226 enable_audiotestsrc
1227 enable_encoding
1228 enable_ffmpegcolorspace
1229 enable_gdp
1230 enable_playback
1231 enable_audioresample
1232 enable_subparse
1233 enable_tcp
1234 enable_typefind
1235 enable_videotestsrc
1236 enable_videorate
1237 enable_videoscale
1238 enable_volume
1239 enable_iso_codes
1240 enable_x
1241 with_x
1242 enable_xvideo
1243 enable_xshm
1244 enable_gst_v4l
1245 with_gudev
1246 enable_alsa
1247 with_alsa_prefix
1248 with_alsa_inc_prefix
1249 enable_cdparanoia
1250 enable_gnome_vfs
1251 enable_ivorbis
1252 enable_gio
1253 enable_libvisual
1254 enable_ogg
1255 with_ogg
1256 with_ogg_libraries
1257 with_ogg_includes
1258 enable_oggtest
1259 enable_pango
1260 enable_theora
1261 enable_vorbis
1262 with_vorbis
1263 with_vorbis_libraries
1264 with_vorbis_includes
1265 enable_vorbistest
1266 with_ft_prefix
1267 with_ft_exec_prefix
1268 enable_freetypetest
1269 '
1270       ac_precious_vars='build_alias
1271 host_alias
1272 target_alias
1273 CC
1274 CFLAGS
1275 LDFLAGS
1276 LIBS
1277 CPPFLAGS
1278 CPP
1279 PKG_CONFIG
1280 VALGRIND_CFLAGS
1281 VALGRIND_LIBS
1282 CXX
1283 CXXFLAGS
1284 CCC
1285 CXXCPP
1286 GLIB_CFLAGS
1287 GLIB_LIBS
1288 ORC_CFLAGS
1289 ORC_LIBS
1290 GST_CFLAGS
1291 GST_LIBS
1292 GST_BASE_CFLAGS
1293 GST_BASE_LIBS
1294 GST_GDP_CFLAGS
1295 GST_GDP_LIBS
1296 GST_CONTROLLER_CFLAGS
1297 GST_CONTROLLER_LIBS
1298 GST_CHECK_CFLAGS
1299 GST_CHECK_LIBS
1300 GTK_CFLAGS
1301 GTK_LIBS
1302 GTK_X11_CFLAGS
1303 GTK_X11_LIBS
1304 QT_CFLAGS
1305 QT_LIBS
1306 XMKMF
1307 GUDEV_CFLAGS
1308 GUDEV_LIBS
1309 ALSA_CFLAGS
1310 ALSA_LIBS
1311 CDPARANOIA_CFLAGS
1312 CDPARANOIA_LIBS
1313 GNOME_VFS_CFLAGS
1314 GNOME_VFS_LIBS
1315 IVORBIS_CFLAGS
1316 IVORBIS_LIBS
1317 GIO_CFLAGS
1318 GIO_LIBS
1319 LIBVISUAL_CFLAGS
1320 LIBVISUAL_LIBS
1321 OGG_CFLAGS
1322 OGG_LIBS
1323 PANGO_CFLAGS
1324 PANGO_LIBS
1325 THEORA_CFLAGS
1326 THEORA_LIBS
1327 VORBIS_CFLAGS
1328 VORBIS_LIBS
1329 FT2_CFLAGS
1330 FT2_LIBS'
1331
1332
1333 # Initialize some variables set by options.
1334 ac_init_help=
1335 ac_init_version=false
1336 ac_unrecognized_opts=
1337 ac_unrecognized_sep=
1338 # The variables have the same names as the options, with
1339 # dashes changed to underlines.
1340 cache_file=/dev/null
1341 exec_prefix=NONE
1342 no_create=
1343 no_recursion=
1344 prefix=NONE
1345 program_prefix=NONE
1346 program_suffix=NONE
1347 program_transform_name=s,x,x,
1348 silent=
1349 site=
1350 srcdir=
1351 verbose=
1352 x_includes=NONE
1353 x_libraries=NONE
1354
1355 # Installation directory options.
1356 # These are left unexpanded so users can "make install exec_prefix=/foo"
1357 # and all the variables that are supposed to be based on exec_prefix
1358 # by default will actually change.
1359 # Use braces instead of parens because sh, perl, etc. also accept them.
1360 # (The list follows the same order as the GNU Coding Standards.)
1361 bindir='${exec_prefix}/bin'
1362 sbindir='${exec_prefix}/sbin'
1363 libexecdir='${exec_prefix}/libexec'
1364 datarootdir='${prefix}/share'
1365 datadir='${datarootdir}'
1366 sysconfdir='${prefix}/etc'
1367 sharedstatedir='${prefix}/com'
1368 localstatedir='${prefix}/var'
1369 includedir='${prefix}/include'
1370 oldincludedir='/usr/include'
1371 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1372 infodir='${datarootdir}/info'
1373 htmldir='${docdir}'
1374 dvidir='${docdir}'
1375 pdfdir='${docdir}'
1376 psdir='${docdir}'
1377 libdir='${exec_prefix}/lib'
1378 localedir='${datarootdir}/locale'
1379 mandir='${datarootdir}/man'
1380
1381 ac_prev=
1382 ac_dashdash=
1383 for ac_option
1384 do
1385   # If the previous option needs an argument, assign it.
1386   if test -n "$ac_prev"; then
1387     eval $ac_prev=\$ac_option
1388     ac_prev=
1389     continue
1390   fi
1391
1392   case $ac_option in
1393   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1394   *=)   ac_optarg= ;;
1395   *)    ac_optarg=yes ;;
1396   esac
1397
1398   # Accept the important Cygnus configure options, so we can diagnose typos.
1399
1400   case $ac_dashdash$ac_option in
1401   --)
1402     ac_dashdash=yes ;;
1403
1404   -bindir | --bindir | --bindi | --bind | --bin | --bi)
1405     ac_prev=bindir ;;
1406   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1407     bindir=$ac_optarg ;;
1408
1409   -build | --build | --buil | --bui | --bu)
1410     ac_prev=build_alias ;;
1411   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1412     build_alias=$ac_optarg ;;
1413
1414   -cache-file | --cache-file | --cache-fil | --cache-fi \
1415   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1416     ac_prev=cache_file ;;
1417   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1418   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1419     cache_file=$ac_optarg ;;
1420
1421   --config-cache | -C)
1422     cache_file=config.cache ;;
1423
1424   -datadir | --datadir | --datadi | --datad)
1425     ac_prev=datadir ;;
1426   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1427     datadir=$ac_optarg ;;
1428
1429   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1430   | --dataroo | --dataro | --datar)
1431     ac_prev=datarootdir ;;
1432   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1433   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1434     datarootdir=$ac_optarg ;;
1435
1436   -disable-* | --disable-*)
1437     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1438     # Reject names that are not valid shell variable names.
1439     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1440       as_fn_error $? "invalid feature name: $ac_useropt"
1441     ac_useropt_orig=$ac_useropt
1442     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1443     case $ac_user_opts in
1444       *"
1445 "enable_$ac_useropt"
1446 "*) ;;
1447       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1448          ac_unrecognized_sep=', ';;
1449     esac
1450     eval enable_$ac_useropt=no ;;
1451
1452   -docdir | --docdir | --docdi | --doc | --do)
1453     ac_prev=docdir ;;
1454   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1455     docdir=$ac_optarg ;;
1456
1457   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1458     ac_prev=dvidir ;;
1459   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1460     dvidir=$ac_optarg ;;
1461
1462   -enable-* | --enable-*)
1463     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1464     # Reject names that are not valid shell variable names.
1465     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1466       as_fn_error $? "invalid feature name: $ac_useropt"
1467     ac_useropt_orig=$ac_useropt
1468     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1469     case $ac_user_opts in
1470       *"
1471 "enable_$ac_useropt"
1472 "*) ;;
1473       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1474          ac_unrecognized_sep=', ';;
1475     esac
1476     eval enable_$ac_useropt=\$ac_optarg ;;
1477
1478   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1479   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1480   | --exec | --exe | --ex)
1481     ac_prev=exec_prefix ;;
1482   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1483   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1484   | --exec=* | --exe=* | --ex=*)
1485     exec_prefix=$ac_optarg ;;
1486
1487   -gas | --gas | --ga | --g)
1488     # Obsolete; use --with-gas.
1489     with_gas=yes ;;
1490
1491   -help | --help | --hel | --he | -h)
1492     ac_init_help=long ;;
1493   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1494     ac_init_help=recursive ;;
1495   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1496     ac_init_help=short ;;
1497
1498   -host | --host | --hos | --ho)
1499     ac_prev=host_alias ;;
1500   -host=* | --host=* | --hos=* | --ho=*)
1501     host_alias=$ac_optarg ;;
1502
1503   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1504     ac_prev=htmldir ;;
1505   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1506   | --ht=*)
1507     htmldir=$ac_optarg ;;
1508
1509   -includedir | --includedir | --includedi | --included | --include \
1510   | --includ | --inclu | --incl | --inc)
1511     ac_prev=includedir ;;
1512   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1513   | --includ=* | --inclu=* | --incl=* | --inc=*)
1514     includedir=$ac_optarg ;;
1515
1516   -infodir | --infodir | --infodi | --infod | --info | --inf)
1517     ac_prev=infodir ;;
1518   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1519     infodir=$ac_optarg ;;
1520
1521   -libdir | --libdir | --libdi | --libd)
1522     ac_prev=libdir ;;
1523   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1524     libdir=$ac_optarg ;;
1525
1526   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1527   | --libexe | --libex | --libe)
1528     ac_prev=libexecdir ;;
1529   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1530   | --libexe=* | --libex=* | --libe=*)
1531     libexecdir=$ac_optarg ;;
1532
1533   -localedir | --localedir | --localedi | --localed | --locale)
1534     ac_prev=localedir ;;
1535   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1536     localedir=$ac_optarg ;;
1537
1538   -localstatedir | --localstatedir | --localstatedi | --localstated \
1539   | --localstate | --localstat | --localsta | --localst | --locals)
1540     ac_prev=localstatedir ;;
1541   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1542   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1543     localstatedir=$ac_optarg ;;
1544
1545   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1546     ac_prev=mandir ;;
1547   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1548     mandir=$ac_optarg ;;
1549
1550   -nfp | --nfp | --nf)
1551     # Obsolete; use --without-fp.
1552     with_fp=no ;;
1553
1554   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1555   | --no-cr | --no-c | -n)
1556     no_create=yes ;;
1557
1558   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1559   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1560     no_recursion=yes ;;
1561
1562   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1563   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1564   | --oldin | --oldi | --old | --ol | --o)
1565     ac_prev=oldincludedir ;;
1566   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1567   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1568   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1569     oldincludedir=$ac_optarg ;;
1570
1571   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1572     ac_prev=prefix ;;
1573   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1574     prefix=$ac_optarg ;;
1575
1576   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1577   | --program-pre | --program-pr | --program-p)
1578     ac_prev=program_prefix ;;
1579   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1580   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1581     program_prefix=$ac_optarg ;;
1582
1583   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1584   | --program-suf | --program-su | --program-s)
1585     ac_prev=program_suffix ;;
1586   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1587   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1588     program_suffix=$ac_optarg ;;
1589
1590   -program-transform-name | --program-transform-name \
1591   | --program-transform-nam | --program-transform-na \
1592   | --program-transform-n | --program-transform- \
1593   | --program-transform | --program-transfor \
1594   | --program-transfo | --program-transf \
1595   | --program-trans | --program-tran \
1596   | --progr-tra | --program-tr | --program-t)
1597     ac_prev=program_transform_name ;;
1598   -program-transform-name=* | --program-transform-name=* \
1599   | --program-transform-nam=* | --program-transform-na=* \
1600   | --program-transform-n=* | --program-transform-=* \
1601   | --program-transform=* | --program-transfor=* \
1602   | --program-transfo=* | --program-transf=* \
1603   | --program-trans=* | --program-tran=* \
1604   | --progr-tra=* | --program-tr=* | --program-t=*)
1605     program_transform_name=$ac_optarg ;;
1606
1607   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1608     ac_prev=pdfdir ;;
1609   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1610     pdfdir=$ac_optarg ;;
1611
1612   -psdir | --psdir | --psdi | --psd | --ps)
1613     ac_prev=psdir ;;
1614   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1615     psdir=$ac_optarg ;;
1616
1617   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1618   | -silent | --silent | --silen | --sile | --sil)
1619     silent=yes ;;
1620
1621   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1622     ac_prev=sbindir ;;
1623   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1624   | --sbi=* | --sb=*)
1625     sbindir=$ac_optarg ;;
1626
1627   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1628   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1629   | --sharedst | --shareds | --shared | --share | --shar \
1630   | --sha | --sh)
1631     ac_prev=sharedstatedir ;;
1632   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1633   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1634   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1635   | --sha=* | --sh=*)
1636     sharedstatedir=$ac_optarg ;;
1637
1638   -site | --site | --sit)
1639     ac_prev=site ;;
1640   -site=* | --site=* | --sit=*)
1641     site=$ac_optarg ;;
1642
1643   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1644     ac_prev=srcdir ;;
1645   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1646     srcdir=$ac_optarg ;;
1647
1648   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1649   | --syscon | --sysco | --sysc | --sys | --sy)
1650     ac_prev=sysconfdir ;;
1651   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1652   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1653     sysconfdir=$ac_optarg ;;
1654
1655   -target | --target | --targe | --targ | --tar | --ta | --t)
1656     ac_prev=target_alias ;;
1657   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1658     target_alias=$ac_optarg ;;
1659
1660   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1661     verbose=yes ;;
1662
1663   -version | --version | --versio | --versi | --vers | -V)
1664     ac_init_version=: ;;
1665
1666   -with-* | --with-*)
1667     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1668     # Reject names that are not valid shell variable names.
1669     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1670       as_fn_error $? "invalid package name: $ac_useropt"
1671     ac_useropt_orig=$ac_useropt
1672     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1673     case $ac_user_opts in
1674       *"
1675 "with_$ac_useropt"
1676 "*) ;;
1677       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1678          ac_unrecognized_sep=', ';;
1679     esac
1680     eval with_$ac_useropt=\$ac_optarg ;;
1681
1682   -without-* | --without-*)
1683     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1684     # Reject names that are not valid shell variable names.
1685     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1686       as_fn_error $? "invalid package name: $ac_useropt"
1687     ac_useropt_orig=$ac_useropt
1688     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1689     case $ac_user_opts in
1690       *"
1691 "with_$ac_useropt"
1692 "*) ;;
1693       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1694          ac_unrecognized_sep=', ';;
1695     esac
1696     eval with_$ac_useropt=no ;;
1697
1698   --x)
1699     # Obsolete; use --with-x.
1700     with_x=yes ;;
1701
1702   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1703   | --x-incl | --x-inc | --x-in | --x-i)
1704     ac_prev=x_includes ;;
1705   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1706   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1707     x_includes=$ac_optarg ;;
1708
1709   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1710   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1711     ac_prev=x_libraries ;;
1712   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1713   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1714     x_libraries=$ac_optarg ;;
1715
1716   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1717 Try \`$0 --help' for more information"
1718     ;;
1719
1720   *=*)
1721     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1722     # Reject names that are not valid shell variable names.
1723     case $ac_envvar in #(
1724       '' | [0-9]* | *[!_$as_cr_alnum]* )
1725       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1726     esac
1727     eval $ac_envvar=\$ac_optarg
1728     export $ac_envvar ;;
1729
1730   *)
1731     # FIXME: should be removed in autoconf 3.0.
1732     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1733     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1734       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1735     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1736     ;;
1737
1738   esac
1739 done
1740
1741 if test -n "$ac_prev"; then
1742   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1743   as_fn_error $? "missing argument to $ac_option"
1744 fi
1745
1746 if test -n "$ac_unrecognized_opts"; then
1747   case $enable_option_checking in
1748     no) ;;
1749     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1750     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1751   esac
1752 fi
1753
1754 # Check all directory arguments for consistency.
1755 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1756                 datadir sysconfdir sharedstatedir localstatedir includedir \
1757                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1758                 libdir localedir mandir
1759 do
1760   eval ac_val=\$$ac_var
1761   # Remove trailing slashes.
1762   case $ac_val in
1763     */ )
1764       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1765       eval $ac_var=\$ac_val;;
1766   esac
1767   # Be sure to have absolute directory names.
1768   case $ac_val in
1769     [\\/$]* | ?:[\\/]* )  continue;;
1770     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1771   esac
1772   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1773 done
1774
1775 # There might be people who depend on the old broken behavior: `$host'
1776 # used to hold the argument of --host etc.
1777 # FIXME: To remove some day.
1778 build=$build_alias
1779 host=$host_alias
1780 target=$target_alias
1781
1782 # FIXME: To remove some day.
1783 if test "x$host_alias" != x; then
1784   if test "x$build_alias" = x; then
1785     cross_compiling=maybe
1786     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1787     If a cross compiler is detected then cross compile mode will be used" >&2
1788   elif test "x$build_alias" != "x$host_alias"; then
1789     cross_compiling=yes
1790   fi
1791 fi
1792
1793 ac_tool_prefix=
1794 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1795
1796 test "$silent" = yes && exec 6>/dev/null
1797
1798
1799 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1800 ac_ls_di=`ls -di .` &&
1801 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1802   as_fn_error $? "working directory cannot be determined"
1803 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1804   as_fn_error $? "pwd does not report name of working directory"
1805
1806
1807 # Find the source files, if location was not specified.
1808 if test -z "$srcdir"; then
1809   ac_srcdir_defaulted=yes
1810   # Try the directory containing this script, then the parent directory.
1811   ac_confdir=`$as_dirname -- "$as_myself" ||
1812 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1813          X"$as_myself" : 'X\(//\)[^/]' \| \
1814          X"$as_myself" : 'X\(//\)$' \| \
1815          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1816 $as_echo X"$as_myself" |
1817     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1818             s//\1/
1819             q
1820           }
1821           /^X\(\/\/\)[^/].*/{
1822             s//\1/
1823             q
1824           }
1825           /^X\(\/\/\)$/{
1826             s//\1/
1827             q
1828           }
1829           /^X\(\/\).*/{
1830             s//\1/
1831             q
1832           }
1833           s/.*/./; q'`
1834   srcdir=$ac_confdir
1835   if test ! -r "$srcdir/$ac_unique_file"; then
1836     srcdir=..
1837   fi
1838 else
1839   ac_srcdir_defaulted=no
1840 fi
1841 if test ! -r "$srcdir/$ac_unique_file"; then
1842   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1843   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1844 fi
1845 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1846 ac_abs_confdir=`(
1847         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1848         pwd)`
1849 # When building in place, set srcdir=.
1850 if test "$ac_abs_confdir" = "$ac_pwd"; then
1851   srcdir=.
1852 fi
1853 # Remove unnecessary trailing slashes from srcdir.
1854 # Double slashes in file names in object file debugging info
1855 # mess up M-x gdb in Emacs.
1856 case $srcdir in
1857 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1858 esac
1859 for ac_var in $ac_precious_vars; do
1860   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1861   eval ac_env_${ac_var}_value=\$${ac_var}
1862   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1863   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1864 done
1865
1866 #
1867 # Report the --help message.
1868 #
1869 if test "$ac_init_help" = "long"; then
1870   # Omit some internal or obsolete options to make the list less imposing.
1871   # This message is too long to be a string in the A/UX 3.1 sh.
1872   cat <<_ACEOF
1873 \`configure' configures GStreamer Base Plug-ins 0.10.34 to adapt to many kinds of systems.
1874
1875 Usage: $0 [OPTION]... [VAR=VALUE]...
1876
1877 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1878 VAR=VALUE.  See below for descriptions of some of the useful variables.
1879
1880 Defaults for the options are specified in brackets.
1881
1882 Configuration:
1883   -h, --help              display this help and exit
1884       --help=short        display options specific to this package
1885       --help=recursive    display the short help of all the included packages
1886   -V, --version           display version information and exit
1887   -q, --quiet, --silent   do not print \`checking ...' messages
1888       --cache-file=FILE   cache test results in FILE [disabled]
1889   -C, --config-cache      alias for \`--cache-file=config.cache'
1890   -n, --no-create         do not create output files
1891       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1892
1893 Installation directories:
1894   --prefix=PREFIX         install architecture-independent files in PREFIX
1895                           [$ac_default_prefix]
1896   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1897                           [PREFIX]
1898
1899 By default, \`make install' will install all the files in
1900 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1901 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1902 for instance \`--prefix=\$HOME'.
1903
1904 For better control, use the options below.
1905
1906 Fine tuning of the installation directories:
1907   --bindir=DIR            user executables [EPREFIX/bin]
1908   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1909   --libexecdir=DIR        program executables [EPREFIX/libexec]
1910   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1911   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1912   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1913   --libdir=DIR            object code libraries [EPREFIX/lib]
1914   --includedir=DIR        C header files [PREFIX/include]
1915   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1916   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1917   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1918   --infodir=DIR           info documentation [DATAROOTDIR/info]
1919   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1920   --mandir=DIR            man documentation [DATAROOTDIR/man]
1921   --docdir=DIR            documentation root
1922                           [DATAROOTDIR/doc/gst-plugins-base]
1923   --htmldir=DIR           html documentation [DOCDIR]
1924   --dvidir=DIR            dvi documentation [DOCDIR]
1925   --pdfdir=DIR            pdf documentation [DOCDIR]
1926   --psdir=DIR             ps documentation [DOCDIR]
1927 _ACEOF
1928
1929   cat <<\_ACEOF
1930
1931 Program names:
1932   --program-prefix=PREFIX            prepend PREFIX to installed program names
1933   --program-suffix=SUFFIX            append SUFFIX to installed program names
1934   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1935
1936 X features:
1937   --x-includes=DIR    X include files are in DIR
1938   --x-libraries=DIR   X library files are in DIR
1939
1940 System types:
1941   --build=BUILD     configure for building on BUILD [guessed]
1942   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1943 _ACEOF
1944 fi
1945
1946 if test -n "$ac_init_help"; then
1947   case $ac_init_help in
1948      short | recursive ) echo "Configuration of GStreamer Base Plug-ins 0.10.34:";;
1949    esac
1950   cat <<\_ACEOF
1951
1952 Optional Features:
1953   --disable-option-checking  ignore unrecognized --enable/--with options
1954   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1955   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1956   --enable-maintainer-mode  enable make rules and dependencies not useful
1957                           (and sometimes confusing) to the casual installer
1958   --enable-silent-rules          less verbose build output (undo: `make V=1')
1959   --disable-silent-rules         verbose build output (undo: `make V=0')
1960   --enable-shared[=PKGS]  build shared libraries [default=yes]
1961   --enable-static[=PKGS]  build static libraries [default=yes]
1962   --enable-fast-install[=PKGS]
1963                           optimize for fast installation [default=yes]
1964   --disable-dependency-tracking  speeds up one-time build
1965   --enable-dependency-tracking   do not reject slow dependency extractors
1966   --disable-libtool-lock  avoid locking (might break parallel builds)
1967   --disable-nls           do not use Native Language Support
1968   --disable-rpath         do not hardcode runtime library paths
1969   --disable-debug         disable addition of -g debugging info
1970   --enable-profiling      adds -pg to compiler commandline, for profiling
1971   --disable-valgrind      disable run-time valgrind detection
1972   --enable-gcov           compile with coverage profiling instrumentation (gcc
1973                           only)
1974   --disable-examples      disable building examples
1975   --disable-external           disable building of plug-ins with external deps
1976   --enable-experimental        enable building of experimental plug-ins
1977   --disable-largefile     omit support for large files
1978   --enable-introspection=[no/auto/yes]
1979                           Enable introspection for this build
1980   --enable-gtk-doc        use gtk-doc to build documentation [[default=no]]
1981   --enable-gobject-cast-checks=[no/auto/yes]
1982                           Enable GObject cast checks
1983   --enable-glib-asserts=[no/auto/yes]
1984                           Enable GLib assertion
1985   --enable-orc            use Orc if installed
1986   --disable-Bsymbolic     avoid linking with -Bsymbolic
1987   --disable-adder         disable dependency-less adder plugin
1988   --disable-app           disable dependency-less app plugin
1989   --disable-audioconvert  disable dependency-less audioconvert plugin
1990   --disable-audiorate     disable dependency-less audiorate plugin
1991   --disable-audiotestsrc  disable dependency-less audiotestsrc plugin
1992   --disable-encoding      disable dependency-less encoding plugin
1993   --disable-ffmpegcolorspace
1994                           disable dependency-less ffmpegcolorspace plugin
1995   --disable-gdp           disable dependency-less gdp plugin
1996   --disable-playback      disable dependency-less playback plugin
1997   --disable-audioresample disable dependency-less audioresample plugin
1998   --disable-subparse      disable dependency-less subparse plugin
1999   --disable-tcp           disable dependency-less tcp plugin
2000   --disable-typefind      disable dependency-less typefind plugin
2001   --disable-videotestsrc  disable dependency-less videotestsrc plugin
2002   --disable-videorate     disable dependency-less videorate plugin
2003   --disable-videoscale    disable dependency-less videoscale plugin
2004   --disable-volume        disable dependency-less volume plugin
2005   --enable-iso-codes      use iso-codes if installed
2006   --disable-x                  disable X libraries and plugins: ximagesink
2007   --disable-xvideo             disable X11 XVideo extensions: xvimagesink
2008   --disable-xshm               disable X Shared Memory extension
2009   --disable-gst_v4l            disable Video 4 Linux: video4linux
2010   --disable-alsa               disable ALSA: alsa
2011   --disable-cdparanoia         disable CDParanoia: cdparanoia
2012   --disable-gnome_vfs          disable GNOME VFS: gnomevfs
2013   --disable-ivorbis            disable integer vorbis plug-in: ivorbisdec
2014   --disable-gio                disable GIO library: gio
2015   --disable-libvisual          disable libvisual visualization library: libvisual
2016   --disable-ogg                disable Xiph Ogg library: ogg
2017   --disable-oggtest       Do not try to compile and run a test Ogg program
2018   --disable-pango              disable Pango font rendering: pango
2019   --disable-theora             disable Xiph Theora video codec: theora
2020   --disable-vorbis             disable Xiph Vorbis audio codec: vorbis
2021   --disable-vorbistest       Do not try to compile and run a test Vorbis program
2022   --disable-freetypetest  Do not try to compile and run
2023                           a test FreeType program
2024
2025 Optional Packages:
2026   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
2027   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
2028   --with-pic              try to use only PIC/non-PIC objects [default=use
2029                           both]
2030   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
2031   --with-autoconf         use a different autoconf for regeneration of
2032                           Makefiles
2033   --with-autoheader       use a different autoheader for regeneration of
2034                           Makefiles
2035   --with-automake         use a different automake for regeneration of
2036                           Makefiles
2037   --with-aclocal          use a different aclocal for regeneration of
2038                           Makefiles
2039   --with-gnu-ld           assume the C compiler uses GNU ld default=no
2040   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
2041   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
2042   --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
2043   --without-libintl-prefix     don't search for libintl in includedir and libdir
2044   --with-pkg-config-path  colon-separated list of pkg-config(1) dirs
2045   --with-package-name     specify package name to use in plugins
2046   --with-package-origin   specify package origin URL to use in plugins
2047   --with-install-plugins-helper
2048                           specify path of helper script to call to install
2049                           plugins
2050   --with-plugins          comma-separated list of dependencyless plug-ins to
2051                           compile
2052   --with-html-dir=PATH    path to installed docs
2053   --with-gtk=3.0|2.0      which gtk+ version to compile against (default: 2.0)
2054   --with-default-audiosink
2055                           specify default audio sink
2056   --with-default-audiosrc specify default audio source
2057   --with-default-videosink
2058                           specify default video sink
2059   --with-default-videosrc specify default video source
2060   --with-default-visualizer
2061                           specify default visualizer
2062   --with-audioresample-format
2063                           Which implementation should be used for integer
2064                           audio resampling, int/float/auto, (default is auto)
2065   --with-x                use the X Window System
2066   --with-gudev            device detection with gudev
2067   --with-alsa-prefix=PFX  prefix where Alsa library is installed(optional)
2068   --with-alsa-inc-prefix=PFX
2069                           prefix where include libraries are (optional)
2070   --with-ogg=PFX   Prefix where libogg is installed (optional)
2071   --with-ogg-libraries=DIR   Directory where libogg library is installed (optional)
2072   --with-ogg-includes=DIR   Directory where libogg header files are installed (optional)
2073   --with-vorbis=PFX   Prefix where libvorbis is installed (optional)
2074   --with-vorbis-libraries=DIR   Directory where libvorbis library is installed (optional)
2075   --with-vorbis-includes=DIR   Directory where libvorbis header files are installed (optional)
2076   --with-ft-prefix=PREFIX
2077                           Prefix where FreeType is installed (optional)
2078   --with-ft-exec-prefix=PREFIX
2079                           Exec prefix where FreeType is installed (optional)
2080
2081 Some influential environment variables:
2082   CC          C compiler command
2083   CFLAGS      C compiler flags
2084   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
2085               nonstandard directory <lib dir>
2086   LIBS        libraries to pass to the linker, e.g. -l<library>
2087   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2088               you have headers in a nonstandard directory <include dir>
2089   CPP         C preprocessor
2090   PKG_CONFIG  path to pkg-config utility
2091   VALGRIND_CFLAGS
2092               C compiler flags for VALGRIND, overriding pkg-config
2093   VALGRIND_LIBS
2094               linker flags for VALGRIND, overriding pkg-config
2095   CXX         C++ compiler command
2096   CXXFLAGS    C++ compiler flags
2097   CXXCPP      C++ preprocessor
2098   GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
2099   GLIB_LIBS   linker flags for GLIB, overriding pkg-config
2100   ORC_CFLAGS  C compiler flags for ORC, overriding pkg-config
2101   ORC_LIBS    linker flags for ORC, overriding pkg-config
2102   GST_CFLAGS  C compiler flags for GST, overriding pkg-config
2103   GST_LIBS    linker flags for GST, overriding pkg-config
2104   GST_BASE_CFLAGS
2105               C compiler flags for GST_BASE, overriding pkg-config
2106   GST_BASE_LIBS
2107               linker flags for GST_BASE, overriding pkg-config
2108   GST_GDP_CFLAGS
2109               C compiler flags for GST_GDP, overriding pkg-config
2110   GST_GDP_LIBS
2111               linker flags for GST_GDP, overriding pkg-config
2112   GST_CONTROLLER_CFLAGS
2113               C compiler flags for GST_CONTROLLER, overriding pkg-config
2114   GST_CONTROLLER_LIBS
2115               linker flags for GST_CONTROLLER, overriding pkg-config
2116   GST_CHECK_CFLAGS
2117               C compiler flags for GST_CHECK, overriding pkg-config
2118   GST_CHECK_LIBS
2119               linker flags for GST_CHECK, overriding pkg-config
2120   GTK_CFLAGS  C compiler flags for GTK, overriding pkg-config
2121   GTK_LIBS    linker flags for GTK, overriding pkg-config
2122   GTK_X11_CFLAGS
2123               C compiler flags for GTK_X11, overriding pkg-config
2124   GTK_X11_LIBS
2125               linker flags for GTK_X11, overriding pkg-config
2126   QT_CFLAGS   C compiler flags for QT, overriding pkg-config
2127   QT_LIBS     linker flags for QT, overriding pkg-config
2128   XMKMF       Path to xmkmf, Makefile generator for X Window System
2129   GUDEV_CFLAGS
2130               C compiler flags for GUDEV, overriding pkg-config
2131   GUDEV_LIBS  linker flags for GUDEV, overriding pkg-config
2132   ALSA_CFLAGS C compiler flags for ALSA, overriding pkg-config
2133   ALSA_LIBS   linker flags for ALSA, overriding pkg-config
2134   CDPARANOIA_CFLAGS
2135               C compiler flags for CDPARANOIA, overriding pkg-config
2136   CDPARANOIA_LIBS
2137               linker flags for CDPARANOIA, overriding pkg-config
2138   GNOME_VFS_CFLAGS
2139               C compiler flags for GNOME_VFS, overriding pkg-config
2140   GNOME_VFS_LIBS
2141               linker flags for GNOME_VFS, overriding pkg-config
2142   IVORBIS_CFLAGS
2143               C compiler flags for IVORBIS, overriding pkg-config
2144   IVORBIS_LIBS
2145               linker flags for IVORBIS, overriding pkg-config
2146   GIO_CFLAGS  C compiler flags for GIO, overriding pkg-config
2147   GIO_LIBS    linker flags for GIO, overriding pkg-config
2148   LIBVISUAL_CFLAGS
2149               C compiler flags for LIBVISUAL, overriding pkg-config
2150   LIBVISUAL_LIBS
2151               linker flags for LIBVISUAL, overriding pkg-config
2152   OGG_CFLAGS  C compiler flags for OGG, overriding pkg-config
2153   OGG_LIBS    linker flags for OGG, overriding pkg-config
2154   PANGO_CFLAGS
2155               C compiler flags for PANGO, overriding pkg-config
2156   PANGO_LIBS  linker flags for PANGO, overriding pkg-config
2157   THEORA_CFLAGS
2158               C compiler flags for THEORA, overriding pkg-config
2159   THEORA_LIBS linker flags for THEORA, overriding pkg-config
2160   VORBIS_CFLAGS
2161               C compiler flags for VORBIS, overriding pkg-config
2162   VORBIS_LIBS linker flags for VORBIS, overriding pkg-config
2163   FT2_CFLAGS  C compiler flags for FT2, overriding pkg-config
2164   FT2_LIBS    linker flags for FT2, overriding pkg-config
2165
2166 Use these variables to override the choices made by `configure' or to help
2167 it to find libraries and programs with nonstandard names/locations.
2168
2169 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer>.
2170 _ACEOF
2171 ac_status=$?
2172 fi
2173
2174 if test "$ac_init_help" = "recursive"; then
2175   # If there are subdirs, report their specific --help.
2176   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2177     test -d "$ac_dir" ||
2178       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2179       continue
2180     ac_builddir=.
2181
2182 case "$ac_dir" in
2183 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2184 *)
2185   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2186   # A ".." for each directory in $ac_dir_suffix.
2187   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2188   case $ac_top_builddir_sub in
2189   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2190   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2191   esac ;;
2192 esac
2193 ac_abs_top_builddir=$ac_pwd
2194 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2195 # for backward compatibility:
2196 ac_top_builddir=$ac_top_build_prefix
2197
2198 case $srcdir in
2199   .)  # We are building in place.
2200     ac_srcdir=.
2201     ac_top_srcdir=$ac_top_builddir_sub
2202     ac_abs_top_srcdir=$ac_pwd ;;
2203   [\\/]* | ?:[\\/]* )  # Absolute name.
2204     ac_srcdir=$srcdir$ac_dir_suffix;
2205     ac_top_srcdir=$srcdir
2206     ac_abs_top_srcdir=$srcdir ;;
2207   *) # Relative name.
2208     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2209     ac_top_srcdir=$ac_top_build_prefix$srcdir
2210     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2211 esac
2212 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2213
2214     cd "$ac_dir" || { ac_status=$?; continue; }
2215     # Check for guested configure.
2216     if test -f "$ac_srcdir/configure.gnu"; then
2217       echo &&
2218       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2219     elif test -f "$ac_srcdir/configure"; then
2220       echo &&
2221       $SHELL "$ac_srcdir/configure" --help=recursive
2222     else
2223       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2224     fi || ac_status=$?
2225     cd "$ac_pwd" || { ac_status=$?; break; }
2226   done
2227 fi
2228
2229 test -n "$ac_init_help" && exit $ac_status
2230 if $ac_init_version; then
2231   cat <<\_ACEOF
2232 GStreamer Base Plug-ins configure 0.10.34
2233 generated by GNU Autoconf 2.67
2234
2235 Copyright (C) 2010 Free Software Foundation, Inc.
2236 This configure script is free software; the Free Software Foundation
2237 gives unlimited permission to copy, distribute and modify it.
2238 _ACEOF
2239   exit
2240 fi
2241
2242 ## ------------------------ ##
2243 ## Autoconf initialization. ##
2244 ## ------------------------ ##
2245
2246 # ac_fn_c_try_compile LINENO
2247 # --------------------------
2248 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2249 ac_fn_c_try_compile ()
2250 {
2251   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2252   rm -f conftest.$ac_objext
2253   if { { ac_try="$ac_compile"
2254 case "(($ac_try" in
2255   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2256   *) ac_try_echo=$ac_try;;
2257 esac
2258 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2259 $as_echo "$ac_try_echo"; } >&5
2260   (eval "$ac_compile") 2>conftest.err
2261   ac_status=$?
2262   if test -s conftest.err; then
2263     grep -v '^ *+' conftest.err >conftest.er1
2264     cat conftest.er1 >&5
2265     mv -f conftest.er1 conftest.err
2266   fi
2267   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2268   test $ac_status = 0; } && {
2269          test -z "$ac_c_werror_flag" ||
2270          test ! -s conftest.err
2271        } && test -s conftest.$ac_objext; then :
2272   ac_retval=0
2273 else
2274   $as_echo "$as_me: failed program was:" >&5
2275 sed 's/^/| /' conftest.$ac_ext >&5
2276
2277         ac_retval=1
2278 fi
2279   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2280   as_fn_set_status $ac_retval
2281
2282 } # ac_fn_c_try_compile
2283
2284 # ac_fn_c_try_link LINENO
2285 # -----------------------
2286 # Try to link conftest.$ac_ext, and return whether this succeeded.
2287 ac_fn_c_try_link ()
2288 {
2289   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2290   rm -f conftest.$ac_objext conftest$ac_exeext
2291   if { { ac_try="$ac_link"
2292 case "(($ac_try" in
2293   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2294   *) ac_try_echo=$ac_try;;
2295 esac
2296 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2297 $as_echo "$ac_try_echo"; } >&5
2298   (eval "$ac_link") 2>conftest.err
2299   ac_status=$?
2300   if test -s conftest.err; then
2301     grep -v '^ *+' conftest.err >conftest.er1
2302     cat conftest.er1 >&5
2303     mv -f conftest.er1 conftest.err
2304   fi
2305   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2306   test $ac_status = 0; } && {
2307          test -z "$ac_c_werror_flag" ||
2308          test ! -s conftest.err
2309        } && test -s conftest$ac_exeext && {
2310          test "$cross_compiling" = yes ||
2311          $as_test_x conftest$ac_exeext
2312        }; then :
2313   ac_retval=0
2314 else
2315   $as_echo "$as_me: failed program was:" >&5
2316 sed 's/^/| /' conftest.$ac_ext >&5
2317
2318         ac_retval=1
2319 fi
2320   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2321   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2322   # interfere with the next link command; also delete a directory that is
2323   # left behind by Apple's compiler.  We do this before executing the actions.
2324   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2325   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2326   as_fn_set_status $ac_retval
2327
2328 } # ac_fn_c_try_link
2329
2330 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2331 # -------------------------------------------------------
2332 # Tests whether HEADER exists and can be compiled using the include files in
2333 # INCLUDES, setting the cache variable VAR accordingly.
2334 ac_fn_c_check_header_compile ()
2335 {
2336   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2337   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2338 $as_echo_n "checking for $2... " >&6; }
2339 if eval "test \"\${$3+set}\"" = set; then :
2340   $as_echo_n "(cached) " >&6
2341 else
2342   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2343 /* end confdefs.h.  */
2344 $4
2345 #include <$2>
2346 _ACEOF
2347 if ac_fn_c_try_compile "$LINENO"; then :
2348   eval "$3=yes"
2349 else
2350   eval "$3=no"
2351 fi
2352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2353 fi
2354 eval ac_res=\$$3
2355                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2356 $as_echo "$ac_res" >&6; }
2357   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2358
2359 } # ac_fn_c_check_header_compile
2360
2361 # ac_fn_c_try_cpp LINENO
2362 # ----------------------
2363 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2364 ac_fn_c_try_cpp ()
2365 {
2366   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2367   if { { ac_try="$ac_cpp conftest.$ac_ext"
2368 case "(($ac_try" in
2369   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2370   *) ac_try_echo=$ac_try;;
2371 esac
2372 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2373 $as_echo "$ac_try_echo"; } >&5
2374   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2375   ac_status=$?
2376   if test -s conftest.err; then
2377     grep -v '^ *+' conftest.err >conftest.er1
2378     cat conftest.er1 >&5
2379     mv -f conftest.er1 conftest.err
2380   fi
2381   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2382   test $ac_status = 0; } > conftest.i && {
2383          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2384          test ! -s conftest.err
2385        }; then :
2386   ac_retval=0
2387 else
2388   $as_echo "$as_me: failed program was:" >&5
2389 sed 's/^/| /' conftest.$ac_ext >&5
2390
2391     ac_retval=1
2392 fi
2393   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2394   as_fn_set_status $ac_retval
2395
2396 } # ac_fn_c_try_cpp
2397
2398 # ac_fn_c_try_run LINENO
2399 # ----------------------
2400 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2401 # that executables *can* be run.
2402 ac_fn_c_try_run ()
2403 {
2404   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2405   if { { ac_try="$ac_link"
2406 case "(($ac_try" in
2407   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2408   *) ac_try_echo=$ac_try;;
2409 esac
2410 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2411 $as_echo "$ac_try_echo"; } >&5
2412   (eval "$ac_link") 2>&5
2413   ac_status=$?
2414   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2415   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2416   { { case "(($ac_try" in
2417   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2418   *) ac_try_echo=$ac_try;;
2419 esac
2420 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2421 $as_echo "$ac_try_echo"; } >&5
2422   (eval "$ac_try") 2>&5
2423   ac_status=$?
2424   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2425   test $ac_status = 0; }; }; then :
2426   ac_retval=0
2427 else
2428   $as_echo "$as_me: program exited with status $ac_status" >&5
2429        $as_echo "$as_me: failed program was:" >&5
2430 sed 's/^/| /' conftest.$ac_ext >&5
2431
2432        ac_retval=$ac_status
2433 fi
2434   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2435   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2436   as_fn_set_status $ac_retval
2437
2438 } # ac_fn_c_try_run
2439
2440 # ac_fn_c_check_func LINENO FUNC VAR
2441 # ----------------------------------
2442 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2443 ac_fn_c_check_func ()
2444 {
2445   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2446   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2447 $as_echo_n "checking for $2... " >&6; }
2448 if eval "test \"\${$3+set}\"" = set; then :
2449   $as_echo_n "(cached) " >&6
2450 else
2451   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2452 /* end confdefs.h.  */
2453 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2454    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
2455 #define $2 innocuous_$2
2456
2457 /* System header to define __stub macros and hopefully few prototypes,
2458     which can conflict with char $2 (); below.
2459     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2460     <limits.h> exists even on freestanding compilers.  */
2461
2462 #ifdef __STDC__
2463 # include <limits.h>
2464 #else
2465 # include <assert.h>
2466 #endif
2467
2468 #undef $2
2469
2470 /* Override any GCC internal prototype to avoid an error.
2471    Use char because int might match the return type of a GCC
2472    builtin and then its argument prototype would still apply.  */
2473 #ifdef __cplusplus
2474 extern "C"
2475 #endif
2476 char $2 ();
2477 /* The GNU C library defines this for functions which it implements
2478     to always fail with ENOSYS.  Some functions are actually named
2479     something starting with __ and the normal name is an alias.  */
2480 #if defined __stub_$2 || defined __stub___$2
2481 choke me
2482 #endif
2483
2484 int
2485 main ()
2486 {
2487 return $2 ();
2488   ;
2489   return 0;
2490 }
2491 _ACEOF
2492 if ac_fn_c_try_link "$LINENO"; then :
2493   eval "$3=yes"
2494 else
2495   eval "$3=no"
2496 fi
2497 rm -f core conftest.err conftest.$ac_objext \
2498     conftest$ac_exeext conftest.$ac_ext
2499 fi
2500 eval ac_res=\$$3
2501                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2502 $as_echo "$ac_res" >&6; }
2503   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2504
2505 } # ac_fn_c_check_func
2506
2507 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2508 # ---------------------------------------------
2509 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2510 # accordingly.
2511 ac_fn_c_check_decl ()
2512 {
2513   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2514   as_decl_name=`echo $2|sed 's/ *(.*//'`
2515   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2516   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2517 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2518 if eval "test \"\${$3+set}\"" = set; then :
2519   $as_echo_n "(cached) " >&6
2520 else
2521   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2522 /* end confdefs.h.  */
2523 $4
2524 int
2525 main ()
2526 {
2527 #ifndef $as_decl_name
2528 #ifdef __cplusplus
2529   (void) $as_decl_use;
2530 #else
2531   (void) $as_decl_name;
2532 #endif
2533 #endif
2534
2535   ;
2536   return 0;
2537 }
2538 _ACEOF
2539 if ac_fn_c_try_compile "$LINENO"; then :
2540   eval "$3=yes"
2541 else
2542   eval "$3=no"
2543 fi
2544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2545 fi
2546 eval ac_res=\$$3
2547                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2548 $as_echo "$ac_res" >&6; }
2549   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2550
2551 } # ac_fn_c_check_decl
2552
2553 # ac_fn_cxx_try_compile LINENO
2554 # ----------------------------
2555 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2556 ac_fn_cxx_try_compile ()
2557 {
2558   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2559   rm -f conftest.$ac_objext
2560   if { { ac_try="$ac_compile"
2561 case "(($ac_try" in
2562   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2563   *) ac_try_echo=$ac_try;;
2564 esac
2565 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2566 $as_echo "$ac_try_echo"; } >&5
2567   (eval "$ac_compile") 2>conftest.err
2568   ac_status=$?
2569   if test -s conftest.err; then
2570     grep -v '^ *+' conftest.err >conftest.er1
2571     cat conftest.er1 >&5
2572     mv -f conftest.er1 conftest.err
2573   fi
2574   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2575   test $ac_status = 0; } && {
2576          test -z "$ac_cxx_werror_flag" ||
2577          test ! -s conftest.err
2578        } && test -s conftest.$ac_objext; then :
2579   ac_retval=0
2580 else
2581   $as_echo "$as_me: failed program was:" >&5
2582 sed 's/^/| /' conftest.$ac_ext >&5
2583
2584         ac_retval=1
2585 fi
2586   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2587   as_fn_set_status $ac_retval
2588
2589 } # ac_fn_cxx_try_compile
2590
2591 # ac_fn_cxx_try_cpp LINENO
2592 # ------------------------
2593 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2594 ac_fn_cxx_try_cpp ()
2595 {
2596   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2597   if { { ac_try="$ac_cpp conftest.$ac_ext"
2598 case "(($ac_try" in
2599   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2600   *) ac_try_echo=$ac_try;;
2601 esac
2602 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2603 $as_echo "$ac_try_echo"; } >&5
2604   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2605   ac_status=$?
2606   if test -s conftest.err; then
2607     grep -v '^ *+' conftest.err >conftest.er1
2608     cat conftest.er1 >&5
2609     mv -f conftest.er1 conftest.err
2610   fi
2611   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2612   test $ac_status = 0; } > conftest.i && {
2613          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2614          test ! -s conftest.err
2615        }; then :
2616   ac_retval=0
2617 else
2618   $as_echo "$as_me: failed program was:" >&5
2619 sed 's/^/| /' conftest.$ac_ext >&5
2620
2621     ac_retval=1
2622 fi
2623   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2624   as_fn_set_status $ac_retval
2625
2626 } # ac_fn_cxx_try_cpp
2627
2628 # ac_fn_cxx_try_link LINENO
2629 # -------------------------
2630 # Try to link conftest.$ac_ext, and return whether this succeeded.
2631 ac_fn_cxx_try_link ()
2632 {
2633   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2634   rm -f conftest.$ac_objext conftest$ac_exeext
2635   if { { ac_try="$ac_link"
2636 case "(($ac_try" in
2637   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2638   *) ac_try_echo=$ac_try;;
2639 esac
2640 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2641 $as_echo "$ac_try_echo"; } >&5
2642   (eval "$ac_link") 2>conftest.err
2643   ac_status=$?
2644   if test -s conftest.err; then
2645     grep -v '^ *+' conftest.err >conftest.er1
2646     cat conftest.er1 >&5
2647     mv -f conftest.er1 conftest.err
2648   fi
2649   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2650   test $ac_status = 0; } && {
2651          test -z "$ac_cxx_werror_flag" ||
2652          test ! -s conftest.err
2653        } && test -s conftest$ac_exeext && {
2654          test "$cross_compiling" = yes ||
2655          $as_test_x conftest$ac_exeext
2656        }; then :
2657   ac_retval=0
2658 else
2659   $as_echo "$as_me: failed program was:" >&5
2660 sed 's/^/| /' conftest.$ac_ext >&5
2661
2662         ac_retval=1
2663 fi
2664   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2665   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2666   # interfere with the next link command; also delete a directory that is
2667   # left behind by Apple's compiler.  We do this before executing the actions.
2668   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2669   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2670   as_fn_set_status $ac_retval
2671
2672 } # ac_fn_cxx_try_link
2673
2674 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2675 # -------------------------------------------------------
2676 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2677 # the include files in INCLUDES and setting the cache variable VAR
2678 # accordingly.
2679 ac_fn_c_check_header_mongrel ()
2680 {
2681   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2682   if eval "test \"\${$3+set}\"" = set; then :
2683   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2684 $as_echo_n "checking for $2... " >&6; }
2685 if eval "test \"\${$3+set}\"" = set; then :
2686   $as_echo_n "(cached) " >&6
2687 fi
2688 eval ac_res=\$$3
2689                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2690 $as_echo "$ac_res" >&6; }
2691 else
2692   # Is the header compilable?
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2694 $as_echo_n "checking $2 usability... " >&6; }
2695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2696 /* end confdefs.h.  */
2697 $4
2698 #include <$2>
2699 _ACEOF
2700 if ac_fn_c_try_compile "$LINENO"; then :
2701   ac_header_compiler=yes
2702 else
2703   ac_header_compiler=no
2704 fi
2705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2707 $as_echo "$ac_header_compiler" >&6; }
2708
2709 # Is the header present?
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2711 $as_echo_n "checking $2 presence... " >&6; }
2712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2713 /* end confdefs.h.  */
2714 #include <$2>
2715 _ACEOF
2716 if ac_fn_c_try_cpp "$LINENO"; then :
2717   ac_header_preproc=yes
2718 else
2719   ac_header_preproc=no
2720 fi
2721 rm -f conftest.err conftest.i conftest.$ac_ext
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2723 $as_echo "$ac_header_preproc" >&6; }
2724
2725 # So?  What about this header?
2726 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2727   yes:no: )
2728     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2729 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2730     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2731 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2732     ;;
2733   no:yes:* )
2734     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2735 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2736     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2737 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2738     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2739 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2740     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2741 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2742     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2743 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2744 ( $as_echo "## ------------------------------------------------------------------------ ##
2745 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer ##
2746 ## ------------------------------------------------------------------------ ##"
2747      ) | sed "s/^/$as_me: WARNING:     /" >&2
2748     ;;
2749 esac
2750   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2751 $as_echo_n "checking for $2... " >&6; }
2752 if eval "test \"\${$3+set}\"" = set; then :
2753   $as_echo_n "(cached) " >&6
2754 else
2755   eval "$3=\$ac_header_compiler"
2756 fi
2757 eval ac_res=\$$3
2758                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2759 $as_echo "$ac_res" >&6; }
2760 fi
2761   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2762
2763 } # ac_fn_c_check_header_mongrel
2764
2765 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2766 # -------------------------------------------
2767 # Tests whether TYPE exists after having included INCLUDES, setting cache
2768 # variable VAR accordingly.
2769 ac_fn_c_check_type ()
2770 {
2771   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2772   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2773 $as_echo_n "checking for $2... " >&6; }
2774 if eval "test \"\${$3+set}\"" = set; then :
2775   $as_echo_n "(cached) " >&6
2776 else
2777   eval "$3=no"
2778   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2779 /* end confdefs.h.  */
2780 $4
2781 int
2782 main ()
2783 {
2784 if (sizeof ($2))
2785          return 0;
2786   ;
2787   return 0;
2788 }
2789 _ACEOF
2790 if ac_fn_c_try_compile "$LINENO"; then :
2791   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2792 /* end confdefs.h.  */
2793 $4
2794 int
2795 main ()
2796 {
2797 if (sizeof (($2)))
2798             return 0;
2799   ;
2800   return 0;
2801 }
2802 _ACEOF
2803 if ac_fn_c_try_compile "$LINENO"; then :
2804
2805 else
2806   eval "$3=yes"
2807 fi
2808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2809 fi
2810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2811 fi
2812 eval ac_res=\$$3
2813                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2814 $as_echo "$ac_res" >&6; }
2815   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2816
2817 } # ac_fn_c_check_type
2818
2819 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2820 # --------------------------------------------
2821 # Tries to find the compile-time value of EXPR in a program that includes
2822 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2823 # computed
2824 ac_fn_c_compute_int ()
2825 {
2826   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2827   if test "$cross_compiling" = yes; then
2828     # Depending upon the size, compute the lo and hi bounds.
2829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2830 /* end confdefs.h.  */
2831 $4
2832 int
2833 main ()
2834 {
2835 static int test_array [1 - 2 * !(($2) >= 0)];
2836 test_array [0] = 0
2837
2838   ;
2839   return 0;
2840 }
2841 _ACEOF
2842 if ac_fn_c_try_compile "$LINENO"; then :
2843   ac_lo=0 ac_mid=0
2844   while :; do
2845     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2846 /* end confdefs.h.  */
2847 $4
2848 int
2849 main ()
2850 {
2851 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2852 test_array [0] = 0
2853
2854   ;
2855   return 0;
2856 }
2857 _ACEOF
2858 if ac_fn_c_try_compile "$LINENO"; then :
2859   ac_hi=$ac_mid; break
2860 else
2861   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2862                         if test $ac_lo -le $ac_mid; then
2863                           ac_lo= ac_hi=
2864                           break
2865                         fi
2866                         as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2867 fi
2868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2869   done
2870 else
2871   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2872 /* end confdefs.h.  */
2873 $4
2874 int
2875 main ()
2876 {
2877 static int test_array [1 - 2 * !(($2) < 0)];
2878 test_array [0] = 0
2879
2880   ;
2881   return 0;
2882 }
2883 _ACEOF
2884 if ac_fn_c_try_compile "$LINENO"; then :
2885   ac_hi=-1 ac_mid=-1
2886   while :; do
2887     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2888 /* end confdefs.h.  */
2889 $4
2890 int
2891 main ()
2892 {
2893 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2894 test_array [0] = 0
2895
2896   ;
2897   return 0;
2898 }
2899 _ACEOF
2900 if ac_fn_c_try_compile "$LINENO"; then :
2901   ac_lo=$ac_mid; break
2902 else
2903   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2904                         if test $ac_mid -le $ac_hi; then
2905                           ac_lo= ac_hi=
2906                           break
2907                         fi
2908                         as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2909 fi
2910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2911   done
2912 else
2913   ac_lo= ac_hi=
2914 fi
2915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2916 fi
2917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2918 # Binary search between lo and hi bounds.
2919 while test "x$ac_lo" != "x$ac_hi"; do
2920   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2921   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2922 /* end confdefs.h.  */
2923 $4
2924 int
2925 main ()
2926 {
2927 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2928 test_array [0] = 0
2929
2930   ;
2931   return 0;
2932 }
2933 _ACEOF
2934 if ac_fn_c_try_compile "$LINENO"; then :
2935   ac_hi=$ac_mid
2936 else
2937   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2938 fi
2939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2940 done
2941 case $ac_lo in #((
2942 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2943 '') ac_retval=1 ;;
2944 esac
2945   else
2946     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2947 /* end confdefs.h.  */
2948 $4
2949 static long int longval () { return $2; }
2950 static unsigned long int ulongval () { return $2; }
2951 #include <stdio.h>
2952 #include <stdlib.h>
2953 int
2954 main ()
2955 {
2956
2957   FILE *f = fopen ("conftest.val", "w");
2958   if (! f)
2959     return 1;
2960   if (($2) < 0)
2961     {
2962       long int i = longval ();
2963       if (i != ($2))
2964         return 1;
2965       fprintf (f, "%ld", i);
2966     }
2967   else
2968     {
2969       unsigned long int i = ulongval ();
2970       if (i != ($2))
2971         return 1;
2972       fprintf (f, "%lu", i);
2973     }
2974   /* Do not output a trailing newline, as this causes \r\n confusion
2975      on some platforms.  */
2976   return ferror (f) || fclose (f) != 0;
2977
2978   ;
2979   return 0;
2980 }
2981 _ACEOF
2982 if ac_fn_c_try_run "$LINENO"; then :
2983   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2984 else
2985   ac_retval=1
2986 fi
2987 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2988   conftest.$ac_objext conftest.beam conftest.$ac_ext
2989 rm -f conftest.val
2990
2991   fi
2992   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2993   as_fn_set_status $ac_retval
2994
2995 } # ac_fn_c_compute_int
2996 cat >config.log <<_ACEOF
2997 This file contains any messages produced by compilers while
2998 running configure, to aid debugging if configure makes a mistake.
2999
3000 It was created by GStreamer Base Plug-ins $as_me 0.10.34, which was
3001 generated by GNU Autoconf 2.67.  Invocation command line was
3002
3003   $ $0 $@
3004
3005 _ACEOF
3006 exec 5>>config.log
3007 {
3008 cat <<_ASUNAME
3009 ## --------- ##
3010 ## Platform. ##
3011 ## --------- ##
3012
3013 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3014 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3015 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3016 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3017 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3018
3019 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3020 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
3021
3022 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
3023 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
3024 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3025 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
3026 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
3027 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
3028 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
3029
3030 _ASUNAME
3031
3032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3033 for as_dir in $PATH
3034 do
3035   IFS=$as_save_IFS
3036   test -z "$as_dir" && as_dir=.
3037     $as_echo "PATH: $as_dir"
3038   done
3039 IFS=$as_save_IFS
3040
3041 } >&5
3042
3043 cat >&5 <<_ACEOF
3044
3045
3046 ## ----------- ##
3047 ## Core tests. ##
3048 ## ----------- ##
3049
3050 _ACEOF
3051
3052
3053 # Keep a trace of the command line.
3054 # Strip out --no-create and --no-recursion so they do not pile up.
3055 # Strip out --silent because we don't want to record it for future runs.
3056 # Also quote any args containing shell meta-characters.
3057 # Make two passes to allow for proper duplicate-argument suppression.
3058 ac_configure_args=
3059 ac_configure_args0=
3060 ac_configure_args1=
3061 ac_must_keep_next=false
3062 for ac_pass in 1 2
3063 do
3064   for ac_arg
3065   do
3066     case $ac_arg in
3067     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3068     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3069     | -silent | --silent | --silen | --sile | --sil)
3070       continue ;;
3071     *\'*)
3072       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3073     esac
3074     case $ac_pass in
3075     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3076     2)
3077       as_fn_append ac_configure_args1 " '$ac_arg'"
3078       if test $ac_must_keep_next = true; then
3079         ac_must_keep_next=false # Got value, back to normal.
3080       else
3081         case $ac_arg in
3082           *=* | --config-cache | -C | -disable-* | --disable-* \
3083           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3084           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3085           | -with-* | --with-* | -without-* | --without-* | --x)
3086             case "$ac_configure_args0 " in
3087               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3088             esac
3089             ;;
3090           -* ) ac_must_keep_next=true ;;
3091         esac
3092       fi
3093       as_fn_append ac_configure_args " '$ac_arg'"
3094       ;;
3095     esac
3096   done
3097 done
3098 { ac_configure_args0=; unset ac_configure_args0;}
3099 { ac_configure_args1=; unset ac_configure_args1;}
3100
3101 # When interrupted or exit'd, cleanup temporary files, and complete
3102 # config.log.  We remove comments because anyway the quotes in there
3103 # would cause problems or look ugly.
3104 # WARNING: Use '\'' to represent an apostrophe within the trap.
3105 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3106 trap 'exit_status=$?
3107   # Save into config.log some information that might help in debugging.
3108   {
3109     echo
3110
3111     $as_echo "## ---------------- ##
3112 ## Cache variables. ##
3113 ## ---------------- ##"
3114     echo
3115     # The following way of writing the cache mishandles newlines in values,
3116 (
3117   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3118     eval ac_val=\$$ac_var
3119     case $ac_val in #(
3120     *${as_nl}*)
3121       case $ac_var in #(
3122       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3123 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3124       esac
3125       case $ac_var in #(
3126       _ | IFS | as_nl) ;; #(
3127       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3128       *) { eval $ac_var=; unset $ac_var;} ;;
3129       esac ;;
3130     esac
3131   done
3132   (set) 2>&1 |
3133     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3134     *${as_nl}ac_space=\ *)
3135       sed -n \
3136         "s/'\''/'\''\\\\'\'''\''/g;
3137           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3138       ;; #(
3139     *)
3140       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3141       ;;
3142     esac |
3143     sort
3144 )
3145     echo
3146
3147     $as_echo "## ----------------- ##
3148 ## Output variables. ##
3149 ## ----------------- ##"
3150     echo
3151     for ac_var in $ac_subst_vars
3152     do
3153       eval ac_val=\$$ac_var
3154       case $ac_val in
3155       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3156       esac
3157       $as_echo "$ac_var='\''$ac_val'\''"
3158     done | sort
3159     echo
3160
3161     if test -n "$ac_subst_files"; then
3162       $as_echo "## ------------------- ##
3163 ## File substitutions. ##
3164 ## ------------------- ##"
3165       echo
3166       for ac_var in $ac_subst_files
3167       do
3168         eval ac_val=\$$ac_var
3169         case $ac_val in
3170         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3171         esac
3172         $as_echo "$ac_var='\''$ac_val'\''"
3173       done | sort
3174       echo
3175     fi
3176
3177     if test -s confdefs.h; then
3178       $as_echo "## ----------- ##
3179 ## confdefs.h. ##
3180 ## ----------- ##"
3181       echo
3182       cat confdefs.h
3183       echo
3184     fi
3185     test "$ac_signal" != 0 &&
3186       $as_echo "$as_me: caught signal $ac_signal"
3187     $as_echo "$as_me: exit $exit_status"
3188   } >&5
3189   rm -f core *.core core.conftest.* &&
3190     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3191     exit $exit_status
3192 ' 0
3193 for ac_signal in 1 2 13 15; do
3194   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3195 done
3196 ac_signal=0
3197
3198 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3199 rm -f -r conftest* confdefs.h
3200
3201 $as_echo "/* confdefs.h */" > confdefs.h
3202
3203 # Predefined preprocessor variables.
3204
3205 cat >>confdefs.h <<_ACEOF
3206 #define PACKAGE_NAME "$PACKAGE_NAME"
3207 _ACEOF
3208
3209 cat >>confdefs.h <<_ACEOF
3210 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3211 _ACEOF
3212
3213 cat >>confdefs.h <<_ACEOF
3214 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3215 _ACEOF
3216
3217 cat >>confdefs.h <<_ACEOF
3218 #define PACKAGE_STRING "$PACKAGE_STRING"
3219 _ACEOF
3220
3221 cat >>confdefs.h <<_ACEOF
3222 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3223 _ACEOF
3224
3225 cat >>confdefs.h <<_ACEOF
3226 #define PACKAGE_URL "$PACKAGE_URL"
3227 _ACEOF
3228
3229
3230 # Let the site file select an alternate cache file if it wants to.
3231 # Prefer an explicitly selected file to automatically selected ones.
3232 ac_site_file1=NONE
3233 ac_site_file2=NONE
3234 if test -n "$CONFIG_SITE"; then
3235   # We do not want a PATH search for config.site.
3236   case $CONFIG_SITE in #((
3237     -*)  ac_site_file1=./$CONFIG_SITE;;
3238     */*) ac_site_file1=$CONFIG_SITE;;
3239     *)   ac_site_file1=./$CONFIG_SITE;;
3240   esac
3241 elif test "x$prefix" != xNONE; then
3242   ac_site_file1=$prefix/share/config.site
3243   ac_site_file2=$prefix/etc/config.site
3244 else
3245   ac_site_file1=$ac_default_prefix/share/config.site
3246   ac_site_file2=$ac_default_prefix/etc/config.site
3247 fi
3248 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3249 do
3250   test "x$ac_site_file" = xNONE && continue
3251   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3252     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3253 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3254     sed 's/^/| /' "$ac_site_file" >&5
3255     . "$ac_site_file" \
3256       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3257 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3258 as_fn_error $? "failed to load site script $ac_site_file
3259 See \`config.log' for more details" "$LINENO" 5 ; }
3260   fi
3261 done
3262
3263 if test -r "$cache_file"; then
3264   # Some versions of bash will fail to source /dev/null (special files
3265   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
3266   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3267     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3268 $as_echo "$as_me: loading cache $cache_file" >&6;}
3269     case $cache_file in
3270       [\\/]* | ?:[\\/]* ) . "$cache_file";;
3271       *)                      . "./$cache_file";;
3272     esac
3273   fi
3274 else
3275   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3276 $as_echo "$as_me: creating cache $cache_file" >&6;}
3277   >$cache_file
3278 fi
3279
3280 gt_needs="$gt_needs "
3281 # Check that the precious variables saved in the cache have kept the same
3282 # value.
3283 ac_cache_corrupted=false
3284 for ac_var in $ac_precious_vars; do
3285   eval ac_old_set=\$ac_cv_env_${ac_var}_set
3286   eval ac_new_set=\$ac_env_${ac_var}_set
3287   eval ac_old_val=\$ac_cv_env_${ac_var}_value
3288   eval ac_new_val=\$ac_env_${ac_var}_value
3289   case $ac_old_set,$ac_new_set in
3290     set,)
3291       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3292 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3293       ac_cache_corrupted=: ;;
3294     ,set)
3295       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3296 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3297       ac_cache_corrupted=: ;;
3298     ,);;
3299     *)
3300       if test "x$ac_old_val" != "x$ac_new_val"; then
3301         # differences in whitespace do not lead to failure.
3302         ac_old_val_w=`echo x $ac_old_val`
3303         ac_new_val_w=`echo x $ac_new_val`
3304         if test "$ac_old_val_w" != "$ac_new_val_w"; then
3305           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3306 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3307           ac_cache_corrupted=:
3308         else
3309           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3310 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3311           eval $ac_var=\$ac_old_val
3312         fi
3313         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
3314 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
3315         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
3316 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
3317       fi;;
3318   esac
3319   # Pass precious variables to config.status.
3320   if test "$ac_new_set" = set; then
3321     case $ac_new_val in
3322     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3323     *) ac_arg=$ac_var=$ac_new_val ;;
3324     esac
3325     case " $ac_configure_args " in
3326       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
3327       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3328     esac
3329   fi
3330 done
3331 if $ac_cache_corrupted; then
3332   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3333 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3334   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3335 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3336   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3337 fi
3338 ## -------------------- ##
3339 ## Main body of script. ##
3340 ## -------------------- ##
3341
3342 ac_ext=c
3343 ac_cpp='$CPP $CPPFLAGS'
3344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3347
3348
3349
3350
3351
3352
3353
3354 am__api_version='1.11'
3355
3356 ac_aux_dir=
3357 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3358   if test -f "$ac_dir/install-sh"; then
3359     ac_aux_dir=$ac_dir
3360     ac_install_sh="$ac_aux_dir/install-sh -c"
3361     break
3362   elif test -f "$ac_dir/install.sh"; then
3363     ac_aux_dir=$ac_dir
3364     ac_install_sh="$ac_aux_dir/install.sh -c"
3365     break
3366   elif test -f "$ac_dir/shtool"; then
3367     ac_aux_dir=$ac_dir
3368     ac_install_sh="$ac_aux_dir/shtool install -c"
3369     break
3370   fi
3371 done
3372 if test -z "$ac_aux_dir"; then
3373   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3374 fi
3375
3376 # These three variables are undocumented and unsupported,
3377 # and are intended to be withdrawn in a future Autoconf release.
3378 # They can cause serious problems if a builder's source tree is in a directory
3379 # whose full name contains unusual characters.
3380 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
3381 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
3382 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
3383
3384
3385 # Find a good install program.  We prefer a C program (faster),
3386 # so one script is as good as another.  But avoid the broken or
3387 # incompatible versions:
3388 # SysV /etc/install, /usr/sbin/install
3389 # SunOS /usr/etc/install
3390 # IRIX /sbin/install
3391 # AIX /bin/install
3392 # AmigaOS /C/install, which installs bootblocks on floppy discs
3393 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3394 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3395 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3396 # OS/2's system install, which has a completely different semantic
3397 # ./install, which can be erroneously created by make from ./install.sh.
3398 # Reject install programs that cannot install multiple files.
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3400 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3401 if test -z "$INSTALL"; then
3402 if test "${ac_cv_path_install+set}" = set; then :
3403   $as_echo_n "(cached) " >&6
3404 else
3405   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3406 for as_dir in $PATH
3407 do
3408   IFS=$as_save_IFS
3409   test -z "$as_dir" && as_dir=.
3410     # Account for people who put trailing slashes in PATH elements.
3411 case $as_dir/ in #((
3412   ./ | .// | /[cC]/* | \
3413   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3414   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3415   /usr/ucb/* ) ;;
3416   *)
3417     # OSF1 and SCO ODT 3.0 have their own names for install.
3418     # Don't use installbsd from OSF since it installs stuff as root
3419     # by default.
3420     for ac_prog in ginstall scoinst install; do
3421       for ac_exec_ext in '' $ac_executable_extensions; do
3422         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3423           if test $ac_prog = install &&
3424             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3425             # AIX install.  It has an incompatible calling convention.
3426             :
3427           elif test $ac_prog = install &&
3428             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3429             # program-specific install script used by HP pwplus--don't use.
3430             :
3431           else
3432             rm -rf conftest.one conftest.two conftest.dir
3433             echo one > conftest.one
3434             echo two > conftest.two
3435             mkdir conftest.dir
3436             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3437               test -s conftest.one && test -s conftest.two &&
3438               test -s conftest.dir/conftest.one &&
3439               test -s conftest.dir/conftest.two
3440             then
3441               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3442               break 3
3443             fi
3444           fi
3445         fi
3446       done
3447     done
3448     ;;
3449 esac
3450
3451   done
3452 IFS=$as_save_IFS
3453
3454 rm -rf conftest.one conftest.two conftest.dir
3455
3456 fi
3457   if test "${ac_cv_path_install+set}" = set; then
3458     INSTALL=$ac_cv_path_install
3459   else
3460     # As a last resort, use the slow shell script.  Don't cache a
3461     # value for INSTALL within a source directory, because that will
3462     # break other packages using the cache if that directory is
3463     # removed, or if the value is a relative name.
3464     INSTALL=$ac_install_sh
3465   fi
3466 fi
3467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3468 $as_echo "$INSTALL" >&6; }
3469
3470 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3471 # It thinks the first close brace ends the variable substitution.
3472 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3473
3474 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3475
3476 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3477
3478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3479 $as_echo_n "checking whether build environment is sane... " >&6; }
3480 # Just in case
3481 sleep 1
3482 echo timestamp > conftest.file
3483 # Reject unsafe characters in $srcdir or the absolute working directory
3484 # name.  Accept space and tab only in the latter.
3485 am_lf='
3486 '
3487 case `pwd` in
3488   *[\\\"\#\$\&\'\`$am_lf]*)
3489     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
3490 esac
3491 case $srcdir in
3492   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
3493     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
3494 esac
3495
3496 # Do `set' in a subshell so we don't clobber the current shell's
3497 # arguments.  Must try -L first in case configure is actually a
3498 # symlink; some systems play weird games with the mod time of symlinks
3499 # (eg FreeBSD returns the mod time of the symlink's containing
3500 # directory).
3501 if (
3502    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3503    if test "$*" = "X"; then
3504       # -L didn't work.
3505       set X `ls -t "$srcdir/configure" conftest.file`
3506    fi
3507    rm -f conftest.file
3508    if test "$*" != "X $srcdir/configure conftest.file" \
3509       && test "$*" != "X conftest.file $srcdir/configure"; then
3510
3511       # If neither matched, then we have a broken ls.  This can happen
3512       # if, for instance, CONFIG_SHELL is bash and it inherits a
3513       # broken ls alias from the environment.  This has actually
3514       # happened.  Such a system could not be considered "sane".
3515       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
3516 alias in your environment" "$LINENO" 5
3517    fi
3518
3519    test "$2" = conftest.file
3520    )
3521 then
3522    # Ok.
3523    :
3524 else
3525    as_fn_error $? "newly created file is older than distributed files!
3526 Check your system clock" "$LINENO" 5
3527 fi
3528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3529 $as_echo "yes" >&6; }
3530 test "$program_prefix" != NONE &&
3531   program_transform_name="s&^&$program_prefix&;$program_transform_name"
3532 # Use a double $ so make ignores it.
3533 test "$program_suffix" != NONE &&
3534   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3535 # Double any \ or $.
3536 # By default was `s,x,x', remove it if useless.
3537 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3538 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3539
3540 # expand $ac_aux_dir to an absolute path
3541 am_aux_dir=`cd $ac_aux_dir && pwd`
3542
3543 if test x"${MISSING+set}" != xset; then
3544   case $am_aux_dir in
3545   *\ * | *\     *)
3546     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3547   *)
3548     MISSING="\${SHELL} $am_aux_dir/missing" ;;
3549   esac
3550 fi
3551 # Use eval to expand $SHELL
3552 if eval "$MISSING --run true"; then
3553   am_missing_run="$MISSING --run "
3554 else
3555   am_missing_run=
3556   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3557 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3558 fi
3559
3560 if test x"${install_sh}" != xset; then
3561   case $am_aux_dir in
3562   *\ * | *\     *)
3563     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3564   *)
3565     install_sh="\${SHELL} $am_aux_dir/install-sh"
3566   esac
3567 fi
3568
3569 # Installed binaries are usually stripped using `strip' when the user
3570 # run `make install-strip'.  However `strip' might not be the right
3571 # tool to use in cross-compilation environments, therefore Automake
3572 # will honor the `STRIP' environment variable to overrule this program.
3573 if test "$cross_compiling" != no; then
3574   if test -n "$ac_tool_prefix"; then
3575   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3576 set dummy ${ac_tool_prefix}strip; ac_word=$2
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3578 $as_echo_n "checking for $ac_word... " >&6; }
3579 if test "${ac_cv_prog_STRIP+set}" = set; then :
3580   $as_echo_n "(cached) " >&6
3581 else
3582   if test -n "$STRIP"; then
3583   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3584 else
3585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3586 for as_dir in $PATH
3587 do
3588   IFS=$as_save_IFS
3589   test -z "$as_dir" && as_dir=.
3590     for ac_exec_ext in '' $ac_executable_extensions; do
3591   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3592     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3593     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3594     break 2
3595   fi
3596 done
3597   done
3598 IFS=$as_save_IFS
3599
3600 fi
3601 fi
3602 STRIP=$ac_cv_prog_STRIP
3603 if test -n "$STRIP"; then
3604   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3605 $as_echo "$STRIP" >&6; }
3606 else
3607   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3608 $as_echo "no" >&6; }
3609 fi
3610
3611
3612 fi
3613 if test -z "$ac_cv_prog_STRIP"; then
3614   ac_ct_STRIP=$STRIP
3615   # Extract the first word of "strip", so it can be a program name with args.
3616 set dummy strip; ac_word=$2
3617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3618 $as_echo_n "checking for $ac_word... " >&6; }
3619 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3620   $as_echo_n "(cached) " >&6
3621 else
3622   if test -n "$ac_ct_STRIP"; then
3623   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3624 else
3625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3626 for as_dir in $PATH
3627 do
3628   IFS=$as_save_IFS
3629   test -z "$as_dir" && as_dir=.
3630     for ac_exec_ext in '' $ac_executable_extensions; do
3631   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3632     ac_cv_prog_ac_ct_STRIP="strip"
3633     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3634     break 2
3635   fi
3636 done
3637   done
3638 IFS=$as_save_IFS
3639
3640 fi
3641 fi
3642 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3643 if test -n "$ac_ct_STRIP"; then
3644   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3645 $as_echo "$ac_ct_STRIP" >&6; }
3646 else
3647   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3648 $as_echo "no" >&6; }
3649 fi
3650
3651   if test "x$ac_ct_STRIP" = x; then
3652     STRIP=":"
3653   else
3654     case $cross_compiling:$ac_tool_warned in
3655 yes:)
3656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3657 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3658 ac_tool_warned=yes ;;
3659 esac
3660     STRIP=$ac_ct_STRIP
3661   fi
3662 else
3663   STRIP="$ac_cv_prog_STRIP"
3664 fi
3665
3666 fi
3667 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3668
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3670 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3671 if test -z "$MKDIR_P"; then
3672   if test "${ac_cv_path_mkdir+set}" = set; then :
3673   $as_echo_n "(cached) " >&6
3674 else
3675   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3676 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3677 do
3678   IFS=$as_save_IFS
3679   test -z "$as_dir" && as_dir=.
3680     for ac_prog in mkdir gmkdir; do
3681          for ac_exec_ext in '' $ac_executable_extensions; do
3682            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3683            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3684              'mkdir (GNU coreutils) '* | \
3685              'mkdir (coreutils) '* | \
3686              'mkdir (fileutils) '4.1*)
3687                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3688                break 3;;
3689            esac
3690          done
3691        done
3692   done
3693 IFS=$as_save_IFS
3694
3695 fi
3696
3697   test -d ./--version && rmdir ./--version
3698   if test "${ac_cv_path_mkdir+set}" = set; then
3699     MKDIR_P="$ac_cv_path_mkdir -p"
3700   else
3701     # As a last resort, use the slow shell script.  Don't cache a
3702     # value for MKDIR_P within a source directory, because that will
3703     # break other packages using the cache if that directory is
3704     # removed, or if the value is a relative name.
3705     MKDIR_P="$ac_install_sh -d"
3706   fi
3707 fi
3708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3709 $as_echo "$MKDIR_P" >&6; }
3710
3711 mkdir_p="$MKDIR_P"
3712 case $mkdir_p in
3713   [\\/$]* | ?:[\\/]*) ;;
3714   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3715 esac
3716
3717 for ac_prog in gawk mawk nawk awk
3718 do
3719   # Extract the first word of "$ac_prog", so it can be a program name with args.
3720 set dummy $ac_prog; ac_word=$2
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3722 $as_echo_n "checking for $ac_word... " >&6; }
3723 if test "${ac_cv_prog_AWK+set}" = set; then :
3724   $as_echo_n "(cached) " >&6
3725 else
3726   if test -n "$AWK"; then
3727   ac_cv_prog_AWK="$AWK" # Let the user override the test.
3728 else
3729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3730 for as_dir in $PATH
3731 do
3732   IFS=$as_save_IFS
3733   test -z "$as_dir" && as_dir=.
3734     for ac_exec_ext in '' $ac_executable_extensions; do
3735   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3736     ac_cv_prog_AWK="$ac_prog"
3737     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3738     break 2
3739   fi
3740 done
3741   done
3742 IFS=$as_save_IFS
3743
3744 fi
3745 fi
3746 AWK=$ac_cv_prog_AWK
3747 if test -n "$AWK"; then
3748   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3749 $as_echo "$AWK" >&6; }
3750 else
3751   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3752 $as_echo "no" >&6; }
3753 fi
3754
3755
3756   test -n "$AWK" && break
3757 done
3758
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3760 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3761 set x ${MAKE-make}
3762 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3763 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
3764   $as_echo_n "(cached) " >&6
3765 else
3766   cat >conftest.make <<\_ACEOF
3767 SHELL = /bin/sh
3768 all:
3769         @echo '@@@%%%=$(MAKE)=@@@%%%'
3770 _ACEOF
3771 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3772 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3773   *@@@%%%=?*=@@@%%%*)
3774     eval ac_cv_prog_make_${ac_make}_set=yes;;
3775   *)
3776     eval ac_cv_prog_make_${ac_make}_set=no;;
3777 esac
3778 rm -f conftest.make
3779 fi
3780 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3781   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3782 $as_echo "yes" >&6; }
3783   SET_MAKE=
3784 else
3785   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3786 $as_echo "no" >&6; }
3787   SET_MAKE="MAKE=${MAKE-make}"
3788 fi
3789
3790 rm -rf .tst 2>/dev/null
3791 mkdir .tst 2>/dev/null
3792 if test -d .tst; then
3793   am__leading_dot=.
3794 else
3795   am__leading_dot=_
3796 fi
3797 rmdir .tst 2>/dev/null
3798
3799 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3800   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3801   # is not polluted with repeated "-I."
3802   am__isrc=' -I$(srcdir)'
3803   # test to see if srcdir already configured
3804   if test -f $srcdir/config.status; then
3805     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3806   fi
3807 fi
3808
3809 # test whether we have cygpath
3810 if test -z "$CYGPATH_W"; then
3811   if (cygpath --version) >/dev/null 2>/dev/null; then
3812     CYGPATH_W='cygpath -w'
3813   else
3814     CYGPATH_W=echo
3815   fi
3816 fi
3817
3818
3819 # Define the identity of the package.
3820  PACKAGE='gst-plugins-base'
3821  VERSION='0.10.34'
3822
3823
3824 cat >>confdefs.h <<_ACEOF
3825 #define PACKAGE "$PACKAGE"
3826 _ACEOF
3827
3828
3829 cat >>confdefs.h <<_ACEOF
3830 #define VERSION "$VERSION"
3831 _ACEOF
3832
3833 # Some tools Automake needs.
3834
3835 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3836
3837
3838 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3839
3840
3841 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3842
3843
3844 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3845
3846
3847 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3848
3849 # We need awk for the "check" target.  The system "awk" is bad on
3850 # some platforms.
3851 # Always define AMTAR for backward compatibility.
3852
3853 AMTAR=${AMTAR-"${am_missing_run}tar"}
3854
3855 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3856
3857
3858
3859
3860
3861
3862
3863   PACKAGE_VERSION_MAJOR=$(echo 0.10.34 | cut -d'.' -f1)
3864   PACKAGE_VERSION_MINOR=$(echo 0.10.34 | cut -d'.' -f2)
3865   PACKAGE_VERSION_MICRO=$(echo 0.10.34 | cut -d'.' -f3)
3866
3867
3868
3869
3870
3871
3872
3873   { $as_echo "$as_me:${as_lineno-$LINENO}: checking nano version" >&5
3874 $as_echo_n "checking nano version... " >&6; }
3875
3876   NANO=$(echo 0.10.34 | cut -d'.' -f4)
3877
3878   if test x"$NANO" = x || test "x$NANO" = "x0" ; then
3879     { $as_echo "$as_me:${as_lineno-$LINENO}: result: 0 (release)" >&5
3880 $as_echo "0 (release)" >&6; }
3881     NANO=0
3882     PACKAGE_VERSION_RELEASE=1
3883     GST_GIT="no"
3884   else
3885     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NANO" >&5
3886 $as_echo "$NANO" >&6; }
3887     PACKAGE_VERSION_RELEASE=0.`date +%Y%m%d.%H%M%S`
3888     if test "x$NANO" != "x1" ; then
3889        GST_GIT="no"
3890     else
3891        GST_GIT="yes"
3892     fi
3893   fi
3894   PACKAGE_VERSION_NANO=$NANO
3895
3896
3897
3898
3899
3900
3901 ac_config_headers="$ac_config_headers config.h"
3902
3903
3904
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3906 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3907     # Check whether --enable-maintainer-mode was given.
3908 if test "${enable_maintainer_mode+set}" = set; then :
3909   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3910 else
3911   USE_MAINTAINER_MODE=no
3912 fi
3913
3914   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3915 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3916    if test $USE_MAINTAINER_MODE = yes; then
3917   MAINTAINER_MODE_TRUE=
3918   MAINTAINER_MODE_FALSE='#'
3919 else
3920   MAINTAINER_MODE_TRUE='#'
3921   MAINTAINER_MODE_FALSE=
3922 fi
3923
3924   MAINT=$MAINTAINER_MODE_TRUE
3925
3926
3927
3928 # Make sure we can run config.sub.
3929 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3930   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3931
3932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3933 $as_echo_n "checking build system type... " >&6; }
3934 if test "${ac_cv_build+set}" = set; then :
3935   $as_echo_n "(cached) " >&6
3936 else
3937   ac_build_alias=$build_alias
3938 test "x$ac_build_alias" = x &&
3939   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3940 test "x$ac_build_alias" = x &&
3941   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3942 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3943   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3944
3945 fi
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3947 $as_echo "$ac_cv_build" >&6; }
3948 case $ac_cv_build in
3949 *-*-*) ;;
3950 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
3951 esac
3952 build=$ac_cv_build
3953 ac_save_IFS=$IFS; IFS='-'
3954 set x $ac_cv_build
3955 shift
3956 build_cpu=$1
3957 build_vendor=$2
3958 shift; shift
3959 # Remember, the first character of IFS is used to create $*,
3960 # except with old shells:
3961 build_os=$*
3962 IFS=$ac_save_IFS
3963 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3964
3965
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3967 $as_echo_n "checking host system type... " >&6; }
3968 if test "${ac_cv_host+set}" = set; then :
3969   $as_echo_n "(cached) " >&6
3970 else
3971   if test "x$host_alias" = x; then
3972   ac_cv_host=$ac_cv_build
3973 else
3974   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3975     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3976 fi
3977
3978 fi
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3980 $as_echo "$ac_cv_host" >&6; }
3981 case $ac_cv_host in
3982 *-*-*) ;;
3983 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
3984 esac
3985 host=$ac_cv_host
3986 ac_save_IFS=$IFS; IFS='-'
3987 set x $ac_cv_host
3988 shift
3989 host_cpu=$1
3990 host_vendor=$2
3991 shift; shift
3992 # Remember, the first character of IFS is used to create $*,
3993 # except with old shells:
3994 host_os=$*
3995 IFS=$ac_save_IFS
3996 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3997
3998
3999
4000 # Check whether --enable-silent-rules was given.
4001 if test "${enable_silent_rules+set}" = set; then :
4002   enableval=$enable_silent_rules;
4003 fi
4004
4005 case $enable_silent_rules in
4006 yes) AM_DEFAULT_VERBOSITY=0;;
4007 no)  AM_DEFAULT_VERBOSITY=1;;
4008 *)   AM_DEFAULT_VERBOSITY=0;;
4009 esac
4010 AM_BACKSLASH='\'
4011
4012
4013 GST_MAJORMINOR=$PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR
4014 GST_MAJORMINOR=0.10
4015
4016
4017
4018   GST_CURRENT=24
4019   GST_REVISION=0
4020   GST_AGE=24
4021   GST_LIBVERSION=24:0:24
4022
4023
4024
4025
4026
4027   GST_LT_LDFLAGS="$GST_LT_LDFLAGS -version-info $GST_LIBVERSION"
4028   if test ! -z ""
4029   then
4030     GST_LT_LDFLAGS="$GST_LT_LDFLAGS -release "
4031   fi
4032
4033
4034   enable_dlopen=yes
4035
4036
4037
4038
4039
4040
4041 enable_win32_dll=yes
4042
4043 case $host in
4044 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
4045   if test -n "$ac_tool_prefix"; then
4046   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4047 set dummy ${ac_tool_prefix}as; ac_word=$2
4048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4049 $as_echo_n "checking for $ac_word... " >&6; }
4050 if test "${ac_cv_prog_AS+set}" = set; then :
4051   $as_echo_n "(cached) " >&6
4052 else
4053   if test -n "$AS"; then
4054   ac_cv_prog_AS="$AS" # Let the user override the test.
4055 else
4056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4057 for as_dir in $PATH
4058 do
4059   IFS=$as_save_IFS
4060   test -z "$as_dir" && as_dir=.
4061     for ac_exec_ext in '' $ac_executable_extensions; do
4062   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4063     ac_cv_prog_AS="${ac_tool_prefix}as"
4064     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4065     break 2
4066   fi
4067 done
4068   done
4069 IFS=$as_save_IFS
4070
4071 fi
4072 fi
4073 AS=$ac_cv_prog_AS
4074 if test -n "$AS"; then
4075   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4076 $as_echo "$AS" >&6; }
4077 else
4078   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4079 $as_echo "no" >&6; }
4080 fi
4081
4082
4083 fi
4084 if test -z "$ac_cv_prog_AS"; then
4085   ac_ct_AS=$AS
4086   # Extract the first word of "as", so it can be a program name with args.
4087 set dummy as; ac_word=$2
4088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4089 $as_echo_n "checking for $ac_word... " >&6; }
4090 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4091   $as_echo_n "(cached) " >&6
4092 else
4093   if test -n "$ac_ct_AS"; then
4094   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4095 else
4096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4097 for as_dir in $PATH
4098 do
4099   IFS=$as_save_IFS
4100   test -z "$as_dir" && as_dir=.
4101     for ac_exec_ext in '' $ac_executable_extensions; do
4102   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4103     ac_cv_prog_ac_ct_AS="as"
4104     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4105     break 2
4106   fi
4107 done
4108   done
4109 IFS=$as_save_IFS
4110
4111 fi
4112 fi
4113 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4114 if test -n "$ac_ct_AS"; then
4115   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4116 $as_echo "$ac_ct_AS" >&6; }
4117 else
4118   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4119 $as_echo "no" >&6; }
4120 fi
4121
4122   if test "x$ac_ct_AS" = x; then
4123     AS="false"
4124   else
4125     case $cross_compiling:$ac_tool_warned in
4126 yes:)
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4128 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4129 ac_tool_warned=yes ;;
4130 esac
4131     AS=$ac_ct_AS
4132   fi
4133 else
4134   AS="$ac_cv_prog_AS"
4135 fi
4136
4137   if test -n "$ac_tool_prefix"; then
4138   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4139 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
4140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4141 $as_echo_n "checking for $ac_word... " >&6; }
4142 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
4143   $as_echo_n "(cached) " >&6
4144 else
4145   if test -n "$DLLTOOL"; then
4146   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
4147 else
4148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4149 for as_dir in $PATH
4150 do
4151   IFS=$as_save_IFS
4152   test -z "$as_dir" && as_dir=.
4153     for ac_exec_ext in '' $ac_executable_extensions; do
4154   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4155     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
4156     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4157     break 2
4158   fi
4159 done
4160   done
4161 IFS=$as_save_IFS
4162
4163 fi
4164 fi
4165 DLLTOOL=$ac_cv_prog_DLLTOOL
4166 if test -n "$DLLTOOL"; then
4167   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
4168 $as_echo "$DLLTOOL" >&6; }
4169 else
4170   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4171 $as_echo "no" >&6; }
4172 fi
4173
4174
4175 fi
4176 if test -z "$ac_cv_prog_DLLTOOL"; then
4177   ac_ct_DLLTOOL=$DLLTOOL
4178   # Extract the first word of "dlltool", so it can be a program name with args.
4179 set dummy dlltool; ac_word=$2
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4181 $as_echo_n "checking for $ac_word... " >&6; }
4182 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
4183   $as_echo_n "(cached) " >&6
4184 else
4185   if test -n "$ac_ct_DLLTOOL"; then
4186   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
4187 else
4188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4189 for as_dir in $PATH
4190 do
4191   IFS=$as_save_IFS
4192   test -z "$as_dir" && as_dir=.
4193     for ac_exec_ext in '' $ac_executable_extensions; do
4194   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4195     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
4196     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4197     break 2
4198   fi
4199 done
4200   done
4201 IFS=$as_save_IFS
4202
4203 fi
4204 fi
4205 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
4206 if test -n "$ac_ct_DLLTOOL"; then
4207   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
4208 $as_echo "$ac_ct_DLLTOOL" >&6; }
4209 else
4210   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4211 $as_echo "no" >&6; }
4212 fi
4213
4214   if test "x$ac_ct_DLLTOOL" = x; then
4215     DLLTOOL="false"
4216   else
4217     case $cross_compiling:$ac_tool_warned in
4218 yes:)
4219 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4220 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4221 ac_tool_warned=yes ;;
4222 esac
4223     DLLTOOL=$ac_ct_DLLTOOL
4224   fi
4225 else
4226   DLLTOOL="$ac_cv_prog_DLLTOOL"
4227 fi
4228
4229   if test -n "$ac_tool_prefix"; then
4230   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4231 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4233 $as_echo_n "checking for $ac_word... " >&6; }
4234 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
4235   $as_echo_n "(cached) " >&6
4236 else
4237   if test -n "$OBJDUMP"; then
4238   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4239 else
4240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4241 for as_dir in $PATH
4242 do
4243   IFS=$as_save_IFS
4244   test -z "$as_dir" && as_dir=.
4245     for ac_exec_ext in '' $ac_executable_extensions; do
4246   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4247     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4248     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4249     break 2
4250   fi
4251 done
4252   done
4253 IFS=$as_save_IFS
4254
4255 fi
4256 fi
4257 OBJDUMP=$ac_cv_prog_OBJDUMP
4258 if test -n "$OBJDUMP"; then
4259   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4260 $as_echo "$OBJDUMP" >&6; }
4261 else
4262   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4263 $as_echo "no" >&6; }
4264 fi
4265
4266
4267 fi
4268 if test -z "$ac_cv_prog_OBJDUMP"; then
4269   ac_ct_OBJDUMP=$OBJDUMP
4270   # Extract the first word of "objdump", so it can be a program name with args.
4271 set dummy objdump; ac_word=$2
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4273 $as_echo_n "checking for $ac_word... " >&6; }
4274 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
4275   $as_echo_n "(cached) " >&6
4276 else
4277   if test -n "$ac_ct_OBJDUMP"; then
4278   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4279 else
4280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4281 for as_dir in $PATH
4282 do
4283   IFS=$as_save_IFS
4284   test -z "$as_dir" && as_dir=.
4285     for ac_exec_ext in '' $ac_executable_extensions; do
4286   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4287     ac_cv_prog_ac_ct_OBJDUMP="objdump"
4288     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4289     break 2
4290   fi
4291 done
4292   done
4293 IFS=$as_save_IFS
4294
4295 fi
4296 fi
4297 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4298 if test -n "$ac_ct_OBJDUMP"; then
4299   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4300 $as_echo "$ac_ct_OBJDUMP" >&6; }
4301 else
4302   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4303 $as_echo "no" >&6; }
4304 fi
4305
4306   if test "x$ac_ct_OBJDUMP" = x; then
4307     OBJDUMP="false"
4308   else
4309     case $cross_compiling:$ac_tool_warned in
4310 yes:)
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4312 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4313 ac_tool_warned=yes ;;
4314 esac
4315     OBJDUMP=$ac_ct_OBJDUMP
4316   fi
4317 else
4318   OBJDUMP="$ac_cv_prog_OBJDUMP"
4319 fi
4320
4321   ;;
4322 esac
4323
4324 test -z "$AS" && AS=as
4325
4326
4327
4328
4329
4330 test -z "$DLLTOOL" && DLLTOOL=dlltool
4331
4332
4333
4334
4335
4336 test -z "$OBJDUMP" && OBJDUMP=objdump
4337
4338
4339
4340
4341
4342
4343
4344 case `pwd` in
4345   *\ * | *\     *)
4346     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4347 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4348 esac
4349
4350
4351
4352 macro_version='2.2.6b'
4353 macro_revision='1.3017'
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367 ltmain="$ac_aux_dir/ltmain.sh"
4368
4369 DEPDIR="${am__leading_dot}deps"
4370
4371 ac_config_commands="$ac_config_commands depfiles"
4372
4373
4374 am_make=${MAKE-make}
4375 cat > confinc << 'END'
4376 am__doit:
4377         @echo this is the am__doit target
4378 .PHONY: am__doit
4379 END
4380 # If we don't find an include directive, just comment out the code.
4381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4382 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4383 am__include="#"
4384 am__quote=
4385 _am_result=none
4386 # First try GNU make style include.
4387 echo "include confinc" > confmf
4388 # Ignore all kinds of additional output from `make'.
4389 case `$am_make -s -f confmf 2> /dev/null` in #(
4390 *the\ am__doit\ target*)
4391   am__include=include
4392   am__quote=
4393   _am_result=GNU
4394   ;;
4395 esac
4396 # Now try BSD make style include.
4397 if test "$am__include" = "#"; then
4398    echo '.include "confinc"' > confmf
4399    case `$am_make -s -f confmf 2> /dev/null` in #(
4400    *the\ am__doit\ target*)
4401      am__include=.include
4402      am__quote="\""
4403      _am_result=BSD
4404      ;;
4405    esac
4406 fi
4407
4408
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4410 $as_echo "$_am_result" >&6; }
4411 rm -f confinc confmf
4412
4413 # Check whether --enable-dependency-tracking was given.
4414 if test "${enable_dependency_tracking+set}" = set; then :
4415   enableval=$enable_dependency_tracking;
4416 fi
4417
4418 if test "x$enable_dependency_tracking" != xno; then
4419   am_depcomp="$ac_aux_dir/depcomp"
4420   AMDEPBACKSLASH='\'
4421 fi
4422  if test "x$enable_dependency_tracking" != xno; then
4423   AMDEP_TRUE=
4424   AMDEP_FALSE='#'
4425 else
4426   AMDEP_TRUE='#'
4427   AMDEP_FALSE=
4428 fi
4429
4430
4431 ac_ext=c
4432 ac_cpp='$CPP $CPPFLAGS'
4433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4436 if test -n "$ac_tool_prefix"; then
4437   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4438 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4440 $as_echo_n "checking for $ac_word... " >&6; }
4441 if test "${ac_cv_prog_CC+set}" = set; then :
4442   $as_echo_n "(cached) " >&6
4443 else
4444   if test -n "$CC"; then
4445   ac_cv_prog_CC="$CC" # Let the user override the test.
4446 else
4447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4448 for as_dir in $PATH
4449 do
4450   IFS=$as_save_IFS
4451   test -z "$as_dir" && as_dir=.
4452     for ac_exec_ext in '' $ac_executable_extensions; do
4453   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4454     ac_cv_prog_CC="${ac_tool_prefix}gcc"
4455     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4456     break 2
4457   fi
4458 done
4459   done
4460 IFS=$as_save_IFS
4461
4462 fi
4463 fi
4464 CC=$ac_cv_prog_CC
4465 if test -n "$CC"; then
4466   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4467 $as_echo "$CC" >&6; }
4468 else
4469   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4470 $as_echo "no" >&6; }
4471 fi
4472
4473
4474 fi
4475 if test -z "$ac_cv_prog_CC"; then
4476   ac_ct_CC=$CC
4477   # Extract the first word of "gcc", so it can be a program name with args.
4478 set dummy gcc; ac_word=$2
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4480 $as_echo_n "checking for $ac_word... " >&6; }
4481 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4482   $as_echo_n "(cached) " >&6
4483 else
4484   if test -n "$ac_ct_CC"; then
4485   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4486 else
4487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4488 for as_dir in $PATH
4489 do
4490   IFS=$as_save_IFS
4491   test -z "$as_dir" && as_dir=.
4492     for ac_exec_ext in '' $ac_executable_extensions; do
4493   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4494     ac_cv_prog_ac_ct_CC="gcc"
4495     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4496     break 2
4497   fi
4498 done
4499   done
4500 IFS=$as_save_IFS
4501
4502 fi
4503 fi
4504 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4505 if test -n "$ac_ct_CC"; then
4506   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4507 $as_echo "$ac_ct_CC" >&6; }
4508 else
4509   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4510 $as_echo "no" >&6; }
4511 fi
4512
4513   if test "x$ac_ct_CC" = x; then
4514     CC=""
4515   else
4516     case $cross_compiling:$ac_tool_warned in
4517 yes:)
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4519 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4520 ac_tool_warned=yes ;;
4521 esac
4522     CC=$ac_ct_CC
4523   fi
4524 else
4525   CC="$ac_cv_prog_CC"
4526 fi
4527
4528 if test -z "$CC"; then
4529           if test -n "$ac_tool_prefix"; then
4530     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4531 set dummy ${ac_tool_prefix}cc; ac_word=$2
4532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4533 $as_echo_n "checking for $ac_word... " >&6; }
4534 if test "${ac_cv_prog_CC+set}" = set; then :
4535   $as_echo_n "(cached) " >&6
4536 else
4537   if test -n "$CC"; then
4538   ac_cv_prog_CC="$CC" # Let the user override the test.
4539 else
4540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4541 for as_dir in $PATH
4542 do
4543   IFS=$as_save_IFS
4544   test -z "$as_dir" && as_dir=.
4545     for ac_exec_ext in '' $ac_executable_extensions; do
4546   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4547     ac_cv_prog_CC="${ac_tool_prefix}cc"
4548     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4549     break 2
4550   fi
4551 done
4552   done
4553 IFS=$as_save_IFS
4554
4555 fi
4556 fi
4557 CC=$ac_cv_prog_CC
4558 if test -n "$CC"; then
4559   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4560 $as_echo "$CC" >&6; }
4561 else
4562   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4563 $as_echo "no" >&6; }
4564 fi
4565
4566
4567   fi
4568 fi
4569 if test -z "$CC"; then
4570   # Extract the first word of "cc", so it can be a program name with args.
4571 set dummy cc; ac_word=$2
4572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4573 $as_echo_n "checking for $ac_word... " >&6; }
4574 if test "${ac_cv_prog_CC+set}" = set; then :
4575   $as_echo_n "(cached) " >&6
4576 else
4577   if test -n "$CC"; then
4578   ac_cv_prog_CC="$CC" # Let the user override the test.
4579 else
4580   ac_prog_rejected=no
4581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4582 for as_dir in $PATH
4583 do
4584   IFS=$as_save_IFS
4585   test -z "$as_dir" && as_dir=.
4586     for ac_exec_ext in '' $ac_executable_extensions; do
4587   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4588     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4589        ac_prog_rejected=yes
4590        continue
4591      fi
4592     ac_cv_prog_CC="cc"
4593     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4594     break 2
4595   fi
4596 done
4597   done
4598 IFS=$as_save_IFS
4599
4600 if test $ac_prog_rejected = yes; then
4601   # We found a bogon in the path, so make sure we never use it.
4602   set dummy $ac_cv_prog_CC
4603   shift
4604   if test $# != 0; then
4605     # We chose a different compiler from the bogus one.
4606     # However, it has the same basename, so the bogon will be chosen
4607     # first if we set CC to just the basename; use the full file name.
4608     shift
4609     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4610   fi
4611 fi
4612 fi
4613 fi
4614 CC=$ac_cv_prog_CC
4615 if test -n "$CC"; then
4616   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4617 $as_echo "$CC" >&6; }
4618 else
4619   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4620 $as_echo "no" >&6; }
4621 fi
4622
4623
4624 fi
4625 if test -z "$CC"; then
4626   if test -n "$ac_tool_prefix"; then
4627   for ac_prog in cl.exe
4628   do
4629     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4630 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4632 $as_echo_n "checking for $ac_word... " >&6; }
4633 if test "${ac_cv_prog_CC+set}" = set; then :
4634   $as_echo_n "(cached) " >&6
4635 else
4636   if test -n "$CC"; then
4637   ac_cv_prog_CC="$CC" # Let the user override the test.
4638 else
4639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4640 for as_dir in $PATH
4641 do
4642   IFS=$as_save_IFS
4643   test -z "$as_dir" && as_dir=.
4644     for ac_exec_ext in '' $ac_executable_extensions; do
4645   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4646     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4647     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4648     break 2
4649   fi
4650 done
4651   done
4652 IFS=$as_save_IFS
4653
4654 fi
4655 fi
4656 CC=$ac_cv_prog_CC
4657 if test -n "$CC"; then
4658   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4659 $as_echo "$CC" >&6; }
4660 else
4661   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4662 $as_echo "no" >&6; }
4663 fi
4664
4665
4666     test -n "$CC" && break
4667   done
4668 fi
4669 if test -z "$CC"; then
4670   ac_ct_CC=$CC
4671   for ac_prog in cl.exe
4672 do
4673   # Extract the first word of "$ac_prog", so it can be a program name with args.
4674 set dummy $ac_prog; ac_word=$2
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4676 $as_echo_n "checking for $ac_word... " >&6; }
4677 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4678   $as_echo_n "(cached) " >&6
4679 else
4680   if test -n "$ac_ct_CC"; then
4681   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4682 else
4683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4684 for as_dir in $PATH
4685 do
4686   IFS=$as_save_IFS
4687   test -z "$as_dir" && as_dir=.
4688     for ac_exec_ext in '' $ac_executable_extensions; do
4689   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4690     ac_cv_prog_ac_ct_CC="$ac_prog"
4691     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4692     break 2
4693   fi
4694 done
4695   done
4696 IFS=$as_save_IFS
4697
4698 fi
4699 fi
4700 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4701 if test -n "$ac_ct_CC"; then
4702   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4703 $as_echo "$ac_ct_CC" >&6; }
4704 else
4705   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4706 $as_echo "no" >&6; }
4707 fi
4708
4709
4710   test -n "$ac_ct_CC" && break
4711 done
4712
4713   if test "x$ac_ct_CC" = x; then
4714     CC=""
4715   else
4716     case $cross_compiling:$ac_tool_warned in
4717 yes:)
4718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4719 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4720 ac_tool_warned=yes ;;
4721 esac
4722     CC=$ac_ct_CC
4723   fi
4724 fi
4725
4726 fi
4727
4728
4729 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4730 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4731 as_fn_error $? "no acceptable C compiler found in \$PATH
4732 See \`config.log' for more details" "$LINENO" 5 ; }
4733
4734 # Provide some information about the compiler.
4735 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4736 set X $ac_compile
4737 ac_compiler=$2
4738 for ac_option in --version -v -V -qversion; do
4739   { { ac_try="$ac_compiler $ac_option >&5"
4740 case "(($ac_try" in
4741   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4742   *) ac_try_echo=$ac_try;;
4743 esac
4744 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4745 $as_echo "$ac_try_echo"; } >&5
4746   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4747   ac_status=$?
4748   if test -s conftest.err; then
4749     sed '10a\
4750 ... rest of stderr output deleted ...
4751          10q' conftest.err >conftest.er1
4752     cat conftest.er1 >&5
4753   fi
4754   rm -f conftest.er1 conftest.err
4755   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4756   test $ac_status = 0; }
4757 done
4758
4759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4760 /* end confdefs.h.  */
4761
4762 int
4763 main ()
4764 {
4765
4766   ;
4767   return 0;
4768 }
4769 _ACEOF
4770 ac_clean_files_save=$ac_clean_files
4771 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4772 # Try to create an executable without -o first, disregard a.out.
4773 # It will help us diagnose broken compilers, and finding out an intuition
4774 # of exeext.
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4776 $as_echo_n "checking whether the C compiler works... " >&6; }
4777 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4778
4779 # The possible output files:
4780 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4781
4782 ac_rmfiles=
4783 for ac_file in $ac_files
4784 do
4785   case $ac_file in
4786     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4787     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4788   esac
4789 done
4790 rm -f $ac_rmfiles
4791
4792 if { { ac_try="$ac_link_default"
4793 case "(($ac_try" in
4794   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4795   *) ac_try_echo=$ac_try;;
4796 esac
4797 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4798 $as_echo "$ac_try_echo"; } >&5
4799   (eval "$ac_link_default") 2>&5
4800   ac_status=$?
4801   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4802   test $ac_status = 0; }; then :
4803   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4804 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4805 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
4806 # so that the user can short-circuit this test for compilers unknown to
4807 # Autoconf.
4808 for ac_file in $ac_files ''
4809 do
4810   test -f "$ac_file" || continue
4811   case $ac_file in
4812     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4813         ;;
4814     [ab].out )
4815         # We found the default executable, but exeext='' is most
4816         # certainly right.
4817         break;;
4818     *.* )
4819         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4820         then :; else
4821            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4822         fi
4823         # We set ac_cv_exeext here because the later test for it is not
4824         # safe: cross compilers may not add the suffix if given an `-o'
4825         # argument, so we may need to know it at that point already.
4826         # Even if this section looks crufty: it has the advantage of
4827         # actually working.
4828         break;;
4829     * )
4830         break;;
4831   esac
4832 done
4833 test "$ac_cv_exeext" = no && ac_cv_exeext=
4834
4835 else
4836   ac_file=''
4837 fi
4838 if test -z "$ac_file"; then :
4839   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4840 $as_echo "no" >&6; }
4841 $as_echo "$as_me: failed program was:" >&5
4842 sed 's/^/| /' conftest.$ac_ext >&5
4843
4844 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4845 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4846 as_fn_error 77 "C compiler cannot create executables
4847 See \`config.log' for more details" "$LINENO" 5 ; }
4848 else
4849   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4850 $as_echo "yes" >&6; }
4851 fi
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4853 $as_echo_n "checking for C compiler default output file name... " >&6; }
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4855 $as_echo "$ac_file" >&6; }
4856 ac_exeext=$ac_cv_exeext
4857
4858 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4859 ac_clean_files=$ac_clean_files_save
4860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4861 $as_echo_n "checking for suffix of executables... " >&6; }
4862 if { { ac_try="$ac_link"
4863 case "(($ac_try" in
4864   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4865   *) ac_try_echo=$ac_try;;
4866 esac
4867 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4868 $as_echo "$ac_try_echo"; } >&5
4869   (eval "$ac_link") 2>&5
4870   ac_status=$?
4871   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4872   test $ac_status = 0; }; then :
4873   # If both `conftest.exe' and `conftest' are `present' (well, observable)
4874 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
4875 # work properly (i.e., refer to `conftest.exe'), while it won't with
4876 # `rm'.
4877 for ac_file in conftest.exe conftest conftest.*; do
4878   test -f "$ac_file" || continue
4879   case $ac_file in
4880     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4881     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4882           break;;
4883     * ) break;;
4884   esac
4885 done
4886 else
4887   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4888 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4889 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4890 See \`config.log' for more details" "$LINENO" 5 ; }
4891 fi
4892 rm -f conftest conftest$ac_cv_exeext
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4894 $as_echo "$ac_cv_exeext" >&6; }
4895
4896 rm -f conftest.$ac_ext
4897 EXEEXT=$ac_cv_exeext
4898 ac_exeext=$EXEEXT
4899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4900 /* end confdefs.h.  */
4901 #include <stdio.h>
4902 int
4903 main ()
4904 {
4905 FILE *f = fopen ("conftest.out", "w");
4906  return ferror (f) || fclose (f) != 0;
4907
4908   ;
4909   return 0;
4910 }
4911 _ACEOF
4912 ac_clean_files="$ac_clean_files conftest.out"
4913 # Check that the compiler produces executables we can run.  If not, either
4914 # the compiler is broken, or we cross compile.
4915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4916 $as_echo_n "checking whether we are cross compiling... " >&6; }
4917 if test "$cross_compiling" != yes; then
4918   { { ac_try="$ac_link"
4919 case "(($ac_try" in
4920   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4921   *) ac_try_echo=$ac_try;;
4922 esac
4923 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4924 $as_echo "$ac_try_echo"; } >&5
4925   (eval "$ac_link") 2>&5
4926   ac_status=$?
4927   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4928   test $ac_status = 0; }
4929   if { ac_try='./conftest$ac_cv_exeext'
4930   { { case "(($ac_try" in
4931   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4932   *) ac_try_echo=$ac_try;;
4933 esac
4934 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4935 $as_echo "$ac_try_echo"; } >&5
4936   (eval "$ac_try") 2>&5
4937   ac_status=$?
4938   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4939   test $ac_status = 0; }; }; then
4940     cross_compiling=no
4941   else
4942     if test "$cross_compiling" = maybe; then
4943         cross_compiling=yes
4944     else
4945         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4946 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4947 as_fn_error $? "cannot run C compiled programs.
4948 If you meant to cross compile, use \`--host'.
4949 See \`config.log' for more details" "$LINENO" 5 ; }
4950     fi
4951   fi
4952 fi
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4954 $as_echo "$cross_compiling" >&6; }
4955
4956 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4957 ac_clean_files=$ac_clean_files_save
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4959 $as_echo_n "checking for suffix of object files... " >&6; }
4960 if test "${ac_cv_objext+set}" = set; then :
4961   $as_echo_n "(cached) " >&6
4962 else
4963   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4964 /* end confdefs.h.  */
4965
4966 int
4967 main ()
4968 {
4969
4970   ;
4971   return 0;
4972 }
4973 _ACEOF
4974 rm -f conftest.o conftest.obj
4975 if { { ac_try="$ac_compile"
4976 case "(($ac_try" in
4977   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4978   *) ac_try_echo=$ac_try;;
4979 esac
4980 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4981 $as_echo "$ac_try_echo"; } >&5
4982   (eval "$ac_compile") 2>&5
4983   ac_status=$?
4984   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4985   test $ac_status = 0; }; then :
4986   for ac_file in conftest.o conftest.obj conftest.*; do
4987   test -f "$ac_file" || continue;
4988   case $ac_file in
4989     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4990     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4991        break;;
4992   esac
4993 done
4994 else
4995   $as_echo "$as_me: failed program was:" >&5
4996 sed 's/^/| /' conftest.$ac_ext >&5
4997
4998 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4999 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5000 as_fn_error $? "cannot compute suffix of object files: cannot compile
5001 See \`config.log' for more details" "$LINENO" 5 ; }
5002 fi
5003 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5004 fi
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5006 $as_echo "$ac_cv_objext" >&6; }
5007 OBJEXT=$ac_cv_objext
5008 ac_objext=$OBJEXT
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5010 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5011 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
5012   $as_echo_n "(cached) " >&6
5013 else
5014   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5015 /* end confdefs.h.  */
5016
5017 int
5018 main ()
5019 {
5020 #ifndef __GNUC__
5021        choke me
5022 #endif
5023
5024   ;
5025   return 0;
5026 }
5027 _ACEOF
5028 if ac_fn_c_try_compile "$LINENO"; then :
5029   ac_compiler_gnu=yes
5030 else
5031   ac_compiler_gnu=no
5032 fi
5033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5034 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5035
5036 fi
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5038 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5039 if test $ac_compiler_gnu = yes; then
5040   GCC=yes
5041 else
5042   GCC=
5043 fi
5044 ac_test_CFLAGS=${CFLAGS+set}
5045 ac_save_CFLAGS=$CFLAGS
5046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5047 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5048 if test "${ac_cv_prog_cc_g+set}" = set; then :
5049   $as_echo_n "(cached) " >&6
5050 else
5051   ac_save_c_werror_flag=$ac_c_werror_flag
5052    ac_c_werror_flag=yes
5053    ac_cv_prog_cc_g=no
5054    CFLAGS="-g"
5055    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5056 /* end confdefs.h.  */
5057
5058 int
5059 main ()
5060 {
5061
5062   ;
5063   return 0;
5064 }
5065 _ACEOF
5066 if ac_fn_c_try_compile "$LINENO"; then :
5067   ac_cv_prog_cc_g=yes
5068 else
5069   CFLAGS=""
5070       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5071 /* end confdefs.h.  */
5072
5073 int
5074 main ()
5075 {
5076
5077   ;
5078   return 0;
5079 }
5080 _ACEOF
5081 if ac_fn_c_try_compile "$LINENO"; then :
5082
5083 else
5084   ac_c_werror_flag=$ac_save_c_werror_flag
5085          CFLAGS="-g"
5086          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5087 /* end confdefs.h.  */
5088
5089 int
5090 main ()
5091 {
5092
5093   ;
5094   return 0;
5095 }
5096 _ACEOF
5097 if ac_fn_c_try_compile "$LINENO"; then :
5098   ac_cv_prog_cc_g=yes
5099 fi
5100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5101 fi
5102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5103 fi
5104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5105    ac_c_werror_flag=$ac_save_c_werror_flag
5106 fi
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5108 $as_echo "$ac_cv_prog_cc_g" >&6; }
5109 if test "$ac_test_CFLAGS" = set; then
5110   CFLAGS=$ac_save_CFLAGS
5111 elif test $ac_cv_prog_cc_g = yes; then
5112   if test "$GCC" = yes; then
5113     CFLAGS="-g -O2"
5114   else
5115     CFLAGS="-g"
5116   fi
5117 else
5118   if test "$GCC" = yes; then
5119     CFLAGS="-O2"
5120   else
5121     CFLAGS=
5122   fi
5123 fi
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5125 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5126 if test "${ac_cv_prog_cc_c89+set}" = set; then :
5127   $as_echo_n "(cached) " >&6
5128 else
5129   ac_cv_prog_cc_c89=no
5130 ac_save_CC=$CC
5131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5132 /* end confdefs.h.  */
5133 #include <stdarg.h>
5134 #include <stdio.h>
5135 #include <sys/types.h>
5136 #include <sys/stat.h>
5137 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
5138 struct buf { int x; };
5139 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5140 static char *e (p, i)
5141      char **p;
5142      int i;
5143 {
5144   return p[i];
5145 }
5146 static char *f (char * (*g) (char **, int), char **p, ...)
5147 {
5148   char *s;
5149   va_list v;
5150   va_start (v,p);
5151   s = g (p, va_arg (v,int));
5152   va_end (v);
5153   return s;
5154 }
5155
5156 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
5157    function prototypes and stuff, but not '\xHH' hex character constants.
5158    These don't provoke an error unfortunately, instead are silently treated
5159    as 'x'.  The following induces an error, until -std is added to get
5160    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
5161    array size at least.  It's necessary to write '\x00'==0 to get something
5162    that's true only with -std.  */
5163 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5164
5165 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5166    inside strings and character constants.  */
5167 #define FOO(x) 'x'
5168 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5169
5170 int test (int i, double x);
5171 struct s1 {int (*f) (int a);};
5172 struct s2 {int (*f) (double a);};
5173 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5174 int argc;
5175 char **argv;
5176 int
5177 main ()
5178 {
5179 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
5180   ;
5181   return 0;
5182 }
5183 _ACEOF
5184 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5185         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5186 do
5187   CC="$ac_save_CC $ac_arg"
5188   if ac_fn_c_try_compile "$LINENO"; then :
5189   ac_cv_prog_cc_c89=$ac_arg
5190 fi
5191 rm -f core conftest.err conftest.$ac_objext
5192   test "x$ac_cv_prog_cc_c89" != "xno" && break
5193 done
5194 rm -f conftest.$ac_ext
5195 CC=$ac_save_CC
5196
5197 fi
5198 # AC_CACHE_VAL
5199 case "x$ac_cv_prog_cc_c89" in
5200   x)
5201     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5202 $as_echo "none needed" >&6; } ;;
5203   xno)
5204     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5205 $as_echo "unsupported" >&6; } ;;
5206   *)
5207     CC="$CC $ac_cv_prog_cc_c89"
5208     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5209 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5210 esac
5211 if test "x$ac_cv_prog_cc_c89" != xno; then :
5212
5213 fi
5214
5215 ac_ext=c
5216 ac_cpp='$CPP $CPPFLAGS'
5217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5220
5221 depcc="$CC"   am_compiler_list=
5222
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5224 $as_echo_n "checking dependency style of $depcc... " >&6; }
5225 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
5226   $as_echo_n "(cached) " >&6
5227 else
5228   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5229   # We make a subdir and do the tests there.  Otherwise we can end up
5230   # making bogus files that we don't know about and never remove.  For
5231   # instance it was reported that on HP-UX the gcc test will end up
5232   # making a dummy file named `D' -- because `-MD' means `put the output
5233   # in D'.
5234   mkdir conftest.dir
5235   # Copy depcomp to subdir because otherwise we won't find it if we're
5236   # using a relative directory.
5237   cp "$am_depcomp" conftest.dir
5238   cd conftest.dir
5239   # We will build objects and dependencies in a subdirectory because
5240   # it helps to detect inapplicable dependency modes.  For instance
5241   # both Tru64's cc and ICC support -MD to output dependencies as a
5242   # side effect of compilation, but ICC will put the dependencies in
5243   # the current directory while Tru64 will put them in the object
5244   # directory.
5245   mkdir sub
5246
5247   am_cv_CC_dependencies_compiler_type=none
5248   if test "$am_compiler_list" = ""; then
5249      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5250   fi
5251   am__universal=false
5252   case " $depcc " in #(
5253      *\ -arch\ *\ -arch\ *) am__universal=true ;;
5254      esac
5255
5256   for depmode in $am_compiler_list; do
5257     # Setup a source with many dependencies, because some compilers
5258     # like to wrap large dependency lists on column 80 (with \), and
5259     # we should not choose a depcomp mode which is confused by this.
5260     #
5261     # We need to recreate these files for each test, as the compiler may
5262     # overwrite some of them when testing with obscure command lines.
5263     # This happens at least with the AIX C compiler.
5264     : > sub/conftest.c
5265     for i in 1 2 3 4 5 6; do
5266       echo '#include "conftst'$i'.h"' >> sub/conftest.c
5267       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5268       # Solaris 8's {/usr,}/bin/sh.
5269       touch sub/conftst$i.h
5270     done
5271     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5272
5273     # We check with `-c' and `-o' for the sake of the "dashmstdout"
5274     # mode.  It turns out that the SunPro C++ compiler does not properly
5275     # handle `-M -o', and we need to detect this.  Also, some Intel
5276     # versions had trouble with output in subdirs
5277     am__obj=sub/conftest.${OBJEXT-o}
5278     am__minus_obj="-o $am__obj"
5279     case $depmode in
5280     gcc)
5281       # This depmode causes a compiler race in universal mode.
5282       test "$am__universal" = false || continue
5283       ;;
5284     nosideeffect)
5285       # after this tag, mechanisms are not by side-effect, so they'll
5286       # only be used when explicitly requested
5287       if test "x$enable_dependency_tracking" = xyes; then
5288         continue
5289       else
5290         break
5291       fi
5292       ;;
5293     msvisualcpp | msvcmsys)
5294       # This compiler won't grok `-c -o', but also, the minuso test has
5295       # not run yet.  These depmodes are late enough in the game, and
5296       # so weak that their functioning should not be impacted.
5297       am__obj=conftest.${OBJEXT-o}
5298       am__minus_obj=
5299       ;;
5300     none) break ;;
5301     esac
5302     if depmode=$depmode \
5303        source=sub/conftest.c object=$am__obj \
5304        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5305        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5306          >/dev/null 2>conftest.err &&
5307        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5308        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5309        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5310        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5311       # icc doesn't choke on unknown options, it will just issue warnings
5312       # or remarks (even with -Werror).  So we grep stderr for any message
5313       # that says an option was ignored or not supported.
5314       # When given -MP, icc 7.0 and 7.1 complain thusly:
5315       #   icc: Command line warning: ignoring option '-M'; no argument required
5316       # The diagnosis changed in icc 8.0:
5317       #   icc: Command line remark: option '-MP' not supported
5318       if (grep 'ignoring option' conftest.err ||
5319           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5320         am_cv_CC_dependencies_compiler_type=$depmode
5321         break
5322       fi
5323     fi
5324   done
5325
5326   cd ..
5327   rm -rf conftest.dir
5328 else
5329   am_cv_CC_dependencies_compiler_type=none
5330 fi
5331
5332 fi
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5334 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5335 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5336
5337  if
5338   test "x$enable_dependency_tracking" != xno \
5339   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5340   am__fastdepCC_TRUE=
5341   am__fastdepCC_FALSE='#'
5342 else
5343   am__fastdepCC_TRUE='#'
5344   am__fastdepCC_FALSE=
5345 fi
5346
5347
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5349 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5350 if test "${ac_cv_path_SED+set}" = set; then :
5351   $as_echo_n "(cached) " >&6
5352 else
5353             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5354      for ac_i in 1 2 3 4 5 6 7; do
5355        ac_script="$ac_script$as_nl$ac_script"
5356      done
5357      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5358      { ac_script=; unset ac_script;}
5359      if test -z "$SED"; then
5360   ac_path_SED_found=false
5361   # Loop through the user's path and test for each of PROGNAME-LIST
5362   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5363 for as_dir in $PATH
5364 do
5365   IFS=$as_save_IFS
5366   test -z "$as_dir" && as_dir=.
5367     for ac_prog in sed gsed; do
5368     for ac_exec_ext in '' $ac_executable_extensions; do
5369       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5370       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5371 # Check for GNU ac_path_SED and select it if it is found.
5372   # Check for GNU $ac_path_SED
5373 case `"$ac_path_SED" --version 2>&1` in
5374 *GNU*)
5375   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5376 *)
5377   ac_count=0
5378   $as_echo_n 0123456789 >"conftest.in"
5379   while :
5380   do
5381     cat "conftest.in" "conftest.in" >"conftest.tmp"
5382     mv "conftest.tmp" "conftest.in"
5383     cp "conftest.in" "conftest.nl"
5384     $as_echo '' >> "conftest.nl"
5385     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5386     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5387     as_fn_arith $ac_count + 1 && ac_count=$as_val
5388     if test $ac_count -gt ${ac_path_SED_max-0}; then
5389       # Best one so far, save it but keep looking for a better one
5390       ac_cv_path_SED="$ac_path_SED"
5391       ac_path_SED_max=$ac_count
5392     fi
5393     # 10*(2^10) chars as input seems more than enough
5394     test $ac_count -gt 10 && break
5395   done
5396   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5397 esac
5398
5399       $ac_path_SED_found && break 3
5400     done
5401   done
5402   done
5403 IFS=$as_save_IFS
5404   if test -z "$ac_cv_path_SED"; then
5405     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5406   fi
5407 else
5408   ac_cv_path_SED=$SED
5409 fi
5410
5411 fi
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5413 $as_echo "$ac_cv_path_SED" >&6; }
5414  SED="$ac_cv_path_SED"
5415   rm -f conftest.sed
5416
5417 test -z "$SED" && SED=sed
5418 Xsed="$SED -e 1s/^X//"
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5431 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5432 if test "${ac_cv_path_GREP+set}" = set; then :
5433   $as_echo_n "(cached) " >&6
5434 else
5435   if test -z "$GREP"; then
5436   ac_path_GREP_found=false
5437   # Loop through the user's path and test for each of PROGNAME-LIST
5438   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5439 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5440 do
5441   IFS=$as_save_IFS
5442   test -z "$as_dir" && as_dir=.
5443     for ac_prog in grep ggrep; do
5444     for ac_exec_ext in '' $ac_executable_extensions; do
5445       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5446       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5447 # Check for GNU ac_path_GREP and select it if it is found.
5448   # Check for GNU $ac_path_GREP
5449 case `"$ac_path_GREP" --version 2>&1` in
5450 *GNU*)
5451   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5452 *)
5453   ac_count=0
5454   $as_echo_n 0123456789 >"conftest.in"
5455   while :
5456   do
5457     cat "conftest.in" "conftest.in" >"conftest.tmp"
5458     mv "conftest.tmp" "conftest.in"
5459     cp "conftest.in" "conftest.nl"
5460     $as_echo 'GREP' >> "conftest.nl"
5461     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5462     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5463     as_fn_arith $ac_count + 1 && ac_count=$as_val
5464     if test $ac_count -gt ${ac_path_GREP_max-0}; then
5465       # Best one so far, save it but keep looking for a better one
5466       ac_cv_path_GREP="$ac_path_GREP"
5467       ac_path_GREP_max=$ac_count
5468     fi
5469     # 10*(2^10) chars as input seems more than enough
5470     test $ac_count -gt 10 && break
5471   done
5472   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5473 esac
5474
5475       $ac_path_GREP_found && break 3
5476     done
5477   done
5478   done
5479 IFS=$as_save_IFS
5480   if test -z "$ac_cv_path_GREP"; then
5481     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5482   fi
5483 else
5484   ac_cv_path_GREP=$GREP
5485 fi
5486
5487 fi
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5489 $as_echo "$ac_cv_path_GREP" >&6; }
5490  GREP="$ac_cv_path_GREP"
5491
5492
5493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5494 $as_echo_n "checking for egrep... " >&6; }
5495 if test "${ac_cv_path_EGREP+set}" = set; then :
5496   $as_echo_n "(cached) " >&6
5497 else
5498   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5499    then ac_cv_path_EGREP="$GREP -E"
5500    else
5501      if test -z "$EGREP"; then
5502   ac_path_EGREP_found=false
5503   # Loop through the user's path and test for each of PROGNAME-LIST
5504   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5505 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5506 do
5507   IFS=$as_save_IFS
5508   test -z "$as_dir" && as_dir=.
5509     for ac_prog in egrep; do
5510     for ac_exec_ext in '' $ac_executable_extensions; do
5511       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5512       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5513 # Check for GNU ac_path_EGREP and select it if it is found.
5514   # Check for GNU $ac_path_EGREP
5515 case `"$ac_path_EGREP" --version 2>&1` in
5516 *GNU*)
5517   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5518 *)
5519   ac_count=0
5520   $as_echo_n 0123456789 >"conftest.in"
5521   while :
5522   do
5523     cat "conftest.in" "conftest.in" >"conftest.tmp"
5524     mv "conftest.tmp" "conftest.in"
5525     cp "conftest.in" "conftest.nl"
5526     $as_echo 'EGREP' >> "conftest.nl"
5527     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5528     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5529     as_fn_arith $ac_count + 1 && ac_count=$as_val
5530     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5531       # Best one so far, save it but keep looking for a better one
5532       ac_cv_path_EGREP="$ac_path_EGREP"
5533       ac_path_EGREP_max=$ac_count
5534     fi
5535     # 10*(2^10) chars as input seems more than enough
5536     test $ac_count -gt 10 && break
5537   done
5538   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5539 esac
5540
5541       $ac_path_EGREP_found && break 3
5542     done
5543   done
5544   done
5545 IFS=$as_save_IFS
5546   if test -z "$ac_cv_path_EGREP"; then
5547     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5548   fi
5549 else
5550   ac_cv_path_EGREP=$EGREP
5551 fi
5552
5553    fi
5554 fi
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5556 $as_echo "$ac_cv_path_EGREP" >&6; }
5557  EGREP="$ac_cv_path_EGREP"
5558
5559
5560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5561 $as_echo_n "checking for fgrep... " >&6; }
5562 if test "${ac_cv_path_FGREP+set}" = set; then :
5563   $as_echo_n "(cached) " >&6
5564 else
5565   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5566    then ac_cv_path_FGREP="$GREP -F"
5567    else
5568      if test -z "$FGREP"; then
5569   ac_path_FGREP_found=false
5570   # Loop through the user's path and test for each of PROGNAME-LIST
5571   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5572 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5573 do
5574   IFS=$as_save_IFS
5575   test -z "$as_dir" && as_dir=.
5576     for ac_prog in fgrep; do
5577     for ac_exec_ext in '' $ac_executable_extensions; do
5578       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5579       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5580 # Check for GNU ac_path_FGREP and select it if it is found.
5581   # Check for GNU $ac_path_FGREP
5582 case `"$ac_path_FGREP" --version 2>&1` in
5583 *GNU*)
5584   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5585 *)
5586   ac_count=0
5587   $as_echo_n 0123456789 >"conftest.in"
5588   while :
5589   do
5590     cat "conftest.in" "conftest.in" >"conftest.tmp"
5591     mv "conftest.tmp" "conftest.in"
5592     cp "conftest.in" "conftest.nl"
5593     $as_echo 'FGREP' >> "conftest.nl"
5594     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5595     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5596     as_fn_arith $ac_count + 1 && ac_count=$as_val
5597     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5598       # Best one so far, save it but keep looking for a better one
5599       ac_cv_path_FGREP="$ac_path_FGREP"
5600       ac_path_FGREP_max=$ac_count
5601     fi
5602     # 10*(2^10) chars as input seems more than enough
5603     test $ac_count -gt 10 && break
5604   done
5605   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5606 esac
5607
5608       $ac_path_FGREP_found && break 3
5609     done
5610   done
5611   done
5612 IFS=$as_save_IFS
5613   if test -z "$ac_cv_path_FGREP"; then
5614     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5615   fi
5616 else
5617   ac_cv_path_FGREP=$FGREP
5618 fi
5619
5620    fi
5621 fi
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5623 $as_echo "$ac_cv_path_FGREP" >&6; }
5624  FGREP="$ac_cv_path_FGREP"
5625
5626
5627 test -z "$GREP" && GREP=grep
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647 # Check whether --with-gnu-ld was given.
5648 if test "${with_gnu_ld+set}" = set; then :
5649   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5650 else
5651   with_gnu_ld=no
5652 fi
5653
5654 ac_prog=ld
5655 if test "$GCC" = yes; then
5656   # Check if gcc -print-prog-name=ld gives a path.
5657   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5658 $as_echo_n "checking for ld used by $CC... " >&6; }
5659   case $host in
5660   *-*-mingw*)
5661     # gcc leaves a trailing carriage return which upsets mingw
5662     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5663   *)
5664     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5665   esac
5666   case $ac_prog in
5667     # Accept absolute paths.
5668     [\\/]* | ?:[\\/]*)
5669       re_direlt='/[^/][^/]*/\.\./'
5670       # Canonicalize the pathname of ld
5671       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5672       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5673         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5674       done
5675       test -z "$LD" && LD="$ac_prog"
5676       ;;
5677   "")
5678     # If it fails, then pretend we aren't using GCC.
5679     ac_prog=ld
5680     ;;
5681   *)
5682     # If it is relative, then search for the first ld in PATH.
5683     with_gnu_ld=unknown
5684     ;;
5685   esac
5686 elif test "$with_gnu_ld" = yes; then
5687   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5688 $as_echo_n "checking for GNU ld... " >&6; }
5689 else
5690   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5691 $as_echo_n "checking for non-GNU ld... " >&6; }
5692 fi
5693 if test "${lt_cv_path_LD+set}" = set; then :
5694   $as_echo_n "(cached) " >&6
5695 else
5696   if test -z "$LD"; then
5697   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5698   for ac_dir in $PATH; do
5699     IFS="$lt_save_ifs"
5700     test -z "$ac_dir" && ac_dir=.
5701     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5702       lt_cv_path_LD="$ac_dir/$ac_prog"
5703       # Check to see if the program is GNU ld.  I'd rather use --version,
5704       # but apparently some variants of GNU ld only accept -v.
5705       # Break only if it was the GNU/non-GNU ld that we prefer.
5706       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5707       *GNU* | *'with BFD'*)
5708         test "$with_gnu_ld" != no && break
5709         ;;
5710       *)
5711         test "$with_gnu_ld" != yes && break
5712         ;;
5713       esac
5714     fi
5715   done
5716   IFS="$lt_save_ifs"
5717 else
5718   lt_cv_path_LD="$LD" # Let the user override the test with a path.
5719 fi
5720 fi
5721
5722 LD="$lt_cv_path_LD"
5723 if test -n "$LD"; then
5724   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5725 $as_echo "$LD" >&6; }
5726 else
5727   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5728 $as_echo "no" >&6; }
5729 fi
5730 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5732 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5733 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5734   $as_echo_n "(cached) " >&6
5735 else
5736   # I'd rather use --version here, but apparently some GNU lds only accept -v.
5737 case `$LD -v 2>&1 </dev/null` in
5738 *GNU* | *'with BFD'*)
5739   lt_cv_prog_gnu_ld=yes
5740   ;;
5741 *)
5742   lt_cv_prog_gnu_ld=no
5743   ;;
5744 esac
5745 fi
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5747 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5748 with_gnu_ld=$lt_cv_prog_gnu_ld
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5759 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5760 if test "${lt_cv_path_NM+set}" = set; then :
5761   $as_echo_n "(cached) " >&6
5762 else
5763   if test -n "$NM"; then
5764   # Let the user override the test.
5765   lt_cv_path_NM="$NM"
5766 else
5767   lt_nm_to_check="${ac_tool_prefix}nm"
5768   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5769     lt_nm_to_check="$lt_nm_to_check nm"
5770   fi
5771   for lt_tmp_nm in $lt_nm_to_check; do
5772     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5773     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5774       IFS="$lt_save_ifs"
5775       test -z "$ac_dir" && ac_dir=.
5776       tmp_nm="$ac_dir/$lt_tmp_nm"
5777       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5778         # Check to see if the nm accepts a BSD-compat flag.
5779         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5780         #   nm: unknown option "B" ignored
5781         # Tru64's nm complains that /dev/null is an invalid object file
5782         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5783         */dev/null* | *'Invalid file or object type'*)
5784           lt_cv_path_NM="$tmp_nm -B"
5785           break
5786           ;;
5787         *)
5788           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5789           */dev/null*)
5790             lt_cv_path_NM="$tmp_nm -p"
5791             break
5792             ;;
5793           *)
5794             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5795             continue # so that we can try to find one that supports BSD flags
5796             ;;
5797           esac
5798           ;;
5799         esac
5800       fi
5801     done
5802     IFS="$lt_save_ifs"
5803   done
5804   : ${lt_cv_path_NM=no}
5805 fi
5806 fi
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5808 $as_echo "$lt_cv_path_NM" >&6; }
5809 if test "$lt_cv_path_NM" != "no"; then
5810   NM="$lt_cv_path_NM"
5811 else
5812   # Didn't find any BSD compatible name lister, look for dumpbin.
5813   if test -n "$ac_tool_prefix"; then
5814   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5815   do
5816     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5817 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5819 $as_echo_n "checking for $ac_word... " >&6; }
5820 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5821   $as_echo_n "(cached) " >&6
5822 else
5823   if test -n "$DUMPBIN"; then
5824   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5825 else
5826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5827 for as_dir in $PATH
5828 do
5829   IFS=$as_save_IFS
5830   test -z "$as_dir" && as_dir=.
5831     for ac_exec_ext in '' $ac_executable_extensions; do
5832   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5833     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5834     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5835     break 2
5836   fi
5837 done
5838   done
5839 IFS=$as_save_IFS
5840
5841 fi
5842 fi
5843 DUMPBIN=$ac_cv_prog_DUMPBIN
5844 if test -n "$DUMPBIN"; then
5845   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5846 $as_echo "$DUMPBIN" >&6; }
5847 else
5848   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5849 $as_echo "no" >&6; }
5850 fi
5851
5852
5853     test -n "$DUMPBIN" && break
5854   done
5855 fi
5856 if test -z "$DUMPBIN"; then
5857   ac_ct_DUMPBIN=$DUMPBIN
5858   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5859 do
5860   # Extract the first word of "$ac_prog", so it can be a program name with args.
5861 set dummy $ac_prog; ac_word=$2
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5863 $as_echo_n "checking for $ac_word... " >&6; }
5864 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5865   $as_echo_n "(cached) " >&6
5866 else
5867   if test -n "$ac_ct_DUMPBIN"; then
5868   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5869 else
5870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5871 for as_dir in $PATH
5872 do
5873   IFS=$as_save_IFS
5874   test -z "$as_dir" && as_dir=.
5875     for ac_exec_ext in '' $ac_executable_extensions; do
5876   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5877     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5878     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5879     break 2
5880   fi
5881 done
5882   done
5883 IFS=$as_save_IFS
5884
5885 fi
5886 fi
5887 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5888 if test -n "$ac_ct_DUMPBIN"; then
5889   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5890 $as_echo "$ac_ct_DUMPBIN" >&6; }
5891 else
5892   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5893 $as_echo "no" >&6; }
5894 fi
5895
5896
5897   test -n "$ac_ct_DUMPBIN" && break
5898 done
5899
5900   if test "x$ac_ct_DUMPBIN" = x; then
5901     DUMPBIN=":"
5902   else
5903     case $cross_compiling:$ac_tool_warned in
5904 yes:)
5905 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5906 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5907 ac_tool_warned=yes ;;
5908 esac
5909     DUMPBIN=$ac_ct_DUMPBIN
5910   fi
5911 fi
5912
5913
5914   if test "$DUMPBIN" != ":"; then
5915     NM="$DUMPBIN"
5916   fi
5917 fi
5918 test -z "$NM" && NM=nm
5919
5920
5921
5922
5923
5924
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5926 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5927 if test "${lt_cv_nm_interface+set}" = set; then :
5928   $as_echo_n "(cached) " >&6
5929 else
5930   lt_cv_nm_interface="BSD nm"
5931   echo "int some_variable = 0;" > conftest.$ac_ext
5932   (eval echo "\"\$as_me:5932: $ac_compile\"" >&5)
5933   (eval "$ac_compile" 2>conftest.err)
5934   cat conftest.err >&5
5935   (eval echo "\"\$as_me:5935: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5936   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5937   cat conftest.err >&5
5938   (eval echo "\"\$as_me:5938: output\"" >&5)
5939   cat conftest.out >&5
5940   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5941     lt_cv_nm_interface="MS dumpbin"
5942   fi
5943   rm -f conftest*
5944 fi
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5946 $as_echo "$lt_cv_nm_interface" >&6; }
5947
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5949 $as_echo_n "checking whether ln -s works... " >&6; }
5950 LN_S=$as_ln_s
5951 if test "$LN_S" = "ln -s"; then
5952   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5953 $as_echo "yes" >&6; }
5954 else
5955   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5956 $as_echo "no, using $LN_S" >&6; }
5957 fi
5958
5959 # find the maximum length of command line arguments
5960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5961 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5962 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5963   $as_echo_n "(cached) " >&6
5964 else
5965     i=0
5966   teststring="ABCD"
5967
5968   case $build_os in
5969   msdosdjgpp*)
5970     # On DJGPP, this test can blow up pretty badly due to problems in libc
5971     # (any single argument exceeding 2000 bytes causes a buffer overrun
5972     # during glob expansion).  Even if it were fixed, the result of this
5973     # check would be larger than it should be.
5974     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5975     ;;
5976
5977   gnu*)
5978     # Under GNU Hurd, this test is not required because there is
5979     # no limit to the length of command line arguments.
5980     # Libtool will interpret -1 as no limit whatsoever
5981     lt_cv_sys_max_cmd_len=-1;
5982     ;;
5983
5984   cygwin* | mingw* | cegcc*)
5985     # On Win9x/ME, this test blows up -- it succeeds, but takes
5986     # about 5 minutes as the teststring grows exponentially.
5987     # Worse, since 9x/ME are not pre-emptively multitasking,
5988     # you end up with a "frozen" computer, even though with patience
5989     # the test eventually succeeds (with a max line length of 256k).
5990     # Instead, let's just punt: use the minimum linelength reported by
5991     # all of the supported platforms: 8192 (on NT/2K/XP).
5992     lt_cv_sys_max_cmd_len=8192;
5993     ;;
5994
5995   amigaos*)
5996     # On AmigaOS with pdksh, this test takes hours, literally.
5997     # So we just punt and use a minimum line length of 8192.
5998     lt_cv_sys_max_cmd_len=8192;
5999     ;;
6000
6001   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6002     # This has been around since 386BSD, at least.  Likely further.
6003     if test -x /sbin/sysctl; then
6004       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6005     elif test -x /usr/sbin/sysctl; then
6006       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6007     else
6008       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
6009     fi
6010     # And add a safety zone
6011     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6012     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6013     ;;
6014
6015   interix*)
6016     # We know the value 262144 and hardcode it with a safety zone (like BSD)
6017     lt_cv_sys_max_cmd_len=196608
6018     ;;
6019
6020   osf*)
6021     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6022     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6023     # nice to cause kernel panics so lets avoid the loop below.
6024     # First set a reasonable default.
6025     lt_cv_sys_max_cmd_len=16384
6026     #
6027     if test -x /sbin/sysconfig; then
6028       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6029         *1*) lt_cv_sys_max_cmd_len=-1 ;;
6030       esac
6031     fi
6032     ;;
6033   sco3.2v5*)
6034     lt_cv_sys_max_cmd_len=102400
6035     ;;
6036   sysv5* | sco5v6* | sysv4.2uw2*)
6037     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6038     if test -n "$kargmax"; then
6039       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
6040     else
6041       lt_cv_sys_max_cmd_len=32768
6042     fi
6043     ;;
6044   *)
6045     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6046     if test -n "$lt_cv_sys_max_cmd_len"; then
6047       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6048       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6049     else
6050       # Make teststring a little bigger before we do anything with it.
6051       # a 1K string should be a reasonable start.
6052       for i in 1 2 3 4 5 6 7 8 ; do
6053         teststring=$teststring$teststring
6054       done
6055       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6056       # If test is not a shell built-in, we'll probably end up computing a
6057       # maximum length that is only half of the actual maximum length, but
6058       # we can't tell.
6059       while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
6060                  = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
6061               test $i != 17 # 1/2 MB should be enough
6062       do
6063         i=`expr $i + 1`
6064         teststring=$teststring$teststring
6065       done
6066       # Only check the string length outside the loop.
6067       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6068       teststring=
6069       # Add a significant safety factor because C++ compilers can tack on
6070       # massive amounts of additional arguments before passing them to the
6071       # linker.  It appears as though 1/2 is a usable value.
6072       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6073     fi
6074     ;;
6075   esac
6076
6077 fi
6078
6079 if test -n $lt_cv_sys_max_cmd_len ; then
6080   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6081 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6082 else
6083   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6084 $as_echo "none" >&6; }
6085 fi
6086 max_cmd_len=$lt_cv_sys_max_cmd_len
6087
6088
6089
6090
6091
6092
6093 : ${CP="cp -f"}
6094 : ${MV="mv -f"}
6095 : ${RM="rm -f"}
6096
6097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6098 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6099 # Try some XSI features
6100 xsi_shell=no
6101 ( _lt_dummy="a/b/c"
6102   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6103       = c,a/b,, \
6104     && eval 'test $(( 1 + 1 )) -eq 2 \
6105     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6106   && xsi_shell=yes
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6108 $as_echo "$xsi_shell" >&6; }
6109
6110
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6112 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6113 lt_shell_append=no
6114 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6115     >/dev/null 2>&1 \
6116   && lt_shell_append=yes
6117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6118 $as_echo "$lt_shell_append" >&6; }
6119
6120
6121 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6122   lt_unset=unset
6123 else
6124   lt_unset=false
6125 fi
6126
6127
6128
6129
6130
6131 # test EBCDIC or ASCII
6132 case `echo X|tr X '\101'` in
6133  A) # ASCII based system
6134     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6135   lt_SP2NL='tr \040 \012'
6136   lt_NL2SP='tr \015\012 \040\040'
6137   ;;
6138  *) # EBCDIC based system
6139   lt_SP2NL='tr \100 \n'
6140   lt_NL2SP='tr \r\n \100\100'
6141   ;;
6142 esac
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6153 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6154 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6155   $as_echo_n "(cached) " >&6
6156 else
6157   lt_cv_ld_reload_flag='-r'
6158 fi
6159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6160 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6161 reload_flag=$lt_cv_ld_reload_flag
6162 case $reload_flag in
6163 "" | " "*) ;;
6164 *) reload_flag=" $reload_flag" ;;
6165 esac
6166 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6167 case $host_os in
6168   darwin*)
6169     if test "$GCC" = yes; then
6170       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6171     else
6172       reload_cmds='$LD$reload_flag -o $output$reload_objs'
6173     fi
6174     ;;
6175 esac
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185 if test -n "$ac_tool_prefix"; then
6186   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6187 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6189 $as_echo_n "checking for $ac_word... " >&6; }
6190 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6191   $as_echo_n "(cached) " >&6
6192 else
6193   if test -n "$OBJDUMP"; then
6194   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6195 else
6196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6197 for as_dir in $PATH
6198 do
6199   IFS=$as_save_IFS
6200   test -z "$as_dir" && as_dir=.
6201     for ac_exec_ext in '' $ac_executable_extensions; do
6202   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6203     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6204     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6205     break 2
6206   fi
6207 done
6208   done
6209 IFS=$as_save_IFS
6210
6211 fi
6212 fi
6213 OBJDUMP=$ac_cv_prog_OBJDUMP
6214 if test -n "$OBJDUMP"; then
6215   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6216 $as_echo "$OBJDUMP" >&6; }
6217 else
6218   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6219 $as_echo "no" >&6; }
6220 fi
6221
6222
6223 fi
6224 if test -z "$ac_cv_prog_OBJDUMP"; then
6225   ac_ct_OBJDUMP=$OBJDUMP
6226   # Extract the first word of "objdump", so it can be a program name with args.
6227 set dummy objdump; ac_word=$2
6228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6229 $as_echo_n "checking for $ac_word... " >&6; }
6230 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6231   $as_echo_n "(cached) " >&6
6232 else
6233   if test -n "$ac_ct_OBJDUMP"; then
6234   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6235 else
6236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6237 for as_dir in $PATH
6238 do
6239   IFS=$as_save_IFS
6240   test -z "$as_dir" && as_dir=.
6241     for ac_exec_ext in '' $ac_executable_extensions; do
6242   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6243     ac_cv_prog_ac_ct_OBJDUMP="objdump"
6244     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6245     break 2
6246   fi
6247 done
6248   done
6249 IFS=$as_save_IFS
6250
6251 fi
6252 fi
6253 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6254 if test -n "$ac_ct_OBJDUMP"; then
6255   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6256 $as_echo "$ac_ct_OBJDUMP" >&6; }
6257 else
6258   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6259 $as_echo "no" >&6; }
6260 fi
6261
6262   if test "x$ac_ct_OBJDUMP" = x; then
6263     OBJDUMP="false"
6264   else
6265     case $cross_compiling:$ac_tool_warned in
6266 yes:)
6267 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6268 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6269 ac_tool_warned=yes ;;
6270 esac
6271     OBJDUMP=$ac_ct_OBJDUMP
6272   fi
6273 else
6274   OBJDUMP="$ac_cv_prog_OBJDUMP"
6275 fi
6276
6277 test -z "$OBJDUMP" && OBJDUMP=objdump
6278
6279
6280
6281
6282
6283
6284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6285 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6286 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6287   $as_echo_n "(cached) " >&6
6288 else
6289   lt_cv_file_magic_cmd='$MAGIC_CMD'
6290 lt_cv_file_magic_test_file=
6291 lt_cv_deplibs_check_method='unknown'
6292 # Need to set the preceding variable on all platforms that support
6293 # interlibrary dependencies.
6294 # 'none' -- dependencies not supported.
6295 # `unknown' -- same as none, but documents that we really don't know.
6296 # 'pass_all' -- all dependencies passed with no checks.
6297 # 'test_compile' -- check by making test program.
6298 # 'file_magic [[regex]]' -- check by looking for files in library path
6299 # which responds to the $file_magic_cmd with a given extended regex.
6300 # If you have `file' or equivalent on your system and you're not sure
6301 # whether `pass_all' will *always* work, you probably want this one.
6302
6303 case $host_os in
6304 aix[4-9]*)
6305   lt_cv_deplibs_check_method=pass_all
6306   ;;
6307
6308 beos*)
6309   lt_cv_deplibs_check_method=pass_all
6310   ;;
6311
6312 bsdi[45]*)
6313   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6314   lt_cv_file_magic_cmd='/usr/bin/file -L'
6315   lt_cv_file_magic_test_file=/shlib/libc.so
6316   ;;
6317
6318 cygwin*)
6319   # func_win32_libid is a shell function defined in ltmain.sh
6320   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6321   lt_cv_file_magic_cmd='func_win32_libid'
6322   ;;
6323
6324 mingw* | pw32*)
6325   # Base MSYS/MinGW do not provide the 'file' command needed by
6326   # func_win32_libid shell function, so use a weaker test based on 'objdump',
6327   # unless we find 'file', for example because we are cross-compiling.
6328   if ( file / ) >/dev/null 2>&1; then
6329     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6330     lt_cv_file_magic_cmd='func_win32_libid'
6331   else
6332     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6333     lt_cv_file_magic_cmd='$OBJDUMP -f'
6334   fi
6335   ;;
6336
6337 cegcc)
6338   # use the weaker test based on 'objdump'. See mingw*.
6339   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6340   lt_cv_file_magic_cmd='$OBJDUMP -f'
6341   ;;
6342
6343 darwin* | rhapsody*)
6344   lt_cv_deplibs_check_method=pass_all
6345   ;;
6346
6347 freebsd* | dragonfly*)
6348   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6349     case $host_cpu in
6350     i*86 )
6351       # Not sure whether the presence of OpenBSD here was a mistake.
6352       # Let's accept both of them until this is cleared up.
6353       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6354       lt_cv_file_magic_cmd=/usr/bin/file
6355       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6356       ;;
6357     esac
6358   else
6359     lt_cv_deplibs_check_method=pass_all
6360   fi
6361   ;;
6362
6363 gnu*)
6364   lt_cv_deplibs_check_method=pass_all
6365   ;;
6366
6367 hpux10.20* | hpux11*)
6368   lt_cv_file_magic_cmd=/usr/bin/file
6369   case $host_cpu in
6370   ia64*)
6371     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6372     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6373     ;;
6374   hppa*64*)
6375     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
6376     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6377     ;;
6378   *)
6379     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6380     lt_cv_file_magic_test_file=/usr/lib/libc.sl
6381     ;;
6382   esac
6383   ;;
6384
6385 interix[3-9]*)
6386   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6387   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6388   ;;
6389
6390 irix5* | irix6* | nonstopux*)
6391   case $LD in
6392   *-32|*"-32 ") libmagic=32-bit;;
6393   *-n32|*"-n32 ") libmagic=N32;;
6394   *-64|*"-64 ") libmagic=64-bit;;
6395   *) libmagic=never-match;;
6396   esac
6397   lt_cv_deplibs_check_method=pass_all
6398   ;;
6399
6400 # This must be Linux ELF.
6401 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6402   lt_cv_deplibs_check_method=pass_all
6403   ;;
6404
6405 netbsd* | netbsdelf*-gnu)
6406   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6407     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6408   else
6409     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6410   fi
6411   ;;
6412
6413 newos6*)
6414   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6415   lt_cv_file_magic_cmd=/usr/bin/file
6416   lt_cv_file_magic_test_file=/usr/lib/libnls.so
6417   ;;
6418
6419 *nto* | *qnx*)
6420   lt_cv_deplibs_check_method=pass_all
6421   ;;
6422
6423 openbsd*)
6424   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6425     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6426   else
6427     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6428   fi
6429   ;;
6430
6431 osf3* | osf4* | osf5*)
6432   lt_cv_deplibs_check_method=pass_all
6433   ;;
6434
6435 rdos*)
6436   lt_cv_deplibs_check_method=pass_all
6437   ;;
6438
6439 solaris*)
6440   lt_cv_deplibs_check_method=pass_all
6441   ;;
6442
6443 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6444   lt_cv_deplibs_check_method=pass_all
6445   ;;
6446
6447 sysv4 | sysv4.3*)
6448   case $host_vendor in
6449   motorola)
6450     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]'
6451     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6452     ;;
6453   ncr)
6454     lt_cv_deplibs_check_method=pass_all
6455     ;;
6456   sequent)
6457     lt_cv_file_magic_cmd='/bin/file'
6458     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6459     ;;
6460   sni)
6461     lt_cv_file_magic_cmd='/bin/file'
6462     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6463     lt_cv_file_magic_test_file=/lib/libc.so
6464     ;;
6465   siemens)
6466     lt_cv_deplibs_check_method=pass_all
6467     ;;
6468   pc)
6469     lt_cv_deplibs_check_method=pass_all
6470     ;;
6471   esac
6472   ;;
6473
6474 tpf*)
6475   lt_cv_deplibs_check_method=pass_all
6476   ;;
6477 esac
6478
6479 fi
6480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6481 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6482 file_magic_cmd=$lt_cv_file_magic_cmd
6483 deplibs_check_method=$lt_cv_deplibs_check_method
6484 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497 if test -n "$ac_tool_prefix"; then
6498   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6499 set dummy ${ac_tool_prefix}ar; ac_word=$2
6500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6501 $as_echo_n "checking for $ac_word... " >&6; }
6502 if test "${ac_cv_prog_AR+set}" = set; then :
6503   $as_echo_n "(cached) " >&6
6504 else
6505   if test -n "$AR"; then
6506   ac_cv_prog_AR="$AR" # Let the user override the test.
6507 else
6508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6509 for as_dir in $PATH
6510 do
6511   IFS=$as_save_IFS
6512   test -z "$as_dir" && as_dir=.
6513     for ac_exec_ext in '' $ac_executable_extensions; do
6514   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6515     ac_cv_prog_AR="${ac_tool_prefix}ar"
6516     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6517     break 2
6518   fi
6519 done
6520   done
6521 IFS=$as_save_IFS
6522
6523 fi
6524 fi
6525 AR=$ac_cv_prog_AR
6526 if test -n "$AR"; then
6527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6528 $as_echo "$AR" >&6; }
6529 else
6530   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6531 $as_echo "no" >&6; }
6532 fi
6533
6534
6535 fi
6536 if test -z "$ac_cv_prog_AR"; then
6537   ac_ct_AR=$AR
6538   # Extract the first word of "ar", so it can be a program name with args.
6539 set dummy ar; ac_word=$2
6540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6541 $as_echo_n "checking for $ac_word... " >&6; }
6542 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6543   $as_echo_n "(cached) " >&6
6544 else
6545   if test -n "$ac_ct_AR"; then
6546   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6547 else
6548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6549 for as_dir in $PATH
6550 do
6551   IFS=$as_save_IFS
6552   test -z "$as_dir" && as_dir=.
6553     for ac_exec_ext in '' $ac_executable_extensions; do
6554   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6555     ac_cv_prog_ac_ct_AR="ar"
6556     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6557     break 2
6558   fi
6559 done
6560   done
6561 IFS=$as_save_IFS
6562
6563 fi
6564 fi
6565 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6566 if test -n "$ac_ct_AR"; then
6567   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6568 $as_echo "$ac_ct_AR" >&6; }
6569 else
6570   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6571 $as_echo "no" >&6; }
6572 fi
6573
6574   if test "x$ac_ct_AR" = x; then
6575     AR="false"
6576   else
6577     case $cross_compiling:$ac_tool_warned in
6578 yes:)
6579 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6580 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6581 ac_tool_warned=yes ;;
6582 esac
6583     AR=$ac_ct_AR
6584   fi
6585 else
6586   AR="$ac_cv_prog_AR"
6587 fi
6588
6589 test -z "$AR" && AR=ar
6590 test -z "$AR_FLAGS" && AR_FLAGS=cru
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602 if test -n "$ac_tool_prefix"; then
6603   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6604 set dummy ${ac_tool_prefix}strip; ac_word=$2
6605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6606 $as_echo_n "checking for $ac_word... " >&6; }
6607 if test "${ac_cv_prog_STRIP+set}" = set; then :
6608   $as_echo_n "(cached) " >&6
6609 else
6610   if test -n "$STRIP"; then
6611   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6612 else
6613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6614 for as_dir in $PATH
6615 do
6616   IFS=$as_save_IFS
6617   test -z "$as_dir" && as_dir=.
6618     for ac_exec_ext in '' $ac_executable_extensions; do
6619   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6620     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6621     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6622     break 2
6623   fi
6624 done
6625   done
6626 IFS=$as_save_IFS
6627
6628 fi
6629 fi
6630 STRIP=$ac_cv_prog_STRIP
6631 if test -n "$STRIP"; then
6632   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6633 $as_echo "$STRIP" >&6; }
6634 else
6635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6636 $as_echo "no" >&6; }
6637 fi
6638
6639
6640 fi
6641 if test -z "$ac_cv_prog_STRIP"; then
6642   ac_ct_STRIP=$STRIP
6643   # Extract the first word of "strip", so it can be a program name with args.
6644 set dummy strip; ac_word=$2
6645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6646 $as_echo_n "checking for $ac_word... " >&6; }
6647 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6648   $as_echo_n "(cached) " >&6
6649 else
6650   if test -n "$ac_ct_STRIP"; then
6651   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6652 else
6653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6654 for as_dir in $PATH
6655 do
6656   IFS=$as_save_IFS
6657   test -z "$as_dir" && as_dir=.
6658     for ac_exec_ext in '' $ac_executable_extensions; do
6659   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6660     ac_cv_prog_ac_ct_STRIP="strip"
6661     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6662     break 2
6663   fi
6664 done
6665   done
6666 IFS=$as_save_IFS
6667
6668 fi
6669 fi
6670 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6671 if test -n "$ac_ct_STRIP"; then
6672   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6673 $as_echo "$ac_ct_STRIP" >&6; }
6674 else
6675   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6676 $as_echo "no" >&6; }
6677 fi
6678
6679   if test "x$ac_ct_STRIP" = x; then
6680     STRIP=":"
6681   else
6682     case $cross_compiling:$ac_tool_warned in
6683 yes:)
6684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6685 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6686 ac_tool_warned=yes ;;
6687 esac
6688     STRIP=$ac_ct_STRIP
6689   fi
6690 else
6691   STRIP="$ac_cv_prog_STRIP"
6692 fi
6693
6694 test -z "$STRIP" && STRIP=:
6695
6696
6697
6698
6699
6700
6701 if test -n "$ac_tool_prefix"; then
6702   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6703 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6705 $as_echo_n "checking for $ac_word... " >&6; }
6706 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6707   $as_echo_n "(cached) " >&6
6708 else
6709   if test -n "$RANLIB"; then
6710   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6711 else
6712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6713 for as_dir in $PATH
6714 do
6715   IFS=$as_save_IFS
6716   test -z "$as_dir" && as_dir=.
6717     for ac_exec_ext in '' $ac_executable_extensions; do
6718   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6719     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6720     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6721     break 2
6722   fi
6723 done
6724   done
6725 IFS=$as_save_IFS
6726
6727 fi
6728 fi
6729 RANLIB=$ac_cv_prog_RANLIB
6730 if test -n "$RANLIB"; then
6731   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6732 $as_echo "$RANLIB" >&6; }
6733 else
6734   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6735 $as_echo "no" >&6; }
6736 fi
6737
6738
6739 fi
6740 if test -z "$ac_cv_prog_RANLIB"; then
6741   ac_ct_RANLIB=$RANLIB
6742   # Extract the first word of "ranlib", so it can be a program name with args.
6743 set dummy ranlib; ac_word=$2
6744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6745 $as_echo_n "checking for $ac_word... " >&6; }
6746 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6747   $as_echo_n "(cached) " >&6
6748 else
6749   if test -n "$ac_ct_RANLIB"; then
6750   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6751 else
6752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6753 for as_dir in $PATH
6754 do
6755   IFS=$as_save_IFS
6756   test -z "$as_dir" && as_dir=.
6757     for ac_exec_ext in '' $ac_executable_extensions; do
6758   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6759     ac_cv_prog_ac_ct_RANLIB="ranlib"
6760     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6761     break 2
6762   fi
6763 done
6764   done
6765 IFS=$as_save_IFS
6766
6767 fi
6768 fi
6769 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6770 if test -n "$ac_ct_RANLIB"; then
6771   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6772 $as_echo "$ac_ct_RANLIB" >&6; }
6773 else
6774   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6775 $as_echo "no" >&6; }
6776 fi
6777
6778   if test "x$ac_ct_RANLIB" = x; then
6779     RANLIB=":"
6780   else
6781     case $cross_compiling:$ac_tool_warned in
6782 yes:)
6783 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6784 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6785 ac_tool_warned=yes ;;
6786 esac
6787     RANLIB=$ac_ct_RANLIB
6788   fi
6789 else
6790   RANLIB="$ac_cv_prog_RANLIB"
6791 fi
6792
6793 test -z "$RANLIB" && RANLIB=:
6794
6795
6796
6797
6798
6799
6800 # Determine commands to create old-style static archives.
6801 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6802 old_postinstall_cmds='chmod 644 $oldlib'
6803 old_postuninstall_cmds=
6804
6805 if test -n "$RANLIB"; then
6806   case $host_os in
6807   openbsd*)
6808     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6809     ;;
6810   *)
6811     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6812     ;;
6813   esac
6814   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6815 fi
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850 # If no C compiler was specified, use CC.
6851 LTCC=${LTCC-"$CC"}
6852
6853 # If no C compiler flags were specified, use CFLAGS.
6854 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6855
6856 # Allow CC to be a program name with arguments.
6857 compiler=$CC
6858
6859
6860 # Check for command to grab the raw symbol name followed by C symbol from nm.
6861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6862 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6863 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6864   $as_echo_n "(cached) " >&6
6865 else
6866
6867 # These are sane defaults that work on at least a few old systems.
6868 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6869
6870 # Character class describing NM global symbol codes.
6871 symcode='[BCDEGRST]'
6872
6873 # Regexp to match symbols that can be accessed directly from C.
6874 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6875
6876 # Define system-specific variables.
6877 case $host_os in
6878 aix*)
6879   symcode='[BCDT]'
6880   ;;
6881 cygwin* | mingw* | pw32* | cegcc*)
6882   symcode='[ABCDGISTW]'
6883   ;;
6884 hpux*)
6885   if test "$host_cpu" = ia64; then
6886     symcode='[ABCDEGRST]'
6887   fi
6888   ;;
6889 irix* | nonstopux*)
6890   symcode='[BCDEGRST]'
6891   ;;
6892 osf*)
6893   symcode='[BCDEGQRST]'
6894   ;;
6895 solaris*)
6896   symcode='[BDRT]'
6897   ;;
6898 sco3.2v5*)
6899   symcode='[DT]'
6900   ;;
6901 sysv4.2uw2*)
6902   symcode='[DT]'
6903   ;;
6904 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6905   symcode='[ABDT]'
6906   ;;
6907 sysv4)
6908   symcode='[DFNSTU]'
6909   ;;
6910 esac
6911
6912 # If we're using GNU nm, then use its standard symbol codes.
6913 case `$NM -V 2>&1` in
6914 *GNU* | *'with BFD'*)
6915   symcode='[ABCDGIRSTW]' ;;
6916 esac
6917
6918 # Transform an extracted symbol line into a proper C declaration.
6919 # Some systems (esp. on ia64) link data and code symbols differently,
6920 # so use this general approach.
6921 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6922
6923 # Transform an extracted symbol line into symbol name and symbol address
6924 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6925 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'"
6926
6927 # Handle CRLF in mingw tool chain
6928 opt_cr=
6929 case $build_os in
6930 mingw*)
6931   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6932   ;;
6933 esac
6934
6935 # Try without a prefix underscore, then with it.
6936 for ac_symprfx in "" "_"; do
6937
6938   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6939   symxfrm="\\1 $ac_symprfx\\2 \\2"
6940
6941   # Write the raw and C identifiers.
6942   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6943     # Fake it for dumpbin and say T for any non-static function
6944     # and D for any global variable.
6945     # Also find C++ and __fastcall symbols from MSVC++,
6946     # which start with @ or ?.
6947     lt_cv_sys_global_symbol_pipe="$AWK '"\
6948 "     {last_section=section; section=\$ 3};"\
6949 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6950 "     \$ 0!~/External *\|/{next};"\
6951 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6952 "     {if(hide[section]) next};"\
6953 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6954 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6955 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6956 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6957 "     ' prfx=^$ac_symprfx"
6958   else
6959     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6960   fi
6961
6962   # Check to see that the pipe works correctly.
6963   pipe_works=no
6964
6965   rm -f conftest*
6966   cat > conftest.$ac_ext <<_LT_EOF
6967 #ifdef __cplusplus
6968 extern "C" {
6969 #endif
6970 char nm_test_var;
6971 void nm_test_func(void);
6972 void nm_test_func(void){}
6973 #ifdef __cplusplus
6974 }
6975 #endif
6976 int main(){nm_test_var='a';nm_test_func();return(0);}
6977 _LT_EOF
6978
6979   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6980   (eval $ac_compile) 2>&5
6981   ac_status=$?
6982   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6983   test $ac_status = 0; }; then
6984     # Now try to grab the symbols.
6985     nlist=conftest.nm
6986     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6987   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6988   ac_status=$?
6989   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6990   test $ac_status = 0; } && test -s "$nlist"; then
6991       # Try sorting and uniquifying the output.
6992       if sort "$nlist" | uniq > "$nlist"T; then
6993         mv -f "$nlist"T "$nlist"
6994       else
6995         rm -f "$nlist"T
6996       fi
6997
6998       # Make sure that we snagged all the symbols we need.
6999       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7000         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7001           cat <<_LT_EOF > conftest.$ac_ext
7002 #ifdef __cplusplus
7003 extern "C" {
7004 #endif
7005
7006 _LT_EOF
7007           # Now generate the symbol file.
7008           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7009
7010           cat <<_LT_EOF >> conftest.$ac_ext
7011
7012 /* The mapping between symbol names and symbols.  */
7013 const struct {
7014   const char *name;
7015   void       *address;
7016 }
7017 lt__PROGRAM__LTX_preloaded_symbols[] =
7018 {
7019   { "@PROGRAM@", (void *) 0 },
7020 _LT_EOF
7021           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7022           cat <<\_LT_EOF >> conftest.$ac_ext
7023   {0, (void *) 0}
7024 };
7025
7026 /* This works around a problem in FreeBSD linker */
7027 #ifdef FREEBSD_WORKAROUND
7028 static const void *lt_preloaded_setup() {
7029   return lt__PROGRAM__LTX_preloaded_symbols;
7030 }
7031 #endif
7032
7033 #ifdef __cplusplus
7034 }
7035 #endif
7036 _LT_EOF
7037           # Now try linking the two files.
7038           mv conftest.$ac_objext conftstm.$ac_objext
7039           lt_save_LIBS="$LIBS"
7040           lt_save_CFLAGS="$CFLAGS"
7041           LIBS="conftstm.$ac_objext"
7042           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7043           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7044   (eval $ac_link) 2>&5
7045   ac_status=$?
7046   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7047   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7048             pipe_works=yes
7049           fi
7050           LIBS="$lt_save_LIBS"
7051           CFLAGS="$lt_save_CFLAGS"
7052         else
7053           echo "cannot find nm_test_func in $nlist" >&5
7054         fi
7055       else
7056         echo "cannot find nm_test_var in $nlist" >&5
7057       fi
7058     else
7059       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7060     fi
7061   else
7062     echo "$progname: failed program was:" >&5
7063     cat conftest.$ac_ext >&5
7064   fi
7065   rm -rf conftest* conftst*
7066
7067   # Do not use the global_symbol_pipe unless it works.
7068   if test "$pipe_works" = yes; then
7069     break
7070   else
7071     lt_cv_sys_global_symbol_pipe=
7072   fi
7073 done
7074
7075 fi
7076
7077 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7078   lt_cv_sys_global_symbol_to_cdecl=
7079 fi
7080 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7081   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7082 $as_echo "failed" >&6; }
7083 else
7084   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7085 $as_echo "ok" >&6; }
7086 fi
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110 # Check whether --enable-libtool-lock was given.
7111 if test "${enable_libtool_lock+set}" = set; then :
7112   enableval=$enable_libtool_lock;
7113 fi
7114
7115 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7116
7117 # Some flags need to be propagated to the compiler or linker for good
7118 # libtool support.
7119 case $host in
7120 ia64-*-hpux*)
7121   # Find out which ABI we are using.
7122   echo 'int i;' > conftest.$ac_ext
7123   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7124   (eval $ac_compile) 2>&5
7125   ac_status=$?
7126   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7127   test $ac_status = 0; }; then
7128     case `/usr/bin/file conftest.$ac_objext` in
7129       *ELF-32*)
7130         HPUX_IA64_MODE="32"
7131         ;;
7132       *ELF-64*)
7133         HPUX_IA64_MODE="64"
7134         ;;
7135     esac
7136   fi
7137   rm -rf conftest*
7138   ;;
7139 *-*-irix6*)
7140   # Find out which ABI we are using.
7141   echo '#line 7141 "configure"' > conftest.$ac_ext
7142   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7143   (eval $ac_compile) 2>&5
7144   ac_status=$?
7145   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7146   test $ac_status = 0; }; then
7147     if test "$lt_cv_prog_gnu_ld" = yes; then
7148       case `/usr/bin/file conftest.$ac_objext` in
7149         *32-bit*)
7150           LD="${LD-ld} -melf32bsmip"
7151           ;;
7152         *N32*)
7153           LD="${LD-ld} -melf32bmipn32"
7154           ;;
7155         *64-bit*)
7156           LD="${LD-ld} -melf64bmip"
7157         ;;
7158       esac
7159     else
7160       case `/usr/bin/file conftest.$ac_objext` in
7161         *32-bit*)
7162           LD="${LD-ld} -32"
7163           ;;
7164         *N32*)
7165           LD="${LD-ld} -n32"
7166           ;;
7167         *64-bit*)
7168           LD="${LD-ld} -64"
7169           ;;
7170       esac
7171     fi
7172   fi
7173   rm -rf conftest*
7174   ;;
7175
7176 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7177 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7178   # Find out which ABI we are using.
7179   echo 'int i;' > conftest.$ac_ext
7180   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7181   (eval $ac_compile) 2>&5
7182   ac_status=$?
7183   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7184   test $ac_status = 0; }; then
7185     case `/usr/bin/file conftest.o` in
7186       *32-bit*)
7187         case $host in
7188           x86_64-*kfreebsd*-gnu)
7189             LD="${LD-ld} -m elf_i386_fbsd"
7190             ;;
7191           x86_64-*linux*)
7192             LD="${LD-ld} -m elf_i386"
7193             ;;
7194           ppc64-*linux*|powerpc64-*linux*)
7195             LD="${LD-ld} -m elf32ppclinux"
7196             ;;
7197           s390x-*linux*)
7198             LD="${LD-ld} -m elf_s390"
7199             ;;
7200           sparc64-*linux*)
7201             LD="${LD-ld} -m elf32_sparc"
7202             ;;
7203         esac
7204         ;;
7205       *64-bit*)
7206         case $host in
7207           x86_64-*kfreebsd*-gnu)
7208             LD="${LD-ld} -m elf_x86_64_fbsd"
7209             ;;
7210           x86_64-*linux*)
7211             LD="${LD-ld} -m elf_x86_64"
7212             ;;
7213           ppc*-*linux*|powerpc*-*linux*)
7214             LD="${LD-ld} -m elf64ppc"
7215             ;;
7216           s390*-*linux*|s390*-*tpf*)
7217             LD="${LD-ld} -m elf64_s390"
7218             ;;
7219           sparc*-*linux*)
7220             LD="${LD-ld} -m elf64_sparc"
7221             ;;
7222         esac
7223         ;;
7224     esac
7225   fi
7226   rm -rf conftest*
7227   ;;
7228
7229 *-*-sco3.2v5*)
7230   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7231   SAVE_CFLAGS="$CFLAGS"
7232   CFLAGS="$CFLAGS -belf"
7233   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7234 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7235 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7236   $as_echo_n "(cached) " >&6
7237 else
7238   ac_ext=c
7239 ac_cpp='$CPP $CPPFLAGS'
7240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7243
7244      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7245 /* end confdefs.h.  */
7246
7247 int
7248 main ()
7249 {
7250
7251   ;
7252   return 0;
7253 }
7254 _ACEOF
7255 if ac_fn_c_try_link "$LINENO"; then :
7256   lt_cv_cc_needs_belf=yes
7257 else
7258   lt_cv_cc_needs_belf=no
7259 fi
7260 rm -f core conftest.err conftest.$ac_objext \
7261     conftest$ac_exeext conftest.$ac_ext
7262      ac_ext=c
7263 ac_cpp='$CPP $CPPFLAGS'
7264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7267
7268 fi
7269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7270 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7271   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7272     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7273     CFLAGS="$SAVE_CFLAGS"
7274   fi
7275   ;;
7276 sparc*-*solaris*)
7277   # Find out which ABI we are using.
7278   echo 'int i;' > conftest.$ac_ext
7279   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7280   (eval $ac_compile) 2>&5
7281   ac_status=$?
7282   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7283   test $ac_status = 0; }; then
7284     case `/usr/bin/file conftest.o` in
7285     *64-bit*)
7286       case $lt_cv_prog_gnu_ld in
7287       yes*) LD="${LD-ld} -m elf64_sparc" ;;
7288       *)
7289         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7290           LD="${LD-ld} -64"
7291         fi
7292         ;;
7293       esac
7294       ;;
7295     esac
7296   fi
7297   rm -rf conftest*
7298   ;;
7299 esac
7300
7301 need_locks="$enable_libtool_lock"
7302
7303
7304   case $host_os in
7305     rhapsody* | darwin*)
7306     if test -n "$ac_tool_prefix"; then
7307   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7308 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7310 $as_echo_n "checking for $ac_word... " >&6; }
7311 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7312   $as_echo_n "(cached) " >&6
7313 else
7314   if test -n "$DSYMUTIL"; then
7315   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7316 else
7317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7318 for as_dir in $PATH
7319 do
7320   IFS=$as_save_IFS
7321   test -z "$as_dir" && as_dir=.
7322     for ac_exec_ext in '' $ac_executable_extensions; do
7323   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7324     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7325     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7326     break 2
7327   fi
7328 done
7329   done
7330 IFS=$as_save_IFS
7331
7332 fi
7333 fi
7334 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7335 if test -n "$DSYMUTIL"; then
7336   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7337 $as_echo "$DSYMUTIL" >&6; }
7338 else
7339   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7340 $as_echo "no" >&6; }
7341 fi
7342
7343
7344 fi
7345 if test -z "$ac_cv_prog_DSYMUTIL"; then
7346   ac_ct_DSYMUTIL=$DSYMUTIL
7347   # Extract the first word of "dsymutil", so it can be a program name with args.
7348 set dummy dsymutil; ac_word=$2
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7350 $as_echo_n "checking for $ac_word... " >&6; }
7351 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7352   $as_echo_n "(cached) " >&6
7353 else
7354   if test -n "$ac_ct_DSYMUTIL"; then
7355   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7356 else
7357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7358 for as_dir in $PATH
7359 do
7360   IFS=$as_save_IFS
7361   test -z "$as_dir" && as_dir=.
7362     for ac_exec_ext in '' $ac_executable_extensions; do
7363   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7364     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7365     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7366     break 2
7367   fi
7368 done
7369   done
7370 IFS=$as_save_IFS
7371
7372 fi
7373 fi
7374 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7375 if test -n "$ac_ct_DSYMUTIL"; then
7376   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7377 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7378 else
7379   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7380 $as_echo "no" >&6; }
7381 fi
7382
7383   if test "x$ac_ct_DSYMUTIL" = x; then
7384     DSYMUTIL=":"
7385   else
7386     case $cross_compiling:$ac_tool_warned in
7387 yes:)
7388 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7389 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7390 ac_tool_warned=yes ;;
7391 esac
7392     DSYMUTIL=$ac_ct_DSYMUTIL
7393   fi
7394 else
7395   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7396 fi
7397
7398     if test -n "$ac_tool_prefix"; then
7399   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7400 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7402 $as_echo_n "checking for $ac_word... " >&6; }
7403 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7404   $as_echo_n "(cached) " >&6
7405 else
7406   if test -n "$NMEDIT"; then
7407   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7408 else
7409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7410 for as_dir in $PATH
7411 do
7412   IFS=$as_save_IFS
7413   test -z "$as_dir" && as_dir=.
7414     for ac_exec_ext in '' $ac_executable_extensions; do
7415   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7416     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7417     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7418     break 2
7419   fi
7420 done
7421   done
7422 IFS=$as_save_IFS
7423
7424 fi
7425 fi
7426 NMEDIT=$ac_cv_prog_NMEDIT
7427 if test -n "$NMEDIT"; then
7428   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7429 $as_echo "$NMEDIT" >&6; }
7430 else
7431   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7432 $as_echo "no" >&6; }
7433 fi
7434
7435
7436 fi
7437 if test -z "$ac_cv_prog_NMEDIT"; then
7438   ac_ct_NMEDIT=$NMEDIT
7439   # Extract the first word of "nmedit", so it can be a program name with args.
7440 set dummy nmedit; ac_word=$2
7441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7442 $as_echo_n "checking for $ac_word... " >&6; }
7443 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7444   $as_echo_n "(cached) " >&6
7445 else
7446   if test -n "$ac_ct_NMEDIT"; then
7447   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7448 else
7449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7450 for as_dir in $PATH
7451 do
7452   IFS=$as_save_IFS
7453   test -z "$as_dir" && as_dir=.
7454     for ac_exec_ext in '' $ac_executable_extensions; do
7455   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7456     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7457     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7458     break 2
7459   fi
7460 done
7461   done
7462 IFS=$as_save_IFS
7463
7464 fi
7465 fi
7466 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7467 if test -n "$ac_ct_NMEDIT"; then
7468   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7469 $as_echo "$ac_ct_NMEDIT" >&6; }
7470 else
7471   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7472 $as_echo "no" >&6; }
7473 fi
7474
7475   if test "x$ac_ct_NMEDIT" = x; then
7476     NMEDIT=":"
7477   else
7478     case $cross_compiling:$ac_tool_warned in
7479 yes:)
7480 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7481 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7482 ac_tool_warned=yes ;;
7483 esac
7484     NMEDIT=$ac_ct_NMEDIT
7485   fi
7486 else
7487   NMEDIT="$ac_cv_prog_NMEDIT"
7488 fi
7489
7490     if test -n "$ac_tool_prefix"; then
7491   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7492 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7494 $as_echo_n "checking for $ac_word... " >&6; }
7495 if test "${ac_cv_prog_LIPO+set}" = set; then :
7496   $as_echo_n "(cached) " >&6
7497 else
7498   if test -n "$LIPO"; then
7499   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7500 else
7501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7502 for as_dir in $PATH
7503 do
7504   IFS=$as_save_IFS
7505   test -z "$as_dir" && as_dir=.
7506     for ac_exec_ext in '' $ac_executable_extensions; do
7507   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7508     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7509     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7510     break 2
7511   fi
7512 done
7513   done
7514 IFS=$as_save_IFS
7515
7516 fi
7517 fi
7518 LIPO=$ac_cv_prog_LIPO
7519 if test -n "$LIPO"; then
7520   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7521 $as_echo "$LIPO" >&6; }
7522 else
7523   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7524 $as_echo "no" >&6; }
7525 fi
7526
7527
7528 fi
7529 if test -z "$ac_cv_prog_LIPO"; then
7530   ac_ct_LIPO=$LIPO
7531   # Extract the first word of "lipo", so it can be a program name with args.
7532 set dummy lipo; ac_word=$2
7533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7534 $as_echo_n "checking for $ac_word... " >&6; }
7535 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7536   $as_echo_n "(cached) " >&6
7537 else
7538   if test -n "$ac_ct_LIPO"; then
7539   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7540 else
7541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7542 for as_dir in $PATH
7543 do
7544   IFS=$as_save_IFS
7545   test -z "$as_dir" && as_dir=.
7546     for ac_exec_ext in '' $ac_executable_extensions; do
7547   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7548     ac_cv_prog_ac_ct_LIPO="lipo"
7549     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7550     break 2
7551   fi
7552 done
7553   done
7554 IFS=$as_save_IFS
7555
7556 fi
7557 fi
7558 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7559 if test -n "$ac_ct_LIPO"; then
7560   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7561 $as_echo "$ac_ct_LIPO" >&6; }
7562 else
7563   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7564 $as_echo "no" >&6; }
7565 fi
7566
7567   if test "x$ac_ct_LIPO" = x; then
7568     LIPO=":"
7569   else
7570     case $cross_compiling:$ac_tool_warned in
7571 yes:)
7572 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7573 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7574 ac_tool_warned=yes ;;
7575 esac
7576     LIPO=$ac_ct_LIPO
7577   fi
7578 else
7579   LIPO="$ac_cv_prog_LIPO"
7580 fi
7581
7582     if test -n "$ac_tool_prefix"; then
7583   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7584 set dummy ${ac_tool_prefix}otool; ac_word=$2
7585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7586 $as_echo_n "checking for $ac_word... " >&6; }
7587 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7588   $as_echo_n "(cached) " >&6
7589 else
7590   if test -n "$OTOOL"; then
7591   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7592 else
7593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7594 for as_dir in $PATH
7595 do
7596   IFS=$as_save_IFS
7597   test -z "$as_dir" && as_dir=.
7598     for ac_exec_ext in '' $ac_executable_extensions; do
7599   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7600     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7601     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7602     break 2
7603   fi
7604 done
7605   done
7606 IFS=$as_save_IFS
7607
7608 fi
7609 fi
7610 OTOOL=$ac_cv_prog_OTOOL
7611 if test -n "$OTOOL"; then
7612   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7613 $as_echo "$OTOOL" >&6; }
7614 else
7615   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7616 $as_echo "no" >&6; }
7617 fi
7618
7619
7620 fi
7621 if test -z "$ac_cv_prog_OTOOL"; then
7622   ac_ct_OTOOL=$OTOOL
7623   # Extract the first word of "otool", so it can be a program name with args.
7624 set dummy otool; ac_word=$2
7625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7626 $as_echo_n "checking for $ac_word... " >&6; }
7627 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7628   $as_echo_n "(cached) " >&6
7629 else
7630   if test -n "$ac_ct_OTOOL"; then
7631   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7632 else
7633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7634 for as_dir in $PATH
7635 do
7636   IFS=$as_save_IFS
7637   test -z "$as_dir" && as_dir=.
7638     for ac_exec_ext in '' $ac_executable_extensions; do
7639   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7640     ac_cv_prog_ac_ct_OTOOL="otool"
7641     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7642     break 2
7643   fi
7644 done
7645   done
7646 IFS=$as_save_IFS
7647
7648 fi
7649 fi
7650 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7651 if test -n "$ac_ct_OTOOL"; then
7652   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7653 $as_echo "$ac_ct_OTOOL" >&6; }
7654 else
7655   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7656 $as_echo "no" >&6; }
7657 fi
7658
7659   if test "x$ac_ct_OTOOL" = x; then
7660     OTOOL=":"
7661   else
7662     case $cross_compiling:$ac_tool_warned in
7663 yes:)
7664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7665 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7666 ac_tool_warned=yes ;;
7667 esac
7668     OTOOL=$ac_ct_OTOOL
7669   fi
7670 else
7671   OTOOL="$ac_cv_prog_OTOOL"
7672 fi
7673
7674     if test -n "$ac_tool_prefix"; then
7675   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7676 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7678 $as_echo_n "checking for $ac_word... " >&6; }
7679 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7680   $as_echo_n "(cached) " >&6
7681 else
7682   if test -n "$OTOOL64"; then
7683   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7684 else
7685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7686 for as_dir in $PATH
7687 do
7688   IFS=$as_save_IFS
7689   test -z "$as_dir" && as_dir=.
7690     for ac_exec_ext in '' $ac_executable_extensions; do
7691   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7692     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7693     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7694     break 2
7695   fi
7696 done
7697   done
7698 IFS=$as_save_IFS
7699
7700 fi
7701 fi
7702 OTOOL64=$ac_cv_prog_OTOOL64
7703 if test -n "$OTOOL64"; then
7704   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7705 $as_echo "$OTOOL64" >&6; }
7706 else
7707   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7708 $as_echo "no" >&6; }
7709 fi
7710
7711
7712 fi
7713 if test -z "$ac_cv_prog_OTOOL64"; then
7714   ac_ct_OTOOL64=$OTOOL64
7715   # Extract the first word of "otool64", so it can be a program name with args.
7716 set dummy otool64; 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 test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7720   $as_echo_n "(cached) " >&6
7721 else
7722   if test -n "$ac_ct_OTOOL64"; then
7723   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # 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_ac_ct_OTOOL64="otool64"
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 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7743 if test -n "$ac_ct_OTOOL64"; then
7744   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7745 $as_echo "$ac_ct_OTOOL64" >&6; }
7746 else
7747   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7748 $as_echo "no" >&6; }
7749 fi
7750
7751   if test "x$ac_ct_OTOOL64" = x; then
7752     OTOOL64=":"
7753   else
7754     case $cross_compiling:$ac_tool_warned in
7755 yes:)
7756 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7757 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7758 ac_tool_warned=yes ;;
7759 esac
7760     OTOOL64=$ac_ct_OTOOL64
7761   fi
7762 else
7763   OTOOL64="$ac_cv_prog_OTOOL64"
7764 fi
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7793 $as_echo_n "checking for -single_module linker flag... " >&6; }
7794 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7795   $as_echo_n "(cached) " >&6
7796 else
7797   lt_cv_apple_cc_single_mod=no
7798       if test -z "${LT_MULTI_MODULE}"; then
7799         # By default we will add the -single_module flag. You can override
7800         # by either setting the environment variable LT_MULTI_MODULE
7801         # non-empty at configure time, or by adding -multi_module to the
7802         # link flags.
7803         rm -rf libconftest.dylib*
7804         echo "int foo(void){return 1;}" > conftest.c
7805         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7806 -dynamiclib -Wl,-single_module conftest.c" >&5
7807         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7808           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7809         _lt_result=$?
7810         if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7811           lt_cv_apple_cc_single_mod=yes
7812         else
7813           cat conftest.err >&5
7814         fi
7815         rm -rf libconftest.dylib*
7816         rm -f conftest.*
7817       fi
7818 fi
7819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7820 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7821     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7822 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7823 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7824   $as_echo_n "(cached) " >&6
7825 else
7826   lt_cv_ld_exported_symbols_list=no
7827       save_LDFLAGS=$LDFLAGS
7828       echo "_main" > conftest.sym
7829       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7830       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7831 /* end confdefs.h.  */
7832
7833 int
7834 main ()
7835 {
7836
7837   ;
7838   return 0;
7839 }
7840 _ACEOF
7841 if ac_fn_c_try_link "$LINENO"; then :
7842   lt_cv_ld_exported_symbols_list=yes
7843 else
7844   lt_cv_ld_exported_symbols_list=no
7845 fi
7846 rm -f core conftest.err conftest.$ac_objext \
7847     conftest$ac_exeext conftest.$ac_ext
7848         LDFLAGS="$save_LDFLAGS"
7849
7850 fi
7851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7852 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7853     case $host_os in
7854     rhapsody* | darwin1.[012])
7855       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7856     darwin1.*)
7857       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7858     darwin*) # darwin 5.x on
7859       # if running on 10.5 or later, the deployment target defaults
7860       # to the OS version, if on x86, and 10.4, the deployment
7861       # target defaults to 10.4. Don't you love it?
7862       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7863         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7864           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7865         10.[012]*)
7866           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7867         10.*)
7868           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7869       esac
7870     ;;
7871   esac
7872     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7873       _lt_dar_single_mod='$single_module'
7874     fi
7875     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7876       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7877     else
7878       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7879     fi
7880     if test "$DSYMUTIL" != ":"; then
7881       _lt_dsymutil='~$DSYMUTIL $lib || :'
7882     else
7883       _lt_dsymutil=
7884     fi
7885     ;;
7886   esac
7887
7888 ac_ext=c
7889 ac_cpp='$CPP $CPPFLAGS'
7890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7894 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7895 # On Suns, sometimes $CPP names a directory.
7896 if test -n "$CPP" && test -d "$CPP"; then
7897   CPP=
7898 fi
7899 if test -z "$CPP"; then
7900   if test "${ac_cv_prog_CPP+set}" = set; then :
7901   $as_echo_n "(cached) " >&6
7902 else
7903       # Double quotes because CPP needs to be expanded
7904     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7905     do
7906       ac_preproc_ok=false
7907 for ac_c_preproc_warn_flag in '' yes
7908 do
7909   # Use a header file that comes with gcc, so configuring glibc
7910   # with a fresh cross-compiler works.
7911   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7912   # <limits.h> exists even on freestanding compilers.
7913   # On the NeXT, cc -E runs the code through the compiler's parser,
7914   # not just through cpp. "Syntax error" is here to catch this case.
7915   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7916 /* end confdefs.h.  */
7917 #ifdef __STDC__
7918 # include <limits.h>
7919 #else
7920 # include <assert.h>
7921 #endif
7922                      Syntax error
7923 _ACEOF
7924 if ac_fn_c_try_cpp "$LINENO"; then :
7925
7926 else
7927   # Broken: fails on valid input.
7928 continue
7929 fi
7930 rm -f conftest.err conftest.i conftest.$ac_ext
7931
7932   # OK, works on sane cases.  Now check whether nonexistent headers
7933   # can be detected and how.
7934   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7935 /* end confdefs.h.  */
7936 #include <ac_nonexistent.h>
7937 _ACEOF
7938 if ac_fn_c_try_cpp "$LINENO"; then :
7939   # Broken: success on invalid input.
7940 continue
7941 else
7942   # Passes both tests.
7943 ac_preproc_ok=:
7944 break
7945 fi
7946 rm -f conftest.err conftest.i conftest.$ac_ext
7947
7948 done
7949 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7950 rm -f conftest.i conftest.err conftest.$ac_ext
7951 if $ac_preproc_ok; then :
7952   break
7953 fi
7954
7955     done
7956     ac_cv_prog_CPP=$CPP
7957
7958 fi
7959   CPP=$ac_cv_prog_CPP
7960 else
7961   ac_cv_prog_CPP=$CPP
7962 fi
7963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7964 $as_echo "$CPP" >&6; }
7965 ac_preproc_ok=false
7966 for ac_c_preproc_warn_flag in '' yes
7967 do
7968   # Use a header file that comes with gcc, so configuring glibc
7969   # with a fresh cross-compiler works.
7970   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7971   # <limits.h> exists even on freestanding compilers.
7972   # On the NeXT, cc -E runs the code through the compiler's parser,
7973   # not just through cpp. "Syntax error" is here to catch this case.
7974   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7975 /* end confdefs.h.  */
7976 #ifdef __STDC__
7977 # include <limits.h>
7978 #else
7979 # include <assert.h>
7980 #endif
7981                      Syntax error
7982 _ACEOF
7983 if ac_fn_c_try_cpp "$LINENO"; then :
7984
7985 else
7986   # Broken: fails on valid input.
7987 continue
7988 fi
7989 rm -f conftest.err conftest.i conftest.$ac_ext
7990
7991   # OK, works on sane cases.  Now check whether nonexistent headers
7992   # can be detected and how.
7993   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7994 /* end confdefs.h.  */
7995 #include <ac_nonexistent.h>
7996 _ACEOF
7997 if ac_fn_c_try_cpp "$LINENO"; then :
7998   # Broken: success on invalid input.
7999 continue
8000 else
8001   # Passes both tests.
8002 ac_preproc_ok=:
8003 break
8004 fi
8005 rm -f conftest.err conftest.i conftest.$ac_ext
8006
8007 done
8008 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8009 rm -f conftest.i conftest.err conftest.$ac_ext
8010 if $ac_preproc_ok; then :
8011
8012 else
8013   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8014 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8015 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8016 See \`config.log' for more details" "$LINENO" 5 ; }
8017 fi
8018
8019 ac_ext=c
8020 ac_cpp='$CPP $CPPFLAGS'
8021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8024
8025
8026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8027 $as_echo_n "checking for ANSI C header files... " >&6; }
8028 if test "${ac_cv_header_stdc+set}" = set; then :
8029   $as_echo_n "(cached) " >&6
8030 else
8031   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8032 /* end confdefs.h.  */
8033 #include <stdlib.h>
8034 #include <stdarg.h>
8035 #include <string.h>
8036 #include <float.h>
8037
8038 int
8039 main ()
8040 {
8041
8042   ;
8043   return 0;
8044 }
8045 _ACEOF
8046 if ac_fn_c_try_compile "$LINENO"; then :
8047   ac_cv_header_stdc=yes
8048 else
8049   ac_cv_header_stdc=no
8050 fi
8051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8052
8053 if test $ac_cv_header_stdc = yes; then
8054   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8055   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8056 /* end confdefs.h.  */
8057 #include <string.h>
8058
8059 _ACEOF
8060 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8061   $EGREP "memchr" >/dev/null 2>&1; then :
8062
8063 else
8064   ac_cv_header_stdc=no
8065 fi
8066 rm -f conftest*
8067
8068 fi
8069
8070 if test $ac_cv_header_stdc = yes; then
8071   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8072   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8073 /* end confdefs.h.  */
8074 #include <stdlib.h>
8075
8076 _ACEOF
8077 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8078   $EGREP "free" >/dev/null 2>&1; then :
8079
8080 else
8081   ac_cv_header_stdc=no
8082 fi
8083 rm -f conftest*
8084
8085 fi
8086
8087 if test $ac_cv_header_stdc = yes; then
8088   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8089   if test "$cross_compiling" = yes; then :
8090   :
8091 else
8092   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8093 /* end confdefs.h.  */
8094 #include <ctype.h>
8095 #include <stdlib.h>
8096 #if ((' ' & 0x0FF) == 0x020)
8097 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8098 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8099 #else
8100 # define ISLOWER(c) \
8101                    (('a' <= (c) && (c) <= 'i') \
8102                      || ('j' <= (c) && (c) <= 'r') \
8103                      || ('s' <= (c) && (c) <= 'z'))
8104 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8105 #endif
8106
8107 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8108 int
8109 main ()
8110 {
8111   int i;
8112   for (i = 0; i < 256; i++)
8113     if (XOR (islower (i), ISLOWER (i))
8114         || toupper (i) != TOUPPER (i))
8115       return 2;
8116   return 0;
8117 }
8118 _ACEOF
8119 if ac_fn_c_try_run "$LINENO"; then :
8120
8121 else
8122   ac_cv_header_stdc=no
8123 fi
8124 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8125   conftest.$ac_objext conftest.beam conftest.$ac_ext
8126 fi
8127
8128 fi
8129 fi
8130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8131 $as_echo "$ac_cv_header_stdc" >&6; }
8132 if test $ac_cv_header_stdc = yes; then
8133
8134 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8135
8136 fi
8137
8138 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8139 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8140                   inttypes.h stdint.h unistd.h
8141 do :
8142   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8143 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8144 "
8145 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8146   cat >>confdefs.h <<_ACEOF
8147 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8148 _ACEOF
8149
8150 fi
8151
8152 done
8153
8154
8155 for ac_header in dlfcn.h
8156 do :
8157   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8158 "
8159 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8160   cat >>confdefs.h <<_ACEOF
8161 #define HAVE_DLFCN_H 1
8162 _ACEOF
8163
8164 fi
8165
8166 done
8167
8168
8169
8170 # Set options
8171
8172
8173
8174
8175
8176             # Check whether --enable-shared was given.
8177 if test "${enable_shared+set}" = set; then :
8178   enableval=$enable_shared; p=${PACKAGE-default}
8179     case $enableval in
8180     yes) enable_shared=yes ;;
8181     no) enable_shared=no ;;
8182     *)
8183       enable_shared=no
8184       # Look at the argument we got.  We use all the common list separators.
8185       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8186       for pkg in $enableval; do
8187         IFS="$lt_save_ifs"
8188         if test "X$pkg" = "X$p"; then
8189           enable_shared=yes
8190         fi
8191       done
8192       IFS="$lt_save_ifs"
8193       ;;
8194     esac
8195 else
8196   enable_shared=yes
8197 fi
8198
8199
8200
8201
8202
8203
8204
8205
8206
8207   # Check whether --enable-static was given.
8208 if test "${enable_static+set}" = set; then :
8209   enableval=$enable_static; p=${PACKAGE-default}
8210     case $enableval in
8211     yes) enable_static=yes ;;
8212     no) enable_static=no ;;
8213     *)
8214      enable_static=no
8215       # Look at the argument we got.  We use all the common list separators.
8216       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8217       for pkg in $enableval; do
8218         IFS="$lt_save_ifs"
8219         if test "X$pkg" = "X$p"; then
8220           enable_static=yes
8221         fi
8222       done
8223       IFS="$lt_save_ifs"
8224       ;;
8225     esac
8226 else
8227   enable_static=yes
8228 fi
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239 # Check whether --with-pic was given.
8240 if test "${with_pic+set}" = set; then :
8241   withval=$with_pic; pic_mode="$withval"
8242 else
8243   pic_mode=default
8244 fi
8245
8246
8247 test -z "$pic_mode" && pic_mode=default
8248
8249
8250
8251
8252
8253
8254
8255   # Check whether --enable-fast-install was given.
8256 if test "${enable_fast_install+set}" = set; then :
8257   enableval=$enable_fast_install; p=${PACKAGE-default}
8258     case $enableval in
8259     yes) enable_fast_install=yes ;;
8260     no) enable_fast_install=no ;;
8261     *)
8262       enable_fast_install=no
8263       # Look at the argument we got.  We use all the common list separators.
8264       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8265       for pkg in $enableval; do
8266         IFS="$lt_save_ifs"
8267         if test "X$pkg" = "X$p"; then
8268           enable_fast_install=yes
8269         fi
8270       done
8271       IFS="$lt_save_ifs"
8272       ;;
8273     esac
8274 else
8275   enable_fast_install=yes
8276 fi
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288 # This can be used to rebuild libtool when needed
8289 LIBTOOL_DEPS="$ltmain"
8290
8291 # Always use our own libtool.
8292 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
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 test -z "$LN_S" && LN_S="ln -s"
8319
8320
8321
8322
8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333 if test -n "${ZSH_VERSION+set}" ; then
8334    setopt NO_GLOB_SUBST
8335 fi
8336
8337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8338 $as_echo_n "checking for objdir... " >&6; }
8339 if test "${lt_cv_objdir+set}" = set; then :
8340   $as_echo_n "(cached) " >&6
8341 else
8342   rm -f .libs 2>/dev/null
8343 mkdir .libs 2>/dev/null
8344 if test -d .libs; then
8345   lt_cv_objdir=.libs
8346 else
8347   # MS-DOS does not allow filenames that begin with a dot.
8348   lt_cv_objdir=_libs
8349 fi
8350 rmdir .libs 2>/dev/null
8351 fi
8352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8353 $as_echo "$lt_cv_objdir" >&6; }
8354 objdir=$lt_cv_objdir
8355
8356
8357
8358
8359
8360 cat >>confdefs.h <<_ACEOF
8361 #define LT_OBJDIR "$lt_cv_objdir/"
8362 _ACEOF
8363
8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
8376
8377
8378
8379
8380 case $host_os in
8381 aix3*)
8382   # AIX sometimes has problems with the GCC collect2 program.  For some
8383   # reason, if we set the COLLECT_NAMES environment variable, the problems
8384   # vanish in a puff of smoke.
8385   if test "X${COLLECT_NAMES+set}" != Xset; then
8386     COLLECT_NAMES=
8387     export COLLECT_NAMES
8388   fi
8389   ;;
8390 esac
8391
8392 # Sed substitution that helps us do robust quoting.  It backslashifies
8393 # metacharacters that are still active within double-quoted strings.
8394 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
8395
8396 # Same as above, but do not quote variable references.
8397 double_quote_subst='s/\(["`\\]\)/\\\1/g'
8398
8399 # Sed substitution to delay expansion of an escaped shell variable in a
8400 # double_quote_subst'ed string.
8401 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8402
8403 # Sed substitution to delay expansion of an escaped single quote.
8404 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
8405
8406 # Sed substitution to avoid accidental globbing in evaled expressions
8407 no_glob_subst='s/\*/\\\*/g'
8408
8409 # Global variables:
8410 ofile=libtool
8411 can_build_shared=yes
8412
8413 # All known linkers require a `.a' archive for static linking (except MSVC,
8414 # which needs '.lib').
8415 libext=a
8416
8417 with_gnu_ld="$lt_cv_prog_gnu_ld"
8418
8419 old_CC="$CC"
8420 old_CFLAGS="$CFLAGS"
8421
8422 # Set sane defaults for various variables
8423 test -z "$CC" && CC=cc
8424 test -z "$LTCC" && LTCC=$CC
8425 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8426 test -z "$LD" && LD=ld
8427 test -z "$ac_objext" && ac_objext=o
8428
8429 for cc_temp in $compiler""; do
8430   case $cc_temp in
8431     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8432     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8433     \-*) ;;
8434     *) break;;
8435   esac
8436 done
8437 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8438
8439
8440 # Only perform the check for file, if the check method requires it
8441 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8442 case $deplibs_check_method in
8443 file_magic*)
8444   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8445     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8446 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8447 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8448   $as_echo_n "(cached) " >&6
8449 else
8450   case $MAGIC_CMD in
8451 [\\/*] |  ?:[\\/]*)
8452   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8453   ;;
8454 *)
8455   lt_save_MAGIC_CMD="$MAGIC_CMD"
8456   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8457   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8458   for ac_dir in $ac_dummy; do
8459     IFS="$lt_save_ifs"
8460     test -z "$ac_dir" && ac_dir=.
8461     if test -f $ac_dir/${ac_tool_prefix}file; then
8462       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8463       if test -n "$file_magic_test_file"; then
8464         case $deplibs_check_method in
8465         "file_magic "*)
8466           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8467           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8468           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8469             $EGREP "$file_magic_regex" > /dev/null; then
8470             :
8471           else
8472             cat <<_LT_EOF 1>&2
8473
8474 *** Warning: the command libtool uses to detect shared libraries,
8475 *** $file_magic_cmd, produces output that libtool cannot recognize.
8476 *** The result is that libtool may fail to recognize shared libraries
8477 *** as such.  This will affect the creation of libtool libraries that
8478 *** depend on shared libraries, but programs linked with such libtool
8479 *** libraries will work regardless of this problem.  Nevertheless, you
8480 *** may want to report the problem to your system manager and/or to
8481 *** bug-libtool@gnu.org
8482
8483 _LT_EOF
8484           fi ;;
8485         esac
8486       fi
8487       break
8488     fi
8489   done
8490   IFS="$lt_save_ifs"
8491   MAGIC_CMD="$lt_save_MAGIC_CMD"
8492   ;;
8493 esac
8494 fi
8495
8496 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8497 if test -n "$MAGIC_CMD"; then
8498   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8499 $as_echo "$MAGIC_CMD" >&6; }
8500 else
8501   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8502 $as_echo "no" >&6; }
8503 fi
8504
8505
8506
8507
8508
8509 if test -z "$lt_cv_path_MAGIC_CMD"; then
8510   if test -n "$ac_tool_prefix"; then
8511     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8512 $as_echo_n "checking for file... " >&6; }
8513 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8514   $as_echo_n "(cached) " >&6
8515 else
8516   case $MAGIC_CMD in
8517 [\\/*] |  ?:[\\/]*)
8518   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8519   ;;
8520 *)
8521   lt_save_MAGIC_CMD="$MAGIC_CMD"
8522   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8523   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8524   for ac_dir in $ac_dummy; do
8525     IFS="$lt_save_ifs"
8526     test -z "$ac_dir" && ac_dir=.
8527     if test -f $ac_dir/file; then
8528       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8529       if test -n "$file_magic_test_file"; then
8530         case $deplibs_check_method in
8531         "file_magic "*)
8532           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8533           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8534           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8535             $EGREP "$file_magic_regex" > /dev/null; then
8536             :
8537           else
8538             cat <<_LT_EOF 1>&2
8539
8540 *** Warning: the command libtool uses to detect shared libraries,
8541 *** $file_magic_cmd, produces output that libtool cannot recognize.
8542 *** The result is that libtool may fail to recognize shared libraries
8543 *** as such.  This will affect the creation of libtool libraries that
8544 *** depend on shared libraries, but programs linked with such libtool
8545 *** libraries will work regardless of this problem.  Nevertheless, you
8546 *** may want to report the problem to your system manager and/or to
8547 *** bug-libtool@gnu.org
8548
8549 _LT_EOF
8550           fi ;;
8551         esac
8552       fi
8553       break
8554     fi
8555   done
8556   IFS="$lt_save_ifs"
8557   MAGIC_CMD="$lt_save_MAGIC_CMD"
8558   ;;
8559 esac
8560 fi
8561
8562 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8563 if test -n "$MAGIC_CMD"; then
8564   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8565 $as_echo "$MAGIC_CMD" >&6; }
8566 else
8567   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8568 $as_echo "no" >&6; }
8569 fi
8570
8571
8572   else
8573     MAGIC_CMD=:
8574   fi
8575 fi
8576
8577   fi
8578   ;;
8579 esac
8580
8581 # Use C for the default configuration in the libtool script
8582
8583 lt_save_CC="$CC"
8584 ac_ext=c
8585 ac_cpp='$CPP $CPPFLAGS'
8586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8589
8590
8591 # Source file extension for C test sources.
8592 ac_ext=c
8593
8594 # Object file extension for compiled C test sources.
8595 objext=o
8596 objext=$objext
8597
8598 # Code to be used in simple compile tests
8599 lt_simple_compile_test_code="int some_variable = 0;"
8600
8601 # Code to be used in simple link tests
8602 lt_simple_link_test_code='int main(){return(0);}'
8603
8604
8605
8606
8607
8608
8609
8610 # If no C compiler was specified, use CC.
8611 LTCC=${LTCC-"$CC"}
8612
8613 # If no C compiler flags were specified, use CFLAGS.
8614 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8615
8616 # Allow CC to be a program name with arguments.
8617 compiler=$CC
8618
8619 # Save the default compiler, since it gets overwritten when the other
8620 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8621 compiler_DEFAULT=$CC
8622
8623 # save warnings/boilerplate of simple test code
8624 ac_outfile=conftest.$ac_objext
8625 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8626 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8627 _lt_compiler_boilerplate=`cat conftest.err`
8628 $RM conftest*
8629
8630 ac_outfile=conftest.$ac_objext
8631 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8632 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8633 _lt_linker_boilerplate=`cat conftest.err`
8634 $RM -r conftest*
8635
8636
8637 ## CAVEAT EMPTOR:
8638 ## There is no encapsulation within the following macros, do not change
8639 ## the running order or otherwise move them around unless you know exactly
8640 ## what you are doing...
8641 if test -n "$compiler"; then
8642
8643 lt_prog_compiler_no_builtin_flag=
8644
8645 if test "$GCC" = yes; then
8646   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8647
8648   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8649 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8650 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8651   $as_echo_n "(cached) " >&6
8652 else
8653   lt_cv_prog_compiler_rtti_exceptions=no
8654    ac_outfile=conftest.$ac_objext
8655    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8656    lt_compiler_flag="-fno-rtti -fno-exceptions"
8657    # Insert the option either (1) after the last *FLAGS variable, or
8658    # (2) before a word containing "conftest.", or (3) at the end.
8659    # Note that $ac_compile itself does not contain backslashes and begins
8660    # with a dollar sign (not a hyphen), so the echo should work correctly.
8661    # The option is referenced via a variable to avoid confusing sed.
8662    lt_compile=`echo "$ac_compile" | $SED \
8663    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8664    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8665    -e 's:$: $lt_compiler_flag:'`
8666    (eval echo "\"\$as_me:8666: $lt_compile\"" >&5)
8667    (eval "$lt_compile" 2>conftest.err)
8668    ac_status=$?
8669    cat conftest.err >&5
8670    echo "$as_me:8670: \$? = $ac_status" >&5
8671    if (exit $ac_status) && test -s "$ac_outfile"; then
8672      # The compiler can only warn and ignore the option if not recognized
8673      # So say no if there are warnings other than the usual output.
8674      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8675      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8676      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8677        lt_cv_prog_compiler_rtti_exceptions=yes
8678      fi
8679    fi
8680    $RM conftest*
8681
8682 fi
8683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8684 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8685
8686 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8687     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8688 else
8689     :
8690 fi
8691
8692 fi
8693
8694
8695
8696
8697
8698
8699   lt_prog_compiler_wl=
8700 lt_prog_compiler_pic=
8701 lt_prog_compiler_static=
8702
8703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8704 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8705
8706   if test "$GCC" = yes; then
8707     lt_prog_compiler_wl='-Wl,'
8708     lt_prog_compiler_static='-static'
8709
8710     case $host_os in
8711       aix*)
8712       # All AIX code is PIC.
8713       if test "$host_cpu" = ia64; then
8714         # AIX 5 now supports IA64 processor
8715         lt_prog_compiler_static='-Bstatic'
8716       fi
8717       ;;
8718
8719     amigaos*)
8720       case $host_cpu in
8721       powerpc)
8722             # see comment about AmigaOS4 .so support
8723             lt_prog_compiler_pic='-fPIC'
8724         ;;
8725       m68k)
8726             # FIXME: we need at least 68020 code to build shared libraries, but
8727             # adding the `-m68020' flag to GCC prevents building anything better,
8728             # like `-m68040'.
8729             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8730         ;;
8731       esac
8732       ;;
8733
8734     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8735       # PIC is the default for these OSes.
8736       ;;
8737
8738     mingw* | cygwin* | pw32* | os2* | cegcc*)
8739       # This hack is so that the source file can tell whether it is being
8740       # built for inclusion in a dll (and should export symbols for example).
8741       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8742       # (--disable-auto-import) libraries
8743       lt_prog_compiler_pic='-DDLL_EXPORT'
8744       ;;
8745
8746     darwin* | rhapsody*)
8747       # PIC is the default on this platform
8748       # Common symbols not allowed in MH_DYLIB files
8749       lt_prog_compiler_pic='-fno-common'
8750       ;;
8751
8752     hpux*)
8753       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8754       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8755       # sets the default TLS model and affects inlining.
8756       case $host_cpu in
8757       hppa*64*)
8758         # +Z the default
8759         ;;
8760       *)
8761         lt_prog_compiler_pic='-fPIC'
8762         ;;
8763       esac
8764       ;;
8765
8766     interix[3-9]*)
8767       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8768       # Instead, we relocate shared libraries at runtime.
8769       ;;
8770
8771     msdosdjgpp*)
8772       # Just because we use GCC doesn't mean we suddenly get shared libraries
8773       # on systems that don't support them.
8774       lt_prog_compiler_can_build_shared=no
8775       enable_shared=no
8776       ;;
8777
8778     *nto* | *qnx*)
8779       # QNX uses GNU C++, but need to define -shared option too, otherwise
8780       # it will coredump.
8781       lt_prog_compiler_pic='-fPIC -shared'
8782       ;;
8783
8784     sysv4*MP*)
8785       if test -d /usr/nec; then
8786         lt_prog_compiler_pic=-Kconform_pic
8787       fi
8788       ;;
8789
8790     *)
8791       lt_prog_compiler_pic='-fPIC'
8792       ;;
8793     esac
8794   else
8795     # PORTME Check for flag to pass linker flags through the system compiler.
8796     case $host_os in
8797     aix*)
8798       lt_prog_compiler_wl='-Wl,'
8799       if test "$host_cpu" = ia64; then
8800         # AIX 5 now supports IA64 processor
8801         lt_prog_compiler_static='-Bstatic'
8802       else
8803         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8804       fi
8805       ;;
8806
8807     mingw* | cygwin* | pw32* | os2* | cegcc*)
8808       # This hack is so that the source file can tell whether it is being
8809       # built for inclusion in a dll (and should export symbols for example).
8810       lt_prog_compiler_pic='-DDLL_EXPORT'
8811       ;;
8812
8813     hpux9* | hpux10* | hpux11*)
8814       lt_prog_compiler_wl='-Wl,'
8815       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8816       # not for PA HP-UX.
8817       case $host_cpu in
8818       hppa*64*|ia64*)
8819         # +Z the default
8820         ;;
8821       *)
8822         lt_prog_compiler_pic='+Z'
8823         ;;
8824       esac
8825       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8826       lt_prog_compiler_static='${wl}-a ${wl}archive'
8827       ;;
8828
8829     irix5* | irix6* | nonstopux*)
8830       lt_prog_compiler_wl='-Wl,'
8831       # PIC (with -KPIC) is the default.
8832       lt_prog_compiler_static='-non_shared'
8833       ;;
8834
8835     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8836       case $cc_basename in
8837       # old Intel for x86_64 which still supported -KPIC.
8838       ecc*)
8839         lt_prog_compiler_wl='-Wl,'
8840         lt_prog_compiler_pic='-KPIC'
8841         lt_prog_compiler_static='-static'
8842         ;;
8843       # icc used to be incompatible with GCC.
8844       # ICC 10 doesn't accept -KPIC any more.
8845       icc* | ifort*)
8846         lt_prog_compiler_wl='-Wl,'
8847         lt_prog_compiler_pic='-fPIC'
8848         lt_prog_compiler_static='-static'
8849         ;;
8850       # Lahey Fortran 8.1.
8851       lf95*)
8852         lt_prog_compiler_wl='-Wl,'
8853         lt_prog_compiler_pic='--shared'
8854         lt_prog_compiler_static='--static'
8855         ;;
8856       pgcc* | pgf77* | pgf90* | pgf95*)
8857         # Portland Group compilers (*not* the Pentium gcc compiler,
8858         # which looks to be a dead project)
8859         lt_prog_compiler_wl='-Wl,'
8860         lt_prog_compiler_pic='-fpic'
8861         lt_prog_compiler_static='-Bstatic'
8862         ;;
8863       ccc*)
8864         lt_prog_compiler_wl='-Wl,'
8865         # All Alpha code is PIC.
8866         lt_prog_compiler_static='-non_shared'
8867         ;;
8868       xl*)
8869         # IBM XL C 8.0/Fortran 10.1 on PPC
8870         lt_prog_compiler_wl='-Wl,'
8871         lt_prog_compiler_pic='-qpic'
8872         lt_prog_compiler_static='-qstaticlink'
8873         ;;
8874       *)
8875         case `$CC -V 2>&1 | sed 5q` in
8876         *Sun\ C*)
8877           # Sun C 5.9
8878           lt_prog_compiler_pic='-KPIC'
8879           lt_prog_compiler_static='-Bstatic'
8880           lt_prog_compiler_wl='-Wl,'
8881           ;;
8882         *Sun\ F*)
8883           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8884           lt_prog_compiler_pic='-KPIC'
8885           lt_prog_compiler_static='-Bstatic'
8886           lt_prog_compiler_wl=''
8887           ;;
8888         esac
8889         ;;
8890       esac
8891       ;;
8892
8893     newsos6)
8894       lt_prog_compiler_pic='-KPIC'
8895       lt_prog_compiler_static='-Bstatic'
8896       ;;
8897
8898     *nto* | *qnx*)
8899       # QNX uses GNU C++, but need to define -shared option too, otherwise
8900       # it will coredump.
8901       lt_prog_compiler_pic='-fPIC -shared'
8902       ;;
8903
8904     osf3* | osf4* | osf5*)
8905       lt_prog_compiler_wl='-Wl,'
8906       # All OSF/1 code is PIC.
8907       lt_prog_compiler_static='-non_shared'
8908       ;;
8909
8910     rdos*)
8911       lt_prog_compiler_static='-non_shared'
8912       ;;
8913
8914     solaris*)
8915       lt_prog_compiler_pic='-KPIC'
8916       lt_prog_compiler_static='-Bstatic'
8917       case $cc_basename in
8918       f77* | f90* | f95*)
8919         lt_prog_compiler_wl='-Qoption ld ';;
8920       *)
8921         lt_prog_compiler_wl='-Wl,';;
8922       esac
8923       ;;
8924
8925     sunos4*)
8926       lt_prog_compiler_wl='-Qoption ld '
8927       lt_prog_compiler_pic='-PIC'
8928       lt_prog_compiler_static='-Bstatic'
8929       ;;
8930
8931     sysv4 | sysv4.2uw2* | sysv4.3*)
8932       lt_prog_compiler_wl='-Wl,'
8933       lt_prog_compiler_pic='-KPIC'
8934       lt_prog_compiler_static='-Bstatic'
8935       ;;
8936
8937     sysv4*MP*)
8938       if test -d /usr/nec ;then
8939         lt_prog_compiler_pic='-Kconform_pic'
8940         lt_prog_compiler_static='-Bstatic'
8941       fi
8942       ;;
8943
8944     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8945       lt_prog_compiler_wl='-Wl,'
8946       lt_prog_compiler_pic='-KPIC'
8947       lt_prog_compiler_static='-Bstatic'
8948       ;;
8949
8950     unicos*)
8951       lt_prog_compiler_wl='-Wl,'
8952       lt_prog_compiler_can_build_shared=no
8953       ;;
8954
8955     uts4*)
8956       lt_prog_compiler_pic='-pic'
8957       lt_prog_compiler_static='-Bstatic'
8958       ;;
8959
8960     *)
8961       lt_prog_compiler_can_build_shared=no
8962       ;;
8963     esac
8964   fi
8965
8966 case $host_os in
8967   # For platforms which do not support PIC, -DPIC is meaningless:
8968   *djgpp*)
8969     lt_prog_compiler_pic=
8970     ;;
8971   *)
8972     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8973     ;;
8974 esac
8975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8976 $as_echo "$lt_prog_compiler_pic" >&6; }
8977
8978
8979
8980
8981
8982
8983 #
8984 # Check to make sure the PIC flag actually works.
8985 #
8986 if test -n "$lt_prog_compiler_pic"; then
8987   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8988 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8989 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8990   $as_echo_n "(cached) " >&6
8991 else
8992   lt_cv_prog_compiler_pic_works=no
8993    ac_outfile=conftest.$ac_objext
8994    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8995    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8996    # Insert the option either (1) after the last *FLAGS variable, or
8997    # (2) before a word containing "conftest.", or (3) at the end.
8998    # Note that $ac_compile itself does not contain backslashes and begins
8999    # with a dollar sign (not a hyphen), so the echo should work correctly.
9000    # The option is referenced via a variable to avoid confusing sed.
9001    lt_compile=`echo "$ac_compile" | $SED \
9002    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9003    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9004    -e 's:$: $lt_compiler_flag:'`
9005    (eval echo "\"\$as_me:9005: $lt_compile\"" >&5)
9006    (eval "$lt_compile" 2>conftest.err)
9007    ac_status=$?
9008    cat conftest.err >&5
9009    echo "$as_me:9009: \$? = $ac_status" >&5
9010    if (exit $ac_status) && test -s "$ac_outfile"; then
9011      # The compiler can only warn and ignore the option if not recognized
9012      # So say no if there are warnings other than the usual output.
9013      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9014      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9015      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9016        lt_cv_prog_compiler_pic_works=yes
9017      fi
9018    fi
9019    $RM conftest*
9020
9021 fi
9022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9023 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9024
9025 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9026     case $lt_prog_compiler_pic in
9027      "" | " "*) ;;
9028      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9029      esac
9030 else
9031     lt_prog_compiler_pic=
9032      lt_prog_compiler_can_build_shared=no
9033 fi
9034
9035 fi
9036
9037
9038
9039
9040
9041
9042 #
9043 # Check to make sure the static flag actually works.
9044 #
9045 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9047 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9048 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9049   $as_echo_n "(cached) " >&6
9050 else
9051   lt_cv_prog_compiler_static_works=no
9052    save_LDFLAGS="$LDFLAGS"
9053    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9054    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9055    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9056      # The linker can only warn and ignore the option if not recognized
9057      # So say no if there are warnings
9058      if test -s conftest.err; then
9059        # Append any errors to the config.log.
9060        cat conftest.err 1>&5
9061        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
9062        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9063        if diff conftest.exp conftest.er2 >/dev/null; then
9064          lt_cv_prog_compiler_static_works=yes
9065        fi
9066      else
9067        lt_cv_prog_compiler_static_works=yes
9068      fi
9069    fi
9070    $RM -r conftest*
9071    LDFLAGS="$save_LDFLAGS"
9072
9073 fi
9074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9075 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9076
9077 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9078     :
9079 else
9080     lt_prog_compiler_static=
9081 fi
9082
9083
9084
9085
9086
9087
9088
9089   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9090 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9091 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9092   $as_echo_n "(cached) " >&6
9093 else
9094   lt_cv_prog_compiler_c_o=no
9095    $RM -r conftest 2>/dev/null
9096    mkdir conftest
9097    cd conftest
9098    mkdir out
9099    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9100
9101    lt_compiler_flag="-o out/conftest2.$ac_objext"
9102    # Insert the option either (1) after the last *FLAGS variable, or
9103    # (2) before a word containing "conftest.", or (3) at the end.
9104    # Note that $ac_compile itself does not contain backslashes and begins
9105    # with a dollar sign (not a hyphen), so the echo should work correctly.
9106    lt_compile=`echo "$ac_compile" | $SED \
9107    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9108    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9109    -e 's:$: $lt_compiler_flag:'`
9110    (eval echo "\"\$as_me:9110: $lt_compile\"" >&5)
9111    (eval "$lt_compile" 2>out/conftest.err)
9112    ac_status=$?
9113    cat out/conftest.err >&5
9114    echo "$as_me:9114: \$? = $ac_status" >&5
9115    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9116    then
9117      # The compiler can only warn and ignore the option if not recognized
9118      # So say no if there are warnings
9119      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9120      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9121      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9122        lt_cv_prog_compiler_c_o=yes
9123      fi
9124    fi
9125    chmod u+w . 2>&5
9126    $RM conftest*
9127    # SGI C++ compiler will create directory out/ii_files/ for
9128    # template instantiation
9129    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9130    $RM out/* && rmdir out
9131    cd ..
9132    $RM -r conftest
9133    $RM conftest*
9134
9135 fi
9136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9137 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9138
9139
9140
9141
9142
9143
9144   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9145 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9146 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9147   $as_echo_n "(cached) " >&6
9148 else
9149   lt_cv_prog_compiler_c_o=no
9150    $RM -r conftest 2>/dev/null
9151    mkdir conftest
9152    cd conftest
9153    mkdir out
9154    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9155
9156    lt_compiler_flag="-o out/conftest2.$ac_objext"
9157    # Insert the option either (1) after the last *FLAGS variable, or
9158    # (2) before a word containing "conftest.", or (3) at the end.
9159    # Note that $ac_compile itself does not contain backslashes and begins
9160    # with a dollar sign (not a hyphen), so the echo should work correctly.
9161    lt_compile=`echo "$ac_compile" | $SED \
9162    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9163    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9164    -e 's:$: $lt_compiler_flag:'`
9165    (eval echo "\"\$as_me:9165: $lt_compile\"" >&5)
9166    (eval "$lt_compile" 2>out/conftest.err)
9167    ac_status=$?
9168    cat out/conftest.err >&5
9169    echo "$as_me:9169: \$? = $ac_status" >&5
9170    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9171    then
9172      # The compiler can only warn and ignore the option if not recognized
9173      # So say no if there are warnings
9174      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9175      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9176      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9177        lt_cv_prog_compiler_c_o=yes
9178      fi
9179    fi
9180    chmod u+w . 2>&5
9181    $RM conftest*
9182    # SGI C++ compiler will create directory out/ii_files/ for
9183    # template instantiation
9184    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9185    $RM out/* && rmdir out
9186    cd ..
9187    $RM -r conftest
9188    $RM conftest*
9189
9190 fi
9191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9192 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9193
9194
9195
9196
9197 hard_links="nottested"
9198 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9199   # do not overwrite the value of need_locks provided by the user
9200   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9201 $as_echo_n "checking if we can lock with hard links... " >&6; }
9202   hard_links=yes
9203   $RM conftest*
9204   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9205   touch conftest.a
9206   ln conftest.a conftest.b 2>&5 || hard_links=no
9207   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9208   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9209 $as_echo "$hard_links" >&6; }
9210   if test "$hard_links" = no; then
9211     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9212 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9213     need_locks=warn
9214   fi
9215 else
9216   need_locks=no
9217 fi
9218
9219
9220
9221
9222
9223
9224   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9225 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9226
9227   runpath_var=
9228   allow_undefined_flag=
9229   always_export_symbols=no
9230   archive_cmds=
9231   archive_expsym_cmds=
9232   compiler_needs_object=no
9233   enable_shared_with_static_runtimes=no
9234   export_dynamic_flag_spec=
9235   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9236   hardcode_automatic=no
9237   hardcode_direct=no
9238   hardcode_direct_absolute=no
9239   hardcode_libdir_flag_spec=
9240   hardcode_libdir_flag_spec_ld=
9241   hardcode_libdir_separator=
9242   hardcode_minus_L=no
9243   hardcode_shlibpath_var=unsupported
9244   inherit_rpath=no
9245   link_all_deplibs=unknown
9246   module_cmds=
9247   module_expsym_cmds=
9248   old_archive_from_new_cmds=
9249   old_archive_from_expsyms_cmds=
9250   thread_safe_flag_spec=
9251   whole_archive_flag_spec=
9252   # include_expsyms should be a list of space-separated symbols to be *always*
9253   # included in the symbol list
9254   include_expsyms=
9255   # exclude_expsyms can be an extended regexp of symbols to exclude
9256   # it will be wrapped by ` (' and `)$', so one must not match beginning or
9257   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9258   # as well as any symbol that contains `d'.
9259   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9260   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9261   # platforms (ab)use it in PIC code, but their linkers get confused if
9262   # the symbol is explicitly referenced.  Since portable code cannot
9263   # rely on this symbol name, it's probably fine to never include it in
9264   # preloaded symbol tables.
9265   # Exclude shared library initialization/finalization symbols.
9266   extract_expsyms_cmds=
9267
9268   case $host_os in
9269   cygwin* | mingw* | pw32* | cegcc*)
9270     # FIXME: the MSVC++ port hasn't been tested in a loooong time
9271     # When not using gcc, we currently assume that we are using
9272     # Microsoft Visual C++.
9273     if test "$GCC" != yes; then
9274       with_gnu_ld=no
9275     fi
9276     ;;
9277   interix*)
9278     # we just hope/assume this is gcc and not c89 (= MSVC++)
9279     with_gnu_ld=yes
9280     ;;
9281   openbsd*)
9282     with_gnu_ld=no
9283     ;;
9284   linux* | k*bsd*-gnu)
9285     link_all_deplibs=no
9286     ;;
9287   esac
9288
9289   ld_shlibs=yes
9290   if test "$with_gnu_ld" = yes; then
9291     # If archive_cmds runs LD, not CC, wlarc should be empty
9292     wlarc='${wl}'
9293
9294     # Set some defaults for GNU ld with shared library support. These
9295     # are reset later if shared libraries are not supported. Putting them
9296     # here allows them to be overridden if necessary.
9297     runpath_var=LD_RUN_PATH
9298     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9299     export_dynamic_flag_spec='${wl}--export-dynamic'
9300     # ancient GNU ld didn't support --whole-archive et. al.
9301     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9302       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9303     else
9304       whole_archive_flag_spec=
9305     fi
9306     supports_anon_versioning=no
9307     case `$LD -v 2>&1` in
9308       *GNU\ gold*) supports_anon_versioning=yes ;;
9309       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9310       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9311       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9312       *\ 2.11.*) ;; # other 2.11 versions
9313       *) supports_anon_versioning=yes ;;
9314     esac
9315
9316     # See if GNU ld supports shared libraries.
9317     case $host_os in
9318     aix[3-9]*)
9319       # On AIX/PPC, the GNU linker is very broken
9320       if test "$host_cpu" != ia64; then
9321         ld_shlibs=no
9322         cat <<_LT_EOF 1>&2
9323
9324 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9325 *** to be unable to reliably create shared libraries on AIX.
9326 *** Therefore, libtool is disabling shared libraries support.  If you
9327 *** really care for shared libraries, you may want to modify your PATH
9328 *** so that a non-GNU linker is found, and then restart.
9329
9330 _LT_EOF
9331       fi
9332       ;;
9333
9334     amigaos*)
9335       case $host_cpu in
9336       powerpc)
9337             # see comment about AmigaOS4 .so support
9338             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9339             archive_expsym_cmds=''
9340         ;;
9341       m68k)
9342             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)'
9343             hardcode_libdir_flag_spec='-L$libdir'
9344             hardcode_minus_L=yes
9345         ;;
9346       esac
9347       ;;
9348
9349     beos*)
9350       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9351         allow_undefined_flag=unsupported
9352         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9353         # support --undefined.  This deserves some investigation.  FIXME
9354         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9355       else
9356         ld_shlibs=no
9357       fi
9358       ;;
9359
9360     cygwin* | mingw* | pw32* | cegcc*)
9361       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9362       # as there is no search path for DLLs.
9363       hardcode_libdir_flag_spec='-L$libdir'
9364       allow_undefined_flag=unsupported
9365       always_export_symbols=no
9366       enable_shared_with_static_runtimes=yes
9367       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9368
9369       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9370         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9371         # If the export-symbols file already is a .def file (1st line
9372         # is EXPORTS), use it as is; otherwise, prepend...
9373         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9374           cp $export_symbols $output_objdir/$soname.def;
9375         else
9376           echo EXPORTS > $output_objdir/$soname.def;
9377           cat $export_symbols >> $output_objdir/$soname.def;
9378         fi~
9379         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9380       else
9381         ld_shlibs=no
9382       fi
9383       ;;
9384
9385     interix[3-9]*)
9386       hardcode_direct=no
9387       hardcode_shlibpath_var=no
9388       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9389       export_dynamic_flag_spec='${wl}-E'
9390       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9391       # Instead, shared libraries are loaded at an image base (0x10000000 by
9392       # default) and relocated if they conflict, which is a slow very memory
9393       # consuming and fragmenting process.  To avoid this, we pick a random,
9394       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9395       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9396       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9397       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'
9398       ;;
9399
9400     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9401       tmp_diet=no
9402       if test "$host_os" = linux-dietlibc; then
9403         case $cc_basename in
9404           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9405         esac
9406       fi
9407       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9408          && test "$tmp_diet" = no
9409       then
9410         tmp_addflag=
9411         tmp_sharedflag='-shared'
9412         case $cc_basename,$host_cpu in
9413         pgcc*)                          # Portland Group C compiler
9414           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9415           tmp_addflag=' $pic_flag'
9416           ;;
9417         pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
9418           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9419           tmp_addflag=' $pic_flag -Mnomain' ;;
9420         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9421           tmp_addflag=' -i_dynamic' ;;
9422         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9423           tmp_addflag=' -i_dynamic -nofor_main' ;;
9424         ifc* | ifort*)                  # Intel Fortran compiler
9425           tmp_addflag=' -nofor_main' ;;
9426         lf95*)                          # Lahey Fortran 8.1
9427           whole_archive_flag_spec=
9428           tmp_sharedflag='--shared' ;;
9429         xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
9430           tmp_sharedflag='-qmkshrobj'
9431           tmp_addflag= ;;
9432         esac
9433         case `$CC -V 2>&1 | sed 5q` in
9434         *Sun\ C*)                       # Sun C 5.9
9435           whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9436           compiler_needs_object=yes
9437           tmp_sharedflag='-G' ;;
9438         *Sun\ F*)                       # Sun Fortran 8.3
9439           tmp_sharedflag='-G' ;;
9440         esac
9441         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9442
9443         if test "x$supports_anon_versioning" = xyes; then
9444           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9445             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9446             echo "local: *; };" >> $output_objdir/$libname.ver~
9447             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9448         fi
9449
9450         case $cc_basename in
9451         xlf*)
9452           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9453           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9454           hardcode_libdir_flag_spec=
9455           hardcode_libdir_flag_spec_ld='-rpath $libdir'
9456           archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9457           if test "x$supports_anon_versioning" = xyes; then
9458             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9459               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9460               echo "local: *; };" >> $output_objdir/$libname.ver~
9461               $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9462           fi
9463           ;;
9464         esac
9465       else
9466         ld_shlibs=no
9467       fi
9468       ;;
9469
9470     netbsd* | netbsdelf*-gnu)
9471       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9472         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9473         wlarc=
9474       else
9475         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9476         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9477       fi
9478       ;;
9479
9480     solaris*)
9481       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9482         ld_shlibs=no
9483         cat <<_LT_EOF 1>&2
9484
9485 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9486 *** create shared libraries on Solaris systems.  Therefore, libtool
9487 *** is disabling shared libraries support.  We urge you to upgrade GNU
9488 *** binutils to release 2.9.1 or newer.  Another option is to modify
9489 *** your PATH or compiler configuration so that the native linker is
9490 *** used, and then restart.
9491
9492 _LT_EOF
9493       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9494         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9495         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9496       else
9497         ld_shlibs=no
9498       fi
9499       ;;
9500
9501     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9502       case `$LD -v 2>&1` in
9503         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9504         ld_shlibs=no
9505         cat <<_LT_EOF 1>&2
9506
9507 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9508 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9509 *** is disabling shared libraries support.  We urge you to upgrade GNU
9510 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9511 *** your PATH or compiler configuration so that the native linker is
9512 *** used, and then restart.
9513
9514 _LT_EOF
9515         ;;
9516         *)
9517           # For security reasons, it is highly recommended that you always
9518           # use absolute paths for naming shared libraries, and exclude the
9519           # DT_RUNPATH tag from executables and libraries.  But doing so
9520           # requires that you compile everything twice, which is a pain.
9521           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9522             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9523             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9524             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9525           else
9526             ld_shlibs=no
9527           fi
9528         ;;
9529       esac
9530       ;;
9531
9532     sunos4*)
9533       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9534       wlarc=
9535       hardcode_direct=yes
9536       hardcode_shlibpath_var=no
9537       ;;
9538
9539     *)
9540       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9541         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9542         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9543       else
9544         ld_shlibs=no
9545       fi
9546       ;;
9547     esac
9548
9549     if test "$ld_shlibs" = no; then
9550       runpath_var=
9551       hardcode_libdir_flag_spec=
9552       export_dynamic_flag_spec=
9553       whole_archive_flag_spec=
9554     fi
9555   else
9556     # PORTME fill in a description of your system's linker (not GNU ld)
9557     case $host_os in
9558     aix3*)
9559       allow_undefined_flag=unsupported
9560       always_export_symbols=yes
9561       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'
9562       # Note: this linker hardcodes the directories in LIBPATH if there
9563       # are no directories specified by -L.
9564       hardcode_minus_L=yes
9565       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9566         # Neither direct hardcoding nor static linking is supported with a
9567         # broken collect2.
9568         hardcode_direct=unsupported
9569       fi
9570       ;;
9571
9572     aix[4-9]*)
9573       if test "$host_cpu" = ia64; then
9574         # On IA64, the linker does run time linking by default, so we don't
9575         # have to do anything special.
9576         aix_use_runtimelinking=no
9577         exp_sym_flag='-Bexport'
9578         no_entry_flag=""
9579       else
9580         # If we're using GNU nm, then we don't want the "-C" option.
9581         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9582         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9583           export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9584         else
9585           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'
9586         fi
9587         aix_use_runtimelinking=no
9588
9589         # Test if we are trying to use run time linking or normal
9590         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9591         # need to do runtime linking.
9592         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9593           for ld_flag in $LDFLAGS; do
9594           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9595             aix_use_runtimelinking=yes
9596             break
9597           fi
9598           done
9599           ;;
9600         esac
9601
9602         exp_sym_flag='-bexport'
9603         no_entry_flag='-bnoentry'
9604       fi
9605
9606       # When large executables or shared objects are built, AIX ld can
9607       # have problems creating the table of contents.  If linking a library
9608       # or program results in "error TOC overflow" add -mminimal-toc to
9609       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9610       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9611
9612       archive_cmds=''
9613       hardcode_direct=yes
9614       hardcode_direct_absolute=yes
9615       hardcode_libdir_separator=':'
9616       link_all_deplibs=yes
9617       file_list_spec='${wl}-f,'
9618
9619       if test "$GCC" = yes; then
9620         case $host_os in aix4.[012]|aix4.[012].*)
9621         # We only want to do this on AIX 4.2 and lower, the check
9622         # below for broken collect2 doesn't work under 4.3+
9623           collect2name=`${CC} -print-prog-name=collect2`
9624           if test -f "$collect2name" &&
9625            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9626           then
9627           # We have reworked collect2
9628           :
9629           else
9630           # We have old collect2
9631           hardcode_direct=unsupported
9632           # It fails to find uninstalled libraries when the uninstalled
9633           # path is not listed in the libpath.  Setting hardcode_minus_L
9634           # to unsupported forces relinking
9635           hardcode_minus_L=yes
9636           hardcode_libdir_flag_spec='-L$libdir'
9637           hardcode_libdir_separator=
9638           fi
9639           ;;
9640         esac
9641         shared_flag='-shared'
9642         if test "$aix_use_runtimelinking" = yes; then
9643           shared_flag="$shared_flag "'${wl}-G'
9644         fi
9645         link_all_deplibs=no
9646       else
9647         # not using gcc
9648         if test "$host_cpu" = ia64; then
9649         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9650         # chokes on -Wl,-G. The following line is correct:
9651           shared_flag='-G'
9652         else
9653           if test "$aix_use_runtimelinking" = yes; then
9654             shared_flag='${wl}-G'
9655           else
9656             shared_flag='${wl}-bM:SRE'
9657           fi
9658         fi
9659       fi
9660
9661       export_dynamic_flag_spec='${wl}-bexpall'
9662       # It seems that -bexpall does not export symbols beginning with
9663       # underscore (_), so it is better to generate a list of symbols to export.
9664       always_export_symbols=yes
9665       if test "$aix_use_runtimelinking" = yes; then
9666         # Warning - without using the other runtime loading flags (-brtl),
9667         # -berok will link without error, but may produce a broken library.
9668         allow_undefined_flag='-berok'
9669         # Determine the default libpath from the value encoded in an
9670         # empty executable.
9671         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9672 /* end confdefs.h.  */
9673
9674 int
9675 main ()
9676 {
9677
9678   ;
9679   return 0;
9680 }
9681 _ACEOF
9682 if ac_fn_c_try_link "$LINENO"; then :
9683
9684 lt_aix_libpath_sed='
9685     /Import File Strings/,/^$/ {
9686         /^0/ {
9687             s/^0  *\(.*\)$/\1/
9688             p
9689         }
9690     }'
9691 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9692 # Check for a 64-bit object if we didn't find anything.
9693 if test -z "$aix_libpath"; then
9694   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9695 fi
9696 fi
9697 rm -f core conftest.err conftest.$ac_objext \
9698     conftest$ac_exeext conftest.$ac_ext
9699 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9700
9701         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9702         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9703       else
9704         if test "$host_cpu" = ia64; then
9705           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9706           allow_undefined_flag="-z nodefs"
9707           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"
9708         else
9709          # Determine the default libpath from the value encoded in an
9710          # empty executable.
9711          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9712 /* end confdefs.h.  */
9713
9714 int
9715 main ()
9716 {
9717
9718   ;
9719   return 0;
9720 }
9721 _ACEOF
9722 if ac_fn_c_try_link "$LINENO"; then :
9723
9724 lt_aix_libpath_sed='
9725     /Import File Strings/,/^$/ {
9726         /^0/ {
9727             s/^0  *\(.*\)$/\1/
9728             p
9729         }
9730     }'
9731 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9732 # Check for a 64-bit object if we didn't find anything.
9733 if test -z "$aix_libpath"; then
9734   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9735 fi
9736 fi
9737 rm -f core conftest.err conftest.$ac_objext \
9738     conftest$ac_exeext conftest.$ac_ext
9739 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9740
9741          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9742           # Warning - without using the other run time loading flags,
9743           # -berok will link without error, but may produce a broken library.
9744           no_undefined_flag=' ${wl}-bernotok'
9745           allow_undefined_flag=' ${wl}-berok'
9746           # Exported symbols can be pulled into shared objects from archives
9747           whole_archive_flag_spec='$convenience'
9748           archive_cmds_need_lc=yes
9749           # This is similar to how AIX traditionally builds its shared libraries.
9750           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'
9751         fi
9752       fi
9753       ;;
9754
9755     amigaos*)
9756       case $host_cpu in
9757       powerpc)
9758             # see comment about AmigaOS4 .so support
9759             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9760             archive_expsym_cmds=''
9761         ;;
9762       m68k)
9763             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)'
9764             hardcode_libdir_flag_spec='-L$libdir'
9765             hardcode_minus_L=yes
9766         ;;
9767       esac
9768       ;;
9769
9770     bsdi[45]*)
9771       export_dynamic_flag_spec=-rdynamic
9772       ;;
9773
9774     cygwin* | mingw* | pw32* | cegcc*)
9775       # When not using gcc, we currently assume that we are using
9776       # Microsoft Visual C++.
9777       # hardcode_libdir_flag_spec is actually meaningless, as there is
9778       # no search path for DLLs.
9779       hardcode_libdir_flag_spec=' '
9780       allow_undefined_flag=unsupported
9781       # Tell ltmain to make .lib files, not .a files.
9782       libext=lib
9783       # Tell ltmain to make .dll files, not .so files.
9784       shrext_cmds=".dll"
9785       # FIXME: Setting linknames here is a bad hack.
9786       archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9787       # The linker will automatically build a .lib file if we build a DLL.
9788       old_archive_from_new_cmds='true'
9789       # FIXME: Should let the user specify the lib program.
9790       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9791       fix_srcfile_path='`cygpath -w "$srcfile"`'
9792       enable_shared_with_static_runtimes=yes
9793       ;;
9794
9795     darwin* | rhapsody*)
9796
9797
9798   archive_cmds_need_lc=no
9799   hardcode_direct=no
9800   hardcode_automatic=yes
9801   hardcode_shlibpath_var=unsupported
9802   whole_archive_flag_spec=''
9803   link_all_deplibs=yes
9804   allow_undefined_flag="$_lt_dar_allow_undefined"
9805   case $cc_basename in
9806      ifort*) _lt_dar_can_shared=yes ;;
9807      *) _lt_dar_can_shared=$GCC ;;
9808   esac
9809   if test "$_lt_dar_can_shared" = "yes"; then
9810     output_verbose_link_cmd=echo
9811     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9812     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9813     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}"
9814     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}"
9815
9816   else
9817   ld_shlibs=no
9818   fi
9819
9820       ;;
9821
9822     dgux*)
9823       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9824       hardcode_libdir_flag_spec='-L$libdir'
9825       hardcode_shlibpath_var=no
9826       ;;
9827
9828     freebsd1*)
9829       ld_shlibs=no
9830       ;;
9831
9832     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9833     # support.  Future versions do this automatically, but an explicit c++rt0.o
9834     # does not break anything, and helps significantly (at the cost of a little
9835     # extra space).
9836     freebsd2.2*)
9837       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9838       hardcode_libdir_flag_spec='-R$libdir'
9839       hardcode_direct=yes
9840       hardcode_shlibpath_var=no
9841       ;;
9842
9843     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9844     freebsd2*)
9845       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9846       hardcode_direct=yes
9847       hardcode_minus_L=yes
9848       hardcode_shlibpath_var=no
9849       ;;
9850
9851     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9852     freebsd* | dragonfly*)
9853       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9854       hardcode_libdir_flag_spec='-R$libdir'
9855       hardcode_direct=yes
9856       hardcode_shlibpath_var=no
9857       ;;
9858
9859     hpux9*)
9860       if test "$GCC" = yes; then
9861         archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9862       else
9863         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'
9864       fi
9865       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9866       hardcode_libdir_separator=:
9867       hardcode_direct=yes
9868
9869       # hardcode_minus_L: Not really in the search PATH,
9870       # but as the default location of the library.
9871       hardcode_minus_L=yes
9872       export_dynamic_flag_spec='${wl}-E'
9873       ;;
9874
9875     hpux10*)
9876       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9877         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9878       else
9879         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9880       fi
9881       if test "$with_gnu_ld" = no; then
9882         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9883         hardcode_libdir_flag_spec_ld='+b $libdir'
9884         hardcode_libdir_separator=:
9885         hardcode_direct=yes
9886         hardcode_direct_absolute=yes
9887         export_dynamic_flag_spec='${wl}-E'
9888         # hardcode_minus_L: Not really in the search PATH,
9889         # but as the default location of the library.
9890         hardcode_minus_L=yes
9891       fi
9892       ;;
9893
9894     hpux11*)
9895       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9896         case $host_cpu in
9897         hppa*64*)
9898           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9899           ;;
9900         ia64*)
9901           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9902           ;;
9903         *)
9904           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9905           ;;
9906         esac
9907       else
9908         case $host_cpu in
9909         hppa*64*)
9910           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9911           ;;
9912         ia64*)
9913           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9914           ;;
9915         *)
9916           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9917           ;;
9918         esac
9919       fi
9920       if test "$with_gnu_ld" = no; then
9921         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9922         hardcode_libdir_separator=:
9923
9924         case $host_cpu in
9925         hppa*64*|ia64*)
9926           hardcode_direct=no
9927           hardcode_shlibpath_var=no
9928           ;;
9929         *)
9930           hardcode_direct=yes
9931           hardcode_direct_absolute=yes
9932           export_dynamic_flag_spec='${wl}-E'
9933
9934           # hardcode_minus_L: Not really in the search PATH,
9935           # but as the default location of the library.
9936           hardcode_minus_L=yes
9937           ;;
9938         esac
9939       fi
9940       ;;
9941
9942     irix5* | irix6* | nonstopux*)
9943       if test "$GCC" = yes; then
9944         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9945         # Try to use the -exported_symbol ld option, if it does not
9946         # work, assume that -exports_file does not work either and
9947         # implicitly export all symbols.
9948         save_LDFLAGS="$LDFLAGS"
9949         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9950         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9951 /* end confdefs.h.  */
9952 int foo(void) {}
9953 _ACEOF
9954 if ac_fn_c_try_link "$LINENO"; then :
9955   archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9956
9957 fi
9958 rm -f core conftest.err conftest.$ac_objext \
9959     conftest$ac_exeext conftest.$ac_ext
9960         LDFLAGS="$save_LDFLAGS"
9961       else
9962         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9963         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9964       fi
9965       archive_cmds_need_lc='no'
9966       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9967       hardcode_libdir_separator=:
9968       inherit_rpath=yes
9969       link_all_deplibs=yes
9970       ;;
9971
9972     netbsd* | netbsdelf*-gnu)
9973       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9974         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9975       else
9976         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9977       fi
9978       hardcode_libdir_flag_spec='-R$libdir'
9979       hardcode_direct=yes
9980       hardcode_shlibpath_var=no
9981       ;;
9982
9983     newsos6)
9984       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9985       hardcode_direct=yes
9986       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9987       hardcode_libdir_separator=:
9988       hardcode_shlibpath_var=no
9989       ;;
9990
9991     *nto* | *qnx*)
9992       ;;
9993
9994     openbsd*)
9995       if test -f /usr/libexec/ld.so; then
9996         hardcode_direct=yes
9997         hardcode_shlibpath_var=no
9998         hardcode_direct_absolute=yes
9999         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10000           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10001           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10002           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10003           export_dynamic_flag_spec='${wl}-E'
10004         else
10005           case $host_os in
10006            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10007              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10008              hardcode_libdir_flag_spec='-R$libdir'
10009              ;;
10010            *)
10011              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10012              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10013              ;;
10014           esac
10015         fi
10016       else
10017         ld_shlibs=no
10018       fi
10019       ;;
10020
10021     os2*)
10022       hardcode_libdir_flag_spec='-L$libdir'
10023       hardcode_minus_L=yes
10024       allow_undefined_flag=unsupported
10025       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'
10026       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10027       ;;
10028
10029     osf3*)
10030       if test "$GCC" = yes; then
10031         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10032         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10033       else
10034         allow_undefined_flag=' -expect_unresolved \*'
10035         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10036       fi
10037       archive_cmds_need_lc='no'
10038       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10039       hardcode_libdir_separator=:
10040       ;;
10041
10042     osf4* | osf5*)      # as osf3* with the addition of -msym flag
10043       if test "$GCC" = yes; then
10044         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10045         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10046         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10047       else
10048         allow_undefined_flag=' -expect_unresolved \*'
10049         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10050         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~
10051         $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10052
10053         # Both c and cxx compiler support -rpath directly
10054         hardcode_libdir_flag_spec='-rpath $libdir'
10055       fi
10056       archive_cmds_need_lc='no'
10057       hardcode_libdir_separator=:
10058       ;;
10059
10060     solaris*)
10061       no_undefined_flag=' -z defs'
10062       if test "$GCC" = yes; then
10063         wlarc='${wl}'
10064         archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10065         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10066           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10067       else
10068         case `$CC -V 2>&1` in
10069         *"Compilers 5.0"*)
10070           wlarc=''
10071           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10072           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10073           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10074           ;;
10075         *)
10076           wlarc='${wl}'
10077           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10078           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10079           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10080           ;;
10081         esac
10082       fi
10083       hardcode_libdir_flag_spec='-R$libdir'
10084       hardcode_shlibpath_var=no
10085       case $host_os in
10086       solaris2.[0-5] | solaris2.[0-5].*) ;;
10087       *)
10088         # The compiler driver will combine and reorder linker options,
10089         # but understands `-z linker_flag'.  GCC discards it without `$wl',
10090         # but is careful enough not to reorder.
10091         # Supported since Solaris 2.6 (maybe 2.5.1?)
10092         if test "$GCC" = yes; then
10093           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10094         else
10095           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10096         fi
10097         ;;
10098       esac
10099       link_all_deplibs=yes
10100       ;;
10101
10102     sunos4*)
10103       if test "x$host_vendor" = xsequent; then
10104         # Use $CC to link under sequent, because it throws in some extra .o
10105         # files that make .init and .fini sections work.
10106         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10107       else
10108         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10109       fi
10110       hardcode_libdir_flag_spec='-L$libdir'
10111       hardcode_direct=yes
10112       hardcode_minus_L=yes
10113       hardcode_shlibpath_var=no
10114       ;;
10115
10116     sysv4)
10117       case $host_vendor in
10118         sni)
10119           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10120           hardcode_direct=yes # is this really true???
10121         ;;
10122         siemens)
10123           ## LD is ld it makes a PLAMLIB
10124           ## CC just makes a GrossModule.
10125           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10126           reload_cmds='$CC -r -o $output$reload_objs'
10127           hardcode_direct=no
10128         ;;
10129         motorola)
10130           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10131           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10132         ;;
10133       esac
10134       runpath_var='LD_RUN_PATH'
10135       hardcode_shlibpath_var=no
10136       ;;
10137
10138     sysv4.3*)
10139       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10140       hardcode_shlibpath_var=no
10141       export_dynamic_flag_spec='-Bexport'
10142       ;;
10143
10144     sysv4*MP*)
10145       if test -d /usr/nec; then
10146         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10147         hardcode_shlibpath_var=no
10148         runpath_var=LD_RUN_PATH
10149         hardcode_runpath_var=yes
10150         ld_shlibs=yes
10151       fi
10152       ;;
10153
10154     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10155       no_undefined_flag='${wl}-z,text'
10156       archive_cmds_need_lc=no
10157       hardcode_shlibpath_var=no
10158       runpath_var='LD_RUN_PATH'
10159
10160       if test "$GCC" = yes; then
10161         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10162         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10163       else
10164         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10165         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10166       fi
10167       ;;
10168
10169     sysv5* | sco3.2v5* | sco5v6*)
10170       # Note: We can NOT use -z defs as we might desire, because we do not
10171       # link with -lc, and that would cause any symbols used from libc to
10172       # always be unresolved, which means just about no library would
10173       # ever link correctly.  If we're not using GNU ld we use -z text
10174       # though, which does catch some bad symbols but isn't as heavy-handed
10175       # as -z defs.
10176       no_undefined_flag='${wl}-z,text'
10177       allow_undefined_flag='${wl}-z,nodefs'
10178       archive_cmds_need_lc=no
10179       hardcode_shlibpath_var=no
10180       hardcode_libdir_flag_spec='${wl}-R,$libdir'
10181       hardcode_libdir_separator=':'
10182       link_all_deplibs=yes
10183       export_dynamic_flag_spec='${wl}-Bexport'
10184       runpath_var='LD_RUN_PATH'
10185
10186       if test "$GCC" = yes; then
10187         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10188         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10189       else
10190         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10191         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10192       fi
10193       ;;
10194
10195     uts4*)
10196       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10197       hardcode_libdir_flag_spec='-L$libdir'
10198       hardcode_shlibpath_var=no
10199       ;;
10200
10201     *)
10202       ld_shlibs=no
10203       ;;
10204     esac
10205
10206     if test x$host_vendor = xsni; then
10207       case $host in
10208       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10209         export_dynamic_flag_spec='${wl}-Blargedynsym'
10210         ;;
10211       esac
10212     fi
10213   fi
10214
10215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10216 $as_echo "$ld_shlibs" >&6; }
10217 test "$ld_shlibs" = no && can_build_shared=no
10218
10219 with_gnu_ld=$with_gnu_ld
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235 #
10236 # Do we need to explicitly link libc?
10237 #
10238 case "x$archive_cmds_need_lc" in
10239 x|xyes)
10240   # Assume -lc should be added
10241   archive_cmds_need_lc=yes
10242
10243   if test "$enable_shared" = yes && test "$GCC" = yes; then
10244     case $archive_cmds in
10245     *'~'*)
10246       # FIXME: we may have to deal with multi-command sequences.
10247       ;;
10248     '$CC '*)
10249       # Test whether the compiler implicitly links with -lc since on some
10250       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10251       # to ld, don't add -lc before -lgcc.
10252       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10253 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10254       $RM conftest*
10255       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10256
10257       if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10258   (eval $ac_compile) 2>&5
10259   ac_status=$?
10260   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10261   test $ac_status = 0; } 2>conftest.err; then
10262         soname=conftest
10263         lib=conftest
10264         libobjs=conftest.$ac_objext
10265         deplibs=
10266         wl=$lt_prog_compiler_wl
10267         pic_flag=$lt_prog_compiler_pic
10268         compiler_flags=-v
10269         linker_flags=-v
10270         verstring=
10271         output_objdir=.
10272         libname=conftest
10273         lt_save_allow_undefined_flag=$allow_undefined_flag
10274         allow_undefined_flag=
10275         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10276   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10277   ac_status=$?
10278   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10279   test $ac_status = 0; }
10280         then
10281           archive_cmds_need_lc=no
10282         else
10283           archive_cmds_need_lc=yes
10284         fi
10285         allow_undefined_flag=$lt_save_allow_undefined_flag
10286       else
10287         cat conftest.err 1>&5
10288       fi
10289       $RM conftest*
10290       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
10291 $as_echo "$archive_cmds_need_lc" >&6; }
10292       ;;
10293     esac
10294   fi
10295   ;;
10296 esac
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10455 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10456
10457 if test "$GCC" = yes; then
10458   case $host_os in
10459     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10460     *) lt_awk_arg="/^libraries:/" ;;
10461   esac
10462   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10463   if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10464     # if the path contains ";" then we assume it to be the separator
10465     # otherwise default to the standard path separator (i.e. ":") - it is
10466     # assumed that no part of a normal pathname contains ";" but that should
10467     # okay in the real world where ";" in dirpaths is itself problematic.
10468     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10469   else
10470     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10471   fi
10472   # Ok, now we have the path, separated by spaces, we can step through it
10473   # and add multilib dir if necessary.
10474   lt_tmp_lt_search_path_spec=
10475   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10476   for lt_sys_path in $lt_search_path_spec; do
10477     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10478       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10479     else
10480       test -d "$lt_sys_path" && \
10481         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10482     fi
10483   done
10484   lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10485 BEGIN {RS=" "; FS="/|\n";} {
10486   lt_foo="";
10487   lt_count=0;
10488   for (lt_i = NF; lt_i > 0; lt_i--) {
10489     if ($lt_i != "" && $lt_i != ".") {
10490       if ($lt_i == "..") {
10491         lt_count++;
10492       } else {
10493         if (lt_count == 0) {
10494           lt_foo="/" $lt_i lt_foo;
10495         } else {
10496           lt_count--;
10497         }
10498       }
10499     }
10500   }
10501   if (lt_foo != "") { lt_freq[lt_foo]++; }
10502   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10503 }'`
10504   sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10505 else
10506   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10507 fi
10508 library_names_spec=
10509 libname_spec='lib$name'
10510 soname_spec=
10511 shrext_cmds=".so"
10512 postinstall_cmds=
10513 postuninstall_cmds=
10514 finish_cmds=
10515 finish_eval=
10516 shlibpath_var=
10517 shlibpath_overrides_runpath=unknown
10518 version_type=none
10519 dynamic_linker="$host_os ld.so"
10520 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10521 need_lib_prefix=unknown
10522 hardcode_into_libs=no
10523
10524 # when you set need_version to no, make sure it does not cause -set_version
10525 # flags to be left without arguments
10526 need_version=unknown
10527
10528 case $host_os in
10529 aix3*)
10530   version_type=linux
10531   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10532   shlibpath_var=LIBPATH
10533
10534   # AIX 3 has no versioning support, so we append a major version to the name.
10535   soname_spec='${libname}${release}${shared_ext}$major'
10536   ;;
10537
10538 aix[4-9]*)
10539   version_type=linux
10540   need_lib_prefix=no
10541   need_version=no
10542   hardcode_into_libs=yes
10543   if test "$host_cpu" = ia64; then
10544     # AIX 5 supports IA64
10545     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10546     shlibpath_var=LD_LIBRARY_PATH
10547   else
10548     # With GCC up to 2.95.x, collect2 would create an import file
10549     # for dependence libraries.  The import file would start with
10550     # the line `#! .'.  This would cause the generated library to
10551     # depend on `.', always an invalid library.  This was fixed in
10552     # development snapshots of GCC prior to 3.0.
10553     case $host_os in
10554       aix4 | aix4.[01] | aix4.[01].*)
10555       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10556            echo ' yes '
10557            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10558         :
10559       else
10560         can_build_shared=no
10561       fi
10562       ;;
10563     esac
10564     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10565     # soname into executable. Probably we can add versioning support to
10566     # collect2, so additional links can be useful in future.
10567     if test "$aix_use_runtimelinking" = yes; then
10568       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10569       # instead of lib<name>.a to let people know that these are not
10570       # typical AIX shared libraries.
10571       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10572     else
10573       # We preserve .a as extension for shared libraries through AIX4.2
10574       # and later when we are not doing run time linking.
10575       library_names_spec='${libname}${release}.a $libname.a'
10576       soname_spec='${libname}${release}${shared_ext}$major'
10577     fi
10578     shlibpath_var=LIBPATH
10579   fi
10580   ;;
10581
10582 amigaos*)
10583   case $host_cpu in
10584   powerpc)
10585     # Since July 2007 AmigaOS4 officially supports .so libraries.
10586     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10587     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10588     ;;
10589   m68k)
10590     library_names_spec='$libname.ixlibrary $libname.a'
10591     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10592     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''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'
10593     ;;
10594   esac
10595   ;;
10596
10597 beos*)
10598   library_names_spec='${libname}${shared_ext}'
10599   dynamic_linker="$host_os ld.so"
10600   shlibpath_var=LIBRARY_PATH
10601   ;;
10602
10603 bsdi[45]*)
10604   version_type=linux
10605   need_version=no
10606   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10607   soname_spec='${libname}${release}${shared_ext}$major'
10608   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10609   shlibpath_var=LD_LIBRARY_PATH
10610   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10611   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10612   # the default ld.so.conf also contains /usr/contrib/lib and
10613   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10614   # libtool to hard-code these into programs
10615   ;;
10616
10617 cygwin* | mingw* | pw32* | cegcc*)
10618   version_type=windows
10619   shrext_cmds=".dll"
10620   need_version=no
10621   need_lib_prefix=no
10622
10623   case $GCC,$host_os in
10624   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10625     library_names_spec='$libname.dll.a'
10626     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10627     postinstall_cmds='base_file=`basename \${file}`~
10628       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10629       dldir=$destdir/`dirname \$dlpath`~
10630       test -d \$dldir || mkdir -p \$dldir~
10631       $install_prog $dir/$dlname \$dldir/$dlname~
10632       chmod a+x \$dldir/$dlname~
10633       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10634         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10635       fi'
10636     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10637       dlpath=$dir/\$dldll~
10638        $RM \$dlpath'
10639     shlibpath_overrides_runpath=yes
10640
10641     case $host_os in
10642     cygwin*)
10643       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10644       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10645       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10646       ;;
10647     mingw* | cegcc*)
10648       # MinGW DLLs use traditional 'lib' prefix
10649       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10650       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10651       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10652         # It is most probably a Windows format PATH printed by
10653         # mingw gcc, but we are running on Cygwin. Gcc prints its search
10654         # path with ; separators, and with drive letters. We can handle the
10655         # drive letters (cygwin fileutils understands them), so leave them,
10656         # especially as we might pass files found there to a mingw objdump,
10657         # which wouldn't understand a cygwinified path. Ahh.
10658         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10659       else
10660         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10661       fi
10662       ;;
10663     pw32*)
10664       # pw32 DLLs use 'pw' prefix rather than 'lib'
10665       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10666       ;;
10667     esac
10668     ;;
10669
10670   *)
10671     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10672     ;;
10673   esac
10674   dynamic_linker='Win32 ld.exe'
10675   # FIXME: first we should search . and the directory the executable is in
10676   shlibpath_var=PATH
10677   ;;
10678
10679 darwin* | rhapsody*)
10680   dynamic_linker="$host_os dyld"
10681   version_type=darwin
10682   need_lib_prefix=no
10683   need_version=no
10684   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10685   soname_spec='${libname}${release}${major}$shared_ext'
10686   shlibpath_overrides_runpath=yes
10687   shlibpath_var=DYLD_LIBRARY_PATH
10688   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10689
10690   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10691   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10692   ;;
10693
10694 dgux*)
10695   version_type=linux
10696   need_lib_prefix=no
10697   need_version=no
10698   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10699   soname_spec='${libname}${release}${shared_ext}$major'
10700   shlibpath_var=LD_LIBRARY_PATH
10701   ;;
10702
10703 freebsd1*)
10704   dynamic_linker=no
10705   ;;
10706
10707 freebsd* | dragonfly*)
10708   # DragonFly does not have aout.  When/if they implement a new
10709   # versioning mechanism, adjust this.
10710   if test -x /usr/bin/objformat; then
10711     objformat=`/usr/bin/objformat`
10712   else
10713     case $host_os in
10714     freebsd[123]*) objformat=aout ;;
10715     *) objformat=elf ;;
10716     esac
10717   fi
10718   version_type=freebsd-$objformat
10719   case $version_type in
10720     freebsd-elf*)
10721       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10722       need_version=no
10723       need_lib_prefix=no
10724       ;;
10725     freebsd-*)
10726       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10727       need_version=yes
10728       ;;
10729   esac
10730   shlibpath_var=LD_LIBRARY_PATH
10731   case $host_os in
10732   freebsd2*)
10733     shlibpath_overrides_runpath=yes
10734     ;;
10735   freebsd3.[01]* | freebsdelf3.[01]*)
10736     shlibpath_overrides_runpath=yes
10737     hardcode_into_libs=yes
10738     ;;
10739   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10740   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10741     shlibpath_overrides_runpath=no
10742     hardcode_into_libs=yes
10743     ;;
10744   *) # from 4.6 on, and DragonFly
10745     shlibpath_overrides_runpath=yes
10746     hardcode_into_libs=yes
10747     ;;
10748   esac
10749   ;;
10750
10751 gnu*)
10752   version_type=linux
10753   need_lib_prefix=no
10754   need_version=no
10755   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10756   soname_spec='${libname}${release}${shared_ext}$major'
10757   shlibpath_var=LD_LIBRARY_PATH
10758   hardcode_into_libs=yes
10759   ;;
10760
10761 hpux9* | hpux10* | hpux11*)
10762   # Give a soname corresponding to the major version so that dld.sl refuses to
10763   # link against other versions.
10764   version_type=sunos
10765   need_lib_prefix=no
10766   need_version=no
10767   case $host_cpu in
10768   ia64*)
10769     shrext_cmds='.so'
10770     hardcode_into_libs=yes
10771     dynamic_linker="$host_os dld.so"
10772     shlibpath_var=LD_LIBRARY_PATH
10773     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10774     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10775     soname_spec='${libname}${release}${shared_ext}$major'
10776     if test "X$HPUX_IA64_MODE" = X32; then
10777       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10778     else
10779       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10780     fi
10781     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10782     ;;
10783   hppa*64*)
10784     shrext_cmds='.sl'
10785     hardcode_into_libs=yes
10786     dynamic_linker="$host_os dld.sl"
10787     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10788     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10789     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10790     soname_spec='${libname}${release}${shared_ext}$major'
10791     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10792     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10793     ;;
10794   *)
10795     shrext_cmds='.sl'
10796     dynamic_linker="$host_os dld.sl"
10797     shlibpath_var=SHLIB_PATH
10798     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10799     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10800     soname_spec='${libname}${release}${shared_ext}$major'
10801     ;;
10802   esac
10803   # HP-UX runs *really* slowly unless shared libraries are mode 555.
10804   postinstall_cmds='chmod 555 $lib'
10805   ;;
10806
10807 interix[3-9]*)
10808   version_type=linux
10809   need_lib_prefix=no
10810   need_version=no
10811   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10812   soname_spec='${libname}${release}${shared_ext}$major'
10813   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10814   shlibpath_var=LD_LIBRARY_PATH
10815   shlibpath_overrides_runpath=no
10816   hardcode_into_libs=yes
10817   ;;
10818
10819 irix5* | irix6* | nonstopux*)
10820   case $host_os in
10821     nonstopux*) version_type=nonstopux ;;
10822     *)
10823         if test "$lt_cv_prog_gnu_ld" = yes; then
10824                 version_type=linux
10825         else
10826                 version_type=irix
10827         fi ;;
10828   esac
10829   need_lib_prefix=no
10830   need_version=no
10831   soname_spec='${libname}${release}${shared_ext}$major'
10832   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10833   case $host_os in
10834   irix5* | nonstopux*)
10835     libsuff= shlibsuff=
10836     ;;
10837   *)
10838     case $LD in # libtool.m4 will add one of these switches to LD
10839     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10840       libsuff= shlibsuff= libmagic=32-bit;;
10841     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10842       libsuff=32 shlibsuff=N32 libmagic=N32;;
10843     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10844       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10845     *) libsuff= shlibsuff= libmagic=never-match;;
10846     esac
10847     ;;
10848   esac
10849   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10850   shlibpath_overrides_runpath=no
10851   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10852   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10853   hardcode_into_libs=yes
10854   ;;
10855
10856 # No shared lib support for Linux oldld, aout, or coff.
10857 linux*oldld* | linux*aout* | linux*coff*)
10858   dynamic_linker=no
10859   ;;
10860
10861 # This must be Linux ELF.
10862 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10863   version_type=linux
10864   need_lib_prefix=no
10865   need_version=no
10866   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10867   soname_spec='${libname}${release}${shared_ext}$major'
10868   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10869   shlibpath_var=LD_LIBRARY_PATH
10870   shlibpath_overrides_runpath=no
10871   # Some binutils ld are patched to set DT_RUNPATH
10872   save_LDFLAGS=$LDFLAGS
10873   save_libdir=$libdir
10874   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10875        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10876   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10877 /* end confdefs.h.  */
10878
10879 int
10880 main ()
10881 {
10882
10883   ;
10884   return 0;
10885 }
10886 _ACEOF
10887 if ac_fn_c_try_link "$LINENO"; then :
10888   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10889   shlibpath_overrides_runpath=yes
10890 fi
10891 fi
10892 rm -f core conftest.err conftest.$ac_objext \
10893     conftest$ac_exeext conftest.$ac_ext
10894   LDFLAGS=$save_LDFLAGS
10895   libdir=$save_libdir
10896
10897   # This implies no fast_install, which is unacceptable.
10898   # Some rework will be needed to allow for fast_install
10899   # before this can be enabled.
10900   hardcode_into_libs=yes
10901
10902   # Append ld.so.conf contents to the search path
10903   if test -f /etc/ld.so.conf; then
10904     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;/^$/d' | tr '\n' ' '`
10905     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10906   fi
10907
10908   # We used to test for /lib/ld.so.1 and disable shared libraries on
10909   # powerpc, because MkLinux only supported shared libraries with the
10910   # GNU dynamic linker.  Since this was broken with cross compilers,
10911   # most powerpc-linux boxes support dynamic linking these days and
10912   # people can always --disable-shared, the test was removed, and we
10913   # assume the GNU/Linux dynamic linker is in use.
10914   dynamic_linker='GNU/Linux ld.so'
10915   ;;
10916
10917 netbsdelf*-gnu)
10918   version_type=linux
10919   need_lib_prefix=no
10920   need_version=no
10921   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10922   soname_spec='${libname}${release}${shared_ext}$major'
10923   shlibpath_var=LD_LIBRARY_PATH
10924   shlibpath_overrides_runpath=no
10925   hardcode_into_libs=yes
10926   dynamic_linker='NetBSD ld.elf_so'
10927   ;;
10928
10929 netbsd*)
10930   version_type=sunos
10931   need_lib_prefix=no
10932   need_version=no
10933   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10934     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10935     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10936     dynamic_linker='NetBSD (a.out) ld.so'
10937   else
10938     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10939     soname_spec='${libname}${release}${shared_ext}$major'
10940     dynamic_linker='NetBSD ld.elf_so'
10941   fi
10942   shlibpath_var=LD_LIBRARY_PATH
10943   shlibpath_overrides_runpath=yes
10944   hardcode_into_libs=yes
10945   ;;
10946
10947 newsos6)
10948   version_type=linux
10949   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10950   shlibpath_var=LD_LIBRARY_PATH
10951   shlibpath_overrides_runpath=yes
10952   ;;
10953
10954 *nto* | *qnx*)
10955   version_type=qnx
10956   need_lib_prefix=no
10957   need_version=no
10958   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10959   soname_spec='${libname}${release}${shared_ext}$major'
10960   shlibpath_var=LD_LIBRARY_PATH
10961   shlibpath_overrides_runpath=no
10962   hardcode_into_libs=yes
10963   dynamic_linker='ldqnx.so'
10964   ;;
10965
10966 openbsd*)
10967   version_type=sunos
10968   sys_lib_dlsearch_path_spec="/usr/lib"
10969   need_lib_prefix=no
10970   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10971   case $host_os in
10972     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10973     *)                          need_version=no  ;;
10974   esac
10975   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10976   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10977   shlibpath_var=LD_LIBRARY_PATH
10978   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10979     case $host_os in
10980       openbsd2.[89] | openbsd2.[89].*)
10981         shlibpath_overrides_runpath=no
10982         ;;
10983       *)
10984         shlibpath_overrides_runpath=yes
10985         ;;
10986       esac
10987   else
10988     shlibpath_overrides_runpath=yes
10989   fi
10990   ;;
10991
10992 os2*)
10993   libname_spec='$name'
10994   shrext_cmds=".dll"
10995   need_lib_prefix=no
10996   library_names_spec='$libname${shared_ext} $libname.a'
10997   dynamic_linker='OS/2 ld.exe'
10998   shlibpath_var=LIBPATH
10999   ;;
11000
11001 osf3* | osf4* | osf5*)
11002   version_type=osf
11003   need_lib_prefix=no
11004   need_version=no
11005   soname_spec='${libname}${release}${shared_ext}$major'
11006   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11007   shlibpath_var=LD_LIBRARY_PATH
11008   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11009   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11010   ;;
11011
11012 rdos*)
11013   dynamic_linker=no
11014   ;;
11015
11016 solaris*)
11017   version_type=linux
11018   need_lib_prefix=no
11019   need_version=no
11020   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11021   soname_spec='${libname}${release}${shared_ext}$major'
11022   shlibpath_var=LD_LIBRARY_PATH
11023   shlibpath_overrides_runpath=yes
11024   hardcode_into_libs=yes
11025   # ldd complains unless libraries are executable
11026   postinstall_cmds='chmod +x $lib'
11027   ;;
11028
11029 sunos4*)
11030   version_type=sunos
11031   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11032   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11033   shlibpath_var=LD_LIBRARY_PATH
11034   shlibpath_overrides_runpath=yes
11035   if test "$with_gnu_ld" = yes; then
11036     need_lib_prefix=no
11037   fi
11038   need_version=yes
11039   ;;
11040
11041 sysv4 | sysv4.3*)
11042   version_type=linux
11043   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11044   soname_spec='${libname}${release}${shared_ext}$major'
11045   shlibpath_var=LD_LIBRARY_PATH
11046   case $host_vendor in
11047     sni)
11048       shlibpath_overrides_runpath=no
11049       need_lib_prefix=no
11050       runpath_var=LD_RUN_PATH
11051       ;;
11052     siemens)
11053       need_lib_prefix=no
11054       ;;
11055     motorola)
11056       need_lib_prefix=no
11057       need_version=no
11058       shlibpath_overrides_runpath=no
11059       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11060       ;;
11061   esac
11062   ;;
11063
11064 sysv4*MP*)
11065   if test -d /usr/nec ;then
11066     version_type=linux
11067     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11068     soname_spec='$libname${shared_ext}.$major'
11069     shlibpath_var=LD_LIBRARY_PATH
11070   fi
11071   ;;
11072
11073 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11074   version_type=freebsd-elf
11075   need_lib_prefix=no
11076   need_version=no
11077   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11078   soname_spec='${libname}${release}${shared_ext}$major'
11079   shlibpath_var=LD_LIBRARY_PATH
11080   shlibpath_overrides_runpath=yes
11081   hardcode_into_libs=yes
11082   if test "$with_gnu_ld" = yes; then
11083     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11084   else
11085     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11086     case $host_os in
11087       sco3.2v5*)
11088         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11089         ;;
11090     esac
11091   fi
11092   sys_lib_dlsearch_path_spec='/usr/lib'
11093   ;;
11094
11095 tpf*)
11096   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11097   version_type=linux
11098   need_lib_prefix=no
11099   need_version=no
11100   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11101   shlibpath_var=LD_LIBRARY_PATH
11102   shlibpath_overrides_runpath=no
11103   hardcode_into_libs=yes
11104   ;;
11105
11106 uts4*)
11107   version_type=linux
11108   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11109   soname_spec='${libname}${release}${shared_ext}$major'
11110   shlibpath_var=LD_LIBRARY_PATH
11111   ;;
11112
11113 *)
11114   dynamic_linker=no
11115   ;;
11116 esac
11117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11118 $as_echo "$dynamic_linker" >&6; }
11119 test "$dynamic_linker" = no && can_build_shared=no
11120
11121 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11122 if test "$GCC" = yes; then
11123   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11124 fi
11125
11126 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11127   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11128 fi
11129 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11130   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11131 fi
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   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11220 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11221 hardcode_action=
11222 if test -n "$hardcode_libdir_flag_spec" ||
11223    test -n "$runpath_var" ||
11224    test "X$hardcode_automatic" = "Xyes" ; then
11225
11226   # We can hardcode non-existent directories.
11227   if test "$hardcode_direct" != no &&
11228      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11229      # have to relink, otherwise we might link with an installed library
11230      # when we should be linking with a yet-to-be-installed one
11231      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11232      test "$hardcode_minus_L" != no; then
11233     # Linking always hardcodes the temporary library directory.
11234     hardcode_action=relink
11235   else
11236     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11237     hardcode_action=immediate
11238   fi
11239 else
11240   # We cannot hardcode anything, or else we can only hardcode existing
11241   # directories.
11242   hardcode_action=unsupported
11243 fi
11244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11245 $as_echo "$hardcode_action" >&6; }
11246
11247 if test "$hardcode_action" = relink ||
11248    test "$inherit_rpath" = yes; then
11249   # Fast installation is not supported
11250   enable_fast_install=no
11251 elif test "$shlibpath_overrides_runpath" = yes ||
11252      test "$enable_shared" = no; then
11253   # Fast installation is not necessary
11254   enable_fast_install=needless
11255 fi
11256
11257
11258
11259
11260
11261
11262   if test "x$enable_dlopen" != xyes; then
11263   enable_dlopen=unknown
11264   enable_dlopen_self=unknown
11265   enable_dlopen_self_static=unknown
11266 else
11267   lt_cv_dlopen=no
11268   lt_cv_dlopen_libs=
11269
11270   case $host_os in
11271   beos*)
11272     lt_cv_dlopen="load_add_on"
11273     lt_cv_dlopen_libs=
11274     lt_cv_dlopen_self=yes
11275     ;;
11276
11277   mingw* | pw32* | cegcc*)
11278     lt_cv_dlopen="LoadLibrary"
11279     lt_cv_dlopen_libs=
11280     ;;
11281
11282   cygwin*)
11283     lt_cv_dlopen="dlopen"
11284     lt_cv_dlopen_libs=
11285     ;;
11286
11287   darwin*)
11288   # if libdl is installed we need to link against it
11289     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11290 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11291 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11292   $as_echo_n "(cached) " >&6
11293 else
11294   ac_check_lib_save_LIBS=$LIBS
11295 LIBS="-ldl  $LIBS"
11296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11297 /* end confdefs.h.  */
11298
11299 /* Override any GCC internal prototype to avoid an error.
11300    Use char because int might match the return type of a GCC
11301    builtin and then its argument prototype would still apply.  */
11302 #ifdef __cplusplus
11303 extern "C"
11304 #endif
11305 char dlopen ();
11306 int
11307 main ()
11308 {
11309 return dlopen ();
11310   ;
11311   return 0;
11312 }
11313 _ACEOF
11314 if ac_fn_c_try_link "$LINENO"; then :
11315   ac_cv_lib_dl_dlopen=yes
11316 else
11317   ac_cv_lib_dl_dlopen=no
11318 fi
11319 rm -f core conftest.err conftest.$ac_objext \
11320     conftest$ac_exeext conftest.$ac_ext
11321 LIBS=$ac_check_lib_save_LIBS
11322 fi
11323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11324 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11325 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11326   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11327 else
11328
11329     lt_cv_dlopen="dyld"
11330     lt_cv_dlopen_libs=
11331     lt_cv_dlopen_self=yes
11332
11333 fi
11334
11335     ;;
11336
11337   *)
11338     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11339 if test "x$ac_cv_func_shl_load" = x""yes; then :
11340   lt_cv_dlopen="shl_load"
11341 else
11342   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11343 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11344 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11345   $as_echo_n "(cached) " >&6
11346 else
11347   ac_check_lib_save_LIBS=$LIBS
11348 LIBS="-ldld  $LIBS"
11349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11350 /* end confdefs.h.  */
11351
11352 /* Override any GCC internal prototype to avoid an error.
11353    Use char because int might match the return type of a GCC
11354    builtin and then its argument prototype would still apply.  */
11355 #ifdef __cplusplus
11356 extern "C"
11357 #endif
11358 char shl_load ();
11359 int
11360 main ()
11361 {
11362 return shl_load ();
11363   ;
11364   return 0;
11365 }
11366 _ACEOF
11367 if ac_fn_c_try_link "$LINENO"; then :
11368   ac_cv_lib_dld_shl_load=yes
11369 else
11370   ac_cv_lib_dld_shl_load=no
11371 fi
11372 rm -f core conftest.err conftest.$ac_objext \
11373     conftest$ac_exeext conftest.$ac_ext
11374 LIBS=$ac_check_lib_save_LIBS
11375 fi
11376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11377 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11378 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11379   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11380 else
11381   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11382 if test "x$ac_cv_func_dlopen" = x""yes; then :
11383   lt_cv_dlopen="dlopen"
11384 else
11385   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11386 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11387 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11388   $as_echo_n "(cached) " >&6
11389 else
11390   ac_check_lib_save_LIBS=$LIBS
11391 LIBS="-ldl  $LIBS"
11392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11393 /* end confdefs.h.  */
11394
11395 /* Override any GCC internal prototype to avoid an error.
11396    Use char because int might match the return type of a GCC
11397    builtin and then its argument prototype would still apply.  */
11398 #ifdef __cplusplus
11399 extern "C"
11400 #endif
11401 char dlopen ();
11402 int
11403 main ()
11404 {
11405 return dlopen ();
11406   ;
11407   return 0;
11408 }
11409 _ACEOF
11410 if ac_fn_c_try_link "$LINENO"; then :
11411   ac_cv_lib_dl_dlopen=yes
11412 else
11413   ac_cv_lib_dl_dlopen=no
11414 fi
11415 rm -f core conftest.err conftest.$ac_objext \
11416     conftest$ac_exeext conftest.$ac_ext
11417 LIBS=$ac_check_lib_save_LIBS
11418 fi
11419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11420 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11421 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11422   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11423 else
11424   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11425 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11426 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11427   $as_echo_n "(cached) " >&6
11428 else
11429   ac_check_lib_save_LIBS=$LIBS
11430 LIBS="-lsvld  $LIBS"
11431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11432 /* end confdefs.h.  */
11433
11434 /* Override any GCC internal prototype to avoid an error.
11435    Use char because int might match the return type of a GCC
11436    builtin and then its argument prototype would still apply.  */
11437 #ifdef __cplusplus
11438 extern "C"
11439 #endif
11440 char dlopen ();
11441 int
11442 main ()
11443 {
11444 return dlopen ();
11445   ;
11446   return 0;
11447 }
11448 _ACEOF
11449 if ac_fn_c_try_link "$LINENO"; then :
11450   ac_cv_lib_svld_dlopen=yes
11451 else
11452   ac_cv_lib_svld_dlopen=no
11453 fi
11454 rm -f core conftest.err conftest.$ac_objext \
11455     conftest$ac_exeext conftest.$ac_ext
11456 LIBS=$ac_check_lib_save_LIBS
11457 fi
11458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11459 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11460 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11461   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11462 else
11463   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11464 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11465 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11466   $as_echo_n "(cached) " >&6
11467 else
11468   ac_check_lib_save_LIBS=$LIBS
11469 LIBS="-ldld  $LIBS"
11470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11471 /* end confdefs.h.  */
11472
11473 /* Override any GCC internal prototype to avoid an error.
11474    Use char because int might match the return type of a GCC
11475    builtin and then its argument prototype would still apply.  */
11476 #ifdef __cplusplus
11477 extern "C"
11478 #endif
11479 char dld_link ();
11480 int
11481 main ()
11482 {
11483 return dld_link ();
11484   ;
11485   return 0;
11486 }
11487 _ACEOF
11488 if ac_fn_c_try_link "$LINENO"; then :
11489   ac_cv_lib_dld_dld_link=yes
11490 else
11491   ac_cv_lib_dld_dld_link=no
11492 fi
11493 rm -f core conftest.err conftest.$ac_objext \
11494     conftest$ac_exeext conftest.$ac_ext
11495 LIBS=$ac_check_lib_save_LIBS
11496 fi
11497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11498 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11499 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11500   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11501 fi
11502
11503
11504 fi
11505
11506
11507 fi
11508
11509
11510 fi
11511
11512
11513 fi
11514
11515
11516 fi
11517
11518     ;;
11519   esac
11520
11521   if test "x$lt_cv_dlopen" != xno; then
11522     enable_dlopen=yes
11523   else
11524     enable_dlopen=no
11525   fi
11526
11527   case $lt_cv_dlopen in
11528   dlopen)
11529     save_CPPFLAGS="$CPPFLAGS"
11530     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11531
11532     save_LDFLAGS="$LDFLAGS"
11533     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11534
11535     save_LIBS="$LIBS"
11536     LIBS="$lt_cv_dlopen_libs $LIBS"
11537
11538     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11539 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11540 if test "${lt_cv_dlopen_self+set}" = set; then :
11541   $as_echo_n "(cached) " >&6
11542 else
11543           if test "$cross_compiling" = yes; then :
11544   lt_cv_dlopen_self=cross
11545 else
11546   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11547   lt_status=$lt_dlunknown
11548   cat > conftest.$ac_ext <<_LT_EOF
11549 #line 11549 "configure"
11550 #include "confdefs.h"
11551
11552 #if HAVE_DLFCN_H
11553 #include <dlfcn.h>
11554 #endif
11555
11556 #include <stdio.h>
11557
11558 #ifdef RTLD_GLOBAL
11559 #  define LT_DLGLOBAL           RTLD_GLOBAL
11560 #else
11561 #  ifdef DL_GLOBAL
11562 #    define LT_DLGLOBAL         DL_GLOBAL
11563 #  else
11564 #    define LT_DLGLOBAL         0
11565 #  endif
11566 #endif
11567
11568 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11569    find out it does not work in some platform. */
11570 #ifndef LT_DLLAZY_OR_NOW
11571 #  ifdef RTLD_LAZY
11572 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11573 #  else
11574 #    ifdef DL_LAZY
11575 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11576 #    else
11577 #      ifdef RTLD_NOW
11578 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11579 #      else
11580 #        ifdef DL_NOW
11581 #          define LT_DLLAZY_OR_NOW      DL_NOW
11582 #        else
11583 #          define LT_DLLAZY_OR_NOW      0
11584 #        endif
11585 #      endif
11586 #    endif
11587 #  endif
11588 #endif
11589
11590 void fnord() { int i=42;}
11591 int main ()
11592 {
11593   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11594   int status = $lt_dlunknown;
11595
11596   if (self)
11597     {
11598       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11599       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11600       /* dlclose (self); */
11601     }
11602   else
11603     puts (dlerror ());
11604
11605   return status;
11606 }
11607 _LT_EOF
11608   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11609   (eval $ac_link) 2>&5
11610   ac_status=$?
11611   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11612   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11613     (./conftest; exit; ) >&5 2>/dev/null
11614     lt_status=$?
11615     case x$lt_status in
11616       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11617       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11618       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11619     esac
11620   else :
11621     # compilation failed
11622     lt_cv_dlopen_self=no
11623   fi
11624 fi
11625 rm -fr conftest*
11626
11627
11628 fi
11629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11630 $as_echo "$lt_cv_dlopen_self" >&6; }
11631
11632     if test "x$lt_cv_dlopen_self" = xyes; then
11633       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11634       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11635 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11636 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11637   $as_echo_n "(cached) " >&6
11638 else
11639           if test "$cross_compiling" = yes; then :
11640   lt_cv_dlopen_self_static=cross
11641 else
11642   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11643   lt_status=$lt_dlunknown
11644   cat > conftest.$ac_ext <<_LT_EOF
11645 #line 11645 "configure"
11646 #include "confdefs.h"
11647
11648 #if HAVE_DLFCN_H
11649 #include <dlfcn.h>
11650 #endif
11651
11652 #include <stdio.h>
11653
11654 #ifdef RTLD_GLOBAL
11655 #  define LT_DLGLOBAL           RTLD_GLOBAL
11656 #else
11657 #  ifdef DL_GLOBAL
11658 #    define LT_DLGLOBAL         DL_GLOBAL
11659 #  else
11660 #    define LT_DLGLOBAL         0
11661 #  endif
11662 #endif
11663
11664 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11665    find out it does not work in some platform. */
11666 #ifndef LT_DLLAZY_OR_NOW
11667 #  ifdef RTLD_LAZY
11668 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11669 #  else
11670 #    ifdef DL_LAZY
11671 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11672 #    else
11673 #      ifdef RTLD_NOW
11674 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11675 #      else
11676 #        ifdef DL_NOW
11677 #          define LT_DLLAZY_OR_NOW      DL_NOW
11678 #        else
11679 #          define LT_DLLAZY_OR_NOW      0
11680 #        endif
11681 #      endif
11682 #    endif
11683 #  endif
11684 #endif
11685
11686 void fnord() { int i=42;}
11687 int main ()
11688 {
11689   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11690   int status = $lt_dlunknown;
11691
11692   if (self)
11693     {
11694       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11695       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11696       /* dlclose (self); */
11697     }
11698   else
11699     puts (dlerror ());
11700
11701   return status;
11702 }
11703 _LT_EOF
11704   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11705   (eval $ac_link) 2>&5
11706   ac_status=$?
11707   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11708   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11709     (./conftest; exit; ) >&5 2>/dev/null
11710     lt_status=$?
11711     case x$lt_status in
11712       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11713       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11714       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11715     esac
11716   else :
11717     # compilation failed
11718     lt_cv_dlopen_self_static=no
11719   fi
11720 fi
11721 rm -fr conftest*
11722
11723
11724 fi
11725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11726 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11727     fi
11728
11729     CPPFLAGS="$save_CPPFLAGS"
11730     LDFLAGS="$save_LDFLAGS"
11731     LIBS="$save_LIBS"
11732     ;;
11733   esac
11734
11735   case $lt_cv_dlopen_self in
11736   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11737   *) enable_dlopen_self=unknown ;;
11738   esac
11739
11740   case $lt_cv_dlopen_self_static in
11741   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11742   *) enable_dlopen_self_static=unknown ;;
11743   esac
11744 fi
11745
11746
11747
11748
11749
11750
11751
11752
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762 striplib=
11763 old_striplib=
11764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11765 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11766 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11767   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11768   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11769   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11770 $as_echo "yes" >&6; }
11771 else
11772 # FIXME - insert some real tests, host_os isn't really good enough
11773   case $host_os in
11774   darwin*)
11775     if test -n "$STRIP" ; then
11776       striplib="$STRIP -x"
11777       old_striplib="$STRIP -S"
11778       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11779 $as_echo "yes" >&6; }
11780     else
11781       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11782 $as_echo "no" >&6; }
11783     fi
11784     ;;
11785   *)
11786     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11787 $as_echo "no" >&6; }
11788     ;;
11789   esac
11790 fi
11791
11792
11793
11794
11795
11796
11797
11798
11799
11800
11801
11802
11803   # Report which library types will actually be built
11804   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11805 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11806   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11807 $as_echo "$can_build_shared" >&6; }
11808
11809   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11810 $as_echo_n "checking whether to build shared libraries... " >&6; }
11811   test "$can_build_shared" = "no" && enable_shared=no
11812
11813   # On AIX, shared libraries and static libraries use the same namespace, and
11814   # are all built from PIC.
11815   case $host_os in
11816   aix3*)
11817     test "$enable_shared" = yes && enable_static=no
11818     if test -n "$RANLIB"; then
11819       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11820       postinstall_cmds='$RANLIB $lib'
11821     fi
11822     ;;
11823
11824   aix[4-9]*)
11825     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11826       test "$enable_shared" = yes && enable_static=no
11827     fi
11828     ;;
11829   esac
11830   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11831 $as_echo "$enable_shared" >&6; }
11832
11833   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11834 $as_echo_n "checking whether to build static libraries... " >&6; }
11835   # Make sure either enable_shared or enable_static is yes.
11836   test "$enable_shared" = yes || enable_static=yes
11837   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11838 $as_echo "$enable_static" >&6; }
11839
11840
11841
11842
11843 fi
11844 ac_ext=c
11845 ac_cpp='$CPP $CPPFLAGS'
11846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11849
11850 CC="$lt_save_CC"
11851
11852
11853
11854
11855
11856
11857
11858
11859
11860
11861
11862
11863
11864         ac_config_commands="$ac_config_commands libtool"
11865
11866
11867
11868
11869 # Only expand once:
11870
11871
11872
11873 GST_REQ=0.10.34
11874
11875
11876
11877
11878 # Check whether --with-autoconf was given.
11879 if test "${with_autoconf+set}" = set; then :
11880   withval=$with_autoconf;
11881       unset AUTOCONF
11882
11883 AUTOCONF=${AUTOCONF-"${am_missing_run}${withval}"}
11884
11885       { $as_echo "$as_me:${as_lineno-$LINENO}: Using $AUTOCONF as autoconf" >&5
11886 $as_echo "$as_me: Using $AUTOCONF as autoconf" >&6;}
11887
11888 fi
11889
11890
11891
11892 # Check whether --with-autoheader was given.
11893 if test "${with_autoheader+set}" = set; then :
11894   withval=$with_autoheader;
11895       unset AUTOHEADER
11896
11897 AUTOHEADER=${AUTOHEADER-"${am_missing_run}${withval}"}
11898
11899       { $as_echo "$as_me:${as_lineno-$LINENO}: Using $AUTOHEADER as autoheader" >&5
11900 $as_echo "$as_me: Using $AUTOHEADER as autoheader" >&6;}
11901
11902 fi
11903
11904
11905
11906 # Check whether --with-automake was given.
11907 if test "${with_automake+set}" = set; then :
11908   withval=$with_automake;
11909       unset AUTOMAKE
11910
11911 AUTOMAKE=${AUTOMAKE-"${am_missing_run}${withval}"}
11912
11913       { $as_echo "$as_me:${as_lineno-$LINENO}: Using $AUTOMAKE as automake" >&5
11914 $as_echo "$as_me: Using $AUTOMAKE as automake" >&6;}
11915
11916 fi
11917
11918
11919
11920 # Check whether --with-aclocal was given.
11921 if test "${with_aclocal+set}" = set; then :
11922   withval=$with_aclocal;
11923       unset ACLOCAL
11924
11925 ACLOCAL=${ACLOCAL-"${am_missing_run}${withval}"}
11926
11927       { $as_echo "$as_me:${as_lineno-$LINENO}: Using $ACLOCAL as aclocal" >&5
11928 $as_echo "$as_me: Using $ACLOCAL as aclocal" >&6;}
11929
11930 fi
11931
11932
11933
11934 ACLOCAL_AMFLAGS="-I m4 -I common/m4"
11935
11936
11937
11938
11939   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
11940 $as_echo_n "checking whether NLS is requested... " >&6; }
11941     # Check whether --enable-nls was given.
11942 if test "${enable_nls+set}" = set; then :
11943   enableval=$enable_nls; USE_NLS=$enableval
11944 else
11945   USE_NLS=yes
11946 fi
11947
11948   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
11949 $as_echo "$USE_NLS" >&6; }
11950
11951
11952
11953
11954       GETTEXT_MACRO_VERSION=0.17
11955
11956
11957
11958
11959 # Prepare PATH_SEPARATOR.
11960 # The user is always right.
11961 if test "${PATH_SEPARATOR+set}" != set; then
11962   echo "#! /bin/sh" >conf$$.sh
11963   echo  "exit 0"   >>conf$$.sh
11964   chmod +x conf$$.sh
11965   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11966     PATH_SEPARATOR=';'
11967   else
11968     PATH_SEPARATOR=:
11969   fi
11970   rm -f conf$$.sh
11971 fi
11972
11973 # Find out how to test for executable files. Don't use a zero-byte file,
11974 # as systems may use methods other than mode bits to determine executability.
11975 cat >conf$$.file <<_ASEOF
11976 #! /bin/sh
11977 exit 0
11978 _ASEOF
11979 chmod +x conf$$.file
11980 if test -x conf$$.file >/dev/null 2>&1; then
11981   ac_executable_p="test -x"
11982 else
11983   ac_executable_p="test -f"
11984 fi
11985 rm -f conf$$.file
11986
11987 # Extract the first word of "msgfmt", so it can be a program name with args.
11988 set dummy msgfmt; ac_word=$2
11989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11990 $as_echo_n "checking for $ac_word... " >&6; }
11991 if test "${ac_cv_path_MSGFMT+set}" = set; then :
11992   $as_echo_n "(cached) " >&6
11993 else
11994   case "$MSGFMT" in
11995   [\\/]* | ?:[\\/]*)
11996     ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
11997     ;;
11998   *)
11999     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
12000     for ac_dir in $PATH; do
12001       IFS="$ac_save_IFS"
12002       test -z "$ac_dir" && ac_dir=.
12003       for ac_exec_ext in '' $ac_executable_extensions; do
12004         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12005           echo "$as_me: trying $ac_dir/$ac_word..." >&5
12006           if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
12007      (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
12008             ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
12009             break 2
12010           fi
12011         fi
12012       done
12013     done
12014     IFS="$ac_save_IFS"
12015   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
12016     ;;
12017 esac
12018 fi
12019 MSGFMT="$ac_cv_path_MSGFMT"
12020 if test "$MSGFMT" != ":"; then
12021   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
12022 $as_echo "$MSGFMT" >&6; }
12023 else
12024   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12025 $as_echo "no" >&6; }
12026 fi
12027
12028   # Extract the first word of "gmsgfmt", so it can be a program name with args.
12029 set dummy gmsgfmt; ac_word=$2
12030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12031 $as_echo_n "checking for $ac_word... " >&6; }
12032 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
12033   $as_echo_n "(cached) " >&6
12034 else
12035   case $GMSGFMT in
12036   [\\/]* | ?:[\\/]*)
12037   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
12038   ;;
12039   *)
12040   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12041 for as_dir in $PATH
12042 do
12043   IFS=$as_save_IFS
12044   test -z "$as_dir" && as_dir=.
12045     for ac_exec_ext in '' $ac_executable_extensions; do
12046   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12047     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
12048     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12049     break 2
12050   fi
12051 done
12052   done
12053 IFS=$as_save_IFS
12054
12055   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
12056   ;;
12057 esac
12058 fi
12059 GMSGFMT=$ac_cv_path_GMSGFMT
12060 if test -n "$GMSGFMT"; then
12061   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
12062 $as_echo "$GMSGFMT" >&6; }
12063 else
12064   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12065 $as_echo "no" >&6; }
12066 fi
12067
12068
12069
12070     case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
12071     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
12072     *) MSGFMT_015=$MSGFMT ;;
12073   esac
12074
12075   case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
12076     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
12077     *) GMSGFMT_015=$GMSGFMT ;;
12078   esac
12079
12080
12081
12082 # Prepare PATH_SEPARATOR.
12083 # The user is always right.
12084 if test "${PATH_SEPARATOR+set}" != set; then
12085   echo "#! /bin/sh" >conf$$.sh
12086   echo  "exit 0"   >>conf$$.sh
12087   chmod +x conf$$.sh
12088   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12089     PATH_SEPARATOR=';'
12090   else
12091     PATH_SEPARATOR=:
12092   fi
12093   rm -f conf$$.sh
12094 fi
12095
12096 # Find out how to test for executable files. Don't use a zero-byte file,
12097 # as systems may use methods other than mode bits to determine executability.
12098 cat >conf$$.file <<_ASEOF
12099 #! /bin/sh
12100 exit 0
12101 _ASEOF
12102 chmod +x conf$$.file
12103 if test -x conf$$.file >/dev/null 2>&1; then
12104   ac_executable_p="test -x"
12105 else
12106   ac_executable_p="test -f"
12107 fi
12108 rm -f conf$$.file
12109
12110 # Extract the first word of "xgettext", so it can be a program name with args.
12111 set dummy xgettext; ac_word=$2
12112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12113 $as_echo_n "checking for $ac_word... " >&6; }
12114 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
12115   $as_echo_n "(cached) " >&6
12116 else
12117   case "$XGETTEXT" in
12118   [\\/]* | ?:[\\/]*)
12119     ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
12120     ;;
12121   *)
12122     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
12123     for ac_dir in $PATH; do
12124       IFS="$ac_save_IFS"
12125       test -z "$ac_dir" && ac_dir=.
12126       for ac_exec_ext in '' $ac_executable_extensions; do
12127         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12128           echo "$as_me: trying $ac_dir/$ac_word..." >&5
12129           if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
12130      (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
12131             ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
12132             break 2
12133           fi
12134         fi
12135       done
12136     done
12137     IFS="$ac_save_IFS"
12138   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
12139     ;;
12140 esac
12141 fi
12142 XGETTEXT="$ac_cv_path_XGETTEXT"
12143 if test "$XGETTEXT" != ":"; then
12144   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
12145 $as_echo "$XGETTEXT" >&6; }
12146 else
12147   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12148 $as_echo "no" >&6; }
12149 fi
12150
12151     rm -f messages.po
12152
12153     case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
12154     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
12155     *) XGETTEXT_015=$XGETTEXT ;;
12156   esac
12157
12158
12159
12160 # Prepare PATH_SEPARATOR.
12161 # The user is always right.
12162 if test "${PATH_SEPARATOR+set}" != set; then
12163   echo "#! /bin/sh" >conf$$.sh
12164   echo  "exit 0"   >>conf$$.sh
12165   chmod +x conf$$.sh
12166   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12167     PATH_SEPARATOR=';'
12168   else
12169     PATH_SEPARATOR=:
12170   fi
12171   rm -f conf$$.sh
12172 fi
12173
12174 # Find out how to test for executable files. Don't use a zero-byte file,
12175 # as systems may use methods other than mode bits to determine executability.
12176 cat >conf$$.file <<_ASEOF
12177 #! /bin/sh
12178 exit 0
12179 _ASEOF
12180 chmod +x conf$$.file
12181 if test -x conf$$.file >/dev/null 2>&1; then
12182   ac_executable_p="test -x"
12183 else
12184   ac_executable_p="test -f"
12185 fi
12186 rm -f conf$$.file
12187
12188 # Extract the first word of "msgmerge", so it can be a program name with args.
12189 set dummy msgmerge; ac_word=$2
12190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12191 $as_echo_n "checking for $ac_word... " >&6; }
12192 if test "${ac_cv_path_MSGMERGE+set}" = set; then :
12193   $as_echo_n "(cached) " >&6
12194 else
12195   case "$MSGMERGE" in
12196   [\\/]* | ?:[\\/]*)
12197     ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
12198     ;;
12199   *)
12200     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
12201     for ac_dir in $PATH; do
12202       IFS="$ac_save_IFS"
12203       test -z "$ac_dir" && ac_dir=.
12204       for ac_exec_ext in '' $ac_executable_extensions; do
12205         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12206           echo "$as_me: trying $ac_dir/$ac_word..." >&5
12207           if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
12208             ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
12209             break 2
12210           fi
12211         fi
12212       done
12213     done
12214     IFS="$ac_save_IFS"
12215   test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
12216     ;;
12217 esac
12218 fi
12219 MSGMERGE="$ac_cv_path_MSGMERGE"
12220 if test "$MSGMERGE" != ":"; then
12221   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
12222 $as_echo "$MSGMERGE" >&6; }
12223 else
12224   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12225 $as_echo "no" >&6; }
12226 fi
12227
12228
12229         test -n "$localedir" || localedir='${datadir}/locale'
12230
12231
12232     test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
12233
12234
12235   ac_config_commands="$ac_config_commands po-directories"
12236
12237
12238
12239       if test "X$prefix" = "XNONE"; then
12240     acl_final_prefix="$ac_default_prefix"
12241   else
12242     acl_final_prefix="$prefix"
12243   fi
12244   if test "X$exec_prefix" = "XNONE"; then
12245     acl_final_exec_prefix='${prefix}'
12246   else
12247     acl_final_exec_prefix="$exec_prefix"
12248   fi
12249   acl_save_prefix="$prefix"
12250   prefix="$acl_final_prefix"
12251   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
12252   prefix="$acl_save_prefix"
12253
12254
12255 # Check whether --with-gnu-ld was given.
12256 if test "${with_gnu_ld+set}" = set; then :
12257   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12258 else
12259   with_gnu_ld=no
12260 fi
12261
12262 # Prepare PATH_SEPARATOR.
12263 # The user is always right.
12264 if test "${PATH_SEPARATOR+set}" != set; then
12265   echo "#! /bin/sh" >conf$$.sh
12266   echo  "exit 0"   >>conf$$.sh
12267   chmod +x conf$$.sh
12268   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12269     PATH_SEPARATOR=';'
12270   else
12271     PATH_SEPARATOR=:
12272   fi
12273   rm -f conf$$.sh
12274 fi
12275 ac_prog=ld
12276 if test "$GCC" = yes; then
12277   # Check if gcc -print-prog-name=ld gives a path.
12278   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
12279 $as_echo_n "checking for ld used by GCC... " >&6; }
12280   case $host in
12281   *-*-mingw*)
12282     # gcc leaves a trailing carriage return which upsets mingw
12283     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12284   *)
12285     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12286   esac
12287   case $ac_prog in
12288     # Accept absolute paths.
12289     [\\/]* | [A-Za-z]:[\\/]*)
12290       re_direlt='/[^/][^/]*/\.\./'
12291       # Canonicalize the path of ld
12292       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
12293       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
12294         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
12295       done
12296       test -z "$LD" && LD="$ac_prog"
12297       ;;
12298   "")
12299     # If it fails, then pretend we aren't using GCC.
12300     ac_prog=ld
12301     ;;
12302   *)
12303     # If it is relative, then search for the first ld in PATH.
12304     with_gnu_ld=unknown
12305     ;;
12306   esac
12307 elif test "$with_gnu_ld" = yes; then
12308   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12309 $as_echo_n "checking for GNU ld... " >&6; }
12310 else
12311   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12312 $as_echo_n "checking for non-GNU ld... " >&6; }
12313 fi
12314 if test "${acl_cv_path_LD+set}" = set; then :
12315   $as_echo_n "(cached) " >&6
12316 else
12317   if test -z "$LD"; then
12318   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
12319   for ac_dir in $PATH; do
12320     test -z "$ac_dir" && ac_dir=.
12321     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12322       acl_cv_path_LD="$ac_dir/$ac_prog"
12323       # Check to see if the program is GNU ld.  I'd rather use --version,
12324       # but apparently some GNU ld's only accept -v.
12325       # Break only if it was the GNU/non-GNU ld that we prefer.
12326       case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
12327       *GNU* | *'with BFD'*)
12328         test "$with_gnu_ld" != no && break ;;
12329       *)
12330         test "$with_gnu_ld" != yes && break ;;
12331       esac
12332     fi
12333   done
12334   IFS="$ac_save_ifs"
12335 else
12336   acl_cv_path_LD="$LD" # Let the user override the test with a path.
12337 fi
12338 fi
12339
12340 LD="$acl_cv_path_LD"
12341 if test -n "$LD"; then
12342   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12343 $as_echo "$LD" >&6; }
12344 else
12345   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12346 $as_echo "no" >&6; }
12347 fi
12348 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12350 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12351 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
12352   $as_echo_n "(cached) " >&6
12353 else
12354   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
12355 case `$LD -v 2>&1 </dev/null` in
12356 *GNU* | *'with BFD'*)
12357   acl_cv_prog_gnu_ld=yes ;;
12358 *)
12359   acl_cv_prog_gnu_ld=no ;;
12360 esac
12361 fi
12362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
12363 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
12364 with_gnu_ld=$acl_cv_prog_gnu_ld
12365
12366
12367
12368
12369                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
12370 $as_echo_n "checking for shared library run path origin... " >&6; }
12371 if test "${acl_cv_rpath+set}" = set; then :
12372   $as_echo_n "(cached) " >&6
12373 else
12374
12375     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
12376     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
12377     . ./conftest.sh
12378     rm -f ./conftest.sh
12379     acl_cv_rpath=done
12380
12381 fi
12382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
12383 $as_echo "$acl_cv_rpath" >&6; }
12384   wl="$acl_cv_wl"
12385   acl_libext="$acl_cv_libext"
12386   acl_shlibext="$acl_cv_shlibext"
12387   acl_libname_spec="$acl_cv_libname_spec"
12388   acl_library_names_spec="$acl_cv_library_names_spec"
12389   acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
12390   acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
12391   acl_hardcode_direct="$acl_cv_hardcode_direct"
12392   acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
12393     # Check whether --enable-rpath was given.
12394 if test "${enable_rpath+set}" = set; then :
12395   enableval=$enable_rpath; :
12396 else
12397   enable_rpath=yes
12398 fi
12399
12400
12401
12402                   acl_libdirstem=lib
12403   searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
12404   if test -n "$searchpath"; then
12405     acl_save_IFS="${IFS=        }"; IFS=":"
12406     for searchdir in $searchpath; do
12407       if test -d "$searchdir"; then
12408         case "$searchdir" in
12409           */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
12410           *) searchdir=`cd "$searchdir" && pwd`
12411              case "$searchdir" in
12412                */lib64 ) acl_libdirstem=lib64 ;;
12413              esac ;;
12414         esac
12415       fi
12416     done
12417     IFS="$acl_save_IFS"
12418   fi
12419
12420
12421
12422
12423
12424
12425
12426
12427
12428     use_additional=yes
12429
12430   acl_save_prefix="$prefix"
12431   prefix="$acl_final_prefix"
12432   acl_save_exec_prefix="$exec_prefix"
12433   exec_prefix="$acl_final_exec_prefix"
12434
12435     eval additional_includedir=\"$includedir\"
12436     eval additional_libdir=\"$libdir\"
12437
12438   exec_prefix="$acl_save_exec_prefix"
12439   prefix="$acl_save_prefix"
12440
12441
12442 # Check whether --with-libiconv-prefix was given.
12443 if test "${with_libiconv_prefix+set}" = set; then :
12444   withval=$with_libiconv_prefix;
12445     if test "X$withval" = "Xno"; then
12446       use_additional=no
12447     else
12448       if test "X$withval" = "X"; then
12449
12450   acl_save_prefix="$prefix"
12451   prefix="$acl_final_prefix"
12452   acl_save_exec_prefix="$exec_prefix"
12453   exec_prefix="$acl_final_exec_prefix"
12454
12455           eval additional_includedir=\"$includedir\"
12456           eval additional_libdir=\"$libdir\"
12457
12458   exec_prefix="$acl_save_exec_prefix"
12459   prefix="$acl_save_prefix"
12460
12461       else
12462         additional_includedir="$withval/include"
12463         additional_libdir="$withval/$acl_libdirstem"
12464       fi
12465     fi
12466
12467 fi
12468
12469       LIBICONV=
12470   LTLIBICONV=
12471   INCICONV=
12472   LIBICONV_PREFIX=
12473   rpathdirs=
12474   ltrpathdirs=
12475   names_already_handled=
12476   names_next_round='iconv '
12477   while test -n "$names_next_round"; do
12478     names_this_round="$names_next_round"
12479     names_next_round=
12480     for name in $names_this_round; do
12481       already_handled=
12482       for n in $names_already_handled; do
12483         if test "$n" = "$name"; then
12484           already_handled=yes
12485           break
12486         fi
12487       done
12488       if test -z "$already_handled"; then
12489         names_already_handled="$names_already_handled $name"
12490                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
12491         eval value=\"\$HAVE_LIB$uppername\"
12492         if test -n "$value"; then
12493           if test "$value" = yes; then
12494             eval value=\"\$LIB$uppername\"
12495             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
12496             eval value=\"\$LTLIB$uppername\"
12497             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
12498           else
12499                                     :
12500           fi
12501         else
12502                               found_dir=
12503           found_la=
12504           found_so=
12505           found_a=
12506           eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
12507           if test -n "$acl_shlibext"; then
12508             shrext=".$acl_shlibext"             # typically: shrext=.so
12509           else
12510             shrext=
12511           fi
12512           if test $use_additional = yes; then
12513             dir="$additional_libdir"
12514                                     if test -n "$acl_shlibext"; then
12515               if test -f "$dir/$libname$shrext"; then
12516                 found_dir="$dir"
12517                 found_so="$dir/$libname$shrext"
12518               else
12519                 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
12520                   ver=`(cd "$dir" && \
12521                         for f in "$libname$shrext".*; do echo "$f"; done \
12522                         | sed -e "s,^$libname$shrext\\\\.,," \
12523                         | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
12524                         | sed 1q ) 2>/dev/null`
12525                   if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
12526                     found_dir="$dir"
12527                     found_so="$dir/$libname$shrext.$ver"
12528                   fi
12529                 else
12530                   eval library_names=\"$acl_library_names_spec\"
12531                   for f in $library_names; do
12532                     if test -f "$dir/$f"; then
12533                       found_dir="$dir"
12534                       found_so="$dir/$f"
12535                       break
12536                     fi
12537                   done
12538                 fi
12539               fi
12540             fi
12541                         if test "X$found_dir" = "X"; then
12542               if test -f "$dir/$libname.$acl_libext"; then
12543                 found_dir="$dir"
12544                 found_a="$dir/$libname.$acl_libext"
12545               fi
12546             fi
12547             if test "X$found_dir" != "X"; then
12548               if test -f "$dir/$libname.la"; then
12549                 found_la="$dir/$libname.la"
12550               fi
12551             fi
12552           fi
12553           if test "X$found_dir" = "X"; then
12554             for x in $LDFLAGS $LTLIBICONV; do
12555
12556   acl_save_prefix="$prefix"
12557   prefix="$acl_final_prefix"
12558   acl_save_exec_prefix="$exec_prefix"
12559   exec_prefix="$acl_final_exec_prefix"
12560   eval x=\"$x\"
12561   exec_prefix="$acl_save_exec_prefix"
12562   prefix="$acl_save_prefix"
12563
12564               case "$x" in
12565                 -L*)
12566                   dir=`echo "X$x" | sed -e 's/^X-L//'`
12567                                     if test -n "$acl_shlibext"; then
12568                     if test -f "$dir/$libname$shrext"; then
12569                       found_dir="$dir"
12570                       found_so="$dir/$libname$shrext"
12571                     else
12572                       if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
12573                         ver=`(cd "$dir" && \
12574                               for f in "$libname$shrext".*; do echo "$f"; done \
12575                               | sed -e "s,^$libname$shrext\\\\.,," \
12576                               | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
12577                               | sed 1q ) 2>/dev/null`
12578                         if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
12579                           found_dir="$dir"
12580                           found_so="$dir/$libname$shrext.$ver"
12581                         fi
12582                       else
12583                         eval library_names=\"$acl_library_names_spec\"
12584                         for f in $library_names; do
12585                           if test -f "$dir/$f"; then
12586                             found_dir="$dir"
12587                             found_so="$dir/$f"
12588                             break
12589                           fi
12590                         done
12591                       fi
12592                     fi
12593                   fi
12594                                     if test "X$found_dir" = "X"; then
12595                     if test -f "$dir/$libname.$acl_libext"; then
12596                       found_dir="$dir"
12597                       found_a="$dir/$libname.$acl_libext"
12598                     fi
12599                   fi
12600                   if test "X$found_dir" != "X"; then
12601                     if test -f "$dir/$libname.la"; then
12602                       found_la="$dir/$libname.la"
12603                     fi
12604                   fi
12605                   ;;
12606               esac
12607               if test "X$found_dir" != "X"; then
12608                 break
12609               fi
12610             done
12611           fi
12612           if test "X$found_dir" != "X"; then
12613                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
12614             if test "X$found_so" != "X"; then
12615                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
12616                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
12617               else
12618                                                                                 haveit=
12619                 for x in $ltrpathdirs; do
12620                   if test "X$x" = "X$found_dir"; then
12621                     haveit=yes
12622                     break
12623                   fi
12624                 done
12625                 if test -z "$haveit"; then
12626                   ltrpathdirs="$ltrpathdirs $found_dir"
12627                 fi
12628                                 if test "$acl_hardcode_direct" = yes; then
12629                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
12630                 else
12631                   if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
12632                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
12633                                                             haveit=
12634                     for x in $rpathdirs; do
12635                       if test "X$x" = "X$found_dir"; then
12636                         haveit=yes
12637                         break
12638                       fi
12639                     done
12640                     if test -z "$haveit"; then
12641                       rpathdirs="$rpathdirs $found_dir"
12642                     fi
12643                   else
12644                                                                                 haveit=
12645                     for x in $LDFLAGS $LIBICONV; do
12646
12647   acl_save_prefix="$prefix"
12648   prefix="$acl_final_prefix"
12649   acl_save_exec_prefix="$exec_prefix"
12650   exec_prefix="$acl_final_exec_prefix"
12651   eval x=\"$x\"
12652   exec_prefix="$acl_save_exec_prefix"
12653   prefix="$acl_save_prefix"
12654
12655                       if test "X$x" = "X-L$found_dir"; then
12656                         haveit=yes
12657                         break
12658                       fi
12659                     done
12660                     if test -z "$haveit"; then
12661                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
12662                     fi
12663                     if test "$acl_hardcode_minus_L" != no; then
12664                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
12665                     else
12666                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
12667                     fi
12668                   fi
12669                 fi
12670               fi
12671             else
12672               if test "X$found_a" != "X"; then
12673                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
12674               else
12675                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
12676               fi
12677             fi
12678                         additional_includedir=
12679             case "$found_dir" in
12680               */$acl_libdirstem | */$acl_libdirstem/)
12681                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
12682                 LIBICONV_PREFIX="$basedir"
12683                 additional_includedir="$basedir/include"
12684                 ;;
12685             esac
12686             if test "X$additional_includedir" != "X"; then
12687                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
12688                 haveit=
12689                 if test "X$additional_includedir" = "X/usr/local/include"; then
12690                   if test -n "$GCC"; then
12691                     case $host_os in
12692                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
12693                     esac
12694                   fi
12695                 fi
12696                 if test -z "$haveit"; then
12697                   for x in $CPPFLAGS $INCICONV; do
12698
12699   acl_save_prefix="$prefix"
12700   prefix="$acl_final_prefix"
12701   acl_save_exec_prefix="$exec_prefix"
12702   exec_prefix="$acl_final_exec_prefix"
12703   eval x=\"$x\"
12704   exec_prefix="$acl_save_exec_prefix"
12705   prefix="$acl_save_prefix"
12706
12707                     if test "X$x" = "X-I$additional_includedir"; then
12708                       haveit=yes
12709                       break
12710                     fi
12711                   done
12712                   if test -z "$haveit"; then
12713                     if test -d "$additional_includedir"; then
12714                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
12715                     fi
12716                   fi
12717                 fi
12718               fi
12719             fi
12720                         if test -n "$found_la"; then
12721                                                         save_libdir="$libdir"
12722               case "$found_la" in
12723                 */* | *\\*) . "$found_la" ;;
12724                 *) . "./$found_la" ;;
12725               esac
12726               libdir="$save_libdir"
12727                             for dep in $dependency_libs; do
12728                 case "$dep" in
12729                   -L*)
12730                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
12731                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
12732                       haveit=
12733                       if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
12734                         if test -n "$GCC"; then
12735                           case $host_os in
12736                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
12737                           esac
12738                         fi
12739                       fi
12740                       if test -z "$haveit"; then
12741                         haveit=
12742                         for x in $LDFLAGS $LIBICONV; do
12743
12744   acl_save_prefix="$prefix"
12745   prefix="$acl_final_prefix"
12746   acl_save_exec_prefix="$exec_prefix"
12747   exec_prefix="$acl_final_exec_prefix"
12748   eval x=\"$x\"
12749   exec_prefix="$acl_save_exec_prefix"
12750   prefix="$acl_save_prefix"
12751
12752                           if test "X$x" = "X-L$additional_libdir"; then
12753                             haveit=yes
12754                             break
12755                           fi
12756                         done
12757                         if test -z "$haveit"; then
12758                           if test -d "$additional_libdir"; then
12759                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
12760                           fi
12761                         fi
12762                         haveit=
12763                         for x in $LDFLAGS $LTLIBICONV; do
12764
12765   acl_save_prefix="$prefix"
12766   prefix="$acl_final_prefix"
12767   acl_save_exec_prefix="$exec_prefix"
12768   exec_prefix="$acl_final_exec_prefix"
12769   eval x=\"$x\"
12770   exec_prefix="$acl_save_exec_prefix"
12771   prefix="$acl_save_prefix"
12772
12773                           if test "X$x" = "X-L$additional_libdir"; then
12774                             haveit=yes
12775                             break
12776                           fi
12777                         done
12778                         if test -z "$haveit"; then
12779                           if test -d "$additional_libdir"; then
12780                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
12781                           fi
12782                         fi
12783                       fi
12784                     fi
12785                     ;;
12786                   -R*)
12787                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
12788                     if test "$enable_rpath" != no; then
12789                                                                   haveit=
12790                       for x in $rpathdirs; do
12791                         if test "X$x" = "X$dir"; then
12792                           haveit=yes
12793                           break
12794                         fi
12795                       done
12796                       if test -z "$haveit"; then
12797                         rpathdirs="$rpathdirs $dir"
12798                       fi
12799                                                                   haveit=
12800                       for x in $ltrpathdirs; do
12801                         if test "X$x" = "X$dir"; then
12802                           haveit=yes
12803                           break
12804                         fi
12805                       done
12806                       if test -z "$haveit"; then
12807                         ltrpathdirs="$ltrpathdirs $dir"
12808                       fi
12809                     fi
12810                     ;;
12811                   -l*)
12812                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
12813                     ;;
12814                   *.la)
12815                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
12816                     ;;
12817                   *)
12818                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
12819                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
12820                     ;;
12821                 esac
12822               done
12823             fi
12824           else
12825                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
12826             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
12827           fi
12828         fi
12829       fi
12830     done
12831   done
12832   if test "X$rpathdirs" != "X"; then
12833     if test -n "$acl_hardcode_libdir_separator"; then
12834                         alldirs=
12835       for found_dir in $rpathdirs; do
12836         alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
12837       done
12838             acl_save_libdir="$libdir"
12839       libdir="$alldirs"
12840       eval flag=\"$acl_hardcode_libdir_flag_spec\"
12841       libdir="$acl_save_libdir"
12842       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
12843     else
12844             for found_dir in $rpathdirs; do
12845         acl_save_libdir="$libdir"
12846         libdir="$found_dir"
12847         eval flag=\"$acl_hardcode_libdir_flag_spec\"
12848         libdir="$acl_save_libdir"
12849         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
12850       done
12851     fi
12852   fi
12853   if test "X$ltrpathdirs" != "X"; then
12854             for found_dir in $ltrpathdirs; do
12855       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
12856     done
12857   fi
12858
12859
12860
12861
12862
12863
12864
12865
12866
12867
12868
12869
12870
12871
12872
12873
12874
12875
12876
12877
12878
12879
12880
12881
12882
12883     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
12884 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
12885 if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then :
12886   $as_echo_n "(cached) " >&6
12887 else
12888   gt_save_LIBS="$LIBS"
12889      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
12890      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12891 /* end confdefs.h.  */
12892 #include <CoreFoundation/CFPreferences.h>
12893 int
12894 main ()
12895 {
12896 CFPreferencesCopyAppValue(NULL, NULL)
12897   ;
12898   return 0;
12899 }
12900 _ACEOF
12901 if ac_fn_c_try_link "$LINENO"; then :
12902   gt_cv_func_CFPreferencesCopyAppValue=yes
12903 else
12904   gt_cv_func_CFPreferencesCopyAppValue=no
12905 fi
12906 rm -f core conftest.err conftest.$ac_objext \
12907     conftest$ac_exeext conftest.$ac_ext
12908      LIBS="$gt_save_LIBS"
12909 fi
12910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
12911 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
12912   if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
12913
12914 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
12915
12916   fi
12917     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
12918 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
12919 if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then :
12920   $as_echo_n "(cached) " >&6
12921 else
12922   gt_save_LIBS="$LIBS"
12923      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
12924      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12925 /* end confdefs.h.  */
12926 #include <CoreFoundation/CFLocale.h>
12927 int
12928 main ()
12929 {
12930 CFLocaleCopyCurrent();
12931   ;
12932   return 0;
12933 }
12934 _ACEOF
12935 if ac_fn_c_try_link "$LINENO"; then :
12936   gt_cv_func_CFLocaleCopyCurrent=yes
12937 else
12938   gt_cv_func_CFLocaleCopyCurrent=no
12939 fi
12940 rm -f core conftest.err conftest.$ac_objext \
12941     conftest$ac_exeext conftest.$ac_ext
12942      LIBS="$gt_save_LIBS"
12943 fi
12944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
12945 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
12946   if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
12947
12948 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
12949
12950   fi
12951   INTL_MACOSX_LIBS=
12952   if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
12953     INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
12954   fi
12955
12956
12957
12958
12959
12960
12961   LIBINTL=
12962   LTLIBINTL=
12963   POSUB=
12964
12965     case " $gt_needs " in
12966     *" need-formatstring-macros "*) gt_api_version=3 ;;
12967     *" need-ngettext "*) gt_api_version=2 ;;
12968     *) gt_api_version=1 ;;
12969   esac
12970   gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
12971   gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
12972
12973     if test "$USE_NLS" = "yes"; then
12974     gt_use_preinstalled_gnugettext=no
12975
12976
12977         if test $gt_api_version -ge 3; then
12978           gt_revision_test_code='
12979 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
12980 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
12981 #endif
12982 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
12983 '
12984         else
12985           gt_revision_test_code=
12986         fi
12987         if test $gt_api_version -ge 2; then
12988           gt_expression_test_code=' + * ngettext ("", "", 0)'
12989         else
12990           gt_expression_test_code=
12991         fi
12992
12993         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
12994 $as_echo_n "checking for GNU gettext in libc... " >&6; }
12995 if eval "test \"\${$gt_func_gnugettext_libc+set}\"" = set; then :
12996   $as_echo_n "(cached) " >&6
12997 else
12998   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12999 /* end confdefs.h.  */
13000 #include <libintl.h>
13001 $gt_revision_test_code
13002 extern int _nl_msg_cat_cntr;
13003 extern int *_nl_domain_bindings;
13004 int
13005 main ()
13006 {
13007 bindtextdomain ("", "");
13008 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
13009   ;
13010   return 0;
13011 }
13012 _ACEOF
13013 if ac_fn_c_try_link "$LINENO"; then :
13014   eval "$gt_func_gnugettext_libc=yes"
13015 else
13016   eval "$gt_func_gnugettext_libc=no"
13017 fi
13018 rm -f core conftest.err conftest.$ac_objext \
13019     conftest$ac_exeext conftest.$ac_ext
13020 fi
13021 eval ac_res=\$$gt_func_gnugettext_libc
13022                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13023 $as_echo "$ac_res" >&6; }
13024
13025         if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
13026
13027
13028
13029
13030
13031           am_save_CPPFLAGS="$CPPFLAGS"
13032
13033   for element in $INCICONV; do
13034     haveit=
13035     for x in $CPPFLAGS; do
13036
13037   acl_save_prefix="$prefix"
13038   prefix="$acl_final_prefix"
13039   acl_save_exec_prefix="$exec_prefix"
13040   exec_prefix="$acl_final_exec_prefix"
13041   eval x=\"$x\"
13042   exec_prefix="$acl_save_exec_prefix"
13043   prefix="$acl_save_prefix"
13044
13045       if test "X$x" = "X$element"; then
13046         haveit=yes
13047         break
13048       fi
13049     done
13050     if test -z "$haveit"; then
13051       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
13052     fi
13053   done
13054
13055
13056   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
13057 $as_echo_n "checking for iconv... " >&6; }
13058 if test "${am_cv_func_iconv+set}" = set; then :
13059   $as_echo_n "(cached) " >&6
13060 else
13061
13062     am_cv_func_iconv="no, consider installing GNU libiconv"
13063     am_cv_lib_iconv=no
13064     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13065 /* end confdefs.h.  */
13066 #include <stdlib.h>
13067 #include <iconv.h>
13068 int
13069 main ()
13070 {
13071 iconv_t cd = iconv_open("","");
13072        iconv(cd,NULL,NULL,NULL,NULL);
13073        iconv_close(cd);
13074   ;
13075   return 0;
13076 }
13077 _ACEOF
13078 if ac_fn_c_try_link "$LINENO"; then :
13079   am_cv_func_iconv=yes
13080 fi
13081 rm -f core conftest.err conftest.$ac_objext \
13082     conftest$ac_exeext conftest.$ac_ext
13083     if test "$am_cv_func_iconv" != yes; then
13084       am_save_LIBS="$LIBS"
13085       LIBS="$LIBS $LIBICONV"
13086       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13087 /* end confdefs.h.  */
13088 #include <stdlib.h>
13089 #include <iconv.h>
13090 int
13091 main ()
13092 {
13093 iconv_t cd = iconv_open("","");
13094          iconv(cd,NULL,NULL,NULL,NULL);
13095          iconv_close(cd);
13096   ;
13097   return 0;
13098 }
13099 _ACEOF
13100 if ac_fn_c_try_link "$LINENO"; then :
13101   am_cv_lib_iconv=yes
13102         am_cv_func_iconv=yes
13103 fi
13104 rm -f core conftest.err conftest.$ac_objext \
13105     conftest$ac_exeext conftest.$ac_ext
13106       LIBS="$am_save_LIBS"
13107     fi
13108
13109 fi
13110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
13111 $as_echo "$am_cv_func_iconv" >&6; }
13112   if test "$am_cv_func_iconv" = yes; then
13113     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
13114 $as_echo_n "checking for working iconv... " >&6; }
13115 if test "${am_cv_func_iconv_works+set}" = set; then :
13116   $as_echo_n "(cached) " >&6
13117 else
13118
13119             am_save_LIBS="$LIBS"
13120       if test $am_cv_lib_iconv = yes; then
13121         LIBS="$LIBS $LIBICONV"
13122       fi
13123       if test "$cross_compiling" = yes; then :
13124   case "$host_os" in
13125            aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
13126            *)            am_cv_func_iconv_works="guessing yes" ;;
13127          esac
13128 else
13129   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13130 /* end confdefs.h.  */
13131
13132 #include <iconv.h>
13133 #include <string.h>
13134 int main ()
13135 {
13136   /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
13137      returns.  */
13138   {
13139     iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
13140     if (cd_utf8_to_88591 != (iconv_t)(-1))
13141       {
13142         static const char input[] = "\342\202\254"; /* EURO SIGN */
13143         char buf[10];
13144         const char *inptr = input;
13145         size_t inbytesleft = strlen (input);
13146         char *outptr = buf;
13147         size_t outbytesleft = sizeof (buf);
13148         size_t res = iconv (cd_utf8_to_88591,
13149                             (char **) &inptr, &inbytesleft,
13150                             &outptr, &outbytesleft);
13151         if (res == 0)
13152           return 1;
13153       }
13154   }
13155 #if 0 /* This bug could be worked around by the caller.  */
13156   /* Test against HP-UX 11.11 bug: Positive return value instead of 0.  */
13157   {
13158     iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
13159     if (cd_88591_to_utf8 != (iconv_t)(-1))
13160       {
13161         static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
13162         char buf[50];
13163         const char *inptr = input;
13164         size_t inbytesleft = strlen (input);
13165         char *outptr = buf;
13166         size_t outbytesleft = sizeof (buf);
13167         size_t res = iconv (cd_88591_to_utf8,
13168                             (char **) &inptr, &inbytesleft,
13169                             &outptr, &outbytesleft);
13170         if ((int)res > 0)
13171           return 1;
13172       }
13173   }
13174 #endif
13175   /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
13176      provided.  */
13177   if (/* Try standardized names.  */
13178       iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
13179       /* Try IRIX, OSF/1 names.  */
13180       && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
13181       /* Try AIX names.  */
13182       && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
13183       /* Try HP-UX names.  */
13184       && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
13185     return 1;
13186   return 0;
13187 }
13188 _ACEOF
13189 if ac_fn_c_try_run "$LINENO"; then :
13190   am_cv_func_iconv_works=yes
13191 else
13192   am_cv_func_iconv_works=no
13193 fi
13194 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13195   conftest.$ac_objext conftest.beam conftest.$ac_ext
13196 fi
13197
13198       LIBS="$am_save_LIBS"
13199
13200 fi
13201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
13202 $as_echo "$am_cv_func_iconv_works" >&6; }
13203     case "$am_cv_func_iconv_works" in
13204       *no) am_func_iconv=no am_cv_lib_iconv=no ;;
13205       *)   am_func_iconv=yes ;;
13206     esac
13207   else
13208     am_func_iconv=no am_cv_lib_iconv=no
13209   fi
13210   if test "$am_func_iconv" = yes; then
13211
13212 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
13213
13214   fi
13215   if test "$am_cv_lib_iconv" = yes; then
13216     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
13217 $as_echo_n "checking how to link with libiconv... " >&6; }
13218     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
13219 $as_echo "$LIBICONV" >&6; }
13220   else
13221             CPPFLAGS="$am_save_CPPFLAGS"
13222     LIBICONV=
13223     LTLIBICONV=
13224   fi
13225
13226
13227
13228
13229
13230
13231
13232
13233     use_additional=yes
13234
13235   acl_save_prefix="$prefix"
13236   prefix="$acl_final_prefix"
13237   acl_save_exec_prefix="$exec_prefix"
13238   exec_prefix="$acl_final_exec_prefix"
13239
13240     eval additional_includedir=\"$includedir\"
13241     eval additional_libdir=\"$libdir\"
13242
13243   exec_prefix="$acl_save_exec_prefix"
13244   prefix="$acl_save_prefix"
13245
13246
13247 # Check whether --with-libintl-prefix was given.
13248 if test "${with_libintl_prefix+set}" = set; then :
13249   withval=$with_libintl_prefix;
13250     if test "X$withval" = "Xno"; then
13251       use_additional=no
13252     else
13253       if test "X$withval" = "X"; then
13254
13255   acl_save_prefix="$prefix"
13256   prefix="$acl_final_prefix"
13257   acl_save_exec_prefix="$exec_prefix"
13258   exec_prefix="$acl_final_exec_prefix"
13259
13260           eval additional_includedir=\"$includedir\"
13261           eval additional_libdir=\"$libdir\"
13262
13263   exec_prefix="$acl_save_exec_prefix"
13264   prefix="$acl_save_prefix"
13265
13266       else
13267         additional_includedir="$withval/include"
13268         additional_libdir="$withval/$acl_libdirstem"
13269       fi
13270     fi
13271
13272 fi
13273
13274       LIBINTL=
13275   LTLIBINTL=
13276   INCINTL=
13277   LIBINTL_PREFIX=
13278   rpathdirs=
13279   ltrpathdirs=
13280   names_already_handled=
13281   names_next_round='intl '
13282   while test -n "$names_next_round"; do
13283     names_this_round="$names_next_round"
13284     names_next_round=
13285     for name in $names_this_round; do
13286       already_handled=
13287       for n in $names_already_handled; do
13288         if test "$n" = "$name"; then
13289           already_handled=yes
13290           break
13291         fi
13292       done
13293       if test -z "$already_handled"; then
13294         names_already_handled="$names_already_handled $name"
13295                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
13296         eval value=\"\$HAVE_LIB$uppername\"
13297         if test -n "$value"; then
13298           if test "$value" = yes; then
13299             eval value=\"\$LIB$uppername\"
13300             test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
13301             eval value=\"\$LTLIB$uppername\"
13302             test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
13303           else
13304                                     :
13305           fi
13306         else
13307                               found_dir=
13308           found_la=
13309           found_so=
13310           found_a=
13311           eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
13312           if test -n "$acl_shlibext"; then
13313             shrext=".$acl_shlibext"             # typically: shrext=.so
13314           else
13315             shrext=
13316           fi
13317           if test $use_additional = yes; then
13318             dir="$additional_libdir"
13319                                     if test -n "$acl_shlibext"; then
13320               if test -f "$dir/$libname$shrext"; then
13321                 found_dir="$dir"
13322                 found_so="$dir/$libname$shrext"
13323               else
13324                 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
13325                   ver=`(cd "$dir" && \
13326                         for f in "$libname$shrext".*; do echo "$f"; done \
13327                         | sed -e "s,^$libname$shrext\\\\.,," \
13328                         | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
13329                         | sed 1q ) 2>/dev/null`
13330                   if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
13331                     found_dir="$dir"
13332                     found_so="$dir/$libname$shrext.$ver"
13333                   fi
13334                 else
13335                   eval library_names=\"$acl_library_names_spec\"
13336                   for f in $library_names; do
13337                     if test -f "$dir/$f"; then
13338                       found_dir="$dir"
13339                       found_so="$dir/$f"
13340                       break
13341                     fi
13342                   done
13343                 fi
13344               fi
13345             fi
13346                         if test "X$found_dir" = "X"; then
13347               if test -f "$dir/$libname.$acl_libext"; then
13348                 found_dir="$dir"
13349                 found_a="$dir/$libname.$acl_libext"
13350               fi
13351             fi
13352             if test "X$found_dir" != "X"; then
13353               if test -f "$dir/$libname.la"; then
13354                 found_la="$dir/$libname.la"
13355               fi
13356             fi
13357           fi
13358           if test "X$found_dir" = "X"; then
13359             for x in $LDFLAGS $LTLIBINTL; do
13360
13361   acl_save_prefix="$prefix"
13362   prefix="$acl_final_prefix"
13363   acl_save_exec_prefix="$exec_prefix"
13364   exec_prefix="$acl_final_exec_prefix"
13365   eval x=\"$x\"
13366   exec_prefix="$acl_save_exec_prefix"
13367   prefix="$acl_save_prefix"
13368
13369               case "$x" in
13370                 -L*)
13371                   dir=`echo "X$x" | sed -e 's/^X-L//'`
13372                                     if test -n "$acl_shlibext"; then
13373                     if test -f "$dir/$libname$shrext"; then
13374                       found_dir="$dir"
13375                       found_so="$dir/$libname$shrext"
13376                     else
13377                       if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
13378                         ver=`(cd "$dir" && \
13379                               for f in "$libname$shrext".*; do echo "$f"; done \
13380                               | sed -e "s,^$libname$shrext\\\\.,," \
13381                               | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
13382                               | sed 1q ) 2>/dev/null`
13383                         if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
13384                           found_dir="$dir"
13385                           found_so="$dir/$libname$shrext.$ver"
13386                         fi
13387                       else
13388                         eval library_names=\"$acl_library_names_spec\"
13389                         for f in $library_names; do
13390                           if test -f "$dir/$f"; then
13391                             found_dir="$dir"
13392                             found_so="$dir/$f"
13393                             break
13394                           fi
13395                         done
13396                       fi
13397                     fi
13398                   fi
13399                                     if test "X$found_dir" = "X"; then
13400                     if test -f "$dir/$libname.$acl_libext"; then
13401                       found_dir="$dir"
13402                       found_a="$dir/$libname.$acl_libext"
13403                     fi
13404                   fi
13405                   if test "X$found_dir" != "X"; then
13406                     if test -f "$dir/$libname.la"; then
13407                       found_la="$dir/$libname.la"
13408                     fi
13409                   fi
13410                   ;;
13411               esac
13412               if test "X$found_dir" != "X"; then
13413                 break
13414               fi
13415             done
13416           fi
13417           if test "X$found_dir" != "X"; then
13418                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
13419             if test "X$found_so" != "X"; then
13420                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
13421                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
13422               else
13423                                                                                 haveit=
13424                 for x in $ltrpathdirs; do
13425                   if test "X$x" = "X$found_dir"; then
13426                     haveit=yes
13427                     break
13428                   fi
13429                 done
13430                 if test -z "$haveit"; then
13431                   ltrpathdirs="$ltrpathdirs $found_dir"
13432                 fi
13433                                 if test "$acl_hardcode_direct" = yes; then
13434                                                       LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
13435                 else
13436                   if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
13437                                                             LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
13438                                                             haveit=
13439                     for x in $rpathdirs; do
13440                       if test "X$x" = "X$found_dir"; then
13441                         haveit=yes
13442                         break
13443                       fi
13444                     done
13445                     if test -z "$haveit"; then
13446                       rpathdirs="$rpathdirs $found_dir"
13447                     fi
13448                   else
13449                                                                                 haveit=
13450                     for x in $LDFLAGS $LIBINTL; do
13451
13452   acl_save_prefix="$prefix"
13453   prefix="$acl_final_prefix"
13454   acl_save_exec_prefix="$exec_prefix"
13455   exec_prefix="$acl_final_exec_prefix"
13456   eval x=\"$x\"
13457   exec_prefix="$acl_save_exec_prefix"
13458   prefix="$acl_save_prefix"
13459
13460                       if test "X$x" = "X-L$found_dir"; then
13461                         haveit=yes
13462                         break
13463                       fi
13464                     done
13465                     if test -z "$haveit"; then
13466                       LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
13467                     fi
13468                     if test "$acl_hardcode_minus_L" != no; then
13469                                                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
13470                     else
13471                                                                                                                                                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
13472                     fi
13473                   fi
13474                 fi
13475               fi
13476             else
13477               if test "X$found_a" != "X"; then
13478                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
13479               else
13480                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
13481               fi
13482             fi
13483                         additional_includedir=
13484             case "$found_dir" in
13485               */$acl_libdirstem | */$acl_libdirstem/)
13486                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
13487                 LIBINTL_PREFIX="$basedir"
13488                 additional_includedir="$basedir/include"
13489                 ;;
13490             esac
13491             if test "X$additional_includedir" != "X"; then
13492                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
13493                 haveit=
13494                 if test "X$additional_includedir" = "X/usr/local/include"; then
13495                   if test -n "$GCC"; then
13496                     case $host_os in
13497                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
13498                     esac
13499                   fi
13500                 fi
13501                 if test -z "$haveit"; then
13502                   for x in $CPPFLAGS $INCINTL; do
13503
13504   acl_save_prefix="$prefix"
13505   prefix="$acl_final_prefix"
13506   acl_save_exec_prefix="$exec_prefix"
13507   exec_prefix="$acl_final_exec_prefix"
13508   eval x=\"$x\"
13509   exec_prefix="$acl_save_exec_prefix"
13510   prefix="$acl_save_prefix"
13511
13512                     if test "X$x" = "X-I$additional_includedir"; then
13513                       haveit=yes
13514                       break
13515                     fi
13516                   done
13517                   if test -z "$haveit"; then
13518                     if test -d "$additional_includedir"; then
13519                                             INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
13520                     fi
13521                   fi
13522                 fi
13523               fi
13524             fi
13525                         if test -n "$found_la"; then
13526                                                         save_libdir="$libdir"
13527               case "$found_la" in
13528                 */* | *\\*) . "$found_la" ;;
13529                 *) . "./$found_la" ;;
13530               esac
13531               libdir="$save_libdir"
13532                             for dep in $dependency_libs; do
13533                 case "$dep" in
13534                   -L*)
13535                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
13536                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
13537                       haveit=
13538                       if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
13539                         if test -n "$GCC"; then
13540                           case $host_os in
13541                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
13542                           esac
13543                         fi
13544                       fi
13545                       if test -z "$haveit"; then
13546                         haveit=
13547                         for x in $LDFLAGS $LIBINTL; do
13548
13549   acl_save_prefix="$prefix"
13550   prefix="$acl_final_prefix"
13551   acl_save_exec_prefix="$exec_prefix"
13552   exec_prefix="$acl_final_exec_prefix"
13553   eval x=\"$x\"
13554   exec_prefix="$acl_save_exec_prefix"
13555   prefix="$acl_save_prefix"
13556
13557                           if test "X$x" = "X-L$additional_libdir"; then
13558                             haveit=yes
13559                             break
13560                           fi
13561                         done
13562                         if test -z "$haveit"; then
13563                           if test -d "$additional_libdir"; then
13564                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
13565                           fi
13566                         fi
13567                         haveit=
13568                         for x in $LDFLAGS $LTLIBINTL; do
13569
13570   acl_save_prefix="$prefix"
13571   prefix="$acl_final_prefix"
13572   acl_save_exec_prefix="$exec_prefix"
13573   exec_prefix="$acl_final_exec_prefix"
13574   eval x=\"$x\"
13575   exec_prefix="$acl_save_exec_prefix"
13576   prefix="$acl_save_prefix"
13577
13578                           if test "X$x" = "X-L$additional_libdir"; then
13579                             haveit=yes
13580                             break
13581                           fi
13582                         done
13583                         if test -z "$haveit"; then
13584                           if test -d "$additional_libdir"; then
13585                                                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
13586                           fi
13587                         fi
13588                       fi
13589                     fi
13590                     ;;
13591                   -R*)
13592                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
13593                     if test "$enable_rpath" != no; then
13594                                                                   haveit=
13595                       for x in $rpathdirs; do
13596                         if test "X$x" = "X$dir"; then
13597                           haveit=yes
13598                           break
13599                         fi
13600                       done
13601                       if test -z "$haveit"; then
13602                         rpathdirs="$rpathdirs $dir"
13603                       fi
13604                                                                   haveit=
13605                       for x in $ltrpathdirs; do
13606                         if test "X$x" = "X$dir"; then
13607                           haveit=yes
13608                           break
13609                         fi
13610                       done
13611                       if test -z "$haveit"; then
13612                         ltrpathdirs="$ltrpathdirs $dir"
13613                       fi
13614                     fi
13615                     ;;
13616                   -l*)
13617                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
13618                     ;;
13619                   *.la)
13620                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
13621                     ;;
13622                   *)
13623                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
13624                     LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
13625                     ;;
13626                 esac
13627               done
13628             fi
13629           else
13630                                                             LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
13631             LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
13632           fi
13633         fi
13634       fi
13635     done
13636   done
13637   if test "X$rpathdirs" != "X"; then
13638     if test -n "$acl_hardcode_libdir_separator"; then
13639                         alldirs=
13640       for found_dir in $rpathdirs; do
13641         alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
13642       done
13643             acl_save_libdir="$libdir"
13644       libdir="$alldirs"
13645       eval flag=\"$acl_hardcode_libdir_flag_spec\"
13646       libdir="$acl_save_libdir"
13647       LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
13648     else
13649             for found_dir in $rpathdirs; do
13650         acl_save_libdir="$libdir"
13651         libdir="$found_dir"
13652         eval flag=\"$acl_hardcode_libdir_flag_spec\"
13653         libdir="$acl_save_libdir"
13654         LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
13655       done
13656     fi
13657   fi
13658   if test "X$ltrpathdirs" != "X"; then
13659             for found_dir in $ltrpathdirs; do
13660       LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
13661     done
13662   fi
13663
13664           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
13665 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
13666 if eval "test \"\${$gt_func_gnugettext_libintl+set}\"" = set; then :
13667   $as_echo_n "(cached) " >&6
13668 else
13669   gt_save_CPPFLAGS="$CPPFLAGS"
13670             CPPFLAGS="$CPPFLAGS $INCINTL"
13671             gt_save_LIBS="$LIBS"
13672             LIBS="$LIBS $LIBINTL"
13673                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13674 /* end confdefs.h.  */
13675 #include <libintl.h>
13676 $gt_revision_test_code
13677 extern int _nl_msg_cat_cntr;
13678 extern
13679 #ifdef __cplusplus
13680 "C"
13681 #endif
13682 const char *_nl_expand_alias (const char *);
13683 int
13684 main ()
13685 {
13686 bindtextdomain ("", "");
13687 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
13688   ;
13689   return 0;
13690 }
13691 _ACEOF
13692 if ac_fn_c_try_link "$LINENO"; then :
13693   eval "$gt_func_gnugettext_libintl=yes"
13694 else
13695   eval "$gt_func_gnugettext_libintl=no"
13696 fi
13697 rm -f core conftest.err conftest.$ac_objext \
13698     conftest$ac_exeext conftest.$ac_ext
13699                         if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
13700               LIBS="$LIBS $LIBICONV"
13701               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13702 /* end confdefs.h.  */
13703 #include <libintl.h>
13704 $gt_revision_test_code
13705 extern int _nl_msg_cat_cntr;
13706 extern
13707 #ifdef __cplusplus
13708 "C"
13709 #endif
13710 const char *_nl_expand_alias (const char *);
13711 int
13712 main ()
13713 {
13714 bindtextdomain ("", "");
13715 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
13716   ;
13717   return 0;
13718 }
13719 _ACEOF
13720 if ac_fn_c_try_link "$LINENO"; then :
13721   LIBINTL="$LIBINTL $LIBICONV"
13722                 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
13723                 eval "$gt_func_gnugettext_libintl=yes"
13724
13725 fi
13726 rm -f core conftest.err conftest.$ac_objext \
13727     conftest$ac_exeext conftest.$ac_ext
13728             fi
13729             CPPFLAGS="$gt_save_CPPFLAGS"
13730             LIBS="$gt_save_LIBS"
13731 fi
13732 eval ac_res=\$$gt_func_gnugettext_libintl
13733                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13734 $as_echo "$ac_res" >&6; }
13735         fi
13736
13737                                         if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
13738            || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
13739                 && test "$PACKAGE" != gettext-runtime \
13740                 && test "$PACKAGE" != gettext-tools; }; then
13741           gt_use_preinstalled_gnugettext=yes
13742         else
13743                     LIBINTL=
13744           LTLIBINTL=
13745           INCINTL=
13746         fi
13747
13748
13749
13750     if test -n "$INTL_MACOSX_LIBS"; then
13751       if test "$gt_use_preinstalled_gnugettext" = "yes" \
13752          || test "$nls_cv_use_gnu_gettext" = "yes"; then
13753                 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
13754         LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
13755       fi
13756     fi
13757
13758     if test "$gt_use_preinstalled_gnugettext" = "yes" \
13759        || test "$nls_cv_use_gnu_gettext" = "yes"; then
13760
13761 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
13762
13763     else
13764       USE_NLS=no
13765     fi
13766   fi
13767
13768   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
13769 $as_echo_n "checking whether to use NLS... " >&6; }
13770   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
13771 $as_echo "$USE_NLS" >&6; }
13772   if test "$USE_NLS" = "yes"; then
13773     { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
13774 $as_echo_n "checking where the gettext function comes from... " >&6; }
13775     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
13776       if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
13777         gt_source="external libintl"
13778       else
13779         gt_source="libc"
13780       fi
13781     else
13782       gt_source="included intl directory"
13783     fi
13784     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
13785 $as_echo "$gt_source" >&6; }
13786   fi
13787
13788   if test "$USE_NLS" = "yes"; then
13789
13790     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
13791       if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
13792         { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
13793 $as_echo_n "checking how to link with libintl... " >&6; }
13794         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
13795 $as_echo "$LIBINTL" >&6; }
13796
13797   for element in $INCINTL; do
13798     haveit=
13799     for x in $CPPFLAGS; do
13800
13801   acl_save_prefix="$prefix"
13802   prefix="$acl_final_prefix"
13803   acl_save_exec_prefix="$exec_prefix"
13804   exec_prefix="$acl_final_exec_prefix"
13805   eval x=\"$x\"
13806   exec_prefix="$acl_save_exec_prefix"
13807   prefix="$acl_save_prefix"
13808
13809       if test "X$x" = "X$element"; then
13810         haveit=yes
13811         break
13812       fi
13813     done
13814     if test -z "$haveit"; then
13815       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
13816     fi
13817   done
13818
13819       fi
13820
13821
13822 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
13823
13824
13825 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
13826
13827     fi
13828
13829         POSUB=po
13830   fi
13831
13832
13833
13834     INTLLIBS="$LIBINTL"
13835
13836
13837
13838
13839
13840
13841
13842   if test "$USE_NLS" = "yes"; then
13843     GETTEXT_PACKAGE=gst-plugins-base-$GST_MAJORMINOR
13844   else
13845     GETTEXT_PACKAGE=NULL
13846   fi
13847
13848
13849 cat >>confdefs.h <<_ACEOF
13850 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
13851 _ACEOF
13852
13853
13854
13855   EXP_VAR=LOCALEDIR
13856   FROM_VAR=$datadir/locale
13857
13858     prefix_save=$prefix
13859   exec_prefix_save=$exec_prefix
13860
13861     if test "x$prefix" = "xNONE"; then
13862     prefix="$ac_default_prefix"
13863   fi
13864     if test "x$exec_prefix" = "xNONE"; then
13865     exec_prefix=$prefix
13866   fi
13867
13868   full_var="$FROM_VAR"
13869     while true; do
13870     new_full_var="`eval echo $full_var`"
13871     if test "x$new_full_var" = "x$full_var"; then break; fi
13872     full_var=$new_full_var
13873   done
13874
13875     full_var=$new_full_var
13876   LOCALEDIR="$full_var"
13877
13878
13879     prefix=$prefix_save
13880   exec_prefix=$exec_prefix_save
13881
13882
13883 cat >>confdefs.h <<_ACEOF
13884 #define LOCALEDIR "$LOCALEDIR"
13885 _ACEOF
13886
13887
13888
13889
13890
13891     # Check whether --enable-debug was given.
13892 if test "${enable_debug+set}" = set; then :
13893   enableval=$enable_debug;
13894       case "${enableval}" in
13895         yes) USE_DEBUG=yes ;;
13896         no)  USE_DEBUG=no ;;
13897         *)   as_fn_error $? "bad value ${enableval} for --enable-debug" "$LINENO" 5  ;;
13898       esac
13899
13900 else
13901   USE_DEBUG=yes
13902 fi
13903
13904
13905   # Check whether --enable-profiling was given.
13906 if test "${enable_profiling+set}" = set; then :
13907   enableval=$enable_profiling;
13908       case "${enableval}" in
13909         yes) USE_PROFILING=yes ;;
13910         no)  USE_PROFILING=no ;;
13911         *)   as_fn_error $? "bad value ${enableval} for --enable-profiling" "$LINENO" 5  ;;
13912       esac
13913
13914 else
13915   USE_PROFILING=no
13916 fi
13917
13918
13919
13920 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13921         if test -n "$ac_tool_prefix"; then
13922   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13923 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13925 $as_echo_n "checking for $ac_word... " >&6; }
13926 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
13927   $as_echo_n "(cached) " >&6
13928 else
13929   case $PKG_CONFIG in
13930   [\\/]* | ?:[\\/]*)
13931   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13932   ;;
13933   *)
13934   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13935 for as_dir in $PATH
13936 do
13937   IFS=$as_save_IFS
13938   test -z "$as_dir" && as_dir=.
13939     for ac_exec_ext in '' $ac_executable_extensions; do
13940   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13941     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13942     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13943     break 2
13944   fi
13945 done
13946   done
13947 IFS=$as_save_IFS
13948
13949   ;;
13950 esac
13951 fi
13952 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13953 if test -n "$PKG_CONFIG"; then
13954   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13955 $as_echo "$PKG_CONFIG" >&6; }
13956 else
13957   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13958 $as_echo "no" >&6; }
13959 fi
13960
13961
13962 fi
13963 if test -z "$ac_cv_path_PKG_CONFIG"; then
13964   ac_pt_PKG_CONFIG=$PKG_CONFIG
13965   # Extract the first word of "pkg-config", so it can be a program name with args.
13966 set dummy pkg-config; ac_word=$2
13967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13968 $as_echo_n "checking for $ac_word... " >&6; }
13969 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
13970   $as_echo_n "(cached) " >&6
13971 else
13972   case $ac_pt_PKG_CONFIG in
13973   [\\/]* | ?:[\\/]*)
13974   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13975   ;;
13976   *)
13977   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13978 for as_dir in $PATH
13979 do
13980   IFS=$as_save_IFS
13981   test -z "$as_dir" && as_dir=.
13982     for ac_exec_ext in '' $ac_executable_extensions; do
13983   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13984     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13985     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13986     break 2
13987   fi
13988 done
13989   done
13990 IFS=$as_save_IFS
13991
13992   ;;
13993 esac
13994 fi
13995 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
13996 if test -n "$ac_pt_PKG_CONFIG"; then
13997   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13998 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
13999 else
14000   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14001 $as_echo "no" >&6; }
14002 fi
14003
14004   if test "x$ac_pt_PKG_CONFIG" = x; then
14005     PKG_CONFIG=""
14006   else
14007     case $cross_compiling:$ac_tool_warned in
14008 yes:)
14009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14010 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14011 ac_tool_warned=yes ;;
14012 esac
14013     PKG_CONFIG=$ac_pt_PKG_CONFIG
14014   fi
14015 else
14016   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
14017 fi
14018
14019 fi
14020 if test -n "$PKG_CONFIG"; then
14021         _pkg_min_version=0.9.0
14022         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
14023 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
14024         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
14025                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14026 $as_echo "yes" >&6; }
14027         else
14028                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14029 $as_echo "no" >&6; }
14030                 PKG_CONFIG=""
14031         fi
14032
14033 fi
14034
14035     # Check whether --enable-valgrind was given.
14036 if test "${enable_valgrind+set}" = set; then :
14037   enableval=$enable_valgrind;
14038       case "${enableval}" in
14039         yes) USE_VALGRIND="$USE_DEBUG" ;;
14040         no)  USE_VALGRIND=no ;;
14041         *)   as_fn_error $? "bad value ${enableval} for --enable-valgrind" "$LINENO" 5  ;;
14042       esac
14043
14044 else
14045   USE_VALGRIND="$USE_DEBUG"
14046 fi
14047    VALGRIND_REQ="3.0"
14048   if test "x$USE_VALGRIND" = xyes; then
14049
14050 pkg_failed=no
14051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for VALGRIND" >&5
14052 $as_echo_n "checking for VALGRIND... " >&6; }
14053
14054 if test -n "$PKG_CONFIG"; then
14055     if test -n "$VALGRIND_CFLAGS"; then
14056         pkg_cv_VALGRIND_CFLAGS="$VALGRIND_CFLAGS"
14057     else
14058         if test -n "$PKG_CONFIG" && \
14059     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= \$VALGRIND_REQ\""; } >&5
14060   ($PKG_CONFIG --exists --print-errors "valgrind >= $VALGRIND_REQ") 2>&5
14061   ac_status=$?
14062   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14063   test $ac_status = 0; }; then
14064   pkg_cv_VALGRIND_CFLAGS=`$PKG_CONFIG --cflags "valgrind >= $VALGRIND_REQ" 2>/dev/null`
14065 else
14066   pkg_failed=yes
14067 fi
14068     fi
14069 else
14070         pkg_failed=untried
14071 fi
14072 if test -n "$PKG_CONFIG"; then
14073     if test -n "$VALGRIND_LIBS"; then
14074         pkg_cv_VALGRIND_LIBS="$VALGRIND_LIBS"
14075     else
14076         if test -n "$PKG_CONFIG" && \
14077     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= \$VALGRIND_REQ\""; } >&5
14078   ($PKG_CONFIG --exists --print-errors "valgrind >= $VALGRIND_REQ") 2>&5
14079   ac_status=$?
14080   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14081   test $ac_status = 0; }; then
14082   pkg_cv_VALGRIND_LIBS=`$PKG_CONFIG --libs "valgrind >= $VALGRIND_REQ" 2>/dev/null`
14083 else
14084   pkg_failed=yes
14085 fi
14086     fi
14087 else
14088         pkg_failed=untried
14089 fi
14090
14091
14092
14093 if test $pkg_failed = yes; then
14094
14095 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14096         _pkg_short_errors_supported=yes
14097 else
14098         _pkg_short_errors_supported=no
14099 fi
14100         if test $_pkg_short_errors_supported = yes; then
14101                 VALGRIND_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "valgrind >= $VALGRIND_REQ"`
14102         else
14103                 VALGRIND_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "valgrind >= $VALGRIND_REQ"`
14104         fi
14105         # Put the nasty error message in config.log where it belongs
14106         echo "$VALGRIND_PKG_ERRORS" >&5
14107
14108         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14109 $as_echo "no" >&6; }
14110
14111         USE_VALGRIND="no"
14112         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14113 $as_echo "no" >&6; }
14114
14115 elif test $pkg_failed = untried; then
14116
14117         USE_VALGRIND="no"
14118         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14119 $as_echo "no" >&6; }
14120
14121 else
14122         VALGRIND_CFLAGS=$pkg_cv_VALGRIND_CFLAGS
14123         VALGRIND_LIBS=$pkg_cv_VALGRIND_LIBS
14124         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14125 $as_echo "yes" >&6; }
14126         USE_VALGRIND="yes"
14127 fi
14128   fi
14129   if test "x$USE_VALGRIND" = xyes; then
14130
14131 $as_echo "#define HAVE_VALGRIND 1" >>confdefs.h
14132
14133     { $as_echo "$as_me:${as_lineno-$LINENO}: Using extra code paths for valgrind" >&5
14134 $as_echo "$as_me: Using extra code paths for valgrind" >&6;}
14135   fi
14136
14137
14138   # Check whether --enable-gcov was given.
14139 if test "${enable_gcov+set}" = set; then :
14140   enableval=$enable_gcov; enable_gcov=$enableval
14141 else
14142   enable_gcov=no
14143 fi
14144
14145   if test x$enable_gcov = xyes ; then
14146     if test "x$GCC" != "xyes"
14147     then
14148       as_fn_error $? "gcov only works if gcc is used" "$LINENO" 5
14149     fi
14150
14151
14152   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands \"-fprofile-arcs\"" >&5
14153 $as_echo_n "checking to see if compiler understands \"-fprofile-arcs\"... " >&6; }
14154
14155   save_CFLAGS="$CFLAGS"
14156   CFLAGS="$CFLAGS "-fprofile-arcs""
14157
14158   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14159 /* end confdefs.h.  */
14160
14161 int
14162 main ()
14163 {
14164
14165   ;
14166   return 0;
14167 }
14168 _ACEOF
14169 if ac_fn_c_try_compile "$LINENO"; then :
14170   flag_ok=yes
14171 else
14172   flag_ok=no
14173 fi
14174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14175   CFLAGS="$save_CFLAGS"
14176
14177   if test "X$flag_ok" = Xyes ; then
14178     GCOV_CFLAGS="$GCOV_CFLAGS -fprofile-arcs"
14179     true
14180   else
14181     true
14182     true
14183   fi
14184   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
14185 $as_echo "$flag_ok" >&6; }
14186
14187
14188   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands \"-ftest-coverage\"" >&5
14189 $as_echo_n "checking to see if compiler understands \"-ftest-coverage\"... " >&6; }
14190
14191   save_CFLAGS="$CFLAGS"
14192   CFLAGS="$CFLAGS "-ftest-coverage""
14193
14194   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14195 /* end confdefs.h.  */
14196
14197 int
14198 main ()
14199 {
14200
14201   ;
14202   return 0;
14203 }
14204 _ACEOF
14205 if ac_fn_c_try_compile "$LINENO"; then :
14206   flag_ok=yes
14207 else
14208   flag_ok=no
14209 fi
14210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14211   CFLAGS="$save_CFLAGS"
14212
14213   if test "X$flag_ok" = Xyes ; then
14214     GCOV_CFLAGS="$GCOV_CFLAGS -ftest-coverage"
14215     true
14216   else
14217     true
14218     true
14219   fi
14220   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
14221 $as_echo "$flag_ok" >&6; }
14222
14223         GCOV_CFLAGS=`echo "$GCOV_CFLAGS" | sed -e 's/-O[0-9]*//g'`
14224                 GCOV_LIBS=-lgcov
14225
14226
14227     GCOV=`echo $CC | sed s/gcc/gcov/g`
14228
14229
14230     GST_GCOV_ENABLED=yes
14231
14232 cat >>confdefs.h <<_ACEOF
14233 #define GST_GCOV_ENABLED 1
14234 _ACEOF
14235
14236         if test "x$GST_GCOV_ENABLED" = "xyes"
14237     then
14238       CFLAGS="-O0"
14239
14240       CXXFLAGS="-O0"
14241
14242       FFLAGS="-O0"
14243
14244       CCASFLAGS="-O0"
14245
14246       { $as_echo "$as_me:${as_lineno-$LINENO}: gcov enabled, setting CFLAGS and friends to $CFLAGS" >&5
14247 $as_echo "$as_me: gcov enabled, setting CFLAGS and friends to $CFLAGS" >&6;}
14248     fi
14249   fi
14250    if test x$enable_gcov = xyes; then
14251   GST_GCOV_ENABLED_TRUE=
14252   GST_GCOV_ENABLED_FALSE='#'
14253 else
14254   GST_GCOV_ENABLED_TRUE='#'
14255   GST_GCOV_ENABLED_FALSE=
14256 fi
14257
14258
14259
14260
14261   # Check whether --enable-examples was given.
14262 if test "${enable_examples+set}" = set; then :
14263   enableval=$enable_examples;
14264         case "${enableval}" in
14265           yes) BUILD_EXAMPLES=yes ;;
14266           no)  BUILD_EXAMPLES=no ;;
14267           *)   as_fn_error $? "bad value ${enableval} for --disable-examples" "$LINENO" 5  ;;
14268         esac
14269
14270 else
14271   BUILD_EXAMPLES=yes
14272 fi
14273     if test "x$BUILD_EXAMPLES" = "xyes"; then
14274   BUILD_EXAMPLES_TRUE=
14275   BUILD_EXAMPLES_FALSE='#'
14276 else
14277   BUILD_EXAMPLES_TRUE='#'
14278   BUILD_EXAMPLES_FALSE=
14279 fi
14280
14281
14282
14283
14284
14285 # Check whether --with-pkg-config-path was given.
14286 if test "${with_pkg_config_path+set}" = set; then :
14287   withval=$with_pkg_config_path;
14288        export PKG_CONFIG_PATH=${withval}
14289        { $as_echo "$as_me:${as_lineno-$LINENO}: Set PKG_CONFIG_PATH to $PKG_CONFIG_PATH" >&5
14290 $as_echo "$as_me: Set PKG_CONFIG_PATH to $PKG_CONFIG_PATH" >&6;}
14291
14292 fi
14293
14294
14295
14296
14297 # Check whether --with-package-name was given.
14298 if test "${with_package_name+set}" = set; then :
14299   withval=$with_package_name;
14300       case "${withval}" in
14301         yes) as_fn_error $? "bad value ${withval} for --with-package-name" "$LINENO" 5  ;;
14302         no)  as_fn_error $? "bad value ${withval} for --with-package-name" "$LINENO" 5  ;;
14303         *)   GST_PACKAGE_NAME="${withval}" ;;
14304       esac
14305
14306 else
14307
14308       P=
14309       if test "x$P" = "x"
14310       then
14311         P=$PACKAGE_NAME
14312       fi
14313
14314       if test "x$PACKAGE_VERSION_NANO" = "x0"
14315       then
14316         GST_PACKAGE_NAME="$P source release"
14317       else
14318         if test "x$PACKAGE_VERSION_NANO" = "x1"
14319         then
14320           GST_PACKAGE_NAME="$P git"
14321         else
14322           GST_PACKAGE_NAME="$P prerelease"
14323         fi
14324       fi
14325
14326
14327 fi
14328
14329   { $as_echo "$as_me:${as_lineno-$LINENO}: Using $GST_PACKAGE_NAME as package name" >&5
14330 $as_echo "$as_me: Using $GST_PACKAGE_NAME as package name" >&6;}
14331
14332 cat >>confdefs.h <<_ACEOF
14333 #define GST_PACKAGE_NAME "$GST_PACKAGE_NAME"
14334 _ACEOF
14335
14336
14337
14338
14339
14340 # Check whether --with-package-origin was given.
14341 if test "${with_package_origin+set}" = set; then :
14342   withval=$with_package_origin;
14343       case "${withval}" in
14344         yes) as_fn_error $? "bad value ${withval} for --with-package-origin" "$LINENO" 5  ;;
14345         no)  as_fn_error $? "bad value ${withval} for --with-package-origin" "$LINENO" 5  ;;
14346         *)   GST_PACKAGE_ORIGIN="${withval}" ;;
14347       esac
14348
14349 else
14350   GST_PACKAGE_ORIGIN="Unknown package origin"
14351 fi
14352
14353   { $as_echo "$as_me:${as_lineno-$LINENO}: Using $GST_PACKAGE_ORIGIN as package origin" >&5
14354 $as_echo "$as_me: Using $GST_PACKAGE_ORIGIN as package origin" >&6;}
14355
14356 cat >>confdefs.h <<_ACEOF
14357 #define GST_PACKAGE_ORIGIN "$GST_PACKAGE_ORIGIN"
14358 _ACEOF
14359
14360
14361
14362
14363
14364   GST_PKG_CONFIG_PATH="\$(top_builddir)/pkgconfig"
14365   if test "x$PKG_CONFIG_PATH" != "x"; then
14366     GST_PKG_CONFIG_PATH="$GST_PKG_CONFIG_PATH:$PKG_CONFIG_PATH"
14367   fi
14368
14369   { $as_echo "$as_me:${as_lineno-$LINENO}: Using GST_PKG_CONFIG_PATH = $GST_PKG_CONFIG_PATH" >&5
14370 $as_echo "$as_me: Using GST_PKG_CONFIG_PATH = $GST_PKG_CONFIG_PATH" >&6;}
14371
14372
14373
14374 # Check whether --with-install-plugins-helper was given.
14375 if test "${with_install_plugins_helper+set}" = set; then :
14376   withval=$with_install_plugins_helper;
14377     case "${withval}" in
14378       yes) as_fn_error $? "bad value ${withval} for --with-install-plugins-helper" "$LINENO" 5  ;;
14379       no)  as_fn_error $? "bad value ${withval} for --with-install-plugins-helper" "$LINENO" 5  ;;
14380       *)   GST_INSTALL_PLUGINS_HELPER="${withval}" ;;
14381     esac
14382
14383 else
14384
14385
14386   EXP_VAR=GST_INSTALL_PLUGINS_HELPER
14387   FROM_VAR=${libexecdir}/gst-install-plugins-helper
14388
14389     prefix_save=$prefix
14390   exec_prefix_save=$exec_prefix
14391
14392     if test "x$prefix" = "xNONE"; then
14393     prefix="$ac_default_prefix"
14394   fi
14395     if test "x$exec_prefix" = "xNONE"; then
14396     exec_prefix=$prefix
14397   fi
14398
14399   full_var="$FROM_VAR"
14400     while true; do
14401     new_full_var="`eval echo $full_var`"
14402     if test "x$new_full_var" = "x$full_var"; then break; fi
14403     full_var=$new_full_var
14404   done
14405
14406     full_var=$new_full_var
14407   GST_INSTALL_PLUGINS_HELPER="$full_var"
14408
14409
14410     prefix=$prefix_save
14411   exec_prefix=$exec_prefix_save
14412
14413
14414
14415 fi
14416
14417 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $GST_INSTALL_PLUGINS_HELPER as plugin install helper" >&5
14418 $as_echo "$as_me: Using $GST_INSTALL_PLUGINS_HELPER as plugin install helper" >&6;}
14419
14420 cat >>confdefs.h <<_ACEOF
14421 #define GST_INSTALL_PLUGINS_HELPER "$GST_INSTALL_PLUGINS_HELPER"
14422 _ACEOF
14423
14424
14425
14426
14427
14428 # Check whether --with-plugins was given.
14429 if test "${with_plugins+set}" = set; then :
14430   withval=$with_plugins; WITH_PLUGINS=$withval
14431 else
14432   WITH_PLUGINS=
14433 fi
14434
14435
14436   GST_PLUGINS_ALL=""
14437   GST_PLUGINS_SELECTED=""
14438
14439
14440
14441
14442
14443
14444   echo
14445 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: building of plug-ins with external deps ***" >&5
14446 $as_echo "$as_me: *** checking feature: building of plug-ins with external deps ***" >&6;}
14447 if test "x" != "x"
14448 then
14449   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins:  ***" >&5
14450 $as_echo "$as_me: *** for plug-ins:  ***" >&6;}
14451 fi
14452 NOUSE=
14453 if test "x$USE_EXTERNAL" = "xno"; then
14454   NOUSE="yes"
14455 fi
14456 # Check whether --enable-external was given.
14457 if test "${enable_external+set}" = set; then :
14458   enableval=$enable_external;  case "${enableval}" in
14459       yes) USE_EXTERNAL=yes;;
14460       no) USE_EXTERNAL=no;;
14461       *) as_fn_error $? "bad value ${enableval} for --enable-external" "$LINENO" 5  ;;
14462     esac
14463 else
14464    USE_EXTERNAL=yes
14465 fi
14466
14467 if test "x$NOUSE" = "xyes"; then
14468   USE_EXTERNAL="no"
14469   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ***  pre-configured not to be built" >&5
14470 $as_echo "$as_me: WARNING: ***  pre-configured not to be built" >&2;}
14471 fi
14472 NOUSE=
14473
14474
14475 if test x$USE_EXTERNAL = xyes; then
14476
14477   gst_check_save_LIBS=$LIBS
14478   gst_check_save_LDFLAGS=$LDFLAGS
14479   gst_check_save_CFLAGS=$CFLAGS
14480   gst_check_save_CPPFLAGS=$CPPFLAGS
14481   gst_check_save_CXXFLAGS=$CXXFLAGS
14482
14483   HAVE_EXTERNAL=no
14484     HAVE_EXTERNAL=yes
14485
14486   LIBS=$gst_check_save_LIBS
14487   LDFLAGS=$gst_check_save_LDFLAGS
14488   CFLAGS=$gst_check_save_CFLAGS
14489   CPPFLAGS=$gst_check_save_CPPFLAGS
14490   CXXFLAGS=$gst_check_save_CXXFLAGS
14491
14492     if test x$HAVE_EXTERNAL = xno; then
14493     USE_EXTERNAL=no
14494   else
14495     :
14496   fi
14497 fi
14498 if test x$USE_EXTERNAL = xyes; then
14499
14500       { $as_echo "$as_me:${as_lineno-$LINENO}: building external plug-ins" >&5
14501 $as_echo "$as_me: building external plug-ins" >&6;}
14502       BUILD_EXTERNAL="yes"
14503
14504   if test "x" != "x"; then
14505     GST_PLUGINS_YES="\t\n$GST_PLUGINS_YES"
14506   fi
14507
14508 $as_echo "#define HAVE_EXTERNAL /**/" >>confdefs.h
14509
14510 else
14511   :
14512   if test "x" != "x"; then
14513     GST_PLUGINS_NO="\t\n$GST_PLUGINS_NO"
14514   fi
14515
14516       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: all plug-ins with external dependencies will not be built" >&5
14517 $as_echo "$as_me: WARNING: all plug-ins with external dependencies will not be built" >&2;}
14518       BUILD_EXTERNAL="no"
14519
14520 fi
14521  if test x$USE_EXTERNAL = xyes; then
14522   USE_EXTERNAL_TRUE=
14523   USE_EXTERNAL_FALSE='#'
14524 else
14525   USE_EXTERNAL_TRUE='#'
14526   USE_EXTERNAL_FALSE=
14527 fi
14528
14529
14530   # make BUILD_EXTERNAL available to Makefile.am
14531    if test "x$BUILD_EXTERNAL" = "xyes"; then
14532   BUILD_EXTERNAL_TRUE=
14533   BUILD_EXTERNAL_FALSE='#'
14534 else
14535   BUILD_EXTERNAL_TRUE='#'
14536   BUILD_EXTERNAL_FALSE=
14537 fi
14538
14539
14540
14541
14542   echo
14543 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: building of experimental plug-ins ***" >&5
14544 $as_echo "$as_me: *** checking feature: building of experimental plug-ins ***" >&6;}
14545 if test "x" != "x"
14546 then
14547   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins:  ***" >&5
14548 $as_echo "$as_me: *** for plug-ins:  ***" >&6;}
14549 fi
14550 NOUSE=
14551 if test "x$USE_EXPERIMENTAL" = "xno"; then
14552   NOUSE="yes"
14553 fi
14554 # Check whether --enable-experimental was given.
14555 if test "${enable_experimental+set}" = set; then :
14556   enableval=$enable_experimental;  case "${enableval}" in
14557       yes) USE_EXPERIMENTAL=yes;;
14558       no) USE_EXPERIMENTAL=no;;
14559       *) as_fn_error $? "bad value ${enableval} for --enable-experimental" "$LINENO" 5  ;;
14560     esac
14561 else
14562    USE_EXPERIMENTAL=no
14563 fi
14564
14565 if test "x$NOUSE" = "xyes"; then
14566   USE_EXPERIMENTAL="no"
14567   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ***  pre-configured not to be built" >&5
14568 $as_echo "$as_me: WARNING: ***  pre-configured not to be built" >&2;}
14569 fi
14570 NOUSE=
14571
14572
14573 if test x$USE_EXPERIMENTAL = xyes; then
14574
14575   gst_check_save_LIBS=$LIBS
14576   gst_check_save_LDFLAGS=$LDFLAGS
14577   gst_check_save_CFLAGS=$CFLAGS
14578   gst_check_save_CPPFLAGS=$CPPFLAGS
14579   gst_check_save_CXXFLAGS=$CXXFLAGS
14580
14581   HAVE_EXPERIMENTAL=no
14582     HAVE_EXPERIMENTAL=yes
14583
14584   LIBS=$gst_check_save_LIBS
14585   LDFLAGS=$gst_check_save_LDFLAGS
14586   CFLAGS=$gst_check_save_CFLAGS
14587   CPPFLAGS=$gst_check_save_CPPFLAGS
14588   CXXFLAGS=$gst_check_save_CXXFLAGS
14589
14590     if test x$HAVE_EXPERIMENTAL = xno; then
14591     USE_EXPERIMENTAL=no
14592   else
14593     :
14594   fi
14595 fi
14596 if test x$USE_EXPERIMENTAL = xyes; then
14597
14598       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: building experimental plug-ins" >&5
14599 $as_echo "$as_me: WARNING: building experimental plug-ins" >&2;}
14600       BUILD_EXPERIMENTAL="yes"
14601
14602   if test "x" != "x"; then
14603     GST_PLUGINS_YES="\t\n$GST_PLUGINS_YES"
14604   fi
14605
14606 $as_echo "#define HAVE_EXPERIMENTAL /**/" >>confdefs.h
14607
14608 else
14609   :
14610   if test "x" != "x"; then
14611     GST_PLUGINS_NO="\t\n$GST_PLUGINS_NO"
14612   fi
14613
14614       { $as_echo "$as_me:${as_lineno-$LINENO}: not building experimental plug-ins" >&5
14615 $as_echo "$as_me: not building experimental plug-ins" >&6;}
14616       BUILD_EXPERIMENTAL="no"
14617
14618 fi
14619  if test x$USE_EXPERIMENTAL = xyes; then
14620   USE_EXPERIMENTAL_TRUE=
14621   USE_EXPERIMENTAL_FALSE='#'
14622 else
14623   USE_EXPERIMENTAL_TRUE='#'
14624   USE_EXPERIMENTAL_FALSE=
14625 fi
14626
14627
14628   # make BUILD_EXPERIMENTAL available to Makefile.am
14629    if test "x$BUILD_EXPERIMENTAL" = "xyes"; then
14630   BUILD_EXPERIMENTAL_TRUE=
14631   BUILD_EXPERIMENTAL_FALSE='#'
14632 else
14633   BUILD_EXPERIMENTAL_TRUE='#'
14634   BUILD_EXPERIMENTAL_FALSE=
14635 fi
14636
14637
14638
14639
14640
14641
14642
14643     case "x${host_cpu}" in
14644     xi?86 | xk? | xi?86_64)
14645       case $host_os in
14646          solaris*)
14647             ac_fn_c_check_decl "$LINENO" "__i386" "ac_cv_have_decl___i386" "$ac_includes_default"
14648 if test "x$ac_cv_have_decl___i386" = x""yes; then :
14649   I386_ABI="yes"
14650 else
14651   I386_ABI="no"
14652 fi
14653
14654             ac_fn_c_check_decl "$LINENO" "__amd64" "ac_cv_have_decl___amd64" "$ac_includes_default"
14655 if test "x$ac_cv_have_decl___amd64" = x""yes; then :
14656   AMD64_ABI="yes"
14657 else
14658   AMD64_ABI="no"
14659 fi
14660
14661
14662             if test "x$I386_ABI" = "xyes" ; then
14663                HAVE_CPU_I386=yes
14664
14665 $as_echo "#define HAVE_CPU_I386 1" >>confdefs.h
14666
14667             fi
14668             if test "x$AMD64_ABI" = "xyes" ; then
14669                 HAVE_CPU_X86_64=yes
14670
14671 $as_echo "#define HAVE_CPU_X86_64 1" >>confdefs.h
14672
14673             fi
14674             ;;
14675          *)
14676             HAVE_CPU_I386=yes
14677
14678 $as_echo "#define HAVE_CPU_I386 1" >>confdefs.h
14679
14680
14681                                     case "x${host_cpu}" in
14682               xi386 | xi486) ;;
14683             *)
14684
14685 $as_echo "#define HAVE_RDTSC 1" >>confdefs.h
14686  ;;
14687             esac
14688             ;;
14689       esac
14690       ;;
14691     xpowerpc)
14692       HAVE_CPU_PPC=yes
14693
14694 $as_echo "#define HAVE_CPU_PPC 1" >>confdefs.h
14695  ;;
14696     xpowerpc64)
14697       HAVE_CPU_PPC64=yes
14698
14699 $as_echo "#define HAVE_CPU_PPC64 1" >>confdefs.h
14700  ;;
14701     xalpha*)
14702       HAVE_CPU_ALPHA=yes
14703
14704 $as_echo "#define HAVE_CPU_ALPHA 1" >>confdefs.h
14705  ;;
14706     xarm*)
14707       HAVE_CPU_ARM=yes
14708
14709 $as_echo "#define HAVE_CPU_ARM 1" >>confdefs.h
14710  ;;
14711     xsparc*)
14712       HAVE_CPU_SPARC=yes
14713
14714 $as_echo "#define HAVE_CPU_SPARC 1" >>confdefs.h
14715  ;;
14716     xmips*)
14717       HAVE_CPU_MIPS=yes
14718
14719 $as_echo "#define HAVE_CPU_MIPS 1" >>confdefs.h
14720  ;;
14721     xhppa*)
14722       HAVE_CPU_HPPA=yes
14723
14724 $as_echo "#define HAVE_CPU_HPPA 1" >>confdefs.h
14725  ;;
14726     xs390*)
14727       HAVE_CPU_S390=yes
14728
14729 $as_echo "#define HAVE_CPU_S390 1" >>confdefs.h
14730  ;;
14731     xia64*)
14732       HAVE_CPU_IA64=yes
14733
14734 $as_echo "#define HAVE_CPU_IA64 1" >>confdefs.h
14735  ;;
14736     xm68k*)
14737       HAVE_CPU_M68K=yes
14738
14739 $as_echo "#define HAVE_CPU_M68K 1" >>confdefs.h
14740  ;;
14741     xx86_64)
14742       HAVE_CPU_X86_64=yes
14743
14744 $as_echo "#define HAVE_CPU_X86_64 1" >>confdefs.h
14745  ;;
14746     xcris)
14747       HAVE_CPU_CRIS=yes
14748
14749 $as_echo "#define HAVE_CPU_CRIS 1" >>confdefs.h
14750  ;;
14751     xcrisv32)
14752       HAVE_CPU_CRISV32=yes
14753
14754 $as_echo "#define HAVE_CPU_CRISV32 1" >>confdefs.h
14755  ;;
14756   esac
14757
14758      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
14759 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
14760 if test "${ac_cv_c_bigendian+set}" = set; then :
14761   $as_echo_n "(cached) " >&6
14762 else
14763   ac_cv_c_bigendian=unknown
14764     # See if we're dealing with a universal compiler.
14765     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14766 /* end confdefs.h.  */
14767 #ifndef __APPLE_CC__
14768                not a universal capable compiler
14769              #endif
14770              typedef int dummy;
14771
14772 _ACEOF
14773 if ac_fn_c_try_compile "$LINENO"; then :
14774
14775         # Check for potential -arch flags.  It is not universal unless
14776         # there are at least two -arch flags with different values.
14777         ac_arch=
14778         ac_prev=
14779         for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
14780          if test -n "$ac_prev"; then
14781            case $ac_word in
14782              i?86 | x86_64 | ppc | ppc64)
14783                if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
14784                  ac_arch=$ac_word
14785                else
14786                  ac_cv_c_bigendian=universal
14787                  break
14788                fi
14789                ;;
14790            esac
14791            ac_prev=
14792          elif test "x$ac_word" = "x-arch"; then
14793            ac_prev=arch
14794          fi
14795        done
14796 fi
14797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14798     if test $ac_cv_c_bigendian = unknown; then
14799       # See if sys/param.h defines the BYTE_ORDER macro.
14800       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14801 /* end confdefs.h.  */
14802 #include <sys/types.h>
14803              #include <sys/param.h>
14804
14805 int
14806 main ()
14807 {
14808 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
14809                      && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
14810                      && LITTLE_ENDIAN)
14811               bogus endian macros
14812              #endif
14813
14814   ;
14815   return 0;
14816 }
14817 _ACEOF
14818 if ac_fn_c_try_compile "$LINENO"; then :
14819   # It does; now see whether it defined to BIG_ENDIAN or not.
14820          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14821 /* end confdefs.h.  */
14822 #include <sys/types.h>
14823                 #include <sys/param.h>
14824
14825 int
14826 main ()
14827 {
14828 #if BYTE_ORDER != BIG_ENDIAN
14829                  not big endian
14830                 #endif
14831
14832   ;
14833   return 0;
14834 }
14835 _ACEOF
14836 if ac_fn_c_try_compile "$LINENO"; then :
14837   ac_cv_c_bigendian=yes
14838 else
14839   ac_cv_c_bigendian=no
14840 fi
14841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14842 fi
14843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14844     fi
14845     if test $ac_cv_c_bigendian = unknown; then
14846       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
14847       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14848 /* end confdefs.h.  */
14849 #include <limits.h>
14850
14851 int
14852 main ()
14853 {
14854 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
14855               bogus endian macros
14856              #endif
14857
14858   ;
14859   return 0;
14860 }
14861 _ACEOF
14862 if ac_fn_c_try_compile "$LINENO"; then :
14863   # It does; now see whether it defined to _BIG_ENDIAN or not.
14864          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14865 /* end confdefs.h.  */
14866 #include <limits.h>
14867
14868 int
14869 main ()
14870 {
14871 #ifndef _BIG_ENDIAN
14872                  not big endian
14873                 #endif
14874
14875   ;
14876   return 0;
14877 }
14878 _ACEOF
14879 if ac_fn_c_try_compile "$LINENO"; then :
14880   ac_cv_c_bigendian=yes
14881 else
14882   ac_cv_c_bigendian=no
14883 fi
14884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14885 fi
14886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14887     fi
14888     if test $ac_cv_c_bigendian = unknown; then
14889       # Compile a test program.
14890       if test "$cross_compiling" = yes; then :
14891   # Try to guess by grepping values from an object file.
14892          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14893 /* end confdefs.h.  */
14894 short int ascii_mm[] =
14895                   { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
14896                 short int ascii_ii[] =
14897                   { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
14898                 int use_ascii (int i) {
14899                   return ascii_mm[i] + ascii_ii[i];
14900                 }
14901                 short int ebcdic_ii[] =
14902                   { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
14903                 short int ebcdic_mm[] =
14904                   { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
14905                 int use_ebcdic (int i) {
14906                   return ebcdic_mm[i] + ebcdic_ii[i];
14907                 }
14908                 extern int foo;
14909
14910 int
14911 main ()
14912 {
14913 return use_ascii (foo) == use_ebcdic (foo);
14914   ;
14915   return 0;
14916 }
14917 _ACEOF
14918 if ac_fn_c_try_compile "$LINENO"; then :
14919   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
14920               ac_cv_c_bigendian=yes
14921             fi
14922             if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
14923               if test "$ac_cv_c_bigendian" = unknown; then
14924                 ac_cv_c_bigendian=no
14925               else
14926                 # finding both strings is unlikely to happen, but who knows?
14927                 ac_cv_c_bigendian=unknown
14928               fi
14929             fi
14930 fi
14931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14932 else
14933   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14934 /* end confdefs.h.  */
14935 $ac_includes_default
14936 int
14937 main ()
14938 {
14939
14940              /* Are we little or big endian?  From Harbison&Steele.  */
14941              union
14942              {
14943                long int l;
14944                char c[sizeof (long int)];
14945              } u;
14946              u.l = 1;
14947              return u.c[sizeof (long int) - 1] == 1;
14948
14949   ;
14950   return 0;
14951 }
14952 _ACEOF
14953 if ac_fn_c_try_run "$LINENO"; then :
14954   ac_cv_c_bigendian=no
14955 else
14956   ac_cv_c_bigendian=yes
14957 fi
14958 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14959   conftest.$ac_objext conftest.beam conftest.$ac_ext
14960 fi
14961
14962     fi
14963 fi
14964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
14965 $as_echo "$ac_cv_c_bigendian" >&6; }
14966  case $ac_cv_c_bigendian in #(
14967    yes)
14968      $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
14969 ;; #(
14970    no)
14971       ;; #(
14972    universal)
14973
14974 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
14975
14976      ;; #(
14977    *)
14978      as_fn_error $? "unknown endianness
14979  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5  ;;
14980  esac
14981
14982
14983    if test "x$HAVE_CPU_I386" = "xyes"; then
14984   HAVE_CPU_I386_TRUE=
14985   HAVE_CPU_I386_FALSE='#'
14986 else
14987   HAVE_CPU_I386_TRUE='#'
14988   HAVE_CPU_I386_FALSE=
14989 fi
14990
14991    if test "x$HAVE_CPU_PPC" = "xyes"; then
14992   HAVE_CPU_PPC_TRUE=
14993   HAVE_CPU_PPC_FALSE='#'
14994 else
14995   HAVE_CPU_PPC_TRUE='#'
14996   HAVE_CPU_PPC_FALSE=
14997 fi
14998
14999    if test "x$HAVE_CPU_PPC64" = "xyes"; then
15000   HAVE_CPU_PPC64_TRUE=
15001   HAVE_CPU_PPC64_FALSE='#'
15002 else
15003   HAVE_CPU_PPC64_TRUE='#'
15004   HAVE_CPU_PPC64_FALSE=
15005 fi
15006
15007    if test "x$HAVE_CPU_ALPHA" = "xyes"; then
15008   HAVE_CPU_ALPHA_TRUE=
15009   HAVE_CPU_ALPHA_FALSE='#'
15010 else
15011   HAVE_CPU_ALPHA_TRUE='#'
15012   HAVE_CPU_ALPHA_FALSE=
15013 fi
15014
15015    if test "x$HAVE_CPU_ARM" = "xyes"; then
15016   HAVE_CPU_ARM_TRUE=
15017   HAVE_CPU_ARM_FALSE='#'
15018 else
15019   HAVE_CPU_ARM_TRUE='#'
15020   HAVE_CPU_ARM_FALSE=
15021 fi
15022
15023    if test "x$HAVE_CPU_SPARC" = "xyes"; then
15024   HAVE_CPU_SPARC_TRUE=
15025   HAVE_CPU_SPARC_FALSE='#'
15026 else
15027   HAVE_CPU_SPARC_TRUE='#'
15028   HAVE_CPU_SPARC_FALSE=
15029 fi
15030
15031    if test "x$HAVE_CPU_HPPA" = "xyes"; then
15032   HAVE_CPU_HPPA_TRUE=
15033   HAVE_CPU_HPPA_FALSE='#'
15034 else
15035   HAVE_CPU_HPPA_TRUE='#'
15036   HAVE_CPU_HPPA_FALSE=
15037 fi
15038
15039    if test "x$HAVE_CPU_MIPS" = "xyes"; then
15040   HAVE_CPU_MIPS_TRUE=
15041   HAVE_CPU_MIPS_FALSE='#'
15042 else
15043   HAVE_CPU_MIPS_TRUE='#'
15044   HAVE_CPU_MIPS_FALSE=
15045 fi
15046
15047    if test "x$HAVE_CPU_S390" = "xyes"; then
15048   HAVE_CPU_S390_TRUE=
15049   HAVE_CPU_S390_FALSE='#'
15050 else
15051   HAVE_CPU_S390_TRUE='#'
15052   HAVE_CPU_S390_FALSE=
15053 fi
15054
15055    if test "x$HAVE_CPU_IA64" = "xyes"; then
15056   HAVE_CPU_IA64_TRUE=
15057   HAVE_CPU_IA64_FALSE='#'
15058 else
15059   HAVE_CPU_IA64_TRUE='#'
15060   HAVE_CPU_IA64_FALSE=
15061 fi
15062
15063    if test "x$HAVE_CPU_M68K" = "xyes"; then
15064   HAVE_CPU_M68K_TRUE=
15065   HAVE_CPU_M68K_FALSE='#'
15066 else
15067   HAVE_CPU_M68K_TRUE='#'
15068   HAVE_CPU_M68K_FALSE=
15069 fi
15070
15071    if test "x$HAVE_CPU_X86_64" = "xyes"; then
15072   HAVE_CPU_X86_64_TRUE=
15073   HAVE_CPU_X86_64_FALSE='#'
15074 else
15075   HAVE_CPU_X86_64_TRUE='#'
15076   HAVE_CPU_X86_64_FALSE=
15077 fi
15078
15079    if test "x$HAVE_CPU_CRIS" = "xyes"; then
15080   HAVE_CPU_CRIS_TRUE=
15081   HAVE_CPU_CRIS_FALSE='#'
15082 else
15083   HAVE_CPU_CRIS_TRUE='#'
15084   HAVE_CPU_CRIS_FALSE=
15085 fi
15086
15087    if test "x$HAVE_CPU_CRISV32" = "xyes"; then
15088   HAVE_CPU_CRISV32_TRUE=
15089   HAVE_CPU_CRISV32_FALSE='#'
15090 else
15091   HAVE_CPU_CRISV32_TRUE='#'
15092   HAVE_CPU_CRISV32_FALSE=
15093 fi
15094
15095
15096
15097 cat >>confdefs.h <<_ACEOF
15098 #define HOST_CPU "$host_cpu"
15099 _ACEOF
15100
15101
15102
15103 # Check whether --enable-largefile was given.
15104 if test "${enable_largefile+set}" = set; then :
15105   enableval=$enable_largefile;
15106 fi
15107
15108 if test "$enable_largefile" != no; then
15109
15110   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
15111 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
15112 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
15113   $as_echo_n "(cached) " >&6
15114 else
15115   ac_cv_sys_largefile_CC=no
15116      if test "$GCC" != yes; then
15117        ac_save_CC=$CC
15118        while :; do
15119          # IRIX 6.2 and later do not support large files by default,
15120          # so use the C compiler's -n32 option if that helps.
15121          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15122 /* end confdefs.h.  */
15123 #include <sys/types.h>
15124  /* Check that off_t can represent 2**63 - 1 correctly.
15125     We can't simply define LARGE_OFF_T to be 9223372036854775807,
15126     since some C++ compilers masquerading as C compilers
15127     incorrectly reject 9223372036854775807.  */
15128 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15129   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15130                        && LARGE_OFF_T % 2147483647 == 1)
15131                       ? 1 : -1];
15132 int
15133 main ()
15134 {
15135
15136   ;
15137   return 0;
15138 }
15139 _ACEOF
15140          if ac_fn_c_try_compile "$LINENO"; then :
15141   break
15142 fi
15143 rm -f core conftest.err conftest.$ac_objext
15144          CC="$CC -n32"
15145          if ac_fn_c_try_compile "$LINENO"; then :
15146   ac_cv_sys_largefile_CC=' -n32'; break
15147 fi
15148 rm -f core conftest.err conftest.$ac_objext
15149          break
15150        done
15151        CC=$ac_save_CC
15152        rm -f conftest.$ac_ext
15153     fi
15154 fi
15155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
15156 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
15157   if test "$ac_cv_sys_largefile_CC" != no; then
15158     CC=$CC$ac_cv_sys_largefile_CC
15159   fi
15160
15161   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
15162 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
15163 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
15164   $as_echo_n "(cached) " >&6
15165 else
15166   while :; do
15167   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15168 /* end confdefs.h.  */
15169 #include <sys/types.h>
15170  /* Check that off_t can represent 2**63 - 1 correctly.
15171     We can't simply define LARGE_OFF_T to be 9223372036854775807,
15172     since some C++ compilers masquerading as C compilers
15173     incorrectly reject 9223372036854775807.  */
15174 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15175   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15176                        && LARGE_OFF_T % 2147483647 == 1)
15177                       ? 1 : -1];
15178 int
15179 main ()
15180 {
15181
15182   ;
15183   return 0;
15184 }
15185 _ACEOF
15186 if ac_fn_c_try_compile "$LINENO"; then :
15187   ac_cv_sys_file_offset_bits=no; break
15188 fi
15189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15190   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15191 /* end confdefs.h.  */
15192 #define _FILE_OFFSET_BITS 64
15193 #include <sys/types.h>
15194  /* Check that off_t can represent 2**63 - 1 correctly.
15195     We can't simply define LARGE_OFF_T to be 9223372036854775807,
15196     since some C++ compilers masquerading as C compilers
15197     incorrectly reject 9223372036854775807.  */
15198 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15199   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15200                        && LARGE_OFF_T % 2147483647 == 1)
15201                       ? 1 : -1];
15202 int
15203 main ()
15204 {
15205
15206   ;
15207   return 0;
15208 }
15209 _ACEOF
15210 if ac_fn_c_try_compile "$LINENO"; then :
15211   ac_cv_sys_file_offset_bits=64; break
15212 fi
15213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15214   ac_cv_sys_file_offset_bits=unknown
15215   break
15216 done
15217 fi
15218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
15219 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
15220 case $ac_cv_sys_file_offset_bits in #(
15221   no | unknown) ;;
15222   *)
15223 cat >>confdefs.h <<_ACEOF
15224 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
15225 _ACEOF
15226 ;;
15227 esac
15228 rm -rf conftest*
15229   if test $ac_cv_sys_file_offset_bits = unknown; then
15230     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
15231 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
15232 if test "${ac_cv_sys_large_files+set}" = set; then :
15233   $as_echo_n "(cached) " >&6
15234 else
15235   while :; do
15236   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15237 /* end confdefs.h.  */
15238 #include <sys/types.h>
15239  /* Check that off_t can represent 2**63 - 1 correctly.
15240     We can't simply define LARGE_OFF_T to be 9223372036854775807,
15241     since some C++ compilers masquerading as C compilers
15242     incorrectly reject 9223372036854775807.  */
15243 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15244   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15245                        && LARGE_OFF_T % 2147483647 == 1)
15246                       ? 1 : -1];
15247 int
15248 main ()
15249 {
15250
15251   ;
15252   return 0;
15253 }
15254 _ACEOF
15255 if ac_fn_c_try_compile "$LINENO"; then :
15256   ac_cv_sys_large_files=no; break
15257 fi
15258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15259   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15260 /* end confdefs.h.  */
15261 #define _LARGE_FILES 1
15262 #include <sys/types.h>
15263  /* Check that off_t can represent 2**63 - 1 correctly.
15264     We can't simply define LARGE_OFF_T to be 9223372036854775807,
15265     since some C++ compilers masquerading as C compilers
15266     incorrectly reject 9223372036854775807.  */
15267 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15268   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15269                        && LARGE_OFF_T % 2147483647 == 1)
15270                       ? 1 : -1];
15271 int
15272 main ()
15273 {
15274
15275   ;
15276   return 0;
15277 }
15278 _ACEOF
15279 if ac_fn_c_try_compile "$LINENO"; then :
15280   ac_cv_sys_large_files=1; break
15281 fi
15282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15283   ac_cv_sys_large_files=unknown
15284   break
15285 done
15286 fi
15287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
15288 $as_echo "$ac_cv_sys_large_files" >&6; }
15289 case $ac_cv_sys_large_files in #(
15290   no | unknown) ;;
15291   *)
15292 cat >>confdefs.h <<_ACEOF
15293 #define _LARGE_FILES $ac_cv_sys_large_files
15294 _ACEOF
15295 ;;
15296 esac
15297 rm -rf conftest*
15298   fi
15299 fi
15300
15301
15302
15303 ac_ext=c
15304 ac_cpp='$CPP $CPPFLAGS'
15305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15308 if test -n "$ac_tool_prefix"; then
15309   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
15310 set dummy ${ac_tool_prefix}gcc; ac_word=$2
15311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15312 $as_echo_n "checking for $ac_word... " >&6; }
15313 if test "${ac_cv_prog_CC+set}" = set; then :
15314   $as_echo_n "(cached) " >&6
15315 else
15316   if test -n "$CC"; then
15317   ac_cv_prog_CC="$CC" # Let the user override the test.
15318 else
15319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15320 for as_dir in $PATH
15321 do
15322   IFS=$as_save_IFS
15323   test -z "$as_dir" && as_dir=.
15324     for ac_exec_ext in '' $ac_executable_extensions; do
15325   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15326     ac_cv_prog_CC="${ac_tool_prefix}gcc"
15327     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15328     break 2
15329   fi
15330 done
15331   done
15332 IFS=$as_save_IFS
15333
15334 fi
15335 fi
15336 CC=$ac_cv_prog_CC
15337 if test -n "$CC"; then
15338   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
15339 $as_echo "$CC" >&6; }
15340 else
15341   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15342 $as_echo "no" >&6; }
15343 fi
15344
15345
15346 fi
15347 if test -z "$ac_cv_prog_CC"; then
15348   ac_ct_CC=$CC
15349   # Extract the first word of "gcc", so it can be a program name with args.
15350 set dummy gcc; ac_word=$2
15351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15352 $as_echo_n "checking for $ac_word... " >&6; }
15353 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
15354   $as_echo_n "(cached) " >&6
15355 else
15356   if test -n "$ac_ct_CC"; then
15357   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15358 else
15359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15360 for as_dir in $PATH
15361 do
15362   IFS=$as_save_IFS
15363   test -z "$as_dir" && as_dir=.
15364     for ac_exec_ext in '' $ac_executable_extensions; do
15365   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15366     ac_cv_prog_ac_ct_CC="gcc"
15367     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15368     break 2
15369   fi
15370 done
15371   done
15372 IFS=$as_save_IFS
15373
15374 fi
15375 fi
15376 ac_ct_CC=$ac_cv_prog_ac_ct_CC
15377 if test -n "$ac_ct_CC"; then
15378   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
15379 $as_echo "$ac_ct_CC" >&6; }
15380 else
15381   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15382 $as_echo "no" >&6; }
15383 fi
15384
15385   if test "x$ac_ct_CC" = x; then
15386     CC=""
15387   else
15388     case $cross_compiling:$ac_tool_warned in
15389 yes:)
15390 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15391 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15392 ac_tool_warned=yes ;;
15393 esac
15394     CC=$ac_ct_CC
15395   fi
15396 else
15397   CC="$ac_cv_prog_CC"
15398 fi
15399
15400 if test -z "$CC"; then
15401           if test -n "$ac_tool_prefix"; then
15402     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
15403 set dummy ${ac_tool_prefix}cc; ac_word=$2
15404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15405 $as_echo_n "checking for $ac_word... " >&6; }
15406 if test "${ac_cv_prog_CC+set}" = set; then :
15407   $as_echo_n "(cached) " >&6
15408 else
15409   if test -n "$CC"; then
15410   ac_cv_prog_CC="$CC" # Let the user override the test.
15411 else
15412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15413 for as_dir in $PATH
15414 do
15415   IFS=$as_save_IFS
15416   test -z "$as_dir" && as_dir=.
15417     for ac_exec_ext in '' $ac_executable_extensions; do
15418   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15419     ac_cv_prog_CC="${ac_tool_prefix}cc"
15420     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15421     break 2
15422   fi
15423 done
15424   done
15425 IFS=$as_save_IFS
15426
15427 fi
15428 fi
15429 CC=$ac_cv_prog_CC
15430 if test -n "$CC"; then
15431   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
15432 $as_echo "$CC" >&6; }
15433 else
15434   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15435 $as_echo "no" >&6; }
15436 fi
15437
15438
15439   fi
15440 fi
15441 if test -z "$CC"; then
15442   # Extract the first word of "cc", so it can be a program name with args.
15443 set dummy cc; ac_word=$2
15444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15445 $as_echo_n "checking for $ac_word... " >&6; }
15446 if test "${ac_cv_prog_CC+set}" = set; then :
15447   $as_echo_n "(cached) " >&6
15448 else
15449   if test -n "$CC"; then
15450   ac_cv_prog_CC="$CC" # Let the user override the test.
15451 else
15452   ac_prog_rejected=no
15453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15454 for as_dir in $PATH
15455 do
15456   IFS=$as_save_IFS
15457   test -z "$as_dir" && as_dir=.
15458     for ac_exec_ext in '' $ac_executable_extensions; do
15459   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15460     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
15461        ac_prog_rejected=yes
15462        continue
15463      fi
15464     ac_cv_prog_CC="cc"
15465     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15466     break 2
15467   fi
15468 done
15469   done
15470 IFS=$as_save_IFS
15471
15472 if test $ac_prog_rejected = yes; then
15473   # We found a bogon in the path, so make sure we never use it.
15474   set dummy $ac_cv_prog_CC
15475   shift
15476   if test $# != 0; then
15477     # We chose a different compiler from the bogus one.
15478     # However, it has the same basename, so the bogon will be chosen
15479     # first if we set CC to just the basename; use the full file name.
15480     shift
15481     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
15482   fi
15483 fi
15484 fi
15485 fi
15486 CC=$ac_cv_prog_CC
15487 if test -n "$CC"; then
15488   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
15489 $as_echo "$CC" >&6; }
15490 else
15491   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15492 $as_echo "no" >&6; }
15493 fi
15494
15495
15496 fi
15497 if test -z "$CC"; then
15498   if test -n "$ac_tool_prefix"; then
15499   for ac_prog in cl.exe
15500   do
15501     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15502 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15504 $as_echo_n "checking for $ac_word... " >&6; }
15505 if test "${ac_cv_prog_CC+set}" = set; then :
15506   $as_echo_n "(cached) " >&6
15507 else
15508   if test -n "$CC"; then
15509   ac_cv_prog_CC="$CC" # Let the user override the test.
15510 else
15511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15512 for as_dir in $PATH
15513 do
15514   IFS=$as_save_IFS
15515   test -z "$as_dir" && as_dir=.
15516     for ac_exec_ext in '' $ac_executable_extensions; do
15517   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15518     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
15519     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15520     break 2
15521   fi
15522 done
15523   done
15524 IFS=$as_save_IFS
15525
15526 fi
15527 fi
15528 CC=$ac_cv_prog_CC
15529 if test -n "$CC"; then
15530   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
15531 $as_echo "$CC" >&6; }
15532 else
15533   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15534 $as_echo "no" >&6; }
15535 fi
15536
15537
15538     test -n "$CC" && break
15539   done
15540 fi
15541 if test -z "$CC"; then
15542   ac_ct_CC=$CC
15543   for ac_prog in cl.exe
15544 do
15545   # Extract the first word of "$ac_prog", so it can be a program name with args.
15546 set dummy $ac_prog; ac_word=$2
15547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15548 $as_echo_n "checking for $ac_word... " >&6; }
15549 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
15550   $as_echo_n "(cached) " >&6
15551 else
15552   if test -n "$ac_ct_CC"; then
15553   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15554 else
15555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15556 for as_dir in $PATH
15557 do
15558   IFS=$as_save_IFS
15559   test -z "$as_dir" && as_dir=.
15560     for ac_exec_ext in '' $ac_executable_extensions; do
15561   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15562     ac_cv_prog_ac_ct_CC="$ac_prog"
15563     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15564     break 2
15565   fi
15566 done
15567   done
15568 IFS=$as_save_IFS
15569
15570 fi
15571 fi
15572 ac_ct_CC=$ac_cv_prog_ac_ct_CC
15573 if test -n "$ac_ct_CC"; then
15574   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
15575 $as_echo "$ac_ct_CC" >&6; }
15576 else
15577   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15578 $as_echo "no" >&6; }
15579 fi
15580
15581
15582   test -n "$ac_ct_CC" && break
15583 done
15584
15585   if test "x$ac_ct_CC" = x; then
15586     CC=""
15587   else
15588     case $cross_compiling:$ac_tool_warned in
15589 yes:)
15590 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15591 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15592 ac_tool_warned=yes ;;
15593 esac
15594     CC=$ac_ct_CC
15595   fi
15596 fi
15597
15598 fi
15599
15600
15601 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15602 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15603 as_fn_error $? "no acceptable C compiler found in \$PATH
15604 See \`config.log' for more details" "$LINENO" 5 ; }
15605
15606 # Provide some information about the compiler.
15607 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
15608 set X $ac_compile
15609 ac_compiler=$2
15610 for ac_option in --version -v -V -qversion; do
15611   { { ac_try="$ac_compiler $ac_option >&5"
15612 case "(($ac_try" in
15613   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15614   *) ac_try_echo=$ac_try;;
15615 esac
15616 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
15617 $as_echo "$ac_try_echo"; } >&5
15618   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
15619   ac_status=$?
15620   if test -s conftest.err; then
15621     sed '10a\
15622 ... rest of stderr output deleted ...
15623          10q' conftest.err >conftest.er1
15624     cat conftest.er1 >&5
15625   fi
15626   rm -f conftest.er1 conftest.err
15627   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15628   test $ac_status = 0; }
15629 done
15630
15631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
15632 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
15633 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
15634   $as_echo_n "(cached) " >&6
15635 else
15636   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15637 /* end confdefs.h.  */
15638
15639 int
15640 main ()
15641 {
15642 #ifndef __GNUC__
15643        choke me
15644 #endif
15645
15646   ;
15647   return 0;
15648 }
15649 _ACEOF
15650 if ac_fn_c_try_compile "$LINENO"; then :
15651   ac_compiler_gnu=yes
15652 else
15653   ac_compiler_gnu=no
15654 fi
15655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15656 ac_cv_c_compiler_gnu=$ac_compiler_gnu
15657
15658 fi
15659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
15660 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
15661 if test $ac_compiler_gnu = yes; then
15662   GCC=yes
15663 else
15664   GCC=
15665 fi
15666 ac_test_CFLAGS=${CFLAGS+set}
15667 ac_save_CFLAGS=$CFLAGS
15668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
15669 $as_echo_n "checking whether $CC accepts -g... " >&6; }
15670 if test "${ac_cv_prog_cc_g+set}" = set; then :
15671   $as_echo_n "(cached) " >&6
15672 else
15673   ac_save_c_werror_flag=$ac_c_werror_flag
15674    ac_c_werror_flag=yes
15675    ac_cv_prog_cc_g=no
15676    CFLAGS="-g"
15677    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15678 /* end confdefs.h.  */
15679
15680 int
15681 main ()
15682 {
15683
15684   ;
15685   return 0;
15686 }
15687 _ACEOF
15688 if ac_fn_c_try_compile "$LINENO"; then :
15689   ac_cv_prog_cc_g=yes
15690 else
15691   CFLAGS=""
15692       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15693 /* end confdefs.h.  */
15694
15695 int
15696 main ()
15697 {
15698
15699   ;
15700   return 0;
15701 }
15702 _ACEOF
15703 if ac_fn_c_try_compile "$LINENO"; then :
15704
15705 else
15706   ac_c_werror_flag=$ac_save_c_werror_flag
15707          CFLAGS="-g"
15708          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15709 /* end confdefs.h.  */
15710
15711 int
15712 main ()
15713 {
15714
15715   ;
15716   return 0;
15717 }
15718 _ACEOF
15719 if ac_fn_c_try_compile "$LINENO"; then :
15720   ac_cv_prog_cc_g=yes
15721 fi
15722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15723 fi
15724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15725 fi
15726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15727    ac_c_werror_flag=$ac_save_c_werror_flag
15728 fi
15729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
15730 $as_echo "$ac_cv_prog_cc_g" >&6; }
15731 if test "$ac_test_CFLAGS" = set; then
15732   CFLAGS=$ac_save_CFLAGS
15733 elif test $ac_cv_prog_cc_g = yes; then
15734   if test "$GCC" = yes; then
15735     CFLAGS="-g -O2"
15736   else
15737     CFLAGS="-g"
15738   fi
15739 else
15740   if test "$GCC" = yes; then
15741     CFLAGS="-O2"
15742   else
15743     CFLAGS=
15744   fi
15745 fi
15746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
15747 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
15748 if test "${ac_cv_prog_cc_c89+set}" = set; then :
15749   $as_echo_n "(cached) " >&6
15750 else
15751   ac_cv_prog_cc_c89=no
15752 ac_save_CC=$CC
15753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15754 /* end confdefs.h.  */
15755 #include <stdarg.h>
15756 #include <stdio.h>
15757 #include <sys/types.h>
15758 #include <sys/stat.h>
15759 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
15760 struct buf { int x; };
15761 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15762 static char *e (p, i)
15763      char **p;
15764      int i;
15765 {
15766   return p[i];
15767 }
15768 static char *f (char * (*g) (char **, int), char **p, ...)
15769 {
15770   char *s;
15771   va_list v;
15772   va_start (v,p);
15773   s = g (p, va_arg (v,int));
15774   va_end (v);
15775   return s;
15776 }
15777
15778 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
15779    function prototypes and stuff, but not '\xHH' hex character constants.
15780    These don't provoke an error unfortunately, instead are silently treated
15781    as 'x'.  The following induces an error, until -std is added to get
15782    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
15783    array size at least.  It's necessary to write '\x00'==0 to get something
15784    that's true only with -std.  */
15785 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
15786
15787 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
15788    inside strings and character constants.  */
15789 #define FOO(x) 'x'
15790 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
15791
15792 int test (int i, double x);
15793 struct s1 {int (*f) (int a);};
15794 struct s2 {int (*f) (double a);};
15795 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
15796 int argc;
15797 char **argv;
15798 int
15799 main ()
15800 {
15801 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
15802   ;
15803   return 0;
15804 }
15805 _ACEOF
15806 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
15807         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
15808 do
15809   CC="$ac_save_CC $ac_arg"
15810   if ac_fn_c_try_compile "$LINENO"; then :
15811   ac_cv_prog_cc_c89=$ac_arg
15812 fi
15813 rm -f core conftest.err conftest.$ac_objext
15814   test "x$ac_cv_prog_cc_c89" != "xno" && break
15815 done
15816 rm -f conftest.$ac_ext
15817 CC=$ac_save_CC
15818
15819 fi
15820 # AC_CACHE_VAL
15821 case "x$ac_cv_prog_cc_c89" in
15822   x)
15823     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
15824 $as_echo "none needed" >&6; } ;;
15825   xno)
15826     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
15827 $as_echo "unsupported" >&6; } ;;
15828   *)
15829     CC="$CC $ac_cv_prog_cc_c89"
15830     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
15831 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
15832 esac
15833 if test "x$ac_cv_prog_cc_c89" != xno; then :
15834
15835 fi
15836
15837 ac_ext=c
15838 ac_cpp='$CPP $CPPFLAGS'
15839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15842
15843 depcc="$CC"   am_compiler_list=
15844
15845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
15846 $as_echo_n "checking dependency style of $depcc... " >&6; }
15847 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
15848   $as_echo_n "(cached) " >&6
15849 else
15850   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
15851   # We make a subdir and do the tests there.  Otherwise we can end up
15852   # making bogus files that we don't know about and never remove.  For
15853   # instance it was reported that on HP-UX the gcc test will end up
15854   # making a dummy file named `D' -- because `-MD' means `put the output
15855   # in D'.
15856   mkdir conftest.dir
15857   # Copy depcomp to subdir because otherwise we won't find it if we're
15858   # using a relative directory.
15859   cp "$am_depcomp" conftest.dir
15860   cd conftest.dir
15861   # We will build objects and dependencies in a subdirectory because
15862   # it helps to detect inapplicable dependency modes.  For instance
15863   # both Tru64's cc and ICC support -MD to output dependencies as a
15864   # side effect of compilation, but ICC will put the dependencies in
15865   # the current directory while Tru64 will put them in the object
15866   # directory.
15867   mkdir sub
15868
15869   am_cv_CC_dependencies_compiler_type=none
15870   if test "$am_compiler_list" = ""; then
15871      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
15872   fi
15873   am__universal=false
15874   case " $depcc " in #(
15875      *\ -arch\ *\ -arch\ *) am__universal=true ;;
15876      esac
15877
15878   for depmode in $am_compiler_list; do
15879     # Setup a source with many dependencies, because some compilers
15880     # like to wrap large dependency lists on column 80 (with \), and
15881     # we should not choose a depcomp mode which is confused by this.
15882     #
15883     # We need to recreate these files for each test, as the compiler may
15884     # overwrite some of them when testing with obscure command lines.
15885     # This happens at least with the AIX C compiler.
15886     : > sub/conftest.c
15887     for i in 1 2 3 4 5 6; do
15888       echo '#include "conftst'$i'.h"' >> sub/conftest.c
15889       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
15890       # Solaris 8's {/usr,}/bin/sh.
15891       touch sub/conftst$i.h
15892     done
15893     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
15894
15895     # We check with `-c' and `-o' for the sake of the "dashmstdout"
15896     # mode.  It turns out that the SunPro C++ compiler does not properly
15897     # handle `-M -o', and we need to detect this.  Also, some Intel
15898     # versions had trouble with output in subdirs
15899     am__obj=sub/conftest.${OBJEXT-o}
15900     am__minus_obj="-o $am__obj"
15901     case $depmode in
15902     gcc)
15903       # This depmode causes a compiler race in universal mode.
15904       test "$am__universal" = false || continue
15905       ;;
15906     nosideeffect)
15907       # after this tag, mechanisms are not by side-effect, so they'll
15908       # only be used when explicitly requested
15909       if test "x$enable_dependency_tracking" = xyes; then
15910         continue
15911       else
15912         break
15913       fi
15914       ;;
15915     msvisualcpp | msvcmsys)
15916       # This compiler won't grok `-c -o', but also, the minuso test has
15917       # not run yet.  These depmodes are late enough in the game, and
15918       # so weak that their functioning should not be impacted.
15919       am__obj=conftest.${OBJEXT-o}
15920       am__minus_obj=
15921       ;;
15922     none) break ;;
15923     esac
15924     if depmode=$depmode \
15925        source=sub/conftest.c object=$am__obj \
15926        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
15927        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
15928          >/dev/null 2>conftest.err &&
15929        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
15930        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
15931        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
15932        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
15933       # icc doesn't choke on unknown options, it will just issue warnings
15934       # or remarks (even with -Werror).  So we grep stderr for any message
15935       # that says an option was ignored or not supported.
15936       # When given -MP, icc 7.0 and 7.1 complain thusly:
15937       #   icc: Command line warning: ignoring option '-M'; no argument required
15938       # The diagnosis changed in icc 8.0:
15939       #   icc: Command line remark: option '-MP' not supported
15940       if (grep 'ignoring option' conftest.err ||
15941           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
15942         am_cv_CC_dependencies_compiler_type=$depmode
15943         break
15944       fi
15945     fi
15946   done
15947
15948   cd ..
15949   rm -rf conftest.dir
15950 else
15951   am_cv_CC_dependencies_compiler_type=none
15952 fi
15953
15954 fi
15955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
15956 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
15957 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
15958
15959  if
15960   test "x$enable_dependency_tracking" != xno \
15961   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
15962   am__fastdepCC_TRUE=
15963   am__fastdepCC_FALSE='#'
15964 else
15965   am__fastdepCC_TRUE='#'
15966   am__fastdepCC_FALSE=
15967 fi
15968
15969
15970    case $ac_cv_prog_cc_stdc in #(
15971   no) :
15972     ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
15973   *) :
15974     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
15975 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
15976 if test "${ac_cv_prog_cc_c99+set}" = set; then :
15977   $as_echo_n "(cached) " >&6
15978 else
15979   ac_cv_prog_cc_c99=no
15980 ac_save_CC=$CC
15981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15982 /* end confdefs.h.  */
15983 #include <stdarg.h>
15984 #include <stdbool.h>
15985 #include <stdlib.h>
15986 #include <wchar.h>
15987 #include <stdio.h>
15988
15989 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
15990 #define debug(...) fprintf (stderr, __VA_ARGS__)
15991 #define showlist(...) puts (#__VA_ARGS__)
15992 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
15993 static void
15994 test_varargs_macros (void)
15995 {
15996   int x = 1234;
15997   int y = 5678;
15998   debug ("Flag");
15999   debug ("X = %d\n", x);
16000   showlist (The first, second, and third items.);
16001   report (x>y, "x is %d but y is %d", x, y);
16002 }
16003
16004 // Check long long types.
16005 #define BIG64 18446744073709551615ull
16006 #define BIG32 4294967295ul
16007 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
16008 #if !BIG_OK
16009   your preprocessor is broken;
16010 #endif
16011 #if BIG_OK
16012 #else
16013   your preprocessor is broken;
16014 #endif
16015 static long long int bignum = -9223372036854775807LL;
16016 static unsigned long long int ubignum = BIG64;
16017
16018 struct incomplete_array
16019 {
16020   int datasize;
16021   double data[];
16022 };
16023
16024 struct named_init {
16025   int number;
16026   const wchar_t *name;
16027   double average;
16028 };
16029
16030 typedef const char *ccp;
16031
16032 static inline int
16033 test_restrict (ccp restrict text)
16034 {
16035   // See if C++-style comments work.
16036   // Iterate through items via the restricted pointer.
16037   // Also check for declarations in for loops.
16038   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
16039     continue;
16040   return 0;
16041 }
16042
16043 // Check varargs and va_copy.
16044 static void
16045 test_varargs (const char *format, ...)
16046 {
16047   va_list args;
16048   va_start (args, format);
16049   va_list args_copy;
16050   va_copy (args_copy, args);
16051
16052   const char *str;
16053   int number;
16054   float fnumber;
16055
16056   while (*format)
16057     {
16058       switch (*format++)
16059         {
16060         case 's': // string
16061           str = va_arg (args_copy, const char *);
16062           break;
16063         case 'd': // int
16064           number = va_arg (args_copy, int);
16065           break;
16066         case 'f': // float
16067           fnumber = va_arg (args_copy, double);
16068           break;
16069         default:
16070           break;
16071         }
16072     }
16073   va_end (args_copy);
16074   va_end (args);
16075 }
16076
16077 int
16078 main ()
16079 {
16080
16081   // Check bool.
16082   _Bool success = false;
16083
16084   // Check restrict.
16085   if (test_restrict ("String literal") == 0)
16086     success = true;
16087   char *restrict newvar = "Another string";
16088
16089   // Check varargs.
16090   test_varargs ("s, d' f .", "string", 65, 34.234);
16091   test_varargs_macros ();
16092
16093   // Check flexible array members.
16094   struct incomplete_array *ia =
16095     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
16096   ia->datasize = 10;
16097   for (int i = 0; i < ia->datasize; ++i)
16098     ia->data[i] = i * 1.234;
16099
16100   // Check named initializers.
16101   struct named_init ni = {
16102     .number = 34,
16103     .name = L"Test wide string",
16104     .average = 543.34343,
16105   };
16106
16107   ni.number = 58;
16108
16109   int dynamic_array[ni.number];
16110   dynamic_array[ni.number - 1] = 543;
16111
16112   // work around unused variable warnings
16113   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
16114           || dynamic_array[ni.number - 1] != 543);
16115
16116   ;
16117   return 0;
16118 }
16119 _ACEOF
16120 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
16121 do
16122   CC="$ac_save_CC $ac_arg"
16123   if ac_fn_c_try_compile "$LINENO"; then :
16124   ac_cv_prog_cc_c99=$ac_arg
16125 fi
16126 rm -f core conftest.err conftest.$ac_objext
16127   test "x$ac_cv_prog_cc_c99" != "xno" && break
16128 done
16129 rm -f conftest.$ac_ext
16130 CC=$ac_save_CC
16131
16132 fi
16133 # AC_CACHE_VAL
16134 case "x$ac_cv_prog_cc_c99" in
16135   x)
16136     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
16137 $as_echo "none needed" >&6; } ;;
16138   xno)
16139     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
16140 $as_echo "unsupported" >&6; } ;;
16141   *)
16142     CC="$CC $ac_cv_prog_cc_c99"
16143     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
16144 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
16145 esac
16146 if test "x$ac_cv_prog_cc_c99" != xno; then :
16147   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
16148 else
16149   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
16150 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
16151 if test "${ac_cv_prog_cc_c89+set}" = set; then :
16152   $as_echo_n "(cached) " >&6
16153 else
16154   ac_cv_prog_cc_c89=no
16155 ac_save_CC=$CC
16156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16157 /* end confdefs.h.  */
16158 #include <stdarg.h>
16159 #include <stdio.h>
16160 #include <sys/types.h>
16161 #include <sys/stat.h>
16162 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
16163 struct buf { int x; };
16164 FILE * (*rcsopen) (struct buf *, struct stat *, int);
16165 static char *e (p, i)
16166      char **p;
16167      int i;
16168 {
16169   return p[i];
16170 }
16171 static char *f (char * (*g) (char **, int), char **p, ...)
16172 {
16173   char *s;
16174   va_list v;
16175   va_start (v,p);
16176   s = g (p, va_arg (v,int));
16177   va_end (v);
16178   return s;
16179 }
16180
16181 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
16182    function prototypes and stuff, but not '\xHH' hex character constants.
16183    These don't provoke an error unfortunately, instead are silently treated
16184    as 'x'.  The following induces an error, until -std is added to get
16185    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
16186    array size at least.  It's necessary to write '\x00'==0 to get something
16187    that's true only with -std.  */
16188 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
16189
16190 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
16191    inside strings and character constants.  */
16192 #define FOO(x) 'x'
16193 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
16194
16195 int test (int i, double x);
16196 struct s1 {int (*f) (int a);};
16197 struct s2 {int (*f) (double a);};
16198 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
16199 int argc;
16200 char **argv;
16201 int
16202 main ()
16203 {
16204 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
16205   ;
16206   return 0;
16207 }
16208 _ACEOF
16209 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
16210         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
16211 do
16212   CC="$ac_save_CC $ac_arg"
16213   if ac_fn_c_try_compile "$LINENO"; then :
16214   ac_cv_prog_cc_c89=$ac_arg
16215 fi
16216 rm -f core conftest.err conftest.$ac_objext
16217   test "x$ac_cv_prog_cc_c89" != "xno" && break
16218 done
16219 rm -f conftest.$ac_ext
16220 CC=$ac_save_CC
16221
16222 fi
16223 # AC_CACHE_VAL
16224 case "x$ac_cv_prog_cc_c89" in
16225   x)
16226     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
16227 $as_echo "none needed" >&6; } ;;
16228   xno)
16229     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
16230 $as_echo "unsupported" >&6; } ;;
16231   *)
16232     CC="$CC $ac_cv_prog_cc_c89"
16233     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
16234 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
16235 esac
16236 if test "x$ac_cv_prog_cc_c89" != xno; then :
16237   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
16238 else
16239   ac_cv_prog_cc_stdc=no
16240 fi
16241
16242 fi
16243  ;;
16244 esac
16245   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
16246 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
16247   if test "${ac_cv_prog_cc_stdc+set}" = set; then :
16248   $as_echo_n "(cached) " >&6
16249 fi
16250
16251   case $ac_cv_prog_cc_stdc in #(
16252   no) :
16253     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
16254 $as_echo "unsupported" >&6; } ;; #(
16255   '') :
16256     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
16257 $as_echo "none needed" >&6; } ;; #(
16258   *) :
16259     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
16260 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
16261 esac
16262
16263
16264 if test "x$CC" != xcc; then
16265   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
16266 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
16267 else
16268   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
16269 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
16270 fi
16271 set dummy $CC; ac_cc=`$as_echo "$2" |
16272                       sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
16273 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\"" = set; then :
16274   $as_echo_n "(cached) " >&6
16275 else
16276   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16277 /* end confdefs.h.  */
16278
16279 int
16280 main ()
16281 {
16282
16283   ;
16284   return 0;
16285 }
16286 _ACEOF
16287 # Make sure it works both with $CC and with simple cc.
16288 # We do the test twice because some compilers refuse to overwrite an
16289 # existing .o file with -o, though they will create one.
16290 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
16291 rm -f conftest2.*
16292 if { { case "(($ac_try" in
16293   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16294   *) ac_try_echo=$ac_try;;
16295 esac
16296 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16297 $as_echo "$ac_try_echo"; } >&5
16298   (eval "$ac_try") 2>&5
16299   ac_status=$?
16300   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16301   test $ac_status = 0; } &&
16302    test -f conftest2.$ac_objext && { { case "(($ac_try" in
16303   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16304   *) ac_try_echo=$ac_try;;
16305 esac
16306 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16307 $as_echo "$ac_try_echo"; } >&5
16308   (eval "$ac_try") 2>&5
16309   ac_status=$?
16310   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16311   test $ac_status = 0; };
16312 then
16313   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
16314   if test "x$CC" != xcc; then
16315     # Test first that cc exists at all.
16316     if { ac_try='cc -c conftest.$ac_ext >&5'
16317   { { case "(($ac_try" in
16318   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16319   *) ac_try_echo=$ac_try;;
16320 esac
16321 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16322 $as_echo "$ac_try_echo"; } >&5
16323   (eval "$ac_try") 2>&5
16324   ac_status=$?
16325   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16326   test $ac_status = 0; }; }; then
16327       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
16328       rm -f conftest2.*
16329       if { { case "(($ac_try" in
16330   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16331   *) ac_try_echo=$ac_try;;
16332 esac
16333 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16334 $as_echo "$ac_try_echo"; } >&5
16335   (eval "$ac_try") 2>&5
16336   ac_status=$?
16337   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16338   test $ac_status = 0; } &&
16339          test -f conftest2.$ac_objext && { { case "(($ac_try" in
16340   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16341   *) ac_try_echo=$ac_try;;
16342 esac
16343 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16344 $as_echo "$ac_try_echo"; } >&5
16345   (eval "$ac_try") 2>&5
16346   ac_status=$?
16347   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16348   test $ac_status = 0; };
16349       then
16350         # cc works too.
16351         :
16352       else
16353         # cc exists but doesn't like -o.
16354         eval ac_cv_prog_cc_${ac_cc}_c_o=no
16355       fi
16356     fi
16357   fi
16358 else
16359   eval ac_cv_prog_cc_${ac_cc}_c_o=no
16360 fi
16361 rm -f core conftest*
16362
16363 fi
16364 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
16365   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16366 $as_echo "yes" >&6; }
16367 else
16368   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16369 $as_echo "no" >&6; }
16370
16371 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
16372
16373 fi
16374
16375 # FIXME: we rely on the cache variable name because
16376 # there is no other way.
16377 set dummy $CC
16378 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
16379 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
16380 if test "$am_t" != yes; then
16381    # Losing compiler, so override with the script.
16382    # FIXME: It is wrong to rewrite CC.
16383    # But if we don't then we get into trouble of one sort or another.
16384    # A longer-term fix would be to have automake use am__CC in this case,
16385    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
16386    CC="$am_aux_dir/compile $CC"
16387 fi
16388
16389
16390
16391 ac_ext=cpp
16392 ac_cpp='$CXXCPP $CPPFLAGS'
16393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16396 if test -z "$CXX"; then
16397   if test -n "$CCC"; then
16398     CXX=$CCC
16399   else
16400     if test -n "$ac_tool_prefix"; then
16401   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16402   do
16403     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16404 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16406 $as_echo_n "checking for $ac_word... " >&6; }
16407 if test "${ac_cv_prog_CXX+set}" = set; then :
16408   $as_echo_n "(cached) " >&6
16409 else
16410   if test -n "$CXX"; then
16411   ac_cv_prog_CXX="$CXX" # Let the user override the test.
16412 else
16413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16414 for as_dir in $PATH
16415 do
16416   IFS=$as_save_IFS
16417   test -z "$as_dir" && as_dir=.
16418     for ac_exec_ext in '' $ac_executable_extensions; do
16419   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16420     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16421     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16422     break 2
16423   fi
16424 done
16425   done
16426 IFS=$as_save_IFS
16427
16428 fi
16429 fi
16430 CXX=$ac_cv_prog_CXX
16431 if test -n "$CXX"; then
16432   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
16433 $as_echo "$CXX" >&6; }
16434 else
16435   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16436 $as_echo "no" >&6; }
16437 fi
16438
16439
16440     test -n "$CXX" && break
16441   done
16442 fi
16443 if test -z "$CXX"; then
16444   ac_ct_CXX=$CXX
16445   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16446 do
16447   # Extract the first word of "$ac_prog", so it can be a program name with args.
16448 set dummy $ac_prog; ac_word=$2
16449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16450 $as_echo_n "checking for $ac_word... " >&6; }
16451 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
16452   $as_echo_n "(cached) " >&6
16453 else
16454   if test -n "$ac_ct_CXX"; then
16455   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
16456 else
16457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16458 for as_dir in $PATH
16459 do
16460   IFS=$as_save_IFS
16461   test -z "$as_dir" && as_dir=.
16462     for ac_exec_ext in '' $ac_executable_extensions; do
16463   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16464     ac_cv_prog_ac_ct_CXX="$ac_prog"
16465     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16466     break 2
16467   fi
16468 done
16469   done
16470 IFS=$as_save_IFS
16471
16472 fi
16473 fi
16474 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
16475 if test -n "$ac_ct_CXX"; then
16476   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
16477 $as_echo "$ac_ct_CXX" >&6; }
16478 else
16479   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16480 $as_echo "no" >&6; }
16481 fi
16482
16483
16484   test -n "$ac_ct_CXX" && break
16485 done
16486
16487   if test "x$ac_ct_CXX" = x; then
16488     CXX="g++"
16489   else
16490     case $cross_compiling:$ac_tool_warned in
16491 yes:)
16492 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16493 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16494 ac_tool_warned=yes ;;
16495 esac
16496     CXX=$ac_ct_CXX
16497   fi
16498 fi
16499
16500   fi
16501 fi
16502 # Provide some information about the compiler.
16503 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
16504 set X $ac_compile
16505 ac_compiler=$2
16506 for ac_option in --version -v -V -qversion; do
16507   { { ac_try="$ac_compiler $ac_option >&5"
16508 case "(($ac_try" in
16509   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16510   *) ac_try_echo=$ac_try;;
16511 esac
16512 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16513 $as_echo "$ac_try_echo"; } >&5
16514   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
16515   ac_status=$?
16516   if test -s conftest.err; then
16517     sed '10a\
16518 ... rest of stderr output deleted ...
16519          10q' conftest.err >conftest.er1
16520     cat conftest.er1 >&5
16521   fi
16522   rm -f conftest.er1 conftest.err
16523   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16524   test $ac_status = 0; }
16525 done
16526
16527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
16528 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
16529 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
16530   $as_echo_n "(cached) " >&6
16531 else
16532   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16533 /* end confdefs.h.  */
16534
16535 int
16536 main ()
16537 {
16538 #ifndef __GNUC__
16539        choke me
16540 #endif
16541
16542   ;
16543   return 0;
16544 }
16545 _ACEOF
16546 if ac_fn_cxx_try_compile "$LINENO"; then :
16547   ac_compiler_gnu=yes
16548 else
16549   ac_compiler_gnu=no
16550 fi
16551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16552 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
16553
16554 fi
16555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
16556 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
16557 if test $ac_compiler_gnu = yes; then
16558   GXX=yes
16559 else
16560   GXX=
16561 fi
16562 ac_test_CXXFLAGS=${CXXFLAGS+set}
16563 ac_save_CXXFLAGS=$CXXFLAGS
16564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
16565 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
16566 if test "${ac_cv_prog_cxx_g+set}" = set; then :
16567   $as_echo_n "(cached) " >&6
16568 else
16569   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
16570    ac_cxx_werror_flag=yes
16571    ac_cv_prog_cxx_g=no
16572    CXXFLAGS="-g"
16573    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16574 /* end confdefs.h.  */
16575
16576 int
16577 main ()
16578 {
16579
16580   ;
16581   return 0;
16582 }
16583 _ACEOF
16584 if ac_fn_cxx_try_compile "$LINENO"; then :
16585   ac_cv_prog_cxx_g=yes
16586 else
16587   CXXFLAGS=""
16588       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16589 /* end confdefs.h.  */
16590
16591 int
16592 main ()
16593 {
16594
16595   ;
16596   return 0;
16597 }
16598 _ACEOF
16599 if ac_fn_cxx_try_compile "$LINENO"; then :
16600
16601 else
16602   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16603          CXXFLAGS="-g"
16604          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16605 /* end confdefs.h.  */
16606
16607 int
16608 main ()
16609 {
16610
16611   ;
16612   return 0;
16613 }
16614 _ACEOF
16615 if ac_fn_cxx_try_compile "$LINENO"; then :
16616   ac_cv_prog_cxx_g=yes
16617 fi
16618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16619 fi
16620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16621 fi
16622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16623    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16624 fi
16625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
16626 $as_echo "$ac_cv_prog_cxx_g" >&6; }
16627 if test "$ac_test_CXXFLAGS" = set; then
16628   CXXFLAGS=$ac_save_CXXFLAGS
16629 elif test $ac_cv_prog_cxx_g = yes; then
16630   if test "$GXX" = yes; then
16631     CXXFLAGS="-g -O2"
16632   else
16633     CXXFLAGS="-g"
16634   fi
16635 else
16636   if test "$GXX" = yes; then
16637     CXXFLAGS="-O2"
16638   else
16639     CXXFLAGS=
16640   fi
16641 fi
16642 ac_ext=c
16643 ac_cpp='$CPP $CPPFLAGS'
16644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16647
16648 depcc="$CXX"  am_compiler_list=
16649
16650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
16651 $as_echo_n "checking dependency style of $depcc... " >&6; }
16652 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
16653   $as_echo_n "(cached) " >&6
16654 else
16655   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
16656   # We make a subdir and do the tests there.  Otherwise we can end up
16657   # making bogus files that we don't know about and never remove.  For
16658   # instance it was reported that on HP-UX the gcc test will end up
16659   # making a dummy file named `D' -- because `-MD' means `put the output
16660   # in D'.
16661   mkdir conftest.dir
16662   # Copy depcomp to subdir because otherwise we won't find it if we're
16663   # using a relative directory.
16664   cp "$am_depcomp" conftest.dir
16665   cd conftest.dir
16666   # We will build objects and dependencies in a subdirectory because
16667   # it helps to detect inapplicable dependency modes.  For instance
16668   # both Tru64's cc and ICC support -MD to output dependencies as a
16669   # side effect of compilation, but ICC will put the dependencies in
16670   # the current directory while Tru64 will put them in the object
16671   # directory.
16672   mkdir sub
16673
16674   am_cv_CXX_dependencies_compiler_type=none
16675   if test "$am_compiler_list" = ""; then
16676      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
16677   fi
16678   am__universal=false
16679   case " $depcc " in #(
16680      *\ -arch\ *\ -arch\ *) am__universal=true ;;
16681      esac
16682
16683   for depmode in $am_compiler_list; do
16684     # Setup a source with many dependencies, because some compilers
16685     # like to wrap large dependency lists on column 80 (with \), and
16686     # we should not choose a depcomp mode which is confused by this.
16687     #
16688     # We need to recreate these files for each test, as the compiler may
16689     # overwrite some of them when testing with obscure command lines.
16690     # This happens at least with the AIX C compiler.
16691     : > sub/conftest.c
16692     for i in 1 2 3 4 5 6; do
16693       echo '#include "conftst'$i'.h"' >> sub/conftest.c
16694       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
16695       # Solaris 8's {/usr,}/bin/sh.
16696       touch sub/conftst$i.h
16697     done
16698     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
16699
16700     # We check with `-c' and `-o' for the sake of the "dashmstdout"
16701     # mode.  It turns out that the SunPro C++ compiler does not properly
16702     # handle `-M -o', and we need to detect this.  Also, some Intel
16703     # versions had trouble with output in subdirs
16704     am__obj=sub/conftest.${OBJEXT-o}
16705     am__minus_obj="-o $am__obj"
16706     case $depmode in
16707     gcc)
16708       # This depmode causes a compiler race in universal mode.
16709       test "$am__universal" = false || continue
16710       ;;
16711     nosideeffect)
16712       # after this tag, mechanisms are not by side-effect, so they'll
16713       # only be used when explicitly requested
16714       if test "x$enable_dependency_tracking" = xyes; then
16715         continue
16716       else
16717         break
16718       fi
16719       ;;
16720     msvisualcpp | msvcmsys)
16721       # This compiler won't grok `-c -o', but also, the minuso test has
16722       # not run yet.  These depmodes are late enough in the game, and
16723       # so weak that their functioning should not be impacted.
16724       am__obj=conftest.${OBJEXT-o}
16725       am__minus_obj=
16726       ;;
16727     none) break ;;
16728     esac
16729     if depmode=$depmode \
16730        source=sub/conftest.c object=$am__obj \
16731        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
16732        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
16733          >/dev/null 2>conftest.err &&
16734        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
16735        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
16736        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
16737        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
16738       # icc doesn't choke on unknown options, it will just issue warnings
16739       # or remarks (even with -Werror).  So we grep stderr for any message
16740       # that says an option was ignored or not supported.
16741       # When given -MP, icc 7.0 and 7.1 complain thusly:
16742       #   icc: Command line warning: ignoring option '-M'; no argument required
16743       # The diagnosis changed in icc 8.0:
16744       #   icc: Command line remark: option '-MP' not supported
16745       if (grep 'ignoring option' conftest.err ||
16746           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
16747         am_cv_CXX_dependencies_compiler_type=$depmode
16748         break
16749       fi
16750     fi
16751   done
16752
16753   cd ..
16754   rm -rf conftest.dir
16755 else
16756   am_cv_CXX_dependencies_compiler_type=none
16757 fi
16758
16759 fi
16760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
16761 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
16762 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
16763
16764  if
16765   test "x$enable_dependency_tracking" != xno \
16766   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
16767   am__fastdepCXX_TRUE=
16768   am__fastdepCXX_FALSE='#'
16769 else
16770   am__fastdepCXX_TRUE='#'
16771   am__fastdepCXX_FALSE=
16772 fi
16773
16774
16775
16776 ac_ext=cpp
16777 ac_cpp='$CXXCPP $CPPFLAGS'
16778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16781 if test -z "$CXX"; then
16782   if test -n "$CCC"; then
16783     CXX=$CCC
16784   else
16785     if test -n "$ac_tool_prefix"; then
16786   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16787   do
16788     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16789 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16791 $as_echo_n "checking for $ac_word... " >&6; }
16792 if test "${ac_cv_prog_CXX+set}" = set; then :
16793   $as_echo_n "(cached) " >&6
16794 else
16795   if test -n "$CXX"; then
16796   ac_cv_prog_CXX="$CXX" # Let the user override the test.
16797 else
16798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16799 for as_dir in $PATH
16800 do
16801   IFS=$as_save_IFS
16802   test -z "$as_dir" && as_dir=.
16803     for ac_exec_ext in '' $ac_executable_extensions; do
16804   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16805     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16806     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16807     break 2
16808   fi
16809 done
16810   done
16811 IFS=$as_save_IFS
16812
16813 fi
16814 fi
16815 CXX=$ac_cv_prog_CXX
16816 if test -n "$CXX"; then
16817   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
16818 $as_echo "$CXX" >&6; }
16819 else
16820   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16821 $as_echo "no" >&6; }
16822 fi
16823
16824
16825     test -n "$CXX" && break
16826   done
16827 fi
16828 if test -z "$CXX"; then
16829   ac_ct_CXX=$CXX
16830   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16831 do
16832   # Extract the first word of "$ac_prog", so it can be a program name with args.
16833 set dummy $ac_prog; ac_word=$2
16834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16835 $as_echo_n "checking for $ac_word... " >&6; }
16836 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
16837   $as_echo_n "(cached) " >&6
16838 else
16839   if test -n "$ac_ct_CXX"; then
16840   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
16841 else
16842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16843 for as_dir in $PATH
16844 do
16845   IFS=$as_save_IFS
16846   test -z "$as_dir" && as_dir=.
16847     for ac_exec_ext in '' $ac_executable_extensions; do
16848   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16849     ac_cv_prog_ac_ct_CXX="$ac_prog"
16850     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16851     break 2
16852   fi
16853 done
16854   done
16855 IFS=$as_save_IFS
16856
16857 fi
16858 fi
16859 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
16860 if test -n "$ac_ct_CXX"; then
16861   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
16862 $as_echo "$ac_ct_CXX" >&6; }
16863 else
16864   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16865 $as_echo "no" >&6; }
16866 fi
16867
16868
16869   test -n "$ac_ct_CXX" && break
16870 done
16871
16872   if test "x$ac_ct_CXX" = x; then
16873     CXX="g++"
16874   else
16875     case $cross_compiling:$ac_tool_warned in
16876 yes:)
16877 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16878 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16879 ac_tool_warned=yes ;;
16880 esac
16881     CXX=$ac_ct_CXX
16882   fi
16883 fi
16884
16885   fi
16886 fi
16887 # Provide some information about the compiler.
16888 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
16889 set X $ac_compile
16890 ac_compiler=$2
16891 for ac_option in --version -v -V -qversion; do
16892   { { ac_try="$ac_compiler $ac_option >&5"
16893 case "(($ac_try" in
16894   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16895   *) ac_try_echo=$ac_try;;
16896 esac
16897 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16898 $as_echo "$ac_try_echo"; } >&5
16899   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
16900   ac_status=$?
16901   if test -s conftest.err; then
16902     sed '10a\
16903 ... rest of stderr output deleted ...
16904          10q' conftest.err >conftest.er1
16905     cat conftest.er1 >&5
16906   fi
16907   rm -f conftest.er1 conftest.err
16908   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16909   test $ac_status = 0; }
16910 done
16911
16912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
16913 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
16914 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
16915   $as_echo_n "(cached) " >&6
16916 else
16917   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16918 /* end confdefs.h.  */
16919
16920 int
16921 main ()
16922 {
16923 #ifndef __GNUC__
16924        choke me
16925 #endif
16926
16927   ;
16928   return 0;
16929 }
16930 _ACEOF
16931 if ac_fn_cxx_try_compile "$LINENO"; then :
16932   ac_compiler_gnu=yes
16933 else
16934   ac_compiler_gnu=no
16935 fi
16936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16937 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
16938
16939 fi
16940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
16941 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
16942 if test $ac_compiler_gnu = yes; then
16943   GXX=yes
16944 else
16945   GXX=
16946 fi
16947 ac_test_CXXFLAGS=${CXXFLAGS+set}
16948 ac_save_CXXFLAGS=$CXXFLAGS
16949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
16950 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
16951 if test "${ac_cv_prog_cxx_g+set}" = set; then :
16952   $as_echo_n "(cached) " >&6
16953 else
16954   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
16955    ac_cxx_werror_flag=yes
16956    ac_cv_prog_cxx_g=no
16957    CXXFLAGS="-g"
16958    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16959 /* end confdefs.h.  */
16960
16961 int
16962 main ()
16963 {
16964
16965   ;
16966   return 0;
16967 }
16968 _ACEOF
16969 if ac_fn_cxx_try_compile "$LINENO"; then :
16970   ac_cv_prog_cxx_g=yes
16971 else
16972   CXXFLAGS=""
16973       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16974 /* end confdefs.h.  */
16975
16976 int
16977 main ()
16978 {
16979
16980   ;
16981   return 0;
16982 }
16983 _ACEOF
16984 if ac_fn_cxx_try_compile "$LINENO"; then :
16985
16986 else
16987   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16988          CXXFLAGS="-g"
16989          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16990 /* end confdefs.h.  */
16991
16992 int
16993 main ()
16994 {
16995
16996   ;
16997   return 0;
16998 }
16999 _ACEOF
17000 if ac_fn_cxx_try_compile "$LINENO"; then :
17001   ac_cv_prog_cxx_g=yes
17002 fi
17003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17004 fi
17005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17006 fi
17007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17008    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17009 fi
17010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
17011 $as_echo "$ac_cv_prog_cxx_g" >&6; }
17012 if test "$ac_test_CXXFLAGS" = set; then
17013   CXXFLAGS=$ac_save_CXXFLAGS
17014 elif test $ac_cv_prog_cxx_g = yes; then
17015   if test "$GXX" = yes; then
17016     CXXFLAGS="-g -O2"
17017   else
17018     CXXFLAGS="-g"
17019   fi
17020 else
17021   if test "$GXX" = yes; then
17022     CXXFLAGS="-O2"
17023   else
17024     CXXFLAGS=
17025   fi
17026 fi
17027 ac_ext=c
17028 ac_cpp='$CPP $CPPFLAGS'
17029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17032
17033 depcc="$CXX"  am_compiler_list=
17034
17035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
17036 $as_echo_n "checking dependency style of $depcc... " >&6; }
17037 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
17038   $as_echo_n "(cached) " >&6
17039 else
17040   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
17041   # We make a subdir and do the tests there.  Otherwise we can end up
17042   # making bogus files that we don't know about and never remove.  For
17043   # instance it was reported that on HP-UX the gcc test will end up
17044   # making a dummy file named `D' -- because `-MD' means `put the output
17045   # in D'.
17046   mkdir conftest.dir
17047   # Copy depcomp to subdir because otherwise we won't find it if we're
17048   # using a relative directory.
17049   cp "$am_depcomp" conftest.dir
17050   cd conftest.dir
17051   # We will build objects and dependencies in a subdirectory because
17052   # it helps to detect inapplicable dependency modes.  For instance
17053   # both Tru64's cc and ICC support -MD to output dependencies as a
17054   # side effect of compilation, but ICC will put the dependencies in
17055   # the current directory while Tru64 will put them in the object
17056   # directory.
17057   mkdir sub
17058
17059   am_cv_CXX_dependencies_compiler_type=none
17060   if test "$am_compiler_list" = ""; then
17061      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
17062   fi
17063   am__universal=false
17064   case " $depcc " in #(
17065      *\ -arch\ *\ -arch\ *) am__universal=true ;;
17066      esac
17067
17068   for depmode in $am_compiler_list; do
17069     # Setup a source with many dependencies, because some compilers
17070     # like to wrap large dependency lists on column 80 (with \), and
17071     # we should not choose a depcomp mode which is confused by this.
17072     #
17073     # We need to recreate these files for each test, as the compiler may
17074     # overwrite some of them when testing with obscure command lines.
17075     # This happens at least with the AIX C compiler.
17076     : > sub/conftest.c
17077     for i in 1 2 3 4 5 6; do
17078       echo '#include "conftst'$i'.h"' >> sub/conftest.c
17079       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
17080       # Solaris 8's {/usr,}/bin/sh.
17081       touch sub/conftst$i.h
17082     done
17083     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
17084
17085     # We check with `-c' and `-o' for the sake of the "dashmstdout"
17086     # mode.  It turns out that the SunPro C++ compiler does not properly
17087     # handle `-M -o', and we need to detect this.  Also, some Intel
17088     # versions had trouble with output in subdirs
17089     am__obj=sub/conftest.${OBJEXT-o}
17090     am__minus_obj="-o $am__obj"
17091     case $depmode in
17092     gcc)
17093       # This depmode causes a compiler race in universal mode.
17094       test "$am__universal" = false || continue
17095       ;;
17096     nosideeffect)
17097       # after this tag, mechanisms are not by side-effect, so they'll
17098       # only be used when explicitly requested
17099       if test "x$enable_dependency_tracking" = xyes; then
17100         continue
17101       else
17102         break
17103       fi
17104       ;;
17105     msvisualcpp | msvcmsys)
17106       # This compiler won't grok `-c -o', but also, the minuso test has
17107       # not run yet.  These depmodes are late enough in the game, and
17108       # so weak that their functioning should not be impacted.
17109       am__obj=conftest.${OBJEXT-o}
17110       am__minus_obj=
17111       ;;
17112     none) break ;;
17113     esac
17114     if depmode=$depmode \
17115        source=sub/conftest.c object=$am__obj \
17116        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
17117        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
17118          >/dev/null 2>conftest.err &&
17119        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
17120        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
17121        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
17122        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
17123       # icc doesn't choke on unknown options, it will just issue warnings
17124       # or remarks (even with -Werror).  So we grep stderr for any message
17125       # that says an option was ignored or not supported.
17126       # When given -MP, icc 7.0 and 7.1 complain thusly:
17127       #   icc: Command line warning: ignoring option '-M'; no argument required
17128       # The diagnosis changed in icc 8.0:
17129       #   icc: Command line remark: option '-MP' not supported
17130       if (grep 'ignoring option' conftest.err ||
17131           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
17132         am_cv_CXX_dependencies_compiler_type=$depmode
17133         break
17134       fi
17135     fi
17136   done
17137
17138   cd ..
17139   rm -rf conftest.dir
17140 else
17141   am_cv_CXX_dependencies_compiler_type=none
17142 fi
17143
17144 fi
17145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
17146 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
17147 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
17148
17149  if
17150   test "x$enable_dependency_tracking" != xno \
17151   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
17152   am__fastdepCXX_TRUE=
17153   am__fastdepCXX_FALSE='#'
17154 else
17155   am__fastdepCXX_TRUE='#'
17156   am__fastdepCXX_FALSE=
17157 fi
17158
17159
17160 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
17161     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
17162     (test "X$CXX" != "Xg++"))) ; then
17163   ac_ext=cpp
17164 ac_cpp='$CXXCPP $CPPFLAGS'
17165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
17169 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
17170 if test -z "$CXXCPP"; then
17171   if test "${ac_cv_prog_CXXCPP+set}" = set; then :
17172   $as_echo_n "(cached) " >&6
17173 else
17174       # Double quotes because CXXCPP needs to be expanded
17175     for CXXCPP in "$CXX -E" "/lib/cpp"
17176     do
17177       ac_preproc_ok=false
17178 for ac_cxx_preproc_warn_flag in '' yes
17179 do
17180   # Use a header file that comes with gcc, so configuring glibc
17181   # with a fresh cross-compiler works.
17182   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17183   # <limits.h> exists even on freestanding compilers.
17184   # On the NeXT, cc -E runs the code through the compiler's parser,
17185   # not just through cpp. "Syntax error" is here to catch this case.
17186   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17187 /* end confdefs.h.  */
17188 #ifdef __STDC__
17189 # include <limits.h>
17190 #else
17191 # include <assert.h>
17192 #endif
17193                      Syntax error
17194 _ACEOF
17195 if ac_fn_cxx_try_cpp "$LINENO"; then :
17196
17197 else
17198   # Broken: fails on valid input.
17199 continue
17200 fi
17201 rm -f conftest.err conftest.i conftest.$ac_ext
17202
17203   # OK, works on sane cases.  Now check whether nonexistent headers
17204   # can be detected and how.
17205   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17206 /* end confdefs.h.  */
17207 #include <ac_nonexistent.h>
17208 _ACEOF
17209 if ac_fn_cxx_try_cpp "$LINENO"; then :
17210   # Broken: success on invalid input.
17211 continue
17212 else
17213   # Passes both tests.
17214 ac_preproc_ok=:
17215 break
17216 fi
17217 rm -f conftest.err conftest.i conftest.$ac_ext
17218
17219 done
17220 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17221 rm -f conftest.i conftest.err conftest.$ac_ext
17222 if $ac_preproc_ok; then :
17223   break
17224 fi
17225
17226     done
17227     ac_cv_prog_CXXCPP=$CXXCPP
17228
17229 fi
17230   CXXCPP=$ac_cv_prog_CXXCPP
17231 else
17232   ac_cv_prog_CXXCPP=$CXXCPP
17233 fi
17234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
17235 $as_echo "$CXXCPP" >&6; }
17236 ac_preproc_ok=false
17237 for ac_cxx_preproc_warn_flag in '' yes
17238 do
17239   # Use a header file that comes with gcc, so configuring glibc
17240   # with a fresh cross-compiler works.
17241   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17242   # <limits.h> exists even on freestanding compilers.
17243   # On the NeXT, cc -E runs the code through the compiler's parser,
17244   # not just through cpp. "Syntax error" is here to catch this case.
17245   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17246 /* end confdefs.h.  */
17247 #ifdef __STDC__
17248 # include <limits.h>
17249 #else
17250 # include <assert.h>
17251 #endif
17252                      Syntax error
17253 _ACEOF
17254 if ac_fn_cxx_try_cpp "$LINENO"; then :
17255
17256 else
17257   # Broken: fails on valid input.
17258 continue
17259 fi
17260 rm -f conftest.err conftest.i conftest.$ac_ext
17261
17262   # OK, works on sane cases.  Now check whether nonexistent headers
17263   # can be detected and how.
17264   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17265 /* end confdefs.h.  */
17266 #include <ac_nonexistent.h>
17267 _ACEOF
17268 if ac_fn_cxx_try_cpp "$LINENO"; then :
17269   # Broken: success on invalid input.
17270 continue
17271 else
17272   # Passes both tests.
17273 ac_preproc_ok=:
17274 break
17275 fi
17276 rm -f conftest.err conftest.i conftest.$ac_ext
17277
17278 done
17279 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17280 rm -f conftest.i conftest.err conftest.$ac_ext
17281 if $ac_preproc_ok; then :
17282
17283 else
17284   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17285 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17286 _lt_caught_CXX_error=yes; }
17287 fi
17288
17289 ac_ext=c
17290 ac_cpp='$CPP $CPPFLAGS'
17291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17294
17295 else
17296   _lt_caught_CXX_error=yes
17297 fi
17298
17299
17300
17301
17302 ac_ext=cpp
17303 ac_cpp='$CXXCPP $CPPFLAGS'
17304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17307
17308 archive_cmds_need_lc_CXX=no
17309 allow_undefined_flag_CXX=
17310 always_export_symbols_CXX=no
17311 archive_expsym_cmds_CXX=
17312 compiler_needs_object_CXX=no
17313 export_dynamic_flag_spec_CXX=
17314 hardcode_direct_CXX=no
17315 hardcode_direct_absolute_CXX=no
17316 hardcode_libdir_flag_spec_CXX=
17317 hardcode_libdir_flag_spec_ld_CXX=
17318 hardcode_libdir_separator_CXX=
17319 hardcode_minus_L_CXX=no
17320 hardcode_shlibpath_var_CXX=unsupported
17321 hardcode_automatic_CXX=no
17322 inherit_rpath_CXX=no
17323 module_cmds_CXX=
17324 module_expsym_cmds_CXX=
17325 link_all_deplibs_CXX=unknown
17326 old_archive_cmds_CXX=$old_archive_cmds
17327 no_undefined_flag_CXX=
17328 whole_archive_flag_spec_CXX=
17329 enable_shared_with_static_runtimes_CXX=no
17330
17331 # Source file extension for C++ test sources.
17332 ac_ext=cpp
17333
17334 # Object file extension for compiled C++ test sources.
17335 objext=o
17336 objext_CXX=$objext
17337
17338 # No sense in running all these tests if we already determined that
17339 # the CXX compiler isn't working.  Some variables (like enable_shared)
17340 # are currently assumed to apply to all compilers on this platform,
17341 # and will be corrupted by setting them based on a non-working compiler.
17342 if test "$_lt_caught_CXX_error" != yes; then
17343   # Code to be used in simple compile tests
17344   lt_simple_compile_test_code="int some_variable = 0;"
17345
17346   # Code to be used in simple link tests
17347   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
17348
17349   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
17350
17351
17352
17353
17354
17355
17356 # If no C compiler was specified, use CC.
17357 LTCC=${LTCC-"$CC"}
17358
17359 # If no C compiler flags were specified, use CFLAGS.
17360 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
17361
17362 # Allow CC to be a program name with arguments.
17363 compiler=$CC
17364
17365
17366   # save warnings/boilerplate of simple test code
17367   ac_outfile=conftest.$ac_objext
17368 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
17369 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17370 _lt_compiler_boilerplate=`cat conftest.err`
17371 $RM conftest*
17372
17373   ac_outfile=conftest.$ac_objext
17374 echo "$lt_simple_link_test_code" >conftest.$ac_ext
17375 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17376 _lt_linker_boilerplate=`cat conftest.err`
17377 $RM -r conftest*
17378
17379
17380   # Allow CC to be a program name with arguments.
17381   lt_save_CC=$CC
17382   lt_save_LD=$LD
17383   lt_save_GCC=$GCC
17384   GCC=$GXX
17385   lt_save_with_gnu_ld=$with_gnu_ld
17386   lt_save_path_LD=$lt_cv_path_LD
17387   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
17388     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
17389   else
17390     $as_unset lt_cv_prog_gnu_ld
17391   fi
17392   if test -n "${lt_cv_path_LDCXX+set}"; then
17393     lt_cv_path_LD=$lt_cv_path_LDCXX
17394   else
17395     $as_unset lt_cv_path_LD
17396   fi
17397   test -z "${LDCXX+set}" || LD=$LDCXX
17398   CC=${CXX-"c++"}
17399   compiler=$CC
17400   compiler_CXX=$CC
17401   for cc_temp in $compiler""; do
17402   case $cc_temp in
17403     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17404     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17405     \-*) ;;
17406     *) break;;
17407   esac
17408 done
17409 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17410
17411
17412   if test -n "$compiler"; then
17413     # We don't want -fno-exception when compiling C++ code, so set the
17414     # no_builtin_flag separately
17415     if test "$GXX" = yes; then
17416       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
17417     else
17418       lt_prog_compiler_no_builtin_flag_CXX=
17419     fi
17420
17421     if test "$GXX" = yes; then
17422       # Set up default GNU C++ configuration
17423
17424
17425
17426 # Check whether --with-gnu-ld was given.
17427 if test "${with_gnu_ld+set}" = set; then :
17428   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
17429 else
17430   with_gnu_ld=no
17431 fi
17432
17433 ac_prog=ld
17434 if test "$GCC" = yes; then
17435   # Check if gcc -print-prog-name=ld gives a path.
17436   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
17437 $as_echo_n "checking for ld used by $CC... " >&6; }
17438   case $host in
17439   *-*-mingw*)
17440     # gcc leaves a trailing carriage return which upsets mingw
17441     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
17442   *)
17443     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
17444   esac
17445   case $ac_prog in
17446     # Accept absolute paths.
17447     [\\/]* | ?:[\\/]*)
17448       re_direlt='/[^/][^/]*/\.\./'
17449       # Canonicalize the pathname of ld
17450       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
17451       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
17452         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
17453       done
17454       test -z "$LD" && LD="$ac_prog"
17455       ;;
17456   "")
17457     # If it fails, then pretend we aren't using GCC.
17458     ac_prog=ld
17459     ;;
17460   *)
17461     # If it is relative, then search for the first ld in PATH.
17462     with_gnu_ld=unknown
17463     ;;
17464   esac
17465 elif test "$with_gnu_ld" = yes; then
17466   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
17467 $as_echo_n "checking for GNU ld... " >&6; }
17468 else
17469   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
17470 $as_echo_n "checking for non-GNU ld... " >&6; }
17471 fi
17472 if test "${lt_cv_path_LD+set}" = set; then :
17473   $as_echo_n "(cached) " >&6
17474 else
17475   if test -z "$LD"; then
17476   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
17477   for ac_dir in $PATH; do
17478     IFS="$lt_save_ifs"
17479     test -z "$ac_dir" && ac_dir=.
17480     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
17481       lt_cv_path_LD="$ac_dir/$ac_prog"
17482       # Check to see if the program is GNU ld.  I'd rather use --version,
17483       # but apparently some variants of GNU ld only accept -v.
17484       # Break only if it was the GNU/non-GNU ld that we prefer.
17485       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
17486       *GNU* | *'with BFD'*)
17487         test "$with_gnu_ld" != no && break
17488         ;;
17489       *)
17490         test "$with_gnu_ld" != yes && break
17491         ;;
17492       esac
17493     fi
17494   done
17495   IFS="$lt_save_ifs"
17496 else
17497   lt_cv_path_LD="$LD" # Let the user override the test with a path.
17498 fi
17499 fi
17500
17501 LD="$lt_cv_path_LD"
17502 if test -n "$LD"; then
17503   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
17504 $as_echo "$LD" >&6; }
17505 else
17506   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17507 $as_echo "no" >&6; }
17508 fi
17509 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
17510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
17511 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
17512 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
17513   $as_echo_n "(cached) " >&6
17514 else
17515   # I'd rather use --version here, but apparently some GNU lds only accept -v.
17516 case `$LD -v 2>&1 </dev/null` in
17517 *GNU* | *'with BFD'*)
17518   lt_cv_prog_gnu_ld=yes
17519   ;;
17520 *)
17521   lt_cv_prog_gnu_ld=no
17522   ;;
17523 esac
17524 fi
17525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
17526 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
17527 with_gnu_ld=$lt_cv_prog_gnu_ld
17528
17529
17530
17531
17532
17533
17534
17535       # Check if GNU C++ uses GNU ld as the underlying linker, since the
17536       # archiving commands below assume that GNU ld is being used.
17537       if test "$with_gnu_ld" = yes; then
17538         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
17539         archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17540
17541         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
17542         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
17543
17544         # If archive_cmds runs LD, not CC, wlarc should be empty
17545         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
17546         #     investigate it a little bit more. (MM)
17547         wlarc='${wl}'
17548
17549         # ancient GNU ld didn't support --whole-archive et. al.
17550         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
17551           $GREP 'no-whole-archive' > /dev/null; then
17552           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17553         else
17554           whole_archive_flag_spec_CXX=
17555         fi
17556       else
17557         with_gnu_ld=no
17558         wlarc=
17559
17560         # A generic and very simple default shared library creation
17561         # command for GNU C++ for the case where it uses the native
17562         # linker, instead of GNU ld.  If possible, this setting should
17563         # overridden to take advantage of the native linker features on
17564         # the platform it is being used on.
17565         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
17566       fi
17567
17568       # Commands to make compiler produce verbose output that lists
17569       # what "hidden" libraries, object files and flags are used when
17570       # linking a shared library.
17571       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
17572
17573     else
17574       GXX=no
17575       with_gnu_ld=no
17576       wlarc=
17577     fi
17578
17579     # PORTME: fill in a description of your system's C++ link characteristics
17580     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17581 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
17582     ld_shlibs_CXX=yes
17583     case $host_os in
17584       aix3*)
17585         # FIXME: insert proper C++ library support
17586         ld_shlibs_CXX=no
17587         ;;
17588       aix[4-9]*)
17589         if test "$host_cpu" = ia64; then
17590           # On IA64, the linker does run time linking by default, so we don't
17591           # have to do anything special.
17592           aix_use_runtimelinking=no
17593           exp_sym_flag='-Bexport'
17594           no_entry_flag=""
17595         else
17596           aix_use_runtimelinking=no
17597
17598           # Test if we are trying to use run time linking or normal
17599           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17600           # need to do runtime linking.
17601           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
17602             for ld_flag in $LDFLAGS; do
17603               case $ld_flag in
17604               *-brtl*)
17605                 aix_use_runtimelinking=yes
17606                 break
17607                 ;;
17608               esac
17609             done
17610             ;;
17611           esac
17612
17613           exp_sym_flag='-bexport'
17614           no_entry_flag='-bnoentry'
17615         fi
17616
17617         # When large executables or shared objects are built, AIX ld can
17618         # have problems creating the table of contents.  If linking a library
17619         # or program results in "error TOC overflow" add -mminimal-toc to
17620         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
17621         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17622
17623         archive_cmds_CXX=''
17624         hardcode_direct_CXX=yes
17625         hardcode_direct_absolute_CXX=yes
17626         hardcode_libdir_separator_CXX=':'
17627         link_all_deplibs_CXX=yes
17628         file_list_spec_CXX='${wl}-f,'
17629
17630         if test "$GXX" = yes; then
17631           case $host_os in aix4.[012]|aix4.[012].*)
17632           # We only want to do this on AIX 4.2 and lower, the check
17633           # below for broken collect2 doesn't work under 4.3+
17634           collect2name=`${CC} -print-prog-name=collect2`
17635           if test -f "$collect2name" &&
17636              strings "$collect2name" | $GREP resolve_lib_name >/dev/null
17637           then
17638             # We have reworked collect2
17639             :
17640           else
17641             # We have old collect2
17642             hardcode_direct_CXX=unsupported
17643             # It fails to find uninstalled libraries when the uninstalled
17644             # path is not listed in the libpath.  Setting hardcode_minus_L
17645             # to unsupported forces relinking
17646             hardcode_minus_L_CXX=yes
17647             hardcode_libdir_flag_spec_CXX='-L$libdir'
17648             hardcode_libdir_separator_CXX=
17649           fi
17650           esac
17651           shared_flag='-shared'
17652           if test "$aix_use_runtimelinking" = yes; then
17653             shared_flag="$shared_flag "'${wl}-G'
17654           fi
17655         else
17656           # not using gcc
17657           if test "$host_cpu" = ia64; then
17658           # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17659           # chokes on -Wl,-G. The following line is correct:
17660           shared_flag='-G'
17661           else
17662             if test "$aix_use_runtimelinking" = yes; then
17663               shared_flag='${wl}-G'
17664             else
17665               shared_flag='${wl}-bM:SRE'
17666             fi
17667           fi
17668         fi
17669
17670         export_dynamic_flag_spec_CXX='${wl}-bexpall'
17671         # It seems that -bexpall does not export symbols beginning with
17672         # underscore (_), so it is better to generate a list of symbols to
17673         # export.
17674         always_export_symbols_CXX=yes
17675         if test "$aix_use_runtimelinking" = yes; then
17676           # Warning - without using the other runtime loading flags (-brtl),
17677           # -berok will link without error, but may produce a broken library.
17678           allow_undefined_flag_CXX='-berok'
17679           # Determine the default libpath from the value encoded in an empty
17680           # executable.
17681           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17682 /* end confdefs.h.  */
17683
17684 int
17685 main ()
17686 {
17687
17688   ;
17689   return 0;
17690 }
17691 _ACEOF
17692 if ac_fn_cxx_try_link "$LINENO"; then :
17693
17694 lt_aix_libpath_sed='
17695     /Import File Strings/,/^$/ {
17696         /^0/ {
17697             s/^0  *\(.*\)$/\1/
17698             p
17699         }
17700     }'
17701 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17702 # Check for a 64-bit object if we didn't find anything.
17703 if test -z "$aix_libpath"; then
17704   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17705 fi
17706 fi
17707 rm -f core conftest.err conftest.$ac_objext \
17708     conftest$ac_exeext conftest.$ac_ext
17709 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17710
17711           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
17712
17713           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 $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
17714         else
17715           if test "$host_cpu" = ia64; then
17716             hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
17717             allow_undefined_flag_CXX="-z nodefs"
17718             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"
17719           else
17720             # Determine the default libpath from the value encoded in an
17721             # empty executable.
17722             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17723 /* end confdefs.h.  */
17724
17725 int
17726 main ()
17727 {
17728
17729   ;
17730   return 0;
17731 }
17732 _ACEOF
17733 if ac_fn_cxx_try_link "$LINENO"; then :
17734
17735 lt_aix_libpath_sed='
17736     /Import File Strings/,/^$/ {
17737         /^0/ {
17738             s/^0  *\(.*\)$/\1/
17739             p
17740         }
17741     }'
17742 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17743 # Check for a 64-bit object if we didn't find anything.
17744 if test -z "$aix_libpath"; then
17745   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17746 fi
17747 fi
17748 rm -f core conftest.err conftest.$ac_objext \
17749     conftest$ac_exeext conftest.$ac_ext
17750 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17751
17752             hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
17753             # Warning - without using the other run time loading flags,
17754             # -berok will link without error, but may produce a broken library.
17755             no_undefined_flag_CXX=' ${wl}-bernotok'
17756             allow_undefined_flag_CXX=' ${wl}-berok'
17757             # Exported symbols can be pulled into shared objects from archives
17758             whole_archive_flag_spec_CXX='$convenience'
17759             archive_cmds_need_lc_CXX=yes
17760             # This is similar to how AIX traditionally builds its shared
17761             # libraries.
17762             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'
17763           fi
17764         fi
17765         ;;
17766
17767       beos*)
17768         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
17769           allow_undefined_flag_CXX=unsupported
17770           # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17771           # support --undefined.  This deserves some investigation.  FIXME
17772           archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17773         else
17774           ld_shlibs_CXX=no
17775         fi
17776         ;;
17777
17778       chorus*)
17779         case $cc_basename in
17780           *)
17781           # FIXME: insert proper C++ library support
17782           ld_shlibs_CXX=no
17783           ;;
17784         esac
17785         ;;
17786
17787       cygwin* | mingw* | pw32* | cegcc*)
17788         # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
17789         # as there is no search path for DLLs.
17790         hardcode_libdir_flag_spec_CXX='-L$libdir'
17791         allow_undefined_flag_CXX=unsupported
17792         always_export_symbols_CXX=no
17793         enable_shared_with_static_runtimes_CXX=yes
17794
17795         if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
17796           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'
17797           # If the export-symbols file already is a .def file (1st line
17798           # is EXPORTS), use it as is; otherwise, prepend...
17799           archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17800             cp $export_symbols $output_objdir/$soname.def;
17801           else
17802             echo EXPORTS > $output_objdir/$soname.def;
17803             cat $export_symbols >> $output_objdir/$soname.def;
17804           fi~
17805           $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'
17806         else
17807           ld_shlibs_CXX=no
17808         fi
17809         ;;
17810       darwin* | rhapsody*)
17811
17812
17813   archive_cmds_need_lc_CXX=no
17814   hardcode_direct_CXX=no
17815   hardcode_automatic_CXX=yes
17816   hardcode_shlibpath_var_CXX=unsupported
17817   whole_archive_flag_spec_CXX=''
17818   link_all_deplibs_CXX=yes
17819   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
17820   case $cc_basename in
17821      ifort*) _lt_dar_can_shared=yes ;;
17822      *) _lt_dar_can_shared=$GCC ;;
17823   esac
17824   if test "$_lt_dar_can_shared" = "yes"; then
17825     output_verbose_link_cmd=echo
17826     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}"
17827     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
17828     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}"
17829     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}"
17830        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
17831       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}"
17832       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}"
17833     fi
17834
17835   else
17836   ld_shlibs_CXX=no
17837   fi
17838
17839         ;;
17840
17841       dgux*)
17842         case $cc_basename in
17843           ec++*)
17844             # FIXME: insert proper C++ library support
17845             ld_shlibs_CXX=no
17846             ;;
17847           ghcx*)
17848             # Green Hills C++ Compiler
17849             # FIXME: insert proper C++ library support
17850             ld_shlibs_CXX=no
17851             ;;
17852           *)
17853             # FIXME: insert proper C++ library support
17854             ld_shlibs_CXX=no
17855             ;;
17856         esac
17857         ;;
17858
17859       freebsd[12]*)
17860         # C++ shared libraries reported to be fairly broken before
17861         # switch to ELF
17862         ld_shlibs_CXX=no
17863         ;;
17864
17865       freebsd-elf*)
17866         archive_cmds_need_lc_CXX=no
17867         ;;
17868
17869       freebsd* | dragonfly*)
17870         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
17871         # conventions
17872         ld_shlibs_CXX=yes
17873         ;;
17874
17875       gnu*)
17876         ;;
17877
17878       hpux9*)
17879         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
17880         hardcode_libdir_separator_CXX=:
17881         export_dynamic_flag_spec_CXX='${wl}-E'
17882         hardcode_direct_CXX=yes
17883         hardcode_minus_L_CXX=yes # Not in the search PATH,
17884                                              # but as the default
17885                                              # location of the library.
17886
17887         case $cc_basename in
17888           CC*)
17889             # FIXME: insert proper C++ library support
17890             ld_shlibs_CXX=no
17891             ;;
17892           aCC*)
17893             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'
17894             # Commands to make compiler produce verbose output that lists
17895             # what "hidden" libraries, object files and flags are used when
17896             # linking a shared library.
17897             #
17898             # There doesn't appear to be a way to prevent this compiler from
17899             # explicitly linking system object files so we need to strip them
17900             # from the output so that they don't get included in the library
17901             # dependencies.
17902             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; $ECHO "X$list" | $Xsed'
17903             ;;
17904           *)
17905             if test "$GXX" = yes; then
17906               archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${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'
17907             else
17908               # FIXME: insert proper C++ library support
17909               ld_shlibs_CXX=no
17910             fi
17911             ;;
17912         esac
17913         ;;
17914
17915       hpux10*|hpux11*)
17916         if test $with_gnu_ld = no; then
17917           hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
17918           hardcode_libdir_separator_CXX=:
17919
17920           case $host_cpu in
17921             hppa*64*|ia64*)
17922               ;;
17923             *)
17924               export_dynamic_flag_spec_CXX='${wl}-E'
17925               ;;
17926           esac
17927         fi
17928         case $host_cpu in
17929           hppa*64*|ia64*)
17930             hardcode_direct_CXX=no
17931             hardcode_shlibpath_var_CXX=no
17932             ;;
17933           *)
17934             hardcode_direct_CXX=yes
17935             hardcode_direct_absolute_CXX=yes
17936             hardcode_minus_L_CXX=yes # Not in the search PATH,
17937                                                  # but as the default
17938                                                  # location of the library.
17939             ;;
17940         esac
17941
17942         case $cc_basename in
17943           CC*)
17944             # FIXME: insert proper C++ library support
17945             ld_shlibs_CXX=no
17946             ;;
17947           aCC*)
17948             case $host_cpu in
17949               hppa*64*)
17950                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17951                 ;;
17952               ia64*)
17953                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17954                 ;;
17955               *)
17956                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17957                 ;;
17958             esac
17959             # Commands to make compiler produce verbose output that lists
17960             # what "hidden" libraries, object files and flags are used when
17961             # linking a shared library.
17962             #
17963             # There doesn't appear to be a way to prevent this compiler from
17964             # explicitly linking system object files so we need to strip them
17965             # from the output so that they don't get included in the library
17966             # dependencies.
17967             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; $ECHO "X$list" | $Xsed'
17968             ;;
17969           *)
17970             if test "$GXX" = yes; then
17971               if test $with_gnu_ld = no; then
17972                 case $host_cpu in
17973                   hppa*64*)
17974                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17975                     ;;
17976                   ia64*)
17977                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17978                     ;;
17979                   *)
17980                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17981                     ;;
17982                 esac
17983               fi
17984             else
17985               # FIXME: insert proper C++ library support
17986               ld_shlibs_CXX=no
17987             fi
17988             ;;
17989         esac
17990         ;;
17991
17992       interix[3-9]*)
17993         hardcode_direct_CXX=no
17994         hardcode_shlibpath_var_CXX=no
17995         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
17996         export_dynamic_flag_spec_CXX='${wl}-E'
17997         # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17998         # Instead, shared libraries are loaded at an image base (0x10000000 by
17999         # default) and relocated if they conflict, which is a slow very memory
18000         # consuming and fragmenting process.  To avoid this, we pick a random,
18001         # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
18002         # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
18003         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'
18004         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'
18005         ;;
18006       irix5* | irix6*)
18007         case $cc_basename in
18008           CC*)
18009             # SGI C++
18010             archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
18011
18012             # Archives containing C++ object files must be created using
18013             # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
18014             # necessary to make sure instantiated templates are included
18015             # in the archive.
18016             old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
18017             ;;
18018           *)
18019             if test "$GXX" = yes; then
18020               if test "$with_gnu_ld" = no; then
18021                 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18022               else
18023                 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
18024               fi
18025             fi
18026             link_all_deplibs_CXX=yes
18027             ;;
18028         esac
18029         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
18030         hardcode_libdir_separator_CXX=:
18031         inherit_rpath_CXX=yes
18032         ;;
18033
18034       linux* | k*bsd*-gnu | kopensolaris*-gnu)
18035         case $cc_basename in
18036           KCC*)
18037             # Kuck and Associates, Inc. (KAI) C++ Compiler
18038
18039             # KCC will only create a shared library if the output file
18040             # ends with ".so" (or ".sl" for HP-UX), so rename the library
18041             # to its proper name (with version) after linking.
18042             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'
18043             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'
18044             # Commands to make compiler produce verbose output that lists
18045             # what "hidden" libraries, object files and flags are used when
18046             # linking a shared library.
18047             #
18048             # There doesn't appear to be a way to prevent this compiler from
18049             # explicitly linking system object files so we need to strip them
18050             # from the output so that they don't get included in the library
18051             # dependencies.
18052             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; $ECHO "X$list" | $Xsed'
18053
18054             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18055             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18056
18057             # Archives containing C++ object files must be created using
18058             # "CC -Bstatic", where "CC" is the KAI C++ compiler.
18059             old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
18060             ;;
18061           icpc* | ecpc* )
18062             # Intel C++
18063             with_gnu_ld=yes
18064             # version 8.0 and above of icpc choke on multiply defined symbols
18065             # if we add $predep_objects and $postdep_objects, however 7.1 and
18066             # earlier do not add the objects themselves.
18067             case `$CC -V 2>&1` in
18068               *"Version 7."*)
18069                 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18070                 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'
18071                 ;;
18072               *)  # Version 8.0 or newer
18073                 tmp_idyn=
18074                 case $host_cpu in
18075                   ia64*) tmp_idyn=' -i_dynamic';;
18076                 esac
18077                 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18078                 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'
18079                 ;;
18080             esac
18081             archive_cmds_need_lc_CXX=no
18082             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18083             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18084             whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
18085             ;;
18086           pgCC* | pgcpp*)
18087             # Portland Group C++ compiler
18088             case `$CC -V` in
18089             *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
18090               prelink_cmds_CXX='tpldir=Template.dir~
18091                 rm -rf $tpldir~
18092                 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
18093                 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
18094               old_archive_cmds_CXX='tpldir=Template.dir~
18095                 rm -rf $tpldir~
18096                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
18097                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
18098                 $RANLIB $oldlib'
18099               archive_cmds_CXX='tpldir=Template.dir~
18100                 rm -rf $tpldir~
18101                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
18102                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
18103               archive_expsym_cmds_CXX='tpldir=Template.dir~
18104                 rm -rf $tpldir~
18105                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
18106                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
18107               ;;
18108             *) # Version 6 will use weak symbols
18109               archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
18110               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'
18111               ;;
18112             esac
18113
18114             hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
18115             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18116             whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
18117             ;;
18118           cxx*)
18119             # Compaq C++
18120             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18121             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'
18122
18123             runpath_var=LD_RUN_PATH
18124             hardcode_libdir_flag_spec_CXX='-rpath $libdir'
18125             hardcode_libdir_separator_CXX=:
18126
18127             # Commands to make compiler produce verbose output that lists
18128             # what "hidden" libraries, object files and flags are used when
18129             # linking a shared library.
18130             #
18131             # There doesn't appear to be a way to prevent this compiler from
18132             # explicitly linking system object files so we need to strip them
18133             # from the output so that they don't get included in the library
18134             # dependencies.
18135             output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
18136             ;;
18137           xl*)
18138             # IBM XL 8.0 on PPC, with GNU ld
18139             hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
18140             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18141             archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18142             if test "x$supports_anon_versioning" = xyes; then
18143               archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
18144                 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
18145                 echo "local: *; };" >> $output_objdir/$libname.ver~
18146                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
18147             fi
18148             ;;
18149           *)
18150             case `$CC -V 2>&1 | sed 5q` in
18151             *Sun\ C*)
18152               # Sun C++ 5.9
18153               no_undefined_flag_CXX=' -zdefs'
18154               archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18155               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'
18156               hardcode_libdir_flag_spec_CXX='-R$libdir'
18157               whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
18158               compiler_needs_object_CXX=yes
18159
18160               # Not sure whether something based on
18161               # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
18162               # would be better.
18163               output_verbose_link_cmd='echo'
18164
18165               # Archives containing C++ object files must be created using
18166               # "CC -xar", where "CC" is the Sun C++ compiler.  This is
18167               # necessary to make sure instantiated templates are included
18168               # in the archive.
18169               old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
18170               ;;
18171             esac
18172             ;;
18173         esac
18174         ;;
18175
18176       lynxos*)
18177         # FIXME: insert proper C++ library support
18178         ld_shlibs_CXX=no
18179         ;;
18180
18181       m88k*)
18182         # FIXME: insert proper C++ library support
18183         ld_shlibs_CXX=no
18184         ;;
18185
18186       mvs*)
18187         case $cc_basename in
18188           cxx*)
18189             # FIXME: insert proper C++ library support
18190             ld_shlibs_CXX=no
18191             ;;
18192           *)
18193             # FIXME: insert proper C++ library support
18194             ld_shlibs_CXX=no
18195             ;;
18196         esac
18197         ;;
18198
18199       netbsd*)
18200         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
18201           archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
18202           wlarc=
18203           hardcode_libdir_flag_spec_CXX='-R$libdir'
18204           hardcode_direct_CXX=yes
18205           hardcode_shlibpath_var_CXX=no
18206         fi
18207         # Workaround some broken pre-1.5 toolchains
18208         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
18209         ;;
18210
18211       *nto* | *qnx*)
18212         ld_shlibs_CXX=yes
18213         ;;
18214
18215       openbsd2*)
18216         # C++ shared libraries are fairly broken
18217         ld_shlibs_CXX=no
18218         ;;
18219
18220       openbsd*)
18221         if test -f /usr/libexec/ld.so; then
18222           hardcode_direct_CXX=yes
18223           hardcode_shlibpath_var_CXX=no
18224           hardcode_direct_absolute_CXX=yes
18225           archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
18226           hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18227           if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18228             archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
18229             export_dynamic_flag_spec_CXX='${wl}-E'
18230             whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18231           fi
18232           output_verbose_link_cmd=echo
18233         else
18234           ld_shlibs_CXX=no
18235         fi
18236         ;;
18237
18238       osf3* | osf4* | osf5*)
18239         case $cc_basename in
18240           KCC*)
18241             # Kuck and Associates, Inc. (KAI) C++ Compiler
18242
18243             # KCC will only create a shared library if the output file
18244             # ends with ".so" (or ".sl" for HP-UX), so rename the library
18245             # to its proper name (with version) after linking.
18246             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'
18247
18248             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18249             hardcode_libdir_separator_CXX=:
18250
18251             # Archives containing C++ object files must be created using
18252             # the KAI C++ compiler.
18253             case $host in
18254               osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
18255               *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
18256             esac
18257             ;;
18258           RCC*)
18259             # Rational C++ 2.4.1
18260             # FIXME: insert proper C++ library support
18261             ld_shlibs_CXX=no
18262             ;;
18263           cxx*)
18264             case $host in
18265               osf3*)
18266                 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
18267                 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
18268                 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
18269                 ;;
18270               *)
18271                 allow_undefined_flag_CXX=' -expect_unresolved \*'
18272                 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
18273                 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
18274                   echo "-hidden">> $lib.exp~
18275                   $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 "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
18276                   $RM $lib.exp'
18277                 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
18278                 ;;
18279             esac
18280
18281             hardcode_libdir_separator_CXX=:
18282
18283             # Commands to make compiler produce verbose output that lists
18284             # what "hidden" libraries, object files and flags are used when
18285             # linking a shared library.
18286             #
18287             # There doesn't appear to be a way to prevent this compiler from
18288             # explicitly linking system object files so we need to strip them
18289             # from the output so that they don't get included in the library
18290             # dependencies.
18291             output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
18292             ;;
18293           *)
18294             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
18295               allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
18296               case $host in
18297                 osf3*)
18298                   archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18299                   ;;
18300                 *)
18301                   archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18302                   ;;
18303               esac
18304
18305               hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
18306               hardcode_libdir_separator_CXX=:
18307
18308               # Commands to make compiler produce verbose output that lists
18309               # what "hidden" libraries, object files and flags are used when
18310               # linking a shared library.
18311               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
18312
18313             else
18314               # FIXME: insert proper C++ library support
18315               ld_shlibs_CXX=no
18316             fi
18317             ;;
18318         esac
18319         ;;
18320
18321       psos*)
18322         # FIXME: insert proper C++ library support
18323         ld_shlibs_CXX=no
18324         ;;
18325
18326       sunos4*)
18327         case $cc_basename in
18328           CC*)
18329             # Sun C++ 4.x
18330             # FIXME: insert proper C++ library support
18331             ld_shlibs_CXX=no
18332             ;;
18333           lcc*)
18334             # Lucid
18335             # FIXME: insert proper C++ library support
18336             ld_shlibs_CXX=no
18337             ;;
18338           *)
18339             # FIXME: insert proper C++ library support
18340             ld_shlibs_CXX=no
18341             ;;
18342         esac
18343         ;;
18344
18345       solaris*)
18346         case $cc_basename in
18347           CC*)
18348             # Sun C++ 4.2, 5.x and Centerline C++
18349             archive_cmds_need_lc_CXX=yes
18350             no_undefined_flag_CXX=' -zdefs'
18351             archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18352             archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
18353               $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'
18354
18355             hardcode_libdir_flag_spec_CXX='-R$libdir'
18356             hardcode_shlibpath_var_CXX=no
18357             case $host_os in
18358               solaris2.[0-5] | solaris2.[0-5].*) ;;
18359               *)
18360                 # The compiler driver will combine and reorder linker options,
18361                 # but understands `-z linker_flag'.
18362                 # Supported since Solaris 2.6 (maybe 2.5.1?)
18363                 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
18364                 ;;
18365             esac
18366             link_all_deplibs_CXX=yes
18367
18368             output_verbose_link_cmd='echo'
18369
18370             # Archives containing C++ object files must be created using
18371             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
18372             # necessary to make sure instantiated templates are included
18373             # in the archive.
18374             old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
18375             ;;
18376           gcx*)
18377             # Green Hills C++ Compiler
18378             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
18379
18380             # The C++ compiler must be used to create the archive.
18381             old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
18382             ;;
18383           *)
18384             # GNU C++ compiler with Solaris linker
18385             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
18386               no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
18387               if $CC --version | $GREP -v '^2\.7' > /dev/null; then
18388                 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
18389                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
18390                   $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
18391
18392                 # Commands to make compiler produce verbose output that lists
18393                 # what "hidden" libraries, object files and flags are used when
18394                 # linking a shared library.
18395                 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
18396               else
18397                 # g++ 2.7 appears to require `-G' NOT `-shared' on this
18398                 # platform.
18399                 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
18400                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
18401                   $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
18402
18403                 # Commands to make compiler produce verbose output that lists
18404                 # what "hidden" libraries, object files and flags are used when
18405                 # linking a shared library.
18406                 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
18407               fi
18408
18409               hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
18410               case $host_os in
18411                 solaris2.[0-5] | solaris2.[0-5].*) ;;
18412                 *)
18413                   whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
18414                   ;;
18415               esac
18416             fi
18417             ;;
18418         esac
18419         ;;
18420
18421     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
18422       no_undefined_flag_CXX='${wl}-z,text'
18423       archive_cmds_need_lc_CXX=no
18424       hardcode_shlibpath_var_CXX=no
18425       runpath_var='LD_RUN_PATH'
18426
18427       case $cc_basename in
18428         CC*)
18429           archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18430           archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18431           ;;
18432         *)
18433           archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18434           archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18435           ;;
18436       esac
18437       ;;
18438
18439       sysv5* | sco3.2v5* | sco5v6*)
18440         # Note: We can NOT use -z defs as we might desire, because we do not
18441         # link with -lc, and that would cause any symbols used from libc to
18442         # always be unresolved, which means just about no library would
18443         # ever link correctly.  If we're not using GNU ld we use -z text
18444         # though, which does catch some bad symbols but isn't as heavy-handed
18445         # as -z defs.
18446         no_undefined_flag_CXX='${wl}-z,text'
18447         allow_undefined_flag_CXX='${wl}-z,nodefs'
18448         archive_cmds_need_lc_CXX=no
18449         hardcode_shlibpath_var_CXX=no
18450         hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
18451         hardcode_libdir_separator_CXX=':'
18452         link_all_deplibs_CXX=yes
18453         export_dynamic_flag_spec_CXX='${wl}-Bexport'
18454         runpath_var='LD_RUN_PATH'
18455
18456         case $cc_basename in
18457           CC*)
18458             archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18459             archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18460             ;;
18461           *)
18462             archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18463             archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18464             ;;
18465         esac
18466       ;;
18467
18468       tandem*)
18469         case $cc_basename in
18470           NCC*)
18471             # NonStop-UX NCC 3.20
18472             # FIXME: insert proper C++ library support
18473             ld_shlibs_CXX=no
18474             ;;
18475           *)
18476             # FIXME: insert proper C++ library support
18477             ld_shlibs_CXX=no
18478             ;;
18479         esac
18480         ;;
18481
18482       vxworks*)
18483         # FIXME: insert proper C++ library support
18484         ld_shlibs_CXX=no
18485         ;;
18486
18487       *)
18488         # FIXME: insert proper C++ library support
18489         ld_shlibs_CXX=no
18490         ;;
18491     esac
18492
18493     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
18494 $as_echo "$ld_shlibs_CXX" >&6; }
18495     test "$ld_shlibs_CXX" = no && can_build_shared=no
18496
18497     GCC_CXX="$GXX"
18498     LD_CXX="$LD"
18499
18500     ## CAVEAT EMPTOR:
18501     ## There is no encapsulation within the following macros, do not change
18502     ## the running order or otherwise move them around unless you know exactly
18503     ## what you are doing...
18504     # Dependencies to place before and after the object being linked:
18505 predep_objects_CXX=
18506 postdep_objects_CXX=
18507 predeps_CXX=
18508 postdeps_CXX=
18509 compiler_lib_search_path_CXX=
18510
18511 cat > conftest.$ac_ext <<_LT_EOF
18512 class Foo
18513 {
18514 public:
18515   Foo (void) { a = 0; }
18516 private:
18517   int a;
18518 };
18519 _LT_EOF
18520
18521 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
18522   (eval $ac_compile) 2>&5
18523   ac_status=$?
18524   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18525   test $ac_status = 0; }; then
18526   # Parse the compiler output and extract the necessary
18527   # objects, libraries and library flags.
18528
18529   # Sentinel used to keep track of whether or not we are before
18530   # the conftest object file.
18531   pre_test_object_deps_done=no
18532
18533   for p in `eval "$output_verbose_link_cmd"`; do
18534     case $p in
18535
18536     -L* | -R* | -l*)
18537        # Some compilers place space between "-{L,R}" and the path.
18538        # Remove the space.
18539        if test $p = "-L" ||
18540           test $p = "-R"; then
18541          prev=$p
18542          continue
18543        else
18544          prev=
18545        fi
18546
18547        if test "$pre_test_object_deps_done" = no; then
18548          case $p in
18549          -L* | -R*)
18550            # Internal compiler library paths should come after those
18551            # provided the user.  The postdeps already come after the
18552            # user supplied libs so there is no need to process them.
18553            if test -z "$compiler_lib_search_path_CXX"; then
18554              compiler_lib_search_path_CXX="${prev}${p}"
18555            else
18556              compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
18557            fi
18558            ;;
18559          # The "-l" case would never come before the object being
18560          # linked, so don't bother handling this case.
18561          esac
18562        else
18563          if test -z "$postdeps_CXX"; then
18564            postdeps_CXX="${prev}${p}"
18565          else
18566            postdeps_CXX="${postdeps_CXX} ${prev}${p}"
18567          fi
18568        fi
18569        ;;
18570
18571     *.$objext)
18572        # This assumes that the test object file only shows up
18573        # once in the compiler output.
18574        if test "$p" = "conftest.$objext"; then
18575          pre_test_object_deps_done=yes
18576          continue
18577        fi
18578
18579        if test "$pre_test_object_deps_done" = no; then
18580          if test -z "$predep_objects_CXX"; then
18581            predep_objects_CXX="$p"
18582          else
18583            predep_objects_CXX="$predep_objects_CXX $p"
18584          fi
18585        else
18586          if test -z "$postdep_objects_CXX"; then
18587            postdep_objects_CXX="$p"
18588          else
18589            postdep_objects_CXX="$postdep_objects_CXX $p"
18590          fi
18591        fi
18592        ;;
18593
18594     *) ;; # Ignore the rest.
18595
18596     esac
18597   done
18598
18599   # Clean up.
18600   rm -f a.out a.exe
18601 else
18602   echo "libtool.m4: error: problem compiling CXX test program"
18603 fi
18604
18605 $RM -f confest.$objext
18606
18607 # PORTME: override above test on systems where it is broken
18608 case $host_os in
18609 interix[3-9]*)
18610   # Interix 3.5 installs completely hosed .la files for C++, so rather than
18611   # hack all around it, let's just trust "g++" to DTRT.
18612   predep_objects_CXX=
18613   postdep_objects_CXX=
18614   postdeps_CXX=
18615   ;;
18616
18617 linux*)
18618   case `$CC -V 2>&1 | sed 5q` in
18619   *Sun\ C*)
18620     # Sun C++ 5.9
18621
18622     # The more standards-conforming stlport4 library is
18623     # incompatible with the Cstd library. Avoid specifying
18624     # it if it's in CXXFLAGS. Ignore libCrun as
18625     # -library=stlport4 depends on it.
18626     case " $CXX $CXXFLAGS " in
18627     *" -library=stlport4 "*)
18628       solaris_use_stlport4=yes
18629       ;;
18630     esac
18631
18632     if test "$solaris_use_stlport4" != yes; then
18633       postdeps_CXX='-library=Cstd -library=Crun'
18634     fi
18635     ;;
18636   esac
18637   ;;
18638
18639 solaris*)
18640   case $cc_basename in
18641   CC*)
18642     # The more standards-conforming stlport4 library is
18643     # incompatible with the Cstd library. Avoid specifying
18644     # it if it's in CXXFLAGS. Ignore libCrun as
18645     # -library=stlport4 depends on it.
18646     case " $CXX $CXXFLAGS " in
18647     *" -library=stlport4 "*)
18648       solaris_use_stlport4=yes
18649       ;;
18650     esac
18651
18652     # Adding this requires a known-good setup of shared libraries for
18653     # Sun compiler versions before 5.6, else PIC objects from an old
18654     # archive will be linked into the output, leading to subtle bugs.
18655     if test "$solaris_use_stlport4" != yes; then
18656       postdeps_CXX='-library=Cstd -library=Crun'
18657     fi
18658     ;;
18659   esac
18660   ;;
18661 esac
18662
18663
18664 case " $postdeps_CXX " in
18665 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
18666 esac
18667  compiler_lib_search_dirs_CXX=
18668 if test -n "${compiler_lib_search_path_CXX}"; then
18669  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
18670 fi
18671
18672
18673
18674
18675
18676
18677
18678
18679
18680
18681
18682
18683
18684
18685
18686
18687
18688
18689
18690
18691
18692
18693
18694
18695
18696
18697
18698
18699
18700
18701
18702     lt_prog_compiler_wl_CXX=
18703 lt_prog_compiler_pic_CXX=
18704 lt_prog_compiler_static_CXX=
18705
18706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
18707 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
18708
18709   # C++ specific cases for pic, static, wl, etc.
18710   if test "$GXX" = yes; then
18711     lt_prog_compiler_wl_CXX='-Wl,'
18712     lt_prog_compiler_static_CXX='-static'
18713
18714     case $host_os in
18715     aix*)
18716       # All AIX code is PIC.
18717       if test "$host_cpu" = ia64; then
18718         # AIX 5 now supports IA64 processor
18719         lt_prog_compiler_static_CXX='-Bstatic'
18720       fi
18721       ;;
18722
18723     amigaos*)
18724       case $host_cpu in
18725       powerpc)
18726             # see comment about AmigaOS4 .so support
18727             lt_prog_compiler_pic_CXX='-fPIC'
18728         ;;
18729       m68k)
18730             # FIXME: we need at least 68020 code to build shared libraries, but
18731             # adding the `-m68020' flag to GCC prevents building anything better,
18732             # like `-m68040'.
18733             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
18734         ;;
18735       esac
18736       ;;
18737
18738     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
18739       # PIC is the default for these OSes.
18740       ;;
18741     mingw* | cygwin* | os2* | pw32* | cegcc*)
18742       # This hack is so that the source file can tell whether it is being
18743       # built for inclusion in a dll (and should export symbols for example).
18744       # Although the cygwin gcc ignores -fPIC, still need this for old-style
18745       # (--disable-auto-import) libraries
18746       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
18747       ;;
18748     darwin* | rhapsody*)
18749       # PIC is the default on this platform
18750       # Common symbols not allowed in MH_DYLIB files
18751       lt_prog_compiler_pic_CXX='-fno-common'
18752       ;;
18753     *djgpp*)
18754       # DJGPP does not support shared libraries at all
18755       lt_prog_compiler_pic_CXX=
18756       ;;
18757     interix[3-9]*)
18758       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
18759       # Instead, we relocate shared libraries at runtime.
18760       ;;
18761     sysv4*MP*)
18762       if test -d /usr/nec; then
18763         lt_prog_compiler_pic_CXX=-Kconform_pic
18764       fi
18765       ;;
18766     hpux*)
18767       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
18768       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
18769       # sets the default TLS model and affects inlining.
18770       case $host_cpu in
18771       hppa*64*)
18772         ;;
18773       *)
18774         lt_prog_compiler_pic_CXX='-fPIC'
18775         ;;
18776       esac
18777       ;;
18778     *qnx* | *nto*)
18779       # QNX uses GNU C++, but need to define -shared option too, otherwise
18780       # it will coredump.
18781       lt_prog_compiler_pic_CXX='-fPIC -shared'
18782       ;;
18783     *)
18784       lt_prog_compiler_pic_CXX='-fPIC'
18785       ;;
18786     esac
18787   else
18788     case $host_os in
18789       aix[4-9]*)
18790         # All AIX code is PIC.
18791         if test "$host_cpu" = ia64; then
18792           # AIX 5 now supports IA64 processor
18793           lt_prog_compiler_static_CXX='-Bstatic'
18794         else
18795           lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
18796         fi
18797         ;;
18798       chorus*)
18799         case $cc_basename in
18800         cxch68*)
18801           # Green Hills C++ Compiler
18802           # _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"
18803           ;;
18804         esac
18805         ;;
18806       dgux*)
18807         case $cc_basename in
18808           ec++*)
18809             lt_prog_compiler_pic_CXX='-KPIC'
18810             ;;
18811           ghcx*)
18812             # Green Hills C++ Compiler
18813             lt_prog_compiler_pic_CXX='-pic'
18814             ;;
18815           *)
18816             ;;
18817         esac
18818         ;;
18819       freebsd* | dragonfly*)
18820         # FreeBSD uses GNU C++
18821         ;;
18822       hpux9* | hpux10* | hpux11*)
18823         case $cc_basename in
18824           CC*)
18825             lt_prog_compiler_wl_CXX='-Wl,'
18826             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
18827             if test "$host_cpu" != ia64; then
18828               lt_prog_compiler_pic_CXX='+Z'
18829             fi
18830             ;;
18831           aCC*)
18832             lt_prog_compiler_wl_CXX='-Wl,'
18833             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
18834             case $host_cpu in
18835             hppa*64*|ia64*)
18836               # +Z the default
18837               ;;
18838             *)
18839               lt_prog_compiler_pic_CXX='+Z'
18840               ;;
18841             esac
18842             ;;
18843           *)
18844             ;;
18845         esac
18846         ;;
18847       interix*)
18848         # This is c89, which is MS Visual C++ (no shared libs)
18849         # Anyone wants to do a port?
18850         ;;
18851       irix5* | irix6* | nonstopux*)
18852         case $cc_basename in
18853           CC*)
18854             lt_prog_compiler_wl_CXX='-Wl,'
18855             lt_prog_compiler_static_CXX='-non_shared'
18856             # CC pic flag -KPIC is the default.
18857             ;;
18858           *)
18859             ;;
18860         esac
18861         ;;
18862       linux* | k*bsd*-gnu | kopensolaris*-gnu)
18863         case $cc_basename in
18864           KCC*)
18865             # KAI C++ Compiler
18866             lt_prog_compiler_wl_CXX='--backend -Wl,'
18867             lt_prog_compiler_pic_CXX='-fPIC'
18868             ;;
18869           ecpc* )
18870             # old Intel C++ for x86_64 which still supported -KPIC.
18871             lt_prog_compiler_wl_CXX='-Wl,'
18872             lt_prog_compiler_pic_CXX='-KPIC'
18873             lt_prog_compiler_static_CXX='-static'
18874             ;;
18875           icpc* )
18876             # Intel C++, used to be incompatible with GCC.
18877             # ICC 10 doesn't accept -KPIC any more.
18878             lt_prog_compiler_wl_CXX='-Wl,'
18879             lt_prog_compiler_pic_CXX='-fPIC'
18880             lt_prog_compiler_static_CXX='-static'
18881             ;;
18882           pgCC* | pgcpp*)
18883             # Portland Group C++ compiler
18884             lt_prog_compiler_wl_CXX='-Wl,'
18885             lt_prog_compiler_pic_CXX='-fpic'
18886             lt_prog_compiler_static_CXX='-Bstatic'
18887             ;;
18888           cxx*)
18889             # Compaq C++
18890             # Make sure the PIC flag is empty.  It appears that all Alpha
18891             # Linux and Compaq Tru64 Unix objects are PIC.
18892             lt_prog_compiler_pic_CXX=
18893             lt_prog_compiler_static_CXX='-non_shared'
18894             ;;
18895           xlc* | xlC*)
18896             # IBM XL 8.0 on PPC
18897             lt_prog_compiler_wl_CXX='-Wl,'
18898             lt_prog_compiler_pic_CXX='-qpic'
18899             lt_prog_compiler_static_CXX='-qstaticlink'
18900             ;;
18901           *)
18902             case `$CC -V 2>&1 | sed 5q` in
18903             *Sun\ C*)
18904               # Sun C++ 5.9
18905               lt_prog_compiler_pic_CXX='-KPIC'
18906               lt_prog_compiler_static_CXX='-Bstatic'
18907               lt_prog_compiler_wl_CXX='-Qoption ld '
18908               ;;
18909             esac
18910             ;;
18911         esac
18912         ;;
18913       lynxos*)
18914         ;;
18915       m88k*)
18916         ;;
18917       mvs*)
18918         case $cc_basename in
18919           cxx*)
18920             lt_prog_compiler_pic_CXX='-W c,exportall'
18921             ;;
18922           *)
18923             ;;
18924         esac
18925         ;;
18926       netbsd* | netbsdelf*-gnu)
18927         ;;
18928       *qnx* | *nto*)
18929         # QNX uses GNU C++, but need to define -shared option too, otherwise
18930         # it will coredump.
18931         lt_prog_compiler_pic_CXX='-fPIC -shared'
18932         ;;
18933       osf3* | osf4* | osf5*)
18934         case $cc_basename in
18935           KCC*)
18936             lt_prog_compiler_wl_CXX='--backend -Wl,'
18937             ;;
18938           RCC*)
18939             # Rational C++ 2.4.1
18940             lt_prog_compiler_pic_CXX='-pic'
18941             ;;
18942           cxx*)
18943             # Digital/Compaq C++
18944             lt_prog_compiler_wl_CXX='-Wl,'
18945             # Make sure the PIC flag is empty.  It appears that all Alpha
18946             # Linux and Compaq Tru64 Unix objects are PIC.
18947             lt_prog_compiler_pic_CXX=
18948             lt_prog_compiler_static_CXX='-non_shared'
18949             ;;
18950           *)
18951             ;;
18952         esac
18953         ;;
18954       psos*)
18955         ;;
18956       solaris*)
18957         case $cc_basename in
18958           CC*)
18959             # Sun C++ 4.2, 5.x and Centerline C++
18960             lt_prog_compiler_pic_CXX='-KPIC'
18961             lt_prog_compiler_static_CXX='-Bstatic'
18962             lt_prog_compiler_wl_CXX='-Qoption ld '
18963             ;;
18964           gcx*)
18965             # Green Hills C++ Compiler
18966             lt_prog_compiler_pic_CXX='-PIC'
18967             ;;
18968           *)
18969             ;;
18970         esac
18971         ;;
18972       sunos4*)
18973         case $cc_basename in
18974           CC*)
18975             # Sun C++ 4.x
18976             lt_prog_compiler_pic_CXX='-pic'
18977             lt_prog_compiler_static_CXX='-Bstatic'
18978             ;;
18979           lcc*)
18980             # Lucid
18981             lt_prog_compiler_pic_CXX='-pic'
18982             ;;
18983           *)
18984             ;;
18985         esac
18986         ;;
18987       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
18988         case $cc_basename in
18989           CC*)
18990             lt_prog_compiler_wl_CXX='-Wl,'
18991             lt_prog_compiler_pic_CXX='-KPIC'
18992             lt_prog_compiler_static_CXX='-Bstatic'
18993             ;;
18994         esac
18995         ;;
18996       tandem*)
18997         case $cc_basename in
18998           NCC*)
18999             # NonStop-UX NCC 3.20
19000             lt_prog_compiler_pic_CXX='-KPIC'
19001             ;;
19002           *)
19003             ;;
19004         esac
19005         ;;
19006       vxworks*)
19007         ;;
19008       *)
19009         lt_prog_compiler_can_build_shared_CXX=no
19010         ;;
19011     esac
19012   fi
19013
19014 case $host_os in
19015   # For platforms which do not support PIC, -DPIC is meaningless:
19016   *djgpp*)
19017     lt_prog_compiler_pic_CXX=
19018     ;;
19019   *)
19020     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
19021     ;;
19022 esac
19023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
19024 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
19025
19026
19027
19028 #
19029 # Check to make sure the PIC flag actually works.
19030 #
19031 if test -n "$lt_prog_compiler_pic_CXX"; then
19032   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
19033 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
19034 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
19035   $as_echo_n "(cached) " >&6
19036 else
19037   lt_cv_prog_compiler_pic_works_CXX=no
19038    ac_outfile=conftest.$ac_objext
19039    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19040    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
19041    # Insert the option either (1) after the last *FLAGS variable, or
19042    # (2) before a word containing "conftest.", or (3) at the end.
19043    # Note that $ac_compile itself does not contain backslashes and begins
19044    # with a dollar sign (not a hyphen), so the echo should work correctly.
19045    # The option is referenced via a variable to avoid confusing sed.
19046    lt_compile=`echo "$ac_compile" | $SED \
19047    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19048    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19049    -e 's:$: $lt_compiler_flag:'`
19050    (eval echo "\"\$as_me:19050: $lt_compile\"" >&5)
19051    (eval "$lt_compile" 2>conftest.err)
19052    ac_status=$?
19053    cat conftest.err >&5
19054    echo "$as_me:19054: \$? = $ac_status" >&5
19055    if (exit $ac_status) && test -s "$ac_outfile"; then
19056      # The compiler can only warn and ignore the option if not recognized
19057      # So say no if there are warnings other than the usual output.
19058      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
19059      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
19060      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
19061        lt_cv_prog_compiler_pic_works_CXX=yes
19062      fi
19063    fi
19064    $RM conftest*
19065
19066 fi
19067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
19068 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
19069
19070 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
19071     case $lt_prog_compiler_pic_CXX in
19072      "" | " "*) ;;
19073      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
19074      esac
19075 else
19076     lt_prog_compiler_pic_CXX=
19077      lt_prog_compiler_can_build_shared_CXX=no
19078 fi
19079
19080 fi
19081
19082
19083
19084 #
19085 # Check to make sure the static flag actually works.
19086 #
19087 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
19088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
19089 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
19090 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
19091   $as_echo_n "(cached) " >&6
19092 else
19093   lt_cv_prog_compiler_static_works_CXX=no
19094    save_LDFLAGS="$LDFLAGS"
19095    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
19096    echo "$lt_simple_link_test_code" > conftest.$ac_ext
19097    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
19098      # The linker can only warn and ignore the option if not recognized
19099      # So say no if there are warnings
19100      if test -s conftest.err; then
19101        # Append any errors to the config.log.
19102        cat conftest.err 1>&5
19103        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
19104        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
19105        if diff conftest.exp conftest.er2 >/dev/null; then
19106          lt_cv_prog_compiler_static_works_CXX=yes
19107        fi
19108      else
19109        lt_cv_prog_compiler_static_works_CXX=yes
19110      fi
19111    fi
19112    $RM -r conftest*
19113    LDFLAGS="$save_LDFLAGS"
19114
19115 fi
19116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
19117 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
19118
19119 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
19120     :
19121 else
19122     lt_prog_compiler_static_CXX=
19123 fi
19124
19125
19126
19127
19128     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
19129 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
19130 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
19131   $as_echo_n "(cached) " >&6
19132 else
19133   lt_cv_prog_compiler_c_o_CXX=no
19134    $RM -r conftest 2>/dev/null
19135    mkdir conftest
19136    cd conftest
19137    mkdir out
19138    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19139
19140    lt_compiler_flag="-o out/conftest2.$ac_objext"
19141    # Insert the option either (1) after the last *FLAGS variable, or
19142    # (2) before a word containing "conftest.", or (3) at the end.
19143    # Note that $ac_compile itself does not contain backslashes and begins
19144    # with a dollar sign (not a hyphen), so the echo should work correctly.
19145    lt_compile=`echo "$ac_compile" | $SED \
19146    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19147    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19148    -e 's:$: $lt_compiler_flag:'`
19149    (eval echo "\"\$as_me:19149: $lt_compile\"" >&5)
19150    (eval "$lt_compile" 2>out/conftest.err)
19151    ac_status=$?
19152    cat out/conftest.err >&5
19153    echo "$as_me:19153: \$? = $ac_status" >&5
19154    if (exit $ac_status) && test -s out/conftest2.$ac_objext
19155    then
19156      # The compiler can only warn and ignore the option if not recognized
19157      # So say no if there are warnings
19158      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
19159      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
19160      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
19161        lt_cv_prog_compiler_c_o_CXX=yes
19162      fi
19163    fi
19164    chmod u+w . 2>&5
19165    $RM conftest*
19166    # SGI C++ compiler will create directory out/ii_files/ for
19167    # template instantiation
19168    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
19169    $RM out/* && rmdir out
19170    cd ..
19171    $RM -r conftest
19172    $RM conftest*
19173
19174 fi
19175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
19176 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
19177
19178
19179
19180     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
19181 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
19182 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
19183   $as_echo_n "(cached) " >&6
19184 else
19185   lt_cv_prog_compiler_c_o_CXX=no
19186    $RM -r conftest 2>/dev/null
19187    mkdir conftest
19188    cd conftest
19189    mkdir out
19190    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19191
19192    lt_compiler_flag="-o out/conftest2.$ac_objext"
19193    # Insert the option either (1) after the last *FLAGS variable, or
19194    # (2) before a word containing "conftest.", or (3) at the end.
19195    # Note that $ac_compile itself does not contain backslashes and begins
19196    # with a dollar sign (not a hyphen), so the echo should work correctly.
19197    lt_compile=`echo "$ac_compile" | $SED \
19198    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19199    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19200    -e 's:$: $lt_compiler_flag:'`
19201    (eval echo "\"\$as_me:19201: $lt_compile\"" >&5)
19202    (eval "$lt_compile" 2>out/conftest.err)
19203    ac_status=$?
19204    cat out/conftest.err >&5
19205    echo "$as_me:19205: \$? = $ac_status" >&5
19206    if (exit $ac_status) && test -s out/conftest2.$ac_objext
19207    then
19208      # The compiler can only warn and ignore the option if not recognized
19209      # So say no if there are warnings
19210      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
19211      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
19212      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
19213        lt_cv_prog_compiler_c_o_CXX=yes
19214      fi
19215    fi
19216    chmod u+w . 2>&5
19217    $RM conftest*
19218    # SGI C++ compiler will create directory out/ii_files/ for
19219    # template instantiation
19220    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
19221    $RM out/* && rmdir out
19222    cd ..
19223    $RM -r conftest
19224    $RM conftest*
19225
19226 fi
19227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
19228 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
19229
19230
19231
19232
19233 hard_links="nottested"
19234 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
19235   # do not overwrite the value of need_locks provided by the user
19236   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
19237 $as_echo_n "checking if we can lock with hard links... " >&6; }
19238   hard_links=yes
19239   $RM conftest*
19240   ln conftest.a conftest.b 2>/dev/null && hard_links=no
19241   touch conftest.a
19242   ln conftest.a conftest.b 2>&5 || hard_links=no
19243   ln conftest.a conftest.b 2>/dev/null && hard_links=no
19244   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
19245 $as_echo "$hard_links" >&6; }
19246   if test "$hard_links" = no; then
19247     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
19248 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
19249     need_locks=warn
19250   fi
19251 else
19252   need_locks=no
19253 fi
19254
19255
19256
19257     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
19258 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
19259
19260   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
19261   case $host_os in
19262   aix[4-9]*)
19263     # If we're using GNU nm, then we don't want the "-C" option.
19264     # -C means demangle to AIX nm, but means don't demangle with GNU nm
19265     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
19266       export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
19267     else
19268       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'
19269     fi
19270     ;;
19271   pw32*)
19272     export_symbols_cmds_CXX="$ltdll_cmds"
19273   ;;
19274   cygwin* | mingw* | cegcc*)
19275     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
19276   ;;
19277   linux* | k*bsd*-gnu)
19278     link_all_deplibs_CXX=no
19279   ;;
19280   *)
19281     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
19282   ;;
19283   esac
19284   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
19285
19286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
19287 $as_echo "$ld_shlibs_CXX" >&6; }
19288 test "$ld_shlibs_CXX" = no && can_build_shared=no
19289
19290 with_gnu_ld_CXX=$with_gnu_ld
19291
19292
19293
19294
19295
19296
19297 #
19298 # Do we need to explicitly link libc?
19299 #
19300 case "x$archive_cmds_need_lc_CXX" in
19301 x|xyes)
19302   # Assume -lc should be added
19303   archive_cmds_need_lc_CXX=yes
19304
19305   if test "$enable_shared" = yes && test "$GCC" = yes; then
19306     case $archive_cmds_CXX in
19307     *'~'*)
19308       # FIXME: we may have to deal with multi-command sequences.
19309       ;;
19310     '$CC '*)
19311       # Test whether the compiler implicitly links with -lc since on some
19312       # systems, -lgcc has to come before -lc. If gcc already passes -lc
19313       # to ld, don't add -lc before -lgcc.
19314       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
19315 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
19316       $RM conftest*
19317       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19318
19319       if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
19320   (eval $ac_compile) 2>&5
19321   ac_status=$?
19322   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19323   test $ac_status = 0; } 2>conftest.err; then
19324         soname=conftest
19325         lib=conftest
19326         libobjs=conftest.$ac_objext
19327         deplibs=
19328         wl=$lt_prog_compiler_wl_CXX
19329         pic_flag=$lt_prog_compiler_pic_CXX
19330         compiler_flags=-v
19331         linker_flags=-v
19332         verstring=
19333         output_objdir=.
19334         libname=conftest
19335         lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
19336         allow_undefined_flag_CXX=
19337         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
19338   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
19339   ac_status=$?
19340   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19341   test $ac_status = 0; }
19342         then
19343           archive_cmds_need_lc_CXX=no
19344         else
19345           archive_cmds_need_lc_CXX=yes
19346         fi
19347         allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
19348       else
19349         cat conftest.err 1>&5
19350       fi
19351       $RM conftest*
19352       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
19353 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
19354       ;;
19355     esac
19356   fi
19357   ;;
19358 esac
19359
19360
19361
19362
19363
19364
19365
19366
19367
19368
19369
19370
19371
19372
19373
19374
19375
19376
19377
19378
19379
19380
19381
19382
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
19415
19416
19417
19418
19419
19420
19421
19422
19423     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
19424 $as_echo_n "checking dynamic linker characteristics... " >&6; }
19425
19426 library_names_spec=
19427 libname_spec='lib$name'
19428 soname_spec=
19429 shrext_cmds=".so"
19430 postinstall_cmds=
19431 postuninstall_cmds=
19432 finish_cmds=
19433 finish_eval=
19434 shlibpath_var=
19435 shlibpath_overrides_runpath=unknown
19436 version_type=none
19437 dynamic_linker="$host_os ld.so"
19438 sys_lib_dlsearch_path_spec="/lib /usr/lib"
19439 need_lib_prefix=unknown
19440 hardcode_into_libs=no
19441
19442 # when you set need_version to no, make sure it does not cause -set_version
19443 # flags to be left without arguments
19444 need_version=unknown
19445
19446 case $host_os in
19447 aix3*)
19448   version_type=linux
19449   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
19450   shlibpath_var=LIBPATH
19451
19452   # AIX 3 has no versioning support, so we append a major version to the name.
19453   soname_spec='${libname}${release}${shared_ext}$major'
19454   ;;
19455
19456 aix[4-9]*)
19457   version_type=linux
19458   need_lib_prefix=no
19459   need_version=no
19460   hardcode_into_libs=yes
19461   if test "$host_cpu" = ia64; then
19462     # AIX 5 supports IA64
19463     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
19464     shlibpath_var=LD_LIBRARY_PATH
19465   else
19466     # With GCC up to 2.95.x, collect2 would create an import file
19467     # for dependence libraries.  The import file would start with
19468     # the line `#! .'.  This would cause the generated library to
19469     # depend on `.', always an invalid library.  This was fixed in
19470     # development snapshots of GCC prior to 3.0.
19471     case $host_os in
19472       aix4 | aix4.[01] | aix4.[01].*)
19473       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
19474            echo ' yes '
19475            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
19476         :
19477       else
19478         can_build_shared=no
19479       fi
19480       ;;
19481     esac
19482     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
19483     # soname into executable. Probably we can add versioning support to
19484     # collect2, so additional links can be useful in future.
19485     if test "$aix_use_runtimelinking" = yes; then
19486       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
19487       # instead of lib<name>.a to let people know that these are not
19488       # typical AIX shared libraries.
19489       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19490     else
19491       # We preserve .a as extension for shared libraries through AIX4.2
19492       # and later when we are not doing run time linking.
19493       library_names_spec='${libname}${release}.a $libname.a'
19494       soname_spec='${libname}${release}${shared_ext}$major'
19495     fi
19496     shlibpath_var=LIBPATH
19497   fi
19498   ;;
19499
19500 amigaos*)
19501   case $host_cpu in
19502   powerpc)
19503     # Since July 2007 AmigaOS4 officially supports .so libraries.
19504     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
19505     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19506     ;;
19507   m68k)
19508     library_names_spec='$libname.ixlibrary $libname.a'
19509     # Create ${libname}_ixlibrary.a entries in /sys/libs.
19510     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''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'
19511     ;;
19512   esac
19513   ;;
19514
19515 beos*)
19516   library_names_spec='${libname}${shared_ext}'
19517   dynamic_linker="$host_os ld.so"
19518   shlibpath_var=LIBRARY_PATH
19519   ;;
19520
19521 bsdi[45]*)
19522   version_type=linux
19523   need_version=no
19524   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19525   soname_spec='${libname}${release}${shared_ext}$major'
19526   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
19527   shlibpath_var=LD_LIBRARY_PATH
19528   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
19529   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
19530   # the default ld.so.conf also contains /usr/contrib/lib and
19531   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
19532   # libtool to hard-code these into programs
19533   ;;
19534
19535 cygwin* | mingw* | pw32* | cegcc*)
19536   version_type=windows
19537   shrext_cmds=".dll"
19538   need_version=no
19539   need_lib_prefix=no
19540
19541   case $GCC,$host_os in
19542   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
19543     library_names_spec='$libname.dll.a'
19544     # DLL is installed to $(libdir)/../bin by postinstall_cmds
19545     postinstall_cmds='base_file=`basename \${file}`~
19546       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
19547       dldir=$destdir/`dirname \$dlpath`~
19548       test -d \$dldir || mkdir -p \$dldir~
19549       $install_prog $dir/$dlname \$dldir/$dlname~
19550       chmod a+x \$dldir/$dlname~
19551       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
19552         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
19553       fi'
19554     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
19555       dlpath=$dir/\$dldll~
19556        $RM \$dlpath'
19557     shlibpath_overrides_runpath=yes
19558
19559     case $host_os in
19560     cygwin*)
19561       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
19562       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19563       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
19564       ;;
19565     mingw* | cegcc*)
19566       # MinGW DLLs use traditional 'lib' prefix
19567       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19568       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
19569       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
19570         # It is most probably a Windows format PATH printed by
19571         # mingw gcc, but we are running on Cygwin. Gcc prints its search
19572         # path with ; separators, and with drive letters. We can handle the
19573         # drive letters (cygwin fileutils understands them), so leave them,
19574         # especially as we might pass files found there to a mingw objdump,
19575         # which wouldn't understand a cygwinified path. Ahh.
19576         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
19577       else
19578         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
19579       fi
19580       ;;
19581     pw32*)
19582       # pw32 DLLs use 'pw' prefix rather than 'lib'
19583       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19584       ;;
19585     esac
19586     ;;
19587
19588   *)
19589     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
19590     ;;
19591   esac
19592   dynamic_linker='Win32 ld.exe'
19593   # FIXME: first we should search . and the directory the executable is in
19594   shlibpath_var=PATH
19595   ;;
19596
19597 darwin* | rhapsody*)
19598   dynamic_linker="$host_os dyld"
19599   version_type=darwin
19600   need_lib_prefix=no
19601   need_version=no
19602   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
19603   soname_spec='${libname}${release}${major}$shared_ext'
19604   shlibpath_overrides_runpath=yes
19605   shlibpath_var=DYLD_LIBRARY_PATH
19606   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
19607
19608   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
19609   ;;
19610
19611 dgux*)
19612   version_type=linux
19613   need_lib_prefix=no
19614   need_version=no
19615   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
19616   soname_spec='${libname}${release}${shared_ext}$major'
19617   shlibpath_var=LD_LIBRARY_PATH
19618   ;;
19619
19620 freebsd1*)
19621   dynamic_linker=no
19622   ;;
19623
19624 freebsd* | dragonfly*)
19625   # DragonFly does not have aout.  When/if they implement a new
19626   # versioning mechanism, adjust this.
19627   if test -x /usr/bin/objformat; then
19628     objformat=`/usr/bin/objformat`
19629   else
19630     case $host_os in
19631     freebsd[123]*) objformat=aout ;;
19632     *) objformat=elf ;;
19633     esac
19634   fi
19635   version_type=freebsd-$objformat
19636   case $version_type in
19637     freebsd-elf*)
19638       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19639       need_version=no
19640       need_lib_prefix=no
19641       ;;
19642     freebsd-*)
19643       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
19644       need_version=yes
19645       ;;
19646   esac
19647   shlibpath_var=LD_LIBRARY_PATH
19648   case $host_os in
19649   freebsd2*)
19650     shlibpath_overrides_runpath=yes
19651     ;;
19652   freebsd3.[01]* | freebsdelf3.[01]*)
19653     shlibpath_overrides_runpath=yes
19654     hardcode_into_libs=yes
19655     ;;
19656   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
19657   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
19658     shlibpath_overrides_runpath=no
19659     hardcode_into_libs=yes
19660     ;;
19661   *) # from 4.6 on, and DragonFly
19662     shlibpath_overrides_runpath=yes
19663     hardcode_into_libs=yes
19664     ;;
19665   esac
19666   ;;
19667
19668 gnu*)
19669   version_type=linux
19670   need_lib_prefix=no
19671   need_version=no
19672   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
19673   soname_spec='${libname}${release}${shared_ext}$major'
19674   shlibpath_var=LD_LIBRARY_PATH
19675   hardcode_into_libs=yes
19676   ;;
19677
19678 hpux9* | hpux10* | hpux11*)
19679   # Give a soname corresponding to the major version so that dld.sl refuses to
19680   # link against other versions.
19681   version_type=sunos
19682   need_lib_prefix=no
19683   need_version=no
19684   case $host_cpu in
19685   ia64*)
19686     shrext_cmds='.so'
19687     hardcode_into_libs=yes
19688     dynamic_linker="$host_os dld.so"
19689     shlibpath_var=LD_LIBRARY_PATH
19690     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
19691     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19692     soname_spec='${libname}${release}${shared_ext}$major'
19693     if test "X$HPUX_IA64_MODE" = X32; then
19694       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
19695     else
19696       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
19697     fi
19698     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
19699     ;;
19700   hppa*64*)
19701     shrext_cmds='.sl'
19702     hardcode_into_libs=yes
19703     dynamic_linker="$host_os dld.sl"
19704     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
19705     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
19706     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19707     soname_spec='${libname}${release}${shared_ext}$major'
19708     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
19709     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
19710     ;;
19711   *)
19712     shrext_cmds='.sl'
19713     dynamic_linker="$host_os dld.sl"
19714     shlibpath_var=SHLIB_PATH
19715     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
19716     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19717     soname_spec='${libname}${release}${shared_ext}$major'
19718     ;;
19719   esac
19720   # HP-UX runs *really* slowly unless shared libraries are mode 555.
19721   postinstall_cmds='chmod 555 $lib'
19722   ;;
19723
19724 interix[3-9]*)
19725   version_type=linux
19726   need_lib_prefix=no
19727   need_version=no
19728   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19729   soname_spec='${libname}${release}${shared_ext}$major'
19730   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
19731   shlibpath_var=LD_LIBRARY_PATH
19732   shlibpath_overrides_runpath=no
19733   hardcode_into_libs=yes
19734   ;;
19735
19736 irix5* | irix6* | nonstopux*)
19737   case $host_os in
19738     nonstopux*) version_type=nonstopux ;;
19739     *)
19740         if test "$lt_cv_prog_gnu_ld" = yes; then
19741                 version_type=linux
19742         else
19743                 version_type=irix
19744         fi ;;
19745   esac
19746   need_lib_prefix=no
19747   need_version=no
19748   soname_spec='${libname}${release}${shared_ext}$major'
19749   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
19750   case $host_os in
19751   irix5* | nonstopux*)
19752     libsuff= shlibsuff=
19753     ;;
19754   *)
19755     case $LD in # libtool.m4 will add one of these switches to LD
19756     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
19757       libsuff= shlibsuff= libmagic=32-bit;;
19758     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
19759       libsuff=32 shlibsuff=N32 libmagic=N32;;
19760     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
19761       libsuff=64 shlibsuff=64 libmagic=64-bit;;
19762     *) libsuff= shlibsuff= libmagic=never-match;;
19763     esac
19764     ;;
19765   esac
19766   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
19767   shlibpath_overrides_runpath=no
19768   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
19769   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
19770   hardcode_into_libs=yes
19771   ;;
19772
19773 # No shared lib support for Linux oldld, aout, or coff.
19774 linux*oldld* | linux*aout* | linux*coff*)
19775   dynamic_linker=no
19776   ;;
19777
19778 # This must be Linux ELF.
19779 linux* | k*bsd*-gnu | kopensolaris*-gnu)
19780   version_type=linux
19781   need_lib_prefix=no
19782   need_version=no
19783   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19784   soname_spec='${libname}${release}${shared_ext}$major'
19785   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
19786   shlibpath_var=LD_LIBRARY_PATH
19787   shlibpath_overrides_runpath=no
19788   # Some binutils ld are patched to set DT_RUNPATH
19789   save_LDFLAGS=$LDFLAGS
19790   save_libdir=$libdir
19791   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
19792        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
19793   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19794 /* end confdefs.h.  */
19795
19796 int
19797 main ()
19798 {
19799
19800   ;
19801   return 0;
19802 }
19803 _ACEOF
19804 if ac_fn_cxx_try_link "$LINENO"; then :
19805   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
19806   shlibpath_overrides_runpath=yes
19807 fi
19808 fi
19809 rm -f core conftest.err conftest.$ac_objext \
19810     conftest$ac_exeext conftest.$ac_ext
19811   LDFLAGS=$save_LDFLAGS
19812   libdir=$save_libdir
19813
19814   # This implies no fast_install, which is unacceptable.
19815   # Some rework will be needed to allow for fast_install
19816   # before this can be enabled.
19817   hardcode_into_libs=yes
19818
19819   # Append ld.so.conf contents to the search path
19820   if test -f /etc/ld.so.conf; then
19821     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;/^$/d' | tr '\n' ' '`
19822     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
19823   fi
19824
19825   # We used to test for /lib/ld.so.1 and disable shared libraries on
19826   # powerpc, because MkLinux only supported shared libraries with the
19827   # GNU dynamic linker.  Since this was broken with cross compilers,
19828   # most powerpc-linux boxes support dynamic linking these days and
19829   # people can always --disable-shared, the test was removed, and we
19830   # assume the GNU/Linux dynamic linker is in use.
19831   dynamic_linker='GNU/Linux ld.so'
19832   ;;
19833
19834 netbsdelf*-gnu)
19835   version_type=linux
19836   need_lib_prefix=no
19837   need_version=no
19838   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19839   soname_spec='${libname}${release}${shared_ext}$major'
19840   shlibpath_var=LD_LIBRARY_PATH
19841   shlibpath_overrides_runpath=no
19842   hardcode_into_libs=yes
19843   dynamic_linker='NetBSD ld.elf_so'
19844   ;;
19845
19846 netbsd*)
19847   version_type=sunos
19848   need_lib_prefix=no
19849   need_version=no
19850   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
19851     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19852     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19853     dynamic_linker='NetBSD (a.out) ld.so'
19854   else
19855     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19856     soname_spec='${libname}${release}${shared_ext}$major'
19857     dynamic_linker='NetBSD ld.elf_so'
19858   fi
19859   shlibpath_var=LD_LIBRARY_PATH
19860   shlibpath_overrides_runpath=yes
19861   hardcode_into_libs=yes
19862   ;;
19863
19864 newsos6)
19865   version_type=linux
19866   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19867   shlibpath_var=LD_LIBRARY_PATH
19868   shlibpath_overrides_runpath=yes
19869   ;;
19870
19871 *nto* | *qnx*)
19872   version_type=qnx
19873   need_lib_prefix=no
19874   need_version=no
19875   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19876   soname_spec='${libname}${release}${shared_ext}$major'
19877   shlibpath_var=LD_LIBRARY_PATH
19878   shlibpath_overrides_runpath=no
19879   hardcode_into_libs=yes
19880   dynamic_linker='ldqnx.so'
19881   ;;
19882
19883 openbsd*)
19884   version_type=sunos
19885   sys_lib_dlsearch_path_spec="/usr/lib"
19886   need_lib_prefix=no
19887   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
19888   case $host_os in
19889     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
19890     *)                          need_version=no  ;;
19891   esac
19892   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19893   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19894   shlibpath_var=LD_LIBRARY_PATH
19895   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19896     case $host_os in
19897       openbsd2.[89] | openbsd2.[89].*)
19898         shlibpath_overrides_runpath=no
19899         ;;
19900       *)
19901         shlibpath_overrides_runpath=yes
19902         ;;
19903       esac
19904   else
19905     shlibpath_overrides_runpath=yes
19906   fi
19907   ;;
19908
19909 os2*)
19910   libname_spec='$name'
19911   shrext_cmds=".dll"
19912   need_lib_prefix=no
19913   library_names_spec='$libname${shared_ext} $libname.a'
19914   dynamic_linker='OS/2 ld.exe'
19915   shlibpath_var=LIBPATH
19916   ;;
19917
19918 osf3* | osf4* | osf5*)
19919   version_type=osf
19920   need_lib_prefix=no
19921   need_version=no
19922   soname_spec='${libname}${release}${shared_ext}$major'
19923   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19924   shlibpath_var=LD_LIBRARY_PATH
19925   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
19926   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
19927   ;;
19928
19929 rdos*)
19930   dynamic_linker=no
19931   ;;
19932
19933 solaris*)
19934   version_type=linux
19935   need_lib_prefix=no
19936   need_version=no
19937   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19938   soname_spec='${libname}${release}${shared_ext}$major'
19939   shlibpath_var=LD_LIBRARY_PATH
19940   shlibpath_overrides_runpath=yes
19941   hardcode_into_libs=yes
19942   # ldd complains unless libraries are executable
19943   postinstall_cmds='chmod +x $lib'
19944   ;;
19945
19946 sunos4*)
19947   version_type=sunos
19948   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19949   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
19950   shlibpath_var=LD_LIBRARY_PATH
19951   shlibpath_overrides_runpath=yes
19952   if test "$with_gnu_ld" = yes; then
19953     need_lib_prefix=no
19954   fi
19955   need_version=yes
19956   ;;
19957
19958 sysv4 | sysv4.3*)
19959   version_type=linux
19960   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19961   soname_spec='${libname}${release}${shared_ext}$major'
19962   shlibpath_var=LD_LIBRARY_PATH
19963   case $host_vendor in
19964     sni)
19965       shlibpath_overrides_runpath=no
19966       need_lib_prefix=no
19967       runpath_var=LD_RUN_PATH
19968       ;;
19969     siemens)
19970       need_lib_prefix=no
19971       ;;
19972     motorola)
19973       need_lib_prefix=no
19974       need_version=no
19975       shlibpath_overrides_runpath=no
19976       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
19977       ;;
19978   esac
19979   ;;
19980
19981 sysv4*MP*)
19982   if test -d /usr/nec ;then
19983     version_type=linux
19984     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
19985     soname_spec='$libname${shared_ext}.$major'
19986     shlibpath_var=LD_LIBRARY_PATH
19987   fi
19988   ;;
19989
19990 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
19991   version_type=freebsd-elf
19992   need_lib_prefix=no
19993   need_version=no
19994   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19995   soname_spec='${libname}${release}${shared_ext}$major'
19996   shlibpath_var=LD_LIBRARY_PATH
19997   shlibpath_overrides_runpath=yes
19998   hardcode_into_libs=yes
19999   if test "$with_gnu_ld" = yes; then
20000     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
20001   else
20002     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
20003     case $host_os in
20004       sco3.2v5*)
20005         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
20006         ;;
20007     esac
20008   fi
20009   sys_lib_dlsearch_path_spec='/usr/lib'
20010   ;;
20011
20012 tpf*)
20013   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
20014   version_type=linux
20015   need_lib_prefix=no
20016   need_version=no
20017   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20018   shlibpath_var=LD_LIBRARY_PATH
20019   shlibpath_overrides_runpath=no
20020   hardcode_into_libs=yes
20021   ;;
20022
20023 uts4*)
20024   version_type=linux
20025   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20026   soname_spec='${libname}${release}${shared_ext}$major'
20027   shlibpath_var=LD_LIBRARY_PATH
20028   ;;
20029
20030 *)
20031   dynamic_linker=no
20032   ;;
20033 esac
20034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
20035 $as_echo "$dynamic_linker" >&6; }
20036 test "$dynamic_linker" = no && can_build_shared=no
20037
20038 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
20039 if test "$GCC" = yes; then
20040   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
20041 fi
20042
20043 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
20044   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
20045 fi
20046 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
20047   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
20048 fi
20049
20050
20051
20052
20053
20054
20055
20056
20057
20058
20059
20060
20061
20062
20063
20064
20065
20066
20067
20068
20069
20070
20071
20072
20073
20074
20075
20076
20077
20078
20079
20080
20081
20082
20083
20084
20085     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
20086 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
20087 hardcode_action_CXX=
20088 if test -n "$hardcode_libdir_flag_spec_CXX" ||
20089    test -n "$runpath_var_CXX" ||
20090    test "X$hardcode_automatic_CXX" = "Xyes" ; then
20091
20092   # We can hardcode non-existent directories.
20093   if test "$hardcode_direct_CXX" != no &&
20094      # If the only mechanism to avoid hardcoding is shlibpath_var, we
20095      # have to relink, otherwise we might link with an installed library
20096      # when we should be linking with a yet-to-be-installed one
20097      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
20098      test "$hardcode_minus_L_CXX" != no; then
20099     # Linking always hardcodes the temporary library directory.
20100     hardcode_action_CXX=relink
20101   else
20102     # We can link without hardcoding, and we can hardcode nonexisting dirs.
20103     hardcode_action_CXX=immediate
20104   fi
20105 else
20106   # We cannot hardcode anything, or else we can only hardcode existing
20107   # directories.
20108   hardcode_action_CXX=unsupported
20109 fi
20110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
20111 $as_echo "$hardcode_action_CXX" >&6; }
20112
20113 if test "$hardcode_action_CXX" = relink ||
20114    test "$inherit_rpath_CXX" = yes; then
20115   # Fast installation is not supported
20116   enable_fast_install=no
20117 elif test "$shlibpath_overrides_runpath" = yes ||
20118      test "$enable_shared" = no; then
20119   # Fast installation is not necessary
20120   enable_fast_install=needless
20121 fi
20122
20123
20124
20125
20126
20127
20128
20129   fi # test -n "$compiler"
20130
20131   CC=$lt_save_CC
20132   LDCXX=$LD
20133   LD=$lt_save_LD
20134   GCC=$lt_save_GCC
20135   with_gnu_ld=$lt_save_with_gnu_ld
20136   lt_cv_path_LDCXX=$lt_cv_path_LD
20137   lt_cv_path_LD=$lt_save_path_LD
20138   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
20139   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
20140 fi # test "$_lt_caught_CXX_error" != yes
20141
20142 ac_ext=c
20143 ac_cpp='$CPP $CPPFLAGS'
20144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20147
20148
20149 ac_ext=cpp
20150 ac_cpp='$CXXCPP $CPPFLAGS'
20151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20154
20155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20156 /* end confdefs.h.  */
20157  class Foo { int bar; };
20158 int
20159 main ()
20160 {
20161
20162   ;
20163   return 0;
20164 }
20165 _ACEOF
20166 if ac_fn_cxx_try_compile "$LINENO"; then :
20167   working_cxx=yes
20168 else
20169   working_cxx=no
20170 fi
20171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20172 ac_ext=c
20173 ac_cpp='$CPP $CPPFLAGS'
20174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20177
20178 { $as_echo "$as_me:${as_lineno-$LINENO}: working c++ compiler found: $working_cxx" >&5
20179 $as_echo "$as_me: working c++ compiler found: $working_cxx" >&6;}
20180  if test "x$working_cxx" = "xyes"; then
20181   HAVE_CXX_TRUE=
20182   HAVE_CXX_FALSE='#'
20183 else
20184   HAVE_CXX_TRUE='#'
20185   HAVE_CXX_FALSE=
20186 fi
20187
20188
20189 # Extract the first word of "valgrind", so it can be a program name with args.
20190 set dummy valgrind; ac_word=$2
20191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20192 $as_echo_n "checking for $ac_word... " >&6; }
20193 if test "${ac_cv_path_VALGRIND_PATH+set}" = set; then :
20194   $as_echo_n "(cached) " >&6
20195 else
20196   case $VALGRIND_PATH in
20197   [\\/]* | ?:[\\/]*)
20198   ac_cv_path_VALGRIND_PATH="$VALGRIND_PATH" # Let the user override the test with a path.
20199   ;;
20200   *)
20201   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20202 for as_dir in $PATH
20203 do
20204   IFS=$as_save_IFS
20205   test -z "$as_dir" && as_dir=.
20206     for ac_exec_ext in '' $ac_executable_extensions; do
20207   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20208     ac_cv_path_VALGRIND_PATH="$as_dir/$ac_word$ac_exec_ext"
20209     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20210     break 2
20211   fi
20212 done
20213   done
20214 IFS=$as_save_IFS
20215
20216   test -z "$ac_cv_path_VALGRIND_PATH" && ac_cv_path_VALGRIND_PATH="no"
20217   ;;
20218 esac
20219 fi
20220 VALGRIND_PATH=$ac_cv_path_VALGRIND_PATH
20221 if test -n "$VALGRIND_PATH"; then
20222   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALGRIND_PATH" >&5
20223 $as_echo "$VALGRIND_PATH" >&6; }
20224 else
20225   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20226 $as_echo "no" >&6; }
20227 fi
20228
20229
20230  if test ! "x$VALGRIND_PATH" = "xno"; then
20231   HAVE_VALGRIND_TRUE=
20232   HAVE_VALGRIND_FALSE='#'
20233 else
20234   HAVE_VALGRIND_TRUE='#'
20235   HAVE_VALGRIND_FALSE=
20236 fi
20237
20238
20239
20240
20241
20242                 # Check whether --enable-introspection was given.
20243 if test "${enable_introspection+set}" = set; then :
20244   enableval=$enable_introspection;
20245 else
20246   enable_introspection=auto
20247 fi
20248
20249
20250     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
20251 $as_echo_n "checking for gobject-introspection... " >&6; }
20252
20253         case $enable_introspection in #(
20254   no) :
20255             found_introspection="no (disabled, use --enable-introspection to enable)"
20256      ;; #(
20257       yes) :
20258             if test -n "$PKG_CONFIG" && \
20259     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
20260   ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
20261   ac_status=$?
20262   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20263   test $ac_status = 0; }; then
20264   :
20265 else
20266   as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5
20267 fi
20268         if test -n "$PKG_CONFIG" && \
20269     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.9.12\""; } >&5
20270   ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.9.12") 2>&5
20271   ac_status=$?
20272   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20273   test $ac_status = 0; }; then
20274   found_introspection=yes
20275 else
20276   as_fn_error $? "You need to have gobject-introspection >= 0.9.12 installed to build GStreamer Base Plug-ins" "$LINENO" 5
20277 fi
20278      ;; #(
20279       auto) :
20280             if test -n "$PKG_CONFIG" && \
20281     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.9.12\""; } >&5
20282   ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.9.12") 2>&5
20283   ac_status=$?
20284   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20285   test $ac_status = 0; }; then
20286   found_introspection=yes
20287 else
20288   found_introspection=no
20289 fi
20290      ;; #(
20291   *) :
20292                 as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
20293      ;;
20294 esac
20295     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
20296 $as_echo "$found_introspection" >&6; }
20297
20298     INTROSPECTION_SCANNER=
20299     INTROSPECTION_COMPILER=
20300     INTROSPECTION_GENERATE=
20301     INTROSPECTION_GIRDIR=
20302     INTROSPECTION_TYPELIBDIR=
20303     if test "x$found_introspection" = "xyes"; then
20304        INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
20305        INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
20306        INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
20307        INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
20308        INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
20309     fi
20310
20311
20312
20313
20314
20315
20316      if test "x$found_introspection" = "xyes"; then
20317   HAVE_INTROSPECTION_TRUE=
20318   HAVE_INTROSPECTION_FALSE='#'
20319 else
20320   HAVE_INTROSPECTION_TRUE='#'
20321   HAVE_INTROSPECTION_FALSE=
20322 fi
20323
20324
20325
20326
20327
20328
20329 # Check whether --with-html-dir was given.
20330 if test "${with_html_dir+set}" = set; then :
20331   withval=$with_html_dir;
20332 else
20333   with_html_dir='${datadir}/gtk-doc/html'
20334 fi
20335
20336   HTML_DIR="$with_html_dir"
20337
20338
20339     # Check whether --enable-gtk-doc was given.
20340 if test "${enable_gtk_doc+set}" = set; then :
20341   enableval=$enable_gtk_doc;
20342 else
20343   enable_gtk_doc=no
20344 fi
20345
20346
20347   if test x$enable_gtk_doc = xyes; then
20348     if test -n "$PKG_CONFIG" && \
20349     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.3\""; } >&5
20350   ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.3") 2>&5
20351   ac_status=$?
20352   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20353   test $ac_status = 0; }; then
20354   :
20355 else
20356   as_fn_error $? "You need to have gtk-doc >= 1.3 installed to build gtk-doc" "$LINENO" 5
20357 fi
20358     if test -z "$SED"; then
20359       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
20360 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
20361 if test "${ac_cv_path_SED+set}" = set; then :
20362   $as_echo_n "(cached) " >&6
20363 else
20364             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
20365      for ac_i in 1 2 3 4 5 6 7; do
20366        ac_script="$ac_script$as_nl$ac_script"
20367      done
20368      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
20369      { ac_script=; unset ac_script;}
20370      if test -z "$SED"; then
20371   ac_path_SED_found=false
20372   # Loop through the user's path and test for each of PROGNAME-LIST
20373   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20374 for as_dir in $PATH
20375 do
20376   IFS=$as_save_IFS
20377   test -z "$as_dir" && as_dir=.
20378     for ac_prog in sed gsed; do
20379     for ac_exec_ext in '' $ac_executable_extensions; do
20380       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
20381       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
20382 # Check for GNU ac_path_SED and select it if it is found.
20383   # Check for GNU $ac_path_SED
20384 case `"$ac_path_SED" --version 2>&1` in
20385 *GNU*)
20386   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
20387 *)
20388   ac_count=0
20389   $as_echo_n 0123456789 >"conftest.in"
20390   while :
20391   do
20392     cat "conftest.in" "conftest.in" >"conftest.tmp"
20393     mv "conftest.tmp" "conftest.in"
20394     cp "conftest.in" "conftest.nl"
20395     $as_echo '' >> "conftest.nl"
20396     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
20397     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
20398     as_fn_arith $ac_count + 1 && ac_count=$as_val
20399     if test $ac_count -gt ${ac_path_SED_max-0}; then
20400       # Best one so far, save it but keep looking for a better one
20401       ac_cv_path_SED="$ac_path_SED"
20402       ac_path_SED_max=$ac_count
20403     fi
20404     # 10*(2^10) chars as input seems more than enough
20405     test $ac_count -gt 10 && break
20406   done
20407   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
20408 esac
20409
20410       $ac_path_SED_found && break 3
20411     done
20412   done
20413   done
20414 IFS=$as_save_IFS
20415   if test -z "$ac_cv_path_SED"; then
20416     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
20417   fi
20418 else
20419   ac_cv_path_SED=$SED
20420 fi
20421
20422 fi
20423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
20424 $as_echo "$ac_cv_path_SED" >&6; }
20425  SED="$ac_cv_path_SED"
20426   rm -f conftest.sed
20427
20428     fi
20429   fi
20430
20431   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
20432 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
20433   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
20434 $as_echo "$enable_gtk_doc" >&6; }
20435
20436   for ac_prog in gtkdoc-check
20437 do
20438   # Extract the first word of "$ac_prog", so it can be a program name with args.
20439 set dummy $ac_prog; ac_word=$2
20440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20441 $as_echo_n "checking for $ac_word... " >&6; }
20442 if test "${ac_cv_path_GTKDOC_CHECK+set}" = set; then :
20443   $as_echo_n "(cached) " >&6
20444 else
20445   case $GTKDOC_CHECK in
20446   [\\/]* | ?:[\\/]*)
20447   ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
20448   ;;
20449   *)
20450   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20451 for as_dir in $PATH
20452 do
20453   IFS=$as_save_IFS
20454   test -z "$as_dir" && as_dir=.
20455     for ac_exec_ext in '' $ac_executable_extensions; do
20456   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20457     ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
20458     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20459     break 2
20460   fi
20461 done
20462   done
20463 IFS=$as_save_IFS
20464
20465   ;;
20466 esac
20467 fi
20468 GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
20469 if test -n "$GTKDOC_CHECK"; then
20470   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
20471 $as_echo "$GTKDOC_CHECK" >&6; }
20472 else
20473   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20474 $as_echo "no" >&6; }
20475 fi
20476
20477
20478   test -n "$GTKDOC_CHECK" && break
20479 done
20480
20481
20482    if test x$enable_gtk_doc = xyes; then
20483   ENABLE_GTK_DOC_TRUE=
20484   ENABLE_GTK_DOC_FALSE='#'
20485 else
20486   ENABLE_GTK_DOC_TRUE='#'
20487   ENABLE_GTK_DOC_FALSE=
20488 fi
20489
20490    if test -n "$LIBTOOL"; then
20491   GTK_DOC_USE_LIBTOOL_TRUE=
20492   GTK_DOC_USE_LIBTOOL_FALSE='#'
20493 else
20494   GTK_DOC_USE_LIBTOOL_TRUE='#'
20495   GTK_DOC_USE_LIBTOOL_FALSE=
20496 fi
20497
20498
20499
20500
20501     PYTHON_CANDIDATES="python python2.2 python2.1 python2.0 python2 \
20502                      python1.6 python1.5"
20503
20504      { $as_echo "$as_me:${as_lineno-$LINENO}: Looking for Python version >= 2.1" >&5
20505 $as_echo "$as_me: Looking for Python version >= 2.1" >&6;}
20506         prog="
20507 import sys, string
20508 minver = '2.1'
20509 # split string by '.' and convert to numeric
20510 minver_info = map(string.atoi, string.split(minver, '.'))
20511 # we can now do comparisons on the two lists:
20512 if sys.version_info >= tuple(minver_info):
20513         sys.exit(0)
20514 else:
20515         sys.exit(1)"
20516
20517     python_good=false
20518     for python_candidate in $PYTHON_CANDIDATES; do
20519       unset PYTHON
20520       # Extract the first word of "$python_candidate", so it can be a program name with args.
20521 set dummy $python_candidate; ac_word=$2
20522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20523 $as_echo_n "checking for $ac_word... " >&6; }
20524 if test "${ac_cv_path_PYTHON+set}" = set; then :
20525   $as_echo_n "(cached) " >&6
20526 else
20527   case $PYTHON in
20528   [\\/]* | ?:[\\/]*)
20529   ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
20530   ;;
20531   *)
20532   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20533 for as_dir in $PATH
20534 do
20535   IFS=$as_save_IFS
20536   test -z "$as_dir" && as_dir=.
20537     for ac_exec_ext in '' $ac_executable_extensions; do
20538   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20539     ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
20540     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20541     break 2
20542   fi
20543 done
20544   done
20545 IFS=$as_save_IFS
20546
20547   ;;
20548 esac
20549 fi
20550 PYTHON=$ac_cv_path_PYTHON
20551 if test -n "$PYTHON"; then
20552   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
20553 $as_echo "$PYTHON" >&6; }
20554 else
20555   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20556 $as_echo "no" >&6; }
20557 fi
20558
20559  1> /dev/null 2> /dev/null
20560
20561       if test "x$PYTHON" = "x"; then continue; fi
20562
20563       if $PYTHON -c "$prog" 1>&5 2>&5; then
20564         { $as_echo "$as_me:${as_lineno-$LINENO}: checking \"$PYTHON\":" >&5
20565 $as_echo_n "checking \"$PYTHON\":... " >&6; }
20566         { $as_echo "$as_me:${as_lineno-$LINENO}: result: okay" >&5
20567 $as_echo "okay" >&6; }
20568         python_good=true
20569         break;
20570       else
20571                 unset ac_cv_path_PYTHON
20572       fi
20573     done
20574
20575
20576   if test "$python_good" != "true"; then
20577     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No suitable version of python found" >&5
20578 $as_echo "$as_me: WARNING: No suitable version of python found" >&2;}
20579     PYTHON=
20580   else
20581
20582   { $as_echo "$as_me:${as_lineno-$LINENO}: checking local Python configuration" >&5
20583 $as_echo_n "checking local Python configuration... " >&6; }
20584
20585
20586
20587     PYTHON_VERSION=`$PYTHON -c "import sys; print sys.version[:3]"`
20588
20589
20590
20591
20592   PYTHON_PREFIX='${prefix}'
20593
20594
20595   PYTHON_EXEC_PREFIX='${exec_prefix}'
20596
20597
20598
20599   PYTHON_PLATFORM=`$PYTHON -c "import sys; print sys.platform"`
20600
20601
20602
20603
20604
20605   pythondir=$PYTHON_PREFIX"/lib/python"$PYTHON_VERSION/site-packages
20606
20607
20608
20609   pkgpythondir=\${pythondir}/$PACKAGE
20610
20611
20612
20613   pyexecdir=$PYTHON_EXEC_PREFIX"/lib/python"$PYTHON_VERSION/site-packages
20614
20615
20616
20617   pkgpyexecdir=\${pyexecdir}/$PACKAGE
20618
20619   { $as_echo "$as_me:${as_lineno-$LINENO}: result: looks good" >&5
20620 $as_echo "looks good" >&6; }
20621
20622   fi
20623
20624
20625
20626   build_plugin_docs=no
20627   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build plugin documentation" >&5
20628 $as_echo_n "checking whether to build plugin documentation... " >&6; }
20629   if test x$enable_gtk_doc = xyes; then
20630     build_plugin_docs=yes
20631     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20632 $as_echo "yes" >&6; }
20633   else
20634     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (gtk-doc disabled or not available)" >&5
20635 $as_echo "no (gtk-doc disabled or not available)" >&6; }
20636   fi
20637
20638    if test x$build_plugin_docs = xyes; then
20639   ENABLE_PLUGIN_DOCS_TRUE=
20640   ENABLE_PLUGIN_DOCS_FALSE='#'
20641 else
20642   ENABLE_PLUGIN_DOCS_TRUE='#'
20643   ENABLE_PLUGIN_DOCS_FALSE=
20644 fi
20645
20646
20647
20648
20649 LIBM=
20650 case $host in
20651 *-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
20652   # These system don't have libm, or don't need it
20653   ;;
20654 *-ncr-sysv4.3*)
20655   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
20656 $as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
20657 if test "${ac_cv_lib_mw__mwvalidcheckl+set}" = set; then :
20658   $as_echo_n "(cached) " >&6
20659 else
20660   ac_check_lib_save_LIBS=$LIBS
20661 LIBS="-lmw  $LIBS"
20662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20663 /* end confdefs.h.  */
20664
20665 /* Override any GCC internal prototype to avoid an error.
20666    Use char because int might match the return type of a GCC
20667    builtin and then its argument prototype would still apply.  */
20668 #ifdef __cplusplus
20669 extern "C"
20670 #endif
20671 char _mwvalidcheckl ();
20672 int
20673 main ()
20674 {
20675 return _mwvalidcheckl ();
20676   ;
20677   return 0;
20678 }
20679 _ACEOF
20680 if ac_fn_c_try_link "$LINENO"; then :
20681   ac_cv_lib_mw__mwvalidcheckl=yes
20682 else
20683   ac_cv_lib_mw__mwvalidcheckl=no
20684 fi
20685 rm -f core conftest.err conftest.$ac_objext \
20686     conftest$ac_exeext conftest.$ac_ext
20687 LIBS=$ac_check_lib_save_LIBS
20688 fi
20689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
20690 $as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
20691 if test "x$ac_cv_lib_mw__mwvalidcheckl" = x""yes; then :
20692   LIBM="-lmw"
20693 fi
20694
20695   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
20696 $as_echo_n "checking for cos in -lm... " >&6; }
20697 if test "${ac_cv_lib_m_cos+set}" = set; then :
20698   $as_echo_n "(cached) " >&6
20699 else
20700   ac_check_lib_save_LIBS=$LIBS
20701 LIBS="-lm  $LIBS"
20702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20703 /* end confdefs.h.  */
20704
20705 /* Override any GCC internal prototype to avoid an error.
20706    Use char because int might match the return type of a GCC
20707    builtin and then its argument prototype would still apply.  */
20708 #ifdef __cplusplus
20709 extern "C"
20710 #endif
20711 char cos ();
20712 int
20713 main ()
20714 {
20715 return cos ();
20716   ;
20717   return 0;
20718 }
20719 _ACEOF
20720 if ac_fn_c_try_link "$LINENO"; then :
20721   ac_cv_lib_m_cos=yes
20722 else
20723   ac_cv_lib_m_cos=no
20724 fi
20725 rm -f core conftest.err conftest.$ac_objext \
20726     conftest$ac_exeext conftest.$ac_ext
20727 LIBS=$ac_check_lib_save_LIBS
20728 fi
20729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
20730 $as_echo "$ac_cv_lib_m_cos" >&6; }
20731 if test "x$ac_cv_lib_m_cos" = x""yes; then :
20732   LIBM="$LIBM -lm"
20733 fi
20734
20735   ;;
20736 *)
20737   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
20738 $as_echo_n "checking for cos in -lm... " >&6; }
20739 if test "${ac_cv_lib_m_cos+set}" = set; then :
20740   $as_echo_n "(cached) " >&6
20741 else
20742   ac_check_lib_save_LIBS=$LIBS
20743 LIBS="-lm  $LIBS"
20744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20745 /* end confdefs.h.  */
20746
20747 /* Override any GCC internal prototype to avoid an error.
20748    Use char because int might match the return type of a GCC
20749    builtin and then its argument prototype would still apply.  */
20750 #ifdef __cplusplus
20751 extern "C"
20752 #endif
20753 char cos ();
20754 int
20755 main ()
20756 {
20757 return cos ();
20758   ;
20759   return 0;
20760 }
20761 _ACEOF
20762 if ac_fn_c_try_link "$LINENO"; then :
20763   ac_cv_lib_m_cos=yes
20764 else
20765   ac_cv_lib_m_cos=no
20766 fi
20767 rm -f core conftest.err conftest.$ac_objext \
20768     conftest$ac_exeext conftest.$ac_ext
20769 LIBS=$ac_check_lib_save_LIBS
20770 fi
20771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
20772 $as_echo "$ac_cv_lib_m_cos" >&6; }
20773 if test "x$ac_cv_lib_m_cos" = x""yes; then :
20774   LIBM="-lm"
20775 fi
20776
20777   ;;
20778 esac
20779
20780
20781
20782
20783
20784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
20785 $as_echo_n "checking for ANSI C header files... " >&6; }
20786 if test "${ac_cv_header_stdc+set}" = set; then :
20787   $as_echo_n "(cached) " >&6
20788 else
20789   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20790 /* end confdefs.h.  */
20791 #include <stdlib.h>
20792 #include <stdarg.h>
20793 #include <string.h>
20794 #include <float.h>
20795
20796 int
20797 main ()
20798 {
20799
20800   ;
20801   return 0;
20802 }
20803 _ACEOF
20804 if ac_fn_c_try_compile "$LINENO"; then :
20805   ac_cv_header_stdc=yes
20806 else
20807   ac_cv_header_stdc=no
20808 fi
20809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20810
20811 if test $ac_cv_header_stdc = yes; then
20812   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
20813   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20814 /* end confdefs.h.  */
20815 #include <string.h>
20816
20817 _ACEOF
20818 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20819   $EGREP "memchr" >/dev/null 2>&1; then :
20820
20821 else
20822   ac_cv_header_stdc=no
20823 fi
20824 rm -f conftest*
20825
20826 fi
20827
20828 if test $ac_cv_header_stdc = yes; then
20829   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
20830   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20831 /* end confdefs.h.  */
20832 #include <stdlib.h>
20833
20834 _ACEOF
20835 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20836   $EGREP "free" >/dev/null 2>&1; then :
20837
20838 else
20839   ac_cv_header_stdc=no
20840 fi
20841 rm -f conftest*
20842
20843 fi
20844
20845 if test $ac_cv_header_stdc = yes; then
20846   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20847   if test "$cross_compiling" = yes; then :
20848   :
20849 else
20850   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20851 /* end confdefs.h.  */
20852 #include <ctype.h>
20853 #include <stdlib.h>
20854 #if ((' ' & 0x0FF) == 0x020)
20855 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
20856 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20857 #else
20858 # define ISLOWER(c) \
20859                    (('a' <= (c) && (c) <= 'i') \
20860                      || ('j' <= (c) && (c) <= 'r') \
20861                      || ('s' <= (c) && (c) <= 'z'))
20862 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
20863 #endif
20864
20865 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
20866 int
20867 main ()
20868 {
20869   int i;
20870   for (i = 0; i < 256; i++)
20871     if (XOR (islower (i), ISLOWER (i))
20872         || toupper (i) != TOUPPER (i))
20873       return 2;
20874   return 0;
20875 }
20876 _ACEOF
20877 if ac_fn_c_try_run "$LINENO"; then :
20878
20879 else
20880   ac_cv_header_stdc=no
20881 fi
20882 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20883   conftest.$ac_objext conftest.beam conftest.$ac_ext
20884 fi
20885
20886 fi
20887 fi
20888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
20889 $as_echo "$ac_cv_header_stdc" >&6; }
20890 if test $ac_cv_header_stdc = yes; then
20891
20892 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
20893
20894 fi
20895
20896
20897 for ac_header in malloc.h
20898 do :
20899   ac_fn_c_check_header_mongrel "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default"
20900 if test "x$ac_cv_header_malloc_h" = x""yes; then :
20901   cat >>confdefs.h <<_ACEOF
20902 #define HAVE_MALLOC_H 1
20903 _ACEOF
20904
20905 fi
20906
20907 done
20908
20909
20910 ac_cppflags_save="$CPPFLAGS"
20911 CPPFLAGS="`$PKG_CONFIG --cflags libxml-2.0`"
20912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20913 /* end confdefs.h.  */
20914
20915 #include <libxml/HTMLparser.h>
20916
20917 int
20918 main ()
20919 {
20920
20921 #ifndef LIBXML_HTML_ENABLED
20922 #error libxml2 has no HTML support
20923 #endif /* LIBXML_HTML_ENABLED */
20924
20925   ;
20926   return 0;
20927 }
20928 _ACEOF
20929 if ac_fn_c_try_compile "$LINENO"; then :
20930   HAVE_LIBXML_HTML="yes"
20931 else
20932   HAVE_LIBXML_HTML="no"
20933 fi
20934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20935 CPPFLAGS="$ac_cppflags_save"
20936  if test "x$HAVE_LIBXML_HTML" = "xyes"; then
20937   HAVE_LIBXML_HTML_TRUE=
20938   HAVE_LIBXML_HTML_FALSE='#'
20939 else
20940   HAVE_LIBXML_HTML_TRUE='#'
20941   HAVE_LIBXML_HTML_FALSE=
20942 fi
20943
20944
20945 for ac_header in sys/socket.h
20946 do :
20947   ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default"
20948 if test "x$ac_cv_header_sys_socket_h" = x""yes; then :
20949   cat >>confdefs.h <<_ACEOF
20950 #define HAVE_SYS_SOCKET_H 1
20951 _ACEOF
20952  HAVE_SYS_SOCKET_H="yes"
20953 else
20954   HAVE_SYS_SOCKET_H="no"
20955 fi
20956
20957 done
20958
20959  if test "x$HAVE_SYS_SOCKET_H" = "xyes"; then
20960   HAVE_SYS_SOCKET_H_TRUE=
20961   HAVE_SYS_SOCKET_H_FALSE='#'
20962 else
20963   HAVE_SYS_SOCKET_H_TRUE='#'
20964   HAVE_SYS_SOCKET_H_FALSE=
20965 fi
20966
20967
20968 for ac_header in winsock2.h
20969 do :
20970   ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default"
20971 if test "x$ac_cv_header_winsock2_h" = x""yes; then :
20972   cat >>confdefs.h <<_ACEOF
20973 #define HAVE_WINSOCK2_H 1
20974 _ACEOF
20975  HAVE_WINSOCK2_H=yes
20976 fi
20977
20978 done
20979
20980 if test "x$HAVE_WINSOCK2_H" = "xyes"; then
20981   WIN32_LIBS="-lws2_32"
20982
20983 fi
20984
20985 save_libs="$LIBS"
20986 ac_fn_c_check_func "$LINENO" "hstrerror" "ac_cv_func_hstrerror"
20987 if test "x$ac_cv_func_hstrerror" = x""yes; then :
20988
20989 else
20990   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hstrerror in -lresolv" >&5
20991 $as_echo_n "checking for hstrerror in -lresolv... " >&6; }
20992 if test "${ac_cv_lib_resolv_hstrerror+set}" = set; then :
20993   $as_echo_n "(cached) " >&6
20994 else
20995   ac_check_lib_save_LIBS=$LIBS
20996 LIBS="-lresolv  $LIBS"
20997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20998 /* end confdefs.h.  */
20999
21000 /* Override any GCC internal prototype to avoid an error.
21001    Use char because int might match the return type of a GCC
21002    builtin and then its argument prototype would still apply.  */
21003 #ifdef __cplusplus
21004 extern "C"
21005 #endif
21006 char hstrerror ();
21007 int
21008 main ()
21009 {
21010 return hstrerror ();
21011   ;
21012   return 0;
21013 }
21014 _ACEOF
21015 if ac_fn_c_try_link "$LINENO"; then :
21016   ac_cv_lib_resolv_hstrerror=yes
21017 else
21018   ac_cv_lib_resolv_hstrerror=no
21019 fi
21020 rm -f core conftest.err conftest.$ac_objext \
21021     conftest$ac_exeext conftest.$ac_ext
21022 LIBS=$ac_check_lib_save_LIBS
21023 fi
21024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_hstrerror" >&5
21025 $as_echo "$ac_cv_lib_resolv_hstrerror" >&6; }
21026 if test "x$ac_cv_lib_resolv_hstrerror" = x""yes; then :
21027   cat >>confdefs.h <<_ACEOF
21028 #define HAVE_LIBRESOLV 1
21029 _ACEOF
21030
21031   LIBS="-lresolv $LIBS"
21032
21033 else
21034
21035 $as_echo "#define NO_HSTRERROR 1" >>confdefs.h
21036
21037 fi
21038
21039 fi
21040
21041 HSTRERROR_LIBS=$LIBS
21042
21043 LIBS="$save_libs"
21044
21045 for ac_header in process.h sys/types.h sys/wait.h sys/stat.h
21046 do :
21047   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21048 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21049 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
21050   cat >>confdefs.h <<_ACEOF
21051 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21052 _ACEOF
21053
21054 fi
21055
21056 done
21057
21058
21059 # ------ AX CREATE STDINT H -------------------------------------
21060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint types" >&5
21061 $as_echo_n "checking for stdint types... " >&6; }
21062 ac_stdint_h=`echo _stdint.h`
21063 # try to shortcircuit - if the default include path of the compiler
21064 # can find a "stdint.h" header then we assume that all compilers can.
21065 if test "${ac_cv_header_stdint_t+set}" = set; then :
21066   $as_echo_n "(cached) " >&6
21067 else
21068
21069 old_CXXFLAGS="$CXXFLAGS" ; CXXFLAGS=""
21070 old_CPPFLAGS="$CPPFLAGS" ; CPPFLAGS=""
21071 old_CFLAGS="$CFLAGS"     ; CFLAGS=""
21072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21073 /* end confdefs.h.  */
21074 #include <stdint.h>
21075 int
21076 main ()
21077 {
21078 int_least32_t v = 0;
21079   ;
21080   return 0;
21081 }
21082 _ACEOF
21083 if ac_fn_c_try_compile "$LINENO"; then :
21084   ac_cv_stdint_result="(assuming C99 compatible system)"
21085  ac_cv_header_stdint_t="stdint.h";
21086 else
21087   ac_cv_header_stdint_t=""
21088 fi
21089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21090 if test "$GCC" = "yes" && test ".$ac_cv_header_stdint_t" = "."; then
21091 CFLAGS="-std=c99"
21092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21093 /* end confdefs.h.  */
21094 #include <stdint.h>
21095 int
21096 main ()
21097 {
21098 int_least32_t v = 0;
21099   ;
21100   return 0;
21101 }
21102 _ACEOF
21103 if ac_fn_c_try_compile "$LINENO"; then :
21104   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: your GCC compiler has a defunct stdint.h for its default-mode" >&5
21105 $as_echo "$as_me: WARNING: your GCC compiler has a defunct stdint.h for its default-mode" >&2;}
21106 fi
21107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21108 fi
21109 CXXFLAGS="$old_CXXFLAGS"
21110 CPPFLAGS="$old_CPPFLAGS"
21111 CFLAGS="$old_CFLAGS"
21112 fi
21113
21114
21115 v="... $ac_cv_header_stdint_h"
21116 if test "$ac_stdint_h" = "stdint.h" ; then
21117  { $as_echo "$as_me:${as_lineno-$LINENO}: result: (are you sure you want them in ./stdint.h?)" >&5
21118 $as_echo "(are you sure you want them in ./stdint.h?)" >&6; }
21119 elif test "$ac_stdint_h" = "inttypes.h" ; then
21120  { $as_echo "$as_me:${as_lineno-$LINENO}: result: (are you sure you want them in ./inttypes.h?)" >&5
21121 $as_echo "(are you sure you want them in ./inttypes.h?)" >&6; }
21122 elif test "_$ac_cv_header_stdint_t" = "_" ; then
21123  { $as_echo "$as_me:${as_lineno-$LINENO}: result: (putting them into $ac_stdint_h)$v" >&5
21124 $as_echo "(putting them into $ac_stdint_h)$v" >&6; }
21125 else
21126  ac_cv_header_stdint="$ac_cv_header_stdint_t"
21127  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint (shortcircuit)" >&5
21128 $as_echo "$ac_cv_header_stdint (shortcircuit)" >&6; }
21129 fi
21130
21131 if test "_$ac_cv_header_stdint_t" = "_" ; then # can not shortcircuit..
21132
21133
21134 inttype_headers=`echo  | sed -e 's/,/ /g'`
21135
21136 ac_cv_stdint_result="(no helpful system typedefs seen)"
21137
21138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uintptr_t" >&5
21139 $as_echo_n "checking for stdint uintptr_t... " >&6; }
21140 if test "${ac_cv_header_stdint_x+set}" = set; then :
21141   $as_echo_n "(cached) " >&6
21142 else
21143
21144  ac_cv_header_stdint_x="" # the 1997 typedefs (inttypes.h)
21145   { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
21146 $as_echo "(..)" >&6; }
21147   for i in    stdint.h inttypes.h sys/inttypes.h $inttype_headers
21148   do
21149    unset ac_cv_type_uintptr_t
21150    unset ac_cv_type_uint64_t
21151    ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <$i>
21152 "
21153 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
21154   ac_cv_header_stdint_x=$i
21155 else
21156   continue
21157 fi
21158
21159    ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include<$i>
21160 "
21161 if test "x$ac_cv_type_uint64_t" = x""yes; then :
21162   and64="/uint64_t"
21163 else
21164   and64=""
21165 fi
21166
21167    ac_cv_stdint_result="(seen uintptr_t$and64 in $i)"
21168  break
21169   done
21170   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uintptr_t" >&5
21171 $as_echo_n "checking for stdint uintptr_t... " >&6; }
21172
21173 fi
21174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_x" >&5
21175 $as_echo "$ac_cv_header_stdint_x" >&6; }
21176
21177
21178 if test "_$ac_cv_header_stdint_x" = "_" ; then
21179
21180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uint32_t" >&5
21181 $as_echo_n "checking for stdint uint32_t... " >&6; }
21182 if test "${ac_cv_header_stdint_o+set}" = set; then :
21183   $as_echo_n "(cached) " >&6
21184 else
21185
21186  ac_cv_header_stdint_o="" # the 1995 typedefs (sys/inttypes.h)
21187   { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
21188 $as_echo "(..)" >&6; }
21189   for i in    inttypes.h sys/inttypes.h stdint.h $inttype_headers
21190   do
21191    unset ac_cv_type_uint32_t
21192    unset ac_cv_type_uint64_t
21193    ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <$i>
21194 "
21195 if test "x$ac_cv_type_uint32_t" = x""yes; then :
21196   ac_cv_header_stdint_o=$i
21197 else
21198   continue
21199 fi
21200
21201    ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include<$i>
21202 "
21203 if test "x$ac_cv_type_uint64_t" = x""yes; then :
21204   and64="/uint64_t"
21205 else
21206   and64=""
21207 fi
21208
21209    ac_cv_stdint_result="(seen uint32_t$and64 in $i)"
21210  break
21211    break;
21212   done
21213   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uint32_t" >&5
21214 $as_echo_n "checking for stdint uint32_t... " >&6; }
21215
21216 fi
21217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_o" >&5
21218 $as_echo "$ac_cv_header_stdint_o" >&6; }
21219
21220 fi
21221
21222 if test "_$ac_cv_header_stdint_x" = "_" ; then
21223 if test "_$ac_cv_header_stdint_o" = "_" ; then
21224
21225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint u_int32_t" >&5
21226 $as_echo_n "checking for stdint u_int32_t... " >&6; }
21227 if test "${ac_cv_header_stdint_u+set}" = set; then :
21228   $as_echo_n "(cached) " >&6
21229 else
21230
21231  ac_cv_header_stdint_u="" # the BSD typedefs (sys/types.h)
21232   { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
21233 $as_echo "(..)" >&6; }
21234   for i in    sys/types.h inttypes.h sys/inttypes.h $inttype_headers ; do
21235    unset ac_cv_type_u_int32_t
21236    unset ac_cv_type_u_int64_t
21237    ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <$i>
21238 "
21239 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
21240   ac_cv_header_stdint_u=$i
21241 else
21242   continue
21243 fi
21244
21245    ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include<$i>
21246 "
21247 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
21248   and64="/u_int64_t"
21249 else
21250   and64=""
21251 fi
21252
21253    ac_cv_stdint_result="(seen u_int32_t$and64 in $i)"
21254  break
21255    break;
21256   done
21257   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint u_int32_t" >&5
21258 $as_echo_n "checking for stdint u_int32_t... " >&6; }
21259
21260 fi
21261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_u" >&5
21262 $as_echo "$ac_cv_header_stdint_u" >&6; }
21263
21264 fi fi
21265
21266 if test "_$ac_cv_header_stdint_x" = "_" ; then
21267    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint datatype model" >&5
21268 $as_echo_n "checking for stdint datatype model... " >&6; }
21269    { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
21270 $as_echo "(..)" >&6; }
21271
21272    # The cast to long int works around a bug in the HP C Compiler
21273 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21274 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21275 # This bug is HP SR number 8606223364.
21276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
21277 $as_echo_n "checking size of char... " >&6; }
21278 if test "${ac_cv_sizeof_char+set}" = set; then :
21279   $as_echo_n "(cached) " >&6
21280 else
21281   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
21282
21283 else
21284   if test "$ac_cv_type_char" = yes; then
21285      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21286 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21287 as_fn_error 77 "cannot compute sizeof (char)
21288 See \`config.log' for more details" "$LINENO" 5 ; }
21289    else
21290      ac_cv_sizeof_char=0
21291    fi
21292 fi
21293
21294 fi
21295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
21296 $as_echo "$ac_cv_sizeof_char" >&6; }
21297
21298
21299
21300 cat >>confdefs.h <<_ACEOF
21301 #define SIZEOF_CHAR $ac_cv_sizeof_char
21302 _ACEOF
21303
21304
21305    # The cast to long int works around a bug in the HP C Compiler
21306 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21307 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21308 # This bug is HP SR number 8606223364.
21309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
21310 $as_echo_n "checking size of short... " >&6; }
21311 if test "${ac_cv_sizeof_short+set}" = set; then :
21312   $as_echo_n "(cached) " >&6
21313 else
21314   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
21315
21316 else
21317   if test "$ac_cv_type_short" = yes; then
21318      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21319 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21320 as_fn_error 77 "cannot compute sizeof (short)
21321 See \`config.log' for more details" "$LINENO" 5 ; }
21322    else
21323      ac_cv_sizeof_short=0
21324    fi
21325 fi
21326
21327 fi
21328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
21329 $as_echo "$ac_cv_sizeof_short" >&6; }
21330
21331
21332
21333 cat >>confdefs.h <<_ACEOF
21334 #define SIZEOF_SHORT $ac_cv_sizeof_short
21335 _ACEOF
21336
21337
21338    # The cast to long int works around a bug in the HP C Compiler
21339 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21340 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21341 # This bug is HP SR number 8606223364.
21342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
21343 $as_echo_n "checking size of int... " >&6; }
21344 if test "${ac_cv_sizeof_int+set}" = set; then :
21345   $as_echo_n "(cached) " >&6
21346 else
21347   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
21348
21349 else
21350   if test "$ac_cv_type_int" = yes; then
21351      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21352 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21353 as_fn_error 77 "cannot compute sizeof (int)
21354 See \`config.log' for more details" "$LINENO" 5 ; }
21355    else
21356      ac_cv_sizeof_int=0
21357    fi
21358 fi
21359
21360 fi
21361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
21362 $as_echo "$ac_cv_sizeof_int" >&6; }
21363
21364
21365
21366 cat >>confdefs.h <<_ACEOF
21367 #define SIZEOF_INT $ac_cv_sizeof_int
21368 _ACEOF
21369
21370
21371    # The cast to long int works around a bug in the HP C Compiler
21372 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21373 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21374 # This bug is HP SR number 8606223364.
21375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
21376 $as_echo_n "checking size of long... " >&6; }
21377 if test "${ac_cv_sizeof_long+set}" = set; then :
21378   $as_echo_n "(cached) " >&6
21379 else
21380   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
21381
21382 else
21383   if test "$ac_cv_type_long" = yes; then
21384      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21385 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21386 as_fn_error 77 "cannot compute sizeof (long)
21387 See \`config.log' for more details" "$LINENO" 5 ; }
21388    else
21389      ac_cv_sizeof_long=0
21390    fi
21391 fi
21392
21393 fi
21394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
21395 $as_echo "$ac_cv_sizeof_long" >&6; }
21396
21397
21398
21399 cat >>confdefs.h <<_ACEOF
21400 #define SIZEOF_LONG $ac_cv_sizeof_long
21401 _ACEOF
21402
21403
21404    # The cast to long int works around a bug in the HP C Compiler
21405 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21406 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21407 # This bug is HP SR number 8606223364.
21408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void*" >&5
21409 $as_echo_n "checking size of void*... " >&6; }
21410 if test "${ac_cv_sizeof_voidp+set}" = set; then :
21411   $as_echo_n "(cached) " >&6
21412 else
21413   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void*))" "ac_cv_sizeof_voidp"        "$ac_includes_default"; then :
21414
21415 else
21416   if test "$ac_cv_type_voidp" = yes; then
21417      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21418 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21419 as_fn_error 77 "cannot compute sizeof (void*)
21420 See \`config.log' for more details" "$LINENO" 5 ; }
21421    else
21422      ac_cv_sizeof_voidp=0
21423    fi
21424 fi
21425
21426 fi
21427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_voidp" >&5
21428 $as_echo "$ac_cv_sizeof_voidp" >&6; }
21429
21430
21431
21432 cat >>confdefs.h <<_ACEOF
21433 #define SIZEOF_VOIDP $ac_cv_sizeof_voidp
21434 _ACEOF
21435
21436
21437    ac_cv_char_data_model=""
21438    ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_char"
21439    ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_short"
21440    ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_int"
21441    ac_cv_long_data_model=""
21442    ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_int"
21443    ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_long"
21444    ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_voidp"
21445    { $as_echo "$as_me:${as_lineno-$LINENO}: checking data model" >&5
21446 $as_echo_n "checking data model... " >&6; }
21447    case "$ac_cv_char_data_model/$ac_cv_long_data_model" in
21448     122/242)     ac_cv_data_model="IP16"  ; n="standard 16bit machine" ;;
21449     122/244)     ac_cv_data_model="LP32"  ; n="standard 32bit machine" ;;
21450     122/*)       ac_cv_data_model="i16"   ; n="unusual int16 model" ;;
21451     124/444)     ac_cv_data_model="ILP32" ; n="standard 32bit unixish" ;;
21452     124/488)     ac_cv_data_model="LP64"  ; n="standard 64bit unixish" ;;
21453     124/448)     ac_cv_data_model="LLP64" ; n="unusual 64bit unixish" ;;
21454     124/*)       ac_cv_data_model="i32"   ; n="unusual int32 model" ;;
21455     128/888)     ac_cv_data_model="ILP64" ; n="unusual 64bit numeric" ;;
21456     128/*)       ac_cv_data_model="i64"   ; n="unusual int64 model" ;;
21457     222/*2)      ac_cv_data_model="DSP16" ; n="strict 16bit dsptype" ;;
21458     333/*3)      ac_cv_data_model="DSP24" ; n="strict 24bit dsptype" ;;
21459     444/*4)      ac_cv_data_model="DSP32" ; n="strict 32bit dsptype" ;;
21460     666/*6)      ac_cv_data_model="DSP48" ; n="strict 48bit dsptype" ;;
21461     888/*8)      ac_cv_data_model="DSP64" ; n="strict 64bit dsptype" ;;
21462     222/*|333/*|444/*|666/*|888/*) :
21463                  ac_cv_data_model="iDSP"  ; n="unusual dsptype" ;;
21464      *)          ac_cv_data_model="none"  ; n="very unusual model" ;;
21465    esac
21466    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_data_model ($ac_cv_long_data_model, $n)" >&5
21467 $as_echo "$ac_cv_data_model ($ac_cv_long_data_model, $n)" >&6; }
21468
21469 fi
21470
21471 if test "_$ac_cv_header_stdint_x" != "_" ; then
21472    ac_cv_header_stdint="$ac_cv_header_stdint_x"
21473 elif  test "_$ac_cv_header_stdint_o" != "_" ; then
21474    ac_cv_header_stdint="$ac_cv_header_stdint_o"
21475 elif  test "_$ac_cv_header_stdint_u" != "_" ; then
21476    ac_cv_header_stdint="$ac_cv_header_stdint_u"
21477 else
21478    ac_cv_header_stdint="stddef.h"
21479 fi
21480
21481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra inttypes in chosen header" >&5
21482 $as_echo_n "checking for extra inttypes in chosen header... " >&6; }
21483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ($ac_cv_header_stdint)" >&5
21484 $as_echo "($ac_cv_header_stdint)" >&6; }
21485 unset ac_cv_type_int_least32_t
21486 unset ac_cv_type_int_fast32_t
21487 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <$ac_cv_header_stdint>
21488 "
21489 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
21490
21491 fi
21492
21493 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include<$ac_cv_header_stdint>
21494 "
21495 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
21496
21497 fi
21498
21499 ac_fn_c_check_type "$LINENO" "intmax_t" "ac_cv_type_intmax_t" "#include <$ac_cv_header_stdint>
21500 "
21501 if test "x$ac_cv_type_intmax_t" = x""yes; then :
21502
21503 fi
21504
21505
21506 fi # shortcircut to system "stdint.h"
21507 # ------------------ PREPARE VARIABLES ------------------------------
21508 if test "$GCC" = "yes" ; then
21509 ac_cv_stdint_message="using gnu compiler "`$CC --version | head -1`
21510 else
21511 ac_cv_stdint_message="using $CC"
21512 fi
21513
21514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&5
21515 $as_echo "make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&6; }
21516
21517 # ----------------- DONE inttypes.h checks START header -------------
21518 ac_config_commands="$ac_config_commands $ac_stdint_h"
21519
21520
21521
21522 for ac_func in localtime_r gmtime_r
21523 do :
21524   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21525 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21526 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
21527   cat >>confdefs.h <<_ACEOF
21528 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21529 _ACEOF
21530
21531 fi
21532 done
21533
21534
21535 LIBS_SAVE=$LIBS
21536 LIBS="$LIBS $LIBM"
21537 for ac_func in log2
21538 do :
21539   ac_fn_c_check_func "$LINENO" "log2" "ac_cv_func_log2"
21540 if test "x$ac_cv_func_log2" = x""yes; then :
21541   cat >>confdefs.h <<_ACEOF
21542 #define HAVE_LOG2 1
21543 _ACEOF
21544
21545 fi
21546 done
21547
21548 LIBS=$LIBS_SAVE
21549
21550
21551
21552
21553   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FIONREAD in sys/ioctl.h" >&5
21554 $as_echo_n "checking for FIONREAD in sys/ioctl.h... " >&6; }
21555   if test "${_cv_gst_fionread_in_sys_ioctl+set}" = set; then :
21556   $as_echo_n "(cached) " >&6
21557 else
21558
21559     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21560 /* end confdefs.h.  */
21561
21562 #include <sys/types.h>
21563 #include <sys/ioctl.h>
21564
21565 int
21566 main ()
21567 {
21568
21569 int x = FIONREAD;
21570 if ( x )
21571   return 0;
21572
21573   ;
21574   return 0;
21575 }
21576 _ACEOF
21577 if ac_fn_c_try_compile "$LINENO"; then :
21578   _cv_gst_fionread_in_sys_ioctl="yes"
21579 else
21580   _cv_gst_fionread_in_sys_ioctl="no"
21581 fi
21582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21583
21584 fi
21585
21586
21587   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_gst_fionread_in_sys_ioctl" >&5
21588 $as_echo "$_cv_gst_fionread_in_sys_ioctl" >&6; }
21589
21590   if test "$_cv_gst_fionread_in_sys_ioctl" = "yes"; then
21591
21592 $as_echo "#define HAVE_FIONREAD_IN_SYS_IOCTL 1" >>confdefs.h
21593
21594
21595   else
21596
21597     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FIONREAD in sys/filio.h" >&5
21598 $as_echo_n "checking for FIONREAD in sys/filio.h... " >&6; }
21599     if test "${_cv_gst_fionread_in_sys_filio+set}" = set; then :
21600   $as_echo_n "(cached) " >&6
21601 else
21602
21603       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21604 /* end confdefs.h.  */
21605
21606   #include <sys/types.h>
21607   #include <sys/filio.h>
21608
21609 int
21610 main ()
21611 {
21612
21613   int x = FIONREAD;
21614   if ( x )
21615     return 0;
21616
21617   ;
21618   return 0;
21619 }
21620 _ACEOF
21621 if ac_fn_c_try_compile "$LINENO"; then :
21622   _cv_gst_fionread_in_sys_filio="yes"
21623 else
21624   _cv_gst_fionread_in_sys_filio="no"
21625 fi
21626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21627
21628 fi
21629
21630
21631     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_gst_fionread_in_sys_filio" >&5
21632 $as_echo "$_cv_gst_fionread_in_sys_filio" >&6; }
21633
21634     if test "$_cv_gst_fionread_in_sys_filio" = "yes"; then
21635
21636 $as_echo "#define HAVE_FIONREAD_IN_SYS_FILIO 1" >>confdefs.h
21637
21638     fi
21639
21640   fi
21641
21642
21643
21644
21645
21646
21647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
21648 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
21649 if test "${ac_cv_sys_largefile_source+set}" = set; then :
21650   $as_echo_n "(cached) " >&6
21651 else
21652   while :; do
21653   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21654 /* end confdefs.h.  */
21655 #include <sys/types.h> /* for off_t */
21656      #include <stdio.h>
21657 int
21658 main ()
21659 {
21660 int (*fp) (FILE *, off_t, int) = fseeko;
21661      return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
21662   ;
21663   return 0;
21664 }
21665 _ACEOF
21666 if ac_fn_c_try_link "$LINENO"; then :
21667   ac_cv_sys_largefile_source=no; break
21668 fi
21669 rm -f core conftest.err conftest.$ac_objext \
21670     conftest$ac_exeext conftest.$ac_ext
21671   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21672 /* end confdefs.h.  */
21673 #define _LARGEFILE_SOURCE 1
21674 #include <sys/types.h> /* for off_t */
21675      #include <stdio.h>
21676 int
21677 main ()
21678 {
21679 int (*fp) (FILE *, off_t, int) = fseeko;
21680      return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
21681   ;
21682   return 0;
21683 }
21684 _ACEOF
21685 if ac_fn_c_try_link "$LINENO"; then :
21686   ac_cv_sys_largefile_source=1; break
21687 fi
21688 rm -f core conftest.err conftest.$ac_objext \
21689     conftest$ac_exeext conftest.$ac_ext
21690   ac_cv_sys_largefile_source=unknown
21691   break
21692 done
21693 fi
21694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
21695 $as_echo "$ac_cv_sys_largefile_source" >&6; }
21696 case $ac_cv_sys_largefile_source in #(
21697   no | unknown) ;;
21698   *)
21699 cat >>confdefs.h <<_ACEOF
21700 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
21701 _ACEOF
21702 ;;
21703 esac
21704 rm -rf conftest*
21705
21706 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
21707 # in glibc 2.1.3, but that breaks too many other things.
21708 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
21709 if test $ac_cv_sys_largefile_source != unknown; then
21710
21711 $as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
21712
21713 fi
21714
21715
21716 save_libs=$LIBS
21717 LIBS="$LIBS $LIBM"
21718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lrint" >&5
21719 $as_echo_n "checking for lrint... " >&6; }
21720 if test "${ac_cv_c99_lrint+set}" = set; then :
21721   $as_echo_n "(cached) " >&6
21722 else
21723   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21724 /* end confdefs.h.  */
21725
21726 #define         _ISOC9X_SOURCE  1
21727 #define         _ISOC99_SOURCE  1
21728 #define         __USE_ISOC99    1
21729 #define         __USE_ISOC9X    1
21730 #include        <math.h>
21731 int
21732 main ()
21733 {
21734         int value = lrint (0.432) ;
21735   ;
21736   return 0;
21737 }
21738 _ACEOF
21739 if ac_fn_c_try_link "$LINENO"; then :
21740   ac_cv_c99_lrint=yes
21741 else
21742   ac_cv_c99_lrint=no
21743 fi
21744 rm -f core conftest.err conftest.$ac_objext \
21745     conftest$ac_exeext conftest.$ac_ext
21746 fi
21747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c99_lrint" >&5
21748 $as_echo "$ac_cv_c99_lrint" >&6; }
21749 if test $ac_cv_c99_lrint = yes; then
21750
21751 $as_echo "#define HAVE_LRINT 1" >>confdefs.h
21752
21753 fi
21754
21755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lrintf" >&5
21756 $as_echo_n "checking for lrintf... " >&6; }
21757 if test "${ac_cv_c99_lrintf+set}" = set; then :
21758   $as_echo_n "(cached) " >&6
21759 else
21760   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21761 /* end confdefs.h.  */
21762
21763 #define         _ISOC9X_SOURCE  1
21764 #define         _ISOC99_SOURCE  1
21765 #define         __USE_ISOC99    1
21766 #define         __USE_ISOC9X    1
21767 #include        <math.h>
21768 int
21769 main ()
21770 {
21771         int value = lrintf (0.432) ;
21772   ;
21773   return 0;
21774 }
21775 _ACEOF
21776 if ac_fn_c_try_link "$LINENO"; then :
21777   ac_cv_c99_lrintf=yes
21778 else
21779   ac_cv_c99_lrintf=no
21780 fi
21781 rm -f core conftest.err conftest.$ac_objext \
21782     conftest$ac_exeext conftest.$ac_ext
21783 fi
21784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c99_lrintf" >&5
21785 $as_echo "$ac_cv_c99_lrintf" >&6; }
21786 if test $ac_cv_c99_lrintf = yes; then
21787
21788 $as_echo "#define HAVE_LRINTF 1" >>confdefs.h
21789
21790 fi
21791
21792 LIBS=$save_libs
21793
21794
21795     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC implements __PRETTY_FUNCTION__" >&5
21796 $as_echo_n "checking whether $CC implements __PRETTY_FUNCTION__... " >&6; }
21797   if test "${gst_cv_have_pretty_function+set}" = set; then :
21798   $as_echo_n "(cached) " >&6
21799 else
21800
21801     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21802 /* end confdefs.h.  */
21803 #include <stdio.h>
21804 int
21805 main ()
21806 {
21807 printf("%s", __PRETTY_FUNCTION__);
21808   ;
21809   return 0;
21810 }
21811 _ACEOF
21812 if ac_fn_c_try_link "$LINENO"; then :
21813   gst_cv_have_pretty_function=yes
21814 else
21815   gst_cv_have_pretty_function=no
21816 fi
21817 rm -f core conftest.err conftest.$ac_objext \
21818     conftest$ac_exeext conftest.$ac_ext
21819
21820 fi
21821
21822   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gst_cv_have_pretty_function" >&5
21823 $as_echo "$gst_cv_have_pretty_function" >&6; }
21824   if test "$gst_cv_have_pretty_function" = yes; then
21825
21826 $as_echo "#define HAVE_PRETTY_FUNCTION 1" >>confdefs.h
21827
21828   fi
21829
21830   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC implements __FUNCTION__" >&5
21831 $as_echo_n "checking whether $CC implements __FUNCTION__... " >&6; }
21832   if test "${gst_cv_have_function+set}" = set; then :
21833   $as_echo_n "(cached) " >&6
21834 else
21835
21836     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21837 /* end confdefs.h.  */
21838 #include <stdio.h>
21839 int
21840 main ()
21841 {
21842 printf("%s", __FUNCTION__);
21843   ;
21844   return 0;
21845 }
21846 _ACEOF
21847 if ac_fn_c_try_link "$LINENO"; then :
21848   gst_cv_have_function=yes
21849 else
21850   gst_cv_have_function=no
21851 fi
21852 rm -f core conftest.err conftest.$ac_objext \
21853     conftest$ac_exeext conftest.$ac_ext
21854
21855 fi
21856
21857   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gst_cv_have_function" >&5
21858 $as_echo "$gst_cv_have_function" >&6; }
21859   if test "$gst_cv_have_function" = yes; then
21860
21861 $as_echo "#define HAVE_FUNCTION 1" >>confdefs.h
21862
21863   fi
21864
21865   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC implements __func__" >&5
21866 $as_echo_n "checking whether $CC implements __func__... " >&6; }
21867   if test "${gst_cv_have_func+set}" = set; then :
21868   $as_echo_n "(cached) " >&6
21869 else
21870
21871     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21872 /* end confdefs.h.  */
21873 #include <stdio.h>
21874 int
21875 main ()
21876 {
21877 printf("%s", __func__);
21878   ;
21879   return 0;
21880 }
21881 _ACEOF
21882 if ac_fn_c_try_link "$LINENO"; then :
21883   gst_cv_have_func=yes
21884 else
21885   gst_cv_have_func=no
21886 fi
21887 rm -f core conftest.err conftest.$ac_objext \
21888     conftest$ac_exeext conftest.$ac_ext
21889
21890 fi
21891
21892   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gst_cv_have_func" >&5
21893 $as_echo "$gst_cv_have_func" >&6; }
21894   if test "$gst_cv_have_func" = yes; then
21895
21896 $as_echo "#define HAVE_FUNC 1" >>confdefs.h
21897
21898   fi
21899
21900   if test "$gst_cv_have_pretty_function" = yes; then
21901     function=__PRETTY_FUNCTION__
21902   else
21903     if test "$gst_cv_have_function" = yes; then
21904       function=__FUNCTION__
21905     else
21906       if test "$gst_cv_have_func" = yes; then
21907         function=__func__
21908       else
21909         function=\"\"
21910       fi
21911     fi
21912   fi
21913
21914 cat >>confdefs.h <<_ACEOF
21915 #define GST_FUNCTION $function
21916 _ACEOF
21917
21918
21919
21920 ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"
21921 if test "x$ac_cv_func_socket" = x""yes; then :
21922
21923 else
21924   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
21925 $as_echo_n "checking for socket in -lsocket... " >&6; }
21926 if test "${ac_cv_lib_socket_socket+set}" = set; then :
21927   $as_echo_n "(cached) " >&6
21928 else
21929   ac_check_lib_save_LIBS=$LIBS
21930 LIBS="-lsocket  $LIBS"
21931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21932 /* end confdefs.h.  */
21933
21934 /* Override any GCC internal prototype to avoid an error.
21935    Use char because int might match the return type of a GCC
21936    builtin and then its argument prototype would still apply.  */
21937 #ifdef __cplusplus
21938 extern "C"
21939 #endif
21940 char socket ();
21941 int
21942 main ()
21943 {
21944 return socket ();
21945   ;
21946   return 0;
21947 }
21948 _ACEOF
21949 if ac_fn_c_try_link "$LINENO"; then :
21950   ac_cv_lib_socket_socket=yes
21951 else
21952   ac_cv_lib_socket_socket=no
21953 fi
21954 rm -f core conftest.err conftest.$ac_objext \
21955     conftest$ac_exeext conftest.$ac_ext
21956 LIBS=$ac_check_lib_save_LIBS
21957 fi
21958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
21959 $as_echo "$ac_cv_lib_socket_socket" >&6; }
21960 if test "x$ac_cv_lib_socket_socket" = x""yes; then :
21961   cat >>confdefs.h <<_ACEOF
21962 #define HAVE_LIBSOCKET 1
21963 _ACEOF
21964
21965   LIBS="-lsocket $LIBS"
21966
21967 fi
21968
21969 fi
21970
21971 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
21972 if test "x$ac_cv_func_gethostbyname" = x""yes; then :
21973
21974 else
21975   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
21976 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
21977 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
21978   $as_echo_n "(cached) " >&6
21979 else
21980   ac_check_lib_save_LIBS=$LIBS
21981 LIBS="-lnsl  $LIBS"
21982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21983 /* end confdefs.h.  */
21984
21985 /* Override any GCC internal prototype to avoid an error.
21986    Use char because int might match the return type of a GCC
21987    builtin and then its argument prototype would still apply.  */
21988 #ifdef __cplusplus
21989 extern "C"
21990 #endif
21991 char gethostbyname ();
21992 int
21993 main ()
21994 {
21995 return gethostbyname ();
21996   ;
21997   return 0;
21998 }
21999 _ACEOF
22000 if ac_fn_c_try_link "$LINENO"; then :
22001   ac_cv_lib_nsl_gethostbyname=yes
22002 else
22003   ac_cv_lib_nsl_gethostbyname=no
22004 fi
22005 rm -f core conftest.err conftest.$ac_objext \
22006     conftest$ac_exeext conftest.$ac_ext
22007 LIBS=$ac_check_lib_save_LIBS
22008 fi
22009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
22010 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
22011 if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
22012   cat >>confdefs.h <<_ACEOF
22013 #define HAVE_LIBNSL 1
22014 _ACEOF
22015
22016   LIBS="-lnsl $LIBS"
22017
22018 fi
22019
22020 fi
22021
22022
22023
22024
22025
22026
22027     GLIB_REQ=2.22
22028   if test "x$GLIB_REQ" = "x"
22029   then
22030     as_fn_error $? "Please specify a required version for GLib 2.0" "$LINENO" 5
22031   fi
22032
22033
22034
22035   which="glib-2.0 >= $GLIB_REQ gobject-2.0 gthread-2.0 gmodule-no-export-2.0"
22036     required="no"
22037
22038
22039 pkg_failed=no
22040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
22041 $as_echo_n "checking for GLIB... " >&6; }
22042
22043 if test -n "$PKG_CONFIG"; then
22044     if test -n "$GLIB_CFLAGS"; then
22045         pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
22046     else
22047         if test -n "$PKG_CONFIG" && \
22048     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
22049   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
22050   ac_status=$?
22051   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22052   test $ac_status = 0; }; then
22053   pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
22054 else
22055   pkg_failed=yes
22056 fi
22057     fi
22058 else
22059         pkg_failed=untried
22060 fi
22061 if test -n "$PKG_CONFIG"; then
22062     if test -n "$GLIB_LIBS"; then
22063         pkg_cv_GLIB_LIBS="$GLIB_LIBS"
22064     else
22065         if test -n "$PKG_CONFIG" && \
22066     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
22067   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
22068   ac_status=$?
22069   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22070   test $ac_status = 0; }; then
22071   pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
22072 else
22073   pkg_failed=yes
22074 fi
22075     fi
22076 else
22077         pkg_failed=untried
22078 fi
22079
22080
22081
22082 if test $pkg_failed = yes; then
22083
22084 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22085         _pkg_short_errors_supported=yes
22086 else
22087         _pkg_short_errors_supported=no
22088 fi
22089         if test $_pkg_short_errors_supported = yes; then
22090                 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
22091         else
22092                 GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
22093         fi
22094         # Put the nasty error message in config.log where it belongs
22095         echo "$GLIB_PKG_ERRORS" >&5
22096
22097         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22098 $as_echo "no" >&6; }
22099
22100       HAVE_GLIB="no"
22101       if test "x$required" = "xyes"; then
22102         as_fn_error $? "$GLIB_PKG_ERRORS" "$LINENO" 5
22103       else
22104         { $as_echo "$as_me:${as_lineno-$LINENO}: $GLIB_PKG_ERRORS" >&5
22105 $as_echo "$as_me: $GLIB_PKG_ERRORS" >&6;}
22106       fi
22107
22108 elif test $pkg_failed = untried; then
22109
22110       HAVE_GLIB="no"
22111       if test "x$required" = "xyes"; then
22112         as_fn_error $? "$GLIB_PKG_ERRORS" "$LINENO" 5
22113       else
22114         { $as_echo "$as_me:${as_lineno-$LINENO}: $GLIB_PKG_ERRORS" >&5
22115 $as_echo "$as_me: $GLIB_PKG_ERRORS" >&6;}
22116       fi
22117
22118 else
22119         GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
22120         GLIB_LIBS=$pkg_cv_GLIB_LIBS
22121         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22122 $as_echo "yes" >&6; }
22123
22124       HAVE_GLIB="yes"
22125
22126 fi
22127
22128
22129
22130   if test "x$HAVE_GLIB" = "xno"; then
22131     as_fn_error $? "This package requires GLib >= $GLIB_REQ to compile." "$LINENO" 5
22132   fi
22133
22134         GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_THREADS_MANDATORY"
22135
22136     if test "x$PACKAGE_VERSION_NANO" = "x1"; then
22137     GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_DISABLE_DEPRECATED"
22138   fi
22139
22140   # Check whether --enable-gobject-cast-checks was given.
22141 if test "${enable_gobject_cast_checks+set}" = set; then :
22142   enableval=$enable_gobject_cast_checks;
22143 else
22144   enable_gobject_cast_checks=auto
22145 fi
22146
22147
22148   if test "x$enable_gobject_cast_checks" = "xauto"; then
22149         if test "x$PACKAGE_VERSION_NANO" = "x1"; then
22150       enable_gobject_cast_checks=yes
22151     else
22152       enable_gobject_cast_checks=no
22153     fi
22154   fi
22155
22156   if test "x$enable_gobject_cast_checks" = "xno"; then
22157     GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_DISABLE_CAST_CHECKS"
22158   fi
22159
22160   # Check whether --enable-glib-asserts was given.
22161 if test "${enable_glib_asserts+set}" = set; then :
22162   enableval=$enable_glib_asserts;
22163 else
22164   enable_glib_assertions=auto
22165 fi
22166
22167
22168   if test "x$enable_glib_assertions" = "xauto"; then
22169         if test "x$PACKAGE_VERSION_NANO" = "x1"; then
22170       enable_glib_assertions=yes
22171     else
22172       enable_glib_assertions=no
22173     fi
22174   fi
22175
22176   if test "x$enable_glib_assertions" = "xno"; then
22177     GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_DISABLE_ASSERT"
22178   fi
22179
22180
22181   GIVEN_CFLAGS=$GLIB_CFLAGS
22182   INCLUDE_DIRS=`echo | cpp -v 2>&1`
22183
22184       INCLUDE_DIRS=`echo $INCLUDE_DIRS | sed -e 's/.*<...> search starts here://' | sed -e 's/End of search list.*//'`
22185   for dir in $INCLUDE_DIRS; do
22186         GIVEN_CFLAGS=`echo $GIVEN_CFLAGS | sed -e "s#-I$dir ##"`
22187   done
22188   GLIB_CFLAGS=$GIVEN_CFLAGS
22189
22190
22191
22192
22193   ORC_REQ=0.4.11
22194
22195   # Check whether --enable-orc was given.
22196 if test "${enable_orc+set}" = set; then :
22197   enableval=$enable_orc; case "${enableval}" in
22198     auto) enable_orc=auto ;;
22199     yes) enable_orc=yes ;;
22200     no)  enable_orc=no ;;
22201     *) as_fn_error $? "bad value ${enableval} for --enable-orc" "$LINENO" 5  ;;
22202   esac
22203
22204 else
22205   enable_orc=auto
22206 fi
22207
22208   if test "x$enable_orc" != "xno" ; then
22209
22210 pkg_failed=no
22211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ORC" >&5
22212 $as_echo_n "checking for ORC... " >&6; }
22213
22214 if test -n "$PKG_CONFIG"; then
22215     if test -n "$ORC_CFLAGS"; then
22216         pkg_cv_ORC_CFLAGS="$ORC_CFLAGS"
22217     else
22218         if test -n "$PKG_CONFIG" && \
22219     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"orc-0.4 >= \$ORC_REQ\""; } >&5
22220   ($PKG_CONFIG --exists --print-errors "orc-0.4 >= $ORC_REQ") 2>&5
22221   ac_status=$?
22222   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22223   test $ac_status = 0; }; then
22224   pkg_cv_ORC_CFLAGS=`$PKG_CONFIG --cflags "orc-0.4 >= $ORC_REQ" 2>/dev/null`
22225 else
22226   pkg_failed=yes
22227 fi
22228     fi
22229 else
22230         pkg_failed=untried
22231 fi
22232 if test -n "$PKG_CONFIG"; then
22233     if test -n "$ORC_LIBS"; then
22234         pkg_cv_ORC_LIBS="$ORC_LIBS"
22235     else
22236         if test -n "$PKG_CONFIG" && \
22237     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"orc-0.4 >= \$ORC_REQ\""; } >&5
22238   ($PKG_CONFIG --exists --print-errors "orc-0.4 >= $ORC_REQ") 2>&5
22239   ac_status=$?
22240   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22241   test $ac_status = 0; }; then
22242   pkg_cv_ORC_LIBS=`$PKG_CONFIG --libs "orc-0.4 >= $ORC_REQ" 2>/dev/null`
22243 else
22244   pkg_failed=yes
22245 fi
22246     fi
22247 else
22248         pkg_failed=untried
22249 fi
22250
22251
22252
22253 if test $pkg_failed = yes; then
22254
22255 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22256         _pkg_short_errors_supported=yes
22257 else
22258         _pkg_short_errors_supported=no
22259 fi
22260         if test $_pkg_short_errors_supported = yes; then
22261                 ORC_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "orc-0.4 >= $ORC_REQ"`
22262         else
22263                 ORC_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "orc-0.4 >= $ORC_REQ"`
22264         fi
22265         # Put the nasty error message in config.log where it belongs
22266         echo "$ORC_PKG_ERRORS" >&5
22267
22268         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22269 $as_echo "no" >&6; }
22270
22271       if test "x$enable_orc" = "xyes" ; then
22272         as_fn_error $? "--enable-orc specified, but Orc >= $ORC_REQ not found" "$LINENO" 5
22273       fi
22274
22275 $as_echo "#define DISABLE_ORC 1" >>confdefs.h
22276
22277       HAVE_ORC=no
22278       HAVE_ORCC=no
22279
22280 elif test $pkg_failed = untried; then
22281
22282       if test "x$enable_orc" = "xyes" ; then
22283         as_fn_error $? "--enable-orc specified, but Orc >= $ORC_REQ not found" "$LINENO" 5
22284       fi
22285
22286 $as_echo "#define DISABLE_ORC 1" >>confdefs.h
22287
22288       HAVE_ORC=no
22289       HAVE_ORCC=no
22290
22291 else
22292         ORC_CFLAGS=$pkg_cv_ORC_CFLAGS
22293         ORC_LIBS=$pkg_cv_ORC_LIBS
22294         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22295 $as_echo "yes" >&6; }
22296
22297
22298 $as_echo "#define HAVE_ORC 1" >>confdefs.h
22299
22300       if test "x$ORCC" = "x" ; then
22301         ORCC=`$PKG_CONFIG --variable=orcc orc-0.4`
22302       fi
22303
22304       ORCC_FLAGS="--compat $ORC_REQ"
22305
22306       HAVE_ORC=yes
22307       HAVE_ORCC=yes
22308       if test "x$cross_compiling" = "xyes" ; then
22309         HAVE_ORCC=no
22310       fi
22311
22312 fi
22313   else
22314
22315 $as_echo "#define DISABLE_ORC 1" >>confdefs.h
22316
22317     HAVE_ORC=no
22318     HAVE_ORCC=no
22319   fi
22320    if test "x$HAVE_ORC" = "xyes"; then
22321   HAVE_ORC_TRUE=
22322   HAVE_ORC_FALSE='#'
22323 else
22324   HAVE_ORC_TRUE='#'
22325   HAVE_ORC_FALSE=
22326 fi
22327
22328    if test "x$HAVE_ORCC" = "xyes"; then
22329   HAVE_ORCC_TRUE=
22330   HAVE_ORCC_FALSE='#'
22331 else
22332   HAVE_ORCC_TRUE='#'
22333   HAVE_ORCC_FALSE=
22334 fi
22335
22336
22337
22338
22339
22340
22341   module=gstreamer-$GST_MAJORMINOR
22342   minver=$GST_REQ
22343   name="GStreamer"
22344   required=yes
22345
22346 pkg_failed=no
22347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
22348 $as_echo_n "checking for GST... " >&6; }
22349
22350 if test -n "$PKG_CONFIG"; then
22351     if test -n "$GST_CFLAGS"; then
22352         pkg_cv_GST_CFLAGS="$GST_CFLAGS"
22353     else
22354         if test -n "$PKG_CONFIG" && \
22355     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
22356   ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
22357   ac_status=$?
22358   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22359   test $ac_status = 0; }; then
22360   pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
22361 else
22362   pkg_failed=yes
22363 fi
22364     fi
22365 else
22366         pkg_failed=untried
22367 fi
22368 if test -n "$PKG_CONFIG"; then
22369     if test -n "$GST_LIBS"; then
22370         pkg_cv_GST_LIBS="$GST_LIBS"
22371     else
22372         if test -n "$PKG_CONFIG" && \
22373     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
22374   ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
22375   ac_status=$?
22376   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22377   test $ac_status = 0; }; then
22378   pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
22379 else
22380   pkg_failed=yes
22381 fi
22382     fi
22383 else
22384         pkg_failed=untried
22385 fi
22386
22387
22388
22389 if test $pkg_failed = yes; then
22390
22391 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22392         _pkg_short_errors_supported=yes
22393 else
22394         _pkg_short_errors_supported=no
22395 fi
22396         if test $_pkg_short_errors_supported = yes; then
22397                 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
22398         else
22399                 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
22400         fi
22401         # Put the nasty error message in config.log where it belongs
22402         echo "$GST_PKG_ERRORS" >&5
22403
22404         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22405 $as_echo "no" >&6; }
22406
22407       HAVE_GST="no"
22408       { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PKG_ERRORS" >&5
22409 $as_echo "$as_me: $GST_PKG_ERRORS" >&6;}
22410       if test "x$required" = "xyes"; then
22411         as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
22412       else
22413         { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
22414 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
22415       fi
22416
22417 elif test $pkg_failed = untried; then
22418
22419       HAVE_GST="no"
22420       { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PKG_ERRORS" >&5
22421 $as_echo "$as_me: $GST_PKG_ERRORS" >&6;}
22422       if test "x$required" = "xyes"; then
22423         as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
22424       else
22425         { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
22426 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
22427       fi
22428
22429 else
22430         GST_CFLAGS=$pkg_cv_GST_CFLAGS
22431         GST_LIBS=$pkg_cv_GST_LIBS
22432         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22433 $as_echo "yes" >&6; }
22434
22435       HAVE_GST="yes"
22436
22437 fi
22438
22439
22440     if test -z $GST_TOOLS_DIR; then
22441     GST_TOOLS_DIR=`$PKG_CONFIG --variable=toolsdir gstreamer-$GST_MAJORMINOR`
22442     if test -z $GST_TOOLS_DIR; then
22443       as_fn_error $? "no tools dir set in GStreamer pkg-config file, core upgrade needed." "$LINENO" 5
22444     fi
22445   fi
22446   { $as_echo "$as_me:${as_lineno-$LINENO}: using GStreamer tools in $GST_TOOLS_DIR" >&5
22447 $as_echo "$as_me: using GStreamer tools in $GST_TOOLS_DIR" >&6;}
22448
22449
22450         if test -z $GST_PLUGINS_DIR; then
22451     GST_PLUGINS_DIR=`$PKG_CONFIG --variable=pluginsdir gstreamer-$GST_MAJORMINOR`
22452     if test -z $GST_PLUGINS_DIR; then
22453       as_fn_error $? "no pluginsdir set in GStreamer pkg-config file, core upgrade needed." "$LINENO" 5
22454     fi
22455   fi
22456   { $as_echo "$as_me:${as_lineno-$LINENO}: using GStreamer plug-ins in $GST_PLUGINS_DIR" >&5
22457 $as_echo "$as_me: using GStreamer plug-ins in $GST_PLUGINS_DIR" >&6;}
22458
22459
22460
22461
22462   module=gstreamer-base-$GST_MAJORMINOR
22463   minver=$GST_REQ
22464   name="GStreamer Base Libraries"
22465   required=yes
22466
22467 pkg_failed=no
22468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_BASE" >&5
22469 $as_echo_n "checking for GST_BASE... " >&6; }
22470
22471 if test -n "$PKG_CONFIG"; then
22472     if test -n "$GST_BASE_CFLAGS"; then
22473         pkg_cv_GST_BASE_CFLAGS="$GST_BASE_CFLAGS"
22474     else
22475         if test -n "$PKG_CONFIG" && \
22476     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
22477   ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
22478   ac_status=$?
22479   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22480   test $ac_status = 0; }; then
22481   pkg_cv_GST_BASE_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
22482 else
22483   pkg_failed=yes
22484 fi
22485     fi
22486 else
22487         pkg_failed=untried
22488 fi
22489 if test -n "$PKG_CONFIG"; then
22490     if test -n "$GST_BASE_LIBS"; then
22491         pkg_cv_GST_BASE_LIBS="$GST_BASE_LIBS"
22492     else
22493         if test -n "$PKG_CONFIG" && \
22494     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
22495   ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
22496   ac_status=$?
22497   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22498   test $ac_status = 0; }; then
22499   pkg_cv_GST_BASE_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
22500 else
22501   pkg_failed=yes
22502 fi
22503     fi
22504 else
22505         pkg_failed=untried
22506 fi
22507
22508
22509
22510 if test $pkg_failed = yes; then
22511
22512 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22513         _pkg_short_errors_supported=yes
22514 else
22515         _pkg_short_errors_supported=no
22516 fi
22517         if test $_pkg_short_errors_supported = yes; then
22518                 GST_BASE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
22519         else
22520                 GST_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
22521         fi
22522         # Put the nasty error message in config.log where it belongs
22523         echo "$GST_BASE_PKG_ERRORS" >&5
22524
22525         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22526 $as_echo "no" >&6; }
22527
22528       HAVE_GST_BASE="no"
22529       { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_BASE_PKG_ERRORS" >&5
22530 $as_echo "$as_me: $GST_BASE_PKG_ERRORS" >&6;}
22531       if test "x$required" = "xyes"; then
22532         as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
22533       else
22534         { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
22535 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
22536       fi
22537
22538 elif test $pkg_failed = untried; then
22539
22540       HAVE_GST_BASE="no"
22541       { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_BASE_PKG_ERRORS" >&5
22542 $as_echo "$as_me: $GST_BASE_PKG_ERRORS" >&6;}
22543       if test "x$required" = "xyes"; then
22544         as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
22545       else
22546         { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
22547 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
22548       fi
22549
22550 else
22551         GST_BASE_CFLAGS=$pkg_cv_GST_BASE_CFLAGS
22552         GST_BASE_LIBS=$pkg_cv_GST_BASE_LIBS
22553         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22554 $as_echo "yes" >&6; }
22555
22556       HAVE_GST_BASE="yes"
22557
22558 fi
22559
22560
22561
22562
22563
22564   module=gstreamer-dataprotocol-$GST_MAJORMINOR
22565   minver=$GST_REQ
22566   name="GStreamer Data Protocol Library"
22567   required=yes
22568
22569 pkg_failed=no
22570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_GDP" >&5
22571 $as_echo_n "checking for GST_GDP... " >&6; }
22572
22573 if test -n "$PKG_CONFIG"; then
22574     if test -n "$GST_GDP_CFLAGS"; then
22575         pkg_cv_GST_GDP_CFLAGS="$GST_GDP_CFLAGS"
22576     else
22577         if test -n "$PKG_CONFIG" && \
22578     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
22579   ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
22580   ac_status=$?
22581   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22582   test $ac_status = 0; }; then
22583   pkg_cv_GST_GDP_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
22584 else
22585   pkg_failed=yes
22586 fi
22587     fi
22588 else
22589         pkg_failed=untried
22590 fi
22591 if test -n "$PKG_CONFIG"; then
22592     if test -n "$GST_GDP_LIBS"; then
22593         pkg_cv_GST_GDP_LIBS="$GST_GDP_LIBS"
22594     else
22595         if test -n "$PKG_CONFIG" && \
22596     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
22597   ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
22598   ac_status=$?
22599   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22600   test $ac_status = 0; }; then
22601   pkg_cv_GST_GDP_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
22602 else
22603   pkg_failed=yes
22604 fi
22605     fi
22606 else
22607         pkg_failed=untried
22608 fi
22609
22610
22611
22612 if test $pkg_failed = yes; then
22613
22614 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22615         _pkg_short_errors_supported=yes
22616 else
22617         _pkg_short_errors_supported=no
22618 fi
22619         if test $_pkg_short_errors_supported = yes; then
22620                 GST_GDP_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
22621         else
22622                 GST_GDP_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
22623         fi
22624         # Put the nasty error message in config.log where it belongs
22625         echo "$GST_GDP_PKG_ERRORS" >&5
22626
22627         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22628 $as_echo "no" >&6; }
22629
22630       HAVE_GST_GDP="no"
22631       { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_GDP_PKG_ERRORS" >&5
22632 $as_echo "$as_me: $GST_GDP_PKG_ERRORS" >&6;}
22633       if test "x$required" = "xyes"; then
22634         as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
22635       else
22636         { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
22637 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
22638       fi
22639
22640 elif test $pkg_failed = untried; then
22641
22642       HAVE_GST_GDP="no"
22643       { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_GDP_PKG_ERRORS" >&5
22644 $as_echo "$as_me: $GST_GDP_PKG_ERRORS" >&6;}
22645       if test "x$required" = "xyes"; then
22646         as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
22647       else
22648         { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
22649 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
22650       fi
22651
22652 else
22653         GST_GDP_CFLAGS=$pkg_cv_GST_GDP_CFLAGS
22654         GST_GDP_LIBS=$pkg_cv_GST_GDP_LIBS
22655         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22656 $as_echo "yes" >&6; }
22657
22658       HAVE_GST_GDP="yes"
22659
22660 fi
22661
22662
22663
22664
22665
22666   module=gstreamer-controller-$GST_MAJORMINOR
22667   minver=$GST_REQ
22668   name="GStreamer Controller Library"
22669   required=yes
22670
22671 pkg_failed=no
22672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_CONTROLLER" >&5
22673 $as_echo_n "checking for GST_CONTROLLER... " >&6; }
22674
22675 if test -n "$PKG_CONFIG"; then
22676     if test -n "$GST_CONTROLLER_CFLAGS"; then
22677         pkg_cv_GST_CONTROLLER_CFLAGS="$GST_CONTROLLER_CFLAGS"
22678     else
22679         if test -n "$PKG_CONFIG" && \
22680     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
22681   ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
22682   ac_status=$?
22683   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22684   test $ac_status = 0; }; then
22685   pkg_cv_GST_CONTROLLER_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
22686 else
22687   pkg_failed=yes
22688 fi
22689     fi
22690 else
22691         pkg_failed=untried
22692 fi
22693 if test -n "$PKG_CONFIG"; then
22694     if test -n "$GST_CONTROLLER_LIBS"; then
22695         pkg_cv_GST_CONTROLLER_LIBS="$GST_CONTROLLER_LIBS"
22696     else
22697         if test -n "$PKG_CONFIG" && \
22698     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
22699   ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
22700   ac_status=$?
22701   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22702   test $ac_status = 0; }; then
22703   pkg_cv_GST_CONTROLLER_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
22704 else
22705   pkg_failed=yes
22706 fi
22707     fi
22708 else
22709         pkg_failed=untried
22710 fi
22711
22712
22713
22714 if test $pkg_failed = yes; then
22715
22716 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22717         _pkg_short_errors_supported=yes
22718 else
22719         _pkg_short_errors_supported=no
22720 fi
22721         if test $_pkg_short_errors_supported = yes; then
22722                 GST_CONTROLLER_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
22723         else
22724                 GST_CONTROLLER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
22725         fi
22726         # Put the nasty error message in config.log where it belongs
22727         echo "$GST_CONTROLLER_PKG_ERRORS" >&5
22728
22729         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22730 $as_echo "no" >&6; }
22731
22732       HAVE_GST_CONTROLLER="no"
22733       { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_CONTROLLER_PKG_ERRORS" >&5
22734 $as_echo "$as_me: $GST_CONTROLLER_PKG_ERRORS" >&6;}
22735       if test "x$required" = "xyes"; then
22736         as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
22737       else
22738         { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
22739 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
22740       fi
22741
22742 elif test $pkg_failed = untried; then
22743
22744       HAVE_GST_CONTROLLER="no"
22745       { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_CONTROLLER_PKG_ERRORS" >&5
22746 $as_echo "$as_me: $GST_CONTROLLER_PKG_ERRORS" >&6;}
22747       if test "x$required" = "xyes"; then
22748         as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
22749       else
22750         { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
22751 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
22752       fi
22753
22754 else
22755         GST_CONTROLLER_CFLAGS=$pkg_cv_GST_CONTROLLER_CFLAGS
22756         GST_CONTROLLER_LIBS=$pkg_cv_GST_CONTROLLER_LIBS
22757         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22758 $as_echo "yes" >&6; }
22759
22760       HAVE_GST_CONTROLLER="yes"
22761
22762 fi
22763
22764
22765
22766
22767
22768   module=gstreamer-check-$GST_MAJORMINOR
22769   minver=$GST_REQ
22770   name="GStreamer Check unittest Library"
22771   required=no
22772
22773 pkg_failed=no
22774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_CHECK" >&5
22775 $as_echo_n "checking for GST_CHECK... " >&6; }
22776
22777 if test -n "$PKG_CONFIG"; then
22778     if test -n "$GST_CHECK_CFLAGS"; then
22779         pkg_cv_GST_CHECK_CFLAGS="$GST_CHECK_CFLAGS"
22780     else
22781         if test -n "$PKG_CONFIG" && \
22782     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
22783   ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
22784   ac_status=$?
22785   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22786   test $ac_status = 0; }; then
22787   pkg_cv_GST_CHECK_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
22788 else
22789   pkg_failed=yes
22790 fi
22791     fi
22792 else
22793         pkg_failed=untried
22794 fi
22795 if test -n "$PKG_CONFIG"; then
22796     if test -n "$GST_CHECK_LIBS"; then
22797         pkg_cv_GST_CHECK_LIBS="$GST_CHECK_LIBS"
22798     else
22799         if test -n "$PKG_CONFIG" && \
22800     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
22801   ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
22802   ac_status=$?
22803   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22804   test $ac_status = 0; }; then
22805   pkg_cv_GST_CHECK_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
22806 else
22807   pkg_failed=yes
22808 fi
22809     fi
22810 else
22811         pkg_failed=untried
22812 fi
22813
22814
22815
22816 if test $pkg_failed = yes; then
22817
22818 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22819         _pkg_short_errors_supported=yes
22820 else
22821         _pkg_short_errors_supported=no
22822 fi
22823         if test $_pkg_short_errors_supported = yes; then
22824                 GST_CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
22825         else
22826                 GST_CHECK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
22827         fi
22828         # Put the nasty error message in config.log where it belongs
22829         echo "$GST_CHECK_PKG_ERRORS" >&5
22830
22831         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22832 $as_echo "no" >&6; }
22833
22834       HAVE_GST_CHECK="no"
22835       { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_CHECK_PKG_ERRORS" >&5
22836 $as_echo "$as_me: $GST_CHECK_PKG_ERRORS" >&6;}
22837       if test "x$required" = "xyes"; then
22838         as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
22839       else
22840         { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
22841 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
22842       fi
22843
22844 elif test $pkg_failed = untried; then
22845
22846       HAVE_GST_CHECK="no"
22847       { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_CHECK_PKG_ERRORS" >&5
22848 $as_echo "$as_me: $GST_CHECK_PKG_ERRORS" >&6;}
22849       if test "x$required" = "xyes"; then
22850         as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
22851       else
22852         { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
22853 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
22854       fi
22855
22856 else
22857         GST_CHECK_CFLAGS=$pkg_cv_GST_CHECK_CFLAGS
22858         GST_CHECK_LIBS=$pkg_cv_GST_CHECK_LIBS
22859         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22860 $as_echo "yes" >&6; }
22861
22862       HAVE_GST_CHECK="yes"
22863
22864 fi
22865
22866
22867
22868  if test "x$HAVE_GST_CHECK" = "xyes"; then
22869   HAVE_GST_CHECK_TRUE=
22870   HAVE_GST_CHECK_FALSE='#'
22871 else
22872   HAVE_GST_CHECK_TRUE='#'
22873   HAVE_GST_CHECK_FALSE=
22874 fi
22875
22876
22877 GLIB_PREFIX="`$PKG_CONFIG --variable=prefix glib-2.0`"
22878 GST_PREFIX="`$PKG_CONFIG --variable=prefix gstreamer-$GST_MAJORMINOR`"
22879
22880
22881
22882 HAVE_GTK=no
22883 HAVE_GTK_X11=no
22884 GTK2_REQ=2.14.0
22885 GTK3_REQ=2.91.3
22886 if test "x$BUILD_EXAMPLES" = "xyes"; then
22887   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which gtk+ version to compile examples against (optional)" >&5
22888 $as_echo_n "checking which gtk+ version to compile examples against (optional)... " >&6; }
22889
22890 # Check whether --with-gtk was given.
22891 if test "${with_gtk+set}" = set; then :
22892   withval=$with_gtk; case "$with_gtk" in
22893         2.0) GTK_REQ=$GTK2_REQ ;;
22894         3.0) GTK_REQ=$GTK3_REQ ;;
22895         *) as_fn_error $? "invalid gtk+ version specified" "$LINENO" 5 ;;
22896     esac
22897 else
22898   with_gtk=2.0
22899      GTK_REQ=$GTK2_REQ
22900 fi
22901
22902   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_gtk (>= $GTK_REQ)" >&5
22903 $as_echo "$with_gtk (>= $GTK_REQ)" >&6; }
22904
22905 pkg_failed=no
22906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
22907 $as_echo_n "checking for GTK... " >&6; }
22908
22909 if test -n "$PKG_CONFIG"; then
22910     if test -n "$GTK_CFLAGS"; then
22911         pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
22912     else
22913         if test -n "$PKG_CONFIG" && \
22914     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-\$with_gtk >= \$GTK_REQ\""; } >&5
22915   ($PKG_CONFIG --exists --print-errors "gtk+-$with_gtk >= $GTK_REQ") 2>&5
22916   ac_status=$?
22917   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22918   test $ac_status = 0; }; then
22919   pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-$with_gtk >= $GTK_REQ" 2>/dev/null`
22920 else
22921   pkg_failed=yes
22922 fi
22923     fi
22924 else
22925         pkg_failed=untried
22926 fi
22927 if test -n "$PKG_CONFIG"; then
22928     if test -n "$GTK_LIBS"; then
22929         pkg_cv_GTK_LIBS="$GTK_LIBS"
22930     else
22931         if test -n "$PKG_CONFIG" && \
22932     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-\$with_gtk >= \$GTK_REQ\""; } >&5
22933   ($PKG_CONFIG --exists --print-errors "gtk+-$with_gtk >= $GTK_REQ") 2>&5
22934   ac_status=$?
22935   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22936   test $ac_status = 0; }; then
22937   pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-$with_gtk >= $GTK_REQ" 2>/dev/null`
22938 else
22939   pkg_failed=yes
22940 fi
22941     fi
22942 else
22943         pkg_failed=untried
22944 fi
22945
22946
22947
22948 if test $pkg_failed = yes; then
22949
22950 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22951         _pkg_short_errors_supported=yes
22952 else
22953         _pkg_short_errors_supported=no
22954 fi
22955         if test $_pkg_short_errors_supported = yes; then
22956                 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-$with_gtk >= $GTK_REQ"`
22957         else
22958                 GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-$with_gtk >= $GTK_REQ"`
22959         fi
22960         # Put the nasty error message in config.log where it belongs
22961         echo "$GTK_PKG_ERRORS" >&5
22962
22963         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22964 $as_echo "no" >&6; }
22965                 HAVE_GTK=no
22966 elif test $pkg_failed = untried; then
22967         HAVE_GTK=no
22968 else
22969         GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
22970         GTK_LIBS=$pkg_cv_GTK_LIBS
22971         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22972 $as_echo "yes" >&6; }
22973         HAVE_GTK=yes
22974 fi
22975
22976 pkg_failed=no
22977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK_X11" >&5
22978 $as_echo_n "checking for GTK_X11... " >&6; }
22979
22980 if test -n "$PKG_CONFIG"; then
22981     if test -n "$GTK_X11_CFLAGS"; then
22982         pkg_cv_GTK_X11_CFLAGS="$GTK_X11_CFLAGS"
22983     else
22984         if test -n "$PKG_CONFIG" && \
22985     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-x11-\$with_gtk >= \$GTK_REQ\""; } >&5
22986   ($PKG_CONFIG --exists --print-errors "gtk+-x11-$with_gtk >= $GTK_REQ") 2>&5
22987   ac_status=$?
22988   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22989   test $ac_status = 0; }; then
22990   pkg_cv_GTK_X11_CFLAGS=`$PKG_CONFIG --cflags "gtk+-x11-$with_gtk >= $GTK_REQ" 2>/dev/null`
22991 else
22992   pkg_failed=yes
22993 fi
22994     fi
22995 else
22996         pkg_failed=untried
22997 fi
22998 if test -n "$PKG_CONFIG"; then
22999     if test -n "$GTK_X11_LIBS"; then
23000         pkg_cv_GTK_X11_LIBS="$GTK_X11_LIBS"
23001     else
23002         if test -n "$PKG_CONFIG" && \
23003     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-x11-\$with_gtk >= \$GTK_REQ\""; } >&5
23004   ($PKG_CONFIG --exists --print-errors "gtk+-x11-$with_gtk >= $GTK_REQ") 2>&5
23005   ac_status=$?
23006   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23007   test $ac_status = 0; }; then
23008   pkg_cv_GTK_X11_LIBS=`$PKG_CONFIG --libs "gtk+-x11-$with_gtk >= $GTK_REQ" 2>/dev/null`
23009 else
23010   pkg_failed=yes
23011 fi
23012     fi
23013 else
23014         pkg_failed=untried
23015 fi
23016
23017
23018
23019 if test $pkg_failed = yes; then
23020
23021 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23022         _pkg_short_errors_supported=yes
23023 else
23024         _pkg_short_errors_supported=no
23025 fi
23026         if test $_pkg_short_errors_supported = yes; then
23027                 GTK_X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-x11-$with_gtk >= $GTK_REQ"`
23028         else
23029                 GTK_X11_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-x11-$with_gtk >= $GTK_REQ"`
23030         fi
23031         # Put the nasty error message in config.log where it belongs
23032         echo "$GTK_X11_PKG_ERRORS" >&5
23033
23034         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23035 $as_echo "no" >&6; }
23036                 HAVE_GTK_X11=no
23037 elif test $pkg_failed = untried; then
23038         HAVE_GTK_X11=no
23039 else
23040         GTK_X11_CFLAGS=$pkg_cv_GTK_X11_CFLAGS
23041         GTK_X11_LIBS=$pkg_cv_GTK_X11_LIBS
23042         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23043 $as_echo "yes" >&6; }
23044         HAVE_GTK_X11=yes
23045 fi
23046
23047
23048 fi
23049  if test "x$HAVE_GTK" = "xyes"; then
23050   HAVE_GTK_TRUE=
23051   HAVE_GTK_FALSE='#'
23052 else
23053   HAVE_GTK_TRUE='#'
23054   HAVE_GTK_FALSE=
23055 fi
23056
23057  if test "x$HAVE_GTK_X11" = "xyes"; then
23058   HAVE_GTK_X11_TRUE=
23059   HAVE_GTK_X11_FALSE='#'
23060 else
23061   HAVE_GTK_X11_TRUE='#'
23062   HAVE_GTK_X11_FALSE=
23063 fi
23064
23065
23066
23067 pkg_failed=no
23068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for QT" >&5
23069 $as_echo_n "checking for QT... " >&6; }
23070
23071 if test -n "$PKG_CONFIG"; then
23072     if test -n "$QT_CFLAGS"; then
23073         pkg_cv_QT_CFLAGS="$QT_CFLAGS"
23074     else
23075         if test -n "$PKG_CONFIG" && \
23076     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtGui >= 4.6\""; } >&5
23077   ($PKG_CONFIG --exists --print-errors "QtGui >= 4.6") 2>&5
23078   ac_status=$?
23079   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23080   test $ac_status = 0; }; then
23081   pkg_cv_QT_CFLAGS=`$PKG_CONFIG --cflags "QtGui >= 4.6" 2>/dev/null`
23082 else
23083   pkg_failed=yes
23084 fi
23085     fi
23086 else
23087         pkg_failed=untried
23088 fi
23089 if test -n "$PKG_CONFIG"; then
23090     if test -n "$QT_LIBS"; then
23091         pkg_cv_QT_LIBS="$QT_LIBS"
23092     else
23093         if test -n "$PKG_CONFIG" && \
23094     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtGui >= 4.6\""; } >&5
23095   ($PKG_CONFIG --exists --print-errors "QtGui >= 4.6") 2>&5
23096   ac_status=$?
23097   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23098   test $ac_status = 0; }; then
23099   pkg_cv_QT_LIBS=`$PKG_CONFIG --libs "QtGui >= 4.6" 2>/dev/null`
23100 else
23101   pkg_failed=yes
23102 fi
23103     fi
23104 else
23105         pkg_failed=untried
23106 fi
23107
23108
23109
23110 if test $pkg_failed = yes; then
23111
23112 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23113         _pkg_short_errors_supported=yes
23114 else
23115         _pkg_short_errors_supported=no
23116 fi
23117         if test $_pkg_short_errors_supported = yes; then
23118                 QT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "QtGui >= 4.6"`
23119         else
23120                 QT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "QtGui >= 4.6"`
23121         fi
23122         # Put the nasty error message in config.log where it belongs
23123         echo "$QT_PKG_ERRORS" >&5
23124
23125         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23126 $as_echo "no" >&6; }
23127
23128   HAVE_QT_GV=no
23129
23130 pkg_failed=no
23131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for QT" >&5
23132 $as_echo_n "checking for QT... " >&6; }
23133
23134 if test -n "$PKG_CONFIG"; then
23135     if test -n "$QT_CFLAGS"; then
23136         pkg_cv_QT_CFLAGS="$QT_CFLAGS"
23137     else
23138         if test -n "$PKG_CONFIG" && \
23139     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtGui >= 4.0\""; } >&5
23140   ($PKG_CONFIG --exists --print-errors "QtGui >= 4.0") 2>&5
23141   ac_status=$?
23142   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23143   test $ac_status = 0; }; then
23144   pkg_cv_QT_CFLAGS=`$PKG_CONFIG --cflags "QtGui >= 4.0" 2>/dev/null`
23145 else
23146   pkg_failed=yes
23147 fi
23148     fi
23149 else
23150         pkg_failed=untried
23151 fi
23152 if test -n "$PKG_CONFIG"; then
23153     if test -n "$QT_LIBS"; then
23154         pkg_cv_QT_LIBS="$QT_LIBS"
23155     else
23156         if test -n "$PKG_CONFIG" && \
23157     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtGui >= 4.0\""; } >&5
23158   ($PKG_CONFIG --exists --print-errors "QtGui >= 4.0") 2>&5
23159   ac_status=$?
23160   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23161   test $ac_status = 0; }; then
23162   pkg_cv_QT_LIBS=`$PKG_CONFIG --libs "QtGui >= 4.0" 2>/dev/null`
23163 else
23164   pkg_failed=yes
23165 fi
23166     fi
23167 else
23168         pkg_failed=untried
23169 fi
23170
23171
23172
23173 if test $pkg_failed = yes; then
23174
23175 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23176         _pkg_short_errors_supported=yes
23177 else
23178         _pkg_short_errors_supported=no
23179 fi
23180         if test $_pkg_short_errors_supported = yes; then
23181                 QT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "QtGui >= 4.0"`
23182         else
23183                 QT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "QtGui >= 4.0"`
23184         fi
23185         # Put the nasty error message in config.log where it belongs
23186         echo "$QT_PKG_ERRORS" >&5
23187
23188         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23189 $as_echo "no" >&6; }
23190                 HAVE_QT=no
23191 elif test $pkg_failed = untried; then
23192         HAVE_QT=no
23193 else
23194         QT_CFLAGS=$pkg_cv_QT_CFLAGS
23195         QT_LIBS=$pkg_cv_QT_LIBS
23196         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23197 $as_echo "yes" >&6; }
23198         HAVE_QT=yes
23199 fi
23200
23201 elif test $pkg_failed = untried; then
23202
23203   HAVE_QT_GV=no
23204
23205 pkg_failed=no
23206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for QT" >&5
23207 $as_echo_n "checking for QT... " >&6; }
23208
23209 if test -n "$PKG_CONFIG"; then
23210     if test -n "$QT_CFLAGS"; then
23211         pkg_cv_QT_CFLAGS="$QT_CFLAGS"
23212     else
23213         if test -n "$PKG_CONFIG" && \
23214     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtGui >= 4.0\""; } >&5
23215   ($PKG_CONFIG --exists --print-errors "QtGui >= 4.0") 2>&5
23216   ac_status=$?
23217   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23218   test $ac_status = 0; }; then
23219   pkg_cv_QT_CFLAGS=`$PKG_CONFIG --cflags "QtGui >= 4.0" 2>/dev/null`
23220 else
23221   pkg_failed=yes
23222 fi
23223     fi
23224 else
23225         pkg_failed=untried
23226 fi
23227 if test -n "$PKG_CONFIG"; then
23228     if test -n "$QT_LIBS"; then
23229         pkg_cv_QT_LIBS="$QT_LIBS"
23230     else
23231         if test -n "$PKG_CONFIG" && \
23232     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtGui >= 4.0\""; } >&5
23233   ($PKG_CONFIG --exists --print-errors "QtGui >= 4.0") 2>&5
23234   ac_status=$?
23235   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23236   test $ac_status = 0; }; then
23237   pkg_cv_QT_LIBS=`$PKG_CONFIG --libs "QtGui >= 4.0" 2>/dev/null`
23238 else
23239   pkg_failed=yes
23240 fi
23241     fi
23242 else
23243         pkg_failed=untried
23244 fi
23245
23246
23247
23248 if test $pkg_failed = yes; then
23249
23250 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23251         _pkg_short_errors_supported=yes
23252 else
23253         _pkg_short_errors_supported=no
23254 fi
23255         if test $_pkg_short_errors_supported = yes; then
23256                 QT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "QtGui >= 4.0"`
23257         else
23258                 QT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "QtGui >= 4.0"`
23259         fi
23260         # Put the nasty error message in config.log where it belongs
23261         echo "$QT_PKG_ERRORS" >&5
23262
23263         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23264 $as_echo "no" >&6; }
23265                 HAVE_QT=no
23266 elif test $pkg_failed = untried; then
23267         HAVE_QT=no
23268 else
23269         QT_CFLAGS=$pkg_cv_QT_CFLAGS
23270         QT_LIBS=$pkg_cv_QT_LIBS
23271         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23272 $as_echo "yes" >&6; }
23273         HAVE_QT=yes
23274 fi
23275
23276 else
23277         QT_CFLAGS=$pkg_cv_QT_CFLAGS
23278         QT_LIBS=$pkg_cv_QT_LIBS
23279         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23280 $as_echo "yes" >&6; }
23281
23282   HAVE_QT_GV=yes
23283   HAVE_QT=yes
23284
23285 fi
23286 if test "x$HAVE_QT" = "xyes"; then
23287   { $as_echo "$as_me:${as_lineno-$LINENO}: checking Qt moc" >&5
23288 $as_echo_n "checking Qt moc... " >&6; }
23289   QT4_MOC=`$PKG_CONFIG --variable=moc_location QtGui`
23290   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT4_MOC" >&5
23291 $as_echo "$QT4_MOC" >&6; }
23292
23293 fi
23294  if test "x$HAVE_QT" = "xyes"; then
23295   HAVE_QT_TRUE=
23296   HAVE_QT_FALSE='#'
23297 else
23298   HAVE_QT_TRUE='#'
23299   HAVE_QT_FALSE=
23300 fi
23301
23302  if test "x$HAVE_QT_GV" = "xyes"; then
23303   HAVE_QT_GV_TRUE=
23304   HAVE_QT_GV_FALSE='#'
23305 else
23306   HAVE_QT_GV_TRUE='#'
23307   HAVE_QT_GV_FALSE=
23308 fi
23309
23310
23311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23312 /* end confdefs.h.  */
23313
23314
23315     #include <linux/input.h>
23316     #include <linux/joystick.h>
23317
23318 int
23319 main ()
23320 {
23321
23322     struct js_event js;
23323     js.type = JS_EVENT_AXIS;
23324
23325   ;
23326   return 0;
23327 }
23328
23329 _ACEOF
23330 if ac_fn_c_try_compile "$LINENO"; then :
23331
23332   HAVE_LINUX_JOYSTICK_HEADERS="yes"
23333
23334 else
23335
23336   HAVE_LINUX_JOYSTICK_HEADERS="no"
23337
23338 fi
23339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23340  if test "x$HAVE_LINUX_JOYSTICK_HEADERS" = "xyes"; then
23341   HAVE_LINUX_JOYSTICK_HEADERS_TRUE=
23342   HAVE_LINUX_JOYSTICK_HEADERS_FALSE='#'
23343 else
23344   HAVE_LINUX_JOYSTICK_HEADERS_TRUE='#'
23345   HAVE_LINUX_JOYSTICK_HEADERS_FALSE=
23346 fi
23347
23348
23349 # Check whether --enable-Bsymbolic was given.
23350 if test "${enable_Bsymbolic+set}" = set; then :
23351   enableval=$enable_Bsymbolic;
23352 else
23353   SAVED_LDFLAGS="${LDFLAGS}"
23354                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Bsymbolic-functions linker flag" >&5
23355 $as_echo_n "checking for -Bsymbolic-functions linker flag... " >&6; }
23356                LDFLAGS=-Wl,-Bsymbolic-functions
23357                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23358 /* end confdefs.h.  */
23359
23360 int
23361 main ()
23362 {
23363 int main (void) { return 0; }
23364   ;
23365   return 0;
23366 }
23367 _ACEOF
23368 if ac_fn_c_try_link "$LINENO"; then :
23369   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23370 $as_echo "yes" >&6; }
23371                            enable_Bsymbolic=yes
23372 else
23373   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23374 $as_echo "no" >&6; }
23375                            enable_Bsymbolic=no
23376 fi
23377 rm -f core conftest.err conftest.$ac_objext \
23378     conftest$ac_exeext conftest.$ac_ext
23379                LDFLAGS="${SAVED_LDFLAGS}"
23380 fi
23381
23382
23383
23384
23385 GST_LICENSE="LGPL"
23386
23387 cat >>confdefs.h <<_ACEOF
23388 #define GST_LICENSE "$GST_LICENSE"
23389 _ACEOF
23390
23391
23392
23393
23394
23395   EXP_VAR=PLUGINDIR
23396   FROM_VAR=${libdir}/gstreamer-$GST_MAJORMINOR
23397
23398     prefix_save=$prefix
23399   exec_prefix_save=$exec_prefix
23400
23401     if test "x$prefix" = "xNONE"; then
23402     prefix="$ac_default_prefix"
23403   fi
23404     if test "x$exec_prefix" = "xNONE"; then
23405     exec_prefix=$prefix
23406   fi
23407
23408   full_var="$FROM_VAR"
23409     while true; do
23410     new_full_var="`eval echo $full_var`"
23411     if test "x$new_full_var" = "x$full_var"; then break; fi
23412     full_var=$new_full_var
23413   done
23414
23415     full_var=$new_full_var
23416   PLUGINDIR="$full_var"
23417
23418
23419     prefix=$prefix_save
23420   exec_prefix=$exec_prefix_save
23421
23422
23423 cat >>confdefs.h <<_ACEOF
23424 #define PLUGINDIR "$PLUGINDIR"
23425 _ACEOF
23426
23427   { $as_echo "$as_me:${as_lineno-$LINENO}: Using $PLUGINDIR as the plugin install location" >&5
23428 $as_echo "$as_me: Using $PLUGINDIR as the plugin install location" >&6;}
23429
23430     plugindir="\$(libdir)/gstreamer-$GST_MAJORMINOR"
23431
23432
23433
23434
23435   if test "x$PACKAGE_VERSION_NANO" = "x0"; then
23436
23437       if test "xyes" = "xno" -o "xyes" = "x"; then
23438     GST_PACKAGE_RELEASE_DATETIME=`date -u "+%Y-%m-%dT%H:%MZ"`
23439   elif test "xyes" = "xyes"; then
23440             if ( echo yes | grep -e '^201-90-9-0-10-9-0-30-9' >/dev/null ) ; then
23441       GST_PACKAGE_RELEASE_DATETIME=yes
23442     else
23443             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" `;
23444       if test "x$YYYY_MM_DD" != "x"; then
23445         GST_PACKAGE_RELEASE_DATETIME=$YYYY_MM_DD
23446       else
23447         as_fn_error $? "SET_PACKAGE_RELEASE_DATETIME: could not extract
23448             release date for release version  $PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR.$PACKAGE_VERSION_MICRO  from  \"${srcdir}/gst-plugins-base.doap\" " "$LINENO" 5
23449         GST_PACKAGE_RELEASE_DATETIME=""
23450       fi
23451     fi
23452     elif ( echo yes | grep -e '^201-90-9-0-10-9-0-30-9' >/dev/null ) ; then
23453     GST_PACKAGE_RELEASE_DATETIME=yes
23454   else
23455     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&5
23456 $as_echo "$as_me: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&2;}
23457     GST_PACKAGE_RELEASE_DATETIME=""
23458   fi
23459
23460   if test "x$GST_PACKAGE_RELEASE_DATETIME" = "x"; then
23461     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&5
23462 $as_echo "$as_me: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&2;}
23463   else
23464     { $as_echo "$as_me:${as_lineno-$LINENO}: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&5
23465 $as_echo "$as_me: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&6;}
23466
23467
23468 cat >>confdefs.h <<_ACEOF
23469 #define GST_PACKAGE_RELEASE_DATETIME "$GST_PACKAGE_RELEASE_DATETIME"
23470 _ACEOF
23471
23472   fi
23473
23474   else
23475
23476       if test "xno" = "xno" -o "xno" = "x"; then
23477     GST_PACKAGE_RELEASE_DATETIME=`date -u "+%Y-%m-%dT%H:%MZ"`
23478   elif test "xno" = "xyes"; then
23479             if ( echo no | grep -e '^201-90-9-0-10-9-0-30-9' >/dev/null ) ; then
23480       GST_PACKAGE_RELEASE_DATETIME=no
23481     else
23482             YYYY_MM_DD=`sh "${srcdir}/common/extract-release-date-from-doap-file"  `;
23483       if test "x$YYYY_MM_DD" != "x"; then
23484         GST_PACKAGE_RELEASE_DATETIME=$YYYY_MM_DD
23485       else
23486         as_fn_error $? "SET_PACKAGE_RELEASE_DATETIME: could not extract
23487             release date for release version  from " "$LINENO" 5
23488         GST_PACKAGE_RELEASE_DATETIME=""
23489       fi
23490     fi
23491     elif ( echo no | grep -e '^201-90-9-0-10-9-0-30-9' >/dev/null ) ; then
23492     GST_PACKAGE_RELEASE_DATETIME=no
23493   else
23494     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&5
23495 $as_echo "$as_me: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&2;}
23496     GST_PACKAGE_RELEASE_DATETIME=""
23497   fi
23498
23499   if test "x$GST_PACKAGE_RELEASE_DATETIME" = "x"; then
23500     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&5
23501 $as_echo "$as_me: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&2;}
23502   else
23503     { $as_echo "$as_me:${as_lineno-$LINENO}: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&5
23504 $as_echo "$as_me: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&6;}
23505
23506
23507 cat >>confdefs.h <<_ACEOF
23508 #define GST_PACKAGE_RELEASE_DATETIME "$GST_PACKAGE_RELEASE_DATETIME"
23509 _ACEOF
23510
23511   fi
23512
23513   fi
23514
23515
23516
23517
23518
23519
23520   WARNING_CFLAGS=""
23521   ERROR_CFLAGS=""
23522
23523
23524   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wall" >&5
23525 $as_echo_n "checking to see if compiler understands -Wall... " >&6; }
23526
23527   save_CFLAGS="$CFLAGS"
23528   CFLAGS="$CFLAGS -Wall"
23529
23530   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23531 /* end confdefs.h.  */
23532
23533 int
23534 main ()
23535 {
23536
23537   ;
23538   return 0;
23539 }
23540 _ACEOF
23541 if ac_fn_c_try_compile "$LINENO"; then :
23542   flag_ok=yes
23543 else
23544   flag_ok=no
23545 fi
23546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23547   CFLAGS="$save_CFLAGS"
23548
23549   if test "X$flag_ok" = Xyes ; then
23550     WARNING_CFLAGS="$WARNING_CFLAGS -Wall"
23551     true
23552   else
23553
23554     true
23555   fi
23556   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
23557 $as_echo "$flag_ok" >&6; }
23558
23559
23560
23561   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wdeclaration-after-statement" >&5
23562 $as_echo_n "checking to see if compiler understands -Wdeclaration-after-statement... " >&6; }
23563
23564   save_CFLAGS="$CFLAGS"
23565   CFLAGS="$CFLAGS -Wdeclaration-after-statement"
23566
23567   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23568 /* end confdefs.h.  */
23569
23570 int
23571 main ()
23572 {
23573
23574   ;
23575   return 0;
23576 }
23577 _ACEOF
23578 if ac_fn_c_try_compile "$LINENO"; then :
23579   flag_ok=yes
23580 else
23581   flag_ok=no
23582 fi
23583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23584   CFLAGS="$save_CFLAGS"
23585
23586   if test "X$flag_ok" = Xyes ; then
23587     WARNING_CFLAGS="$WARNING_CFLAGS -Wdeclaration-after-statement"
23588     true
23589   else
23590
23591     true
23592   fi
23593   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
23594 $as_echo "$flag_ok" >&6; }
23595
23596
23597
23598   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wvla" >&5
23599 $as_echo_n "checking to see if compiler understands -Wvla... " >&6; }
23600
23601   save_CFLAGS="$CFLAGS"
23602   CFLAGS="$CFLAGS -Wvla"
23603
23604   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23605 /* end confdefs.h.  */
23606
23607 int
23608 main ()
23609 {
23610
23611   ;
23612   return 0;
23613 }
23614 _ACEOF
23615 if ac_fn_c_try_compile "$LINENO"; then :
23616   flag_ok=yes
23617 else
23618   flag_ok=no
23619 fi
23620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23621   CFLAGS="$save_CFLAGS"
23622
23623   if test "X$flag_ok" = Xyes ; then
23624     WARNING_CFLAGS="$WARNING_CFLAGS -Wvla"
23625     true
23626   else
23627
23628     true
23629   fi
23630   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
23631 $as_echo "$flag_ok" >&6; }
23632
23633
23634
23635   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wpointer-arith" >&5
23636 $as_echo_n "checking to see if compiler understands -Wpointer-arith... " >&6; }
23637
23638   save_CFLAGS="$CFLAGS"
23639   CFLAGS="$CFLAGS -Wpointer-arith"
23640
23641   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23642 /* end confdefs.h.  */
23643
23644 int
23645 main ()
23646 {
23647
23648   ;
23649   return 0;
23650 }
23651 _ACEOF
23652 if ac_fn_c_try_compile "$LINENO"; then :
23653   flag_ok=yes
23654 else
23655   flag_ok=no
23656 fi
23657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23658   CFLAGS="$save_CFLAGS"
23659
23660   if test "X$flag_ok" = Xyes ; then
23661     WARNING_CFLAGS="$WARNING_CFLAGS -Wpointer-arith"
23662     true
23663   else
23664
23665     true
23666   fi
23667   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
23668 $as_echo "$flag_ok" >&6; }
23669
23670
23671     if test "x$GST_GIT" != "xno"
23672   then
23673
23674   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Werror" >&5
23675 $as_echo_n "checking to see if compiler understands -Werror... " >&6; }
23676
23677   save_CFLAGS="$CFLAGS"
23678   CFLAGS="$CFLAGS -Werror"
23679
23680   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23681 /* end confdefs.h.  */
23682
23683 int
23684 main ()
23685 {
23686
23687   ;
23688   return 0;
23689 }
23690 _ACEOF
23691 if ac_fn_c_try_compile "$LINENO"; then :
23692   flag_ok=yes
23693 else
23694   flag_ok=no
23695 fi
23696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23697   CFLAGS="$save_CFLAGS"
23698
23699   if test "X$flag_ok" = Xyes ; then
23700     ERROR_CFLAGS="$ERROR_CFLAGS -Werror"
23701     true
23702   else
23703
23704     true
23705   fi
23706   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
23707 $as_echo "$flag_ok" >&6; }
23708
23709
23710         if test "x$ERROR_CFLAGS" = "x"
23711     then
23712
23713   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -errwarn=%all" >&5
23714 $as_echo_n "checking to see if compiler understands -errwarn=%all... " >&6; }
23715
23716   save_CFLAGS="$CFLAGS"
23717   CFLAGS="$CFLAGS -errwarn=%all"
23718
23719   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23720 /* end confdefs.h.  */
23721
23722 int
23723 main ()
23724 {
23725
23726   ;
23727   return 0;
23728 }
23729 _ACEOF
23730 if ac_fn_c_try_compile "$LINENO"; then :
23731   flag_ok=yes
23732 else
23733   flag_ok=no
23734 fi
23735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23736   CFLAGS="$save_CFLAGS"
23737
23738   if test "X$flag_ok" = Xyes ; then
23739
23740           ERROR_CFLAGS="-errwarn=%all"
23741                                                                                 for f in 'no%E_EMPTY_DECLARATION' \
23742                    'no%E_STATEMENT_NOT_REACHED' \
23743                    'no%E_ARGUEMENT_MISMATCH' \
23744                    'no%E_MACRO_REDEFINED' \
23745                    'no%E_LOOP_NOT_ENTERED_AT_TOP'
23746           do
23747
23748   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -errwarn=%all,$f" >&5
23749 $as_echo_n "checking to see if compiler understands -errwarn=%all,$f... " >&6; }
23750
23751   save_CFLAGS="$CFLAGS"
23752   CFLAGS="$CFLAGS -errwarn=%all,$f"
23753
23754   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23755 /* end confdefs.h.  */
23756
23757 int
23758 main ()
23759 {
23760
23761   ;
23762   return 0;
23763 }
23764 _ACEOF
23765 if ac_fn_c_try_compile "$LINENO"; then :
23766   flag_ok=yes
23767 else
23768   flag_ok=no
23769 fi
23770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23771   CFLAGS="$save_CFLAGS"
23772
23773   if test "X$flag_ok" = Xyes ; then
23774
23775               ERROR_CFLAGS="$ERROR_CFLAGS,$f"
23776
23777     true
23778   else
23779
23780     true
23781   fi
23782   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
23783 $as_echo "$flag_ok" >&6; }
23784
23785           done
23786
23787     true
23788   else
23789
23790     true
23791   fi
23792   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
23793 $as_echo "$flag_ok" >&6; }
23794
23795     else
23796                         if test -n "$PKG_CONFIG" && \
23797     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 < 2.19.8\""; } >&5
23798   ($PKG_CONFIG --exists --print-errors "glib-2.0 < 2.19.8") 2>&5
23799   ac_status=$?
23800   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23801   test $ac_status = 0; }; then
23802
23803
23804   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -fno-strict-aliasing" >&5
23805 $as_echo_n "checking to see if compiler understands -fno-strict-aliasing... " >&6; }
23806
23807   save_CFLAGS="$CFLAGS"
23808   CFLAGS="$CFLAGS -fno-strict-aliasing"
23809
23810   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23811 /* end confdefs.h.  */
23812
23813 int
23814 main ()
23815 {
23816
23817   ;
23818   return 0;
23819 }
23820 _ACEOF
23821 if ac_fn_c_try_compile "$LINENO"; then :
23822   flag_ok=yes
23823 else
23824   flag_ok=no
23825 fi
23826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23827   CFLAGS="$save_CFLAGS"
23828
23829   if test "X$flag_ok" = Xyes ; then
23830     ERROR_CFLAGS="$ERROR_CFLAGS -fno-strict-aliasing"
23831     true
23832   else
23833
23834     true
23835   fi
23836   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
23837 $as_echo "$flag_ok" >&6; }
23838
23839
23840 fi
23841     fi
23842   fi
23843
23844   if test "x
23845     -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wundef
23846     -Wwrite-strings -Wformat-nonliteral -Wformat-security
23847     -Winit-self -Wmissing-include-dirs -Waddress -Waggregate-return
23848     -Wno-multichar -Wnested-externs " != "x"
23849   then
23850     UNSUPPORTED=""
23851     list="
23852     -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wundef
23853     -Wwrite-strings -Wformat-nonliteral -Wformat-security
23854     -Winit-self -Wmissing-include-dirs -Waddress -Waggregate-return
23855     -Wno-multichar -Wnested-externs "
23856     for each in $list
23857     do
23858
23859   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands $each" >&5
23860 $as_echo_n "checking to see if compiler understands $each... " >&6; }
23861
23862   save_CFLAGS="$CFLAGS"
23863   CFLAGS="$CFLAGS $each"
23864
23865   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23866 /* end confdefs.h.  */
23867
23868 int
23869 main ()
23870 {
23871
23872   ;
23873   return 0;
23874 }
23875 _ACEOF
23876 if ac_fn_c_try_compile "$LINENO"; then :
23877   flag_ok=yes
23878 else
23879   flag_ok=no
23880 fi
23881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23882   CFLAGS="$save_CFLAGS"
23883
23884   if test "X$flag_ok" = Xyes ; then
23885     WARNING_CFLAGS="$WARNING_CFLAGS $each"
23886     true
23887   else
23888     UNSUPPORTED="$UNSUPPORTED $each"
23889     true
23890   fi
23891   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
23892 $as_echo "$flag_ok" >&6; }
23893
23894     done
23895     if test "X$UNSUPPORTED" != X ; then
23896       { $as_echo "$as_me:${as_lineno-$LINENO}: unsupported compiler flags: $UNSUPPORTED" >&5
23897 $as_echo "$as_me: unsupported compiler flags: $UNSUPPORTED" >&6;}
23898     fi
23899   fi
23900
23901
23902
23903   { $as_echo "$as_me:${as_lineno-$LINENO}: set WARNING_CFLAGS to $WARNING_CFLAGS" >&5
23904 $as_echo "$as_me: set WARNING_CFLAGS to $WARNING_CFLAGS" >&6;}
23905   { $as_echo "$as_me:${as_lineno-$LINENO}: set ERROR_CFLAGS to $ERROR_CFLAGS" >&5
23906 $as_echo "$as_me: set ERROR_CFLAGS to $ERROR_CFLAGS" >&6;}
23907
23908
23909
23910
23911
23912   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands " >&5
23913 $as_echo_n "checking to see if c++ compiler understands ... " >&6; }
23914
23915   save_CPPFLAGS="$CPPFLAGS"
23916   CPPFLAGS="$CPPFLAGS "
23917
23918   ac_ext=cpp
23919 ac_cpp='$CXXCPP $CPPFLAGS'
23920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23923
23924
23925   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23926 /* end confdefs.h.  */
23927
23928 int
23929 main ()
23930 {
23931
23932   ;
23933   return 0;
23934 }
23935 _ACEOF
23936 if ac_fn_cxx_try_compile "$LINENO"; then :
23937   flag_ok=yes
23938 else
23939   flag_ok=no
23940 fi
23941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23942   CPPFLAGS="$save_CPPFLAGS"
23943
23944   if test "X$flag_ok" = Xyes ; then
23945
23946     true
23947   else
23948
23949     true
23950   fi
23951
23952   ac_ext=c
23953 ac_cpp='$CPP $CPPFLAGS'
23954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23957
23958
23959   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
23960 $as_echo "$flag_ok" >&6; }
23961
23962
23963
23964
23965
23966   ERROR_CXXFLAGS=""
23967   WARNING_CXXFLAGS=""
23968
23969
23970
23971
23972   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -Wall" >&5
23973 $as_echo_n "checking to see if c++ compiler understands -Wall... " >&6; }
23974
23975   save_CPPFLAGS="$CPPFLAGS"
23976   CPPFLAGS="$CPPFLAGS -Wall"
23977
23978   ac_ext=cpp
23979 ac_cpp='$CXXCPP $CPPFLAGS'
23980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23983
23984
23985   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23986 /* end confdefs.h.  */
23987
23988 int
23989 main ()
23990 {
23991
23992   ;
23993   return 0;
23994 }
23995 _ACEOF
23996 if ac_fn_cxx_try_compile "$LINENO"; then :
23997   flag_ok=yes
23998 else
23999   flag_ok=no
24000 fi
24001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24002   CPPFLAGS="$save_CPPFLAGS"
24003
24004   if test "X$flag_ok" = Xyes ; then
24005     WARNING_CXXFLAGS="$WARNING_CXXFLAGS -Wall"
24006     true
24007   else
24008
24009     true
24010   fi
24011
24012   ac_ext=c
24013 ac_cpp='$CPP $CPPFLAGS'
24014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24017
24018
24019   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24020 $as_echo "$flag_ok" >&6; }
24021
24022
24023     if test "x$GST_GIT" != "xno"
24024   then
24025
24026
24027
24028   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -Werror" >&5
24029 $as_echo_n "checking to see if c++ compiler understands -Werror... " >&6; }
24030
24031   save_CPPFLAGS="$CPPFLAGS"
24032   CPPFLAGS="$CPPFLAGS -Werror"
24033
24034   ac_ext=cpp
24035 ac_cpp='$CXXCPP $CPPFLAGS'
24036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24039
24040
24041   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24042 /* end confdefs.h.  */
24043
24044 int
24045 main ()
24046 {
24047
24048   ;
24049   return 0;
24050 }
24051 _ACEOF
24052 if ac_fn_cxx_try_compile "$LINENO"; then :
24053   flag_ok=yes
24054 else
24055   flag_ok=no
24056 fi
24057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24058   CPPFLAGS="$save_CPPFLAGS"
24059
24060   if test "X$flag_ok" = Xyes ; then
24061     ERROR_CXXFLAGS="$ERROR_CXXFLAGS -Werror"
24062     true
24063   else
24064
24065     true
24066   fi
24067
24068   ac_ext=c
24069 ac_cpp='$CPP $CPPFLAGS'
24070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24073
24074
24075   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24076 $as_echo "$flag_ok" >&6; }
24077
24078
24079     if test "x$ERROR_CXXFLAGS" != "x"
24080     then
24081
24082
24083
24084   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -Wno-non-virtual-dtor" >&5
24085 $as_echo_n "checking to see if c++ compiler understands -Wno-non-virtual-dtor... " >&6; }
24086
24087   save_CPPFLAGS="$CPPFLAGS"
24088   CPPFLAGS="$CPPFLAGS -Wno-non-virtual-dtor"
24089
24090   ac_ext=cpp
24091 ac_cpp='$CXXCPP $CPPFLAGS'
24092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24095
24096
24097   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24098 /* end confdefs.h.  */
24099
24100 int
24101 main ()
24102 {
24103
24104   ;
24105   return 0;
24106 }
24107 _ACEOF
24108 if ac_fn_cxx_try_compile "$LINENO"; then :
24109   flag_ok=yes
24110 else
24111   flag_ok=no
24112 fi
24113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24114   CPPFLAGS="$save_CPPFLAGS"
24115
24116   if test "X$flag_ok" = Xyes ; then
24117     ERROR_CXXFLAGS="$ERROR_CXXFLAGS -Wno-non-virtual-dtor"
24118     true
24119   else
24120
24121     true
24122   fi
24123
24124   ac_ext=c
24125 ac_cpp='$CPP $CPPFLAGS'
24126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24129
24130
24131   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24132 $as_echo "$flag_ok" >&6; }
24133
24134
24135                                 if test -n "$PKG_CONFIG" && \
24136     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 < 2.19.8\""; } >&5
24137   ($PKG_CONFIG --exists --print-errors "glib-2.0 < 2.19.8") 2>&5
24138   ac_status=$?
24139   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24140   test $ac_status = 0; }; then
24141
24142
24143
24144
24145   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -fno-strict-aliasing" >&5
24146 $as_echo_n "checking to see if c++ compiler understands -fno-strict-aliasing... " >&6; }
24147
24148   save_CPPFLAGS="$CPPFLAGS"
24149   CPPFLAGS="$CPPFLAGS -fno-strict-aliasing"
24150
24151   ac_ext=cpp
24152 ac_cpp='$CXXCPP $CPPFLAGS'
24153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24156
24157
24158   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24159 /* end confdefs.h.  */
24160
24161 int
24162 main ()
24163 {
24164
24165   ;
24166   return 0;
24167 }
24168 _ACEOF
24169 if ac_fn_cxx_try_compile "$LINENO"; then :
24170   flag_ok=yes
24171 else
24172   flag_ok=no
24173 fi
24174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24175   CPPFLAGS="$save_CPPFLAGS"
24176
24177   if test "X$flag_ok" = Xyes ; then
24178     ERROR_CXXFLAGS="$ERROR_CXXFLAGS -fno-strict-aliasing"
24179     true
24180   else
24181
24182     true
24183   fi
24184
24185   ac_ext=c
24186 ac_cpp='$CPP $CPPFLAGS'
24187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24190
24191
24192   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24193 $as_echo "$flag_ok" >&6; }
24194
24195
24196 fi
24197     else
24198
24199
24200
24201   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -errwarn=%all" >&5
24202 $as_echo_n "checking to see if c++ compiler understands -errwarn=%all... " >&6; }
24203
24204   save_CPPFLAGS="$CPPFLAGS"
24205   CPPFLAGS="$CPPFLAGS -errwarn=%all"
24206
24207   ac_ext=cpp
24208 ac_cpp='$CXXCPP $CPPFLAGS'
24209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24212
24213
24214   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24215 /* end confdefs.h.  */
24216
24217 int
24218 main ()
24219 {
24220
24221   ;
24222   return 0;
24223 }
24224 _ACEOF
24225 if ac_fn_cxx_try_compile "$LINENO"; then :
24226   flag_ok=yes
24227 else
24228   flag_ok=no
24229 fi
24230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24231   CPPFLAGS="$save_CPPFLAGS"
24232
24233   if test "X$flag_ok" = Xyes ; then
24234     ERROR_CXXFLAGS="$ERROR_CXXFLAGS -errwarn=%all"
24235     true
24236   else
24237
24238     true
24239   fi
24240
24241   ac_ext=c
24242 ac_cpp='$CPP $CPPFLAGS'
24243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24246
24247
24248   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24249 $as_echo "$flag_ok" >&6; }
24250
24251       if test "x$ERROR_CXXFLAGS" != "x"; then
24252                                                                                 for f in 'no%E_EMPTY_DECLARATION' \
24253                  'no%E_STATEMENT_NOT_REACHED' \
24254                  'no%E_ARGUEMENT_MISMATCH' \
24255                  'no%E_MACRO_REDEFINED' \
24256                  'no%E_LOOP_NOT_ENTERED_AT_TOP'
24257         do
24258
24259
24260
24261   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -errwarn=%all,$f" >&5
24262 $as_echo_n "checking to see if c++ compiler understands -errwarn=%all,$f... " >&6; }
24263
24264   save_CPPFLAGS="$CPPFLAGS"
24265   CPPFLAGS="$CPPFLAGS -errwarn=%all,$f"
24266
24267   ac_ext=cpp
24268 ac_cpp='$CXXCPP $CPPFLAGS'
24269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24272
24273
24274   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24275 /* end confdefs.h.  */
24276
24277 int
24278 main ()
24279 {
24280
24281   ;
24282   return 0;
24283 }
24284 _ACEOF
24285 if ac_fn_cxx_try_compile "$LINENO"; then :
24286   flag_ok=yes
24287 else
24288   flag_ok=no
24289 fi
24290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24291   CPPFLAGS="$save_CPPFLAGS"
24292
24293   if test "X$flag_ok" = Xyes ; then
24294     ERROR_CXXFLAGS="$ERROR_CXXFLAGS
24295     true
24296   else
24297     $f"
24298     true
24299   fi
24300
24301   ac_ext=c
24302 ac_cpp='$CPP $CPPFLAGS'
24303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24306
24307
24308   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24309 $as_echo "$flag_ok" >&6; }
24310
24311         done
24312       fi
24313     fi
24314   fi
24315
24316   if test "x
24317     -Wmissing-declarations -Wredundant-decls -Wundef
24318     -Wwrite-strings -Wformat-nonliteral -Wformat-security
24319     -Winit-self -Wmissing-include-dirs -Waddress -Waggregate-return
24320     -Wno-multichar" != "x"
24321   then
24322     UNSUPPORTED=""
24323     list="
24324     -Wmissing-declarations -Wredundant-decls -Wundef
24325     -Wwrite-strings -Wformat-nonliteral -Wformat-security
24326     -Winit-self -Wmissing-include-dirs -Waddress -Waggregate-return
24327     -Wno-multichar"
24328     for each in $list
24329     do
24330
24331
24332
24333   { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands $each" >&5
24334 $as_echo_n "checking to see if c++ compiler understands $each... " >&6; }
24335
24336   save_CPPFLAGS="$CPPFLAGS"
24337   CPPFLAGS="$CPPFLAGS $each"
24338
24339   ac_ext=cpp
24340 ac_cpp='$CXXCPP $CPPFLAGS'
24341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24344
24345
24346   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24347 /* end confdefs.h.  */
24348
24349 int
24350 main ()
24351 {
24352
24353   ;
24354   return 0;
24355 }
24356 _ACEOF
24357 if ac_fn_cxx_try_compile "$LINENO"; then :
24358   flag_ok=yes
24359 else
24360   flag_ok=no
24361 fi
24362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24363   CPPFLAGS="$save_CPPFLAGS"
24364
24365   if test "X$flag_ok" = Xyes ; then
24366     WARNING_CXXFLAGS="$WARNING_CXXFLAGS $each"
24367     true
24368   else
24369     UNSUPPORTED="$UNSUPPORTED $each"
24370     true
24371   fi
24372
24373   ac_ext=c
24374 ac_cpp='$CPP $CPPFLAGS'
24375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24378
24379
24380   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24381 $as_echo "$flag_ok" >&6; }
24382
24383     done
24384     if test "X$UNSUPPORTED" != X ; then
24385       { $as_echo "$as_me:${as_lineno-$LINENO}: unsupported compiler flags: $UNSUPPORTED" >&5
24386 $as_echo "$as_me: unsupported compiler flags: $UNSUPPORTED" >&6;}
24387     fi
24388   fi
24389
24390
24391
24392   { $as_echo "$as_me:${as_lineno-$LINENO}: set WARNING_CXXFLAGS to $WARNING_CXXFLAGS" >&5
24393 $as_echo "$as_me: set WARNING_CXXFLAGS to $WARNING_CXXFLAGS" >&6;}
24394   { $as_echo "$as_me:${as_lineno-$LINENO}: set ERROR_CXXFLAGS to $ERROR_CXXFLAGS" >&5
24395 $as_echo "$as_me: set ERROR_CXXFLAGS to $ERROR_CXXFLAGS" >&6;}
24396
24397
24398
24399       if test "x$GST_GIT" = "xyes"; then
24400     GST_LEVEL_DEFAULT=GST_LEVEL_ERROR
24401   else
24402     GST_LEVEL_DEFAULT=GST_LEVEL_NONE
24403   fi
24404
24405 cat >>confdefs.h <<_ACEOF
24406 #define GST_LEVEL_DEFAULT $GST_LEVEL_DEFAULT
24407 _ACEOF
24408
24409
24410
24411
24412
24413             DEFAULT_AUDIOSINK="autoaudiosink"
24414   DEFAULT_VIDEOSINK="autovideosink"
24415   DEFAULT_AUDIOSRC="alsasrc"
24416   DEFAULT_VIDEOSRC="v4l2src"
24417   DEFAULT_VISUALIZER="goom"
24418   case "$host" in
24419     *-sun-* | *pc-solaris* )
24420       DEFAULT_AUDIOSRC="sunaudiosrc"
24421       ;;
24422     *-darwin* )
24423       DEFAULT_AUDIOSRC="osxaudiosrc"
24424       ;;
24425   esac
24426
24427
24428 # Check whether --with-default-audiosink was given.
24429 if test "${with_default_audiosink+set}" = set; then :
24430   withval=$with_default_audiosink;
24431       case "${withval}" in
24432         yes) as_fn_error $? "bad value ${withval} for --with-default-audiosink" "$LINENO" 5  ;;
24433         no)  as_fn_error $? "bad value ${withval} for --with-default-audiosink" "$LINENO" 5  ;;
24434         *)   DEFAULT_AUDIOSINK="${withval}" ;;
24435       esac
24436
24437 else
24438
24439       DEFAULT_AUDIOSINK="$DEFAULT_AUDIOSINK"
24440
24441 fi
24442
24443   { $as_echo "$as_me:${as_lineno-$LINENO}: Using $DEFAULT_AUDIOSINK as default audio sink" >&5
24444 $as_echo "$as_me: Using $DEFAULT_AUDIOSINK as default audio sink" >&6;}
24445
24446
24447 cat >>confdefs.h <<_ACEOF
24448 #define DEFAULT_AUDIOSINK "$DEFAULT_AUDIOSINK"
24449 _ACEOF
24450
24451
24452
24453 # Check whether --with-default-audiosrc was given.
24454 if test "${with_default_audiosrc+set}" = set; then :
24455   withval=$with_default_audiosrc;
24456       case "${withval}" in
24457         yes) as_fn_error $? "bad value ${withval} for --with-default-audiosrc" "$LINENO" 5  ;;
24458         no)  as_fn_error $? "bad value ${withval} for --with-default-audiosrc" "$LINENO" 5  ;;
24459         *)   DEFAULT_AUDIOSRC="${withval}" ;;
24460       esac
24461
24462 else
24463
24464       DEFAULT_AUDIOSRC="$DEFAULT_AUDIOSRC"
24465
24466 fi
24467
24468   { $as_echo "$as_me:${as_lineno-$LINENO}: Using $DEFAULT_AUDIOSRC as default audio source" >&5
24469 $as_echo "$as_me: Using $DEFAULT_AUDIOSRC as default audio source" >&6;}
24470
24471
24472 cat >>confdefs.h <<_ACEOF
24473 #define DEFAULT_AUDIOSRC "$DEFAULT_AUDIOSRC"
24474 _ACEOF
24475
24476
24477
24478 # Check whether --with-default-videosink was given.
24479 if test "${with_default_videosink+set}" = set; then :
24480   withval=$with_default_videosink;
24481       case "${withval}" in
24482         yes) as_fn_error $? "bad value ${withval} for --with-default-videosink" "$LINENO" 5  ;;
24483         no)  as_fn_error $? "bad value ${withval} for --with-default-videosink" "$LINENO" 5  ;;
24484         *)   DEFAULT_VIDEOSINK="${withval}" ;;
24485       esac
24486
24487 else
24488
24489       DEFAULT_VIDEOSINK="$DEFAULT_VIDEOSINK"
24490
24491 fi
24492
24493   { $as_echo "$as_me:${as_lineno-$LINENO}: Using $DEFAULT_VIDEOSINK as default video sink" >&5
24494 $as_echo "$as_me: Using $DEFAULT_VIDEOSINK as default video sink" >&6;}
24495
24496
24497 cat >>confdefs.h <<_ACEOF
24498 #define DEFAULT_VIDEOSINK "$DEFAULT_VIDEOSINK"
24499 _ACEOF
24500
24501
24502
24503 # Check whether --with-default-videosrc was given.
24504 if test "${with_default_videosrc+set}" = set; then :
24505   withval=$with_default_videosrc;
24506       case "${withval}" in
24507         yes) as_fn_error $? "bad value ${withval} for --with-default-videosrc" "$LINENO" 5  ;;
24508         no)  as_fn_error $? "bad value ${withval} for --with-default-videosrc" "$LINENO" 5  ;;
24509         *)   DEFAULT_VIDEOSRC="${withval}" ;;
24510       esac
24511
24512 else
24513
24514       DEFAULT_VIDEOSRC="$DEFAULT_VIDEOSRC"
24515
24516 fi
24517
24518   { $as_echo "$as_me:${as_lineno-$LINENO}: Using $DEFAULT_VIDEOSRC as default video source" >&5
24519 $as_echo "$as_me: Using $DEFAULT_VIDEOSRC as default video source" >&6;}
24520
24521
24522 cat >>confdefs.h <<_ACEOF
24523 #define DEFAULT_VIDEOSRC "$DEFAULT_VIDEOSRC"
24524 _ACEOF
24525
24526
24527
24528 # Check whether --with-default-visualizer was given.
24529 if test "${with_default_visualizer+set}" = set; then :
24530   withval=$with_default_visualizer;
24531       case "${withval}" in
24532         yes) as_fn_error $? "bad value ${withval} for --with-default-visualizer" "$LINENO" 5  ;;
24533         no)  as_fn_error $? "bad value ${withval} for --with-default-visualizer" "$LINENO" 5  ;;
24534         *)   DEFAULT_VISUALIZER="${withval}" ;;
24535       esac
24536
24537 else
24538
24539       DEFAULT_VISUALIZER="$DEFAULT_VISUALIZER"
24540
24541 fi
24542
24543   { $as_echo "$as_me:${as_lineno-$LINENO}: Using $DEFAULT_VISUALIZER as default visualizer" >&5
24544 $as_echo "$as_me: Using $DEFAULT_VISUALIZER as default visualizer" >&6;}
24545
24546
24547 cat >>confdefs.h <<_ACEOF
24548 #define DEFAULT_VISUALIZER "$DEFAULT_VISUALIZER"
24549 _ACEOF
24550
24551
24552
24553 GST_DATADIR="$GST_PREFIX/share"
24554
24555 cat >>confdefs.h <<_ACEOF
24556 #define GST_DATADIR "$GST_DATADIR"
24557 _ACEOF
24558
24559
24560 cat >>confdefs.h <<_ACEOF
24561 #define GST_MAJORMINOR "$GST_MAJORMINOR"
24562 _ACEOF
24563
24564
24565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which audio resample format to use for integer" >&5
24566 $as_echo_n "checking which audio resample format to use for integer... " >&6; }
24567
24568 # Check whether --with-audioresample_format was given.
24569 if test "${with_audioresample_format+set}" = set; then :
24570   withval=$with_audioresample_format; ac_cv_audioresample_format=$withval
24571 else
24572   ac_cv_audioresample_format=auto
24573 fi
24574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_audioresample_format" >&5
24575 $as_echo "$ac_cv_audioresample_format" >&6; }
24576 case $ac_cv_audioresample_format in
24577   int)
24578
24579 $as_echo "#define AUDIORESAMPLE_FORMAT_INT 1" >>confdefs.h
24580
24581
24582   ;;
24583   float)
24584
24585 $as_echo "#define AUDIORESAMPLE_FORMAT_FLOAT 1" >>confdefs.h
24586
24587
24588   ;;
24589   auto)
24590
24591 $as_echo "#define AUDIORESAMPLE_FORMAT_AUTO 1" >>confdefs.h
24592
24593
24594 esac
24595
24596
24597
24598   GST_PLUGINS_ALL="$GST_PLUGINS_ALL adder"
24599
24600
24601
24602   # Check whether --enable-adder was given.
24603 if test "${enable_adder+set}" = set; then :
24604   enableval=$enable_adder;
24605       case "${enableval}" in
24606         yes) gst_use_adder=yes ;;
24607         no) gst_use_adder=no ;;
24608         *) as_fn_error $? "bad value ${enableval} for --enable-adder" "$LINENO" 5  ;;
24609        esac
24610
24611 else
24612   gst_use_adder=yes
24613 fi
24614
24615   if test x$gst_use_adder = xno; then
24616     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin adder" >&5
24617 $as_echo "$as_me: disabling dependency-less plugin adder" >&6;}
24618     WITHOUT_PLUGINS="$WITHOUT_PLUGINS adder"
24619   fi
24620
24621
24622   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " adder " > /dev/null; then
24623     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED adder"
24624   fi
24625   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " adder " > /dev/null; then
24626     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ adder / /'`
24627   fi
24628    if echo " $GST_PLUGINS_SELECTED " | grep -i " adder " > /dev/null; then
24629   USE_PLUGIN_ADDER_TRUE=
24630   USE_PLUGIN_ADDER_FALSE='#'
24631 else
24632   USE_PLUGIN_ADDER_TRUE='#'
24633   USE_PLUGIN_ADDER_FALSE=
24634 fi
24635
24636
24637
24638   GST_PLUGINS_ALL="$GST_PLUGINS_ALL app"
24639
24640
24641
24642   # Check whether --enable-app was given.
24643 if test "${enable_app+set}" = set; then :
24644   enableval=$enable_app;
24645       case "${enableval}" in
24646         yes) gst_use_app=yes ;;
24647         no) gst_use_app=no ;;
24648         *) as_fn_error $? "bad value ${enableval} for --enable-app" "$LINENO" 5  ;;
24649        esac
24650
24651 else
24652   gst_use_app=yes
24653 fi
24654
24655   if test x$gst_use_app = xno; then
24656     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin app" >&5
24657 $as_echo "$as_me: disabling dependency-less plugin app" >&6;}
24658     WITHOUT_PLUGINS="$WITHOUT_PLUGINS app"
24659   fi
24660
24661
24662   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " app " > /dev/null; then
24663     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED app"
24664   fi
24665   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " app " > /dev/null; then
24666     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ app / /'`
24667   fi
24668    if echo " $GST_PLUGINS_SELECTED " | grep -i " app " > /dev/null; then
24669   USE_PLUGIN_APP_TRUE=
24670   USE_PLUGIN_APP_FALSE='#'
24671 else
24672   USE_PLUGIN_APP_TRUE='#'
24673   USE_PLUGIN_APP_FALSE=
24674 fi
24675
24676
24677
24678   GST_PLUGINS_ALL="$GST_PLUGINS_ALL audioconvert"
24679
24680
24681
24682   # Check whether --enable-audioconvert was given.
24683 if test "${enable_audioconvert+set}" = set; then :
24684   enableval=$enable_audioconvert;
24685       case "${enableval}" in
24686         yes) gst_use_audioconvert=yes ;;
24687         no) gst_use_audioconvert=no ;;
24688         *) as_fn_error $? "bad value ${enableval} for --enable-audioconvert" "$LINENO" 5  ;;
24689        esac
24690
24691 else
24692   gst_use_audioconvert=yes
24693 fi
24694
24695   if test x$gst_use_audioconvert = xno; then
24696     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin audioconvert" >&5
24697 $as_echo "$as_me: disabling dependency-less plugin audioconvert" >&6;}
24698     WITHOUT_PLUGINS="$WITHOUT_PLUGINS audioconvert"
24699   fi
24700
24701
24702   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " audioconvert " > /dev/null; then
24703     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED audioconvert"
24704   fi
24705   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " audioconvert " > /dev/null; then
24706     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ audioconvert / /'`
24707   fi
24708    if echo " $GST_PLUGINS_SELECTED " | grep -i " audioconvert " > /dev/null; then
24709   USE_PLUGIN_AUDIOCONVERT_TRUE=
24710   USE_PLUGIN_AUDIOCONVERT_FALSE='#'
24711 else
24712   USE_PLUGIN_AUDIOCONVERT_TRUE='#'
24713   USE_PLUGIN_AUDIOCONVERT_FALSE=
24714 fi
24715
24716
24717
24718   GST_PLUGINS_ALL="$GST_PLUGINS_ALL audiorate"
24719
24720
24721
24722   # Check whether --enable-audiorate was given.
24723 if test "${enable_audiorate+set}" = set; then :
24724   enableval=$enable_audiorate;
24725       case "${enableval}" in
24726         yes) gst_use_audiorate=yes ;;
24727         no) gst_use_audiorate=no ;;
24728         *) as_fn_error $? "bad value ${enableval} for --enable-audiorate" "$LINENO" 5  ;;
24729        esac
24730
24731 else
24732   gst_use_audiorate=yes
24733 fi
24734
24735   if test x$gst_use_audiorate = xno; then
24736     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin audiorate" >&5
24737 $as_echo "$as_me: disabling dependency-less plugin audiorate" >&6;}
24738     WITHOUT_PLUGINS="$WITHOUT_PLUGINS audiorate"
24739   fi
24740
24741
24742   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " audiorate " > /dev/null; then
24743     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED audiorate"
24744   fi
24745   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " audiorate " > /dev/null; then
24746     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ audiorate / /'`
24747   fi
24748    if echo " $GST_PLUGINS_SELECTED " | grep -i " audiorate " > /dev/null; then
24749   USE_PLUGIN_AUDIORATE_TRUE=
24750   USE_PLUGIN_AUDIORATE_FALSE='#'
24751 else
24752   USE_PLUGIN_AUDIORATE_TRUE='#'
24753   USE_PLUGIN_AUDIORATE_FALSE=
24754 fi
24755
24756
24757
24758   GST_PLUGINS_ALL="$GST_PLUGINS_ALL audiotestsrc"
24759
24760
24761
24762   # Check whether --enable-audiotestsrc was given.
24763 if test "${enable_audiotestsrc+set}" = set; then :
24764   enableval=$enable_audiotestsrc;
24765       case "${enableval}" in
24766         yes) gst_use_audiotestsrc=yes ;;
24767         no) gst_use_audiotestsrc=no ;;
24768         *) as_fn_error $? "bad value ${enableval} for --enable-audiotestsrc" "$LINENO" 5  ;;
24769        esac
24770
24771 else
24772   gst_use_audiotestsrc=yes
24773 fi
24774
24775   if test x$gst_use_audiotestsrc = xno; then
24776     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin audiotestsrc" >&5
24777 $as_echo "$as_me: disabling dependency-less plugin audiotestsrc" >&6;}
24778     WITHOUT_PLUGINS="$WITHOUT_PLUGINS audiotestsrc"
24779   fi
24780
24781
24782   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " audiotestsrc " > /dev/null; then
24783     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED audiotestsrc"
24784   fi
24785   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " audiotestsrc " > /dev/null; then
24786     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ audiotestsrc / /'`
24787   fi
24788    if echo " $GST_PLUGINS_SELECTED " | grep -i " audiotestsrc " > /dev/null; then
24789   USE_PLUGIN_AUDIOTESTSRC_TRUE=
24790   USE_PLUGIN_AUDIOTESTSRC_FALSE='#'
24791 else
24792   USE_PLUGIN_AUDIOTESTSRC_TRUE='#'
24793   USE_PLUGIN_AUDIOTESTSRC_FALSE=
24794 fi
24795
24796
24797
24798   GST_PLUGINS_ALL="$GST_PLUGINS_ALL encoding"
24799
24800
24801
24802   # Check whether --enable-encoding was given.
24803 if test "${enable_encoding+set}" = set; then :
24804   enableval=$enable_encoding;
24805       case "${enableval}" in
24806         yes) gst_use_encoding=yes ;;
24807         no) gst_use_encoding=no ;;
24808         *) as_fn_error $? "bad value ${enableval} for --enable-encoding" "$LINENO" 5  ;;
24809        esac
24810
24811 else
24812   gst_use_encoding=yes
24813 fi
24814
24815   if test x$gst_use_encoding = xno; then
24816     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin encoding" >&5
24817 $as_echo "$as_me: disabling dependency-less plugin encoding" >&6;}
24818     WITHOUT_PLUGINS="$WITHOUT_PLUGINS encoding"
24819   fi
24820
24821
24822   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " encoding " > /dev/null; then
24823     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED encoding"
24824   fi
24825   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " encoding " > /dev/null; then
24826     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ encoding / /'`
24827   fi
24828    if echo " $GST_PLUGINS_SELECTED " | grep -i " encoding " > /dev/null; then
24829   USE_PLUGIN_ENCODING_TRUE=
24830   USE_PLUGIN_ENCODING_FALSE='#'
24831 else
24832   USE_PLUGIN_ENCODING_TRUE='#'
24833   USE_PLUGIN_ENCODING_FALSE=
24834 fi
24835
24836
24837
24838   GST_PLUGINS_ALL="$GST_PLUGINS_ALL ffmpegcolorspace"
24839
24840
24841
24842   # Check whether --enable-ffmpegcolorspace was given.
24843 if test "${enable_ffmpegcolorspace+set}" = set; then :
24844   enableval=$enable_ffmpegcolorspace;
24845       case "${enableval}" in
24846         yes) gst_use_ffmpegcolorspace=yes ;;
24847         no) gst_use_ffmpegcolorspace=no ;;
24848         *) as_fn_error $? "bad value ${enableval} for --enable-ffmpegcolorspace" "$LINENO" 5  ;;
24849        esac
24850
24851 else
24852   gst_use_ffmpegcolorspace=yes
24853 fi
24854
24855   if test x$gst_use_ffmpegcolorspace = xno; then
24856     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin ffmpegcolorspace" >&5
24857 $as_echo "$as_me: disabling dependency-less plugin ffmpegcolorspace" >&6;}
24858     WITHOUT_PLUGINS="$WITHOUT_PLUGINS ffmpegcolorspace"
24859   fi
24860
24861
24862   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " ffmpegcolorspace " > /dev/null; then
24863     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED ffmpegcolorspace"
24864   fi
24865   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " ffmpegcolorspace " > /dev/null; then
24866     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ ffmpegcolorspace / /'`
24867   fi
24868    if echo " $GST_PLUGINS_SELECTED " | grep -i " ffmpegcolorspace " > /dev/null; then
24869   USE_PLUGIN_FFMPEGCOLORSPACE_TRUE=
24870   USE_PLUGIN_FFMPEGCOLORSPACE_FALSE='#'
24871 else
24872   USE_PLUGIN_FFMPEGCOLORSPACE_TRUE='#'
24873   USE_PLUGIN_FFMPEGCOLORSPACE_FALSE=
24874 fi
24875
24876
24877
24878   GST_PLUGINS_ALL="$GST_PLUGINS_ALL gdp"
24879
24880
24881
24882   # Check whether --enable-gdp was given.
24883 if test "${enable_gdp+set}" = set; then :
24884   enableval=$enable_gdp;
24885       case "${enableval}" in
24886         yes) gst_use_gdp=yes ;;
24887         no) gst_use_gdp=no ;;
24888         *) as_fn_error $? "bad value ${enableval} for --enable-gdp" "$LINENO" 5  ;;
24889        esac
24890
24891 else
24892   gst_use_gdp=yes
24893 fi
24894
24895   if test x$gst_use_gdp = xno; then
24896     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin gdp" >&5
24897 $as_echo "$as_me: disabling dependency-less plugin gdp" >&6;}
24898     WITHOUT_PLUGINS="$WITHOUT_PLUGINS gdp"
24899   fi
24900
24901
24902   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " gdp " > /dev/null; then
24903     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED gdp"
24904   fi
24905   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " gdp " > /dev/null; then
24906     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ gdp / /'`
24907   fi
24908    if echo " $GST_PLUGINS_SELECTED " | grep -i " gdp " > /dev/null; then
24909   USE_PLUGIN_GDP_TRUE=
24910   USE_PLUGIN_GDP_FALSE='#'
24911 else
24912   USE_PLUGIN_GDP_TRUE='#'
24913   USE_PLUGIN_GDP_FALSE=
24914 fi
24915
24916
24917
24918   GST_PLUGINS_ALL="$GST_PLUGINS_ALL playback"
24919
24920
24921
24922   # Check whether --enable-playback was given.
24923 if test "${enable_playback+set}" = set; then :
24924   enableval=$enable_playback;
24925       case "${enableval}" in
24926         yes) gst_use_playback=yes ;;
24927         no) gst_use_playback=no ;;
24928         *) as_fn_error $? "bad value ${enableval} for --enable-playback" "$LINENO" 5  ;;
24929        esac
24930
24931 else
24932   gst_use_playback=yes
24933 fi
24934
24935   if test x$gst_use_playback = xno; then
24936     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin playback" >&5
24937 $as_echo "$as_me: disabling dependency-less plugin playback" >&6;}
24938     WITHOUT_PLUGINS="$WITHOUT_PLUGINS playback"
24939   fi
24940
24941
24942   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " playback " > /dev/null; then
24943     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED playback"
24944   fi
24945   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " playback " > /dev/null; then
24946     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ playback / /'`
24947   fi
24948    if echo " $GST_PLUGINS_SELECTED " | grep -i " playback " > /dev/null; then
24949   USE_PLUGIN_PLAYBACK_TRUE=
24950   USE_PLUGIN_PLAYBACK_FALSE='#'
24951 else
24952   USE_PLUGIN_PLAYBACK_TRUE='#'
24953   USE_PLUGIN_PLAYBACK_FALSE=
24954 fi
24955
24956
24957
24958   GST_PLUGINS_ALL="$GST_PLUGINS_ALL audioresample"
24959
24960
24961
24962   # Check whether --enable-audioresample was given.
24963 if test "${enable_audioresample+set}" = set; then :
24964   enableval=$enable_audioresample;
24965       case "${enableval}" in
24966         yes) gst_use_audioresample=yes ;;
24967         no) gst_use_audioresample=no ;;
24968         *) as_fn_error $? "bad value ${enableval} for --enable-audioresample" "$LINENO" 5  ;;
24969        esac
24970
24971 else
24972   gst_use_audioresample=yes
24973 fi
24974
24975   if test x$gst_use_audioresample = xno; then
24976     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin audioresample" >&5
24977 $as_echo "$as_me: disabling dependency-less plugin audioresample" >&6;}
24978     WITHOUT_PLUGINS="$WITHOUT_PLUGINS audioresample"
24979   fi
24980
24981
24982   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " audioresample " > /dev/null; then
24983     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED audioresample"
24984   fi
24985   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " audioresample " > /dev/null; then
24986     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ audioresample / /'`
24987   fi
24988    if echo " $GST_PLUGINS_SELECTED " | grep -i " audioresample " > /dev/null; then
24989   USE_PLUGIN_AUDIORESAMPLE_TRUE=
24990   USE_PLUGIN_AUDIORESAMPLE_FALSE='#'
24991 else
24992   USE_PLUGIN_AUDIORESAMPLE_TRUE='#'
24993   USE_PLUGIN_AUDIORESAMPLE_FALSE=
24994 fi
24995
24996
24997
24998   GST_PLUGINS_ALL="$GST_PLUGINS_ALL subparse"
24999
25000
25001
25002   # Check whether --enable-subparse was given.
25003 if test "${enable_subparse+set}" = set; then :
25004   enableval=$enable_subparse;
25005       case "${enableval}" in
25006         yes) gst_use_subparse=yes ;;
25007         no) gst_use_subparse=no ;;
25008         *) as_fn_error $? "bad value ${enableval} for --enable-subparse" "$LINENO" 5  ;;
25009        esac
25010
25011 else
25012   gst_use_subparse=yes
25013 fi
25014
25015   if test x$gst_use_subparse = xno; then
25016     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin subparse" >&5
25017 $as_echo "$as_me: disabling dependency-less plugin subparse" >&6;}
25018     WITHOUT_PLUGINS="$WITHOUT_PLUGINS subparse"
25019   fi
25020
25021
25022   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " subparse " > /dev/null; then
25023     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED subparse"
25024   fi
25025   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " subparse " > /dev/null; then
25026     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ subparse / /'`
25027   fi
25028    if echo " $GST_PLUGINS_SELECTED " | grep -i " subparse " > /dev/null; then
25029   USE_PLUGIN_SUBPARSE_TRUE=
25030   USE_PLUGIN_SUBPARSE_FALSE='#'
25031 else
25032   USE_PLUGIN_SUBPARSE_TRUE='#'
25033   USE_PLUGIN_SUBPARSE_FALSE=
25034 fi
25035
25036
25037
25038   GST_PLUGINS_ALL="$GST_PLUGINS_ALL tcp"
25039
25040
25041
25042   # Check whether --enable-tcp was given.
25043 if test "${enable_tcp+set}" = set; then :
25044   enableval=$enable_tcp;
25045       case "${enableval}" in
25046         yes) gst_use_tcp=yes ;;
25047         no) gst_use_tcp=no ;;
25048         *) as_fn_error $? "bad value ${enableval} for --enable-tcp" "$LINENO" 5  ;;
25049        esac
25050
25051 else
25052   gst_use_tcp=yes
25053 fi
25054
25055   if test x$gst_use_tcp = xno; then
25056     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin tcp" >&5
25057 $as_echo "$as_me: disabling dependency-less plugin tcp" >&6;}
25058     WITHOUT_PLUGINS="$WITHOUT_PLUGINS tcp"
25059   fi
25060
25061
25062   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " tcp " > /dev/null; then
25063     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED tcp"
25064   fi
25065   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " tcp " > /dev/null; then
25066     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ tcp / /'`
25067   fi
25068    if echo " $GST_PLUGINS_SELECTED " | grep -i " tcp " > /dev/null; then
25069   USE_PLUGIN_TCP_TRUE=
25070   USE_PLUGIN_TCP_FALSE='#'
25071 else
25072   USE_PLUGIN_TCP_TRUE='#'
25073   USE_PLUGIN_TCP_FALSE=
25074 fi
25075
25076
25077
25078   GST_PLUGINS_ALL="$GST_PLUGINS_ALL typefind"
25079
25080
25081
25082   # Check whether --enable-typefind was given.
25083 if test "${enable_typefind+set}" = set; then :
25084   enableval=$enable_typefind;
25085       case "${enableval}" in
25086         yes) gst_use_typefind=yes ;;
25087         no) gst_use_typefind=no ;;
25088         *) as_fn_error $? "bad value ${enableval} for --enable-typefind" "$LINENO" 5  ;;
25089        esac
25090
25091 else
25092   gst_use_typefind=yes
25093 fi
25094
25095   if test x$gst_use_typefind = xno; then
25096     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin typefind" >&5
25097 $as_echo "$as_me: disabling dependency-less plugin typefind" >&6;}
25098     WITHOUT_PLUGINS="$WITHOUT_PLUGINS typefind"
25099   fi
25100
25101
25102   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " typefind " > /dev/null; then
25103     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED typefind"
25104   fi
25105   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " typefind " > /dev/null; then
25106     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ typefind / /'`
25107   fi
25108    if echo " $GST_PLUGINS_SELECTED " | grep -i " typefind " > /dev/null; then
25109   USE_PLUGIN_TYPEFIND_TRUE=
25110   USE_PLUGIN_TYPEFIND_FALSE='#'
25111 else
25112   USE_PLUGIN_TYPEFIND_TRUE='#'
25113   USE_PLUGIN_TYPEFIND_FALSE=
25114 fi
25115
25116
25117
25118   GST_PLUGINS_ALL="$GST_PLUGINS_ALL videotestsrc"
25119
25120
25121
25122   # Check whether --enable-videotestsrc was given.
25123 if test "${enable_videotestsrc+set}" = set; then :
25124   enableval=$enable_videotestsrc;
25125       case "${enableval}" in
25126         yes) gst_use_videotestsrc=yes ;;
25127         no) gst_use_videotestsrc=no ;;
25128         *) as_fn_error $? "bad value ${enableval} for --enable-videotestsrc" "$LINENO" 5  ;;
25129        esac
25130
25131 else
25132   gst_use_videotestsrc=yes
25133 fi
25134
25135   if test x$gst_use_videotestsrc = xno; then
25136     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin videotestsrc" >&5
25137 $as_echo "$as_me: disabling dependency-less plugin videotestsrc" >&6;}
25138     WITHOUT_PLUGINS="$WITHOUT_PLUGINS videotestsrc"
25139   fi
25140
25141
25142   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " videotestsrc " > /dev/null; then
25143     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED videotestsrc"
25144   fi
25145   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " videotestsrc " > /dev/null; then
25146     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ videotestsrc / /'`
25147   fi
25148    if echo " $GST_PLUGINS_SELECTED " | grep -i " videotestsrc " > /dev/null; then
25149   USE_PLUGIN_VIDEOTESTSRC_TRUE=
25150   USE_PLUGIN_VIDEOTESTSRC_FALSE='#'
25151 else
25152   USE_PLUGIN_VIDEOTESTSRC_TRUE='#'
25153   USE_PLUGIN_VIDEOTESTSRC_FALSE=
25154 fi
25155
25156
25157
25158   GST_PLUGINS_ALL="$GST_PLUGINS_ALL videorate"
25159
25160
25161
25162   # Check whether --enable-videorate was given.
25163 if test "${enable_videorate+set}" = set; then :
25164   enableval=$enable_videorate;
25165       case "${enableval}" in
25166         yes) gst_use_videorate=yes ;;
25167         no) gst_use_videorate=no ;;
25168         *) as_fn_error $? "bad value ${enableval} for --enable-videorate" "$LINENO" 5  ;;
25169        esac
25170
25171 else
25172   gst_use_videorate=yes
25173 fi
25174
25175   if test x$gst_use_videorate = xno; then
25176     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin videorate" >&5
25177 $as_echo "$as_me: disabling dependency-less plugin videorate" >&6;}
25178     WITHOUT_PLUGINS="$WITHOUT_PLUGINS videorate"
25179   fi
25180
25181
25182   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " videorate " > /dev/null; then
25183     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED videorate"
25184   fi
25185   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " videorate " > /dev/null; then
25186     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ videorate / /'`
25187   fi
25188    if echo " $GST_PLUGINS_SELECTED " | grep -i " videorate " > /dev/null; then
25189   USE_PLUGIN_VIDEORATE_TRUE=
25190   USE_PLUGIN_VIDEORATE_FALSE='#'
25191 else
25192   USE_PLUGIN_VIDEORATE_TRUE='#'
25193   USE_PLUGIN_VIDEORATE_FALSE=
25194 fi
25195
25196
25197
25198   GST_PLUGINS_ALL="$GST_PLUGINS_ALL videoscale"
25199
25200
25201
25202   # Check whether --enable-videoscale was given.
25203 if test "${enable_videoscale+set}" = set; then :
25204   enableval=$enable_videoscale;
25205       case "${enableval}" in
25206         yes) gst_use_videoscale=yes ;;
25207         no) gst_use_videoscale=no ;;
25208         *) as_fn_error $? "bad value ${enableval} for --enable-videoscale" "$LINENO" 5  ;;
25209        esac
25210
25211 else
25212   gst_use_videoscale=yes
25213 fi
25214
25215   if test x$gst_use_videoscale = xno; then
25216     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin videoscale" >&5
25217 $as_echo "$as_me: disabling dependency-less plugin videoscale" >&6;}
25218     WITHOUT_PLUGINS="$WITHOUT_PLUGINS videoscale"
25219   fi
25220
25221
25222   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " videoscale " > /dev/null; then
25223     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED videoscale"
25224   fi
25225   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " videoscale " > /dev/null; then
25226     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ videoscale / /'`
25227   fi
25228    if echo " $GST_PLUGINS_SELECTED " | grep -i " videoscale " > /dev/null; then
25229   USE_PLUGIN_VIDEOSCALE_TRUE=
25230   USE_PLUGIN_VIDEOSCALE_FALSE='#'
25231 else
25232   USE_PLUGIN_VIDEOSCALE_TRUE='#'
25233   USE_PLUGIN_VIDEOSCALE_FALSE=
25234 fi
25235
25236
25237
25238   GST_PLUGINS_ALL="$GST_PLUGINS_ALL volume"
25239
25240
25241
25242   # Check whether --enable-volume was given.
25243 if test "${enable_volume+set}" = set; then :
25244   enableval=$enable_volume;
25245       case "${enableval}" in
25246         yes) gst_use_volume=yes ;;
25247         no) gst_use_volume=no ;;
25248         *) as_fn_error $? "bad value ${enableval} for --enable-volume" "$LINENO" 5  ;;
25249        esac
25250
25251 else
25252   gst_use_volume=yes
25253 fi
25254
25255   if test x$gst_use_volume = xno; then
25256     { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin volume" >&5
25257 $as_echo "$as_me: disabling dependency-less plugin volume" >&6;}
25258     WITHOUT_PLUGINS="$WITHOUT_PLUGINS volume"
25259   fi
25260
25261
25262   if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " volume " > /dev/null; then
25263     GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED volume"
25264   fi
25265   if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " volume " > /dev/null; then
25266     GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ volume / /'`
25267   fi
25268    if echo " $GST_PLUGINS_SELECTED " | grep -i " volume " > /dev/null; then
25269   USE_PLUGIN_VOLUME_TRUE=
25270   USE_PLUGIN_VOLUME_FALSE='#'
25271 else
25272   USE_PLUGIN_VOLUME_TRUE='#'
25273   USE_PLUGIN_VOLUME_FALSE=
25274 fi
25275
25276
25277
25278 GST_CONFIGPATH=`$PKG_CONFIG --variable=includedir gstreamer-0.10`"/gst/gstconfig.h"
25279
25280
25281   grep >/dev/null "#undef GST_DISABLE_GST_DEBUG" $GST_CONFIGPATH
25282   if test $? = 0; then
25283     GST_DISABLE_GST_DEBUG=0
25284   else
25285     GST_DISABLE_GST_DEBUG=1
25286   fi
25287
25288
25289
25290   grep >/dev/null "#undef GST_DISABLE_LOADSAVE" $GST_CONFIGPATH
25291   if test $? = 0; then
25292     GST_DISABLE_LOADSAVE=0
25293   else
25294     GST_DISABLE_LOADSAVE=1
25295   fi
25296
25297
25298
25299   grep >/dev/null "#undef GST_DISABLE_PARSE" $GST_CONFIGPATH
25300   if test $? = 0; then
25301     GST_DISABLE_PARSE=0
25302   else
25303     GST_DISABLE_PARSE=1
25304   fi
25305
25306
25307
25308   grep >/dev/null "#undef GST_DISABLE_TRACE" $GST_CONFIGPATH
25309   if test $? = 0; then
25310     GST_DISABLE_TRACE=0
25311   else
25312     GST_DISABLE_TRACE=1
25313   fi
25314
25315
25316
25317   grep >/dev/null "#undef GST_DISABLE_ALLOC_TRACE" $GST_CONFIGPATH
25318   if test $? = 0; then
25319     GST_DISABLE_ALLOC_TRACE=0
25320   else
25321     GST_DISABLE_ALLOC_TRACE=1
25322   fi
25323
25324
25325
25326   grep >/dev/null "#undef GST_DISABLE_REGISTRY" $GST_CONFIGPATH
25327   if test $? = 0; then
25328     GST_DISABLE_REGISTRY=0
25329   else
25330     GST_DISABLE_REGISTRY=1
25331   fi
25332
25333
25334
25335   grep >/dev/null "#undef GST_DISABLE_PLUGIN" $GST_CONFIGPATH
25336   if test $? = 0; then
25337     GST_DISABLE_PLUGIN=0
25338   else
25339     GST_DISABLE_PLUGIN=1
25340   fi
25341
25342
25343
25344   grep >/dev/null "#undef GST_DISABLE_XML" $GST_CONFIGPATH
25345   if test $? = 0; then
25346     GST_DISABLE_XML=0
25347   else
25348     GST_DISABLE_XML=1
25349   fi
25350
25351
25352
25353  if test $GST_DISABLE_XML != "1"; then
25354   USE_XML_TRUE=
25355   USE_XML_FALSE='#'
25356 else
25357   USE_XML_TRUE='#'
25358   USE_XML_FALSE=
25359 fi
25360
25361
25362 if test "x$HAVE_LIBXML_HTML" != "xyes"; then
25363
25364   GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ subparse / /'`
25365    if false; then
25366   USE_PLUGIN_SUBPARSE_TRUE=
25367   USE_PLUGIN_SUBPARSE_FALSE='#'
25368 else
25369   USE_PLUGIN_SUBPARSE_TRUE='#'
25370   USE_PLUGIN_SUBPARSE_FALSE=
25371 fi
25372
25373
25374 fi
25375
25376 if test "x$HAVE_SYS_SOCKET_H" != "xyes"; then
25377
25378   GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ tcp / /'`
25379    if false; then
25380   USE_PLUGIN_TCP_TRUE=
25381   USE_PLUGIN_TCP_FALSE='#'
25382 else
25383   USE_PLUGIN_TCP_TRUE='#'
25384   USE_PLUGIN_TCP_FALSE=
25385 fi
25386
25387
25388 fi
25389
25390 # Check whether --enable-iso-codes was given.
25391 if test "${enable_iso_codes+set}" = set; then :
25392   enableval=$enable_iso_codes; case "${enableval}" in
25393   yes) enable_iso_codes=yes ;;
25394   no)  enable_iso_codes=no ;;
25395   *) as_fn_error $? "bad value ${enableval} for --enable-iso-codes" "$LINENO" 5  ;;
25396 esac
25397
25398 else
25399   enable_iso_codes=yes
25400 fi
25401
25402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use iso-codes if they are available" >&5
25403 $as_echo_n "checking whether to use iso-codes if they are available... " >&6; }
25404 if test "x$enable_iso_codes" = "xyes"; then
25405   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25406 $as_echo "yes" >&6; }
25407   have_iso_codes=no
25408   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether iso-codes are available on this system" >&5
25409 $as_echo_n "checking whether iso-codes are available on this system... " >&6; }
25410   if $PKG_CONFIG iso-codes; then
25411     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25412 $as_echo "yes" >&6; }
25413     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether iso-codes has iso-639 domain" >&5
25414 $as_echo_n "checking whether iso-codes has iso-639 domain... " >&6; }
25415     if $PKG_CONFIG --variable=domains iso-codes | $GREP -q 639 ; then
25416       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25417 $as_echo "yes" >&6; }
25418       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iso-codes prefix" >&5
25419 $as_echo_n "checking for iso-codes prefix... " >&6; }
25420       ISO_CODES_PREFIX=`$PKG_CONFIG --variable=prefix iso-codes`
25421       if test -d "$ISO_CODES_PREFIX"; then
25422         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25423 $as_echo "yes" >&6; }
25424         { $as_echo "$as_me:${as_lineno-$LINENO}: checking ISO_CODES_PREFIX" >&5
25425 $as_echo_n "checking ISO_CODES_PREFIX... " >&6; }
25426         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ISO_CODES_PREFIX" >&5
25427 $as_echo "$ISO_CODES_PREFIX" >&6; }
25428         ISO_639_DOMAIN="iso_639"
25429         { $as_echo "$as_me:${as_lineno-$LINENO}: checking ISO_639_DOMAIN" >&5
25430 $as_echo_n "checking ISO_639_DOMAIN... " >&6; }
25431         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ISO_639_DOMAIN" >&5
25432 $as_echo "$ISO_639_DOMAIN" >&6; }
25433         have_iso_codes=yes
25434
25435 $as_echo "#define HAVE_ISO_CODES 1" >>confdefs.h
25436
25437
25438 cat >>confdefs.h <<_ACEOF
25439 #define ISO_CODES_PREFIX "$ISO_CODES_PREFIX"
25440 _ACEOF
25441
25442         ISO_CODES_VERSION=`$PKG_CONFIG --modversion iso-codes`
25443
25444 cat >>confdefs.h <<_ACEOF
25445 #define ISO_CODES_VERSION "$ISO_CODES_VERSION"
25446 _ACEOF
25447
25448       else
25449         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25450 $as_echo "no" >&6; }
25451       fi
25452     else
25453       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25454 $as_echo "no" >&6; }
25455     fi
25456   else
25457     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25458 $as_echo "no" >&6; }
25459   fi
25460    if test "x$have_iso_codes" = "xyes"; then
25461   USE_ISO_CODES_TRUE=
25462   USE_ISO_CODES_FALSE='#'
25463 else
25464   USE_ISO_CODES_TRUE='#'
25465   USE_ISO_CODES_FALSE=
25466 fi
25467
25468 else
25469   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (disabled via --disable-iso-codes)" >&5
25470 $as_echo "no (disabled via --disable-iso-codes)" >&6; }
25471    if false; then
25472   USE_ISO_CODES_TRUE=
25473   USE_ISO_CODES_FALSE='#'
25474 else
25475   USE_ISO_CODES_TRUE='#'
25476   USE_ISO_CODES_FALSE=
25477 fi
25478
25479 fi
25480
25481
25482 echo
25483 { $as_echo "$as_me:${as_lineno-$LINENO}: Checking libraries for plugins in sys/" >&5
25484 $as_echo "$as_me: Checking libraries for plugins in sys/" >&6;}
25485 echo
25486
25487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
25488 $as_echo_n "checking for X... " >&6; }
25489
25490
25491 # Check whether --with-x was given.
25492 if test "${with_x+set}" = set; then :
25493   withval=$with_x;
25494 fi
25495
25496 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
25497 if test "x$with_x" = xno; then
25498   # The user explicitly disabled X.
25499   have_x=disabled
25500 else
25501   case $x_includes,$x_libraries in #(
25502     *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5 ;; #(
25503     *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
25504   $as_echo_n "(cached) " >&6
25505 else
25506   # One or both of the vars are not set, and there is no cached value.
25507 ac_x_includes=no ac_x_libraries=no
25508 rm -f -r conftest.dir
25509 if mkdir conftest.dir; then
25510   cd conftest.dir
25511   cat >Imakefile <<'_ACEOF'
25512 incroot:
25513         @echo incroot='${INCROOT}'
25514 usrlibdir:
25515         @echo usrlibdir='${USRLIBDIR}'
25516 libdir:
25517         @echo libdir='${LIBDIR}'
25518 _ACEOF
25519   if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
25520     # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
25521     for ac_var in incroot usrlibdir libdir; do
25522       eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
25523     done
25524     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
25525     for ac_extension in a so sl dylib la dll; do
25526       if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
25527          test -f "$ac_im_libdir/libX11.$ac_extension"; then
25528         ac_im_usrlibdir=$ac_im_libdir; break
25529       fi
25530     done
25531     # Screen out bogus values from the imake configuration.  They are
25532     # bogus both because they are the default anyway, and because
25533     # using them would break gcc on systems where it needs fixed includes.
25534     case $ac_im_incroot in
25535         /usr/include) ac_x_includes= ;;
25536         *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
25537     esac
25538     case $ac_im_usrlibdir in
25539         /usr/lib | /usr/lib64 | /lib | /lib64) ;;
25540         *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
25541     esac
25542   fi
25543   cd ..
25544   rm -f -r conftest.dir
25545 fi
25546
25547 # Standard set of common directories for X headers.
25548 # Check X11 before X11Rn because it is often a symlink to the current release.
25549 ac_x_header_dirs='
25550 /usr/X11/include
25551 /usr/X11R7/include
25552 /usr/X11R6/include
25553 /usr/X11R5/include
25554 /usr/X11R4/include
25555
25556 /usr/include/X11
25557 /usr/include/X11R7
25558 /usr/include/X11R6
25559 /usr/include/X11R5
25560 /usr/include/X11R4
25561
25562 /usr/local/X11/include
25563 /usr/local/X11R7/include
25564 /usr/local/X11R6/include
25565 /usr/local/X11R5/include
25566 /usr/local/X11R4/include
25567
25568 /usr/local/include/X11
25569 /usr/local/include/X11R7
25570 /usr/local/include/X11R6
25571 /usr/local/include/X11R5
25572 /usr/local/include/X11R4
25573
25574 /usr/X386/include
25575 /usr/x386/include
25576 /usr/XFree86/include/X11
25577
25578 /usr/include
25579 /usr/local/include
25580 /usr/unsupported/include
25581 /usr/athena/include
25582 /usr/local/x11r5/include
25583 /usr/lpp/Xamples/include
25584
25585 /usr/openwin/include
25586 /usr/openwin/share/include'
25587
25588 if test "$ac_x_includes" = no; then
25589   # Guess where to find include files, by looking for Xlib.h.
25590   # First, try using that file with no special directory specified.
25591   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25592 /* end confdefs.h.  */
25593 #include <X11/Xlib.h>
25594 _ACEOF
25595 if ac_fn_c_try_cpp "$LINENO"; then :
25596   # We can compile using X headers with no special include directory.
25597 ac_x_includes=
25598 else
25599   for ac_dir in $ac_x_header_dirs; do
25600   if test -r "$ac_dir/X11/Xlib.h"; then
25601     ac_x_includes=$ac_dir
25602     break
25603   fi
25604 done
25605 fi
25606 rm -f conftest.err conftest.i conftest.$ac_ext
25607 fi # $ac_x_includes = no
25608
25609 if test "$ac_x_libraries" = no; then
25610   # Check for the libraries.
25611   # See if we find them without any special options.
25612   # Don't add to $LIBS permanently.
25613   ac_save_LIBS=$LIBS
25614   LIBS="-lX11 $LIBS"
25615   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25616 /* end confdefs.h.  */
25617 #include <X11/Xlib.h>
25618 int
25619 main ()
25620 {
25621 XrmInitialize ()
25622   ;
25623   return 0;
25624 }
25625 _ACEOF
25626 if ac_fn_c_try_link "$LINENO"; then :
25627   LIBS=$ac_save_LIBS
25628 # We can link X programs with no special library path.
25629 ac_x_libraries=
25630 else
25631   LIBS=$ac_save_LIBS
25632 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
25633 do
25634   # Don't even attempt the hair of trying to link an X program!
25635   for ac_extension in a so sl dylib la dll; do
25636     if test -r "$ac_dir/libX11.$ac_extension"; then
25637       ac_x_libraries=$ac_dir
25638       break 2
25639     fi
25640   done
25641 done
25642 fi
25643 rm -f core conftest.err conftest.$ac_objext \
25644     conftest$ac_exeext conftest.$ac_ext
25645 fi # $ac_x_libraries = no
25646
25647 case $ac_x_includes,$ac_x_libraries in #(
25648   no,* | *,no | *\'*)
25649     # Didn't find X, or a directory has "'" in its name.
25650     ac_cv_have_x="have_x=no";; #(
25651   *)
25652     # Record where we found X for the cache.
25653     ac_cv_have_x="have_x=yes\
25654         ac_x_includes='$ac_x_includes'\
25655         ac_x_libraries='$ac_x_libraries'"
25656 esac
25657 fi
25658 ;; #(
25659     *) have_x=yes;;
25660   esac
25661   eval "$ac_cv_have_x"
25662 fi # $with_x != no
25663
25664 if test "$have_x" != yes; then
25665   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
25666 $as_echo "$have_x" >&6; }
25667   no_x=yes
25668 else
25669   # If each of the values was on the command line, it overrides each guess.
25670   test "x$x_includes" = xNONE && x_includes=$ac_x_includes
25671   test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
25672   # Update the cache value to reflect the command line values.
25673   ac_cv_have_x="have_x=yes\
25674         ac_x_includes='$x_includes'\
25675         ac_x_libraries='$x_libraries'"
25676   { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
25677 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
25678 fi
25679
25680 echo
25681 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: X libraries and plugins ***" >&5
25682 $as_echo "$as_me: *** checking feature: X libraries and plugins ***" >&6;}
25683 if test "xximagesink" != "x"
25684 then
25685   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: ximagesink ***" >&5
25686 $as_echo "$as_me: *** for plug-ins: ximagesink ***" >&6;}
25687 fi
25688 NOUSE=
25689 if test "x$USE_X" = "xno"; then
25690   NOUSE="yes"
25691 fi
25692 # Check whether --enable-x was given.
25693 if test "${enable_x+set}" = set; then :
25694   enableval=$enable_x;  case "${enableval}" in
25695       yes) USE_X=yes;;
25696       no) USE_X=no;;
25697       *) as_fn_error $? "bad value ${enableval} for --enable-x" "$LINENO" 5  ;;
25698     esac
25699 else
25700    USE_X=yes
25701 fi
25702
25703 if test "x$NOUSE" = "xyes"; then
25704   USE_X="no"
25705   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** ximagesink pre-configured not to be built" >&5
25706 $as_echo "$as_me: WARNING: *** ximagesink pre-configured not to be built" >&2;}
25707 fi
25708 NOUSE=
25709
25710
25711 if test x$USE_X = xyes; then
25712
25713   gst_check_save_LIBS=$LIBS
25714   gst_check_save_LDFLAGS=$LDFLAGS
25715   gst_check_save_CFLAGS=$CFLAGS
25716   gst_check_save_CPPFLAGS=$CPPFLAGS
25717   gst_check_save_CXXFLAGS=$CXXFLAGS
25718
25719   HAVE_X=no
25720
25721   if test "$no_x" = yes; then
25722   # Not all programs may use this symbol, but it does not hurt to define it.
25723
25724 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
25725
25726   X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
25727 else
25728   if test -n "$x_includes"; then
25729     X_CFLAGS="$X_CFLAGS -I$x_includes"
25730   fi
25731
25732   # It would also be nice to do this for all -L options, not just this one.
25733   if test -n "$x_libraries"; then
25734     X_LIBS="$X_LIBS -L$x_libraries"
25735     # For Solaris; some versions of Sun CC require a space after -R and
25736     # others require no space.  Words are not sufficient . . . .
25737     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
25738 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
25739     ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
25740     ac_xsave_c_werror_flag=$ac_c_werror_flag
25741     ac_c_werror_flag=yes
25742     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25743 /* end confdefs.h.  */
25744
25745 int
25746 main ()
25747 {
25748
25749   ;
25750   return 0;
25751 }
25752 _ACEOF
25753 if ac_fn_c_try_link "$LINENO"; then :
25754   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25755 $as_echo "no" >&6; }
25756        X_LIBS="$X_LIBS -R$x_libraries"
25757 else
25758   LIBS="$ac_xsave_LIBS -R $x_libraries"
25759        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25760 /* end confdefs.h.  */
25761
25762 int
25763 main ()
25764 {
25765
25766   ;
25767   return 0;
25768 }
25769 _ACEOF
25770 if ac_fn_c_try_link "$LINENO"; then :
25771   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25772 $as_echo "yes" >&6; }
25773           X_LIBS="$X_LIBS -R $x_libraries"
25774 else
25775   { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
25776 $as_echo "neither works" >&6; }
25777 fi
25778 rm -f core conftest.err conftest.$ac_objext \
25779     conftest$ac_exeext conftest.$ac_ext
25780 fi
25781 rm -f core conftest.err conftest.$ac_objext \
25782     conftest$ac_exeext conftest.$ac_ext
25783     ac_c_werror_flag=$ac_xsave_c_werror_flag
25784     LIBS=$ac_xsave_LIBS
25785   fi
25786
25787   # Check for system-dependent libraries X programs must link with.
25788   # Do this before checking for the system-independent R6 libraries
25789   # (-lICE), since we may need -lsocket or whatever for X linking.
25790
25791   if test "$ISC" = yes; then
25792     X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
25793   else
25794     # Martyn Johnson says this is needed for Ultrix, if the X
25795     # libraries were built with DECnet support.  And Karl Berry says
25796     # the Alpha needs dnet_stub (dnet does not exist).
25797     ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
25798     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25799 /* end confdefs.h.  */
25800
25801 /* Override any GCC internal prototype to avoid an error.
25802    Use char because int might match the return type of a GCC
25803    builtin and then its argument prototype would still apply.  */
25804 #ifdef __cplusplus
25805 extern "C"
25806 #endif
25807 char XOpenDisplay ();
25808 int
25809 main ()
25810 {
25811 return XOpenDisplay ();
25812   ;
25813   return 0;
25814 }
25815 _ACEOF
25816 if ac_fn_c_try_link "$LINENO"; then :
25817
25818 else
25819   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
25820 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
25821 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
25822   $as_echo_n "(cached) " >&6
25823 else
25824   ac_check_lib_save_LIBS=$LIBS
25825 LIBS="-ldnet  $LIBS"
25826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25827 /* end confdefs.h.  */
25828
25829 /* Override any GCC internal prototype to avoid an error.
25830    Use char because int might match the return type of a GCC
25831    builtin and then its argument prototype would still apply.  */
25832 #ifdef __cplusplus
25833 extern "C"
25834 #endif
25835 char dnet_ntoa ();
25836 int
25837 main ()
25838 {
25839 return dnet_ntoa ();
25840   ;
25841   return 0;
25842 }
25843 _ACEOF
25844 if ac_fn_c_try_link "$LINENO"; then :
25845   ac_cv_lib_dnet_dnet_ntoa=yes
25846 else
25847   ac_cv_lib_dnet_dnet_ntoa=no
25848 fi
25849 rm -f core conftest.err conftest.$ac_objext \
25850     conftest$ac_exeext conftest.$ac_ext
25851 LIBS=$ac_check_lib_save_LIBS
25852 fi
25853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
25854 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
25855 if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then :
25856   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
25857 fi
25858
25859     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
25860       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
25861 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
25862 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
25863   $as_echo_n "(cached) " >&6
25864 else
25865   ac_check_lib_save_LIBS=$LIBS
25866 LIBS="-ldnet_stub  $LIBS"
25867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25868 /* end confdefs.h.  */
25869
25870 /* Override any GCC internal prototype to avoid an error.
25871    Use char because int might match the return type of a GCC
25872    builtin and then its argument prototype would still apply.  */
25873 #ifdef __cplusplus
25874 extern "C"
25875 #endif
25876 char dnet_ntoa ();
25877 int
25878 main ()
25879 {
25880 return dnet_ntoa ();
25881   ;
25882   return 0;
25883 }
25884 _ACEOF
25885 if ac_fn_c_try_link "$LINENO"; then :
25886   ac_cv_lib_dnet_stub_dnet_ntoa=yes
25887 else
25888   ac_cv_lib_dnet_stub_dnet_ntoa=no
25889 fi
25890 rm -f core conftest.err conftest.$ac_objext \
25891     conftest$ac_exeext conftest.$ac_ext
25892 LIBS=$ac_check_lib_save_LIBS
25893 fi
25894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
25895 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
25896 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then :
25897   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
25898 fi
25899
25900     fi
25901 fi
25902 rm -f core conftest.err conftest.$ac_objext \
25903     conftest$ac_exeext conftest.$ac_ext
25904     LIBS="$ac_xsave_LIBS"
25905
25906     # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
25907     # to get the SysV transport functions.
25908     # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
25909     # needs -lnsl.
25910     # The nsl library prevents programs from opening the X display
25911     # on Irix 5.2, according to T.E. Dickey.
25912     # The functions gethostbyname, getservbyname, and inet_addr are
25913     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
25914     ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
25915 if test "x$ac_cv_func_gethostbyname" = x""yes; then :
25916
25917 fi
25918
25919     if test $ac_cv_func_gethostbyname = no; then
25920       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
25921 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
25922 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
25923   $as_echo_n "(cached) " >&6
25924 else
25925   ac_check_lib_save_LIBS=$LIBS
25926 LIBS="-lnsl  $LIBS"
25927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25928 /* end confdefs.h.  */
25929
25930 /* Override any GCC internal prototype to avoid an error.
25931    Use char because int might match the return type of a GCC
25932    builtin and then its argument prototype would still apply.  */
25933 #ifdef __cplusplus
25934 extern "C"
25935 #endif
25936 char gethostbyname ();
25937 int
25938 main ()
25939 {
25940 return gethostbyname ();
25941   ;
25942   return 0;
25943 }
25944 _ACEOF
25945 if ac_fn_c_try_link "$LINENO"; then :
25946   ac_cv_lib_nsl_gethostbyname=yes
25947 else
25948   ac_cv_lib_nsl_gethostbyname=no
25949 fi
25950 rm -f core conftest.err conftest.$ac_objext \
25951     conftest$ac_exeext conftest.$ac_ext
25952 LIBS=$ac_check_lib_save_LIBS
25953 fi
25954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
25955 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
25956 if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
25957   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
25958 fi
25959
25960       if test $ac_cv_lib_nsl_gethostbyname = no; then
25961         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
25962 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
25963 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
25964   $as_echo_n "(cached) " >&6
25965 else
25966   ac_check_lib_save_LIBS=$LIBS
25967 LIBS="-lbsd  $LIBS"
25968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25969 /* end confdefs.h.  */
25970
25971 /* Override any GCC internal prototype to avoid an error.
25972    Use char because int might match the return type of a GCC
25973    builtin and then its argument prototype would still apply.  */
25974 #ifdef __cplusplus
25975 extern "C"
25976 #endif
25977 char gethostbyname ();
25978 int
25979 main ()
25980 {
25981 return gethostbyname ();
25982   ;
25983   return 0;
25984 }
25985 _ACEOF
25986 if ac_fn_c_try_link "$LINENO"; then :
25987   ac_cv_lib_bsd_gethostbyname=yes
25988 else
25989   ac_cv_lib_bsd_gethostbyname=no
25990 fi
25991 rm -f core conftest.err conftest.$ac_objext \
25992     conftest$ac_exeext conftest.$ac_ext
25993 LIBS=$ac_check_lib_save_LIBS
25994 fi
25995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
25996 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
25997 if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then :
25998   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
25999 fi
26000
26001       fi
26002     fi
26003
26004     # lieder@skyler.mavd.honeywell.com says without -lsocket,
26005     # socket/setsockopt and other routines are undefined under SCO ODT
26006     # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
26007     # on later versions), says Simon Leinen: it contains gethostby*
26008     # variants that don't use the name server (or something).  -lsocket
26009     # must be given before -lnsl if both are needed.  We assume that
26010     # if connect needs -lnsl, so does gethostbyname.
26011     ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
26012 if test "x$ac_cv_func_connect" = x""yes; then :
26013
26014 fi
26015
26016     if test $ac_cv_func_connect = no; then
26017       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
26018 $as_echo_n "checking for connect in -lsocket... " >&6; }
26019 if test "${ac_cv_lib_socket_connect+set}" = set; then :
26020   $as_echo_n "(cached) " >&6
26021 else
26022   ac_check_lib_save_LIBS=$LIBS
26023 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
26024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26025 /* end confdefs.h.  */
26026
26027 /* Override any GCC internal prototype to avoid an error.
26028    Use char because int might match the return type of a GCC
26029    builtin and then its argument prototype would still apply.  */
26030 #ifdef __cplusplus
26031 extern "C"
26032 #endif
26033 char connect ();
26034 int
26035 main ()
26036 {
26037 return connect ();
26038   ;
26039   return 0;
26040 }
26041 _ACEOF
26042 if ac_fn_c_try_link "$LINENO"; then :
26043   ac_cv_lib_socket_connect=yes
26044 else
26045   ac_cv_lib_socket_connect=no
26046 fi
26047 rm -f core conftest.err conftest.$ac_objext \
26048     conftest$ac_exeext conftest.$ac_ext
26049 LIBS=$ac_check_lib_save_LIBS
26050 fi
26051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
26052 $as_echo "$ac_cv_lib_socket_connect" >&6; }
26053 if test "x$ac_cv_lib_socket_connect" = x""yes; then :
26054   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
26055 fi
26056
26057     fi
26058
26059     # Guillermo Gomez says -lposix is necessary on A/UX.
26060     ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
26061 if test "x$ac_cv_func_remove" = x""yes; then :
26062
26063 fi
26064
26065     if test $ac_cv_func_remove = no; then
26066       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
26067 $as_echo_n "checking for remove in -lposix... " >&6; }
26068 if test "${ac_cv_lib_posix_remove+set}" = set; then :
26069   $as_echo_n "(cached) " >&6
26070 else
26071   ac_check_lib_save_LIBS=$LIBS
26072 LIBS="-lposix  $LIBS"
26073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26074 /* end confdefs.h.  */
26075
26076 /* Override any GCC internal prototype to avoid an error.
26077    Use char because int might match the return type of a GCC
26078    builtin and then its argument prototype would still apply.  */
26079 #ifdef __cplusplus
26080 extern "C"
26081 #endif
26082 char remove ();
26083 int
26084 main ()
26085 {
26086 return remove ();
26087   ;
26088   return 0;
26089 }
26090 _ACEOF
26091 if ac_fn_c_try_link "$LINENO"; then :
26092   ac_cv_lib_posix_remove=yes
26093 else
26094   ac_cv_lib_posix_remove=no
26095 fi
26096 rm -f core conftest.err conftest.$ac_objext \
26097     conftest$ac_exeext conftest.$ac_ext
26098 LIBS=$ac_check_lib_save_LIBS
26099 fi
26100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
26101 $as_echo "$ac_cv_lib_posix_remove" >&6; }
26102 if test "x$ac_cv_lib_posix_remove" = x""yes; then :
26103   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
26104 fi
26105
26106     fi
26107
26108     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
26109     ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
26110 if test "x$ac_cv_func_shmat" = x""yes; then :
26111
26112 fi
26113
26114     if test $ac_cv_func_shmat = no; then
26115       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
26116 $as_echo_n "checking for shmat in -lipc... " >&6; }
26117 if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
26118   $as_echo_n "(cached) " >&6
26119 else
26120   ac_check_lib_save_LIBS=$LIBS
26121 LIBS="-lipc  $LIBS"
26122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26123 /* end confdefs.h.  */
26124
26125 /* Override any GCC internal prototype to avoid an error.
26126    Use char because int might match the return type of a GCC
26127    builtin and then its argument prototype would still apply.  */
26128 #ifdef __cplusplus
26129 extern "C"
26130 #endif
26131 char shmat ();
26132 int
26133 main ()
26134 {
26135 return shmat ();
26136   ;
26137   return 0;
26138 }
26139 _ACEOF
26140 if ac_fn_c_try_link "$LINENO"; then :
26141   ac_cv_lib_ipc_shmat=yes
26142 else
26143   ac_cv_lib_ipc_shmat=no
26144 fi
26145 rm -f core conftest.err conftest.$ac_objext \
26146     conftest$ac_exeext conftest.$ac_ext
26147 LIBS=$ac_check_lib_save_LIBS
26148 fi
26149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
26150 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
26151 if test "x$ac_cv_lib_ipc_shmat" = x""yes; then :
26152   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
26153 fi
26154
26155     fi
26156   fi
26157
26158   # Check for libraries that X11R6 Xt/Xaw programs need.
26159   ac_save_LDFLAGS=$LDFLAGS
26160   test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
26161   # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
26162   # check for ICE first), but we must link in the order -lSM -lICE or
26163   # we get undefined symbols.  So assume we have SM if we have ICE.
26164   # These have to be linked with before -lX11, unlike the other
26165   # libraries we check for below, so use a different variable.
26166   # John Interrante, Karl Berry
26167   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
26168 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
26169 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
26170   $as_echo_n "(cached) " >&6
26171 else
26172   ac_check_lib_save_LIBS=$LIBS
26173 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
26174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26175 /* end confdefs.h.  */
26176
26177 /* Override any GCC internal prototype to avoid an error.
26178    Use char because int might match the return type of a GCC
26179    builtin and then its argument prototype would still apply.  */
26180 #ifdef __cplusplus
26181 extern "C"
26182 #endif
26183 char IceConnectionNumber ();
26184 int
26185 main ()
26186 {
26187 return IceConnectionNumber ();
26188   ;
26189   return 0;
26190 }
26191 _ACEOF
26192 if ac_fn_c_try_link "$LINENO"; then :
26193   ac_cv_lib_ICE_IceConnectionNumber=yes
26194 else
26195   ac_cv_lib_ICE_IceConnectionNumber=no
26196 fi
26197 rm -f core conftest.err conftest.$ac_objext \
26198     conftest$ac_exeext conftest.$ac_ext
26199 LIBS=$ac_check_lib_save_LIBS
26200 fi
26201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
26202 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
26203 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then :
26204   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
26205 fi
26206
26207   LDFLAGS=$ac_save_LDFLAGS
26208
26209 fi
26210
26211   ac_cflags_save="$CFLAGS"
26212   ac_cppflags_save="$CPPFLAGS"
26213   CFLAGS="$CFLAGS $X_CFLAGS"
26214   CPPFLAGS="$CPPFLAGS $X_CFLAGS"
26215
26216     ac_fn_c_check_header_mongrel "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "$ac_includes_default"
26217 if test "x$ac_cv_header_X11_Xlib_h" = x""yes; then :
26218   HAVE_X="yes"
26219 else
26220   HAVE_X="no"
26221 fi
26222
26223
26224
26225   if test "x$HAVE_X" = "xno"
26226   then
26227     { $as_echo "$as_me:${as_lineno-$LINENO}: cannot find X11 development files" >&5
26228 $as_echo "$as_me: cannot find X11 development files" >&6;}
26229   else
26230         X_LIBS="$X_LIBS $X_PRE_LIBS $X_EXTRA_LIBS"
26231             X_LIBS="$X_LIBS -lX11"
26232
26233
26234   fi
26235
26236   CFLAGS="$ac_cflags_save"
26237   CPPFLAGS="$ac_cppflags_save"
26238
26239
26240   LIBS=$gst_check_save_LIBS
26241   LDFLAGS=$gst_check_save_LDFLAGS
26242   CFLAGS=$gst_check_save_CFLAGS
26243   CPPFLAGS=$gst_check_save_CPPFLAGS
26244   CXXFLAGS=$gst_check_save_CXXFLAGS
26245
26246     if test x$HAVE_X = xno; then
26247     USE_X=no
26248   else
26249     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: ximagesink" >&5
26250 $as_echo "$as_me: *** These plugins will be built: ximagesink" >&6;}
26251   fi
26252 fi
26253 if test x$USE_X = xyes; then
26254   :
26255   if test "xximagesink" != "x"; then
26256     GST_PLUGINS_YES="\tximagesink\n$GST_PLUGINS_YES"
26257   fi
26258
26259 $as_echo "#define HAVE_X /**/" >>confdefs.h
26260
26261 else
26262   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: ximagesink" >&5
26263 $as_echo "$as_me: *** These plugins will not be built: ximagesink" >&6;}
26264   if test "xximagesink" != "x"; then
26265     GST_PLUGINS_NO="\tximagesink\n$GST_PLUGINS_NO"
26266   fi
26267   :
26268 fi
26269  if test x$USE_X = xyes; then
26270   USE_X_TRUE=
26271   USE_X_FALSE='#'
26272 else
26273   USE_X_TRUE='#'
26274   USE_X_FALSE=
26275 fi
26276
26277
26278
26279 echo
26280 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: X11 XVideo extensions ***" >&5
26281 $as_echo "$as_me: *** checking feature: X11 XVideo extensions ***" >&6;}
26282 if test "xxvimagesink" != "x"
26283 then
26284   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: xvimagesink ***" >&5
26285 $as_echo "$as_me: *** for plug-ins: xvimagesink ***" >&6;}
26286 fi
26287 NOUSE=
26288 if test "x$USE_XVIDEO" = "xno"; then
26289   NOUSE="yes"
26290 fi
26291 # Check whether --enable-xvideo was given.
26292 if test "${enable_xvideo+set}" = set; then :
26293   enableval=$enable_xvideo;  case "${enableval}" in
26294       yes) USE_XVIDEO=yes;;
26295       no) USE_XVIDEO=no;;
26296       *) as_fn_error $? "bad value ${enableval} for --enable-xvideo" "$LINENO" 5  ;;
26297     esac
26298 else
26299    USE_XVIDEO=yes
26300 fi
26301
26302 if test "x$NOUSE" = "xyes"; then
26303   USE_XVIDEO="no"
26304   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** xvimagesink pre-configured not to be built" >&5
26305 $as_echo "$as_me: WARNING: *** xvimagesink pre-configured not to be built" >&2;}
26306 fi
26307 NOUSE=
26308
26309
26310 if test x$USE_XVIDEO = xyes; then
26311
26312   gst_check_save_LIBS=$LIBS
26313   gst_check_save_LDFLAGS=$LDFLAGS
26314   gst_check_save_CFLAGS=$CFLAGS
26315   gst_check_save_CPPFLAGS=$CPPFLAGS
26316   gst_check_save_CXXFLAGS=$CXXFLAGS
26317
26318   HAVE_XVIDEO=no
26319
26320
26321   if test x$HAVE_X = xyes; then
26322     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XvQueryExtension in -lXv_pic" >&5
26323 $as_echo_n "checking for XvQueryExtension in -lXv_pic... " >&6; }
26324 if test "${ac_cv_lib_Xv_pic_XvQueryExtension+set}" = set; then :
26325   $as_echo_n "(cached) " >&6
26326 else
26327   ac_check_lib_save_LIBS=$LIBS
26328 LIBS="-lXv_pic $X_LIBS -lXext $LIBS"
26329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26330 /* end confdefs.h.  */
26331
26332 /* Override any GCC internal prototype to avoid an error.
26333    Use char because int might match the return type of a GCC
26334    builtin and then its argument prototype would still apply.  */
26335 #ifdef __cplusplus
26336 extern "C"
26337 #endif
26338 char XvQueryExtension ();
26339 int
26340 main ()
26341 {
26342 return XvQueryExtension ();
26343   ;
26344   return 0;
26345 }
26346 _ACEOF
26347 if ac_fn_c_try_link "$LINENO"; then :
26348   ac_cv_lib_Xv_pic_XvQueryExtension=yes
26349 else
26350   ac_cv_lib_Xv_pic_XvQueryExtension=no
26351 fi
26352 rm -f core conftest.err conftest.$ac_objext \
26353     conftest$ac_exeext conftest.$ac_ext
26354 LIBS=$ac_check_lib_save_LIBS
26355 fi
26356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xv_pic_XvQueryExtension" >&5
26357 $as_echo "$ac_cv_lib_Xv_pic_XvQueryExtension" >&6; }
26358 if test "x$ac_cv_lib_Xv_pic_XvQueryExtension" = x""yes; then :
26359   HAVE_XVIDEO="yes"
26360 else
26361   HAVE_XVIDEO="no"
26362 fi
26363
26364
26365     if test x$HAVE_XVIDEO = xyes; then
26366       XVIDEO_LIBS="-lXv_pic -lXext"
26367
26368     else
26369             if test x$HAVE_XVIDEO = xno; then
26370         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XvQueryExtension in -lXv" >&5
26371 $as_echo_n "checking for XvQueryExtension in -lXv... " >&6; }
26372 if test "${ac_cv_lib_Xv_XvQueryExtension+set}" = set; then :
26373   $as_echo_n "(cached) " >&6
26374 else
26375   ac_check_lib_save_LIBS=$LIBS
26376 LIBS="-lXv $X_LIBS -lXext $LIBS"
26377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26378 /* end confdefs.h.  */
26379
26380 /* Override any GCC internal prototype to avoid an error.
26381    Use char because int might match the return type of a GCC
26382    builtin and then its argument prototype would still apply.  */
26383 #ifdef __cplusplus
26384 extern "C"
26385 #endif
26386 char XvQueryExtension ();
26387 int
26388 main ()
26389 {
26390 return XvQueryExtension ();
26391   ;
26392   return 0;
26393 }
26394 _ACEOF
26395 if ac_fn_c_try_link "$LINENO"; then :
26396   ac_cv_lib_Xv_XvQueryExtension=yes
26397 else
26398   ac_cv_lib_Xv_XvQueryExtension=no
26399 fi
26400 rm -f core conftest.err conftest.$ac_objext \
26401     conftest$ac_exeext conftest.$ac_ext
26402 LIBS=$ac_check_lib_save_LIBS
26403 fi
26404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xv_XvQueryExtension" >&5
26405 $as_echo "$ac_cv_lib_Xv_XvQueryExtension" >&6; }
26406 if test "x$ac_cv_lib_Xv_XvQueryExtension" = x""yes; then :
26407   HAVE_XVIDEO="yes"
26408 else
26409   HAVE_XVIDEO="no"
26410 fi
26411
26412
26413         if test x$HAVE_XVIDEO = xyes; then
26414           XVIDEO_LIBS="-lXv -lXext"
26415
26416         fi
26417       fi
26418     fi
26419   fi
26420
26421
26422
26423   LIBS=$gst_check_save_LIBS
26424   LDFLAGS=$gst_check_save_LDFLAGS
26425   CFLAGS=$gst_check_save_CFLAGS
26426   CPPFLAGS=$gst_check_save_CPPFLAGS
26427   CXXFLAGS=$gst_check_save_CXXFLAGS
26428
26429     if test x$HAVE_XVIDEO = xno; then
26430     USE_XVIDEO=no
26431   else
26432     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: xvimagesink" >&5
26433 $as_echo "$as_me: *** These plugins will be built: xvimagesink" >&6;}
26434   fi
26435 fi
26436 if test x$USE_XVIDEO = xyes; then
26437   :
26438   if test "xxvimagesink" != "x"; then
26439     GST_PLUGINS_YES="\txvimagesink\n$GST_PLUGINS_YES"
26440   fi
26441
26442 $as_echo "#define HAVE_XVIDEO /**/" >>confdefs.h
26443
26444 else
26445   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: xvimagesink" >&5
26446 $as_echo "$as_me: *** These plugins will not be built: xvimagesink" >&6;}
26447   if test "xxvimagesink" != "x"; then
26448     GST_PLUGINS_NO="\txvimagesink\n$GST_PLUGINS_NO"
26449   fi
26450   :
26451 fi
26452  if test x$USE_XVIDEO = xyes; then
26453   USE_XVIDEO_TRUE=
26454   USE_XVIDEO_FALSE='#'
26455 else
26456   USE_XVIDEO_TRUE='#'
26457   USE_XVIDEO_FALSE=
26458 fi
26459
26460
26461
26462 echo
26463 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: X Shared Memory extension ***" >&5
26464 $as_echo "$as_me: *** checking feature: X Shared Memory extension ***" >&6;}
26465 if test "x" != "x"
26466 then
26467   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins:  ***" >&5
26468 $as_echo "$as_me: *** for plug-ins:  ***" >&6;}
26469 fi
26470 NOUSE=
26471 if test "x$USE_XSHM" = "xno"; then
26472   NOUSE="yes"
26473 fi
26474 # Check whether --enable-xshm was given.
26475 if test "${enable_xshm+set}" = set; then :
26476   enableval=$enable_xshm;  case "${enableval}" in
26477       yes) USE_XSHM=yes;;
26478       no) USE_XSHM=no;;
26479       *) as_fn_error $? "bad value ${enableval} for --enable-xshm" "$LINENO" 5  ;;
26480     esac
26481 else
26482    USE_XSHM=yes
26483 fi
26484
26485 if test "x$NOUSE" = "xyes"; then
26486   USE_XSHM="no"
26487   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ***  pre-configured not to be built" >&5
26488 $as_echo "$as_me: WARNING: ***  pre-configured not to be built" >&2;}
26489 fi
26490 NOUSE=
26491
26492
26493 if test x$USE_XSHM = xyes; then
26494
26495   gst_check_save_LIBS=$LIBS
26496   gst_check_save_LDFLAGS=$LDFLAGS
26497   gst_check_save_CFLAGS=$CFLAGS
26498   gst_check_save_CPPFLAGS=$CPPFLAGS
26499   gst_check_save_CXXFLAGS=$CXXFLAGS
26500
26501   HAVE_XSHM=no
26502
26503   if test x$HAVE_X = xyes; then
26504     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmAttach in -lXext" >&5
26505 $as_echo_n "checking for XShmAttach in -lXext... " >&6; }
26506 if test "${ac_cv_lib_Xext_XShmAttach+set}" = set; then :
26507   $as_echo_n "(cached) " >&6
26508 else
26509   ac_check_lib_save_LIBS=$LIBS
26510 LIBS="-lXext $X_LIBS $LIBS"
26511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26512 /* end confdefs.h.  */
26513
26514 /* Override any GCC internal prototype to avoid an error.
26515    Use char because int might match the return type of a GCC
26516    builtin and then its argument prototype would still apply.  */
26517 #ifdef __cplusplus
26518 extern "C"
26519 #endif
26520 char XShmAttach ();
26521 int
26522 main ()
26523 {
26524 return XShmAttach ();
26525   ;
26526   return 0;
26527 }
26528 _ACEOF
26529 if ac_fn_c_try_link "$LINENO"; then :
26530   ac_cv_lib_Xext_XShmAttach=yes
26531 else
26532   ac_cv_lib_Xext_XShmAttach=no
26533 fi
26534 rm -f core conftest.err conftest.$ac_objext \
26535     conftest$ac_exeext conftest.$ac_ext
26536 LIBS=$ac_check_lib_save_LIBS
26537 fi
26538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmAttach" >&5
26539 $as_echo "$ac_cv_lib_Xext_XShmAttach" >&6; }
26540 if test "x$ac_cv_lib_Xext_XShmAttach" = x""yes; then :
26541   HAVE_XSHM="yes"
26542 else
26543   HAVE_XSHM="no"
26544 fi
26545
26546     if test "x$HAVE_XSHM" = "xyes"; then
26547       XSHM_LIBS="-lXext"
26548     else
26549             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmAttach in -lXextSam" >&5
26550 $as_echo_n "checking for XShmAttach in -lXextSam... " >&6; }
26551 if test "${ac_cv_lib_XextSam_XShmAttach+set}" = set; then :
26552   $as_echo_n "(cached) " >&6
26553 else
26554   ac_check_lib_save_LIBS=$LIBS
26555 LIBS="-lXextSam $X_LIBS $LIBS"
26556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26557 /* end confdefs.h.  */
26558
26559 /* Override any GCC internal prototype to avoid an error.
26560    Use char because int might match the return type of a GCC
26561    builtin and then its argument prototype would still apply.  */
26562 #ifdef __cplusplus
26563 extern "C"
26564 #endif
26565 char XShmAttach ();
26566 int
26567 main ()
26568 {
26569 return XShmAttach ();
26570   ;
26571   return 0;
26572 }
26573 _ACEOF
26574 if ac_fn_c_try_link "$LINENO"; then :
26575   ac_cv_lib_XextSam_XShmAttach=yes
26576 else
26577   ac_cv_lib_XextSam_XShmAttach=no
26578 fi
26579 rm -f core conftest.err conftest.$ac_objext \
26580     conftest$ac_exeext conftest.$ac_ext
26581 LIBS=$ac_check_lib_save_LIBS
26582 fi
26583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_XextSam_XShmAttach" >&5
26584 $as_echo "$ac_cv_lib_XextSam_XShmAttach" >&6; }
26585 if test "x$ac_cv_lib_XextSam_XShmAttach" = x""yes; then :
26586   HAVE_XSHM="yes"
26587 else
26588   HAVE_XSHM="no"
26589 fi
26590
26591       if test "x$HAVE_XSHM" = "xyes"; then
26592         XSHM_LIBS="-lXext -lXextSam"
26593       fi
26594     fi
26595   fi
26596
26597
26598   LIBS=$gst_check_save_LIBS
26599   LDFLAGS=$gst_check_save_LDFLAGS
26600   CFLAGS=$gst_check_save_CFLAGS
26601   CPPFLAGS=$gst_check_save_CPPFLAGS
26602   CXXFLAGS=$gst_check_save_CXXFLAGS
26603
26604     if test x$HAVE_XSHM = xno; then
26605     USE_XSHM=no
26606   else
26607     :
26608   fi
26609 fi
26610 if test x$USE_XSHM = xyes; then
26611
26612
26613
26614
26615   if test "x" != "x"; then
26616     GST_PLUGINS_YES="\t\n$GST_PLUGINS_YES"
26617   fi
26618
26619 $as_echo "#define HAVE_XSHM /**/" >>confdefs.h
26620
26621 else
26622   :
26623   if test "x" != "x"; then
26624     GST_PLUGINS_NO="\t\n$GST_PLUGINS_NO"
26625   fi
26626   :
26627 fi
26628  if test x$USE_XSHM = xyes; then
26629   USE_XSHM_TRUE=
26630   USE_XSHM_FALSE='#'
26631 else
26632   USE_XSHM_TRUE='#'
26633   USE_XSHM_FALSE=
26634 fi
26635
26636
26637
26638
26639 echo
26640 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Video 4 Linux ***" >&5
26641 $as_echo "$as_me: *** checking feature: Video 4 Linux ***" >&6;}
26642 if test "xvideo4linux" != "x"
26643 then
26644   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: video4linux ***" >&5
26645 $as_echo "$as_me: *** for plug-ins: video4linux ***" >&6;}
26646 fi
26647 NOUSE=
26648 if test "x$USE_GST_V4L" = "xno"; then
26649   NOUSE="yes"
26650 fi
26651 # Check whether --enable-gst_v4l was given.
26652 if test "${enable_gst_v4l+set}" = set; then :
26653   enableval=$enable_gst_v4l;  case "${enableval}" in
26654       yes) USE_GST_V4L=yes;;
26655       no) USE_GST_V4L=no;;
26656       *) as_fn_error $? "bad value ${enableval} for --enable-gst_v4l" "$LINENO" 5  ;;
26657     esac
26658 else
26659    USE_GST_V4L=yes
26660 fi
26661
26662 if test "x$NOUSE" = "xyes"; then
26663   USE_GST_V4L="no"
26664   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** video4linux pre-configured not to be built" >&5
26665 $as_echo "$as_me: WARNING: *** video4linux pre-configured not to be built" >&2;}
26666 fi
26667 NOUSE=
26668
26669
26670 if test x$USE_GST_V4L = xyes; then
26671
26672   gst_check_save_LIBS=$LIBS
26673   gst_check_save_LDFLAGS=$LDFLAGS
26674   gst_check_save_CFLAGS=$CFLAGS
26675   gst_check_save_CPPFLAGS=$CPPFLAGS
26676   gst_check_save_CXXFLAGS=$CXXFLAGS
26677
26678   HAVE_GST_V4L=no
26679
26680   ac_fn_c_check_decl "$LINENO" "VID_TYPE_MPEG_ENCODER" "ac_cv_have_decl_VID_TYPE_MPEG_ENCODER" "
26681 #include <sys/types.h>
26682 #define _LINUX_TIME_H
26683 #define __user
26684 #include <linux/videodev.h>
26685
26686 "
26687 if test "x$ac_cv_have_decl_VID_TYPE_MPEG_ENCODER" = x""yes; then :
26688   HAVE_GST_V4L="yes"
26689 else
26690   HAVE_GST_V4L="no"
26691 fi
26692
26693
26694     if test "x$HAVE_GST_V4L" = "xyes" -a "x$HAVE_XVIDEO" != "xyes"
26695   then
26696     { $as_echo "$as_me:${as_lineno-$LINENO}: NO XVIDEO FOUND, VIDEO4LINUX WILL BE BUILT" >&5
26697 $as_echo "$as_me: NO XVIDEO FOUND, VIDEO4LINUX WILL BE BUILT" >&6;}
26698     { $as_echo "$as_me:${as_lineno-$LINENO}: WITHOUT XOVERLAY SUPPORT" >&5
26699 $as_echo "$as_me: WITHOUT XOVERLAY SUPPORT" >&6;}
26700   fi
26701
26702
26703   LIBS=$gst_check_save_LIBS
26704   LDFLAGS=$gst_check_save_LDFLAGS
26705   CFLAGS=$gst_check_save_CFLAGS
26706   CPPFLAGS=$gst_check_save_CPPFLAGS
26707   CXXFLAGS=$gst_check_save_CXXFLAGS
26708
26709     if test x$HAVE_GST_V4L = xno; then
26710     USE_GST_V4L=no
26711   else
26712     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: video4linux" >&5
26713 $as_echo "$as_me: *** These plugins will be built: video4linux" >&6;}
26714   fi
26715 fi
26716 if test x$USE_GST_V4L = xyes; then
26717   :
26718   if test "xvideo4linux" != "x"; then
26719     GST_PLUGINS_YES="\tvideo4linux\n$GST_PLUGINS_YES"
26720   fi
26721
26722 $as_echo "#define HAVE_GST_V4L /**/" >>confdefs.h
26723
26724 else
26725   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: video4linux" >&5
26726 $as_echo "$as_me: *** These plugins will not be built: video4linux" >&6;}
26727   if test "xvideo4linux" != "x"; then
26728     GST_PLUGINS_NO="\tvideo4linux\n$GST_PLUGINS_NO"
26729   fi
26730   :
26731 fi
26732  if test x$USE_GST_V4L = xyes; then
26733   USE_GST_V4L_TRUE=
26734   USE_GST_V4L_FALSE='#'
26735 else
26736   USE_GST_V4L_TRUE='#'
26737   USE_GST_V4L_FALSE=
26738 fi
26739
26740
26741
26742 # Optional gudev for device probing
26743
26744 # Check whether --with-gudev was given.
26745 if test "${with_gudev+set}" = set; then :
26746   withval=$with_gudev;
26747 else
26748   with_gudev=check
26749 fi
26750
26751 if test x$HAVE_GST_V4L = xyes; then
26752   if test x$with_gudev != xno; then
26753
26754 pkg_failed=no
26755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GUDEV" >&5
26756 $as_echo_n "checking for GUDEV... " >&6; }
26757
26758 if test -n "$PKG_CONFIG"; then
26759     if test -n "$GUDEV_CFLAGS"; then
26760         pkg_cv_GUDEV_CFLAGS="$GUDEV_CFLAGS"
26761     else
26762         if test -n "$PKG_CONFIG" && \
26763     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" gudev-1.0 >= 143 \""; } >&5
26764   ($PKG_CONFIG --exists --print-errors " gudev-1.0 >= 143 ") 2>&5
26765   ac_status=$?
26766   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26767   test $ac_status = 0; }; then
26768   pkg_cv_GUDEV_CFLAGS=`$PKG_CONFIG --cflags " gudev-1.0 >= 143 " 2>/dev/null`
26769 else
26770   pkg_failed=yes
26771 fi
26772     fi
26773 else
26774         pkg_failed=untried
26775 fi
26776 if test -n "$PKG_CONFIG"; then
26777     if test -n "$GUDEV_LIBS"; then
26778         pkg_cv_GUDEV_LIBS="$GUDEV_LIBS"
26779     else
26780         if test -n "$PKG_CONFIG" && \
26781     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" gudev-1.0 >= 143 \""; } >&5
26782   ($PKG_CONFIG --exists --print-errors " gudev-1.0 >= 143 ") 2>&5
26783   ac_status=$?
26784   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26785   test $ac_status = 0; }; then
26786   pkg_cv_GUDEV_LIBS=`$PKG_CONFIG --libs " gudev-1.0 >= 143 " 2>/dev/null`
26787 else
26788   pkg_failed=yes
26789 fi
26790     fi
26791 else
26792         pkg_failed=untried
26793 fi
26794
26795
26796
26797 if test $pkg_failed = yes; then
26798
26799 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26800         _pkg_short_errors_supported=yes
26801 else
26802         _pkg_short_errors_supported=no
26803 fi
26804         if test $_pkg_short_errors_supported = yes; then
26805                 GUDEV_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors " gudev-1.0 >= 143 "`
26806         else
26807                 GUDEV_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors " gudev-1.0 >= 143 "`
26808         fi
26809         # Put the nasty error message in config.log where it belongs
26810         echo "$GUDEV_PKG_ERRORS" >&5
26811
26812         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26813 $as_echo "no" >&6; }
26814
26815           have_gudev=no
26816
26817 elif test $pkg_failed = untried; then
26818
26819           have_gudev=no
26820
26821 else
26822         GUDEV_CFLAGS=$pkg_cv_GUDEV_CFLAGS
26823         GUDEV_LIBS=$pkg_cv_GUDEV_LIBS
26824         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26825 $as_echo "yes" >&6; }
26826          have_gudev=yes
26827
26828 $as_echo "#define HAVE_GUDEV 1" >>confdefs.h
26829
26830
26831 $as_echo "#define G_UDEV_API_IS_SUBJECT_TO_CHANGE 1" >>confdefs.h
26832
26833
26834 fi
26835   else
26836     have_gudev=no
26837   fi
26838 fi
26839
26840
26841
26842
26843 if test "x$BUILD_EXTERNAL" = "xyes"; then
26844
26845 echo
26846 { $as_echo "$as_me:${as_lineno-$LINENO}: Checking libraries for plugins in ext/" >&5
26847 $as_echo "$as_me: Checking libraries for plugins in ext/" >&6;}
26848 echo
26849
26850 echo
26851 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: ALSA ***" >&5
26852 $as_echo "$as_me: *** checking feature: ALSA ***" >&6;}
26853 if test "xalsa" != "x"
26854 then
26855   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: alsa ***" >&5
26856 $as_echo "$as_me: *** for plug-ins: alsa ***" >&6;}
26857 fi
26858 NOUSE=
26859 if test "x$USE_ALSA" = "xno"; then
26860   NOUSE="yes"
26861 fi
26862 # Check whether --enable-alsa was given.
26863 if test "${enable_alsa+set}" = set; then :
26864   enableval=$enable_alsa;  case "${enableval}" in
26865       yes) USE_ALSA=yes;;
26866       no) USE_ALSA=no;;
26867       *) as_fn_error $? "bad value ${enableval} for --enable-alsa" "$LINENO" 5  ;;
26868     esac
26869 else
26870    USE_ALSA=yes
26871 fi
26872
26873 if test "x$NOUSE" = "xyes"; then
26874   USE_ALSA="no"
26875   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** alsa pre-configured not to be built" >&5
26876 $as_echo "$as_me: WARNING: *** alsa pre-configured not to be built" >&2;}
26877 fi
26878 NOUSE=
26879
26880
26881 if test x$USE_ALSA = xyes; then
26882
26883   gst_check_save_LIBS=$LIBS
26884   gst_check_save_LDFLAGS=$LDFLAGS
26885   gst_check_save_CFLAGS=$CFLAGS
26886   gst_check_save_CPPFLAGS=$CPPFLAGS
26887   gst_check_save_CXXFLAGS=$CXXFLAGS
26888
26889   HAVE_ALSA=no
26890
26891
26892 pkg_failed=no
26893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALSA" >&5
26894 $as_echo_n "checking for ALSA... " >&6; }
26895
26896 if test -n "$PKG_CONFIG"; then
26897     if test -n "$ALSA_CFLAGS"; then
26898         pkg_cv_ALSA_CFLAGS="$ALSA_CFLAGS"
26899     else
26900         if test -n "$PKG_CONFIG" && \
26901     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"alsa >= 0.9.1\""; } >&5
26902   ($PKG_CONFIG --exists --print-errors "alsa >= 0.9.1") 2>&5
26903   ac_status=$?
26904   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26905   test $ac_status = 0; }; then
26906   pkg_cv_ALSA_CFLAGS=`$PKG_CONFIG --cflags "alsa >= 0.9.1" 2>/dev/null`
26907 else
26908   pkg_failed=yes
26909 fi
26910     fi
26911 else
26912         pkg_failed=untried
26913 fi
26914 if test -n "$PKG_CONFIG"; then
26915     if test -n "$ALSA_LIBS"; then
26916         pkg_cv_ALSA_LIBS="$ALSA_LIBS"
26917     else
26918         if test -n "$PKG_CONFIG" && \
26919     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"alsa >= 0.9.1\""; } >&5
26920   ($PKG_CONFIG --exists --print-errors "alsa >= 0.9.1") 2>&5
26921   ac_status=$?
26922   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26923   test $ac_status = 0; }; then
26924   pkg_cv_ALSA_LIBS=`$PKG_CONFIG --libs "alsa >= 0.9.1" 2>/dev/null`
26925 else
26926   pkg_failed=yes
26927 fi
26928     fi
26929 else
26930         pkg_failed=untried
26931 fi
26932
26933
26934
26935 if test $pkg_failed = yes; then
26936
26937 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26938         _pkg_short_errors_supported=yes
26939 else
26940         _pkg_short_errors_supported=no
26941 fi
26942         if test $_pkg_short_errors_supported = yes; then
26943                 ALSA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "alsa >= 0.9.1"`
26944         else
26945                 ALSA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "alsa >= 0.9.1"`
26946         fi
26947         # Put the nasty error message in config.log where it belongs
26948         echo "$ALSA_PKG_ERRORS" >&5
26949
26950         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26951 $as_echo "no" >&6; }
26952
26953     alsa_save_CFLAGS="$CFLAGS"
26954 alsa_save_LDFLAGS="$LDFLAGS"
26955 alsa_save_LIBS="$LIBS"
26956 alsa_found=yes
26957
26958
26959 # Check whether --with-alsa-prefix was given.
26960 if test "${with_alsa_prefix+set}" = set; then :
26961   withval=$with_alsa_prefix; alsa_prefix="$withval"
26962 else
26963   alsa_prefix=""
26964 fi
26965
26966
26967
26968 # Check whether --with-alsa-inc-prefix was given.
26969 if test "${with_alsa_inc_prefix+set}" = set; then :
26970   withval=$with_alsa_inc_prefix; alsa_inc_prefix="$withval"
26971 else
26972   alsa_inc_prefix=""
26973 fi
26974
26975
26976
26977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALSA CFLAGS" >&5
26978 $as_echo_n "checking for ALSA CFLAGS... " >&6; }
26979 if test "$alsa_inc_prefix" != "" ; then
26980         ALSA_CFLAGS="$ALSA_CFLAGS -I$alsa_inc_prefix"
26981         CFLAGS="$CFLAGS -I$alsa_inc_prefix"
26982 fi
26983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ALSA_CFLAGS" >&5
26984 $as_echo "$ALSA_CFLAGS" >&6; }
26985
26986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALSA LDFLAGS" >&5
26987 $as_echo_n "checking for ALSA LDFLAGS... " >&6; }
26988 if test "$alsa_prefix" != "" ; then
26989         ALSA_LIBS="$ALSA_LIBS -L$alsa_prefix"
26990         LDFLAGS="$LDFLAGS $ALSA_LIBS"
26991 fi
26992
26993 ALSA_LIBS="$ALSA_LIBS -lasound -lm -ldl -lpthread"
26994 LIBS=`echo $LIBS | sed 's/-lm//'`
26995 LIBS=`echo $LIBS | sed 's/-ldl//'`
26996 LIBS=`echo $LIBS | sed 's/-lpthread//'`
26997 LIBS=`echo $LIBS | sed 's/  //'`
26998 LIBS="$ALSA_LIBS $LIBS"
26999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ALSA_LIBS" >&5
27000 $as_echo "$ALSA_LIBS" >&6; }
27001
27002 min_alsa_version=0.9.1
27003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libasound headers version >= $min_alsa_version" >&5
27004 $as_echo_n "checking for libasound headers version >= $min_alsa_version... " >&6; }
27005 no_alsa=""
27006     alsa_min_major_version=`echo $min_alsa_version | \
27007            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27008     alsa_min_minor_version=`echo $min_alsa_version | \
27009            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27010     alsa_min_micro_version=`echo $min_alsa_version | \
27011            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27012
27013
27014 ac_ext=c
27015 ac_cpp='$CPP $CPPFLAGS'
27016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27019
27020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27021 /* end confdefs.h.  */
27022
27023 #include <alsa/asoundlib.h>
27024
27025 int
27026 main ()
27027 {
27028
27029 void main(void)
27030 {
27031 /* ensure backward compatibility */
27032 #if !defined(SND_LIB_MAJOR) && defined(SOUNDLIB_VERSION_MAJOR)
27033 #define SND_LIB_MAJOR SOUNDLIB_VERSION_MAJOR
27034 #endif
27035 #if !defined(SND_LIB_MINOR) && defined(SOUNDLIB_VERSION_MINOR)
27036 #define SND_LIB_MINOR SOUNDLIB_VERSION_MINOR
27037 #endif
27038 #if !defined(SND_LIB_SUBMINOR) && defined(SOUNDLIB_VERSION_SUBMINOR)
27039 #define SND_LIB_SUBMINOR SOUNDLIB_VERSION_SUBMINOR
27040 #endif
27041
27042 #  if(SND_LIB_MAJOR > $alsa_min_major_version)
27043   exit(0);
27044 #  else
27045 #    if(SND_LIB_MAJOR < $alsa_min_major_version)
27046 #       error not present
27047 #    endif
27048
27049 #   if(SND_LIB_MINOR > $alsa_min_minor_version)
27050   exit(0);
27051 #   else
27052 #     if(SND_LIB_MINOR < $alsa_min_minor_version)
27053 #          error not present
27054 #      endif
27055
27056 #      if(SND_LIB_SUBMINOR < $alsa_min_micro_version)
27057 #        error not present
27058 #      endif
27059 #    endif
27060 #  endif
27061 exit(0);
27062 }
27063
27064   ;
27065   return 0;
27066 }
27067 _ACEOF
27068 if ac_fn_c_try_compile "$LINENO"; then :
27069   { $as_echo "$as_me:${as_lineno-$LINENO}: result: found." >&5
27070 $as_echo "found." >&6; }
27071 else
27072   { $as_echo "$as_me:${as_lineno-$LINENO}: result: not present." >&5
27073 $as_echo "not present." >&6; }
27074
27075    alsa_found=no
27076
27077 fi
27078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27079 ac_ext=c
27080 ac_cpp='$CPP $CPPFLAGS'
27081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27084
27085
27086 if test "x$enable_alsatest" = "xyes"; then
27087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_ctl_open in -lasound" >&5
27088 $as_echo_n "checking for snd_ctl_open in -lasound... " >&6; }
27089 if test "${ac_cv_lib_asound_snd_ctl_open+set}" = set; then :
27090   $as_echo_n "(cached) " >&6
27091 else
27092   ac_check_lib_save_LIBS=$LIBS
27093 LIBS="-lasound  $LIBS"
27094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27095 /* end confdefs.h.  */
27096
27097 /* Override any GCC internal prototype to avoid an error.
27098    Use char because int might match the return type of a GCC
27099    builtin and then its argument prototype would still apply.  */
27100 #ifdef __cplusplus
27101 extern "C"
27102 #endif
27103 char snd_ctl_open ();
27104 int
27105 main ()
27106 {
27107 return snd_ctl_open ();
27108   ;
27109   return 0;
27110 }
27111 _ACEOF
27112 if ac_fn_c_try_link "$LINENO"; then :
27113   ac_cv_lib_asound_snd_ctl_open=yes
27114 else
27115   ac_cv_lib_asound_snd_ctl_open=no
27116 fi
27117 rm -f core conftest.err conftest.$ac_objext \
27118     conftest$ac_exeext conftest.$ac_ext
27119 LIBS=$ac_check_lib_save_LIBS
27120 fi
27121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_ctl_open" >&5
27122 $as_echo "$ac_cv_lib_asound_snd_ctl_open" >&6; }
27123 if test "x$ac_cv_lib_asound_snd_ctl_open" = x""yes; then :
27124   cat >>confdefs.h <<_ACEOF
27125 #define HAVE_LIBASOUND 1
27126 _ACEOF
27127
27128   LIBS="-lasound $LIBS"
27129
27130 else
27131
27132          alsa_found=no
27133
27134 fi
27135
27136 fi
27137
27138 if test "x$alsa_found" = "xyes" ; then
27139    HAVE_ALSA="yes"
27140    LIBS=`echo $LIBS | sed 's/-lasound//g'`
27141    LIBS=`echo $LIBS | sed 's/  //'`
27142    LIBS="-lasound $LIBS"
27143 fi
27144 if test "x$alsa_found" = "xno" ; then
27145    HAVE_ALSA="no"
27146    CFLAGS="$alsa_save_CFLAGS"
27147    LDFLAGS="$alsa_save_LDFLAGS"
27148    LIBS="$alsa_save_LIBS"
27149    ALSA_CFLAGS=""
27150    ALSA_LIBS=""
27151 fi
27152
27153
27154
27155
27156
27157 elif test $pkg_failed = untried; then
27158
27159     alsa_save_CFLAGS="$CFLAGS"
27160 alsa_save_LDFLAGS="$LDFLAGS"
27161 alsa_save_LIBS="$LIBS"
27162 alsa_found=yes
27163
27164
27165 # Check whether --with-alsa-prefix was given.
27166 if test "${with_alsa_prefix+set}" = set; then :
27167   withval=$with_alsa_prefix; alsa_prefix="$withval"
27168 else
27169   alsa_prefix=""
27170 fi
27171
27172
27173
27174 # Check whether --with-alsa-inc-prefix was given.
27175 if test "${with_alsa_inc_prefix+set}" = set; then :
27176   withval=$with_alsa_inc_prefix; alsa_inc_prefix="$withval"
27177 else
27178   alsa_inc_prefix=""
27179 fi
27180
27181
27182
27183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALSA CFLAGS" >&5
27184 $as_echo_n "checking for ALSA CFLAGS... " >&6; }
27185 if test "$alsa_inc_prefix" != "" ; then
27186         ALSA_CFLAGS="$ALSA_CFLAGS -I$alsa_inc_prefix"
27187         CFLAGS="$CFLAGS -I$alsa_inc_prefix"
27188 fi
27189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ALSA_CFLAGS" >&5
27190 $as_echo "$ALSA_CFLAGS" >&6; }
27191
27192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALSA LDFLAGS" >&5
27193 $as_echo_n "checking for ALSA LDFLAGS... " >&6; }
27194 if test "$alsa_prefix" != "" ; then
27195         ALSA_LIBS="$ALSA_LIBS -L$alsa_prefix"
27196         LDFLAGS="$LDFLAGS $ALSA_LIBS"
27197 fi
27198
27199 ALSA_LIBS="$ALSA_LIBS -lasound -lm -ldl -lpthread"
27200 LIBS=`echo $LIBS | sed 's/-lm//'`
27201 LIBS=`echo $LIBS | sed 's/-ldl//'`
27202 LIBS=`echo $LIBS | sed 's/-lpthread//'`
27203 LIBS=`echo $LIBS | sed 's/  //'`
27204 LIBS="$ALSA_LIBS $LIBS"
27205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ALSA_LIBS" >&5
27206 $as_echo "$ALSA_LIBS" >&6; }
27207
27208 min_alsa_version=0.9.1
27209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libasound headers version >= $min_alsa_version" >&5
27210 $as_echo_n "checking for libasound headers version >= $min_alsa_version... " >&6; }
27211 no_alsa=""
27212     alsa_min_major_version=`echo $min_alsa_version | \
27213            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27214     alsa_min_minor_version=`echo $min_alsa_version | \
27215            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27216     alsa_min_micro_version=`echo $min_alsa_version | \
27217            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27218
27219
27220 ac_ext=c
27221 ac_cpp='$CPP $CPPFLAGS'
27222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27225
27226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27227 /* end confdefs.h.  */
27228
27229 #include <alsa/asoundlib.h>
27230
27231 int
27232 main ()
27233 {
27234
27235 void main(void)
27236 {
27237 /* ensure backward compatibility */
27238 #if !defined(SND_LIB_MAJOR) && defined(SOUNDLIB_VERSION_MAJOR)
27239 #define SND_LIB_MAJOR SOUNDLIB_VERSION_MAJOR
27240 #endif
27241 #if !defined(SND_LIB_MINOR) && defined(SOUNDLIB_VERSION_MINOR)
27242 #define SND_LIB_MINOR SOUNDLIB_VERSION_MINOR
27243 #endif
27244 #if !defined(SND_LIB_SUBMINOR) && defined(SOUNDLIB_VERSION_SUBMINOR)
27245 #define SND_LIB_SUBMINOR SOUNDLIB_VERSION_SUBMINOR
27246 #endif
27247
27248 #  if(SND_LIB_MAJOR > $alsa_min_major_version)
27249   exit(0);
27250 #  else
27251 #    if(SND_LIB_MAJOR < $alsa_min_major_version)
27252 #       error not present
27253 #    endif
27254
27255 #   if(SND_LIB_MINOR > $alsa_min_minor_version)
27256   exit(0);
27257 #   else
27258 #     if(SND_LIB_MINOR < $alsa_min_minor_version)
27259 #          error not present
27260 #      endif
27261
27262 #      if(SND_LIB_SUBMINOR < $alsa_min_micro_version)
27263 #        error not present
27264 #      endif
27265 #    endif
27266 #  endif
27267 exit(0);
27268 }
27269
27270   ;
27271   return 0;
27272 }
27273 _ACEOF
27274 if ac_fn_c_try_compile "$LINENO"; then :
27275   { $as_echo "$as_me:${as_lineno-$LINENO}: result: found." >&5
27276 $as_echo "found." >&6; }
27277 else
27278   { $as_echo "$as_me:${as_lineno-$LINENO}: result: not present." >&5
27279 $as_echo "not present." >&6; }
27280
27281    alsa_found=no
27282
27283 fi
27284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27285 ac_ext=c
27286 ac_cpp='$CPP $CPPFLAGS'
27287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27290
27291
27292 if test "x$enable_alsatest" = "xyes"; then
27293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_ctl_open in -lasound" >&5
27294 $as_echo_n "checking for snd_ctl_open in -lasound... " >&6; }
27295 if test "${ac_cv_lib_asound_snd_ctl_open+set}" = set; then :
27296   $as_echo_n "(cached) " >&6
27297 else
27298   ac_check_lib_save_LIBS=$LIBS
27299 LIBS="-lasound  $LIBS"
27300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27301 /* end confdefs.h.  */
27302
27303 /* Override any GCC internal prototype to avoid an error.
27304    Use char because int might match the return type of a GCC
27305    builtin and then its argument prototype would still apply.  */
27306 #ifdef __cplusplus
27307 extern "C"
27308 #endif
27309 char snd_ctl_open ();
27310 int
27311 main ()
27312 {
27313 return snd_ctl_open ();
27314   ;
27315   return 0;
27316 }
27317 _ACEOF
27318 if ac_fn_c_try_link "$LINENO"; then :
27319   ac_cv_lib_asound_snd_ctl_open=yes
27320 else
27321   ac_cv_lib_asound_snd_ctl_open=no
27322 fi
27323 rm -f core conftest.err conftest.$ac_objext \
27324     conftest$ac_exeext conftest.$ac_ext
27325 LIBS=$ac_check_lib_save_LIBS
27326 fi
27327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_ctl_open" >&5
27328 $as_echo "$ac_cv_lib_asound_snd_ctl_open" >&6; }
27329 if test "x$ac_cv_lib_asound_snd_ctl_open" = x""yes; then :
27330   cat >>confdefs.h <<_ACEOF
27331 #define HAVE_LIBASOUND 1
27332 _ACEOF
27333
27334   LIBS="-lasound $LIBS"
27335
27336 else
27337
27338          alsa_found=no
27339
27340 fi
27341
27342 fi
27343
27344 if test "x$alsa_found" = "xyes" ; then
27345    HAVE_ALSA="yes"
27346    LIBS=`echo $LIBS | sed 's/-lasound//g'`
27347    LIBS=`echo $LIBS | sed 's/  //'`
27348    LIBS="-lasound $LIBS"
27349 fi
27350 if test "x$alsa_found" = "xno" ; then
27351    HAVE_ALSA="no"
27352    CFLAGS="$alsa_save_CFLAGS"
27353    LDFLAGS="$alsa_save_LDFLAGS"
27354    LIBS="$alsa_save_LIBS"
27355    ALSA_CFLAGS=""
27356    ALSA_LIBS=""
27357 fi
27358
27359
27360
27361
27362
27363 else
27364         ALSA_CFLAGS=$pkg_cv_ALSA_CFLAGS
27365         ALSA_LIBS=$pkg_cv_ALSA_LIBS
27366         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27367 $as_echo "yes" >&6; }
27368
27369     HAVE_ALSA="yes"
27370
27371
27372
27373 fi
27374
27375
27376   LIBS=$gst_check_save_LIBS
27377   LDFLAGS=$gst_check_save_LDFLAGS
27378   CFLAGS=$gst_check_save_CFLAGS
27379   CPPFLAGS=$gst_check_save_CPPFLAGS
27380   CXXFLAGS=$gst_check_save_CXXFLAGS
27381
27382     if test x$HAVE_ALSA = xno; then
27383     USE_ALSA=no
27384   else
27385     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: alsa" >&5
27386 $as_echo "$as_me: *** These plugins will be built: alsa" >&6;}
27387   fi
27388 fi
27389 if test x$USE_ALSA = xyes; then
27390   :
27391   if test "xalsa" != "x"; then
27392     GST_PLUGINS_YES="\talsa\n$GST_PLUGINS_YES"
27393   fi
27394
27395 $as_echo "#define HAVE_ALSA /**/" >>confdefs.h
27396
27397 else
27398   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: alsa" >&5
27399 $as_echo "$as_me: *** These plugins will not be built: alsa" >&6;}
27400   if test "xalsa" != "x"; then
27401     GST_PLUGINS_NO="\talsa\n$GST_PLUGINS_NO"
27402   fi
27403   :
27404 fi
27405  if test x$USE_ALSA = xyes; then
27406   USE_ALSA_TRUE=
27407   USE_ALSA_FALSE='#'
27408 else
27409   USE_ALSA_TRUE='#'
27410   USE_ALSA_FALSE=
27411 fi
27412
27413
27414
27415 echo
27416 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: CDParanoia ***" >&5
27417 $as_echo "$as_me: *** checking feature: CDParanoia ***" >&6;}
27418 if test "xcdparanoia" != "x"
27419 then
27420   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: cdparanoia ***" >&5
27421 $as_echo "$as_me: *** for plug-ins: cdparanoia ***" >&6;}
27422 fi
27423 NOUSE=
27424 if test "x$USE_CDPARANOIA" = "xno"; then
27425   NOUSE="yes"
27426 fi
27427 # Check whether --enable-cdparanoia was given.
27428 if test "${enable_cdparanoia+set}" = set; then :
27429   enableval=$enable_cdparanoia;  case "${enableval}" in
27430       yes) USE_CDPARANOIA=yes;;
27431       no) USE_CDPARANOIA=no;;
27432       *) as_fn_error $? "bad value ${enableval} for --enable-cdparanoia" "$LINENO" 5  ;;
27433     esac
27434 else
27435    USE_CDPARANOIA=yes
27436 fi
27437
27438 if test "x$NOUSE" = "xyes"; then
27439   USE_CDPARANOIA="no"
27440   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** cdparanoia pre-configured not to be built" >&5
27441 $as_echo "$as_me: WARNING: *** cdparanoia pre-configured not to be built" >&2;}
27442 fi
27443 NOUSE=
27444
27445
27446 if test x$USE_CDPARANOIA = xyes; then
27447
27448   gst_check_save_LIBS=$LIBS
27449   gst_check_save_LDFLAGS=$LDFLAGS
27450   gst_check_save_CFLAGS=$CFLAGS
27451   gst_check_save_CPPFLAGS=$CPPFLAGS
27452   gst_check_save_CXXFLAGS=$CXXFLAGS
27453
27454   HAVE_CDPARANOIA=no
27455
27456
27457 pkg_failed=no
27458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CDPARANOIA" >&5
27459 $as_echo_n "checking for CDPARANOIA... " >&6; }
27460
27461 if test -n "$PKG_CONFIG"; then
27462     if test -n "$CDPARANOIA_CFLAGS"; then
27463         pkg_cv_CDPARANOIA_CFLAGS="$CDPARANOIA_CFLAGS"
27464     else
27465         if test -n "$PKG_CONFIG" && \
27466     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cdparanoia-3 >= 10.2\""; } >&5
27467   ($PKG_CONFIG --exists --print-errors "cdparanoia-3 >= 10.2") 2>&5
27468   ac_status=$?
27469   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27470   test $ac_status = 0; }; then
27471   pkg_cv_CDPARANOIA_CFLAGS=`$PKG_CONFIG --cflags "cdparanoia-3 >= 10.2" 2>/dev/null`
27472 else
27473   pkg_failed=yes
27474 fi
27475     fi
27476 else
27477         pkg_failed=untried
27478 fi
27479 if test -n "$PKG_CONFIG"; then
27480     if test -n "$CDPARANOIA_LIBS"; then
27481         pkg_cv_CDPARANOIA_LIBS="$CDPARANOIA_LIBS"
27482     else
27483         if test -n "$PKG_CONFIG" && \
27484     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cdparanoia-3 >= 10.2\""; } >&5
27485   ($PKG_CONFIG --exists --print-errors "cdparanoia-3 >= 10.2") 2>&5
27486   ac_status=$?
27487   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27488   test $ac_status = 0; }; then
27489   pkg_cv_CDPARANOIA_LIBS=`$PKG_CONFIG --libs "cdparanoia-3 >= 10.2" 2>/dev/null`
27490 else
27491   pkg_failed=yes
27492 fi
27493     fi
27494 else
27495         pkg_failed=untried
27496 fi
27497
27498
27499
27500 if test $pkg_failed = yes; then
27501
27502 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27503         _pkg_short_errors_supported=yes
27504 else
27505         _pkg_short_errors_supported=no
27506 fi
27507         if test $_pkg_short_errors_supported = yes; then
27508                 CDPARANOIA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cdparanoia-3 >= 10.2"`
27509         else
27510                 CDPARANOIA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cdparanoia-3 >= 10.2"`
27511         fi
27512         # Put the nasty error message in config.log where it belongs
27513         echo "$CDPARANOIA_PKG_ERRORS" >&5
27514
27515         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27516 $as_echo "no" >&6; }
27517
27518
27519   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cdda_open in -lcdda_interface" >&5
27520 $as_echo_n "checking for cdda_open in -lcdda_interface... " >&6; }
27521 if test "${ac_cv_lib_cdda_interface_cdda_open+set}" = set; then :
27522   $as_echo_n "(cached) " >&6
27523 else
27524   ac_check_lib_save_LIBS=$LIBS
27525 LIBS="-lcdda_interface -lm $LIBS"
27526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27527 /* end confdefs.h.  */
27528
27529 /* Override any GCC internal prototype to avoid an error.
27530    Use char because int might match the return type of a GCC
27531    builtin and then its argument prototype would still apply.  */
27532 #ifdef __cplusplus
27533 extern "C"
27534 #endif
27535 char cdda_open ();
27536 int
27537 main ()
27538 {
27539 return cdda_open ();
27540   ;
27541   return 0;
27542 }
27543 _ACEOF
27544 if ac_fn_c_try_link "$LINENO"; then :
27545   ac_cv_lib_cdda_interface_cdda_open=yes
27546 else
27547   ac_cv_lib_cdda_interface_cdda_open=no
27548 fi
27549 rm -f core conftest.err conftest.$ac_objext \
27550     conftest$ac_exeext conftest.$ac_ext
27551 LIBS=$ac_check_lib_save_LIBS
27552 fi
27553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdda_interface_cdda_open" >&5
27554 $as_echo "$ac_cv_lib_cdda_interface_cdda_open" >&6; }
27555 if test "x$ac_cv_lib_cdda_interface_cdda_open" = x""yes; then :
27556   HAVE_CDPARANOIA=yes
27557 else
27558   HAVE_CDPARANOIA=no
27559 fi
27560
27561   if test "x$HAVE_CDPARANOIA" = "xyes"; then
27562     ac_fn_c_check_header_mongrel "$LINENO" "cdda_interface.h" "ac_cv_header_cdda_interface_h" "$ac_includes_default"
27563 if test "x$ac_cv_header_cdda_interface_h" = x""yes; then :
27564   :
27565 else
27566   HAVE_CDPARANOIA=no
27567 fi
27568
27569
27570     if test "x$HAVE_CDPARANOIA" = "xyes"; then
27571             CDPARANOIA_LIBS="-lcdda_interface -lcdda_paranoia"
27572                         HEADER_DIR="no"
27573                         FOUND_CDPARANOIA="yes"
27574     else
27575       :
27576     fi
27577   else
27578     :
27579   fi
27580
27581
27582
27583     if test "x$FOUND_CDPARANOIA" != "xyes";
27584     then
27585
27586   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cdda_open in -lcdda_interface" >&5
27587 $as_echo_n "checking for cdda_open in -lcdda_interface... " >&6; }
27588 if test "${ac_cv_lib_cdda_interface_cdda_open+set}" = set; then :
27589   $as_echo_n "(cached) " >&6
27590 else
27591   ac_check_lib_save_LIBS=$LIBS
27592 LIBS="-lcdda_interface -lm $LIBS"
27593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27594 /* end confdefs.h.  */
27595
27596 /* Override any GCC internal prototype to avoid an error.
27597    Use char because int might match the return type of a GCC
27598    builtin and then its argument prototype would still apply.  */
27599 #ifdef __cplusplus
27600 extern "C"
27601 #endif
27602 char cdda_open ();
27603 int
27604 main ()
27605 {
27606 return cdda_open ();
27607   ;
27608   return 0;
27609 }
27610 _ACEOF
27611 if ac_fn_c_try_link "$LINENO"; then :
27612   ac_cv_lib_cdda_interface_cdda_open=yes
27613 else
27614   ac_cv_lib_cdda_interface_cdda_open=no
27615 fi
27616 rm -f core conftest.err conftest.$ac_objext \
27617     conftest$ac_exeext conftest.$ac_ext
27618 LIBS=$ac_check_lib_save_LIBS
27619 fi
27620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdda_interface_cdda_open" >&5
27621 $as_echo "$ac_cv_lib_cdda_interface_cdda_open" >&6; }
27622 if test "x$ac_cv_lib_cdda_interface_cdda_open" = x""yes; then :
27623   HAVE_CDPARANOIA=yes
27624 else
27625   HAVE_CDPARANOIA=no
27626 fi
27627
27628   if test "x$HAVE_CDPARANOIA" = "xyes"; then
27629     ac_fn_c_check_header_mongrel "$LINENO" "cdda/cdda_interface.h" "ac_cv_header_cdda_cdda_interface_h" "$ac_includes_default"
27630 if test "x$ac_cv_header_cdda_cdda_interface_h" = x""yes; then :
27631   :
27632 else
27633   HAVE_CDPARANOIA=no
27634 fi
27635
27636
27637     if test "x$HAVE_CDPARANOIA" = "xyes"; then
27638             CDPARANOIA_LIBS="-lcdda_interface -lcdda_paranoia"
27639                           HEADER_DIR="yes"
27640                           FOUND_CDPARANOIA="yes"
27641     else
27642       :
27643     fi
27644   else
27645     :
27646   fi
27647
27648
27649
27650     fi
27651     if test "x$HEADER_DIR" = "xyes";
27652     then
27653
27654 cat >>confdefs.h <<_ACEOF
27655 #define CDPARANOIA_HEADERS_IN_DIR /**/
27656 _ACEOF
27657
27658     fi
27659     if test "x$FOUND_CDPARANOIA" = "xyes";
27660     then
27661       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for paranoia_cachemodel_size in -lcdda_paranoia" >&5
27662 $as_echo_n "checking for paranoia_cachemodel_size in -lcdda_paranoia... " >&6; }
27663 if test "${ac_cv_lib_cdda_paranoia_paranoia_cachemodel_size+set}" = set; then :
27664   $as_echo_n "(cached) " >&6
27665 else
27666   ac_check_lib_save_LIBS=$LIBS
27667 LIBS="-lcdda_paranoia -lcdda_interface $LIBS"
27668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27669 /* end confdefs.h.  */
27670
27671 /* Override any GCC internal prototype to avoid an error.
27672    Use char because int might match the return type of a GCC
27673    builtin and then its argument prototype would still apply.  */
27674 #ifdef __cplusplus
27675 extern "C"
27676 #endif
27677 char paranoia_cachemodel_size ();
27678 int
27679 main ()
27680 {
27681 return paranoia_cachemodel_size ();
27682   ;
27683   return 0;
27684 }
27685 _ACEOF
27686 if ac_fn_c_try_link "$LINENO"; then :
27687   ac_cv_lib_cdda_paranoia_paranoia_cachemodel_size=yes
27688 else
27689   ac_cv_lib_cdda_paranoia_paranoia_cachemodel_size=no
27690 fi
27691 rm -f core conftest.err conftest.$ac_objext \
27692     conftest$ac_exeext conftest.$ac_ext
27693 LIBS=$ac_check_lib_save_LIBS
27694 fi
27695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdda_paranoia_paranoia_cachemodel_size" >&5
27696 $as_echo "$ac_cv_lib_cdda_paranoia_paranoia_cachemodel_size" >&6; }
27697 if test "x$ac_cv_lib_cdda_paranoia_paranoia_cachemodel_size" = x""yes; then :
27698   :
27699 else
27700   HAVE_CDPARANOIA=no
27701 fi
27702
27703     fi
27704
27705
27706
27707 elif test $pkg_failed = untried; then
27708
27709
27710   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cdda_open in -lcdda_interface" >&5
27711 $as_echo_n "checking for cdda_open in -lcdda_interface... " >&6; }
27712 if test "${ac_cv_lib_cdda_interface_cdda_open+set}" = set; then :
27713   $as_echo_n "(cached) " >&6
27714 else
27715   ac_check_lib_save_LIBS=$LIBS
27716 LIBS="-lcdda_interface -lm $LIBS"
27717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27718 /* end confdefs.h.  */
27719
27720 /* Override any GCC internal prototype to avoid an error.
27721    Use char because int might match the return type of a GCC
27722    builtin and then its argument prototype would still apply.  */
27723 #ifdef __cplusplus
27724 extern "C"
27725 #endif
27726 char cdda_open ();
27727 int
27728 main ()
27729 {
27730 return cdda_open ();
27731   ;
27732   return 0;
27733 }
27734 _ACEOF
27735 if ac_fn_c_try_link "$LINENO"; then :
27736   ac_cv_lib_cdda_interface_cdda_open=yes
27737 else
27738   ac_cv_lib_cdda_interface_cdda_open=no
27739 fi
27740 rm -f core conftest.err conftest.$ac_objext \
27741     conftest$ac_exeext conftest.$ac_ext
27742 LIBS=$ac_check_lib_save_LIBS
27743 fi
27744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdda_interface_cdda_open" >&5
27745 $as_echo "$ac_cv_lib_cdda_interface_cdda_open" >&6; }
27746 if test "x$ac_cv_lib_cdda_interface_cdda_open" = x""yes; then :
27747   HAVE_CDPARANOIA=yes
27748 else
27749   HAVE_CDPARANOIA=no
27750 fi
27751
27752   if test "x$HAVE_CDPARANOIA" = "xyes"; then
27753     ac_fn_c_check_header_mongrel "$LINENO" "cdda_interface.h" "ac_cv_header_cdda_interface_h" "$ac_includes_default"
27754 if test "x$ac_cv_header_cdda_interface_h" = x""yes; then :
27755   :
27756 else
27757   HAVE_CDPARANOIA=no
27758 fi
27759
27760
27761     if test "x$HAVE_CDPARANOIA" = "xyes"; then
27762             CDPARANOIA_LIBS="-lcdda_interface -lcdda_paranoia"
27763                         HEADER_DIR="no"
27764                         FOUND_CDPARANOIA="yes"
27765     else
27766       :
27767     fi
27768   else
27769     :
27770   fi
27771
27772
27773
27774     if test "x$FOUND_CDPARANOIA" != "xyes";
27775     then
27776
27777   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cdda_open in -lcdda_interface" >&5
27778 $as_echo_n "checking for cdda_open in -lcdda_interface... " >&6; }
27779 if test "${ac_cv_lib_cdda_interface_cdda_open+set}" = set; then :
27780   $as_echo_n "(cached) " >&6
27781 else
27782   ac_check_lib_save_LIBS=$LIBS
27783 LIBS="-lcdda_interface -lm $LIBS"
27784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27785 /* end confdefs.h.  */
27786
27787 /* Override any GCC internal prototype to avoid an error.
27788    Use char because int might match the return type of a GCC
27789    builtin and then its argument prototype would still apply.  */
27790 #ifdef __cplusplus
27791 extern "C"
27792 #endif
27793 char cdda_open ();
27794 int
27795 main ()
27796 {
27797 return cdda_open ();
27798   ;
27799   return 0;
27800 }
27801 _ACEOF
27802 if ac_fn_c_try_link "$LINENO"; then :
27803   ac_cv_lib_cdda_interface_cdda_open=yes
27804 else
27805   ac_cv_lib_cdda_interface_cdda_open=no
27806 fi
27807 rm -f core conftest.err conftest.$ac_objext \
27808     conftest$ac_exeext conftest.$ac_ext
27809 LIBS=$ac_check_lib_save_LIBS
27810 fi
27811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdda_interface_cdda_open" >&5
27812 $as_echo "$ac_cv_lib_cdda_interface_cdda_open" >&6; }
27813 if test "x$ac_cv_lib_cdda_interface_cdda_open" = x""yes; then :
27814   HAVE_CDPARANOIA=yes
27815 else
27816   HAVE_CDPARANOIA=no
27817 fi
27818
27819   if test "x$HAVE_CDPARANOIA" = "xyes"; then
27820     ac_fn_c_check_header_mongrel "$LINENO" "cdda/cdda_interface.h" "ac_cv_header_cdda_cdda_interface_h" "$ac_includes_default"
27821 if test "x$ac_cv_header_cdda_cdda_interface_h" = x""yes; then :
27822   :
27823 else
27824   HAVE_CDPARANOIA=no
27825 fi
27826
27827
27828     if test "x$HAVE_CDPARANOIA" = "xyes"; then
27829             CDPARANOIA_LIBS="-lcdda_interface -lcdda_paranoia"
27830                           HEADER_DIR="yes"
27831                           FOUND_CDPARANOIA="yes"
27832     else
27833       :
27834     fi
27835   else
27836     :
27837   fi
27838
27839
27840
27841     fi
27842     if test "x$HEADER_DIR" = "xyes";
27843     then
27844
27845 cat >>confdefs.h <<_ACEOF
27846 #define CDPARANOIA_HEADERS_IN_DIR /**/
27847 _ACEOF
27848
27849     fi
27850     if test "x$FOUND_CDPARANOIA" = "xyes";
27851     then
27852       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for paranoia_cachemodel_size in -lcdda_paranoia" >&5
27853 $as_echo_n "checking for paranoia_cachemodel_size in -lcdda_paranoia... " >&6; }
27854 if test "${ac_cv_lib_cdda_paranoia_paranoia_cachemodel_size+set}" = set; then :
27855   $as_echo_n "(cached) " >&6
27856 else
27857   ac_check_lib_save_LIBS=$LIBS
27858 LIBS="-lcdda_paranoia -lcdda_interface $LIBS"
27859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27860 /* end confdefs.h.  */
27861
27862 /* Override any GCC internal prototype to avoid an error.
27863    Use char because int might match the return type of a GCC
27864    builtin and then its argument prototype would still apply.  */
27865 #ifdef __cplusplus
27866 extern "C"
27867 #endif
27868 char paranoia_cachemodel_size ();
27869 int
27870 main ()
27871 {
27872 return paranoia_cachemodel_size ();
27873   ;
27874   return 0;
27875 }
27876 _ACEOF
27877 if ac_fn_c_try_link "$LINENO"; then :
27878   ac_cv_lib_cdda_paranoia_paranoia_cachemodel_size=yes
27879 else
27880   ac_cv_lib_cdda_paranoia_paranoia_cachemodel_size=no
27881 fi
27882 rm -f core conftest.err conftest.$ac_objext \
27883     conftest$ac_exeext conftest.$ac_ext
27884 LIBS=$ac_check_lib_save_LIBS
27885 fi
27886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdda_paranoia_paranoia_cachemodel_size" >&5
27887 $as_echo "$ac_cv_lib_cdda_paranoia_paranoia_cachemodel_size" >&6; }
27888 if test "x$ac_cv_lib_cdda_paranoia_paranoia_cachemodel_size" = x""yes; then :
27889   :
27890 else
27891   HAVE_CDPARANOIA=no
27892 fi
27893
27894     fi
27895
27896
27897
27898 else
27899         CDPARANOIA_CFLAGS=$pkg_cv_CDPARANOIA_CFLAGS
27900         CDPARANOIA_LIBS=$pkg_cv_CDPARANOIA_LIBS
27901         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27902 $as_echo "yes" >&6; }
27903
27904     HAVE_CDPARANOIA="yes"
27905
27906 fi
27907
27908
27909   LIBS=$gst_check_save_LIBS
27910   LDFLAGS=$gst_check_save_LDFLAGS
27911   CFLAGS=$gst_check_save_CFLAGS
27912   CPPFLAGS=$gst_check_save_CPPFLAGS
27913   CXXFLAGS=$gst_check_save_CXXFLAGS
27914
27915     if test x$HAVE_CDPARANOIA = xno; then
27916     USE_CDPARANOIA=no
27917   else
27918     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: cdparanoia" >&5
27919 $as_echo "$as_me: *** These plugins will be built: cdparanoia" >&6;}
27920   fi
27921 fi
27922 if test x$USE_CDPARANOIA = xyes; then
27923   :
27924   if test "xcdparanoia" != "x"; then
27925     GST_PLUGINS_YES="\tcdparanoia\n$GST_PLUGINS_YES"
27926   fi
27927
27928 $as_echo "#define HAVE_CDPARANOIA /**/" >>confdefs.h
27929
27930 else
27931   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: cdparanoia" >&5
27932 $as_echo "$as_me: *** These plugins will not be built: cdparanoia" >&6;}
27933   if test "xcdparanoia" != "x"; then
27934     GST_PLUGINS_NO="\tcdparanoia\n$GST_PLUGINS_NO"
27935   fi
27936   :
27937 fi
27938  if test x$USE_CDPARANOIA = xyes; then
27939   USE_CDPARANOIA_TRUE=
27940   USE_CDPARANOIA_FALSE='#'
27941 else
27942   USE_CDPARANOIA_TRUE='#'
27943   USE_CDPARANOIA_FALSE=
27944 fi
27945
27946
27947
27948 echo
27949 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: GNOME VFS ***" >&5
27950 $as_echo "$as_me: *** checking feature: GNOME VFS ***" >&6;}
27951 if test "xgnomevfs" != "x"
27952 then
27953   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: gnomevfs ***" >&5
27954 $as_echo "$as_me: *** for plug-ins: gnomevfs ***" >&6;}
27955 fi
27956 NOUSE=
27957 if test "x$USE_GNOME_VFS" = "xno"; then
27958   NOUSE="yes"
27959 fi
27960 # Check whether --enable-gnome_vfs was given.
27961 if test "${enable_gnome_vfs+set}" = set; then :
27962   enableval=$enable_gnome_vfs;  case "${enableval}" in
27963       yes) USE_GNOME_VFS=yes;;
27964       no) USE_GNOME_VFS=no;;
27965       *) as_fn_error $? "bad value ${enableval} for --enable-gnome_vfs" "$LINENO" 5  ;;
27966     esac
27967 else
27968    USE_GNOME_VFS=yes
27969 fi
27970
27971 if test "x$NOUSE" = "xyes"; then
27972   USE_GNOME_VFS="no"
27973   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** gnomevfs pre-configured not to be built" >&5
27974 $as_echo "$as_me: WARNING: *** gnomevfs pre-configured not to be built" >&2;}
27975 fi
27976 NOUSE=
27977
27978
27979 if test x$USE_GNOME_VFS = xyes; then
27980
27981   gst_check_save_LIBS=$LIBS
27982   gst_check_save_LDFLAGS=$LDFLAGS
27983   gst_check_save_CFLAGS=$CFLAGS
27984   gst_check_save_CPPFLAGS=$CPPFLAGS
27985   gst_check_save_CXXFLAGS=$CXXFLAGS
27986
27987   HAVE_GNOME_VFS=no
27988
27989
27990 pkg_failed=no
27991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOME_VFS" >&5
27992 $as_echo_n "checking for GNOME_VFS... " >&6; }
27993
27994 if test -n "$PKG_CONFIG"; then
27995     if test -n "$GNOME_VFS_CFLAGS"; then
27996         pkg_cv_GNOME_VFS_CFLAGS="$GNOME_VFS_CFLAGS"
27997     else
27998         if test -n "$PKG_CONFIG" && \
27999     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0\""; } >&5
28000   ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0") 2>&5
28001   ac_status=$?
28002   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28003   test $ac_status = 0; }; then
28004   pkg_cv_GNOME_VFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0" 2>/dev/null`
28005 else
28006   pkg_failed=yes
28007 fi
28008     fi
28009 else
28010         pkg_failed=untried
28011 fi
28012 if test -n "$PKG_CONFIG"; then
28013     if test -n "$GNOME_VFS_LIBS"; then
28014         pkg_cv_GNOME_VFS_LIBS="$GNOME_VFS_LIBS"
28015     else
28016         if test -n "$PKG_CONFIG" && \
28017     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0\""; } >&5
28018   ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0") 2>&5
28019   ac_status=$?
28020   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28021   test $ac_status = 0; }; then
28022   pkg_cv_GNOME_VFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0" 2>/dev/null`
28023 else
28024   pkg_failed=yes
28025 fi
28026     fi
28027 else
28028         pkg_failed=untried
28029 fi
28030
28031
28032
28033 if test $pkg_failed = yes; then
28034
28035 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28036         _pkg_short_errors_supported=yes
28037 else
28038         _pkg_short_errors_supported=no
28039 fi
28040         if test $_pkg_short_errors_supported = yes; then
28041                 GNOME_VFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0"`
28042         else
28043                 GNOME_VFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0"`
28044         fi
28045         # Put the nasty error message in config.log where it belongs
28046         echo "$GNOME_VFS_PKG_ERRORS" >&5
28047
28048         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28049 $as_echo "no" >&6; }
28050
28051       HAVE_GNOME_VFS="no"
28052
28053
28054 elif test $pkg_failed = untried; then
28055
28056       HAVE_GNOME_VFS="no"
28057
28058
28059 else
28060         GNOME_VFS_CFLAGS=$pkg_cv_GNOME_VFS_CFLAGS
28061         GNOME_VFS_LIBS=$pkg_cv_GNOME_VFS_LIBS
28062         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28063 $as_echo "yes" >&6; }
28064
28065       HAVE_GNOME_VFS="yes"
28066
28067
28068       GNOME_VFS_MODULES_DIR="`$PKG_CONFIG --variable=modulesdir gnome-vfs-2.0`"
28069
28070 cat >>confdefs.h <<_ACEOF
28071 #define GNOME_VFS_MODULES_DIR "$GNOME_VFS_MODULES_DIR"
28072 _ACEOF
28073
28074
28075 fi
28076
28077
28078   LIBS=$gst_check_save_LIBS
28079   LDFLAGS=$gst_check_save_LDFLAGS
28080   CFLAGS=$gst_check_save_CFLAGS
28081   CPPFLAGS=$gst_check_save_CPPFLAGS
28082   CXXFLAGS=$gst_check_save_CXXFLAGS
28083
28084     if test x$HAVE_GNOME_VFS = xno; then
28085     USE_GNOME_VFS=no
28086   else
28087     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: gnomevfs" >&5
28088 $as_echo "$as_me: *** These plugins will be built: gnomevfs" >&6;}
28089   fi
28090 fi
28091 if test x$USE_GNOME_VFS = xyes; then
28092   :
28093   if test "xgnomevfs" != "x"; then
28094     GST_PLUGINS_YES="\tgnomevfs\n$GST_PLUGINS_YES"
28095   fi
28096
28097 $as_echo "#define HAVE_GNOME_VFS /**/" >>confdefs.h
28098
28099 else
28100   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: gnomevfs" >&5
28101 $as_echo "$as_me: *** These plugins will not be built: gnomevfs" >&6;}
28102   if test "xgnomevfs" != "x"; then
28103     GST_PLUGINS_NO="\tgnomevfs\n$GST_PLUGINS_NO"
28104   fi
28105   :
28106 fi
28107  if test x$USE_GNOME_VFS = xyes; then
28108   USE_GNOME_VFS_TRUE=
28109   USE_GNOME_VFS_FALSE='#'
28110 else
28111   USE_GNOME_VFS_TRUE='#'
28112   USE_GNOME_VFS_FALSE=
28113 fi
28114
28115
28116
28117 echo
28118 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: integer vorbis plug-in ***" >&5
28119 $as_echo "$as_me: *** checking feature: integer vorbis plug-in ***" >&6;}
28120 if test "xivorbisdec" != "x"
28121 then
28122   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: ivorbisdec ***" >&5
28123 $as_echo "$as_me: *** for plug-ins: ivorbisdec ***" >&6;}
28124 fi
28125 NOUSE=
28126 if test "x$USE_IVORBIS" = "xno"; then
28127   NOUSE="yes"
28128 fi
28129 # Check whether --enable-ivorbis was given.
28130 if test "${enable_ivorbis+set}" = set; then :
28131   enableval=$enable_ivorbis;  case "${enableval}" in
28132       yes) USE_IVORBIS=yes;;
28133       no) USE_IVORBIS=no;;
28134       *) as_fn_error $? "bad value ${enableval} for --enable-ivorbis" "$LINENO" 5  ;;
28135     esac
28136 else
28137    USE_IVORBIS=yes
28138 fi
28139
28140 if test "x$NOUSE" = "xyes"; then
28141   USE_IVORBIS="no"
28142   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** ivorbisdec pre-configured not to be built" >&5
28143 $as_echo "$as_me: WARNING: *** ivorbisdec pre-configured not to be built" >&2;}
28144 fi
28145 NOUSE=
28146
28147
28148 if test x$USE_IVORBIS = xyes; then
28149
28150   gst_check_save_LIBS=$LIBS
28151   gst_check_save_LDFLAGS=$LDFLAGS
28152   gst_check_save_CFLAGS=$CFLAGS
28153   gst_check_save_CPPFLAGS=$CPPFLAGS
28154   gst_check_save_CXXFLAGS=$CXXFLAGS
28155
28156   HAVE_IVORBIS=no
28157
28158
28159   which="vorbisidec"
28160     required="no"
28161
28162
28163 pkg_failed=no
28164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IVORBIS" >&5
28165 $as_echo_n "checking for IVORBIS... " >&6; }
28166
28167 if test -n "$PKG_CONFIG"; then
28168     if test -n "$IVORBIS_CFLAGS"; then
28169         pkg_cv_IVORBIS_CFLAGS="$IVORBIS_CFLAGS"
28170     else
28171         if test -n "$PKG_CONFIG" && \
28172     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
28173   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
28174   ac_status=$?
28175   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28176   test $ac_status = 0; }; then
28177   pkg_cv_IVORBIS_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
28178 else
28179   pkg_failed=yes
28180 fi
28181     fi
28182 else
28183         pkg_failed=untried
28184 fi
28185 if test -n "$PKG_CONFIG"; then
28186     if test -n "$IVORBIS_LIBS"; then
28187         pkg_cv_IVORBIS_LIBS="$IVORBIS_LIBS"
28188     else
28189         if test -n "$PKG_CONFIG" && \
28190     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
28191   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
28192   ac_status=$?
28193   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28194   test $ac_status = 0; }; then
28195   pkg_cv_IVORBIS_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
28196 else
28197   pkg_failed=yes
28198 fi
28199     fi
28200 else
28201         pkg_failed=untried
28202 fi
28203
28204
28205
28206 if test $pkg_failed = yes; then
28207
28208 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28209         _pkg_short_errors_supported=yes
28210 else
28211         _pkg_short_errors_supported=no
28212 fi
28213         if test $_pkg_short_errors_supported = yes; then
28214                 IVORBIS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
28215         else
28216                 IVORBIS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
28217         fi
28218         # Put the nasty error message in config.log where it belongs
28219         echo "$IVORBIS_PKG_ERRORS" >&5
28220
28221         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28222 $as_echo "no" >&6; }
28223
28224       HAVE_IVORBIS="no"
28225       if test "x$required" = "xyes"; then
28226         as_fn_error $? "$IVORBIS_PKG_ERRORS" "$LINENO" 5
28227       else
28228         { $as_echo "$as_me:${as_lineno-$LINENO}: $IVORBIS_PKG_ERRORS" >&5
28229 $as_echo "$as_me: $IVORBIS_PKG_ERRORS" >&6;}
28230       fi
28231
28232 elif test $pkg_failed = untried; then
28233
28234       HAVE_IVORBIS="no"
28235       if test "x$required" = "xyes"; then
28236         as_fn_error $? "$IVORBIS_PKG_ERRORS" "$LINENO" 5
28237       else
28238         { $as_echo "$as_me:${as_lineno-$LINENO}: $IVORBIS_PKG_ERRORS" >&5
28239 $as_echo "$as_me: $IVORBIS_PKG_ERRORS" >&6;}
28240       fi
28241
28242 else
28243         IVORBIS_CFLAGS=$pkg_cv_IVORBIS_CFLAGS
28244         IVORBIS_LIBS=$pkg_cv_IVORBIS_LIBS
28245         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28246 $as_echo "yes" >&6; }
28247
28248       HAVE_IVORBIS="yes"
28249
28250 fi
28251
28252
28253   if test $HAVE_IVORBIS = no
28254   then
28255     IVORBIS_LIBS=
28256     IVORBIS_CFLAGS=
28257     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vorbis_block_init in -lvorbisidec" >&5
28258 $as_echo_n "checking for vorbis_block_init in -lvorbisidec... " >&6; }
28259 if test "${ac_cv_lib_vorbisidec_vorbis_block_init+set}" = set; then :
28260   $as_echo_n "(cached) " >&6
28261 else
28262   ac_check_lib_save_LIBS=$LIBS
28263 LIBS="-lvorbisidec  $LIBS"
28264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28265 /* end confdefs.h.  */
28266
28267 /* Override any GCC internal prototype to avoid an error.
28268    Use char because int might match the return type of a GCC
28269    builtin and then its argument prototype would still apply.  */
28270 #ifdef __cplusplus
28271 extern "C"
28272 #endif
28273 char vorbis_block_init ();
28274 int
28275 main ()
28276 {
28277 return vorbis_block_init ();
28278   ;
28279   return 0;
28280 }
28281 _ACEOF
28282 if ac_fn_c_try_link "$LINENO"; then :
28283   ac_cv_lib_vorbisidec_vorbis_block_init=yes
28284 else
28285   ac_cv_lib_vorbisidec_vorbis_block_init=no
28286 fi
28287 rm -f core conftest.err conftest.$ac_objext \
28288     conftest$ac_exeext conftest.$ac_ext
28289 LIBS=$ac_check_lib_save_LIBS
28290 fi
28291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_vorbisidec_vorbis_block_init" >&5
28292 $as_echo "$ac_cv_lib_vorbisidec_vorbis_block_init" >&6; }
28293 if test "x$ac_cv_lib_vorbisidec_vorbis_block_init" = x""yes; then :
28294   IVORBIS_LIBS=-lvorbisidec
28295       HAVE_IVORBIS=yes
28296       case $host in
28297       arm-*-*)
28298         IVORBIS_CFLAGS="-D_ARM_ASSEM_ $IVORBIS_CFLAGS"
28299       esac
28300
28301 else
28302   HAVE_IVORBIS=no
28303 fi
28304
28305
28306
28307   else
28308     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vorbis_dsp_pcmout in -lvorbisidec" >&5
28309 $as_echo_n "checking for vorbis_dsp_pcmout in -lvorbisidec... " >&6; }
28310 if test "${ac_cv_lib_vorbisidec_vorbis_dsp_pcmout+set}" = set; then :
28311   $as_echo_n "(cached) " >&6
28312 else
28313   ac_check_lib_save_LIBS=$LIBS
28314 LIBS="-lvorbisidec  $LIBS"
28315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28316 /* end confdefs.h.  */
28317
28318 /* Override any GCC internal prototype to avoid an error.
28319    Use char because int might match the return type of a GCC
28320    builtin and then its argument prototype would still apply.  */
28321 #ifdef __cplusplus
28322 extern "C"
28323 #endif
28324 char vorbis_dsp_pcmout ();
28325 int
28326 main ()
28327 {
28328 return vorbis_dsp_pcmout ();
28329   ;
28330   return 0;
28331 }
28332 _ACEOF
28333 if ac_fn_c_try_link "$LINENO"; then :
28334   ac_cv_lib_vorbisidec_vorbis_dsp_pcmout=yes
28335 else
28336   ac_cv_lib_vorbisidec_vorbis_dsp_pcmout=no
28337 fi
28338 rm -f core conftest.err conftest.$ac_objext \
28339     conftest$ac_exeext conftest.$ac_ext
28340 LIBS=$ac_check_lib_save_LIBS
28341 fi
28342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_vorbisidec_vorbis_dsp_pcmout" >&5
28343 $as_echo "$ac_cv_lib_vorbisidec_vorbis_dsp_pcmout" >&6; }
28344 if test "x$ac_cv_lib_vorbisidec_vorbis_dsp_pcmout" = x""yes; then :
28345
28346 $as_echo "#define USE_TREMOLO 1" >>confdefs.h
28347
28348 else
28349   USE_TREMOLO=no
28350 fi
28351
28352   fi
28353
28354
28355   LIBS=$gst_check_save_LIBS
28356   LDFLAGS=$gst_check_save_LDFLAGS
28357   CFLAGS=$gst_check_save_CFLAGS
28358   CPPFLAGS=$gst_check_save_CPPFLAGS
28359   CXXFLAGS=$gst_check_save_CXXFLAGS
28360
28361     if test x$HAVE_IVORBIS = xno; then
28362     USE_IVORBIS=no
28363   else
28364     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: ivorbisdec" >&5
28365 $as_echo "$as_me: *** These plugins will be built: ivorbisdec" >&6;}
28366   fi
28367 fi
28368 if test x$USE_IVORBIS = xyes; then
28369   :
28370   if test "xivorbisdec" != "x"; then
28371     GST_PLUGINS_YES="\tivorbisdec\n$GST_PLUGINS_YES"
28372   fi
28373
28374 $as_echo "#define HAVE_IVORBIS /**/" >>confdefs.h
28375
28376 else
28377   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: ivorbisdec" >&5
28378 $as_echo "$as_me: *** These plugins will not be built: ivorbisdec" >&6;}
28379   if test "xivorbisdec" != "x"; then
28380     GST_PLUGINS_NO="\tivorbisdec\n$GST_PLUGINS_NO"
28381   fi
28382   :
28383 fi
28384  if test x$USE_IVORBIS = xyes; then
28385   USE_IVORBIS_TRUE=
28386   USE_IVORBIS_FALSE='#'
28387 else
28388   USE_IVORBIS_TRUE='#'
28389   USE_IVORBIS_FALSE=
28390 fi
28391
28392
28393
28394 echo
28395 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: GIO library ***" >&5
28396 $as_echo "$as_me: *** checking feature: GIO library ***" >&6;}
28397 if test "xgio" != "x"
28398 then
28399   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: gio ***" >&5
28400 $as_echo "$as_me: *** for plug-ins: gio ***" >&6;}
28401 fi
28402 NOUSE=
28403 if test "x$USE_GIO" = "xno"; then
28404   NOUSE="yes"
28405 fi
28406 # Check whether --enable-gio was given.
28407 if test "${enable_gio+set}" = set; then :
28408   enableval=$enable_gio;  case "${enableval}" in
28409       yes) USE_GIO=yes;;
28410       no) USE_GIO=no;;
28411       *) as_fn_error $? "bad value ${enableval} for --enable-gio" "$LINENO" 5  ;;
28412     esac
28413 else
28414    USE_GIO=yes
28415 fi
28416
28417 if test "x$NOUSE" = "xyes"; then
28418   USE_GIO="no"
28419   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** gio pre-configured not to be built" >&5
28420 $as_echo "$as_me: WARNING: *** gio pre-configured not to be built" >&2;}
28421 fi
28422 NOUSE=
28423
28424
28425 if test x$USE_GIO = xyes; then
28426
28427   gst_check_save_LIBS=$LIBS
28428   gst_check_save_LDFLAGS=$LDFLAGS
28429   gst_check_save_CFLAGS=$CFLAGS
28430   gst_check_save_CPPFLAGS=$CPPFLAGS
28431   gst_check_save_CXXFLAGS=$CXXFLAGS
28432
28433   HAVE_GIO=no
28434
28435
28436 pkg_failed=no
28437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO" >&5
28438 $as_echo_n "checking for GIO... " >&6; }
28439
28440 if test -n "$PKG_CONFIG"; then
28441     if test -n "$GIO_CFLAGS"; then
28442         pkg_cv_GIO_CFLAGS="$GIO_CFLAGS"
28443     else
28444         if test -n "$PKG_CONFIG" && \
28445     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.16\""; } >&5
28446   ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.16") 2>&5
28447   ac_status=$?
28448   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28449   test $ac_status = 0; }; then
28450   pkg_cv_GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= 2.16" 2>/dev/null`
28451 else
28452   pkg_failed=yes
28453 fi
28454     fi
28455 else
28456         pkg_failed=untried
28457 fi
28458 if test -n "$PKG_CONFIG"; then
28459     if test -n "$GIO_LIBS"; then
28460         pkg_cv_GIO_LIBS="$GIO_LIBS"
28461     else
28462         if test -n "$PKG_CONFIG" && \
28463     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.16\""; } >&5
28464   ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.16") 2>&5
28465   ac_status=$?
28466   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28467   test $ac_status = 0; }; then
28468   pkg_cv_GIO_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= 2.16" 2>/dev/null`
28469 else
28470   pkg_failed=yes
28471 fi
28472     fi
28473 else
28474         pkg_failed=untried
28475 fi
28476
28477
28478
28479 if test $pkg_failed = yes; then
28480
28481 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28482         _pkg_short_errors_supported=yes
28483 else
28484         _pkg_short_errors_supported=no
28485 fi
28486         if test $_pkg_short_errors_supported = yes; then
28487                 GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gio-2.0 >= 2.16"`
28488         else
28489                 GIO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gio-2.0 >= 2.16"`
28490         fi
28491         # Put the nasty error message in config.log where it belongs
28492         echo "$GIO_PKG_ERRORS" >&5
28493
28494         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28495 $as_echo "no" >&6; }
28496
28497     HAVE_GIO="no"
28498
28499 elif test $pkg_failed = untried; then
28500
28501     HAVE_GIO="no"
28502
28503 else
28504         GIO_CFLAGS=$pkg_cv_GIO_CFLAGS
28505         GIO_LIBS=$pkg_cv_GIO_LIBS
28506         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28507 $as_echo "yes" >&6; }
28508
28509     HAVE_GIO="yes"
28510     GIO_MODULE_DIR="`$PKG_CONFIG --variable=giomoduledir gio-2.0`"
28511
28512 cat >>confdefs.h <<_ACEOF
28513 #define GIO_MODULE_DIR "$GIO_MODULE_DIR"
28514 _ACEOF
28515
28516     GIO_LIBDIR="`$PKG_CONFIG --variable=libdir gio-2.0`"
28517
28518 cat >>confdefs.h <<_ACEOF
28519 #define GIO_LIBDIR "$GIO_LIBDIR"
28520 _ACEOF
28521
28522
28523 fi
28524
28525
28526
28527
28528
28529   LIBS=$gst_check_save_LIBS
28530   LDFLAGS=$gst_check_save_LDFLAGS
28531   CFLAGS=$gst_check_save_CFLAGS
28532   CPPFLAGS=$gst_check_save_CPPFLAGS
28533   CXXFLAGS=$gst_check_save_CXXFLAGS
28534
28535     if test x$HAVE_GIO = xno; then
28536     USE_GIO=no
28537   else
28538     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: gio" >&5
28539 $as_echo "$as_me: *** These plugins will be built: gio" >&6;}
28540   fi
28541 fi
28542 if test x$USE_GIO = xyes; then
28543   :
28544   if test "xgio" != "x"; then
28545     GST_PLUGINS_YES="\tgio\n$GST_PLUGINS_YES"
28546   fi
28547
28548 $as_echo "#define HAVE_GIO /**/" >>confdefs.h
28549
28550 else
28551   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: gio" >&5
28552 $as_echo "$as_me: *** These plugins will not be built: gio" >&6;}
28553   if test "xgio" != "x"; then
28554     GST_PLUGINS_NO="\tgio\n$GST_PLUGINS_NO"
28555   fi
28556   :
28557 fi
28558  if test x$USE_GIO = xyes; then
28559   USE_GIO_TRUE=
28560   USE_GIO_FALSE='#'
28561 else
28562   USE_GIO_TRUE='#'
28563   USE_GIO_FALSE=
28564 fi
28565
28566
28567
28568 echo
28569 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: libvisual visualization library ***" >&5
28570 $as_echo "$as_me: *** checking feature: libvisual visualization library ***" >&6;}
28571 if test "xlibvisual" != "x"
28572 then
28573   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: libvisual ***" >&5
28574 $as_echo "$as_me: *** for plug-ins: libvisual ***" >&6;}
28575 fi
28576 NOUSE=
28577 if test "x$USE_LIBVISUAL" = "xno"; then
28578   NOUSE="yes"
28579 fi
28580 # Check whether --enable-libvisual was given.
28581 if test "${enable_libvisual+set}" = set; then :
28582   enableval=$enable_libvisual;  case "${enableval}" in
28583       yes) USE_LIBVISUAL=yes;;
28584       no) USE_LIBVISUAL=no;;
28585       *) as_fn_error $? "bad value ${enableval} for --enable-libvisual" "$LINENO" 5  ;;
28586     esac
28587 else
28588    USE_LIBVISUAL=yes
28589 fi
28590
28591 if test "x$NOUSE" = "xyes"; then
28592   USE_LIBVISUAL="no"
28593   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** libvisual pre-configured not to be built" >&5
28594 $as_echo "$as_me: WARNING: *** libvisual pre-configured not to be built" >&2;}
28595 fi
28596 NOUSE=
28597
28598
28599 if test x$USE_LIBVISUAL = xyes; then
28600
28601   gst_check_save_LIBS=$LIBS
28602   gst_check_save_LDFLAGS=$LDFLAGS
28603   gst_check_save_CFLAGS=$CFLAGS
28604   gst_check_save_CPPFLAGS=$CPPFLAGS
28605   gst_check_save_CXXFLAGS=$CXXFLAGS
28606
28607   HAVE_LIBVISUAL=no
28608
28609
28610   which="libvisual-0.4 >= 0.4.0"
28611     required="no"
28612
28613
28614 pkg_failed=no
28615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBVISUAL" >&5
28616 $as_echo_n "checking for LIBVISUAL... " >&6; }
28617
28618 if test -n "$PKG_CONFIG"; then
28619     if test -n "$LIBVISUAL_CFLAGS"; then
28620         pkg_cv_LIBVISUAL_CFLAGS="$LIBVISUAL_CFLAGS"
28621     else
28622         if test -n "$PKG_CONFIG" && \
28623     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
28624   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
28625   ac_status=$?
28626   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28627   test $ac_status = 0; }; then
28628   pkg_cv_LIBVISUAL_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
28629 else
28630   pkg_failed=yes
28631 fi
28632     fi
28633 else
28634         pkg_failed=untried
28635 fi
28636 if test -n "$PKG_CONFIG"; then
28637     if test -n "$LIBVISUAL_LIBS"; then
28638         pkg_cv_LIBVISUAL_LIBS="$LIBVISUAL_LIBS"
28639     else
28640         if test -n "$PKG_CONFIG" && \
28641     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
28642   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
28643   ac_status=$?
28644   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28645   test $ac_status = 0; }; then
28646   pkg_cv_LIBVISUAL_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
28647 else
28648   pkg_failed=yes
28649 fi
28650     fi
28651 else
28652         pkg_failed=untried
28653 fi
28654
28655
28656
28657 if test $pkg_failed = yes; then
28658
28659 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28660         _pkg_short_errors_supported=yes
28661 else
28662         _pkg_short_errors_supported=no
28663 fi
28664         if test $_pkg_short_errors_supported = yes; then
28665                 LIBVISUAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
28666         else
28667                 LIBVISUAL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
28668         fi
28669         # Put the nasty error message in config.log where it belongs
28670         echo "$LIBVISUAL_PKG_ERRORS" >&5
28671
28672         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28673 $as_echo "no" >&6; }
28674
28675       HAVE_LIBVISUAL="no"
28676       if test "x$required" = "xyes"; then
28677         as_fn_error $? "$LIBVISUAL_PKG_ERRORS" "$LINENO" 5
28678       else
28679         { $as_echo "$as_me:${as_lineno-$LINENO}: $LIBVISUAL_PKG_ERRORS" >&5
28680 $as_echo "$as_me: $LIBVISUAL_PKG_ERRORS" >&6;}
28681       fi
28682
28683 elif test $pkg_failed = untried; then
28684
28685       HAVE_LIBVISUAL="no"
28686       if test "x$required" = "xyes"; then
28687         as_fn_error $? "$LIBVISUAL_PKG_ERRORS" "$LINENO" 5
28688       else
28689         { $as_echo "$as_me:${as_lineno-$LINENO}: $LIBVISUAL_PKG_ERRORS" >&5
28690 $as_echo "$as_me: $LIBVISUAL_PKG_ERRORS" >&6;}
28691       fi
28692
28693 else
28694         LIBVISUAL_CFLAGS=$pkg_cv_LIBVISUAL_CFLAGS
28695         LIBVISUAL_LIBS=$pkg_cv_LIBVISUAL_LIBS
28696         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28697 $as_echo "yes" >&6; }
28698
28699       HAVE_LIBVISUAL="yes"
28700
28701 fi
28702
28703
28704   if test $HAVE_LIBVISUAL = no
28705   then
28706
28707   which="libvisual = 0.2.0"
28708     required="no"
28709
28710
28711 pkg_failed=no
28712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBVISUAL" >&5
28713 $as_echo_n "checking for LIBVISUAL... " >&6; }
28714
28715 if test -n "$PKG_CONFIG"; then
28716     if test -n "$LIBVISUAL_CFLAGS"; then
28717         pkg_cv_LIBVISUAL_CFLAGS="$LIBVISUAL_CFLAGS"
28718     else
28719         if test -n "$PKG_CONFIG" && \
28720     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
28721   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
28722   ac_status=$?
28723   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28724   test $ac_status = 0; }; then
28725   pkg_cv_LIBVISUAL_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
28726 else
28727   pkg_failed=yes
28728 fi
28729     fi
28730 else
28731         pkg_failed=untried
28732 fi
28733 if test -n "$PKG_CONFIG"; then
28734     if test -n "$LIBVISUAL_LIBS"; then
28735         pkg_cv_LIBVISUAL_LIBS="$LIBVISUAL_LIBS"
28736     else
28737         if test -n "$PKG_CONFIG" && \
28738     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
28739   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
28740   ac_status=$?
28741   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28742   test $ac_status = 0; }; then
28743   pkg_cv_LIBVISUAL_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
28744 else
28745   pkg_failed=yes
28746 fi
28747     fi
28748 else
28749         pkg_failed=untried
28750 fi
28751
28752
28753
28754 if test $pkg_failed = yes; then
28755
28756 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28757         _pkg_short_errors_supported=yes
28758 else
28759         _pkg_short_errors_supported=no
28760 fi
28761         if test $_pkg_short_errors_supported = yes; then
28762                 LIBVISUAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
28763         else
28764                 LIBVISUAL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
28765         fi
28766         # Put the nasty error message in config.log where it belongs
28767         echo "$LIBVISUAL_PKG_ERRORS" >&5
28768
28769         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28770 $as_echo "no" >&6; }
28771
28772       HAVE_LIBVISUAL="no"
28773       if test "x$required" = "xyes"; then
28774         as_fn_error $? "$LIBVISUAL_PKG_ERRORS" "$LINENO" 5
28775       else
28776         { $as_echo "$as_me:${as_lineno-$LINENO}: $LIBVISUAL_PKG_ERRORS" >&5
28777 $as_echo "$as_me: $LIBVISUAL_PKG_ERRORS" >&6;}
28778       fi
28779
28780 elif test $pkg_failed = untried; then
28781
28782       HAVE_LIBVISUAL="no"
28783       if test "x$required" = "xyes"; then
28784         as_fn_error $? "$LIBVISUAL_PKG_ERRORS" "$LINENO" 5
28785       else
28786         { $as_echo "$as_me:${as_lineno-$LINENO}: $LIBVISUAL_PKG_ERRORS" >&5
28787 $as_echo "$as_me: $LIBVISUAL_PKG_ERRORS" >&6;}
28788       fi
28789
28790 else
28791         LIBVISUAL_CFLAGS=$pkg_cv_LIBVISUAL_CFLAGS
28792         LIBVISUAL_LIBS=$pkg_cv_LIBVISUAL_LIBS
28793         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28794 $as_echo "yes" >&6; }
28795
28796       HAVE_LIBVISUAL="yes"
28797
28798 fi
28799
28800
28801     if test x$HAVE_LIBVISUAL = xyes; then
28802       LIBVIS_PLUGINSDIR="`$PKG_CONFIG --variable=pluginsbasedir libvisual-0.2`"
28803     fi
28804   else
28805     if test x$HAVE_LIBVISUAL = xyes; then
28806       LIBVIS_PLUGINSDIR="`$PKG_CONFIG --variable=pluginsbasedir libvisual-0.4`"
28807     fi
28808   fi
28809   { $as_echo "$as_me:${as_lineno-$LINENO}: libvisual pluginsdir: $LIBVIS_PLUGINSDIR" >&5
28810 $as_echo "$as_me: libvisual pluginsdir: $LIBVIS_PLUGINSDIR" >&6;}
28811   if test x$LIBVIS_PLUGINSDIR != x; then
28812
28813 cat >>confdefs.h <<_ACEOF
28814 #define LIBVISUAL_PLUGINSBASEDIR "$LIBVIS_PLUGINSDIR"
28815 _ACEOF
28816
28817   fi
28818
28819
28820   LIBS=$gst_check_save_LIBS
28821   LDFLAGS=$gst_check_save_LDFLAGS
28822   CFLAGS=$gst_check_save_CFLAGS
28823   CPPFLAGS=$gst_check_save_CPPFLAGS
28824   CXXFLAGS=$gst_check_save_CXXFLAGS
28825
28826     if test x$HAVE_LIBVISUAL = xno; then
28827     USE_LIBVISUAL=no
28828   else
28829     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: libvisual" >&5
28830 $as_echo "$as_me: *** These plugins will be built: libvisual" >&6;}
28831   fi
28832 fi
28833 if test x$USE_LIBVISUAL = xyes; then
28834   :
28835   if test "xlibvisual" != "x"; then
28836     GST_PLUGINS_YES="\tlibvisual\n$GST_PLUGINS_YES"
28837   fi
28838
28839 $as_echo "#define HAVE_LIBVISUAL /**/" >>confdefs.h
28840
28841 else
28842   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: libvisual" >&5
28843 $as_echo "$as_me: *** These plugins will not be built: libvisual" >&6;}
28844   if test "xlibvisual" != "x"; then
28845     GST_PLUGINS_NO="\tlibvisual\n$GST_PLUGINS_NO"
28846   fi
28847   :
28848 fi
28849  if test x$USE_LIBVISUAL = xyes; then
28850   USE_LIBVISUAL_TRUE=
28851   USE_LIBVISUAL_FALSE='#'
28852 else
28853   USE_LIBVISUAL_TRUE='#'
28854   USE_LIBVISUAL_FALSE=
28855 fi
28856
28857
28858
28859 echo
28860 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Xiph Ogg library ***" >&5
28861 $as_echo "$as_me: *** checking feature: Xiph Ogg library ***" >&6;}
28862 if test "xogg" != "x"
28863 then
28864   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: ogg ***" >&5
28865 $as_echo "$as_me: *** for plug-ins: ogg ***" >&6;}
28866 fi
28867 NOUSE=
28868 if test "x$USE_OGG" = "xno"; then
28869   NOUSE="yes"
28870 fi
28871 # Check whether --enable-ogg was given.
28872 if test "${enable_ogg+set}" = set; then :
28873   enableval=$enable_ogg;  case "${enableval}" in
28874       yes) USE_OGG=yes;;
28875       no) USE_OGG=no;;
28876       *) as_fn_error $? "bad value ${enableval} for --enable-ogg" "$LINENO" 5  ;;
28877     esac
28878 else
28879    USE_OGG=yes
28880 fi
28881
28882 if test "x$NOUSE" = "xyes"; then
28883   USE_OGG="no"
28884   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** ogg pre-configured not to be built" >&5
28885 $as_echo "$as_me: WARNING: *** ogg pre-configured not to be built" >&2;}
28886 fi
28887 NOUSE=
28888
28889
28890 if test x$USE_OGG = xyes; then
28891
28892   gst_check_save_LIBS=$LIBS
28893   gst_check_save_LDFLAGS=$LDFLAGS
28894   gst_check_save_CFLAGS=$CFLAGS
28895   gst_check_save_CPPFLAGS=$CPPFLAGS
28896   gst_check_save_CXXFLAGS=$CXXFLAGS
28897
28898   HAVE_OGG=no
28899
28900
28901   which="ogg >= 1.0"
28902     required="no"
28903
28904
28905 pkg_failed=no
28906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OGG" >&5
28907 $as_echo_n "checking for OGG... " >&6; }
28908
28909 if test -n "$PKG_CONFIG"; then
28910     if test -n "$OGG_CFLAGS"; then
28911         pkg_cv_OGG_CFLAGS="$OGG_CFLAGS"
28912     else
28913         if test -n "$PKG_CONFIG" && \
28914     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
28915   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
28916   ac_status=$?
28917   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28918   test $ac_status = 0; }; then
28919   pkg_cv_OGG_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
28920 else
28921   pkg_failed=yes
28922 fi
28923     fi
28924 else
28925         pkg_failed=untried
28926 fi
28927 if test -n "$PKG_CONFIG"; then
28928     if test -n "$OGG_LIBS"; then
28929         pkg_cv_OGG_LIBS="$OGG_LIBS"
28930     else
28931         if test -n "$PKG_CONFIG" && \
28932     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
28933   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
28934   ac_status=$?
28935   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28936   test $ac_status = 0; }; then
28937   pkg_cv_OGG_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
28938 else
28939   pkg_failed=yes
28940 fi
28941     fi
28942 else
28943         pkg_failed=untried
28944 fi
28945
28946
28947
28948 if test $pkg_failed = yes; then
28949
28950 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28951         _pkg_short_errors_supported=yes
28952 else
28953         _pkg_short_errors_supported=no
28954 fi
28955         if test $_pkg_short_errors_supported = yes; then
28956                 OGG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
28957         else
28958                 OGG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
28959         fi
28960         # Put the nasty error message in config.log where it belongs
28961         echo "$OGG_PKG_ERRORS" >&5
28962
28963         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28964 $as_echo "no" >&6; }
28965
28966       HAVE_OGG="no"
28967       if test "x$required" = "xyes"; then
28968         as_fn_error $? "$OGG_PKG_ERRORS" "$LINENO" 5
28969       else
28970         { $as_echo "$as_me:${as_lineno-$LINENO}: $OGG_PKG_ERRORS" >&5
28971 $as_echo "$as_me: $OGG_PKG_ERRORS" >&6;}
28972       fi
28973
28974 elif test $pkg_failed = untried; then
28975
28976       HAVE_OGG="no"
28977       if test "x$required" = "xyes"; then
28978         as_fn_error $? "$OGG_PKG_ERRORS" "$LINENO" 5
28979       else
28980         { $as_echo "$as_me:${as_lineno-$LINENO}: $OGG_PKG_ERRORS" >&5
28981 $as_echo "$as_me: $OGG_PKG_ERRORS" >&6;}
28982       fi
28983
28984 else
28985         OGG_CFLAGS=$pkg_cv_OGG_CFLAGS
28986         OGG_LIBS=$pkg_cv_OGG_LIBS
28987         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28988 $as_echo "yes" >&6; }
28989
28990       HAVE_OGG="yes"
28991
28992 fi
28993
28994
28995   if test $HAVE_OGG = no
28996   then
28997
28998 # Check whether --with-ogg was given.
28999 if test "${with_ogg+set}" = set; then :
29000   withval=$with_ogg; ogg_prefix="$withval"
29001 else
29002   ogg_prefix=""
29003 fi
29004
29005
29006 # Check whether --with-ogg-libraries was given.
29007 if test "${with_ogg_libraries+set}" = set; then :
29008   withval=$with_ogg_libraries; ogg_libraries="$withval"
29009 else
29010   ogg_libraries=""
29011 fi
29012
29013
29014 # Check whether --with-ogg-includes was given.
29015 if test "${with_ogg_includes+set}" = set; then :
29016   withval=$with_ogg_includes; ogg_includes="$withval"
29017 else
29018   ogg_includes=""
29019 fi
29020
29021 # Check whether --enable-oggtest was given.
29022 if test "${enable_oggtest+set}" = set; then :
29023   enableval=$enable_oggtest;
29024 else
29025   enable_oggtest=yes
29026 fi
29027
29028
29029   if test "x$ogg_libraries" != "x" ; then
29030     OGG_LIBS="-L$ogg_libraries"
29031   elif test "x$ogg_prefix" != "x" ; then
29032     OGG_LIBS="-L$ogg_prefix/lib"
29033   elif test "x$prefix" != "xNONE" ; then
29034     OGG_LIBS="-L$prefix/lib"
29035   fi
29036
29037   OGG_LIBS="$OGG_LIBS -logg"
29038
29039   if test "x$ogg_includes" != "x" ; then
29040     OGG_CFLAGS="-I$ogg_includes"
29041   elif test "x$ogg_prefix" != "x" ; then
29042     OGG_CFLAGS="-I$ogg_prefix/include"
29043   elif test "x$prefix" != "xNONE"; then
29044     OGG_CFLAGS="-I$prefix/include"
29045   fi
29046
29047   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ogg" >&5
29048 $as_echo_n "checking for Ogg... " >&6; }
29049   no_ogg=""
29050
29051
29052   if test "x$enable_oggtest" = "xyes" ; then
29053     ac_save_CFLAGS="$CFLAGS"
29054     ac_save_LIBS="$LIBS"
29055     CFLAGS="$CFLAGS $OGG_CFLAGS"
29056     LIBS="$LIBS $OGG_LIBS"
29057       rm -f conf.oggtest
29058       if test "$cross_compiling" = yes; then :
29059   echo $ac_n "cross compiling; assumed OK... $ac_c"
29060 else
29061   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29062 /* end confdefs.h.  */
29063
29064 #include <stdio.h>
29065 #include <stdlib.h>
29066 #include <string.h>
29067 #include <ogg/ogg.h>
29068
29069 int main ()
29070 {
29071   system("touch conf.oggtest");
29072   return 0;
29073 }
29074
29075
29076 _ACEOF
29077 if ac_fn_c_try_run "$LINENO"; then :
29078
29079 else
29080   no_ogg=yes
29081 fi
29082 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
29083   conftest.$ac_objext conftest.beam conftest.$ac_ext
29084 fi
29085
29086        CFLAGS="$ac_save_CFLAGS"
29087        LIBS="$ac_save_LIBS"
29088   fi
29089
29090   if test "x$no_ogg" = "x" ; then
29091      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29092 $as_echo "yes" >&6; }
29093      HAVE_OGG="yes"
29094   else
29095      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29096 $as_echo "no" >&6; }
29097      if test -f conf.oggtest ; then
29098        :
29099      else
29100        echo "*** Could not run Ogg test program, checking why..."
29101        CFLAGS="$CFLAGS $OGG_CFLAGS"
29102        LIBS="$LIBS $OGG_LIBS"
29103        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29104 /* end confdefs.h.  */
29105
29106 #include <stdio.h>
29107 #include <ogg/ogg.h>
29108
29109 int
29110 main ()
29111 {
29112  return 0;
29113   ;
29114   return 0;
29115 }
29116 _ACEOF
29117 if ac_fn_c_try_link "$LINENO"; then :
29118    echo "*** The test program compiled, but did not run. This usually means"
29119        echo "*** that the run-time linker is not finding Ogg or finding the wrong"
29120        echo "*** version of Ogg. If it is not finding Ogg, you'll need to set your"
29121        echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29122        echo "*** to the installed location  Also, make sure you have run ldconfig if that"
29123        echo "*** is required on your system"
29124        echo "***"
29125        echo "*** If you have an old version installed, it is best to remove it, although"
29126        echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29127 else
29128    echo "*** The test program failed to compile or link. See the file config.log for the"
29129        echo "*** exact error that occured. This usually means Ogg was incorrectly installed"
29130        echo "*** or that you have moved Ogg since it was installed."
29131 fi
29132 rm -f core conftest.err conftest.$ac_objext \
29133     conftest$ac_exeext conftest.$ac_ext
29134        CFLAGS="$ac_save_CFLAGS"
29135        LIBS="$ac_save_LIBS"
29136      fi
29137      OGG_CFLAGS=""
29138      OGG_LIBS=""
29139      HAVE_OGG="no"
29140   fi
29141
29142
29143   rm -f conf.oggtest
29144
29145
29146   GIVEN_CFLAGS=$OGG_CFLAGS
29147   INCLUDE_DIRS=`echo | cpp -v 2>&1`
29148
29149       INCLUDE_DIRS=`echo $INCLUDE_DIRS | sed -e 's/.*<...> search starts here://' | sed -e 's/End of search list.*//'`
29150   for dir in $INCLUDE_DIRS; do
29151         GIVEN_CFLAGS=`echo $GIVEN_CFLAGS | sed -e "s#-I$dir ##"`
29152   done
29153   OGG_CFLAGS=$GIVEN_CFLAGS
29154
29155   fi
29156
29157
29158   LIBS=$gst_check_save_LIBS
29159   LDFLAGS=$gst_check_save_LDFLAGS
29160   CFLAGS=$gst_check_save_CFLAGS
29161   CPPFLAGS=$gst_check_save_CPPFLAGS
29162   CXXFLAGS=$gst_check_save_CXXFLAGS
29163
29164     if test x$HAVE_OGG = xno; then
29165     USE_OGG=no
29166   else
29167     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: ogg" >&5
29168 $as_echo "$as_me: *** These plugins will be built: ogg" >&6;}
29169   fi
29170 fi
29171 if test x$USE_OGG = xyes; then
29172   :
29173   if test "xogg" != "x"; then
29174     GST_PLUGINS_YES="\togg\n$GST_PLUGINS_YES"
29175   fi
29176
29177 $as_echo "#define HAVE_OGG /**/" >>confdefs.h
29178
29179 else
29180   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: ogg" >&5
29181 $as_echo "$as_me: *** These plugins will not be built: ogg" >&6;}
29182   if test "xogg" != "x"; then
29183     GST_PLUGINS_NO="\togg\n$GST_PLUGINS_NO"
29184   fi
29185   :
29186 fi
29187  if test x$USE_OGG = xyes; then
29188   USE_OGG_TRUE=
29189   USE_OGG_FALSE='#'
29190 else
29191   USE_OGG_TRUE='#'
29192   USE_OGG_FALSE=
29193 fi
29194
29195
29196
29197 echo
29198 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Pango font rendering ***" >&5
29199 $as_echo "$as_me: *** checking feature: Pango font rendering ***" >&6;}
29200 if test "xpango" != "x"
29201 then
29202   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: pango ***" >&5
29203 $as_echo "$as_me: *** for plug-ins: pango ***" >&6;}
29204 fi
29205 NOUSE=
29206 if test "x$USE_PANGO" = "xno"; then
29207   NOUSE="yes"
29208 fi
29209 # Check whether --enable-pango was given.
29210 if test "${enable_pango+set}" = set; then :
29211   enableval=$enable_pango;  case "${enableval}" in
29212       yes) USE_PANGO=yes;;
29213       no) USE_PANGO=no;;
29214       *) as_fn_error $? "bad value ${enableval} for --enable-pango" "$LINENO" 5  ;;
29215     esac
29216 else
29217    USE_PANGO=yes
29218 fi
29219
29220 if test "x$NOUSE" = "xyes"; then
29221   USE_PANGO="no"
29222   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** pango pre-configured not to be built" >&5
29223 $as_echo "$as_me: WARNING: *** pango pre-configured not to be built" >&2;}
29224 fi
29225 NOUSE=
29226
29227
29228 if test x$USE_PANGO = xyes; then
29229
29230   gst_check_save_LIBS=$LIBS
29231   gst_check_save_LDFLAGS=$LDFLAGS
29232   gst_check_save_CFLAGS=$CFLAGS
29233   gst_check_save_CPPFLAGS=$CPPFLAGS
29234   gst_check_save_CXXFLAGS=$CXXFLAGS
29235
29236   HAVE_PANGO=no
29237
29238
29239   which="pango >= 1.16.0  pangocairo >= 1.16.0"
29240     required="no"
29241
29242
29243 pkg_failed=no
29244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGO" >&5
29245 $as_echo_n "checking for PANGO... " >&6; }
29246
29247 if test -n "$PKG_CONFIG"; then
29248     if test -n "$PANGO_CFLAGS"; then
29249         pkg_cv_PANGO_CFLAGS="$PANGO_CFLAGS"
29250     else
29251         if test -n "$PKG_CONFIG" && \
29252     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
29253   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
29254   ac_status=$?
29255   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29256   test $ac_status = 0; }; then
29257   pkg_cv_PANGO_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
29258 else
29259   pkg_failed=yes
29260 fi
29261     fi
29262 else
29263         pkg_failed=untried
29264 fi
29265 if test -n "$PKG_CONFIG"; then
29266     if test -n "$PANGO_LIBS"; then
29267         pkg_cv_PANGO_LIBS="$PANGO_LIBS"
29268     else
29269         if test -n "$PKG_CONFIG" && \
29270     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
29271   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
29272   ac_status=$?
29273   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29274   test $ac_status = 0; }; then
29275   pkg_cv_PANGO_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
29276 else
29277   pkg_failed=yes
29278 fi
29279     fi
29280 else
29281         pkg_failed=untried
29282 fi
29283
29284
29285
29286 if test $pkg_failed = yes; then
29287
29288 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29289         _pkg_short_errors_supported=yes
29290 else
29291         _pkg_short_errors_supported=no
29292 fi
29293         if test $_pkg_short_errors_supported = yes; then
29294                 PANGO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
29295         else
29296                 PANGO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
29297         fi
29298         # Put the nasty error message in config.log where it belongs
29299         echo "$PANGO_PKG_ERRORS" >&5
29300
29301         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29302 $as_echo "no" >&6; }
29303
29304       HAVE_PANGO="no"
29305       if test "x$required" = "xyes"; then
29306         as_fn_error $? "$PANGO_PKG_ERRORS" "$LINENO" 5
29307       else
29308         { $as_echo "$as_me:${as_lineno-$LINENO}: $PANGO_PKG_ERRORS" >&5
29309 $as_echo "$as_me: $PANGO_PKG_ERRORS" >&6;}
29310       fi
29311
29312 elif test $pkg_failed = untried; then
29313
29314       HAVE_PANGO="no"
29315       if test "x$required" = "xyes"; then
29316         as_fn_error $? "$PANGO_PKG_ERRORS" "$LINENO" 5
29317       else
29318         { $as_echo "$as_me:${as_lineno-$LINENO}: $PANGO_PKG_ERRORS" >&5
29319 $as_echo "$as_me: $PANGO_PKG_ERRORS" >&6;}
29320       fi
29321
29322 else
29323         PANGO_CFLAGS=$pkg_cv_PANGO_CFLAGS
29324         PANGO_LIBS=$pkg_cv_PANGO_LIBS
29325         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29326 $as_echo "yes" >&6; }
29327
29328       HAVE_PANGO="yes"
29329
29330 fi
29331
29332
29333
29334
29335   LIBS=$gst_check_save_LIBS
29336   LDFLAGS=$gst_check_save_LDFLAGS
29337   CFLAGS=$gst_check_save_CFLAGS
29338   CPPFLAGS=$gst_check_save_CPPFLAGS
29339   CXXFLAGS=$gst_check_save_CXXFLAGS
29340
29341     if test x$HAVE_PANGO = xno; then
29342     USE_PANGO=no
29343   else
29344     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: pango" >&5
29345 $as_echo "$as_me: *** These plugins will be built: pango" >&6;}
29346   fi
29347 fi
29348 if test x$USE_PANGO = xyes; then
29349   :
29350   if test "xpango" != "x"; then
29351     GST_PLUGINS_YES="\tpango\n$GST_PLUGINS_YES"
29352   fi
29353
29354 $as_echo "#define HAVE_PANGO /**/" >>confdefs.h
29355
29356 else
29357   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: pango" >&5
29358 $as_echo "$as_me: *** These plugins will not be built: pango" >&6;}
29359   if test "xpango" != "x"; then
29360     GST_PLUGINS_NO="\tpango\n$GST_PLUGINS_NO"
29361   fi
29362   :
29363 fi
29364  if test x$USE_PANGO = xyes; then
29365   USE_PANGO_TRUE=
29366   USE_PANGO_FALSE='#'
29367 else
29368   USE_PANGO_TRUE='#'
29369   USE_PANGO_FALSE=
29370 fi
29371
29372
29373
29374 echo
29375 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Xiph Theora video codec ***" >&5
29376 $as_echo "$as_me: *** checking feature: Xiph Theora video codec ***" >&6;}
29377 if test "xtheora" != "x"
29378 then
29379   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: theora ***" >&5
29380 $as_echo "$as_me: *** for plug-ins: theora ***" >&6;}
29381 fi
29382 NOUSE=
29383 if test "x$USE_THEORA" = "xno"; then
29384   NOUSE="yes"
29385 fi
29386 # Check whether --enable-theora was given.
29387 if test "${enable_theora+set}" = set; then :
29388   enableval=$enable_theora;  case "${enableval}" in
29389       yes) USE_THEORA=yes;;
29390       no) USE_THEORA=no;;
29391       *) as_fn_error $? "bad value ${enableval} for --enable-theora" "$LINENO" 5  ;;
29392     esac
29393 else
29394    USE_THEORA=yes
29395 fi
29396
29397 if test "x$NOUSE" = "xyes"; then
29398   USE_THEORA="no"
29399   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** theora pre-configured not to be built" >&5
29400 $as_echo "$as_me: WARNING: *** theora pre-configured not to be built" >&2;}
29401 fi
29402 NOUSE=
29403
29404
29405 if test x$USE_THEORA = xyes; then
29406
29407   gst_check_save_LIBS=$LIBS
29408   gst_check_save_LDFLAGS=$LDFLAGS
29409   gst_check_save_CFLAGS=$CFLAGS
29410   gst_check_save_CPPFLAGS=$CPPFLAGS
29411   gst_check_save_CXXFLAGS=$CXXFLAGS
29412
29413   HAVE_THEORA=no
29414
29415
29416   which="theoradec >= 1.1 theoraenc >= 1.1"
29417     required="no"
29418
29419
29420 pkg_failed=no
29421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for THEORA" >&5
29422 $as_echo_n "checking for THEORA... " >&6; }
29423
29424 if test -n "$PKG_CONFIG"; then
29425     if test -n "$THEORA_CFLAGS"; then
29426         pkg_cv_THEORA_CFLAGS="$THEORA_CFLAGS"
29427     else
29428         if test -n "$PKG_CONFIG" && \
29429     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
29430   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
29431   ac_status=$?
29432   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29433   test $ac_status = 0; }; then
29434   pkg_cv_THEORA_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
29435 else
29436   pkg_failed=yes
29437 fi
29438     fi
29439 else
29440         pkg_failed=untried
29441 fi
29442 if test -n "$PKG_CONFIG"; then
29443     if test -n "$THEORA_LIBS"; then
29444         pkg_cv_THEORA_LIBS="$THEORA_LIBS"
29445     else
29446         if test -n "$PKG_CONFIG" && \
29447     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
29448   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
29449   ac_status=$?
29450   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29451   test $ac_status = 0; }; then
29452   pkg_cv_THEORA_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
29453 else
29454   pkg_failed=yes
29455 fi
29456     fi
29457 else
29458         pkg_failed=untried
29459 fi
29460
29461
29462
29463 if test $pkg_failed = yes; then
29464
29465 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29466         _pkg_short_errors_supported=yes
29467 else
29468         _pkg_short_errors_supported=no
29469 fi
29470         if test $_pkg_short_errors_supported = yes; then
29471                 THEORA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
29472         else
29473                 THEORA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
29474         fi
29475         # Put the nasty error message in config.log where it belongs
29476         echo "$THEORA_PKG_ERRORS" >&5
29477
29478         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29479 $as_echo "no" >&6; }
29480
29481       HAVE_THEORA="no"
29482       if test "x$required" = "xyes"; then
29483         as_fn_error $? "$THEORA_PKG_ERRORS" "$LINENO" 5
29484       else
29485         { $as_echo "$as_me:${as_lineno-$LINENO}: $THEORA_PKG_ERRORS" >&5
29486 $as_echo "$as_me: $THEORA_PKG_ERRORS" >&6;}
29487       fi
29488
29489 elif test $pkg_failed = untried; then
29490
29491       HAVE_THEORA="no"
29492       if test "x$required" = "xyes"; then
29493         as_fn_error $? "$THEORA_PKG_ERRORS" "$LINENO" 5
29494       else
29495         { $as_echo "$as_me:${as_lineno-$LINENO}: $THEORA_PKG_ERRORS" >&5
29496 $as_echo "$as_me: $THEORA_PKG_ERRORS" >&6;}
29497       fi
29498
29499 else
29500         THEORA_CFLAGS=$pkg_cv_THEORA_CFLAGS
29501         THEORA_LIBS=$pkg_cv_THEORA_LIBS
29502         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29503 $as_echo "yes" >&6; }
29504
29505       HAVE_THEORA="yes"
29506
29507 fi
29508
29509
29510
29511
29512   LIBS=$gst_check_save_LIBS
29513   LDFLAGS=$gst_check_save_LDFLAGS
29514   CFLAGS=$gst_check_save_CFLAGS
29515   CPPFLAGS=$gst_check_save_CPPFLAGS
29516   CXXFLAGS=$gst_check_save_CXXFLAGS
29517
29518     if test x$HAVE_THEORA = xno; then
29519     USE_THEORA=no
29520   else
29521     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: theora" >&5
29522 $as_echo "$as_me: *** These plugins will be built: theora" >&6;}
29523   fi
29524 fi
29525 if test x$USE_THEORA = xyes; then
29526   :
29527   if test "xtheora" != "x"; then
29528     GST_PLUGINS_YES="\ttheora\n$GST_PLUGINS_YES"
29529   fi
29530
29531 $as_echo "#define HAVE_THEORA /**/" >>confdefs.h
29532
29533 else
29534   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: theora" >&5
29535 $as_echo "$as_me: *** These plugins will not be built: theora" >&6;}
29536   if test "xtheora" != "x"; then
29537     GST_PLUGINS_NO="\ttheora\n$GST_PLUGINS_NO"
29538   fi
29539   :
29540 fi
29541  if test x$USE_THEORA = xyes; then
29542   USE_THEORA_TRUE=
29543   USE_THEORA_FALSE='#'
29544 else
29545   USE_THEORA_TRUE='#'
29546   USE_THEORA_FALSE=
29547 fi
29548
29549
29550
29551 echo
29552 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Xiph Vorbis audio codec ***" >&5
29553 $as_echo "$as_me: *** checking feature: Xiph Vorbis audio codec ***" >&6;}
29554 if test "xvorbis" != "x"
29555 then
29556   { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: vorbis ***" >&5
29557 $as_echo "$as_me: *** for plug-ins: vorbis ***" >&6;}
29558 fi
29559 NOUSE=
29560 if test "x$USE_VORBIS" = "xno"; then
29561   NOUSE="yes"
29562 fi
29563 # Check whether --enable-vorbis was given.
29564 if test "${enable_vorbis+set}" = set; then :
29565   enableval=$enable_vorbis;  case "${enableval}" in
29566       yes) USE_VORBIS=yes;;
29567       no) USE_VORBIS=no;;
29568       *) as_fn_error $? "bad value ${enableval} for --enable-vorbis" "$LINENO" 5  ;;
29569     esac
29570 else
29571    USE_VORBIS=yes
29572 fi
29573
29574 if test "x$NOUSE" = "xyes"; then
29575   USE_VORBIS="no"
29576   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** vorbis pre-configured not to be built" >&5
29577 $as_echo "$as_me: WARNING: *** vorbis pre-configured not to be built" >&2;}
29578 fi
29579 NOUSE=
29580
29581
29582 if test x$USE_VORBIS = xyes; then
29583
29584   gst_check_save_LIBS=$LIBS
29585   gst_check_save_LDFLAGS=$LDFLAGS
29586   gst_check_save_CFLAGS=$CFLAGS
29587   gst_check_save_CPPFLAGS=$CPPFLAGS
29588   gst_check_save_CXXFLAGS=$CXXFLAGS
29589
29590   HAVE_VORBIS=no
29591
29592
29593   which="vorbis >= 1.0 vorbisenc >= 1.0"
29594     required="no"
29595
29596
29597 pkg_failed=no
29598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for VORBIS" >&5
29599 $as_echo_n "checking for VORBIS... " >&6; }
29600
29601 if test -n "$PKG_CONFIG"; then
29602     if test -n "$VORBIS_CFLAGS"; then
29603         pkg_cv_VORBIS_CFLAGS="$VORBIS_CFLAGS"
29604     else
29605         if test -n "$PKG_CONFIG" && \
29606     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
29607   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
29608   ac_status=$?
29609   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29610   test $ac_status = 0; }; then
29611   pkg_cv_VORBIS_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
29612 else
29613   pkg_failed=yes
29614 fi
29615     fi
29616 else
29617         pkg_failed=untried
29618 fi
29619 if test -n "$PKG_CONFIG"; then
29620     if test -n "$VORBIS_LIBS"; then
29621         pkg_cv_VORBIS_LIBS="$VORBIS_LIBS"
29622     else
29623         if test -n "$PKG_CONFIG" && \
29624     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
29625   ($PKG_CONFIG --exists --print-errors "$which") 2>&5
29626   ac_status=$?
29627   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29628   test $ac_status = 0; }; then
29629   pkg_cv_VORBIS_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
29630 else
29631   pkg_failed=yes
29632 fi
29633     fi
29634 else
29635         pkg_failed=untried
29636 fi
29637
29638
29639
29640 if test $pkg_failed = yes; then
29641
29642 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29643         _pkg_short_errors_supported=yes
29644 else
29645         _pkg_short_errors_supported=no
29646 fi
29647         if test $_pkg_short_errors_supported = yes; then
29648                 VORBIS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
29649         else
29650                 VORBIS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
29651         fi
29652         # Put the nasty error message in config.log where it belongs
29653         echo "$VORBIS_PKG_ERRORS" >&5
29654
29655         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29656 $as_echo "no" >&6; }
29657
29658       HAVE_VORBIS="no"
29659       if test "x$required" = "xyes"; then
29660         as_fn_error $? "$VORBIS_PKG_ERRORS" "$LINENO" 5
29661       else
29662         { $as_echo "$as_me:${as_lineno-$LINENO}: $VORBIS_PKG_ERRORS" >&5
29663 $as_echo "$as_me: $VORBIS_PKG_ERRORS" >&6;}
29664       fi
29665
29666 elif test $pkg_failed = untried; then
29667
29668       HAVE_VORBIS="no"
29669       if test "x$required" = "xyes"; then
29670         as_fn_error $? "$VORBIS_PKG_ERRORS" "$LINENO" 5
29671       else
29672         { $as_echo "$as_me:${as_lineno-$LINENO}: $VORBIS_PKG_ERRORS" >&5
29673 $as_echo "$as_me: $VORBIS_PKG_ERRORS" >&6;}
29674       fi
29675
29676 else
29677         VORBIS_CFLAGS=$pkg_cv_VORBIS_CFLAGS
29678         VORBIS_LIBS=$pkg_cv_VORBIS_LIBS
29679         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29680 $as_echo "yes" >&6; }
29681
29682       HAVE_VORBIS="yes"
29683
29684 fi
29685
29686
29687   if test $HAVE_VORBIS = no
29688   then
29689
29690 # Check whether --with-vorbis was given.
29691 if test "${with_vorbis+set}" = set; then :
29692   withval=$with_vorbis; vorbis_prefix="$withval"
29693 else
29694   vorbis_prefix=""
29695 fi
29696
29697
29698 # Check whether --with-vorbis-libraries was given.
29699 if test "${with_vorbis_libraries+set}" = set; then :
29700   withval=$with_vorbis_libraries; vorbis_libraries="$withval"
29701 else
29702   vorbis_libraries=""
29703 fi
29704
29705
29706 # Check whether --with-vorbis-includes was given.
29707 if test "${with_vorbis_includes+set}" = set; then :
29708   withval=$with_vorbis_includes; vorbis_includes="$withval"
29709 else
29710   vorbis_includes=""
29711 fi
29712
29713 # Check whether --enable-vorbistest was given.
29714 if test "${enable_vorbistest+set}" = set; then :
29715   enableval=$enable_vorbistest;
29716 else
29717   enable_vorbistest=yes
29718 fi
29719
29720
29721   if test "x$vorbis_libraries" != "x" ; then
29722     VORBIS_LIBS="-L$vorbis_libraries"
29723   elif test "x$vorbis_prefix" != "x" ; then
29724     VORBIS_LIBS="-L$vorbis_prefix/lib"
29725   elif test "x$prefix" != "xNONE"; then
29726     VORBIS_LIBS="-L$prefix/lib"
29727   fi
29728
29729   VORBIS_LIBS="$VORBIS_LIBS -lvorbis -lm"
29730   VORBISFILE_LIBS="-lvorbisfile"
29731   VORBISENC_LIBS="-lvorbisenc"
29732
29733   if test "x$vorbis_includes" != "x" ; then
29734     VORBIS_CFLAGS="-I$vorbis_includes"
29735   elif test "x$vorbis_prefix" != "x" ; then
29736     VORBIS_CFLAGS="-I$vorbis_prefix/include"
29737   elif test "x$prefix" != "xNONE"; then
29738     VORBIS_CFLAGS="-I$prefix/include"
29739   fi
29740
29741
29742   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Vorbis" >&5
29743 $as_echo_n "checking for Vorbis... " >&6; }
29744   no_vorbis=""
29745
29746
29747   if test "x$enable_vorbistest" = "xyes" ; then
29748     ac_save_CFLAGS="$CFLAGS"
29749     ac_save_LIBS="$LIBS"
29750     CFLAGS="$CFLAGS $VORBIS_CFLAGS $OGG_CFLAGS"
29751     LIBS="$LIBS $VORBIS_LIBS $VORBISENC_LIBS $OGG_LIBS"
29752       rm -f conf.vorbistest
29753       if test "$cross_compiling" = yes; then :
29754   echo $ac_n "cross compiling; assumed OK... $ac_c"
29755 else
29756   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29757 /* end confdefs.h.  */
29758
29759 #include <stdio.h>
29760 #include <stdlib.h>
29761 #include <string.h>
29762 #include <vorbis/codec.h>
29763 #include <vorbis/vorbisenc.h>
29764
29765 int main ()
29766 {
29767     vorbis_block        vb;
29768     vorbis_dsp_state    vd;
29769     vorbis_info         vi;
29770
29771     vorbis_info_init (&vi);
29772     vorbis_encode_init (&vi, 2, 44100, -1, 128000, -1);
29773     vorbis_analysis_init (&vd, &vi);
29774     vorbis_block_init (&vd, &vb);
29775     /* this function was added in 1.0rc3, so this is what we're testing for */
29776     vorbis_bitrate_addblock (&vb);
29777
29778     /* this define was added in 1.0 final */
29779 #ifdef OV_ECTL_RATEMANAGE_SET
29780     system("touch conf.vorbistest");
29781     return 0;
29782 #else
29783     return -1;
29784 #endif
29785 }
29786
29787
29788 _ACEOF
29789 if ac_fn_c_try_run "$LINENO"; then :
29790
29791 else
29792   no_vorbis=yes
29793 fi
29794 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
29795   conftest.$ac_objext conftest.beam conftest.$ac_ext
29796 fi
29797
29798        CFLAGS="$ac_save_CFLAGS"
29799        LIBS="$ac_save_LIBS"
29800   fi
29801
29802   if test "x$no_vorbis" = "x" ; then
29803      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29804 $as_echo "yes" >&6; }
29805      HAVE_VORBIS="yes"
29806   else
29807      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29808 $as_echo "no" >&6; }
29809      if test -f conf.vorbistest ; then
29810        :
29811      else
29812        echo "*** Could not run Vorbis test program, checking why..."
29813        CFLAGS="$CFLAGS $VORBIS_CFLAGS"
29814        LIBS="$LIBS $VORBIS_LIBS $OGG_LIBS"
29815        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29816 /* end confdefs.h.  */
29817
29818 #include <stdio.h>
29819 #include <vorbis/codec.h>
29820
29821 int
29822 main ()
29823 {
29824  return 0;
29825   ;
29826   return 0;
29827 }
29828 _ACEOF
29829 if ac_fn_c_try_link "$LINENO"; then :
29830    echo "*** The test program compiled, but did not run. This usually means"
29831        echo "*** that the run-time linker is not finding Vorbis or finding the wrong"
29832        echo "*** version of Vorbis. If it is not finding Vorbis, you'll need to set your"
29833        echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29834        echo "*** to the installed location  Also, make sure you have run ldconfig if that"
29835        echo "*** is required on your system"
29836        echo "***"
29837        echo "*** If you have an old version installed, it is best to remove it, although"
29838        echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29839 else
29840    echo "*** The test program failed to compile or link. See the file config.log for the"
29841        echo "*** exact error that occured. This usually means Vorbis was incorrectly installed"
29842        echo "*** or that you have moved Vorbis since it was installed."
29843 fi
29844 rm -f core conftest.err conftest.$ac_objext \
29845     conftest$ac_exeext conftest.$ac_ext
29846        CFLAGS="$ac_save_CFLAGS"
29847        LIBS="$ac_save_LIBS"
29848      fi
29849      VORBIS_CFLAGS=""
29850      VORBIS_LIBS=""
29851      VORBISFILE_LIBS=""
29852      VORBISENC_LIBS=""
29853      HAVE_VORBIS="no"
29854   fi
29855
29856
29857
29858
29859   rm -f conf.vorbistest
29860
29861
29862   GIVEN_CFLAGS=$VORBIS_CFLAGS
29863   INCLUDE_DIRS=`echo | cpp -v 2>&1`
29864
29865       INCLUDE_DIRS=`echo $INCLUDE_DIRS | sed -e 's/.*<...> search starts here://' | sed -e 's/End of search list.*//'`
29866   for dir in $INCLUDE_DIRS; do
29867         GIVEN_CFLAGS=`echo $GIVEN_CFLAGS | sed -e "s#-I$dir ##"`
29868   done
29869   VORBIS_CFLAGS=$GIVEN_CFLAGS
29870
29871   fi
29872
29873
29874   LIBS=$gst_check_save_LIBS
29875   LDFLAGS=$gst_check_save_LDFLAGS
29876   CFLAGS=$gst_check_save_CFLAGS
29877   CPPFLAGS=$gst_check_save_CPPFLAGS
29878   CXXFLAGS=$gst_check_save_CXXFLAGS
29879
29880     if test x$HAVE_VORBIS = xno; then
29881     USE_VORBIS=no
29882   else
29883     { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: vorbis" >&5
29884 $as_echo "$as_me: *** These plugins will be built: vorbis" >&6;}
29885   fi
29886 fi
29887 if test x$USE_VORBIS = xyes; then
29888   :
29889   if test "xvorbis" != "x"; then
29890     GST_PLUGINS_YES="\tvorbis\n$GST_PLUGINS_YES"
29891   fi
29892
29893 $as_echo "#define HAVE_VORBIS /**/" >>confdefs.h
29894
29895 else
29896   { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: vorbis" >&5
29897 $as_echo "$as_me: *** These plugins will not be built: vorbis" >&6;}
29898   if test "xvorbis" != "x"; then
29899     GST_PLUGINS_NO="\tvorbis\n$GST_PLUGINS_NO"
29900   fi
29901   :
29902 fi
29903  if test x$USE_VORBIS = xyes; then
29904   USE_VORBIS_TRUE=
29905   USE_VORBIS_FALSE='#'
29906 else
29907   USE_VORBIS_TRUE='#'
29908   USE_VORBIS_FALSE=
29909 fi
29910
29911
29912
29913 if test "x$HAVE_VORBIS" = "xyes"; then
29914   ac_cflags_save="$CFLAGS"
29915   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29916 /* end confdefs.h.  */
29917
29918 #include <vorbis/codec.h>
29919
29920 int
29921 main ()
29922 {
29923
29924 vorbis_dsp_state *v;
29925
29926 vorbis_synthesis_restart (v);
29927
29928   ;
29929   return 0;
29930 }
29931 _ACEOF
29932 if ac_fn_c_try_compile "$LINENO"; then :
29933   HAVE_VSR=yes
29934 else
29935   HAVE_VSR=no
29936 fi
29937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29938   if test "x$HAVE_VSR" = "xyes"; then
29939
29940 cat >>confdefs.h <<_ACEOF
29941 #define HAVE_VORBIS_SYNTHESIS_RESTART 1
29942 _ACEOF
29943
29944   fi
29945   CFLAGS="$ac_cflags_save"
29946 fi
29947
29948 else
29949
29950  if false; then
29951   USE_ALSA_TRUE=
29952   USE_ALSA_FALSE='#'
29953 else
29954   USE_ALSA_TRUE='#'
29955   USE_ALSA_FALSE=
29956 fi
29957
29958  if false; then
29959   USE_CDPARANOIA_TRUE=
29960   USE_CDPARANOIA_FALSE='#'
29961 else
29962   USE_CDPARANOIA_TRUE='#'
29963   USE_CDPARANOIA_FALSE=
29964 fi
29965
29966  if false; then
29967   USE_GIO_TRUE=
29968   USE_GIO_FALSE='#'
29969 else
29970   USE_GIO_TRUE='#'
29971   USE_GIO_FALSE=
29972 fi
29973
29974  if false; then
29975   USE_GNOME_VFS_TRUE=
29976   USE_GNOME_VFS_FALSE='#'
29977 else
29978   USE_GNOME_VFS_TRUE='#'
29979   USE_GNOME_VFS_FALSE=
29980 fi
29981
29982  if false; then
29983   USE_IVORBIS_TRUE=
29984   USE_IVORBIS_FALSE='#'
29985 else
29986   USE_IVORBIS_TRUE='#'
29987   USE_IVORBIS_FALSE=
29988 fi
29989
29990  if false; then
29991   USE_LIBVISUAL_TRUE=
29992   USE_LIBVISUAL_FALSE='#'
29993 else
29994   USE_LIBVISUAL_TRUE='#'
29995   USE_LIBVISUAL_FALSE=
29996 fi
29997
29998  if false; then
29999   USE_OGG_TRUE=
30000   USE_OGG_FALSE='#'
30001 else
30002   USE_OGG_TRUE='#'
30003   USE_OGG_FALSE=
30004 fi
30005
30006  if false; then
30007   USE_PANGO_TRUE=
30008   USE_PANGO_FALSE='#'
30009 else
30010   USE_PANGO_TRUE='#'
30011   USE_PANGO_FALSE=
30012 fi
30013
30014  if false; then
30015   USE_THEORA_TRUE=
30016   USE_THEORA_FALSE='#'
30017 else
30018   USE_THEORA_TRUE='#'
30019   USE_THEORA_FALSE=
30020 fi
30021
30022  if false; then
30023   USE_VORBIS_TRUE=
30024   USE_VORBIS_FALSE='#'
30025 else
30026   USE_VORBIS_TRUE='#'
30027   USE_VORBIS_FALSE=
30028 fi
30029
30030
30031 fi
30032
30033 pkg_failed=no
30034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FT2" >&5
30035 $as_echo_n "checking for FT2... " >&6; }
30036
30037 if test -n "$PKG_CONFIG"; then
30038     if test -n "$FT2_CFLAGS"; then
30039         pkg_cv_FT2_CFLAGS="$FT2_CFLAGS"
30040     else
30041         if test -n "$PKG_CONFIG" && \
30042     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2 >= 2.0.9\""; } >&5
30043   ($PKG_CONFIG --exists --print-errors "freetype2 >= 2.0.9") 2>&5
30044   ac_status=$?
30045   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30046   test $ac_status = 0; }; then
30047   pkg_cv_FT2_CFLAGS=`$PKG_CONFIG --cflags "freetype2 >= 2.0.9" 2>/dev/null`
30048 else
30049   pkg_failed=yes
30050 fi
30051     fi
30052 else
30053         pkg_failed=untried
30054 fi
30055 if test -n "$PKG_CONFIG"; then
30056     if test -n "$FT2_LIBS"; then
30057         pkg_cv_FT2_LIBS="$FT2_LIBS"
30058     else
30059         if test -n "$PKG_CONFIG" && \
30060     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2 >= 2.0.9\""; } >&5
30061   ($PKG_CONFIG --exists --print-errors "freetype2 >= 2.0.9") 2>&5
30062   ac_status=$?
30063   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30064   test $ac_status = 0; }; then
30065   pkg_cv_FT2_LIBS=`$PKG_CONFIG --libs "freetype2 >= 2.0.9" 2>/dev/null`
30066 else
30067   pkg_failed=yes
30068 fi
30069     fi
30070 else
30071         pkg_failed=untried
30072 fi
30073
30074
30075
30076 if test $pkg_failed = yes; then
30077
30078 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30079         _pkg_short_errors_supported=yes
30080 else
30081         _pkg_short_errors_supported=no
30082 fi
30083         if test $_pkg_short_errors_supported = yes; then
30084                 FT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "freetype2 >= 2.0.9"`
30085         else
30086                 FT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "freetype2 >= 2.0.9"`
30087         fi
30088         # Put the nasty error message in config.log where it belongs
30089         echo "$FT2_PKG_ERRORS" >&5
30090
30091         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30092 $as_echo "no" >&6; }
30093
30094
30095 # Check whether --with-ft-prefix was given.
30096 if test "${with_ft_prefix+set}" = set; then :
30097   withval=$with_ft_prefix; ft_config_prefix="$withval"
30098 else
30099   ft_config_prefix=""
30100 fi
30101
30102
30103 # Check whether --with-ft-exec-prefix was given.
30104 if test "${with_ft_exec_prefix+set}" = set; then :
30105   withval=$with_ft_exec_prefix; ft_config_exec_prefix="$withval"
30106 else
30107   ft_config_exec_prefix=""
30108 fi
30109
30110 # Check whether --enable-freetypetest was given.
30111 if test "${enable_freetypetest+set}" = set; then :
30112   enableval=$enable_freetypetest;
30113 else
30114   enable_fttest=yes
30115 fi
30116
30117
30118 if test x$ft_config_exec_prefix != x ; then
30119   ft_config_args="$ft_config_args --exec-prefix=$ft_config_exec_prefix"
30120   if test x${FT2_CONFIG+set} != xset ; then
30121     FT2_CONFIG=$ft_config_exec_prefix/bin/freetype-config
30122   fi
30123 fi
30124 if test x$ft_config_prefix != x ; then
30125   ft_config_args="$ft_config_args --prefix=$ft_config_prefix"
30126   if test x${FT2_CONFIG+set} != xset ; then
30127     FT2_CONFIG=$ft_config_prefix/bin/freetype-config
30128   fi
30129 fi
30130 # Extract the first word of "freetype-config", so it can be a program name with args.
30131 set dummy freetype-config; ac_word=$2
30132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
30133 $as_echo_n "checking for $ac_word... " >&6; }
30134 if test "${ac_cv_path_FT2_CONFIG+set}" = set; then :
30135   $as_echo_n "(cached) " >&6
30136 else
30137   case $FT2_CONFIG in
30138   [\\/]* | ?:[\\/]*)
30139   ac_cv_path_FT2_CONFIG="$FT2_CONFIG" # Let the user override the test with a path.
30140   ;;
30141   *)
30142   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30143 for as_dir in $PATH
30144 do
30145   IFS=$as_save_IFS
30146   test -z "$as_dir" && as_dir=.
30147     for ac_exec_ext in '' $ac_executable_extensions; do
30148   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30149     ac_cv_path_FT2_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30150     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
30151     break 2
30152   fi
30153 done
30154   done
30155 IFS=$as_save_IFS
30156
30157   test -z "$ac_cv_path_FT2_CONFIG" && ac_cv_path_FT2_CONFIG="no"
30158   ;;
30159 esac
30160 fi
30161 FT2_CONFIG=$ac_cv_path_FT2_CONFIG
30162 if test -n "$FT2_CONFIG"; then
30163   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FT2_CONFIG" >&5
30164 $as_echo "$FT2_CONFIG" >&6; }
30165 else
30166   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30167 $as_echo "no" >&6; }
30168 fi
30169
30170
30171
30172 min_ft_version=2.0.9
30173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FreeType - version >= $min_ft_version" >&5
30174 $as_echo_n "checking for FreeType - version >= $min_ft_version... " >&6; }
30175 no_ft=""
30176 if test "$FT2_CONFIG" = "no" ; then
30177   no_ft=yes
30178 else
30179   FT2_CFLAGS=`$FT2_CONFIG $ft_config_args --cflags`
30180   FT2_LIBS=`$FT2_CONFIG $ft_config_args --libs`
30181   ft_config_major_version=`$FT2_CONFIG $ft_config_args --version | \
30182          sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30183   ft_config_minor_version=`$FT2_CONFIG $ft_config_args --version | \
30184          sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30185   ft_config_micro_version=`$FT2_CONFIG $ft_config_args --version | \
30186          sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30187   ft_min_major_version=`echo $min_ft_version | \
30188          sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30189   ft_min_minor_version=`echo $min_ft_version | \
30190          sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30191   ft_min_micro_version=`echo $min_ft_version | \
30192          sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30193   if test x$enable_fttest = xyes ; then
30194     ft_config_is_lt=""
30195     if test $ft_config_major_version -lt $ft_min_major_version ; then
30196       ft_config_is_lt=yes
30197     else
30198       if test $ft_config_major_version -eq $ft_min_major_version ; then
30199         if test $ft_config_minor_version -lt $ft_min_minor_version ; then
30200           ft_config_is_lt=yes
30201         else
30202           if test $ft_config_minor_version -eq $ft_min_minor_version ; then
30203             if test $ft_config_micro_version -lt $ft_min_micro_version ; then
30204               ft_config_is_lt=yes
30205             fi
30206           fi
30207         fi
30208       fi
30209     fi
30210     if test x$ft_config_is_lt = xyes ; then
30211       no_ft=yes
30212     else
30213       ac_save_CFLAGS="$CFLAGS"
30214       ac_save_LIBS="$LIBS"
30215       CFLAGS="$CFLAGS $FT2_CFLAGS"
30216       LIBS="$FT2_LIBS $LIBS"
30217       if test "$cross_compiling" = yes; then :
30218   echo $ac_n "cross compiling; assumed OK... $ac_c"
30219 else
30220   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30221 /* end confdefs.h.  */
30222
30223 #include <ft2build.h>
30224 #include FT_FREETYPE_H
30225 #include <stdio.h>
30226 #include <stdlib.h>
30227
30228 int
30229 main()
30230 {
30231   FT_Library library;
30232   FT_Error error;
30233
30234   error = FT_Init_FreeType(&library);
30235
30236   if (error)
30237     return 1;
30238   else
30239   {
30240     FT_Done_FreeType(library);
30241     return 0;
30242   }
30243 }
30244
30245 _ACEOF
30246 if ac_fn_c_try_run "$LINENO"; then :
30247
30248 else
30249   no_ft=yes
30250 fi
30251 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
30252   conftest.$ac_objext conftest.beam conftest.$ac_ext
30253 fi
30254
30255       CFLAGS="$ac_save_CFLAGS"
30256       LIBS="$ac_save_LIBS"
30257     fi             # test $ft_config_version -lt $ft_min_version
30258   fi               # test x$enable_fttest = xyes
30259 fi                 # test "$FT2_CONFIG" = "no"
30260 if test x$no_ft = x ; then
30261    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30262 $as_echo "yes" >&6; }
30263    HAVE_FT2="yes"
30264 else
30265    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30266 $as_echo "no" >&6; }
30267    if test "$FT2_CONFIG" = "no" ; then
30268      echo "*** The freetype-config script installed by FreeType 2 could not be found."
30269      echo "*** If FreeType 2 was installed in PREFIX, make sure PREFIX/bin is in"
30270      echo "*** your path, or set the FT2_CONFIG environment variable to the"
30271      echo "*** full path to freetype-config."
30272    else
30273      if test x$ft_config_is_lt = xyes ; then
30274        echo "*** Your installed version of the FreeType 2 library is too old."
30275        echo "*** If you have different versions of FreeType 2, make sure that"
30276        echo "*** correct values for --with-ft-prefix or --with-ft-exec-prefix"
30277        echo "*** are used, or set the FT2_CONFIG environment variable to the"
30278        echo "*** full path to freetype-config."
30279      else
30280        echo "*** The FreeType test program failed to run.  If your system uses"
30281        echo "*** shared libraries and they are installed outside the normal"
30282        echo "*** system library path, make sure the variable LD_LIBRARY_PATH"
30283        echo "*** (or whatever is appropiate for your system) is correctly set."
30284      fi
30285    fi
30286    FT2_CFLAGS=""
30287    FT2_LIBS=""
30288    HAVE_FT2="no"
30289 fi
30290
30291
30292
30293
30294 elif test $pkg_failed = untried; then
30295
30296
30297 # Check whether --with-ft-prefix was given.
30298 if test "${with_ft_prefix+set}" = set; then :
30299   withval=$with_ft_prefix; ft_config_prefix="$withval"
30300 else
30301   ft_config_prefix=""
30302 fi
30303
30304
30305 # Check whether --with-ft-exec-prefix was given.
30306 if test "${with_ft_exec_prefix+set}" = set; then :
30307   withval=$with_ft_exec_prefix; ft_config_exec_prefix="$withval"
30308 else
30309   ft_config_exec_prefix=""
30310 fi
30311
30312 # Check whether --enable-freetypetest was given.
30313 if test "${enable_freetypetest+set}" = set; then :
30314   enableval=$enable_freetypetest;
30315 else
30316   enable_fttest=yes
30317 fi
30318
30319
30320 if test x$ft_config_exec_prefix != x ; then
30321   ft_config_args="$ft_config_args --exec-prefix=$ft_config_exec_prefix"
30322   if test x${FT2_CONFIG+set} != xset ; then
30323     FT2_CONFIG=$ft_config_exec_prefix/bin/freetype-config
30324   fi
30325 fi
30326 if test x$ft_config_prefix != x ; then
30327   ft_config_args="$ft_config_args --prefix=$ft_config_prefix"
30328   if test x${FT2_CONFIG+set} != xset ; then
30329     FT2_CONFIG=$ft_config_prefix/bin/freetype-config
30330   fi
30331 fi
30332 # Extract the first word of "freetype-config", so it can be a program name with args.
30333 set dummy freetype-config; ac_word=$2
30334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
30335 $as_echo_n "checking for $ac_word... " >&6; }
30336 if test "${ac_cv_path_FT2_CONFIG+set}" = set; then :
30337   $as_echo_n "(cached) " >&6
30338 else
30339   case $FT2_CONFIG in
30340   [\\/]* | ?:[\\/]*)
30341   ac_cv_path_FT2_CONFIG="$FT2_CONFIG" # Let the user override the test with a path.
30342   ;;
30343   *)
30344   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30345 for as_dir in $PATH
30346 do
30347   IFS=$as_save_IFS
30348   test -z "$as_dir" && as_dir=.
30349     for ac_exec_ext in '' $ac_executable_extensions; do
30350   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30351     ac_cv_path_FT2_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30352     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
30353     break 2
30354   fi
30355 done
30356   done
30357 IFS=$as_save_IFS
30358
30359   test -z "$ac_cv_path_FT2_CONFIG" && ac_cv_path_FT2_CONFIG="no"
30360   ;;
30361 esac
30362 fi
30363 FT2_CONFIG=$ac_cv_path_FT2_CONFIG
30364 if test -n "$FT2_CONFIG"; then
30365   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FT2_CONFIG" >&5
30366 $as_echo "$FT2_CONFIG" >&6; }
30367 else
30368   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30369 $as_echo "no" >&6; }
30370 fi
30371
30372
30373
30374 min_ft_version=2.0.9
30375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FreeType - version >= $min_ft_version" >&5
30376 $as_echo_n "checking for FreeType - version >= $min_ft_version... " >&6; }
30377 no_ft=""
30378 if test "$FT2_CONFIG" = "no" ; then
30379   no_ft=yes
30380 else
30381   FT2_CFLAGS=`$FT2_CONFIG $ft_config_args --cflags`
30382   FT2_LIBS=`$FT2_CONFIG $ft_config_args --libs`
30383   ft_config_major_version=`$FT2_CONFIG $ft_config_args --version | \
30384          sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30385   ft_config_minor_version=`$FT2_CONFIG $ft_config_args --version | \
30386          sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30387   ft_config_micro_version=`$FT2_CONFIG $ft_config_args --version | \
30388          sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30389   ft_min_major_version=`echo $min_ft_version | \
30390          sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30391   ft_min_minor_version=`echo $min_ft_version | \
30392          sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30393   ft_min_micro_version=`echo $min_ft_version | \
30394          sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30395   if test x$enable_fttest = xyes ; then
30396     ft_config_is_lt=""
30397     if test $ft_config_major_version -lt $ft_min_major_version ; then
30398       ft_config_is_lt=yes
30399     else
30400       if test $ft_config_major_version -eq $ft_min_major_version ; then
30401         if test $ft_config_minor_version -lt $ft_min_minor_version ; then
30402           ft_config_is_lt=yes
30403         else
30404           if test $ft_config_minor_version -eq $ft_min_minor_version ; then
30405             if test $ft_config_micro_version -lt $ft_min_micro_version ; then
30406               ft_config_is_lt=yes
30407             fi
30408           fi
30409         fi
30410       fi
30411     fi
30412     if test x$ft_config_is_lt = xyes ; then
30413       no_ft=yes
30414     else
30415       ac_save_CFLAGS="$CFLAGS"
30416       ac_save_LIBS="$LIBS"
30417       CFLAGS="$CFLAGS $FT2_CFLAGS"
30418       LIBS="$FT2_LIBS $LIBS"
30419       if test "$cross_compiling" = yes; then :
30420   echo $ac_n "cross compiling; assumed OK... $ac_c"
30421 else
30422   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30423 /* end confdefs.h.  */
30424
30425 #include <ft2build.h>
30426 #include FT_FREETYPE_H
30427 #include <stdio.h>
30428 #include <stdlib.h>
30429
30430 int
30431 main()
30432 {
30433   FT_Library library;
30434   FT_Error error;
30435
30436   error = FT_Init_FreeType(&library);
30437
30438   if (error)
30439     return 1;
30440   else
30441   {
30442     FT_Done_FreeType(library);
30443     return 0;
30444   }
30445 }
30446
30447 _ACEOF
30448 if ac_fn_c_try_run "$LINENO"; then :
30449
30450 else
30451   no_ft=yes
30452 fi
30453 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
30454   conftest.$ac_objext conftest.beam conftest.$ac_ext
30455 fi
30456
30457       CFLAGS="$ac_save_CFLAGS"
30458       LIBS="$ac_save_LIBS"
30459     fi             # test $ft_config_version -lt $ft_min_version
30460   fi               # test x$enable_fttest = xyes
30461 fi                 # test "$FT2_CONFIG" = "no"
30462 if test x$no_ft = x ; then
30463    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30464 $as_echo "yes" >&6; }
30465    HAVE_FT2="yes"
30466 else
30467    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30468 $as_echo "no" >&6; }
30469    if test "$FT2_CONFIG" = "no" ; then
30470      echo "*** The freetype-config script installed by FreeType 2 could not be found."
30471      echo "*** If FreeType 2 was installed in PREFIX, make sure PREFIX/bin is in"
30472      echo "*** your path, or set the FT2_CONFIG environment variable to the"
30473      echo "*** full path to freetype-config."
30474    else
30475      if test x$ft_config_is_lt = xyes ; then
30476        echo "*** Your installed version of the FreeType 2 library is too old."
30477        echo "*** If you have different versions of FreeType 2, make sure that"
30478        echo "*** correct values for --with-ft-prefix or --with-ft-exec-prefix"
30479        echo "*** are used, or set the FT2_CONFIG environment variable to the"
30480        echo "*** full path to freetype-config."
30481      else
30482        echo "*** The FreeType test program failed to run.  If your system uses"
30483        echo "*** shared libraries and they are installed outside the normal"
30484        echo "*** system library path, make sure the variable LD_LIBRARY_PATH"
30485        echo "*** (or whatever is appropiate for your system) is correctly set."
30486      fi
30487    fi
30488    FT2_CFLAGS=""
30489    FT2_LIBS=""
30490    HAVE_FT2="no"
30491 fi
30492
30493
30494
30495
30496 else
30497         FT2_CFLAGS=$pkg_cv_FT2_CFLAGS
30498         FT2_LIBS=$pkg_cv_FT2_LIBS
30499         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30500 $as_echo "yes" >&6; }
30501         HAVE_FT2="yes"
30502 fi
30503  if test "x$HAVE_FT2" = "xyes"; then
30504   HAVE_FT2_TRUE=
30505   HAVE_FT2_FALSE='#'
30506 else
30507   HAVE_FT2_TRUE='#'
30508   HAVE_FT2_FALSE=
30509 fi
30510
30511
30512
30513
30514
30515
30516 if test "x$USE_DEBUG" = xyes; then
30517    PROFILE_CFLAGS="-g"
30518 fi
30519
30520
30521 if test "x$PACKAGE_VERSION_NANO" = "x1"; then
30522     DEPRECATED_CFLAGS="-DGST_DISABLE_DEPRECATED"
30523 else
30524   DEPRECATED_CFLAGS=""
30525 fi
30526
30527
30528 GST_OPTION_CFLAGS="\$(WARNING_CFLAGS) \$(ERROR_CFLAGS) \$(DEBUG_CFLAGS) \$(PROFILE_CFLAGS) \$(GCOV_CFLAGS) \$(OPT_CFLAGS) \$(DEPRECATED_CFLAGS)"
30529 GST_OPTION_CXXFLAGS="\$(WARNING_CXXFLAGS) \$(ERROR_CXXFLAGS) \$(DEBUG_CFLAGS) \$(PROFILE_CFLAGS) \$(GCOV_CFLAGS) \$(OPT_CFLAGS) \$(DEPRECATED_CFLAGS)"
30530
30531
30532
30533
30534
30535 GST_PLUGINS_BASE_CFLAGS="-I\$(top_srcdir)/gst-libs -I\$(top_builddir)/gst-libs"
30536
30537
30538 GST_CXXFLAGS="$GLIB_CFLAGS $GST_CFLAGS $GLIB_EXTRA_CFLAGS \$(GST_OPTION_CXXFLAGS)"
30539 GST_CFLAGS="$GLIB_CFLAGS $GST_CFLAGS $GLIB_EXTRA_CFLAGS \$(GST_OPTION_CFLAGS)"
30540
30541
30542 GST_LIBS="$GST_LIBS \$(GCOV_LIBS)"
30543
30544
30545 GST_ALL_LDFLAGS="-no-undefined"
30546 if test "x${enable_Bsymbolic}" = "xyes"; then
30547   GST_ALL_LDFLAGS="$GST_ALL_LDFLAGS -Wl,-Bsymbolic-functions"
30548 fi
30549
30550
30551 GST_LIB_LDFLAGS="-export-symbols-regex ^_?\(gst_\|Gst\|GST_\).*"
30552
30553
30554 GST_PLUGIN_LDFLAGS="-module -avoid-version -export-symbols-regex '^_*gst_plugin_desc.*' $GST_ALL_LDFLAGS"
30555
30556
30557
30558 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/dynamic/Makefile tests/examples/encoding/Makefile tests/examples/gio/Makefile tests/examples/overlay/Makefile tests/examples/seek/Makefile tests/examples/snapshot/Makefile tests/examples/playrec/Makefile tests/examples/volume/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"
30559
30560
30561 sed \
30562     -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"/' \
30563     -e 's/.* GST_INSTALL_PLUGINS_HELPER/#define GST_INSTALL_PLUGINS_HELPER PREFIX "\\\\libexec\\\\gst-install-plugins-helper.exe"/' \
30564     -e 's/.* GETTEXT_PACKAGE$/#define GETTEXT_PACKAGE "'$GETTEXT_PACKAGE'"/' \
30565     -e 's/.* GST_DATADIR$/#define GST_DATADIR PREFIX "\\\\share"/' \
30566     -e 's/.* GST_LEVEL_DEFAULT$/#define GST_LEVEL_DEFAULT GST_LEVEL_ERROR/' \
30567     -e 's/.* GST_LICENSE$/#define GST_LICENSE "'$GST_LICENSE'"/' \
30568     -e 's/.* GST_MAJORMINOR$/#define GST_MAJORMINOR "'$GST_MAJORMINOR'"/' \
30569     -e "s,.* GST_PACKAGE_NAME$,#define GST_PACKAGE_NAME \"${GST_PACKAGE_NAME}\"," \
30570     -e 's/.* GST_PACKAGE_ORIGIN$/#define GST_PACKAGE_ORIGIN "Unknown package origin"/' \
30571     -e "s,.* GST_PACKAGE_RELEASE_DATETIME$,#define GST_PACKAGE_RELEASE_DATETIME \"${GST_PACKAGE_RELEASE_DATETIME}\"," \
30572     -e 's/.* HAVE_CPU_I386$/#define HAVE_CPU_I386 1/' \
30573     -e 's/.* HAVE_FGETPOS$/#define HAVE_FGETPOS 1/' \
30574     -e 's/.* HAVE_FSETPOS$/#define HAVE_FSETPOS 1/' \
30575     -e 's/.* HAVE_ISO_CODES$/#undef HAVE_ISO_CODES/' \
30576     -e 's/.* HAVE_LIBXML2$/#define HAVE_LIBXML2 1/' \
30577     -e 's/.* HAVE_PROCESS_H$/#define HAVE_PROCESS_H 1/' \
30578     -e 's/.* HAVE_STDLIB_H$/#define HAVE_STDLIB_H 1/' \
30579     -e 's/.* HAVE_STRING_H$/#define HAVE_STRING_H 1/' \
30580     -e 's/.* HAVE_SYS_STAT_H$/#define HAVE_SYS_STAT_H 1/' \
30581     -e 's/.* HAVE_SYS_TYPES_H$/#define HAVE_SYS_TYPES_H 1/' \
30582     -e 's/.* HAVE_WIN32$/#define HAVE_WIN32 1/' \
30583     -e 's/.* HAVE_WINSOCK2_H$/#define HAVE_WINSOCK2_H 1/' \
30584     -e 's/.* HOST_CPU$/#define HOST_CPU "i686"/' \
30585     -e 's/.* ISO_CODES_PREFIX$/#undef ISO_CODES_PREFIX/' \
30586     -e 's/.* ISO_CODES_VERSION$/#undef ISO_CODES_VERSION/' \
30587     -e 's/.* LIBDIR$/#ifdef _DEBUG\n#  define LIBDIR PREFIX "\\\\debug\\\\lib"\n#else\n#  define LIBDIR PREFIX "\\\\lib"\n#endif/' \
30588     -e 's/.* LOCALEDIR$/#define LOCALEDIR PREFIX "\\\\share\\\\locale"/' \
30589     -e "s/.* PACKAGE$/#define PACKAGE \"$PACKAGE\"/" \
30590     -e 's/.* PACKAGE_BUGREPORT$/#define PACKAGE_BUGREPORT "http:\/\/bugzilla.gnome.org\/enter_bug.cgi?product=GStreamer"/' \
30591     -e "s/.* PACKAGE_NAME$/#define PACKAGE_NAME \"$PACKAGE_NAME\"/" \
30592     -e "s/.* PACKAGE_STRING$/#define PACKAGE_STRING \"$PACKAGE_STRING\"/" \
30593     -e 's/.* PACKAGE_TARNAME$/#define PACKAGE_TARNAME "'$PACKAGE_TARNAME'"/' \
30594     -e 's/.* PACKAGE_VERSION$/#define PACKAGE_VERSION "'$PACKAGE_VERSION'"/' \
30595     -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/' \
30596     -e 's/.* USE_BINARY_REGISTRY$/#define USE_BINARY_REGISTRY/' \
30597     -e 's/.* VERSION$/#define VERSION "'$VERSION'"/' \
30598     -e "s/.* DEFAULT_AUDIOSINK$/#define DEFAULT_AUDIOSINK \"directsoundsink\"/" \
30599     -e "s/.* DEFAULT_VIDEOSINK$/#define DEFAULT_VIDEOSINK \"directdrawsink\"/" \
30600     -e "s/.* DEFAULT_VISUALIZER$/#define DEFAULT_VISUALIZER \"goom\"/" \
30601     config.h.in >win32/common/config.h-new
30602
30603
30604
30605 cat >confcache <<\_ACEOF
30606 # This file is a shell script that caches the results of configure
30607 # tests run on this system so they can be shared between configure
30608 # scripts and configure runs, see configure's option --config-cache.
30609 # It is not useful on other systems.  If it contains results you don't
30610 # want to keep, you may remove or edit it.
30611 #
30612 # config.status only pays attention to the cache file if you give it
30613 # the --recheck option to rerun configure.
30614 #
30615 # `ac_cv_env_foo' variables (set or unset) will be overridden when
30616 # loading this file, other *unset* `ac_cv_foo' will be assigned the
30617 # following values.
30618
30619 _ACEOF
30620
30621 # The following way of writing the cache mishandles newlines in values,
30622 # but we know of no workaround that is simple, portable, and efficient.
30623 # So, we kill variables containing newlines.
30624 # Ultrix sh set writes to stderr and can't be redirected directly,
30625 # and sets the high bit in the cache file unless we assign to the vars.
30626 (
30627   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
30628     eval ac_val=\$$ac_var
30629     case $ac_val in #(
30630     *${as_nl}*)
30631       case $ac_var in #(
30632       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
30633 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
30634       esac
30635       case $ac_var in #(
30636       _ | IFS | as_nl) ;; #(
30637       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
30638       *) { eval $ac_var=; unset $ac_var;} ;;
30639       esac ;;
30640     esac
30641   done
30642
30643   (set) 2>&1 |
30644     case $as_nl`(ac_space=' '; set) 2>&1` in #(
30645     *${as_nl}ac_space=\ *)
30646       # `set' does not quote correctly, so add quotes: double-quote
30647       # substitution turns \\\\ into \\, and sed turns \\ into \.
30648       sed -n \
30649         "s/'/'\\\\''/g;
30650           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
30651       ;; #(
30652     *)
30653       # `set' quotes correctly as required by POSIX, so do not add quotes.
30654       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
30655       ;;
30656     esac |
30657     sort
30658 ) |
30659   sed '
30660      /^ac_cv_env_/b end
30661      t clear
30662      :clear
30663      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
30664      t end
30665      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
30666      :end' >>confcache
30667 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
30668   if test -w "$cache_file"; then
30669     test "x$cache_file" != "x/dev/null" &&
30670       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
30671 $as_echo "$as_me: updating cache $cache_file" >&6;}
30672     cat confcache >$cache_file
30673   else
30674     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
30675 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
30676   fi
30677 fi
30678 rm -f confcache
30679
30680 test "x$prefix" = xNONE && prefix=$ac_default_prefix
30681 # Let make expand exec_prefix.
30682 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
30683
30684 DEFS=-DHAVE_CONFIG_H
30685
30686 ac_libobjs=
30687 ac_ltlibobjs=
30688 U=
30689 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
30690   # 1. Remove the extension, and $U if already installed.
30691   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
30692   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
30693   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
30694   #    will be set to the directory where LIBOBJS objects are built.
30695   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
30696   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
30697 done
30698 LIBOBJS=$ac_libobjs
30699
30700 LTLIBOBJS=$ac_ltlibobjs
30701
30702
30703  if test -n "$EXEEXT"; then
30704   am__EXEEXT_TRUE=
30705   am__EXEEXT_FALSE='#'
30706 else
30707   am__EXEEXT_TRUE='#'
30708   am__EXEEXT_FALSE=
30709 fi
30710
30711 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
30712   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
30713 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30714 fi
30715 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
30716   as_fn_error $? "conditional \"AMDEP\" was never defined.
30717 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30718 fi
30719 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
30720   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
30721 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30722 fi
30723 if test -z "${GST_GCOV_ENABLED_TRUE}" && test -z "${GST_GCOV_ENABLED_FALSE}"; then
30724   as_fn_error $? "conditional \"GST_GCOV_ENABLED\" was never defined.
30725 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30726 fi
30727 if test -z "${BUILD_EXAMPLES_TRUE}" && test -z "${BUILD_EXAMPLES_FALSE}"; then
30728   as_fn_error $? "conditional \"BUILD_EXAMPLES\" was never defined.
30729 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30730 fi
30731 if test -z "${USE_EXTERNAL_TRUE}" && test -z "${USE_EXTERNAL_FALSE}"; then
30732   as_fn_error $? "conditional \"USE_EXTERNAL\" was never defined.
30733 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30734 fi
30735 if test -z "${BUILD_EXTERNAL_TRUE}" && test -z "${BUILD_EXTERNAL_FALSE}"; then
30736   as_fn_error $? "conditional \"BUILD_EXTERNAL\" was never defined.
30737 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30738 fi
30739 if test -z "${USE_EXPERIMENTAL_TRUE}" && test -z "${USE_EXPERIMENTAL_FALSE}"; then
30740   as_fn_error $? "conditional \"USE_EXPERIMENTAL\" was never defined.
30741 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30742 fi
30743 if test -z "${BUILD_EXPERIMENTAL_TRUE}" && test -z "${BUILD_EXPERIMENTAL_FALSE}"; then
30744   as_fn_error $? "conditional \"BUILD_EXPERIMENTAL\" was never defined.
30745 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30746 fi
30747
30748 if test -z "${HAVE_CPU_I386_TRUE}" && test -z "${HAVE_CPU_I386_FALSE}"; then
30749   as_fn_error $? "conditional \"HAVE_CPU_I386\" was never defined.
30750 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30751 fi
30752 if test -z "${HAVE_CPU_PPC_TRUE}" && test -z "${HAVE_CPU_PPC_FALSE}"; then
30753   as_fn_error $? "conditional \"HAVE_CPU_PPC\" was never defined.
30754 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30755 fi
30756 if test -z "${HAVE_CPU_PPC64_TRUE}" && test -z "${HAVE_CPU_PPC64_FALSE}"; then
30757   as_fn_error $? "conditional \"HAVE_CPU_PPC64\" was never defined.
30758 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30759 fi
30760 if test -z "${HAVE_CPU_ALPHA_TRUE}" && test -z "${HAVE_CPU_ALPHA_FALSE}"; then
30761   as_fn_error $? "conditional \"HAVE_CPU_ALPHA\" was never defined.
30762 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30763 fi
30764 if test -z "${HAVE_CPU_ARM_TRUE}" && test -z "${HAVE_CPU_ARM_FALSE}"; then
30765   as_fn_error $? "conditional \"HAVE_CPU_ARM\" was never defined.
30766 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30767 fi
30768 if test -z "${HAVE_CPU_SPARC_TRUE}" && test -z "${HAVE_CPU_SPARC_FALSE}"; then
30769   as_fn_error $? "conditional \"HAVE_CPU_SPARC\" was never defined.
30770 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30771 fi
30772 if test -z "${HAVE_CPU_HPPA_TRUE}" && test -z "${HAVE_CPU_HPPA_FALSE}"; then
30773   as_fn_error $? "conditional \"HAVE_CPU_HPPA\" was never defined.
30774 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30775 fi
30776 if test -z "${HAVE_CPU_MIPS_TRUE}" && test -z "${HAVE_CPU_MIPS_FALSE}"; then
30777   as_fn_error $? "conditional \"HAVE_CPU_MIPS\" was never defined.
30778 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30779 fi
30780 if test -z "${HAVE_CPU_S390_TRUE}" && test -z "${HAVE_CPU_S390_FALSE}"; then
30781   as_fn_error $? "conditional \"HAVE_CPU_S390\" was never defined.
30782 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30783 fi
30784 if test -z "${HAVE_CPU_IA64_TRUE}" && test -z "${HAVE_CPU_IA64_FALSE}"; then
30785   as_fn_error $? "conditional \"HAVE_CPU_IA64\" was never defined.
30786 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30787 fi
30788 if test -z "${HAVE_CPU_M68K_TRUE}" && test -z "${HAVE_CPU_M68K_FALSE}"; then
30789   as_fn_error $? "conditional \"HAVE_CPU_M68K\" was never defined.
30790 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30791 fi
30792 if test -z "${HAVE_CPU_X86_64_TRUE}" && test -z "${HAVE_CPU_X86_64_FALSE}"; then
30793   as_fn_error $? "conditional \"HAVE_CPU_X86_64\" was never defined.
30794 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30795 fi
30796 if test -z "${HAVE_CPU_CRIS_TRUE}" && test -z "${HAVE_CPU_CRIS_FALSE}"; then
30797   as_fn_error $? "conditional \"HAVE_CPU_CRIS\" was never defined.
30798 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30799 fi
30800 if test -z "${HAVE_CPU_CRISV32_TRUE}" && test -z "${HAVE_CPU_CRISV32_FALSE}"; then
30801   as_fn_error $? "conditional \"HAVE_CPU_CRISV32\" was never defined.
30802 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30803 fi
30804 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
30805   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
30806 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30807 fi
30808 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
30809   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
30810 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30811 fi
30812 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
30813   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
30814 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30815 fi
30816 if test -z "${HAVE_CXX_TRUE}" && test -z "${HAVE_CXX_FALSE}"; then
30817   as_fn_error $? "conditional \"HAVE_CXX\" was never defined.
30818 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30819 fi
30820 if test -z "${HAVE_VALGRIND_TRUE}" && test -z "${HAVE_VALGRIND_FALSE}"; then
30821   as_fn_error $? "conditional \"HAVE_VALGRIND\" was never defined.
30822 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30823 fi
30824 if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
30825   as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
30826 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30827 fi
30828 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
30829   as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
30830 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30831 fi
30832 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
30833   as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
30834 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30835 fi
30836 if test -z "${ENABLE_PLUGIN_DOCS_TRUE}" && test -z "${ENABLE_PLUGIN_DOCS_FALSE}"; then
30837   as_fn_error $? "conditional \"ENABLE_PLUGIN_DOCS\" was never defined.
30838 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30839 fi
30840 if test -z "${HAVE_LIBXML_HTML_TRUE}" && test -z "${HAVE_LIBXML_HTML_FALSE}"; then
30841   as_fn_error $? "conditional \"HAVE_LIBXML_HTML\" was never defined.
30842 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30843 fi
30844 if test -z "${HAVE_SYS_SOCKET_H_TRUE}" && test -z "${HAVE_SYS_SOCKET_H_FALSE}"; then
30845   as_fn_error $? "conditional \"HAVE_SYS_SOCKET_H\" was never defined.
30846 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30847 fi
30848 if test -z "${HAVE_ORC_TRUE}" && test -z "${HAVE_ORC_FALSE}"; then
30849   as_fn_error $? "conditional \"HAVE_ORC\" was never defined.
30850 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30851 fi
30852 if test -z "${HAVE_ORCC_TRUE}" && test -z "${HAVE_ORCC_FALSE}"; then
30853   as_fn_error $? "conditional \"HAVE_ORCC\" was never defined.
30854 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30855 fi
30856 if test -z "${HAVE_GST_CHECK_TRUE}" && test -z "${HAVE_GST_CHECK_FALSE}"; then
30857   as_fn_error $? "conditional \"HAVE_GST_CHECK\" was never defined.
30858 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30859 fi
30860 if test -z "${HAVE_GTK_TRUE}" && test -z "${HAVE_GTK_FALSE}"; then
30861   as_fn_error $? "conditional \"HAVE_GTK\" was never defined.
30862 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30863 fi
30864 if test -z "${HAVE_GTK_X11_TRUE}" && test -z "${HAVE_GTK_X11_FALSE}"; then
30865   as_fn_error $? "conditional \"HAVE_GTK_X11\" was never defined.
30866 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30867 fi
30868 if test -z "${HAVE_QT_TRUE}" && test -z "${HAVE_QT_FALSE}"; then
30869   as_fn_error $? "conditional \"HAVE_QT\" was never defined.
30870 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30871 fi
30872 if test -z "${HAVE_QT_GV_TRUE}" && test -z "${HAVE_QT_GV_FALSE}"; then
30873   as_fn_error $? "conditional \"HAVE_QT_GV\" was never defined.
30874 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30875 fi
30876 if test -z "${HAVE_LINUX_JOYSTICK_HEADERS_TRUE}" && test -z "${HAVE_LINUX_JOYSTICK_HEADERS_FALSE}"; then
30877   as_fn_error $? "conditional \"HAVE_LINUX_JOYSTICK_HEADERS\" was never defined.
30878 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30879 fi
30880 if test -z "${USE_PLUGIN_ADDER_TRUE}" && test -z "${USE_PLUGIN_ADDER_FALSE}"; then
30881   as_fn_error $? "conditional \"USE_PLUGIN_ADDER\" was never defined.
30882 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30883 fi
30884 if test -z "${USE_PLUGIN_APP_TRUE}" && test -z "${USE_PLUGIN_APP_FALSE}"; then
30885   as_fn_error $? "conditional \"USE_PLUGIN_APP\" was never defined.
30886 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30887 fi
30888 if test -z "${USE_PLUGIN_AUDIOCONVERT_TRUE}" && test -z "${USE_PLUGIN_AUDIOCONVERT_FALSE}"; then
30889   as_fn_error $? "conditional \"USE_PLUGIN_AUDIOCONVERT\" was never defined.
30890 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30891 fi
30892 if test -z "${USE_PLUGIN_AUDIORATE_TRUE}" && test -z "${USE_PLUGIN_AUDIORATE_FALSE}"; then
30893   as_fn_error $? "conditional \"USE_PLUGIN_AUDIORATE\" was never defined.
30894 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30895 fi
30896 if test -z "${USE_PLUGIN_AUDIOTESTSRC_TRUE}" && test -z "${USE_PLUGIN_AUDIOTESTSRC_FALSE}"; then
30897   as_fn_error $? "conditional \"USE_PLUGIN_AUDIOTESTSRC\" was never defined.
30898 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30899 fi
30900 if test -z "${USE_PLUGIN_ENCODING_TRUE}" && test -z "${USE_PLUGIN_ENCODING_FALSE}"; then
30901   as_fn_error $? "conditional \"USE_PLUGIN_ENCODING\" was never defined.
30902 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30903 fi
30904 if test -z "${USE_PLUGIN_FFMPEGCOLORSPACE_TRUE}" && test -z "${USE_PLUGIN_FFMPEGCOLORSPACE_FALSE}"; then
30905   as_fn_error $? "conditional \"USE_PLUGIN_FFMPEGCOLORSPACE\" was never defined.
30906 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30907 fi
30908 if test -z "${USE_PLUGIN_GDP_TRUE}" && test -z "${USE_PLUGIN_GDP_FALSE}"; then
30909   as_fn_error $? "conditional \"USE_PLUGIN_GDP\" was never defined.
30910 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30911 fi
30912 if test -z "${USE_PLUGIN_PLAYBACK_TRUE}" && test -z "${USE_PLUGIN_PLAYBACK_FALSE}"; then
30913   as_fn_error $? "conditional \"USE_PLUGIN_PLAYBACK\" was never defined.
30914 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30915 fi
30916 if test -z "${USE_PLUGIN_AUDIORESAMPLE_TRUE}" && test -z "${USE_PLUGIN_AUDIORESAMPLE_FALSE}"; then
30917   as_fn_error $? "conditional \"USE_PLUGIN_AUDIORESAMPLE\" was never defined.
30918 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30919 fi
30920 if test -z "${USE_PLUGIN_SUBPARSE_TRUE}" && test -z "${USE_PLUGIN_SUBPARSE_FALSE}"; then
30921   as_fn_error $? "conditional \"USE_PLUGIN_SUBPARSE\" was never defined.
30922 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30923 fi
30924 if test -z "${USE_PLUGIN_TCP_TRUE}" && test -z "${USE_PLUGIN_TCP_FALSE}"; then
30925   as_fn_error $? "conditional \"USE_PLUGIN_TCP\" was never defined.
30926 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30927 fi
30928 if test -z "${USE_PLUGIN_TYPEFIND_TRUE}" && test -z "${USE_PLUGIN_TYPEFIND_FALSE}"; then
30929   as_fn_error $? "conditional \"USE_PLUGIN_TYPEFIND\" was never defined.
30930 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30931 fi
30932 if test -z "${USE_PLUGIN_VIDEOTESTSRC_TRUE}" && test -z "${USE_PLUGIN_VIDEOTESTSRC_FALSE}"; then
30933   as_fn_error $? "conditional \"USE_PLUGIN_VIDEOTESTSRC\" was never defined.
30934 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30935 fi
30936 if test -z "${USE_PLUGIN_VIDEORATE_TRUE}" && test -z "${USE_PLUGIN_VIDEORATE_FALSE}"; then
30937   as_fn_error $? "conditional \"USE_PLUGIN_VIDEORATE\" was never defined.
30938 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30939 fi
30940 if test -z "${USE_PLUGIN_VIDEOSCALE_TRUE}" && test -z "${USE_PLUGIN_VIDEOSCALE_FALSE}"; then
30941   as_fn_error $? "conditional \"USE_PLUGIN_VIDEOSCALE\" was never defined.
30942 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30943 fi
30944 if test -z "${USE_PLUGIN_VOLUME_TRUE}" && test -z "${USE_PLUGIN_VOLUME_FALSE}"; then
30945   as_fn_error $? "conditional \"USE_PLUGIN_VOLUME\" was never defined.
30946 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30947 fi
30948 if test -z "${USE_XML_TRUE}" && test -z "${USE_XML_FALSE}"; then
30949   as_fn_error $? "conditional \"USE_XML\" was never defined.
30950 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30951 fi
30952 if test -z "${USE_PLUGIN_SUBPARSE_TRUE}" && test -z "${USE_PLUGIN_SUBPARSE_FALSE}"; then
30953   as_fn_error $? "conditional \"USE_PLUGIN_SUBPARSE\" was never defined.
30954 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30955 fi
30956 if test -z "${USE_PLUGIN_TCP_TRUE}" && test -z "${USE_PLUGIN_TCP_FALSE}"; then
30957   as_fn_error $? "conditional \"USE_PLUGIN_TCP\" was never defined.
30958 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30959 fi
30960 if test -z "${USE_ISO_CODES_TRUE}" && test -z "${USE_ISO_CODES_FALSE}"; then
30961   as_fn_error $? "conditional \"USE_ISO_CODES\" was never defined.
30962 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30963 fi
30964 if test -z "${USE_ISO_CODES_TRUE}" && test -z "${USE_ISO_CODES_FALSE}"; then
30965   as_fn_error $? "conditional \"USE_ISO_CODES\" was never defined.
30966 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30967 fi
30968 if test -z "${USE_X_TRUE}" && test -z "${USE_X_FALSE}"; then
30969   as_fn_error $? "conditional \"USE_X\" was never defined.
30970 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30971 fi
30972 if test -z "${USE_XVIDEO_TRUE}" && test -z "${USE_XVIDEO_FALSE}"; then
30973   as_fn_error $? "conditional \"USE_XVIDEO\" was never defined.
30974 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30975 fi
30976 if test -z "${USE_XSHM_TRUE}" && test -z "${USE_XSHM_FALSE}"; then
30977   as_fn_error $? "conditional \"USE_XSHM\" was never defined.
30978 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30979 fi
30980 if test -z "${USE_GST_V4L_TRUE}" && test -z "${USE_GST_V4L_FALSE}"; then
30981   as_fn_error $? "conditional \"USE_GST_V4L\" was never defined.
30982 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30983 fi
30984 if test -z "${USE_ALSA_TRUE}" && test -z "${USE_ALSA_FALSE}"; then
30985   as_fn_error $? "conditional \"USE_ALSA\" was never defined.
30986 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30987 fi
30988 if test -z "${USE_CDPARANOIA_TRUE}" && test -z "${USE_CDPARANOIA_FALSE}"; then
30989   as_fn_error $? "conditional \"USE_CDPARANOIA\" was never defined.
30990 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30991 fi
30992 if test -z "${USE_GNOME_VFS_TRUE}" && test -z "${USE_GNOME_VFS_FALSE}"; then
30993   as_fn_error $? "conditional \"USE_GNOME_VFS\" was never defined.
30994 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30995 fi
30996 if test -z "${USE_IVORBIS_TRUE}" && test -z "${USE_IVORBIS_FALSE}"; then
30997   as_fn_error $? "conditional \"USE_IVORBIS\" was never defined.
30998 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30999 fi
31000 if test -z "${USE_GIO_TRUE}" && test -z "${USE_GIO_FALSE}"; then
31001   as_fn_error $? "conditional \"USE_GIO\" was never defined.
31002 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31003 fi
31004 if test -z "${USE_LIBVISUAL_TRUE}" && test -z "${USE_LIBVISUAL_FALSE}"; then
31005   as_fn_error $? "conditional \"USE_LIBVISUAL\" was never defined.
31006 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31007 fi
31008 if test -z "${USE_OGG_TRUE}" && test -z "${USE_OGG_FALSE}"; then
31009   as_fn_error $? "conditional \"USE_OGG\" was never defined.
31010 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31011 fi
31012 if test -z "${USE_PANGO_TRUE}" && test -z "${USE_PANGO_FALSE}"; then
31013   as_fn_error $? "conditional \"USE_PANGO\" was never defined.
31014 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31015 fi
31016 if test -z "${USE_THEORA_TRUE}" && test -z "${USE_THEORA_FALSE}"; then
31017   as_fn_error $? "conditional \"USE_THEORA\" was never defined.
31018 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31019 fi
31020 if test -z "${USE_VORBIS_TRUE}" && test -z "${USE_VORBIS_FALSE}"; then
31021   as_fn_error $? "conditional \"USE_VORBIS\" was never defined.
31022 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31023 fi
31024 if test -z "${USE_ALSA_TRUE}" && test -z "${USE_ALSA_FALSE}"; then
31025   as_fn_error $? "conditional \"USE_ALSA\" was never defined.
31026 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31027 fi
31028 if test -z "${USE_CDPARANOIA_TRUE}" && test -z "${USE_CDPARANOIA_FALSE}"; then
31029   as_fn_error $? "conditional \"USE_CDPARANOIA\" was never defined.
31030 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31031 fi
31032 if test -z "${USE_GIO_TRUE}" && test -z "${USE_GIO_FALSE}"; then
31033   as_fn_error $? "conditional \"USE_GIO\" was never defined.
31034 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31035 fi
31036 if test -z "${USE_GNOME_VFS_TRUE}" && test -z "${USE_GNOME_VFS_FALSE}"; then
31037   as_fn_error $? "conditional \"USE_GNOME_VFS\" was never defined.
31038 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31039 fi
31040 if test -z "${USE_IVORBIS_TRUE}" && test -z "${USE_IVORBIS_FALSE}"; then
31041   as_fn_error $? "conditional \"USE_IVORBIS\" was never defined.
31042 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31043 fi
31044 if test -z "${USE_LIBVISUAL_TRUE}" && test -z "${USE_LIBVISUAL_FALSE}"; then
31045   as_fn_error $? "conditional \"USE_LIBVISUAL\" was never defined.
31046 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31047 fi
31048 if test -z "${USE_OGG_TRUE}" && test -z "${USE_OGG_FALSE}"; then
31049   as_fn_error $? "conditional \"USE_OGG\" was never defined.
31050 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31051 fi
31052 if test -z "${USE_PANGO_TRUE}" && test -z "${USE_PANGO_FALSE}"; then
31053   as_fn_error $? "conditional \"USE_PANGO\" was never defined.
31054 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31055 fi
31056 if test -z "${USE_THEORA_TRUE}" && test -z "${USE_THEORA_FALSE}"; then
31057   as_fn_error $? "conditional \"USE_THEORA\" was never defined.
31058 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31059 fi
31060 if test -z "${USE_VORBIS_TRUE}" && test -z "${USE_VORBIS_FALSE}"; then
31061   as_fn_error $? "conditional \"USE_VORBIS\" was never defined.
31062 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31063 fi
31064 if test -z "${HAVE_FT2_TRUE}" && test -z "${HAVE_FT2_FALSE}"; then
31065   as_fn_error $? "conditional \"HAVE_FT2\" was never defined.
31066 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31067 fi
31068
31069 : ${CONFIG_STATUS=./config.status}
31070 ac_write_fail=0
31071 ac_clean_files_save=$ac_clean_files
31072 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
31073 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
31074 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
31075 as_write_fail=0
31076 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
31077 #! $SHELL
31078 # Generated by $as_me.
31079 # Run this file to recreate the current configuration.
31080 # Compiler output produced by configure, useful for debugging
31081 # configure, is in config.log if it exists.
31082
31083 debug=false
31084 ac_cs_recheck=false
31085 ac_cs_silent=false
31086
31087 SHELL=\${CONFIG_SHELL-$SHELL}
31088 export SHELL
31089 _ASEOF
31090 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
31091 ## -------------------- ##
31092 ## M4sh Initialization. ##
31093 ## -------------------- ##
31094
31095 # Be more Bourne compatible
31096 DUALCASE=1; export DUALCASE # for MKS sh
31097 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
31098   emulate sh
31099   NULLCMD=:
31100   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
31101   # is contrary to our usage.  Disable this feature.
31102   alias -g '${1+"$@"}'='"$@"'
31103   setopt NO_GLOB_SUBST
31104 else
31105   case `(set -o) 2>/dev/null` in #(
31106   *posix*) :
31107     set -o posix ;; #(
31108   *) :
31109      ;;
31110 esac
31111 fi
31112
31113
31114 as_nl='
31115 '
31116 export as_nl
31117 # Printing a long string crashes Solaris 7 /usr/bin/printf.
31118 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
31119 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
31120 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
31121 # Prefer a ksh shell builtin over an external printf program on Solaris,
31122 # but without wasting forks for bash or zsh.
31123 if test -z "$BASH_VERSION$ZSH_VERSION" \
31124     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
31125   as_echo='print -r --'
31126   as_echo_n='print -rn --'
31127 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
31128   as_echo='printf %s\n'
31129   as_echo_n='printf %s'
31130 else
31131   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
31132     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
31133     as_echo_n='/usr/ucb/echo -n'
31134   else
31135     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
31136     as_echo_n_body='eval
31137       arg=$1;
31138       case $arg in #(
31139       *"$as_nl"*)
31140         expr "X$arg" : "X\\(.*\\)$as_nl";
31141         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
31142       esac;
31143       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
31144     '
31145     export as_echo_n_body
31146     as_echo_n='sh -c $as_echo_n_body as_echo'
31147   fi
31148   export as_echo_body
31149   as_echo='sh -c $as_echo_body as_echo'
31150 fi
31151
31152 # The user is always right.
31153 if test "${PATH_SEPARATOR+set}" != set; then
31154   PATH_SEPARATOR=:
31155   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
31156     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
31157       PATH_SEPARATOR=';'
31158   }
31159 fi
31160
31161
31162 # IFS
31163 # We need space, tab and new line, in precisely that order.  Quoting is
31164 # there to prevent editors from complaining about space-tab.
31165 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
31166 # splitting by setting IFS to empty value.)
31167 IFS=" ""        $as_nl"
31168
31169 # Find who we are.  Look in the path if we contain no directory separator.
31170 case $0 in #((
31171   *[\\/]* ) as_myself=$0 ;;
31172   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31173 for as_dir in $PATH
31174 do
31175   IFS=$as_save_IFS
31176   test -z "$as_dir" && as_dir=.
31177     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
31178   done
31179 IFS=$as_save_IFS
31180
31181      ;;
31182 esac
31183 # We did not find ourselves, most probably we were run as `sh COMMAND'
31184 # in which case we are not to be found in the path.
31185 if test "x$as_myself" = x; then
31186   as_myself=$0
31187 fi
31188 if test ! -f "$as_myself"; then
31189   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
31190   exit 1
31191 fi
31192
31193 # Unset variables that we do not need and which cause bugs (e.g. in
31194 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
31195 # suppresses any "Segmentation fault" message there.  '((' could
31196 # trigger a bug in pdksh 5.2.14.
31197 for as_var in BASH_ENV ENV MAIL MAILPATH
31198 do eval test x\${$as_var+set} = xset \
31199   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
31200 done
31201 PS1='$ '
31202 PS2='> '
31203 PS4='+ '
31204
31205 # NLS nuisances.
31206 LC_ALL=C
31207 export LC_ALL
31208 LANGUAGE=C
31209 export LANGUAGE
31210
31211 # CDPATH.
31212 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
31213
31214
31215 # as_fn_error STATUS ERROR [LINENO LOG_FD]
31216 # ----------------------------------------
31217 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
31218 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
31219 # script with STATUS, using 1 if that was 0.
31220 as_fn_error ()
31221 {
31222   as_status=$1; test $as_status -eq 0 && as_status=1
31223   if test "$4"; then
31224     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
31225     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
31226   fi
31227   $as_echo "$as_me: error: $2" >&2
31228   as_fn_exit $as_status
31229 } # as_fn_error
31230
31231
31232 # as_fn_set_status STATUS
31233 # -----------------------
31234 # Set $? to STATUS, without forking.
31235 as_fn_set_status ()
31236 {
31237   return $1
31238 } # as_fn_set_status
31239
31240 # as_fn_exit STATUS
31241 # -----------------
31242 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
31243 as_fn_exit ()
31244 {
31245   set +e
31246   as_fn_set_status $1
31247   exit $1
31248 } # as_fn_exit
31249
31250 # as_fn_unset VAR
31251 # ---------------
31252 # Portably unset VAR.
31253 as_fn_unset ()
31254 {
31255   { eval $1=; unset $1;}
31256 }
31257 as_unset=as_fn_unset
31258 # as_fn_append VAR VALUE
31259 # ----------------------
31260 # Append the text in VALUE to the end of the definition contained in VAR. Take
31261 # advantage of any shell optimizations that allow amortized linear growth over
31262 # repeated appends, instead of the typical quadratic growth present in naive
31263 # implementations.
31264 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
31265   eval 'as_fn_append ()
31266   {
31267     eval $1+=\$2
31268   }'
31269 else
31270   as_fn_append ()
31271   {
31272     eval $1=\$$1\$2
31273   }
31274 fi # as_fn_append
31275
31276 # as_fn_arith ARG...
31277 # ------------------
31278 # Perform arithmetic evaluation on the ARGs, and store the result in the
31279 # global $as_val. Take advantage of shells that can avoid forks. The arguments
31280 # must be portable across $(()) and expr.
31281 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
31282   eval 'as_fn_arith ()
31283   {
31284     as_val=$(( $* ))
31285   }'
31286 else
31287   as_fn_arith ()
31288   {
31289     as_val=`expr "$@" || test $? -eq 1`
31290   }
31291 fi # as_fn_arith
31292
31293
31294 if expr a : '\(a\)' >/dev/null 2>&1 &&
31295    test "X`expr 00001 : '.*\(...\)'`" = X001; then
31296   as_expr=expr
31297 else
31298   as_expr=false
31299 fi
31300
31301 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
31302   as_basename=basename
31303 else
31304   as_basename=false
31305 fi
31306
31307 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
31308   as_dirname=dirname
31309 else
31310   as_dirname=false
31311 fi
31312
31313 as_me=`$as_basename -- "$0" ||
31314 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
31315          X"$0" : 'X\(//\)$' \| \
31316          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
31317 $as_echo X/"$0" |
31318     sed '/^.*\/\([^/][^/]*\)\/*$/{
31319             s//\1/
31320             q
31321           }
31322           /^X\/\(\/\/\)$/{
31323             s//\1/
31324             q
31325           }
31326           /^X\/\(\/\).*/{
31327             s//\1/
31328             q
31329           }
31330           s/.*/./; q'`
31331
31332 # Avoid depending upon Character Ranges.
31333 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
31334 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
31335 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
31336 as_cr_digits='0123456789'
31337 as_cr_alnum=$as_cr_Letters$as_cr_digits
31338
31339 ECHO_C= ECHO_N= ECHO_T=
31340 case `echo -n x` in #(((((
31341 -n*)
31342   case `echo 'xy\c'` in
31343   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
31344   xy)  ECHO_C='\c';;
31345   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
31346        ECHO_T=' ';;
31347   esac;;
31348 *)
31349   ECHO_N='-n';;
31350 esac
31351
31352 rm -f conf$$ conf$$.exe conf$$.file
31353 if test -d conf$$.dir; then
31354   rm -f conf$$.dir/conf$$.file
31355 else
31356   rm -f conf$$.dir
31357   mkdir conf$$.dir 2>/dev/null
31358 fi
31359 if (echo >conf$$.file) 2>/dev/null; then
31360   if ln -s conf$$.file conf$$ 2>/dev/null; then
31361     as_ln_s='ln -s'
31362     # ... but there are two gotchas:
31363     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
31364     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
31365     # In both cases, we have to default to `cp -p'.
31366     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
31367       as_ln_s='cp -p'
31368   elif ln conf$$.file conf$$ 2>/dev/null; then
31369     as_ln_s=ln
31370   else
31371     as_ln_s='cp -p'
31372   fi
31373 else
31374   as_ln_s='cp -p'
31375 fi
31376 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
31377 rmdir conf$$.dir 2>/dev/null
31378
31379
31380 # as_fn_mkdir_p
31381 # -------------
31382 # Create "$as_dir" as a directory, including parents if necessary.
31383 as_fn_mkdir_p ()
31384 {
31385
31386   case $as_dir in #(
31387   -*) as_dir=./$as_dir;;
31388   esac
31389   test -d "$as_dir" || eval $as_mkdir_p || {
31390     as_dirs=
31391     while :; do
31392       case $as_dir in #(
31393       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
31394       *) as_qdir=$as_dir;;
31395       esac
31396       as_dirs="'$as_qdir' $as_dirs"
31397       as_dir=`$as_dirname -- "$as_dir" ||
31398 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31399          X"$as_dir" : 'X\(//\)[^/]' \| \
31400          X"$as_dir" : 'X\(//\)$' \| \
31401          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
31402 $as_echo X"$as_dir" |
31403     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
31404             s//\1/
31405             q
31406           }
31407           /^X\(\/\/\)[^/].*/{
31408             s//\1/
31409             q
31410           }
31411           /^X\(\/\/\)$/{
31412             s//\1/
31413             q
31414           }
31415           /^X\(\/\).*/{
31416             s//\1/
31417             q
31418           }
31419           s/.*/./; q'`
31420       test -d "$as_dir" && break
31421     done
31422     test -z "$as_dirs" || eval "mkdir $as_dirs"
31423   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
31424
31425
31426 } # as_fn_mkdir_p
31427 if mkdir -p . 2>/dev/null; then
31428   as_mkdir_p='mkdir -p "$as_dir"'
31429 else
31430   test -d ./-p && rmdir ./-p
31431   as_mkdir_p=false
31432 fi
31433
31434 if test -x / >/dev/null 2>&1; then
31435   as_test_x='test -x'
31436 else
31437   if ls -dL / >/dev/null 2>&1; then
31438     as_ls_L_option=L
31439   else
31440     as_ls_L_option=
31441   fi
31442   as_test_x='
31443     eval sh -c '\''
31444       if test -d "$1"; then
31445         test -d "$1/.";
31446       else
31447         case $1 in #(
31448         -*)set "./$1";;
31449         esac;
31450         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
31451         ???[sx]*):;;*)false;;esac;fi
31452     '\'' sh
31453   '
31454 fi
31455 as_executable_p=$as_test_x
31456
31457 # Sed expression to map a string onto a valid CPP name.
31458 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
31459
31460 # Sed expression to map a string onto a valid variable name.
31461 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
31462
31463
31464 exec 6>&1
31465 ## ----------------------------------- ##
31466 ## Main body of $CONFIG_STATUS script. ##
31467 ## ----------------------------------- ##
31468 _ASEOF
31469 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
31470
31471 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
31472 # Save the log message, to keep $0 and so on meaningful, and to
31473 # report actual input values of CONFIG_FILES etc. instead of their
31474 # values after options handling.
31475 ac_log="
31476 This file was extended by GStreamer Base Plug-ins $as_me 0.10.34, which was
31477 generated by GNU Autoconf 2.67.  Invocation command line was
31478
31479   CONFIG_FILES    = $CONFIG_FILES
31480   CONFIG_HEADERS  = $CONFIG_HEADERS
31481   CONFIG_LINKS    = $CONFIG_LINKS
31482   CONFIG_COMMANDS = $CONFIG_COMMANDS
31483   $ $0 $@
31484
31485 on `(hostname || uname -n) 2>/dev/null | sed 1q`
31486 "
31487
31488 _ACEOF
31489
31490 case $ac_config_files in *"
31491 "*) set x $ac_config_files; shift; ac_config_files=$*;;
31492 esac
31493
31494 case $ac_config_headers in *"
31495 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
31496 esac
31497
31498
31499 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
31500 # Files that config.status was made for.
31501 config_files="$ac_config_files"
31502 config_headers="$ac_config_headers"
31503 config_commands="$ac_config_commands"
31504
31505 _ACEOF
31506
31507 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
31508 ac_cs_usage="\
31509 \`$as_me' instantiates files and other configuration actions
31510 from templates according to the current configuration.  Unless the files
31511 and actions are specified as TAGs, all are instantiated by default.
31512
31513 Usage: $0 [OPTION]... [TAG]...
31514
31515   -h, --help       print this help, then exit
31516   -V, --version    print version number and configuration settings, then exit
31517       --config     print configuration, then exit
31518   -q, --quiet, --silent
31519                    do not print progress messages
31520   -d, --debug      don't remove temporary files
31521       --recheck    update $as_me by reconfiguring in the same conditions
31522       --file=FILE[:TEMPLATE]
31523                    instantiate the configuration file FILE
31524       --header=FILE[:TEMPLATE]
31525                    instantiate the configuration header FILE
31526
31527 Configuration files:
31528 $config_files
31529
31530 Configuration headers:
31531 $config_headers
31532
31533 Configuration commands:
31534 $config_commands
31535
31536 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer>."
31537
31538 _ACEOF
31539 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
31540 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
31541 ac_cs_version="\\
31542 GStreamer Base Plug-ins config.status 0.10.34
31543 configured by $0, generated by GNU Autoconf 2.67,
31544   with options \\"\$ac_cs_config\\"
31545
31546 Copyright (C) 2010 Free Software Foundation, Inc.
31547 This config.status script is free software; the Free Software Foundation
31548 gives unlimited permission to copy, distribute and modify it."
31549
31550 ac_pwd='$ac_pwd'
31551 srcdir='$srcdir'
31552 INSTALL='$INSTALL'
31553 MKDIR_P='$MKDIR_P'
31554 AWK='$AWK'
31555 test -n "\$AWK" || AWK=awk
31556 _ACEOF
31557
31558 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
31559 # The default lists apply if the user does not specify any file.
31560 ac_need_defaults=:
31561 while test $# != 0
31562 do
31563   case $1 in
31564   --*=?*)
31565     ac_option=`expr "X$1" : 'X\([^=]*\)='`
31566     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
31567     ac_shift=:
31568     ;;
31569   --*=)
31570     ac_option=`expr "X$1" : 'X\([^=]*\)='`
31571     ac_optarg=
31572     ac_shift=:
31573     ;;
31574   *)
31575     ac_option=$1
31576     ac_optarg=$2
31577     ac_shift=shift
31578     ;;
31579   esac
31580
31581   case $ac_option in
31582   # Handling of the options.
31583   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
31584     ac_cs_recheck=: ;;
31585   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
31586     $as_echo "$ac_cs_version"; exit ;;
31587   --config | --confi | --conf | --con | --co | --c )
31588     $as_echo "$ac_cs_config"; exit ;;
31589   --debug | --debu | --deb | --de | --d | -d )
31590     debug=: ;;
31591   --file | --fil | --fi | --f )
31592     $ac_shift
31593     case $ac_optarg in
31594     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
31595     '') as_fn_error $? "missing file argument" ;;
31596     esac
31597     as_fn_append CONFIG_FILES " '$ac_optarg'"
31598     ac_need_defaults=false;;
31599   --header | --heade | --head | --hea )
31600     $ac_shift
31601     case $ac_optarg in
31602     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
31603     esac
31604     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
31605     ac_need_defaults=false;;
31606   --he | --h)
31607     # Conflict between --help and --header
31608     as_fn_error $? "ambiguous option: \`$1'
31609 Try \`$0 --help' for more information.";;
31610   --help | --hel | -h )
31611     $as_echo "$ac_cs_usage"; exit ;;
31612   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
31613   | -silent | --silent | --silen | --sile | --sil | --si | --s)
31614     ac_cs_silent=: ;;
31615
31616   # This is an error.
31617   -*) as_fn_error $? "unrecognized option: \`$1'
31618 Try \`$0 --help' for more information." ;;
31619
31620   *) as_fn_append ac_config_targets " $1"
31621      ac_need_defaults=false ;;
31622
31623   esac
31624   shift
31625 done
31626
31627 ac_configure_extra_args=
31628
31629 if $ac_cs_silent; then
31630   exec 6>/dev/null
31631   ac_configure_extra_args="$ac_configure_extra_args --silent"
31632 fi
31633
31634 _ACEOF
31635 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
31636 if \$ac_cs_recheck; then
31637   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
31638   shift
31639   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
31640   CONFIG_SHELL='$SHELL'
31641   export CONFIG_SHELL
31642   exec "\$@"
31643 fi
31644
31645 _ACEOF
31646 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
31647 exec 5>>config.log
31648 {
31649   echo
31650   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
31651 ## Running $as_me. ##
31652 _ASBOX
31653   $as_echo "$ac_log"
31654 } >&5
31655
31656 _ACEOF
31657 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
31658 #
31659 # INIT-COMMANDS
31660 #
31661 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
31662
31663
31664 # The HP-UX ksh and POSIX shell print the target directory to stdout
31665 # if CDPATH is set.
31666 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
31667
31668 sed_quote_subst='$sed_quote_subst'
31669 double_quote_subst='$double_quote_subst'
31670 delay_variable_subst='$delay_variable_subst'
31671 AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
31672 DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
31673 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
31674 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
31675 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
31676 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
31677 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
31678 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
31679 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
31680 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
31681 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
31682 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
31683 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
31684 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
31685 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
31686 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
31687 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
31688 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
31689 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
31690 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
31691 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
31692 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
31693 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
31694 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
31695 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
31696 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
31697 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
31698 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
31699 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
31700 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
31701 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31702 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
31703 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
31704 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
31705 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
31706 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
31707 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
31708 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31709 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31710 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31711 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
31712 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
31713 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
31714 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
31715 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
31716 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
31717 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
31718 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
31719 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
31720 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
31721 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
31722 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
31723 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
31724 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
31725 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
31726 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
31727 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
31728 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
31729 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
31730 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
31731 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
31732 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
31733 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
31734 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
31735 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31736 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31737 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
31738 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
31739 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
31740 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
31741 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
31742 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31743 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31744 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31745 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31746 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31747 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31748 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
31749 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
31750 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
31751 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
31752 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
31753 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
31754 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
31755 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
31756 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
31757 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
31758 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
31759 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
31760 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
31761 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
31762 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
31763 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31764 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
31765 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
31766 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31767 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
31768 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
31769 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
31770 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
31771 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
31772 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
31773 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
31774 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
31775 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
31776 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
31777 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
31778 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31779 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31780 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31781 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
31782 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
31783 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
31784 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
31785 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
31786 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
31787 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
31788 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
31789 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
31790 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
31791 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
31792 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
31793 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
31794 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
31795 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
31796 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
31797 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31798 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31799 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31800 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31801 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31802 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31803 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31804 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31805 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31806 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31807 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31808 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31809 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31810 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31811 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31812 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31813 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31814 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31815 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31816 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31817 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31818 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31819 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31820 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31821 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31822 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31823 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31824 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31825 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31826 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31827 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31828 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31829 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31830 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31831 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31832 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31833 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31834 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31835 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31836 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31837 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31838 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31839 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31840 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31841 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31842 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31843 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31844
31845 LTCC='$LTCC'
31846 LTCFLAGS='$LTCFLAGS'
31847 compiler='$compiler_DEFAULT'
31848
31849 # Quote evaled strings.
31850 for var in SED \
31851 GREP \
31852 EGREP \
31853 FGREP \
31854 LD \
31855 NM \
31856 LN_S \
31857 lt_SP2NL \
31858 lt_NL2SP \
31859 reload_flag \
31860 deplibs_check_method \
31861 file_magic_cmd \
31862 AR \
31863 AR_FLAGS \
31864 STRIP \
31865 RANLIB \
31866 CC \
31867 CFLAGS \
31868 compiler \
31869 lt_cv_sys_global_symbol_pipe \
31870 lt_cv_sys_global_symbol_to_cdecl \
31871 lt_cv_sys_global_symbol_to_c_name_address \
31872 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
31873 SHELL \
31874 ECHO \
31875 lt_prog_compiler_no_builtin_flag \
31876 lt_prog_compiler_wl \
31877 lt_prog_compiler_pic \
31878 lt_prog_compiler_static \
31879 lt_cv_prog_compiler_c_o \
31880 need_locks \
31881 DSYMUTIL \
31882 NMEDIT \
31883 LIPO \
31884 OTOOL \
31885 OTOOL64 \
31886 shrext_cmds \
31887 export_dynamic_flag_spec \
31888 whole_archive_flag_spec \
31889 compiler_needs_object \
31890 with_gnu_ld \
31891 allow_undefined_flag \
31892 no_undefined_flag \
31893 hardcode_libdir_flag_spec \
31894 hardcode_libdir_flag_spec_ld \
31895 hardcode_libdir_separator \
31896 fix_srcfile_path \
31897 exclude_expsyms \
31898 include_expsyms \
31899 file_list_spec \
31900 variables_saved_for_relink \
31901 libname_spec \
31902 library_names_spec \
31903 soname_spec \
31904 finish_eval \
31905 old_striplib \
31906 striplib \
31907 compiler_lib_search_dirs \
31908 predep_objects \
31909 postdep_objects \
31910 predeps \
31911 postdeps \
31912 compiler_lib_search_path \
31913 LD_CXX \
31914 compiler_CXX \
31915 lt_prog_compiler_no_builtin_flag_CXX \
31916 lt_prog_compiler_wl_CXX \
31917 lt_prog_compiler_pic_CXX \
31918 lt_prog_compiler_static_CXX \
31919 lt_cv_prog_compiler_c_o_CXX \
31920 export_dynamic_flag_spec_CXX \
31921 whole_archive_flag_spec_CXX \
31922 compiler_needs_object_CXX \
31923 with_gnu_ld_CXX \
31924 allow_undefined_flag_CXX \
31925 no_undefined_flag_CXX \
31926 hardcode_libdir_flag_spec_CXX \
31927 hardcode_libdir_flag_spec_ld_CXX \
31928 hardcode_libdir_separator_CXX \
31929 fix_srcfile_path_CXX \
31930 exclude_expsyms_CXX \
31931 include_expsyms_CXX \
31932 file_list_spec_CXX \
31933 compiler_lib_search_dirs_CXX \
31934 predep_objects_CXX \
31935 postdep_objects_CXX \
31936 predeps_CXX \
31937 postdeps_CXX \
31938 compiler_lib_search_path_CXX; do
31939     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
31940     *[\\\\\\\`\\"\\\$]*)
31941       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
31942       ;;
31943     *)
31944       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
31945       ;;
31946     esac
31947 done
31948
31949 # Double-quote double-evaled strings.
31950 for var in reload_cmds \
31951 old_postinstall_cmds \
31952 old_postuninstall_cmds \
31953 old_archive_cmds \
31954 extract_expsyms_cmds \
31955 old_archive_from_new_cmds \
31956 old_archive_from_expsyms_cmds \
31957 archive_cmds \
31958 archive_expsym_cmds \
31959 module_cmds \
31960 module_expsym_cmds \
31961 export_symbols_cmds \
31962 prelink_cmds \
31963 postinstall_cmds \
31964 postuninstall_cmds \
31965 finish_cmds \
31966 sys_lib_search_path_spec \
31967 sys_lib_dlsearch_path_spec \
31968 old_archive_cmds_CXX \
31969 old_archive_from_new_cmds_CXX \
31970 old_archive_from_expsyms_cmds_CXX \
31971 archive_cmds_CXX \
31972 archive_expsym_cmds_CXX \
31973 module_cmds_CXX \
31974 module_expsym_cmds_CXX \
31975 export_symbols_cmds_CXX \
31976 prelink_cmds_CXX; do
31977     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
31978     *[\\\\\\\`\\"\\\$]*)
31979       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
31980       ;;
31981     *)
31982       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
31983       ;;
31984     esac
31985 done
31986
31987 # Fix-up fallback echo if it was mangled by the above quoting rules.
31988 case \$lt_ECHO in
31989 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
31990   ;;
31991 esac
31992
31993 ac_aux_dir='$ac_aux_dir'
31994 xsi_shell='$xsi_shell'
31995 lt_shell_append='$lt_shell_append'
31996
31997 # See if we are running on zsh, and set the options which allow our
31998 # commands through without removal of \ escapes INIT.
31999 if test -n "\${ZSH_VERSION+set}" ; then
32000    setopt NO_GLOB_SUBST
32001 fi
32002
32003
32004     PACKAGE='$PACKAGE'
32005     VERSION='$VERSION'
32006     TIMESTAMP='$TIMESTAMP'
32007     RM='$RM'
32008     ofile='$ofile'
32009
32010
32011
32012
32013
32014 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
32015     # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
32016     # from automake < 1.5.
32017     eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
32018     # Capture the value of LINGUAS because we need it to compute CATALOGS.
32019     LINGUAS="${LINGUAS-%UNSET%}"
32020
32021 # variables for create stdint.h replacement
32022 PACKAGE="$PACKAGE"
32023 VERSION="$VERSION"
32024 ac_stdint_h="$ac_stdint_h"
32025 _ac_stdint_h=`$as_echo "_$PACKAGE-$ac_stdint_h" | $as_tr_cpp`
32026 ac_cv_stdint_message="$ac_cv_stdint_message"
32027 ac_cv_header_stdint_t="$ac_cv_header_stdint_t"
32028 ac_cv_header_stdint_x="$ac_cv_header_stdint_x"
32029 ac_cv_header_stdint_o="$ac_cv_header_stdint_o"
32030 ac_cv_header_stdint_u="$ac_cv_header_stdint_u"
32031 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
32032 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
32033 ac_cv_char_data_model="$ac_cv_char_data_model"
32034 ac_cv_long_data_model="$ac_cv_long_data_model"
32035 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
32036 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
32037 ac_cv_type_intmax_t="$ac_cv_type_intmax_t"
32038
32039
32040 _ACEOF
32041
32042 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32043
32044 # Handling of arguments.
32045 for ac_config_target in $ac_config_targets
32046 do
32047   case $ac_config_target in
32048     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
32049     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
32050     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
32051     "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
32052     "$ac_stdint_h") CONFIG_COMMANDS="$CONFIG_COMMANDS $ac_stdint_h" ;;
32053     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
32054     "gst-plugins-base.spec") CONFIG_FILES="$CONFIG_FILES gst-plugins-base.spec" ;;
32055     "gst/Makefile") CONFIG_FILES="$CONFIG_FILES gst/Makefile" ;;
32056     "gst/adder/Makefile") CONFIG_FILES="$CONFIG_FILES gst/adder/Makefile" ;;
32057     "gst/app/Makefile") CONFIG_FILES="$CONFIG_FILES gst/app/Makefile" ;;
32058     "gst/audioconvert/Makefile") CONFIG_FILES="$CONFIG_FILES gst/audioconvert/Makefile" ;;
32059     "gst/audiorate/Makefile") CONFIG_FILES="$CONFIG_FILES gst/audiorate/Makefile" ;;
32060     "gst/audiotestsrc/Makefile") CONFIG_FILES="$CONFIG_FILES gst/audiotestsrc/Makefile" ;;
32061     "gst/encoding/Makefile") CONFIG_FILES="$CONFIG_FILES gst/encoding/Makefile" ;;
32062     "gst/ffmpegcolorspace/Makefile") CONFIG_FILES="$CONFIG_FILES gst/ffmpegcolorspace/Makefile" ;;
32063     "gst/gdp/Makefile") CONFIG_FILES="$CONFIG_FILES gst/gdp/Makefile" ;;
32064     "gst/playback/Makefile") CONFIG_FILES="$CONFIG_FILES gst/playback/Makefile" ;;
32065     "gst/audioresample/Makefile") CONFIG_FILES="$CONFIG_FILES gst/audioresample/Makefile" ;;
32066     "gst/subparse/Makefile") CONFIG_FILES="$CONFIG_FILES gst/subparse/Makefile" ;;
32067     "gst/tcp/Makefile") CONFIG_FILES="$CONFIG_FILES gst/tcp/Makefile" ;;
32068     "gst/typefind/Makefile") CONFIG_FILES="$CONFIG_FILES gst/typefind/Makefile" ;;
32069     "gst/videotestsrc/Makefile") CONFIG_FILES="$CONFIG_FILES gst/videotestsrc/Makefile" ;;
32070     "gst/videorate/Makefile") CONFIG_FILES="$CONFIG_FILES gst/videorate/Makefile" ;;
32071     "gst/videoscale/Makefile") CONFIG_FILES="$CONFIG_FILES gst/videoscale/Makefile" ;;
32072     "gst/volume/Makefile") CONFIG_FILES="$CONFIG_FILES gst/volume/Makefile" ;;
32073     "sys/Makefile") CONFIG_FILES="$CONFIG_FILES sys/Makefile" ;;
32074     "sys/ximage/Makefile") CONFIG_FILES="$CONFIG_FILES sys/ximage/Makefile" ;;
32075     "sys/xvimage/Makefile") CONFIG_FILES="$CONFIG_FILES sys/xvimage/Makefile" ;;
32076     "sys/v4l/Makefile") CONFIG_FILES="$CONFIG_FILES sys/v4l/Makefile" ;;
32077     "ext/Makefile") CONFIG_FILES="$CONFIG_FILES ext/Makefile" ;;
32078     "ext/alsa/Makefile") CONFIG_FILES="$CONFIG_FILES ext/alsa/Makefile" ;;
32079     "ext/cdparanoia/Makefile") CONFIG_FILES="$CONFIG_FILES ext/cdparanoia/Makefile" ;;
32080     "ext/gnomevfs/Makefile") CONFIG_FILES="$CONFIG_FILES ext/gnomevfs/Makefile" ;;
32081     "ext/gio/Makefile") CONFIG_FILES="$CONFIG_FILES ext/gio/Makefile" ;;
32082     "ext/libvisual/Makefile") CONFIG_FILES="$CONFIG_FILES ext/libvisual/Makefile" ;;
32083     "ext/ogg/Makefile") CONFIG_FILES="$CONFIG_FILES ext/ogg/Makefile" ;;
32084     "ext/pango/Makefile") CONFIG_FILES="$CONFIG_FILES ext/pango/Makefile" ;;
32085     "ext/theora/Makefile") CONFIG_FILES="$CONFIG_FILES ext/theora/Makefile" ;;
32086     "ext/vorbis/Makefile") CONFIG_FILES="$CONFIG_FILES ext/vorbis/Makefile" ;;
32087     "gst-libs/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/Makefile" ;;
32088     "gst-libs/gst/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/Makefile" ;;
32089     "gst-libs/gst/audio/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/audio/Makefile" ;;
32090     "gst-libs/gst/app/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/app/Makefile" ;;
32091     "gst-libs/gst/cdda/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/cdda/Makefile" ;;
32092     "gst-libs/gst/fft/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/fft/Makefile" ;;
32093     "gst-libs/gst/floatcast/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/floatcast/Makefile" ;;
32094     "gst-libs/gst/interfaces/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/interfaces/Makefile" ;;
32095     "gst-libs/gst/netbuffer/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/netbuffer/Makefile" ;;
32096     "gst-libs/gst/riff/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/riff/Makefile" ;;
32097     "gst-libs/gst/rtp/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/rtp/Makefile" ;;
32098     "gst-libs/gst/rtsp/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/rtsp/Makefile" ;;
32099     "gst-libs/gst/sdp/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/sdp/Makefile" ;;
32100     "gst-libs/gst/tag/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/tag/Makefile" ;;
32101     "gst-libs/gst/pbutils/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/pbutils/Makefile" ;;
32102     "gst-libs/gst/pbutils/gstpluginsbaseversion.h") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/pbutils/gstpluginsbaseversion.h" ;;
32103     "gst-libs/gst/video/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/video/Makefile" ;;
32104     "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
32105     "pkgconfig/Makefile") CONFIG_FILES="$CONFIG_FILES pkgconfig/Makefile" ;;
32106     "pkgconfig/gstreamer-audio.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-audio.pc" ;;
32107     "pkgconfig/gstreamer-audio-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-audio-uninstalled.pc" ;;
32108     "pkgconfig/gstreamer-app.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-app.pc" ;;
32109     "pkgconfig/gstreamer-app-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-app-uninstalled.pc" ;;
32110     "pkgconfig/gstreamer-cdda.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-cdda.pc" ;;
32111     "pkgconfig/gstreamer-cdda-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-cdda-uninstalled.pc" ;;
32112     "pkgconfig/gstreamer-fft.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-fft.pc" ;;
32113     "pkgconfig/gstreamer-fft-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-fft-uninstalled.pc" ;;
32114     "pkgconfig/gstreamer-floatcast.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-floatcast.pc" ;;
32115     "pkgconfig/gstreamer-floatcast-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-floatcast-uninstalled.pc" ;;
32116     "pkgconfig/gstreamer-interfaces.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-interfaces.pc" ;;
32117     "pkgconfig/gstreamer-interfaces-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-interfaces-uninstalled.pc" ;;
32118     "pkgconfig/gstreamer-netbuffer.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-netbuffer.pc" ;;
32119     "pkgconfig/gstreamer-netbuffer-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-netbuffer-uninstalled.pc" ;;
32120     "pkgconfig/gstreamer-pbutils.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-pbutils.pc" ;;
32121     "pkgconfig/gstreamer-pbutils-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-pbutils-uninstalled.pc" ;;
32122     "pkgconfig/gstreamer-riff.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-riff.pc" ;;
32123     "pkgconfig/gstreamer-riff-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-riff-uninstalled.pc" ;;
32124     "pkgconfig/gstreamer-rtp.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-rtp.pc" ;;
32125     "pkgconfig/gstreamer-rtp-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-rtp-uninstalled.pc" ;;
32126     "pkgconfig/gstreamer-rtsp.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-rtsp.pc" ;;
32127     "pkgconfig/gstreamer-rtsp-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-rtsp-uninstalled.pc" ;;
32128     "pkgconfig/gstreamer-sdp.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-sdp.pc" ;;
32129     "pkgconfig/gstreamer-sdp-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-sdp-uninstalled.pc" ;;
32130     "pkgconfig/gstreamer-tag.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-tag.pc" ;;
32131     "pkgconfig/gstreamer-tag-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-tag-uninstalled.pc" ;;
32132     "pkgconfig/gstreamer-video.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-video.pc" ;;
32133     "pkgconfig/gstreamer-video-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-video-uninstalled.pc" ;;
32134     "pkgconfig/gstreamer-plugins-base.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-plugins-base.pc" ;;
32135     "pkgconfig/gstreamer-plugins-base-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-plugins-base-uninstalled.pc" ;;
32136     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
32137     "tests/check/Makefile") CONFIG_FILES="$CONFIG_FILES tests/check/Makefile" ;;
32138     "tests/examples/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/Makefile" ;;
32139     "tests/examples/app/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/app/Makefile" ;;
32140     "tests/examples/dynamic/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/dynamic/Makefile" ;;
32141     "tests/examples/encoding/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/encoding/Makefile" ;;
32142     "tests/examples/gio/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/gio/Makefile" ;;
32143     "tests/examples/overlay/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/overlay/Makefile" ;;
32144     "tests/examples/seek/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/seek/Makefile" ;;
32145     "tests/examples/snapshot/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/snapshot/Makefile" ;;
32146     "tests/examples/playrec/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/playrec/Makefile" ;;
32147     "tests/examples/volume/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/volume/Makefile" ;;
32148     "tests/examples/v4l/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/v4l/Makefile" ;;
32149     "tests/files/Makefile") CONFIG_FILES="$CONFIG_FILES tests/files/Makefile" ;;
32150     "tests/icles/Makefile") CONFIG_FILES="$CONFIG_FILES tests/icles/Makefile" ;;
32151     "tests/icles/playback/Makefile") CONFIG_FILES="$CONFIG_FILES tests/icles/playback/Makefile" ;;
32152     "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
32153     "docs/design/Makefile") CONFIG_FILES="$CONFIG_FILES docs/design/Makefile" ;;
32154     "docs/libs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/libs/Makefile" ;;
32155     "docs/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES docs/plugins/Makefile" ;;
32156     "docs/version.entities") CONFIG_FILES="$CONFIG_FILES docs/version.entities" ;;
32157     "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
32158     "common/Makefile") CONFIG_FILES="$CONFIG_FILES common/Makefile" ;;
32159     "common/m4/Makefile") CONFIG_FILES="$CONFIG_FILES common/m4/Makefile" ;;
32160     "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
32161
32162   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
32163   esac
32164 done
32165
32166
32167 # If the user did not use the arguments to specify the items to instantiate,
32168 # then the envvar interface is used.  Set only those that are not.
32169 # We use the long form for the default assignment because of an extremely
32170 # bizarre bug on SunOS 4.1.3.
32171 if $ac_need_defaults; then
32172   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
32173   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
32174   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
32175 fi
32176
32177 # Have a temporary directory for convenience.  Make it in the build tree
32178 # simply because there is no reason against having it here, and in addition,
32179 # creating and moving files from /tmp can sometimes cause problems.
32180 # Hook for its removal unless debugging.
32181 # Note that there is a small window in which the directory will not be cleaned:
32182 # after its creation but before its name has been assigned to `$tmp'.
32183 $debug ||
32184 {
32185   tmp=
32186   trap 'exit_status=$?
32187   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
32188 ' 0
32189   trap 'as_fn_exit 1' 1 2 13 15
32190 }
32191 # Create a (secure) tmp directory for tmp files.
32192
32193 {
32194   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
32195   test -n "$tmp" && test -d "$tmp"
32196 }  ||
32197 {
32198   tmp=./conf$$-$RANDOM
32199   (umask 077 && mkdir "$tmp")
32200 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
32201
32202 # Set up the scripts for CONFIG_FILES section.
32203 # No need to generate them if there are no CONFIG_FILES.
32204 # This happens for instance with `./config.status config.h'.
32205 if test -n "$CONFIG_FILES"; then
32206
32207
32208 ac_cr=`echo X | tr X '\015'`
32209 # On cygwin, bash can eat \r inside `` if the user requested igncr.
32210 # But we know of no other shell where ac_cr would be empty at this
32211 # point, so we can use a bashism as a fallback.
32212 if test "x$ac_cr" = x; then
32213   eval ac_cr=\$\'\\r\'
32214 fi
32215 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
32216 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
32217   ac_cs_awk_cr='\\r'
32218 else
32219   ac_cs_awk_cr=$ac_cr
32220 fi
32221
32222 echo 'BEGIN {' >"$tmp/subs1.awk" &&
32223 _ACEOF
32224
32225
32226 {
32227   echo "cat >conf$$subs.awk <<_ACEOF" &&
32228   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
32229   echo "_ACEOF"
32230 } >conf$$subs.sh ||
32231   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
32232 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
32233 ac_delim='%!_!# '
32234 for ac_last_try in false false false false false :; do
32235   . ./conf$$subs.sh ||
32236     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
32237
32238   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
32239   if test $ac_delim_n = $ac_delim_num; then
32240     break
32241   elif $ac_last_try; then
32242     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
32243   else
32244     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
32245   fi
32246 done
32247 rm -f conf$$subs.sh
32248
32249 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32250 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
32251 _ACEOF
32252 sed -n '
32253 h
32254 s/^/S["/; s/!.*/"]=/
32255 p
32256 g
32257 s/^[^!]*!//
32258 :repl
32259 t repl
32260 s/'"$ac_delim"'$//
32261 t delim
32262 :nl
32263 h
32264 s/\(.\{148\}\)..*/\1/
32265 t more1
32266 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
32267 p
32268 n
32269 b repl
32270 :more1
32271 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
32272 p
32273 g
32274 s/.\{148\}//
32275 t nl
32276 :delim
32277 h
32278 s/\(.\{148\}\)..*/\1/
32279 t more2
32280 s/["\\]/\\&/g; s/^/"/; s/$/"/
32281 p
32282 b
32283 :more2
32284 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
32285 p
32286 g
32287 s/.\{148\}//
32288 t delim
32289 ' <conf$$subs.awk | sed '
32290 /^[^""]/{
32291   N
32292   s/\n//
32293 }
32294 ' >>$CONFIG_STATUS || ac_write_fail=1
32295 rm -f conf$$subs.awk
32296 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32297 _ACAWK
32298 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
32299   for (key in S) S_is_set[key] = 1
32300   FS = "\a"
32301
32302 }
32303 {
32304   line = $ 0
32305   nfields = split(line, field, "@")
32306   substed = 0
32307   len = length(field[1])
32308   for (i = 2; i < nfields; i++) {
32309     key = field[i]
32310     keylen = length(key)
32311     if (S_is_set[key]) {
32312       value = S[key]
32313       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
32314       len += length(value) + length(field[++i])
32315       substed = 1
32316     } else
32317       len += 1 + keylen
32318   }
32319
32320   print line
32321 }
32322
32323 _ACAWK
32324 _ACEOF
32325 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32326 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
32327   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
32328 else
32329   cat
32330 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
32331   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
32332 _ACEOF
32333
32334 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
32335 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
32336 # trailing colons and then remove the whole line if VPATH becomes empty
32337 # (actually we leave an empty line to preserve line numbers).
32338 if test "x$srcdir" = x.; then
32339   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
32340 h
32341 s///
32342 s/^/:/
32343 s/[      ]*$/:/
32344 s/:\$(srcdir):/:/g
32345 s/:\${srcdir}:/:/g
32346 s/:@srcdir@:/:/g
32347 s/^:*//
32348 s/:*$//
32349 x
32350 s/\(=[   ]*\).*/\1/
32351 G
32352 s/\n//
32353 s/^[^=]*=[       ]*$//
32354 }'
32355 fi
32356
32357 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32358 fi # test -n "$CONFIG_FILES"
32359
32360 # Set up the scripts for CONFIG_HEADERS section.
32361 # No need to generate them if there are no CONFIG_HEADERS.
32362 # This happens for instance with `./config.status Makefile'.
32363 if test -n "$CONFIG_HEADERS"; then
32364 cat >"$tmp/defines.awk" <<\_ACAWK ||
32365 BEGIN {
32366 _ACEOF
32367
32368 # Transform confdefs.h into an awk script `defines.awk', embedded as
32369 # here-document in config.status, that substitutes the proper values into
32370 # config.h.in to produce config.h.
32371
32372 # Create a delimiter string that does not exist in confdefs.h, to ease
32373 # handling of long lines.
32374 ac_delim='%!_!# '
32375 for ac_last_try in false false :; do
32376   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
32377   if test -z "$ac_t"; then
32378     break
32379   elif $ac_last_try; then
32380     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
32381   else
32382     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
32383   fi
32384 done
32385
32386 # For the awk script, D is an array of macro values keyed by name,
32387 # likewise P contains macro parameters if any.  Preserve backslash
32388 # newline sequences.
32389
32390 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
32391 sed -n '
32392 s/.\{148\}/&'"$ac_delim"'/g
32393 t rset
32394 :rset
32395 s/^[     ]*#[    ]*define[       ][      ]*/ /
32396 t def
32397 d
32398 :def
32399 s/\\$//
32400 t bsnl
32401 s/["\\]/\\&/g
32402 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
32403 D["\1"]=" \3"/p
32404 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
32405 d
32406 :bsnl
32407 s/["\\]/\\&/g
32408 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
32409 D["\1"]=" \3\\\\\\n"\\/p
32410 t cont
32411 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
32412 t cont
32413 d
32414 :cont
32415 n
32416 s/.\{148\}/&'"$ac_delim"'/g
32417 t clear
32418 :clear
32419 s/\\$//
32420 t bsnlc
32421 s/["\\]/\\&/g; s/^/"/; s/$/"/p
32422 d
32423 :bsnlc
32424 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
32425 b cont
32426 ' <confdefs.h | sed '
32427 s/'"$ac_delim"'/"\\\
32428 "/g' >>$CONFIG_STATUS || ac_write_fail=1
32429
32430 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32431   for (key in D) D_is_set[key] = 1
32432   FS = "\a"
32433 }
32434 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
32435   line = \$ 0
32436   split(line, arg, " ")
32437   if (arg[1] == "#") {
32438     defundef = arg[2]
32439     mac1 = arg[3]
32440   } else {
32441     defundef = substr(arg[1], 2)
32442     mac1 = arg[2]
32443   }
32444   split(mac1, mac2, "(") #)
32445   macro = mac2[1]
32446   prefix = substr(line, 1, index(line, defundef) - 1)
32447   if (D_is_set[macro]) {
32448     # Preserve the white space surrounding the "#".
32449     print prefix "define", macro P[macro] D[macro]
32450     next
32451   } else {
32452     # Replace #undef with comments.  This is necessary, for example,
32453     # in the case of _POSIX_SOURCE, which is predefined and required
32454     # on some systems where configure will not decide to define it.
32455     if (defundef == "undef") {
32456       print "/*", prefix defundef, macro, "*/"
32457       next
32458     }
32459   }
32460 }
32461 { print }
32462 _ACAWK
32463 _ACEOF
32464 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32465   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
32466 fi # test -n "$CONFIG_HEADERS"
32467
32468
32469 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
32470 shift
32471 for ac_tag
32472 do
32473   case $ac_tag in
32474   :[FHLC]) ac_mode=$ac_tag; continue;;
32475   esac
32476   case $ac_mode$ac_tag in
32477   :[FHL]*:*);;
32478   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
32479   :[FH]-) ac_tag=-:-;;
32480   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
32481   esac
32482   ac_save_IFS=$IFS
32483   IFS=:
32484   set x $ac_tag
32485   IFS=$ac_save_IFS
32486   shift
32487   ac_file=$1
32488   shift
32489
32490   case $ac_mode in
32491   :L) ac_source=$1;;
32492   :[FH])
32493     ac_file_inputs=
32494     for ac_f
32495     do
32496       case $ac_f in
32497       -) ac_f="$tmp/stdin";;
32498       *) # Look for the file first in the build tree, then in the source tree
32499          # (if the path is not absolute).  The absolute path cannot be DOS-style,
32500          # because $ac_f cannot contain `:'.
32501          test -f "$ac_f" ||
32502            case $ac_f in
32503            [\\/$]*) false;;
32504            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
32505            esac ||
32506            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
32507       esac
32508       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
32509       as_fn_append ac_file_inputs " '$ac_f'"
32510     done
32511
32512     # Let's still pretend it is `configure' which instantiates (i.e., don't
32513     # use $as_me), people would be surprised to read:
32514     #    /* config.h.  Generated by config.status.  */
32515     configure_input='Generated from '`
32516           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
32517         `' by configure.'
32518     if test x"$ac_file" != x-; then
32519       configure_input="$ac_file.  $configure_input"
32520       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
32521 $as_echo "$as_me: creating $ac_file" >&6;}
32522     fi
32523     # Neutralize special characters interpreted by sed in replacement strings.
32524     case $configure_input in #(
32525     *\&* | *\|* | *\\* )
32526        ac_sed_conf_input=`$as_echo "$configure_input" |
32527        sed 's/[\\\\&|]/\\\\&/g'`;; #(
32528     *) ac_sed_conf_input=$configure_input;;
32529     esac
32530
32531     case $ac_tag in
32532     *:-:* | *:-) cat >"$tmp/stdin" \
32533       || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
32534     esac
32535     ;;
32536   esac
32537
32538   ac_dir=`$as_dirname -- "$ac_file" ||
32539 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32540          X"$ac_file" : 'X\(//\)[^/]' \| \
32541          X"$ac_file" : 'X\(//\)$' \| \
32542          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
32543 $as_echo X"$ac_file" |
32544     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
32545             s//\1/
32546             q
32547           }
32548           /^X\(\/\/\)[^/].*/{
32549             s//\1/
32550             q
32551           }
32552           /^X\(\/\/\)$/{
32553             s//\1/
32554             q
32555           }
32556           /^X\(\/\).*/{
32557             s//\1/
32558             q
32559           }
32560           s/.*/./; q'`
32561   as_dir="$ac_dir"; as_fn_mkdir_p
32562   ac_builddir=.
32563
32564 case "$ac_dir" in
32565 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
32566 *)
32567   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
32568   # A ".." for each directory in $ac_dir_suffix.
32569   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
32570   case $ac_top_builddir_sub in
32571   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
32572   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
32573   esac ;;
32574 esac
32575 ac_abs_top_builddir=$ac_pwd
32576 ac_abs_builddir=$ac_pwd$ac_dir_suffix
32577 # for backward compatibility:
32578 ac_top_builddir=$ac_top_build_prefix
32579
32580 case $srcdir in
32581   .)  # We are building in place.
32582     ac_srcdir=.
32583     ac_top_srcdir=$ac_top_builddir_sub
32584     ac_abs_top_srcdir=$ac_pwd ;;
32585   [\\/]* | ?:[\\/]* )  # Absolute name.
32586     ac_srcdir=$srcdir$ac_dir_suffix;
32587     ac_top_srcdir=$srcdir
32588     ac_abs_top_srcdir=$srcdir ;;
32589   *) # Relative name.
32590     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
32591     ac_top_srcdir=$ac_top_build_prefix$srcdir
32592     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
32593 esac
32594 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
32595
32596
32597   case $ac_mode in
32598   :F)
32599   #
32600   # CONFIG_FILE
32601   #
32602
32603   case $INSTALL in
32604   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
32605   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
32606   esac
32607   ac_MKDIR_P=$MKDIR_P
32608   case $MKDIR_P in
32609   [\\/$]* | ?:[\\/]* ) ;;
32610   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
32611   esac
32612 _ACEOF
32613
32614 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32615 # If the template does not know about datarootdir, expand it.
32616 # FIXME: This hack should be removed a few years after 2.60.
32617 ac_datarootdir_hack=; ac_datarootdir_seen=
32618 ac_sed_dataroot='
32619 /datarootdir/ {
32620   p
32621   q
32622 }
32623 /@datadir@/p
32624 /@docdir@/p
32625 /@infodir@/p
32626 /@localedir@/p
32627 /@mandir@/p'
32628 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
32629 *datarootdir*) ac_datarootdir_seen=yes;;
32630 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
32631   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
32632 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
32633 _ACEOF
32634 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32635   ac_datarootdir_hack='
32636   s&@datadir@&$datadir&g
32637   s&@docdir@&$docdir&g
32638   s&@infodir@&$infodir&g
32639   s&@localedir@&$localedir&g
32640   s&@mandir@&$mandir&g
32641   s&\\\${datarootdir}&$datarootdir&g' ;;
32642 esac
32643 _ACEOF
32644
32645 # Neutralize VPATH when `$srcdir' = `.'.
32646 # Shell code in configure.ac might set extrasub.
32647 # FIXME: do we really want to maintain this feature?
32648 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32649 ac_sed_extra="$ac_vpsub
32650 $extrasub
32651 _ACEOF
32652 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32653 :t
32654 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
32655 s|@configure_input@|$ac_sed_conf_input|;t t
32656 s&@top_builddir@&$ac_top_builddir_sub&;t t
32657 s&@top_build_prefix@&$ac_top_build_prefix&;t t
32658 s&@srcdir@&$ac_srcdir&;t t
32659 s&@abs_srcdir@&$ac_abs_srcdir&;t t
32660 s&@top_srcdir@&$ac_top_srcdir&;t t
32661 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
32662 s&@builddir@&$ac_builddir&;t t
32663 s&@abs_builddir@&$ac_abs_builddir&;t t
32664 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
32665 s&@INSTALL@&$ac_INSTALL&;t t
32666 s&@MKDIR_P@&$ac_MKDIR_P&;t t
32667 $ac_datarootdir_hack
32668 "
32669 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
32670   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
32671
32672 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
32673   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
32674   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
32675   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
32676 which seems to be undefined.  Please make sure it is defined" >&5
32677 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
32678 which seems to be undefined.  Please make sure it is defined" >&2;}
32679
32680   rm -f "$tmp/stdin"
32681   case $ac_file in
32682   -) cat "$tmp/out" && rm -f "$tmp/out";;
32683   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
32684   esac \
32685   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
32686  ;;
32687   :H)
32688   #
32689   # CONFIG_HEADER
32690   #
32691   if test x"$ac_file" != x-; then
32692     {
32693       $as_echo "/* $configure_input  */" \
32694       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
32695     } >"$tmp/config.h" \
32696       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
32697     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
32698       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
32699 $as_echo "$as_me: $ac_file is unchanged" >&6;}
32700     else
32701       rm -f "$ac_file"
32702       mv "$tmp/config.h" "$ac_file" \
32703         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
32704     fi
32705   else
32706     $as_echo "/* $configure_input  */" \
32707       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
32708       || as_fn_error $? "could not create -" "$LINENO" 5
32709   fi
32710 # Compute "$ac_file"'s index in $config_headers.
32711 _am_arg="$ac_file"
32712 _am_stamp_count=1
32713 for _am_header in $config_headers :; do
32714   case $_am_header in
32715     $_am_arg | $_am_arg:* )
32716       break ;;
32717     * )
32718       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
32719   esac
32720 done
32721 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
32722 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32723          X"$_am_arg" : 'X\(//\)[^/]' \| \
32724          X"$_am_arg" : 'X\(//\)$' \| \
32725          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
32726 $as_echo X"$_am_arg" |
32727     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
32728             s//\1/
32729             q
32730           }
32731           /^X\(\/\/\)[^/].*/{
32732             s//\1/
32733             q
32734           }
32735           /^X\(\/\/\)$/{
32736             s//\1/
32737             q
32738           }
32739           /^X\(\/\).*/{
32740             s//\1/
32741             q
32742           }
32743           s/.*/./; q'`/stamp-h$_am_stamp_count
32744  ;;
32745
32746   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
32747 $as_echo "$as_me: executing $ac_file commands" >&6;}
32748  ;;
32749   esac
32750
32751
32752   case $ac_file$ac_mode in
32753     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
32754   # Autoconf 2.62 quotes --file arguments for eval, but not when files
32755   # are listed without --file.  Let's play safe and only enable the eval
32756   # if we detect the quoting.
32757   case $CONFIG_FILES in
32758   *\'*) eval set x "$CONFIG_FILES" ;;
32759   *)   set x $CONFIG_FILES ;;
32760   esac
32761   shift
32762   for mf
32763   do
32764     # Strip MF so we end up with the name of the file.
32765     mf=`echo "$mf" | sed -e 's/:.*$//'`
32766     # Check whether this is an Automake generated Makefile or not.
32767     # We used to match only the files named `Makefile.in', but
32768     # some people rename them; so instead we look at the file content.
32769     # Grep'ing the first line is not enough: some people post-process
32770     # each Makefile.in and add a new line on top of each file to say so.
32771     # Grep'ing the whole file is not good either: AIX grep has a line
32772     # limit of 2048, but all sed's we know have understand at least 4000.
32773     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
32774       dirpart=`$as_dirname -- "$mf" ||
32775 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32776          X"$mf" : 'X\(//\)[^/]' \| \
32777          X"$mf" : 'X\(//\)$' \| \
32778          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
32779 $as_echo X"$mf" |
32780     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
32781             s//\1/
32782             q
32783           }
32784           /^X\(\/\/\)[^/].*/{
32785             s//\1/
32786             q
32787           }
32788           /^X\(\/\/\)$/{
32789             s//\1/
32790             q
32791           }
32792           /^X\(\/\).*/{
32793             s//\1/
32794             q
32795           }
32796           s/.*/./; q'`
32797     else
32798       continue
32799     fi
32800     # Extract the definition of DEPDIR, am__include, and am__quote
32801     # from the Makefile without running `make'.
32802     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
32803     test -z "$DEPDIR" && continue
32804     am__include=`sed -n 's/^am__include = //p' < "$mf"`
32805     test -z "am__include" && continue
32806     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
32807     # When using ansi2knr, U may be empty or an underscore; expand it
32808     U=`sed -n 's/^U = //p' < "$mf"`
32809     # Find all dependency output files, they are included files with
32810     # $(DEPDIR) in their names.  We invoke sed twice because it is the
32811     # simplest approach to changing $(DEPDIR) to its actual value in the
32812     # expansion.
32813     for file in `sed -n "
32814       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
32815          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
32816       # Make sure the directory exists.
32817       test -f "$dirpart/$file" && continue
32818       fdir=`$as_dirname -- "$file" ||
32819 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32820          X"$file" : 'X\(//\)[^/]' \| \
32821          X"$file" : 'X\(//\)$' \| \
32822          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
32823 $as_echo X"$file" |
32824     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
32825             s//\1/
32826             q
32827           }
32828           /^X\(\/\/\)[^/].*/{
32829             s//\1/
32830             q
32831           }
32832           /^X\(\/\/\)$/{
32833             s//\1/
32834             q
32835           }
32836           /^X\(\/\).*/{
32837             s//\1/
32838             q
32839           }
32840           s/.*/./; q'`
32841       as_dir=$dirpart/$fdir; as_fn_mkdir_p
32842       # echo "creating $dirpart/$file"
32843       echo '# dummy' > "$dirpart/$file"
32844     done
32845   done
32846 }
32847  ;;
32848     "libtool":C)
32849
32850     # See if we are running on zsh, and set the options which allow our
32851     # commands through without removal of \ escapes.
32852     if test -n "${ZSH_VERSION+set}" ; then
32853       setopt NO_GLOB_SUBST
32854     fi
32855
32856     cfgfile="${ofile}T"
32857     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
32858     $RM "$cfgfile"
32859
32860     cat <<_LT_EOF >> "$cfgfile"
32861 #! $SHELL
32862
32863 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
32864 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
32865 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
32866 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
32867 #
32868 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
32869 #                 2006, 2007, 2008 Free Software Foundation, Inc.
32870 #   Written by Gordon Matzigkeit, 1996
32871 #
32872 #   This file is part of GNU Libtool.
32873 #
32874 # GNU Libtool is free software; you can redistribute it and/or
32875 # modify it under the terms of the GNU General Public License as
32876 # published by the Free Software Foundation; either version 2 of
32877 # the License, or (at your option) any later version.
32878 #
32879 # As a special exception to the GNU General Public License,
32880 # if you distribute this file as part of a program or library that
32881 # is built using GNU Libtool, you may include this file under the
32882 # same distribution terms that you use for the rest of that program.
32883 #
32884 # GNU Libtool is distributed in the hope that it will be useful,
32885 # but WITHOUT ANY WARRANTY; without even the implied warranty of
32886 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
32887 # GNU General Public License for more details.
32888 #
32889 # You should have received a copy of the GNU General Public License
32890 # along with GNU Libtool; see the file COPYING.  If not, a copy
32891 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
32892 # obtained by writing to the Free Software Foundation, Inc.,
32893 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
32894
32895
32896 # The names of the tagged configurations supported by this script.
32897 available_tags="CXX "
32898
32899 # ### BEGIN LIBTOOL CONFIG
32900
32901 # Assembler program.
32902 AS=$AS
32903
32904 # DLL creation program.
32905 DLLTOOL=$DLLTOOL
32906
32907 # Object dumper program.
32908 OBJDUMP=$OBJDUMP
32909
32910 # Which release of libtool.m4 was used?
32911 macro_version=$macro_version
32912 macro_revision=$macro_revision
32913
32914 # Whether or not to build shared libraries.
32915 build_libtool_libs=$enable_shared
32916
32917 # Whether or not to build static libraries.
32918 build_old_libs=$enable_static
32919
32920 # What type of objects to build.
32921 pic_mode=$pic_mode
32922
32923 # Whether or not to optimize for fast installation.
32924 fast_install=$enable_fast_install
32925
32926 # The host system.
32927 host_alias=$host_alias
32928 host=$host
32929 host_os=$host_os
32930
32931 # The build system.
32932 build_alias=$build_alias
32933 build=$build
32934 build_os=$build_os
32935
32936 # A sed program that does not truncate output.
32937 SED=$lt_SED
32938
32939 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
32940 Xsed="\$SED -e 1s/^X//"
32941
32942 # A grep program that handles long lines.
32943 GREP=$lt_GREP
32944
32945 # An ERE matcher.
32946 EGREP=$lt_EGREP
32947
32948 # A literal string matcher.
32949 FGREP=$lt_FGREP
32950
32951 # A BSD- or MS-compatible name lister.
32952 NM=$lt_NM
32953
32954 # Whether we need soft or hard links.
32955 LN_S=$lt_LN_S
32956
32957 # What is the maximum length of a command?
32958 max_cmd_len=$max_cmd_len
32959
32960 # Object file suffix (normally "o").
32961 objext=$ac_objext
32962
32963 # Executable file suffix (normally "").
32964 exeext=$exeext
32965
32966 # whether the shell understands "unset".
32967 lt_unset=$lt_unset
32968
32969 # turn spaces into newlines.
32970 SP2NL=$lt_lt_SP2NL
32971
32972 # turn newlines into spaces.
32973 NL2SP=$lt_lt_NL2SP
32974
32975 # How to create reloadable object files.
32976 reload_flag=$lt_reload_flag
32977 reload_cmds=$lt_reload_cmds
32978
32979 # Method to check whether dependent libraries are shared objects.
32980 deplibs_check_method=$lt_deplibs_check_method
32981
32982 # Command to use when deplibs_check_method == "file_magic".
32983 file_magic_cmd=$lt_file_magic_cmd
32984
32985 # The archiver.
32986 AR=$lt_AR
32987 AR_FLAGS=$lt_AR_FLAGS
32988
32989 # A symbol stripping program.
32990 STRIP=$lt_STRIP
32991
32992 # Commands used to install an old-style archive.
32993 RANLIB=$lt_RANLIB
32994 old_postinstall_cmds=$lt_old_postinstall_cmds
32995 old_postuninstall_cmds=$lt_old_postuninstall_cmds
32996
32997 # A C compiler.
32998 LTCC=$lt_CC
32999
33000 # LTCC compiler flags.
33001 LTCFLAGS=$lt_CFLAGS
33002
33003 # Take the output of nm and produce a listing of raw symbols and C names.
33004 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
33005
33006 # Transform the output of nm in a proper C declaration.
33007 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
33008
33009 # Transform the output of nm in a C name address pair.
33010 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
33011
33012 # Transform the output of nm in a C name address pair when lib prefix is needed.
33013 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
33014
33015 # The name of the directory that contains temporary libtool files.
33016 objdir=$objdir
33017
33018 # Shell to use when invoking shell scripts.
33019 SHELL=$lt_SHELL
33020
33021 # An echo program that does not interpret backslashes.
33022 ECHO=$lt_ECHO
33023
33024 # Used to examine libraries when file_magic_cmd begins with "file".
33025 MAGIC_CMD=$MAGIC_CMD
33026
33027 # Must we lock files when doing compilation?
33028 need_locks=$lt_need_locks
33029
33030 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
33031 DSYMUTIL=$lt_DSYMUTIL
33032
33033 # Tool to change global to local symbols on Mac OS X.
33034 NMEDIT=$lt_NMEDIT
33035
33036 # Tool to manipulate fat objects and archives on Mac OS X.
33037 LIPO=$lt_LIPO
33038
33039 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
33040 OTOOL=$lt_OTOOL
33041
33042 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
33043 OTOOL64=$lt_OTOOL64
33044
33045 # Old archive suffix (normally "a").
33046 libext=$libext
33047
33048 # Shared library suffix (normally ".so").
33049 shrext_cmds=$lt_shrext_cmds
33050
33051 # The commands to extract the exported symbol list from a shared archive.
33052 extract_expsyms_cmds=$lt_extract_expsyms_cmds
33053
33054 # Variables whose values should be saved in libtool wrapper scripts and
33055 # restored at link time.
33056 variables_saved_for_relink=$lt_variables_saved_for_relink
33057
33058 # Do we need the "lib" prefix for modules?
33059 need_lib_prefix=$need_lib_prefix
33060
33061 # Do we need a version for libraries?
33062 need_version=$need_version
33063
33064 # Library versioning type.
33065 version_type=$version_type
33066
33067 # Shared library runtime path variable.
33068 runpath_var=$runpath_var
33069
33070 # Shared library path variable.
33071 shlibpath_var=$shlibpath_var
33072
33073 # Is shlibpath searched before the hard-coded library search path?
33074 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
33075
33076 # Format of library name prefix.
33077 libname_spec=$lt_libname_spec
33078
33079 # List of archive names.  First name is the real one, the rest are links.
33080 # The last name is the one that the linker finds with -lNAME
33081 library_names_spec=$lt_library_names_spec
33082
33083 # The coded name of the library, if different from the real name.
33084 soname_spec=$lt_soname_spec
33085
33086 # Command to use after installation of a shared archive.
33087 postinstall_cmds=$lt_postinstall_cmds
33088
33089 # Command to use after uninstallation of a shared archive.
33090 postuninstall_cmds=$lt_postuninstall_cmds
33091
33092 # Commands used to finish a libtool library installation in a directory.
33093 finish_cmds=$lt_finish_cmds
33094
33095 # As "finish_cmds", except a single script fragment to be evaled but
33096 # not shown.
33097 finish_eval=$lt_finish_eval
33098
33099 # Whether we should hardcode library paths into libraries.
33100 hardcode_into_libs=$hardcode_into_libs
33101
33102 # Compile-time system search path for libraries.
33103 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
33104
33105 # Run-time system search path for libraries.
33106 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
33107
33108 # Whether dlopen is supported.
33109 dlopen_support=$enable_dlopen
33110
33111 # Whether dlopen of programs is supported.
33112 dlopen_self=$enable_dlopen_self
33113
33114 # Whether dlopen of statically linked programs is supported.
33115 dlopen_self_static=$enable_dlopen_self_static
33116
33117 # Commands to strip libraries.
33118 old_striplib=$lt_old_striplib
33119 striplib=$lt_striplib
33120
33121
33122 # The linker used to build libraries.
33123 LD=$lt_LD
33124
33125 # Commands used to build an old-style archive.
33126 old_archive_cmds=$lt_old_archive_cmds
33127
33128 # A language specific compiler.
33129 CC=$lt_compiler
33130
33131 # Is the compiler the GNU compiler?
33132 with_gcc=$GCC
33133
33134 # Compiler flag to turn off builtin functions.
33135 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
33136
33137 # How to pass a linker flag through the compiler.
33138 wl=$lt_lt_prog_compiler_wl
33139
33140 # Additional compiler flags for building library objects.
33141 pic_flag=$lt_lt_prog_compiler_pic
33142
33143 # Compiler flag to prevent dynamic linking.
33144 link_static_flag=$lt_lt_prog_compiler_static
33145
33146 # Does compiler simultaneously support -c and -o options?
33147 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
33148
33149 # Whether or not to add -lc for building shared libraries.
33150 build_libtool_need_lc=$archive_cmds_need_lc
33151
33152 # Whether or not to disallow shared libs when runtime libs are static.
33153 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
33154
33155 # Compiler flag to allow reflexive dlopens.
33156 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
33157
33158 # Compiler flag to generate shared objects directly from archives.
33159 whole_archive_flag_spec=$lt_whole_archive_flag_spec
33160
33161 # Whether the compiler copes with passing no objects directly.
33162 compiler_needs_object=$lt_compiler_needs_object
33163
33164 # Create an old-style archive from a shared archive.
33165 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
33166
33167 # Create a temporary old-style archive to link instead of a shared archive.
33168 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
33169
33170 # Commands used to build a shared archive.
33171 archive_cmds=$lt_archive_cmds
33172 archive_expsym_cmds=$lt_archive_expsym_cmds
33173
33174 # Commands used to build a loadable module if different from building
33175 # a shared archive.
33176 module_cmds=$lt_module_cmds
33177 module_expsym_cmds=$lt_module_expsym_cmds
33178
33179 # Whether we are building with GNU ld or not.
33180 with_gnu_ld=$lt_with_gnu_ld
33181
33182 # Flag that allows shared libraries with undefined symbols to be built.
33183 allow_undefined_flag=$lt_allow_undefined_flag
33184
33185 # Flag that enforces no undefined symbols.
33186 no_undefined_flag=$lt_no_undefined_flag
33187
33188 # Flag to hardcode \$libdir into a binary during linking.
33189 # This must work even if \$libdir does not exist
33190 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
33191
33192 # If ld is used when linking, flag to hardcode \$libdir into a binary
33193 # during linking.  This must work even if \$libdir does not exist.
33194 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
33195
33196 # Whether we need a single "-rpath" flag with a separated argument.
33197 hardcode_libdir_separator=$lt_hardcode_libdir_separator
33198
33199 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
33200 # DIR into the resulting binary.
33201 hardcode_direct=$hardcode_direct
33202
33203 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
33204 # DIR into the resulting binary and the resulting library dependency is
33205 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
33206 # library is relocated.
33207 hardcode_direct_absolute=$hardcode_direct_absolute
33208
33209 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
33210 # into the resulting binary.
33211 hardcode_minus_L=$hardcode_minus_L
33212
33213 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
33214 # into the resulting binary.
33215 hardcode_shlibpath_var=$hardcode_shlibpath_var
33216
33217 # Set to "yes" if building a shared library automatically hardcodes DIR
33218 # into the library and all subsequent libraries and executables linked
33219 # against it.
33220 hardcode_automatic=$hardcode_automatic
33221
33222 # Set to yes if linker adds runtime paths of dependent libraries
33223 # to runtime path list.
33224 inherit_rpath=$inherit_rpath
33225
33226 # Whether libtool must link a program against all its dependency libraries.
33227 link_all_deplibs=$link_all_deplibs
33228
33229 # Fix the shell variable \$srcfile for the compiler.
33230 fix_srcfile_path=$lt_fix_srcfile_path
33231
33232 # Set to "yes" if exported symbols are required.
33233 always_export_symbols=$always_export_symbols
33234
33235 # The commands to list exported symbols.
33236 export_symbols_cmds=$lt_export_symbols_cmds
33237
33238 # Symbols that should not be listed in the preloaded symbols.
33239 exclude_expsyms=$lt_exclude_expsyms
33240
33241 # Symbols that must always be exported.
33242 include_expsyms=$lt_include_expsyms
33243
33244 # Commands necessary for linking programs (against libraries) with templates.
33245 prelink_cmds=$lt_prelink_cmds
33246
33247 # Specify filename containing input files.
33248 file_list_spec=$lt_file_list_spec
33249
33250 # How to hardcode a shared library path into an executable.
33251 hardcode_action=$hardcode_action
33252
33253 # The directories searched by this compiler when creating a shared library.
33254 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
33255
33256 # Dependencies to place before and after the objects being linked to
33257 # create a shared library.
33258 predep_objects=$lt_predep_objects
33259 postdep_objects=$lt_postdep_objects
33260 predeps=$lt_predeps
33261 postdeps=$lt_postdeps
33262
33263 # The library search path used internally by the compiler when linking
33264 # a shared library.
33265 compiler_lib_search_path=$lt_compiler_lib_search_path
33266
33267 # ### END LIBTOOL CONFIG
33268
33269 _LT_EOF
33270
33271   case $host_os in
33272   aix3*)
33273     cat <<\_LT_EOF >> "$cfgfile"
33274 # AIX sometimes has problems with the GCC collect2 program.  For some
33275 # reason, if we set the COLLECT_NAMES environment variable, the problems
33276 # vanish in a puff of smoke.
33277 if test "X${COLLECT_NAMES+set}" != Xset; then
33278   COLLECT_NAMES=
33279   export COLLECT_NAMES
33280 fi
33281 _LT_EOF
33282     ;;
33283   esac
33284
33285
33286 ltmain="$ac_aux_dir/ltmain.sh"
33287
33288
33289   # We use sed instead of cat because bash on DJGPP gets confused if
33290   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
33291   # text mode, it properly converts lines to CR/LF.  This bash problem
33292   # is reportedly fixed, but why not run on old versions too?
33293   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
33294     || (rm -f "$cfgfile"; exit 1)
33295
33296   case $xsi_shell in
33297   yes)
33298     cat << \_LT_EOF >> "$cfgfile"
33299
33300 # func_dirname file append nondir_replacement
33301 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
33302 # otherwise set result to NONDIR_REPLACEMENT.
33303 func_dirname ()
33304 {
33305   case ${1} in
33306     */*) func_dirname_result="${1%/*}${2}" ;;
33307     *  ) func_dirname_result="${3}" ;;
33308   esac
33309 }
33310
33311 # func_basename file
33312 func_basename ()
33313 {
33314   func_basename_result="${1##*/}"
33315 }
33316
33317 # func_dirname_and_basename file append nondir_replacement
33318 # perform func_basename and func_dirname in a single function
33319 # call:
33320 #   dirname:  Compute the dirname of FILE.  If nonempty,
33321 #             add APPEND to the result, otherwise set result
33322 #             to NONDIR_REPLACEMENT.
33323 #             value returned in "$func_dirname_result"
33324 #   basename: Compute filename of FILE.
33325 #             value retuned in "$func_basename_result"
33326 # Implementation must be kept synchronized with func_dirname
33327 # and func_basename. For efficiency, we do not delegate to
33328 # those functions but instead duplicate the functionality here.
33329 func_dirname_and_basename ()
33330 {
33331   case ${1} in
33332     */*) func_dirname_result="${1%/*}${2}" ;;
33333     *  ) func_dirname_result="${3}" ;;
33334   esac
33335   func_basename_result="${1##*/}"
33336 }
33337
33338 # func_stripname prefix suffix name
33339 # strip PREFIX and SUFFIX off of NAME.
33340 # PREFIX and SUFFIX must not contain globbing or regex special
33341 # characters, hashes, percent signs, but SUFFIX may contain a leading
33342 # dot (in which case that matches only a dot).
33343 func_stripname ()
33344 {
33345   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
33346   # positional parameters, so assign one to ordinary parameter first.
33347   func_stripname_result=${3}
33348   func_stripname_result=${func_stripname_result#"${1}"}
33349   func_stripname_result=${func_stripname_result%"${2}"}
33350 }
33351
33352 # func_opt_split
33353 func_opt_split ()
33354 {
33355   func_opt_split_opt=${1%%=*}
33356   func_opt_split_arg=${1#*=}
33357 }
33358
33359 # func_lo2o object
33360 func_lo2o ()
33361 {
33362   case ${1} in
33363     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
33364     *)    func_lo2o_result=${1} ;;
33365   esac
33366 }
33367
33368 # func_xform libobj-or-source
33369 func_xform ()
33370 {
33371   func_xform_result=${1%.*}.lo
33372 }
33373
33374 # func_arith arithmetic-term...
33375 func_arith ()
33376 {
33377   func_arith_result=$(( $* ))
33378 }
33379
33380 # func_len string
33381 # STRING may not start with a hyphen.
33382 func_len ()
33383 {
33384   func_len_result=${#1}
33385 }
33386
33387 _LT_EOF
33388     ;;
33389   *) # Bourne compatible functions.
33390     cat << \_LT_EOF >> "$cfgfile"
33391
33392 # func_dirname file append nondir_replacement
33393 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
33394 # otherwise set result to NONDIR_REPLACEMENT.
33395 func_dirname ()
33396 {
33397   # Extract subdirectory from the argument.
33398   func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
33399   if test "X$func_dirname_result" = "X${1}"; then
33400     func_dirname_result="${3}"
33401   else
33402     func_dirname_result="$func_dirname_result${2}"
33403   fi
33404 }
33405
33406 # func_basename file
33407 func_basename ()
33408 {
33409   func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
33410 }
33411
33412
33413 # func_stripname prefix suffix name
33414 # strip PREFIX and SUFFIX off of NAME.
33415 # PREFIX and SUFFIX must not contain globbing or regex special
33416 # characters, hashes, percent signs, but SUFFIX may contain a leading
33417 # dot (in which case that matches only a dot).
33418 # func_strip_suffix prefix name
33419 func_stripname ()
33420 {
33421   case ${2} in
33422     .*) func_stripname_result=`$ECHO "X${3}" \
33423            | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
33424     *)  func_stripname_result=`$ECHO "X${3}" \
33425            | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
33426   esac
33427 }
33428
33429 # sed scripts:
33430 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
33431 my_sed_long_arg='1s/^-[^=]*=//'
33432
33433 # func_opt_split
33434 func_opt_split ()
33435 {
33436   func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
33437   func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
33438 }
33439
33440 # func_lo2o object
33441 func_lo2o ()
33442 {
33443   func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
33444 }
33445
33446 # func_xform libobj-or-source
33447 func_xform ()
33448 {
33449   func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
33450 }
33451
33452 # func_arith arithmetic-term...
33453 func_arith ()
33454 {
33455   func_arith_result=`expr "$@"`
33456 }
33457
33458 # func_len string
33459 # STRING may not start with a hyphen.
33460 func_len ()
33461 {
33462   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
33463 }
33464
33465 _LT_EOF
33466 esac
33467
33468 case $lt_shell_append in
33469   yes)
33470     cat << \_LT_EOF >> "$cfgfile"
33471
33472 # func_append var value
33473 # Append VALUE to the end of shell variable VAR.
33474 func_append ()
33475 {
33476   eval "$1+=\$2"
33477 }
33478 _LT_EOF
33479     ;;
33480   *)
33481     cat << \_LT_EOF >> "$cfgfile"
33482
33483 # func_append var value
33484 # Append VALUE to the end of shell variable VAR.
33485 func_append ()
33486 {
33487   eval "$1=\$$1\$2"
33488 }
33489
33490 _LT_EOF
33491     ;;
33492   esac
33493
33494
33495   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
33496     || (rm -f "$cfgfile"; exit 1)
33497
33498   mv -f "$cfgfile" "$ofile" ||
33499     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
33500   chmod +x "$ofile"
33501
33502
33503     cat <<_LT_EOF >> "$ofile"
33504
33505 # ### BEGIN LIBTOOL TAG CONFIG: CXX
33506
33507 # The linker used to build libraries.
33508 LD=$lt_LD_CXX
33509
33510 # Commands used to build an old-style archive.
33511 old_archive_cmds=$lt_old_archive_cmds_CXX
33512
33513 # A language specific compiler.
33514 CC=$lt_compiler_CXX
33515
33516 # Is the compiler the GNU compiler?
33517 with_gcc=$GCC_CXX
33518
33519 # Compiler flag to turn off builtin functions.
33520 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
33521
33522 # How to pass a linker flag through the compiler.
33523 wl=$lt_lt_prog_compiler_wl_CXX
33524
33525 # Additional compiler flags for building library objects.
33526 pic_flag=$lt_lt_prog_compiler_pic_CXX
33527
33528 # Compiler flag to prevent dynamic linking.
33529 link_static_flag=$lt_lt_prog_compiler_static_CXX
33530
33531 # Does compiler simultaneously support -c and -o options?
33532 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
33533
33534 # Whether or not to add -lc for building shared libraries.
33535 build_libtool_need_lc=$archive_cmds_need_lc_CXX
33536
33537 # Whether or not to disallow shared libs when runtime libs are static.
33538 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
33539
33540 # Compiler flag to allow reflexive dlopens.
33541 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
33542
33543 # Compiler flag to generate shared objects directly from archives.
33544 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
33545
33546 # Whether the compiler copes with passing no objects directly.
33547 compiler_needs_object=$lt_compiler_needs_object_CXX
33548
33549 # Create an old-style archive from a shared archive.
33550 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
33551
33552 # Create a temporary old-style archive to link instead of a shared archive.
33553 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
33554
33555 # Commands used to build a shared archive.
33556 archive_cmds=$lt_archive_cmds_CXX
33557 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
33558
33559 # Commands used to build a loadable module if different from building
33560 # a shared archive.
33561 module_cmds=$lt_module_cmds_CXX
33562 module_expsym_cmds=$lt_module_expsym_cmds_CXX
33563
33564 # Whether we are building with GNU ld or not.
33565 with_gnu_ld=$lt_with_gnu_ld_CXX
33566
33567 # Flag that allows shared libraries with undefined symbols to be built.
33568 allow_undefined_flag=$lt_allow_undefined_flag_CXX
33569
33570 # Flag that enforces no undefined symbols.
33571 no_undefined_flag=$lt_no_undefined_flag_CXX
33572
33573 # Flag to hardcode \$libdir into a binary during linking.
33574 # This must work even if \$libdir does not exist
33575 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
33576
33577 # If ld is used when linking, flag to hardcode \$libdir into a binary
33578 # during linking.  This must work even if \$libdir does not exist.
33579 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
33580
33581 # Whether we need a single "-rpath" flag with a separated argument.
33582 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
33583
33584 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
33585 # DIR into the resulting binary.
33586 hardcode_direct=$hardcode_direct_CXX
33587
33588 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
33589 # DIR into the resulting binary and the resulting library dependency is
33590 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
33591 # library is relocated.
33592 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
33593
33594 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
33595 # into the resulting binary.
33596 hardcode_minus_L=$hardcode_minus_L_CXX
33597
33598 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
33599 # into the resulting binary.
33600 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
33601
33602 # Set to "yes" if building a shared library automatically hardcodes DIR
33603 # into the library and all subsequent libraries and executables linked
33604 # against it.
33605 hardcode_automatic=$hardcode_automatic_CXX
33606
33607 # Set to yes if linker adds runtime paths of dependent libraries
33608 # to runtime path list.
33609 inherit_rpath=$inherit_rpath_CXX
33610
33611 # Whether libtool must link a program against all its dependency libraries.
33612 link_all_deplibs=$link_all_deplibs_CXX
33613
33614 # Fix the shell variable \$srcfile for the compiler.
33615 fix_srcfile_path=$lt_fix_srcfile_path_CXX
33616
33617 # Set to "yes" if exported symbols are required.
33618 always_export_symbols=$always_export_symbols_CXX
33619
33620 # The commands to list exported symbols.
33621 export_symbols_cmds=$lt_export_symbols_cmds_CXX
33622
33623 # Symbols that should not be listed in the preloaded symbols.
33624 exclude_expsyms=$lt_exclude_expsyms_CXX
33625
33626 # Symbols that must always be exported.
33627 include_expsyms=$lt_include_expsyms_CXX
33628
33629 # Commands necessary for linking programs (against libraries) with templates.
33630 prelink_cmds=$lt_prelink_cmds_CXX
33631
33632 # Specify filename containing input files.
33633 file_list_spec=$lt_file_list_spec_CXX
33634
33635 # How to hardcode a shared library path into an executable.
33636 hardcode_action=$hardcode_action_CXX
33637
33638 # The directories searched by this compiler when creating a shared library.
33639 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
33640
33641 # Dependencies to place before and after the objects being linked to
33642 # create a shared library.
33643 predep_objects=$lt_predep_objects_CXX
33644 postdep_objects=$lt_postdep_objects_CXX
33645 predeps=$lt_predeps_CXX
33646 postdeps=$lt_postdeps_CXX
33647
33648 # The library search path used internally by the compiler when linking
33649 # a shared library.
33650 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
33651
33652 # ### END LIBTOOL TAG CONFIG: CXX
33653 _LT_EOF
33654
33655  ;;
33656     "po-directories":C)
33657     for ac_file in $CONFIG_FILES; do
33658       # Support "outfile[:infile[:infile...]]"
33659       case "$ac_file" in
33660         *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
33661       esac
33662       # PO directories have a Makefile.in generated from Makefile.in.in.
33663       case "$ac_file" in */Makefile.in)
33664         # Adjust a relative srcdir.
33665         ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
33666         ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
33667         ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
33668         # In autoconf-2.13 it is called $ac_given_srcdir.
33669         # In autoconf-2.50 it is called $srcdir.
33670         test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
33671         case "$ac_given_srcdir" in
33672           .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
33673           /*) top_srcdir="$ac_given_srcdir" ;;
33674           *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
33675         esac
33676         # Treat a directory as a PO directory if and only if it has a
33677         # POTFILES.in file. This allows packages to have multiple PO
33678         # directories under different names or in different locations.
33679         if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
33680           rm -f "$ac_dir/POTFILES"
33681           test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
33682           cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[   ]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
33683           POMAKEFILEDEPS="POTFILES.in"
33684           # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
33685           # on $ac_dir but don't depend on user-specified configuration
33686           # parameters.
33687           if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
33688             # The LINGUAS file contains the set of available languages.
33689             if test -n "$OBSOLETE_ALL_LINGUAS"; then
33690               test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
33691             fi
33692             ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
33693             # Hide the ALL_LINGUAS assigment from automake < 1.5.
33694             eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
33695             POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
33696           else
33697             # The set of available languages was given in configure.in.
33698             # Hide the ALL_LINGUAS assigment from automake < 1.5.
33699             eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
33700           fi
33701           # Compute POFILES
33702           # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
33703           # Compute UPDATEPOFILES
33704           # as      $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
33705           # Compute DUMMYPOFILES
33706           # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
33707           # Compute GMOFILES
33708           # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
33709           case "$ac_given_srcdir" in
33710             .) srcdirpre= ;;
33711             *) srcdirpre='$(srcdir)/' ;;
33712           esac
33713           POFILES=
33714           UPDATEPOFILES=
33715           DUMMYPOFILES=
33716           GMOFILES=
33717           for lang in $ALL_LINGUAS; do
33718             POFILES="$POFILES $srcdirpre$lang.po"
33719             UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
33720             DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
33721             GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
33722           done
33723           # CATALOGS depends on both $ac_dir and the user's LINGUAS
33724           # environment variable.
33725           INST_LINGUAS=
33726           if test -n "$ALL_LINGUAS"; then
33727             for presentlang in $ALL_LINGUAS; do
33728               useit=no
33729               if test "%UNSET%" != "$LINGUAS"; then
33730                 desiredlanguages="$LINGUAS"
33731               else
33732                 desiredlanguages="$ALL_LINGUAS"
33733               fi
33734               for desiredlang in $desiredlanguages; do
33735                 # Use the presentlang catalog if desiredlang is
33736                 #   a. equal to presentlang, or
33737                 #   b. a variant of presentlang (because in this case,
33738                 #      presentlang can be used as a fallback for messages
33739                 #      which are not translated in the desiredlang catalog).
33740                 case "$desiredlang" in
33741                   "$presentlang"*) useit=yes;;
33742                 esac
33743               done
33744               if test $useit = yes; then
33745                 INST_LINGUAS="$INST_LINGUAS $presentlang"
33746               fi
33747             done
33748           fi
33749           CATALOGS=
33750           if test -n "$INST_LINGUAS"; then
33751             for lang in $INST_LINGUAS; do
33752               CATALOGS="$CATALOGS $lang.gmo"
33753             done
33754           fi
33755           test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
33756           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"
33757           for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
33758             if test -f "$f"; then
33759               case "$f" in
33760                 *.orig | *.bak | *~) ;;
33761                 *) cat "$f" >> "$ac_dir/Makefile" ;;
33762               esac
33763             fi
33764           done
33765         fi
33766         ;;
33767       esac
33768     done ;;
33769     "$ac_stdint_h":C)
33770 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_stdint_h : $_ac_stdint_h" >&5
33771 $as_echo "$as_me: creating $ac_stdint_h : $_ac_stdint_h" >&6;}
33772 ac_stdint=$tmp/_stdint.h
33773
33774 echo "#ifndef" $_ac_stdint_h >$ac_stdint
33775 echo "#define" $_ac_stdint_h "1" >>$ac_stdint
33776 echo "#ifndef" _GENERATED_STDINT_H >>$ac_stdint
33777 echo "#define" _GENERATED_STDINT_H '"'$PACKAGE $VERSION'"' >>$ac_stdint
33778 echo "/* generated $ac_cv_stdint_message */" >>$ac_stdint
33779 if test "_$ac_cv_header_stdint_t" != "_" ; then
33780 echo "#define _STDINT_HAVE_STDINT_H" "1" >>$ac_stdint
33781 echo "#include <stdint.h>" >>$ac_stdint
33782 echo "#endif" >>$ac_stdint
33783 echo "#endif" >>$ac_stdint
33784 else
33785
33786 cat >>$ac_stdint <<STDINT_EOF
33787
33788 /* ................... shortcircuit part ........................... */
33789
33790 #if defined HAVE_STDINT_H || defined _STDINT_HAVE_STDINT_H
33791 #include <stdint.h>
33792 #else
33793 #include <stddef.h>
33794
33795 /* .................... configured part ............................ */
33796
33797 STDINT_EOF
33798
33799 echo "/* whether we have a C99 compatible stdint header file */" >>$ac_stdint
33800 if test "_$ac_cv_header_stdint_x" != "_" ; then
33801   ac_header="$ac_cv_header_stdint_x"
33802   echo "#define _STDINT_HEADER_INTPTR" '"'"$ac_header"'"' >>$ac_stdint
33803 else
33804   echo "/* #undef _STDINT_HEADER_INTPTR */" >>$ac_stdint
33805 fi
33806
33807 echo "/* whether we have a C96 compatible inttypes header file */" >>$ac_stdint
33808 if  test "_$ac_cv_header_stdint_o" != "_" ; then
33809   ac_header="$ac_cv_header_stdint_o"
33810   echo "#define _STDINT_HEADER_UINT32" '"'"$ac_header"'"' >>$ac_stdint
33811 else
33812   echo "/* #undef _STDINT_HEADER_UINT32 */" >>$ac_stdint
33813 fi
33814
33815 echo "/* whether we have a BSD compatible inet types header */" >>$ac_stdint
33816 if  test "_$ac_cv_header_stdint_u" != "_" ; then
33817   ac_header="$ac_cv_header_stdint_u"
33818   echo "#define _STDINT_HEADER_U_INT32" '"'"$ac_header"'"' >>$ac_stdint
33819 else
33820   echo "/* #undef _STDINT_HEADER_U_INT32 */" >>$ac_stdint
33821 fi
33822
33823 echo "" >>$ac_stdint
33824
33825 if test "_$ac_header" != "_" ; then if test "$ac_header" != "stddef.h" ; then
33826   echo "#include <$ac_header>" >>$ac_stdint
33827   echo "" >>$ac_stdint
33828 fi fi
33829
33830 echo "/* which 64bit typedef has been found */" >>$ac_stdint
33831 if test "$ac_cv_type_uint64_t" = "yes" ; then
33832 echo "#define   _STDINT_HAVE_UINT64_T" "1"  >>$ac_stdint
33833 else
33834 echo "/* #undef _STDINT_HAVE_UINT64_T */" >>$ac_stdint
33835 fi
33836 if test "$ac_cv_type_u_int64_t" = "yes" ; then
33837 echo "#define   _STDINT_HAVE_U_INT64_T" "1"  >>$ac_stdint
33838 else
33839 echo "/* #undef _STDINT_HAVE_U_INT64_T */" >>$ac_stdint
33840 fi
33841 echo "" >>$ac_stdint
33842
33843 echo "/* which type model has been detected */" >>$ac_stdint
33844 if test "_$ac_cv_char_data_model" != "_" ; then
33845 echo "#define   _STDINT_CHAR_MODEL" "$ac_cv_char_data_model" >>$ac_stdint
33846 echo "#define   _STDINT_LONG_MODEL" "$ac_cv_long_data_model" >>$ac_stdint
33847 else
33848 echo "/* #undef _STDINT_CHAR_MODEL // skipped */" >>$ac_stdint
33849 echo "/* #undef _STDINT_LONG_MODEL // skipped */" >>$ac_stdint
33850 fi
33851 echo "" >>$ac_stdint
33852
33853 echo "/* whether int_least types were detected */" >>$ac_stdint
33854 if test "$ac_cv_type_int_least32_t" = "yes"; then
33855 echo "#define   _STDINT_HAVE_INT_LEAST32_T" "1"  >>$ac_stdint
33856 else
33857 echo "/* #undef _STDINT_HAVE_INT_LEAST32_T */" >>$ac_stdint
33858 fi
33859 echo "/* whether int_fast types were detected */" >>$ac_stdint
33860 if test "$ac_cv_type_int_fast32_t" = "yes"; then
33861 echo "#define   _STDINT_HAVE_INT_FAST32_T" "1" >>$ac_stdint
33862 else
33863 echo "/* #undef _STDINT_HAVE_INT_FAST32_T */" >>$ac_stdint
33864 fi
33865 echo "/* whether intmax_t type was detected */" >>$ac_stdint
33866 if test "$ac_cv_type_intmax_t" = "yes"; then
33867 echo "#define   _STDINT_HAVE_INTMAX_T" "1" >>$ac_stdint
33868 else
33869 echo "/* #undef _STDINT_HAVE_INTMAX_T */" >>$ac_stdint
33870 fi
33871 echo "" >>$ac_stdint
33872
33873   cat >>$ac_stdint <<STDINT_EOF
33874 /* .................... detections part ............................ */
33875
33876 /* whether we need to define bitspecific types from compiler base types */
33877 #ifndef _STDINT_HEADER_INTPTR
33878 #ifndef _STDINT_HEADER_UINT32
33879 #ifndef _STDINT_HEADER_U_INT32
33880 #define _STDINT_NEED_INT_MODEL_T
33881 #else
33882 #define _STDINT_HAVE_U_INT_TYPES
33883 #endif
33884 #endif
33885 #endif
33886
33887 #ifdef _STDINT_HAVE_U_INT_TYPES
33888 #undef _STDINT_NEED_INT_MODEL_T
33889 #endif
33890
33891 #ifdef  _STDINT_CHAR_MODEL
33892 #if     _STDINT_CHAR_MODEL+0 == 122 || _STDINT_CHAR_MODEL+0 == 124
33893 #ifndef _STDINT_BYTE_MODEL
33894 #define _STDINT_BYTE_MODEL 12
33895 #endif
33896 #endif
33897 #endif
33898
33899 #ifndef _STDINT_HAVE_INT_LEAST32_T
33900 #define _STDINT_NEED_INT_LEAST_T
33901 #endif
33902
33903 #ifndef _STDINT_HAVE_INT_FAST32_T
33904 #define _STDINT_NEED_INT_FAST_T
33905 #endif
33906
33907 #ifndef _STDINT_HEADER_INTPTR
33908 #define _STDINT_NEED_INTPTR_T
33909 #ifndef _STDINT_HAVE_INTMAX_T
33910 #define _STDINT_NEED_INTMAX_T
33911 #endif
33912 #endif
33913
33914
33915 /* .................... definition part ............................ */
33916
33917 /* some system headers have good uint64_t */
33918 #ifndef _HAVE_UINT64_T
33919 #if     defined _STDINT_HAVE_UINT64_T  || defined HAVE_UINT64_T
33920 #define _HAVE_UINT64_T
33921 #elif   defined _STDINT_HAVE_U_INT64_T || defined HAVE_U_INT64_T
33922 #define _HAVE_UINT64_T
33923 typedef u_int64_t uint64_t;
33924 #endif
33925 #endif
33926
33927 #ifndef _HAVE_UINT64_T
33928 /* .. here are some common heuristics using compiler runtime specifics */
33929 #if defined __STDC_VERSION__ && defined __STDC_VERSION__ >= 199901L
33930 #define _HAVE_UINT64_T
33931 #define _HAVE_LONGLONG_UINT64_T
33932 typedef long long int64_t;
33933 typedef unsigned long long uint64_t;
33934
33935 #elif !defined __STRICT_ANSI__
33936 #if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
33937 #define _HAVE_UINT64_T
33938 typedef __int64 int64_t;
33939 typedef unsigned __int64 uint64_t;
33940
33941 #elif defined __GNUC__ || defined __MWERKS__ || defined __ELF__
33942 /* note: all ELF-systems seem to have loff-support which needs 64-bit */
33943 #if !defined _NO_LONGLONG
33944 #define _HAVE_UINT64_T
33945 #define _HAVE_LONGLONG_UINT64_T
33946 typedef long long int64_t;
33947 typedef unsigned long long uint64_t;
33948 #endif
33949
33950 #elif defined __alpha || (defined __mips && defined _ABIN32)
33951 #if !defined _NO_LONGLONG
33952 typedef long int64_t;
33953 typedef unsigned long uint64_t;
33954 #endif
33955   /* compiler/cpu type to define int64_t */
33956 #endif
33957 #endif
33958 #endif
33959
33960 #if defined _STDINT_HAVE_U_INT_TYPES
33961 /* int8_t int16_t int32_t defined by inet code, redeclare the u_intXX types */
33962 typedef u_int8_t uint8_t;
33963 typedef u_int16_t uint16_t;
33964 typedef u_int32_t uint32_t;
33965
33966 /* glibc compatibility */
33967 #ifndef __int8_t_defined
33968 #define __int8_t_defined
33969 #endif
33970 #endif
33971
33972 #ifdef _STDINT_NEED_INT_MODEL_T
33973 /* we must guess all the basic types. Apart from byte-adressable system, */
33974 /* there a few 32-bit-only dsp-systems that we guard with BYTE_MODEL 8-} */
33975 /* (btw, those nibble-addressable systems are way off, or so we assume) */
33976
33977
33978 #if defined _STDINT_BYTE_MODEL
33979 #if _STDINT_LONG_MODEL+0 == 242
33980 /* 2:4:2 =  IP16 = a normal 16-bit system                */
33981 typedef unsigned char   uint8_t;
33982 typedef unsigned short  uint16_t;
33983 typedef unsigned long   uint32_t;
33984 #ifndef __int8_t_defined
33985 #define __int8_t_defined
33986 typedef          char    int8_t;
33987 typedef          short   int16_t;
33988 typedef          long    int32_t;
33989 #endif
33990 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL == 444
33991 /* 2:4:4 =  LP32 = a 32-bit system derived from a 16-bit */
33992 /* 4:4:4 = ILP32 = a normal 32-bit system                */
33993 typedef unsigned char   uint8_t;
33994 typedef unsigned short  uint16_t;
33995 typedef unsigned int    uint32_t;
33996 #ifndef __int8_t_defined
33997 #define __int8_t_defined
33998 typedef          char    int8_t;
33999 typedef          short   int16_t;
34000 typedef          int     int32_t;
34001 #endif
34002 #elif _STDINT_LONG_MODEL+0 == 484 || _STDINT_LONG_MODEL+0 == 488
34003 /* 4:8:4 =  IP32 = a 32-bit system prepared for 64-bit    */
34004 /* 4:8:8 =  LP64 = a normal 64-bit system                 */
34005 typedef unsigned char   uint8_t;
34006 typedef unsigned short  uint16_t;
34007 typedef unsigned int    uint32_t;
34008 #ifndef __int8_t_defined
34009 #define __int8_t_defined
34010 typedef          char    int8_t;
34011 typedef          short   int16_t;
34012 typedef          int     int32_t;
34013 #endif
34014 /* this system has a "long" of 64bit */
34015 #ifndef _HAVE_UINT64_T
34016 #define _HAVE_UINT64_T
34017 typedef unsigned long   uint64_t;
34018 typedef          long    int64_t;
34019 #endif
34020 #elif _STDINT_LONG_MODEL+0 == 448
34021 /*      LLP64   a 64-bit system derived from a 32-bit system */
34022 typedef unsigned char   uint8_t;
34023 typedef unsigned short  uint16_t;
34024 typedef unsigned int    uint32_t;
34025 #ifndef __int8_t_defined
34026 #define __int8_t_defined
34027 typedef          char    int8_t;
34028 typedef          short   int16_t;
34029 typedef          int     int32_t;
34030 #endif
34031 /* assuming the system has a "long long" */
34032 #ifndef _HAVE_UINT64_T
34033 #define _HAVE_UINT64_T
34034 #define _HAVE_LONGLONG_UINT64_T
34035 typedef unsigned long long uint64_t;
34036 typedef          long long  int64_t;
34037 #endif
34038 #else
34039 #define _STDINT_NO_INT32_T
34040 #endif
34041 #else
34042 #define _STDINT_NO_INT8_T
34043 #define _STDINT_NO_INT32_T
34044 #endif
34045 #endif
34046
34047 /*
34048  * quote from SunOS-5.8 sys/inttypes.h:
34049  * Use at your own risk.  As of February 1996, the committee is squarely
34050  * behind the fixed sized types; the "least" and "fast" types are still being
34051  * discussed.  The probability that the "fast" types may be removed before
34052  * the standard is finalized is high enough that they are not currently
34053  * implemented.
34054  */
34055
34056 #if defined _STDINT_NEED_INT_LEAST_T
34057 typedef  int8_t    int_least8_t;
34058 typedef  int16_t   int_least16_t;
34059 typedef  int32_t   int_least32_t;
34060 #ifdef _HAVE_UINT64_T
34061 typedef  int64_t   int_least64_t;
34062 #endif
34063
34064 typedef uint8_t   uint_least8_t;
34065 typedef uint16_t  uint_least16_t;
34066 typedef uint32_t  uint_least32_t;
34067 #ifdef _HAVE_UINT64_T
34068 typedef uint64_t  uint_least64_t;
34069 #endif
34070   /* least types */
34071 #endif
34072
34073 #if defined _STDINT_NEED_INT_FAST_T
34074 typedef  int8_t    int_fast8_t;
34075 typedef  int       int_fast16_t;
34076 typedef  int32_t   int_fast32_t;
34077 #ifdef _HAVE_UINT64_T
34078 typedef  int64_t   int_fast64_t;
34079 #endif
34080
34081 typedef uint8_t   uint_fast8_t;
34082 typedef unsigned  uint_fast16_t;
34083 typedef uint32_t  uint_fast32_t;
34084 #ifdef _HAVE_UINT64_T
34085 typedef uint64_t  uint_fast64_t;
34086 #endif
34087   /* fast types */
34088 #endif
34089
34090 #ifdef _STDINT_NEED_INTMAX_T
34091 #ifdef _HAVE_UINT64_T
34092 typedef  int64_t       intmax_t;
34093 typedef uint64_t      uintmax_t;
34094 #else
34095 typedef          long  intmax_t;
34096 typedef unsigned long uintmax_t;
34097 #endif
34098 #endif
34099
34100 #ifdef _STDINT_NEED_INTPTR_T
34101 #ifndef __intptr_t_defined
34102 #define __intptr_t_defined
34103 /* we encourage using "long" to store pointer values, never use "int" ! */
34104 #if   _STDINT_LONG_MODEL+0 == 242 || _STDINT_LONG_MODEL+0 == 484
34105 typedef  unsigned int   uintptr_t;
34106 typedef           int    intptr_t;
34107 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL+0 == 444
34108 typedef  unsigned long  uintptr_t;
34109 typedef           long   intptr_t;
34110 #elif _STDINT_LONG_MODEL+0 == 448 && defined _HAVE_UINT64_T
34111 typedef        uint64_t uintptr_t;
34112 typedef         int64_t  intptr_t;
34113 #else /* matches typical system types ILP32 and LP64 - but not IP16 or LLP64 */
34114 typedef  unsigned long  uintptr_t;
34115 typedef           long   intptr_t;
34116 #endif
34117 #endif
34118 #endif
34119
34120 /* The ISO C99 standard specifies that in C++ implementations these
34121    should only be defined if explicitly requested.  */
34122 #if !defined __cplusplus || defined __STDC_CONSTANT_MACROS
34123 #ifndef UINT32_C
34124
34125 /* Signed.  */
34126 # define INT8_C(c)      c
34127 # define INT16_C(c)     c
34128 # define INT32_C(c)     c
34129 # ifdef _HAVE_LONGLONG_UINT64_T
34130 #  define INT64_C(c)    c ## L
34131 # else
34132 #  define INT64_C(c)    c ## LL
34133 # endif
34134
34135 /* Unsigned.  */
34136 # define UINT8_C(c)     c ## U
34137 # define UINT16_C(c)    c ## U
34138 # define UINT32_C(c)    c ## U
34139 # ifdef _HAVE_LONGLONG_UINT64_T
34140 #  define UINT64_C(c)   c ## UL
34141 # else
34142 #  define UINT64_C(c)   c ## ULL
34143 # endif
34144
34145 /* Maximal type.  */
34146 # ifdef _HAVE_LONGLONG_UINT64_T
34147 #  define INTMAX_C(c)   c ## L
34148 #  define UINTMAX_C(c)  c ## UL
34149 # else
34150 #  define INTMAX_C(c)   c ## LL
34151 #  define UINTMAX_C(c)  c ## ULL
34152 # endif
34153
34154   /* literalnumbers */
34155 #endif
34156 #endif
34157
34158 /* These limits are merily those of a two complement byte-oriented system */
34159
34160 /* Minimum of signed integral types.  */
34161 # define INT8_MIN               (-128)
34162 # define INT16_MIN              (-32767-1)
34163 # define INT32_MIN              (-2147483647-1)
34164 # define INT64_MIN              (-__INT64_C(9223372036854775807)-1)
34165 /* Maximum of signed integral types.  */
34166 # define INT8_MAX               (127)
34167 # define INT16_MAX              (32767)
34168 # define INT32_MAX              (2147483647)
34169 # define INT64_MAX              (__INT64_C(9223372036854775807))
34170
34171 /* Maximum of unsigned integral types.  */
34172 # define UINT8_MAX              (255)
34173 # define UINT16_MAX             (65535)
34174 # define UINT32_MAX             (4294967295U)
34175 # define UINT64_MAX             (__UINT64_C(18446744073709551615))
34176
34177 /* Minimum of signed integral types having a minimum size.  */
34178 # define INT_LEAST8_MIN         INT8_MIN
34179 # define INT_LEAST16_MIN        INT16_MIN
34180 # define INT_LEAST32_MIN        INT32_MIN
34181 # define INT_LEAST64_MIN        INT64_MIN
34182 /* Maximum of signed integral types having a minimum size.  */
34183 # define INT_LEAST8_MAX         INT8_MAX
34184 # define INT_LEAST16_MAX        INT16_MAX
34185 # define INT_LEAST32_MAX        INT32_MAX
34186 # define INT_LEAST64_MAX        INT64_MAX
34187
34188 /* Maximum of unsigned integral types having a minimum size.  */
34189 # define UINT_LEAST8_MAX        UINT8_MAX
34190 # define UINT_LEAST16_MAX       UINT16_MAX
34191 # define UINT_LEAST32_MAX       UINT32_MAX
34192 # define UINT_LEAST64_MAX       UINT64_MAX
34193
34194   /* shortcircuit*/
34195 #endif
34196   /* once */
34197 #endif
34198 #endif
34199 STDINT_EOF
34200 fi
34201     if cmp -s $ac_stdint_h $ac_stdint 2>/dev/null; then
34202       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_stdint_h is unchanged" >&5
34203 $as_echo "$as_me: $ac_stdint_h is unchanged" >&6;}
34204     else
34205       ac_dir=`$as_dirname -- "$ac_stdint_h" ||
34206 $as_expr X"$ac_stdint_h" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34207          X"$ac_stdint_h" : 'X\(//\)[^/]' \| \
34208          X"$ac_stdint_h" : 'X\(//\)$' \| \
34209          X"$ac_stdint_h" : 'X\(/\)' \| . 2>/dev/null ||
34210 $as_echo X"$ac_stdint_h" |
34211     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34212             s//\1/
34213             q
34214           }
34215           /^X\(\/\/\)[^/].*/{
34216             s//\1/
34217             q
34218           }
34219           /^X\(\/\/\)$/{
34220             s//\1/
34221             q
34222           }
34223           /^X\(\/\).*/{
34224             s//\1/
34225             q
34226           }
34227           s/.*/./; q'`
34228       as_dir="$ac_dir"; as_fn_mkdir_p
34229       rm -f $ac_stdint_h
34230       mv $ac_stdint $ac_stdint_h
34231     fi
34232  ;;
34233
34234   esac
34235 done # for ac_tag
34236
34237
34238 as_fn_exit 0
34239 _ACEOF
34240 ac_clean_files=$ac_clean_files_save
34241
34242 test $ac_write_fail = 0 ||
34243   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
34244
34245
34246 # configure is writing to config.log, and then calls config.status.
34247 # config.status does its own redirection, appending to config.log.
34248 # Unfortunately, on DOS this fails, as config.log is still kept open
34249 # by configure, so config.status won't be able to write to it; its
34250 # output is simply discarded.  So we exec the FD to /dev/null,
34251 # effectively closing config.log, so it can be properly (re)opened and
34252 # appended to by config.status.  When coming back to configure, we
34253 # need to make the FD available again.
34254 if test "$no_create" != yes; then
34255   ac_cs_success=:
34256   ac_config_status_args=
34257   test "$silent" = yes &&
34258     ac_config_status_args="$ac_config_status_args --quiet"
34259   exec 5>/dev/null
34260   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
34261   exec 5>>config.log
34262   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
34263   # would make configure fail if this is the last instruction.
34264   $ac_cs_success || as_fn_exit 1
34265 fi
34266 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
34267   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
34268 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
34269 fi
34270
34271
34272
34273
34274 printf "configure: *** Plug-ins without external dependencies that will be built:\n"
34275 ( for i in $GST_PLUGINS_SELECTED; do printf '\t'$i'\n'; done ) | sort
34276 printf "\n"
34277
34278 printf "configure: *** Plug-ins without external dependencies that will NOT be built:\n"
34279 ( for i in $GST_PLUGINS_ALL; do
34280     case " $GST_PLUGINS_SELECTED " in
34281       *\ $i\ *)
34282         ;;
34283       *)
34284         printf '\t'$i'\n'
34285         ;;
34286     esac
34287   done ) | sort
34288 printf "\n"
34289
34290 if test "x$BUILD_EXTERNAL" = "xno"; then
34291   printf "configure: *** No plug-ins with external dependencies will be built\n"
34292 else
34293   printf "configure: *** Plug-ins with dependencies that will be built:"
34294   printf "$GST_PLUGINS_YES\n" | sort
34295   printf "\n"
34296   printf "configure: *** Plug-ins with dependencies that will NOT be built:"
34297   printf "$GST_PLUGINS_NO\n" | sort
34298   printf "\n"
34299 fi
34300
34301
34302   if test "$HAVE_ORC" = yes ; then
34303     printf "configure: *** Orc acceleration enabled.\n"
34304   else
34305     if test "x$enable_orc" = "xno" ; then
34306       printf "configure: *** Orc acceleration disabled by --disable-orc.  Slower code paths\n"
34307       printf "               will be used.\n"
34308     else
34309       printf "configure: *** Orc acceleration disabled.  Requires Orc >= $ORC_REQ, which was\n"
34310       printf "               not found.  Slower code paths will be used.\n"
34311     fi
34312   fi
34313   printf "\n"
34314
34315